/* ===== Plume Clone — Design System ===== */
:root {
  --bg: #f5f2eb;
  --ink: #0a0a0a;
  --muted: #5c5c5c;
  --accent: #ff6b35;
  --card: #fdfbf7;
  --border: #d8d4ca;
  --font-display: "Space Grotesk", sans-serif;
  --font-mono: "Space Mono", monospace;
  --font-body: "Inter", sans-serif;
  --radius: 12px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 760px; }
.section { padding: 110px 0; }

/* ===== Type ===== */
.kicker {
  font-family: var(--font-mono);
  font-size: 12px; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase;
  border-left: 3px solid var(--accent);
  padding-left: 8px; margin-bottom: 18px;
}
.h2 {
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 600; line-height: 1.1; letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.lead { color: var(--muted); font-size: 17px; line-height: 1.6; margin-bottom: 48px; }
.micro { font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 22px; border-radius: 6px;
  font-family: var(--font-display); font-weight: 500; font-size: 15px;
  border: none; cursor: pointer; transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { box-shadow: 0 8px 24px rgba(255,107,53,.35); }
.btn-light { background: #fff; color: var(--ink); }
.btn-ghost {
  background: rgba(255,255,255,.1); color: #fff;
  border: 1px solid rgba(255,255,255,.45);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.btn-ghost:hover { background: rgba(255,255,255,.2); }
.btn-outline { background: transparent; border: 1px solid var(--border); color: var(--ink); justify-content: center; }
.btn-sm { padding: 8px 14px; font-size: 13px; }
.btn-lg { padding: 17px 34px; font-size: 17px; }

/* ===== Nav ===== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background .35s ease, box-shadow .35s ease;
}
/* Dark scrim so white nav text stays readable over the bright hero art */
.nav::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to bottom, rgba(10,10,10,.62), rgba(10,10,10,0));
  opacity: 1; transition: opacity .35s ease;
}
.nav.scrolled {
  background: rgba(245,242,235,.92);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--border);
}
.nav.scrolled::before { opacity: 0; }
.nav.scrolled .nav-links a, .nav.scrolled .logo { color: var(--ink); }
.nav.scrolled .btn-light { background: var(--accent); color: #fff; }
.nav.scrolled .nav-inner { padding-top: 14px; padding-bottom: 14px; }
.nav-inner {
  position: relative;
  max-width: 1120px; margin: 0 auto; padding: 20px 24px;
  display: flex; align-items: center; justify-content: space-between;
  transition: padding .3s ease;
}
.logo { font-family: var(--font-display); font-size: 26px; font-weight: 700; color: #fff; }
.logo sup { font-size: 12px; }
.nav-links { display: flex; gap: 32px; }
.nav-links a {
  position: relative;
  color: #fff; font-size: 15px; font-weight: 500;
  transition: opacity .2s;
}
.nav-links a:hover { opacity: .65; }
.nav-links a.active { opacity: 1; }
.nav-links a.active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -7px;
  height: 2px; border-radius: 2px; background: var(--accent);
}

/* ===== Hero ===== */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; align-items: flex-end;
  overflow: hidden; background: var(--ink);
}
/* Overscan the bg so the scroll parallax never exposes a bare edge */
.hero-bg { position: absolute; left: 0; right: 0; top: -12%; bottom: 0; z-index: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-fade {
  position: absolute; inset: 0;
  background:
    linear-gradient(to bottom, rgba(10,10,10,.5), rgba(10,10,10,0) 34%),
    linear-gradient(to top, rgba(10,10,10,.8), rgba(10,10,10,.3) 45%, rgba(10,10,10,0) 72%);
}
.hero-content { position: relative; z-index: 1; max-width: 1120px; margin: 0 auto; padding: 0 24px 90px; width: 100%; }
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(40px, 6vw, 68px);
  font-weight: 600; line-height: 1.05; letter-spacing: -0.02em;
  color: #fff; margin-bottom: 22px;
  text-shadow: 0 2px 30px rgba(10,10,10,.45);
}
.hero-sub {
  color: rgba(255,255,255,.9); font-size: 17px; line-height: 1.6; margin-bottom: 34px;
  text-shadow: 0 1px 16px rgba(10,10,10,.4);
}
.hero-actions { display: flex; align-items: center; gap: 20px; }
.hero-actions .arrow { transition: transform .2s; }
.hero-actions .btn-ghost:hover .arrow { transform: translate(3px, -3px); display: inline-block; }

/* ===== Trusted by ===== */
.trusted { padding: 90px 0 30px; text-align: center; }
.trusted-label { color: var(--muted); font-size: 15px; margin-bottom: 40px; }
.trusted-logos { display: flex; justify-content: center; gap: 90px; flex-wrap: wrap; }
.brand { font-family: var(--font-display); font-size: 24px; font-weight: 700; }

/* ===== Product workspace ===== */
.workspace-frame {
  position: relative; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--border); box-shadow: 0 30px 80px rgba(10,10,10,.18);
}
.workspace-bg { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.app-card {
  position: relative; margin: 2.5% 3%; background: var(--card);
  border-radius: 10px; display: flex; overflow: hidden;
  box-shadow: 0 20px 60px rgba(10,10,10,.25);
}
.app-side { width: 210px; flex-shrink: 0; border-right: 1px solid var(--border); padding: 22px 14px; }
.app-logo { font-family: var(--font-display); font-weight: 700; font-size: 18px; margin-bottom: 20px; }
.app-side ul { list-style: none; }
.app-side li { padding: 9px 12px; border-radius: 6px; font-size: 13px; font-weight: 500; color: var(--muted); margin-bottom: 4px; }
.app-side li.active { background: #fde8dd; color: var(--accent); }
.app-main { flex: 1; padding: 28px; }
.app-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 22px; }
.app-title { font-family: var(--font-display); font-size: 26px; font-weight: 600; margin-bottom: 24px; }
.app-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 26px; }
.stat-card { border: 1px solid var(--border); border-radius: 8px; padding: 16px; }
.stat-card strong { font-family: var(--font-display); font-size: 30px; font-weight: 600; display: block; margin-top: 8px; }
.app-recents-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.app-empty {
  border: 1px solid var(--border); border-radius: 8px;
  min-height: 220px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  text-align: center; padding: 32px;
}
.app-empty-icon {
  width: 46px; height: 46px; border-radius: 10px;
  border: 1px solid var(--border); color: var(--accent);
  display: flex; align-items: center; justify-content: center; font-size: 18px;
  margin-bottom: 6px; background: #fff;
}
.app-empty-title { font-family: var(--font-display); font-size: 17px; font-weight: 600; }
.app-empty-sub { color: var(--muted); font-size: 13px; margin-bottom: 10px; }
/* ===== Features ===== */
.feature-row {
  display: grid; grid-template-columns: 1.1fr .9fr;
  gap: 64px; align-items: center; margin-bottom: 110px;
}
.feature-row.reverse { grid-template-columns: .9fr 1.1fr; }
.feature-row.reverse .feature-visual { order: 2; }
.feature-visual {
  position: relative; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--border); min-height: 380px;
}
.feature-visual > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.mini-grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
  padding: 90px 60px;
}
.mini-card {
  background: var(--card); border-radius: 8px; padding: 18px 20px;
  box-shadow: 0 8px 24px rgba(10,10,10,.15);
}
.mini-card.hl { outline: 2px solid var(--accent); }
.mini-card strong { display: block; font-family: var(--font-display); font-size: 15px; margin-bottom: 4px; }
.mini-card span { font-size: 13px; color: var(--muted); }
.prompt-card {
  position: relative; z-index: 1;
  background: var(--card); border-radius: 8px;
  margin: 170px 40px 40px; padding: 20px 24px;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  box-shadow: 0 12px 32px rgba(10,10,10,.2);
}
.prompt-card p { font-size: 15px; }
.version-card {
  position: relative; z-index: 1;
  background: var(--card); border-radius: 8px;
  margin: 120px 60px 40px; padding: 10px 0;
  box-shadow: 0 12px 32px rgba(10,10,10,.2);
}
.version { padding: 14px 22px; border-bottom: 1px solid var(--border); }
.version:last-child { border-bottom: none; }
.version strong { font-family: var(--font-mono); margin-right: 10px; }
.version span { font-size: 12px; color: var(--muted); }
.version p { font-size: 14px; margin-top: 4px; }
.feature-text h3 { font-family: var(--font-display); font-size: 30px; font-weight: 600; margin-bottom: 14px; letter-spacing: -0.01em; }
.feature-text p { color: var(--muted); font-size: 16px; line-height: 1.6; margin-bottom: 28px; }

/* ===== How it works ===== */
.steps-frame {
  position: relative; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--border); min-height: 520px;
  display: flex; align-items: center; justify-content: center;
}
.steps-frame > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.steps { position: relative; z-index: 1; width: min(520px, 88%); padding: 60px 0; }
.step {
  background: var(--card); border-radius: 8px; margin-bottom: 12px;
  box-shadow: 0 10px 30px rgba(10,10,10,.18); overflow: hidden;
}
.step summary {
  list-style: none; display: flex; align-items: center; gap: 14px;
  padding: 20px 24px; cursor: pointer;
  font-family: var(--font-display); font-size: 17px; font-weight: 500;
}
.step summary::-webkit-details-marker { display: none; }
.step-icon {
  width: 28px; height: 28px; border-radius: 6px; background: var(--accent);
  color: #fff; display: inline-flex; align-items: center; justify-content: center;
  font-size: 16px; flex-shrink: 0;
}
.step p { padding: 0 24px 20px 62px; color: var(--muted); font-size: 15px; line-height: 1.6; }

/* ===== Use cases ===== */
.tabs { position: relative; display: flex; gap: 40px; border-bottom: 1px solid var(--border); margin-bottom: 40px; }
.tab {
  background: none; border: none; padding: 0 0 14px;
  font-family: var(--font-display); font-size: 17px; font-weight: 500;
  color: var(--muted); cursor: pointer; transition: color .25s ease;
}
.tab:hover { color: var(--ink); }
.tab.active { color: var(--ink); }
.tab-pill {
  position: absolute; bottom: -1px; left: 0; height: 2px; width: 0;
  background: var(--accent);
  transition: left .45s cubic-bezier(.65, 0, .35, 1), width .45s cubic-bezier(.65, 0, .35, 1);
}
/* Panels stack in the same grid cell so switching is a true cross-fade (no layout jump) */
.tab-panels { display: grid; }
.panel {
  grid-area: 1 / 1; display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: center;
  opacity: 0; visibility: hidden; transform: translateY(16px);
  transition: opacity .5s ease, transform .5s ease, visibility 0s linear .5s;
  pointer-events: none;
}
.panel.active {
  opacity: 1; visibility: visible; transform: translateY(0);
  transition: opacity .5s ease .12s, transform .5s ease .12s, visibility 0s;
  pointer-events: auto;
}
.panel-visual {
  position: relative; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--border); min-height: 400px;
}
.panel-visual > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.panel-label { font-weight: 600; margin-bottom: 20px; }
.panel-text h3 { font-family: var(--font-display); font-size: 24px; font-weight: 600; line-height: 1.3; margin-bottom: 30px; }
.panel-text ul { list-style: none; }
.panel-text li { color: var(--muted); font-size: 15px; padding: 8px 0; }

/* ===== Stats ===== */
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.stat { background: var(--card); border: 1px solid var(--border); border-radius: 6px; padding: 30px 26px; }
.stat.hl { background: var(--accent); color: #fff; border-color: var(--accent); }
.stat.hl p, .stat.hl hr { color: rgba(255,255,255,.85); }
.stat strong, .stat .unit { font-family: var(--font-display); font-size: 56px; font-weight: 600; letter-spacing: -0.02em; }
.stat hr { border: none; border-top: 1px solid var(--border); margin: 20px 0 16px; width: 32px; }
.stat.hl hr { border-color: rgba(255,255,255,.4); }
.stat p { font-size: 15px; line-height: 1.5; color: var(--muted); }
.stat.hl p { color: rgba(255,255,255,.9); }

/* ===== Testimonials ===== */
.quotes { display: grid; grid-template-columns: 7fr 5fr; gap: 16px; }
.quote {
  background: var(--card); border: 1px solid var(--border); border-radius: 6px; padding: 30px;
  display: flex; flex-direction: column;
  transition: transform .3s ease, box-shadow .3s ease;
}
.quote:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(10,10,10,.08); }
.quote-mark { color: var(--accent); font-size: 30px; line-height: 1; margin-bottom: 14px; font-family: var(--font-display); }
.quote p { font-size: 17px; font-weight: 500; line-height: 1.55; margin-bottom: 28px; letter-spacing: -0.01em; }
.quote footer { margin-top: auto; display: flex; align-items: center; gap: 12px; }
.quote footer img { width: 44px; height: 44px; border-radius: 6px; object-fit: cover; }
.quote footer strong { display: block; font-size: 14px; }
.quote footer span { font-size: 13px; color: var(--muted); }

/* ===== Pricing ===== */
.billing-toggle { position: relative; display: inline-flex; gap: 8px; margin-bottom: 40px; }
.billing-toggle .toggle-pill {
  position: absolute; top: 0; left: 0; height: 100%; width: 0;
  background: var(--accent); border-radius: 999px; z-index: 0;
  transition: left .4s cubic-bezier(.65, 0, .35, 1), width .4s cubic-bezier(.65, 0, .35, 1);
}
.billing-toggle button {
  position: relative; z-index: 1;
  border: 1px solid var(--border); background: var(--card);
  padding: 10px 20px; border-radius: 999px; cursor: pointer;
  font-family: var(--font-display); font-size: 14px; font-weight: 500;
  transition: color .3s ease, border-color .3s ease, background .3s ease;
}
.billing-toggle button.active { background: transparent; color: #fff; border-color: var(--accent); }
.save { color: var(--accent); font-family: var(--font-mono); font-size: 11px; margin-left: 6px; }
.billing-toggle button.active .save { color: var(--accent); }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.plan {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 34px 28px; position: relative; display: flex; flex-direction: column;
  transition: transform .3s ease, box-shadow .3s ease;
}
.plan:hover { transform: translateY(-4px); box-shadow: 0 20px 50px rgba(10,10,10,.1); }
.plan.popular { border-color: var(--ink); box-shadow: 0 20px 50px rgba(10,10,10,.1); padding-top: 0; overflow: hidden; }
.plan-banner {
  position: relative; height: 44px; margin: 0 -28px 26px;
  background: url("../assets/HOzJ2RNjaiOiyRgXe8kfgFptsM.jpg") center 30% / cover;
  border-bottom: 1px solid var(--ink);
  display: flex; align-items: center; padding: 0 28px;
}
.plan-banner::before { content: ""; position: absolute; inset: 0; background: rgba(10,10,10,.35); }
.plan-banner span {
  position: relative; z-index: 1; color: #fff; font-size: 11px; font-weight: 600;
  text-transform: uppercase; letter-spacing: .08em; font-family: var(--font-mono);
}
.btn-dark { background: var(--ink); color: #fff; justify-content: center; }
.btn-dark:hover { background: #222; box-shadow: 0 8px 24px rgba(10,10,10,.25); }
.btn-dark .arrow { font-weight: 400; }
.plan h3 { font-family: var(--font-display); font-size: 20px; margin-bottom: 12px; }
.price { font-family: var(--font-display); font-size: 44px; font-weight: 600; letter-spacing: -0.02em; }
.price .per { font-size: 15px; font-weight: 400; color: var(--muted); }
.plan-sub { font-size: 14px; color: var(--muted); line-height: 1.55; margin: 12px 0 24px; }
.plan .btn { width: 100%; margin-bottom: 26px; }
.plan ul { list-style: none; border-top: 2px dotted var(--border); padding-top: 10px; }
.plan li { font-size: 14px; color: var(--muted); padding: 7px 0; }
.plan li::before { content: "✓"; color: var(--accent); margin-right: 10px; font-weight: 700; }

/* ===== FAQ ===== */
.faq { background: var(--card); border: 1px solid var(--border); border-radius: 8px; margin-bottom: 10px; }
.faq summary {
  list-style: none; cursor: pointer; padding: 22px 26px;
  font-family: var(--font-display); font-size: 17px; font-weight: 500;
  display: flex; justify-content: space-between; align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); font-size: 22px; transition: transform .25s; }
.faq[open] summary::after { transform: rotate(45deg); }
.faq p { padding: 0 26px 22px; color: var(--muted); font-size: 15px; line-height: 1.65; }

/* ===== Footer ===== */
.footer { padding: 24px; background: var(--bg); }
.footer-wrap {
  position: relative; border-radius: 16px; overflow: hidden;
  display: flex; flex-direction: column;
  background: #0d0d0d;
}
/* Overscan + dark scrim so white footer text is readable over the bright art */
.footer-bg { position: absolute; left: 0; top: -8%; width: 100%; height: 116%; object-fit: cover; }
.footer-wrap::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(to bottom,
    rgba(10,10,10,.55), rgba(10,10,10,.18) 32%,
    rgba(10,10,10,.5) 70%, rgba(10,10,10,.88));
}
.footer-card {
  position: relative; z-index: 2; margin: 24px;
  background: #0d0d0d; border-radius: 12px;
  padding: 100px 24px 0; text-align: center;
  display: flex; flex-direction: column; align-items: center;
  overflow: hidden;
}
.footer-title { font-family: var(--font-display); font-size: clamp(34px, 4.5vw, 54px); font-weight: 600; letter-spacing: -0.02em; line-height: 1.12; margin-bottom: 14px; color: #fff; }
.footer-sub { color: rgba(255,255,255,.65); font-size: 16px; margin-bottom: 32px; }
.footer-outline {
  font-family: var(--font-display); font-weight: 700; white-space: nowrap;
  font-size: clamp(44px, 7.5vw, 120px); line-height: 1; letter-spacing: -0.02em;
  color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.22);
  user-select: none; margin: 100px 0 -0.22em;
}
.framer-badge {
  position: absolute; bottom: 22px; right: 22px; z-index: 3;
  background: #fff; color: #0a0a0a; font-size: 12px; font-weight: 600;
  padding: 7px 12px; border-radius: 6px; font-family: var(--font-body);
}
.footer-bottom {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px;
  padding: 44px 48px 30px; text-align: left; color: #fff;
}
.footer-logo { font-family: var(--font-display); font-size: 22px; font-weight: 700; }
.footer-logo sup { font-size: 10px; }
.footer-tagline { color: rgba(255,255,255,.85); font-size: 14px; line-height: 1.5; margin-top: 8px; max-width: 200px; }
.footer-head { font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: rgba(255,255,255,.55); margin-bottom: 14px; }
.footer-bottom a { display: block; color: rgba(255,255,255,.9); font-size: 15px; padding: 4px 0; transition: color .2s; }
.footer-bottom a:hover { color: var(--accent); }
.footer-legal {
  position: relative; z-index: 2;
  display: flex; justify-content: space-between; align-items: center;
  padding: 0 48px 30px; color: rgba(255,255,255,.65); font-size: 13px;
}

/* ===== Motion helpers ===== */
.reveal { opacity: 0; transform: translateY(40px); }
/* Children of stagger groups fade/slide in one-by-one on scroll */
.stagger > * { opacity: 0; transform: translateY(28px); }

/* Smooth accordion bodies (grid-rows trick, animated via JS class) */
.step p, .faq p {
  overflow: hidden;
}
.step, .faq { transition: border-color .3s ease; }
.faq summary, .step summary { transition: color .2s ease; }
.faq summary:hover, .step summary:hover { color: var(--accent); }
.faq summary::after { transition: transform .35s cubic-bezier(.65, 0, .35, 1); }

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .feature-row, .feature-row.reverse, .panel { grid-template-columns: 1fr; gap: 32px; }
  .feature-row.reverse .feature-visual { order: 0; }
  .stats-grid, .plans { grid-template-columns: 1fr 1fr; }
  .quotes { grid-template-columns: 1fr; }
  .footer-bottom { grid-template-columns: 1fr 1fr; padding: 32px 28px 24px; gap: 28px; }
  .footer-legal { flex-direction: column; gap: 6px; align-items: flex-start; padding: 0 28px 24px; }
  .footer-card { margin: 12px; padding: 70px 20px 0; }
  .footer-outline { font-size: 13vw; }
  .mini-grid { padding: 60px 24px; }
  .version-card, .prompt-card { margin-left: 24px; margin-right: 24px; }
}
@media (max-width: 600px) {
  .stats-grid, .plans { grid-template-columns: 1fr; }
  .app-side { display: none; }
  .footer-bottom { grid-template-columns: 1fr; gap: 24px; }
  .section { padding: 70px 0; }
}

