:root {
  /* Brand — indigo → violet accent, matching the FrameFlow app */
  --teal: #6366f1;
  --teal-dim: #4f46e5;
  --teal-muted: #a5b4fc;
  --teal-glow: rgba(99, 102, 241, 0.2);
  --teal-subtle: rgba(99, 102, 241, 0.09);
  --violet: #a855f7;
  --violet-dark: #7c3aed;
  --amber: #d97706;
  --amber-subtle: rgba(217, 119, 6, 0.12);
  --green: #16a34a;
  --green-subtle: rgba(22, 163, 74, 0.12);

  --bg: #eef0f4;
  --surface: #ffffff;
  --surface-raised: #f4f6f9;
  --surface-high: #e9ecf2;

  --border: #e4e7ee;
  --border-bright: #d3d8e2;

  --text: #1b1d23;
  --text-secondary: #5b6270;
  --text-muted: #98a0ad;

  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;

  --shadow: 0 1px 2px rgba(17, 24, 39, 0.05), 0 1px 3px rgba(17, 24, 39, 0.08);
  --shadow-md: 0 12px 32px -10px rgba(17, 24, 39, 0.16), 0 3px 8px rgba(17, 24, 39, 0.06);
  --shadow-lg: 0 32px 72px -18px rgba(17, 24, 39, 0.3), 0 8px 24px -10px rgba(17, 24, 39, 0.18);

  --font: 'Inter', 'Segoe UI', system-ui, sans-serif;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --max-width: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3 {
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 16px;
}

p {
  margin: 0 0 16px;
}

a {
  color: inherit;
}

/* Ambient page background */

.page-aurora {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.aurora-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
}

.aurora-blob-2 {
  top: 30%;
  right: -220px;
  width: 620px;
  height: 620px;
  background: radial-gradient(closest-side, rgba(168, 85, 247, 0.16), transparent 70%);
}

.aurora-blob-3 {
  bottom: -220px;
  left: 20%;
  width: 560px;
  height: 560px;
  background: radial-gradient(closest-side, rgba(99, 102, 241, 0.14), transparent 70%);
}

/* Per-section ambient glow — keeps the white/light sections from feeling flat */

.soft-glow {
  position: absolute;
  width: 560px;
  height: 560px;
  border-radius: 50%;
  filter: blur(50px);
  pointer-events: none;
  z-index: 0;
}

.soft-glow-indigo {
  background: radial-gradient(closest-side, rgba(99, 102, 241, 0.24), transparent 70%);
}

.soft-glow-violet {
  background: radial-gradient(closest-side, rgba(168, 85, 247, 0.22), transparent 70%);
}

.soft-glow-tl { top: -180px;    left: -160px; }
.soft-glow-tr { top: -180px;    right: -160px; }
.soft-glow-bl { bottom: -180px; left: -160px; }
.soft-glow-br { bottom: -180px; right: -160px; }

/* Light-mode echo of the hero's gallery-wall frames */

.frame-deco-light {
  position: absolute;
  border: 2px solid rgba(99, 102, 241, 0.14);
  border-radius: 5px;
  z-index: 0;
}

.frame-deco-light::before {
  content: '';
  position: absolute;
  inset: 8px;
  border: 1px solid rgba(99, 102, 241, 0.08);
  border-radius: 2px;
}

.frame-deco-light-gold {
  border-color: rgba(180, 130, 40, 0.2);
}

.frame-deco-light-gold::before {
  border-color: rgba(180, 130, 40, 0.12);
}

.frame-deco-light-1 { width: 90px; height: 115px; top: 14%;    left: 4%;   transform: rotate(-8deg); }
.frame-deco-light-2 { width: 70px; height: 88px;  bottom: 10%; right: 6%;  transform: rotate(7deg); }
.frame-deco-light-3 { width: 60px; height: 78px;  top: 8%;     right: 9%;  transform: rotate(6deg); }
.frame-deco-light-4 { width: 55px; height: 70px;  bottom: 12%; left: 7%;   transform: rotate(-6deg); }

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.logo-icon-wrap {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.logo-icon-wrap svg {
  width: 100%;
  height: 100%;
}

.logo-name {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
}

.logo-name-accent {
  background: linear-gradient(120deg, var(--teal), var(--violet));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.main-nav {
  position: relative;
  display: flex;
  gap: 32px;
}

.main-nav a {
  text-decoration: none;
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.2s ease;
}

.main-nav a:hover {
  color: var(--text);
}

.main-nav a.is-active {
  color: var(--text);
  font-weight: 600;
}

/* Scrollspy indicator — echoes the stacked bars in the logo mark */

.nav-indicator {
  position: absolute;
  bottom: -13px;
  left: 0;
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--teal), var(--violet));
  opacity: 0;
  transition: transform 0.35s var(--ease), width 0.35s var(--ease), opacity 0.25s ease;
  pointer-events: none;
}

.nav-indicator.is-visible {
  opacity: 1;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text);
}

/* Buttons */

.btn {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-decoration: none;
  font-weight: 600;
  border-radius: var(--radius);
  padding: 14px 28px;
  font-size: 1rem;
  border: 1px solid transparent;
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  transition: background 0.15s ease, box-shadow 0.15s ease, transform 0.12s var(--ease), border-color 0.15s ease;
  --ripple-color: rgba(255, 255, 255, 0.45);
}

/* Glass sheen: a soft highlight across the top half, like light on frosted glass */
.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.35), rgba(255, 255, 255, 0) 55%);
  opacity: 0.7;
  pointer-events: none;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0) scale(0.96);
  transition: transform 0.08s ease;
}

.btn-ripple {
  position: absolute;
  border-radius: 50%;
  background: var(--ripple-color);
  transform: scale(0);
  opacity: 0.9;
  pointer-events: none;
  animation: btnRipple 0.55s ease-out forwards;
}

@keyframes btnRipple {
  to {
    transform: scale(1);
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .btn-ripple {
    display: none;
  }
}

.btn-primary {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.75), rgba(124, 58, 237, 0.75));
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.35);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3), 0 10px 24px -8px rgba(99, 102, 241, 0.55), var(--shadow);
}

.btn-primary:hover {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.85), rgba(124, 58, 237, 0.85));
  border-color: rgba(255, 255, 255, 0.5);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), 0 0 0 4px var(--teal-glow), var(--shadow-md);
}

.btn-small {
  padding: 9px 18px;
  font-size: 0.9rem;
  /* The glass look on .btn-primary is translucent, tuned to blend with the
     dark hero behind it. Against the light, blurred header bar the same
     translucency just looks pale, so this variant goes fully opaque. */
  background: linear-gradient(135deg, var(--teal), var(--violet-dark));
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.btn-small:hover {
  background: linear-gradient(135deg, var(--teal-dim), var(--violet-dark));
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  border-color: var(--border-bright);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
  --ripple-color: rgba(99, 102, 241, 0.3);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.4);
}

/* Hero — bold dark gradient-mesh treatment so the product mock pops */

.hero {
  position: relative;
  overflow: hidden;
  padding: 96px 0 80px;
  color: var(--text);
  background: radial-gradient(ellipse 120% 100% at 20% -10%, #2c2154 0%, #171029 55%, #0e0b1a 100%);

  /* Local token overrides: everything below reads var(--text) etc.,
     so re-pointing them here re-themes the whole hero for free. */
  --text: #f6f4fd;
  --text-secondary: rgba(246, 244, 253, 0.72);
  --text-muted: rgba(246, 244, 253, 0.55);
  --border: rgba(255, 255, 255, 0.14);
  --border-bright: rgba(255, 255, 255, 0.28);
  --surface: rgba(255, 255, 255, 0.06);
  --surface-raised: rgba(255, 255, 255, 0.1);
}

.hero-backdrop {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero-grid {
  position: absolute;
  inset: -10%;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 65% 55% at 30% 20%, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 65% 55% at 30% 20%, black 30%, transparent 75%);
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.6;
  animation: heroOrbDrift 18s ease-in-out infinite;
}

.hero-orb-a {
  width: 440px;
  height: 440px;
  top: -140px;
  left: -100px;
  background: radial-gradient(closest-side, rgba(99, 102, 241, 0.55), transparent 70%);
}

.hero-orb-b {
  width: 400px;
  height: 400px;
  bottom: -160px;
  right: -80px;
  background: radial-gradient(closest-side, rgba(168, 85, 247, 0.5), transparent 70%);
  animation-delay: -6s;
}

.hero-orb-c {
  width: 320px;
  height: 320px;
  top: 25%;
  right: 12%;
  background: radial-gradient(closest-side, rgba(99, 102, 241, 0.35), transparent 70%);
  animation-delay: -12s;
}

@keyframes heroOrbDrift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50%      { transform: translate(28px, -18px) scale(1.08); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-orb {
    animation: none;
  }
}

/* Scattered empty picture frames — a gallery wall glimpsed in the dark,
   lit by the glow orbs. Ties the abstract backdrop to the actual product. */

.frame-deco {
  position: absolute;
  border: 2px solid rgba(255, 255, 255, 0.16);
  border-radius: 5px;
}

.frame-deco::before {
  content: '';
  position: absolute;
  inset: 9px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 2px;
}

.frame-deco-gold {
  border-color: rgba(217, 168, 90, 0.32);
}

.frame-deco-gold::before {
  border-color: rgba(217, 168, 90, 0.18);
}

.frame-deco-1 { width: 108px; height: 138px; top: 10%;  left: 5%;   transform: rotate(-9deg); }
.frame-deco-2 { width: 76px;  height: 96px;  top: 62%;  left: 12%;  transform: rotate(7deg); }
.frame-deco-3 { width: 132px; height: 100px; top: 6%;   right: 9%;  transform: rotate(6deg); }
.frame-deco-4 { width: 70px;  height: 92px;  bottom: 9%; right: 20%; transform: rotate(-11deg); }
.frame-deco-5 { width: 58px;  height: 74px;  bottom: 14%; left: 40%; transform: rotate(10deg); }
.frame-deco-6 { width: 92px;  height: 70px;  top: 40%;  left: -2%;  transform: rotate(4deg); }

.hero-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 64px;
}

.hero-copy {
  flex: 1 1 480px;
}

.hero-copy h1 {
  font-size: clamp(2rem, 4vw, 2.75rem);
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 46ch;
}

.hero-actions {
  margin-top: 8px;
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-visual {
  position: relative;
  z-index: 1;
  flex: 1 1 420px;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 320px;
  perspective: 1400px;
}

.aurora-glow {
  position: absolute;
  width: 460px;
  height: 460px;
  border-radius: 50%;
  background:
    radial-gradient(closest-side at 42% 40%, rgba(99, 102, 241, 0.45), transparent 70%),
    radial-gradient(closest-side at 60% 55%, rgba(168, 85, 247, 0.4), transparent 70%);
  filter: blur(12px);
}

/* Hero centerpiece: a live-looking mock of the FrameFlow job board.
   Re-pin tokens to the light palette so the card stays bright regardless
   of the dark hero it's floating on. */

.board-mock {
  position: relative;
  width: 100%;
  max-width: 460px;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: 0 40px 80px -20px rgba(0, 0, 0, 0.55), var(--shadow-lg);
  overflow: hidden;
  transform-style: preserve-3d;
  transition: transform 0.3s var(--ease);
  will-change: transform;

  --text: #1b1d23;
  --text-secondary: #5b6270;
  --text-muted: #98a0ad;
  --border: #e4e7ee;
  --border-bright: #d3d8e2;
  --surface: #ffffff;
  --surface-raised: #f4f6f9;
}

.board-mock-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  background: var(--surface-raised);
}

.board-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
}

.board-mock-title {
  margin-left: 8px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
}

.board-columns {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  padding: 16px;
}

.board-col {
  border-radius: var(--radius);
  padding: 8px;
  transition: background 0.4s ease;
  min-height: 160px;
}

.board-col[data-col="0"].is-active { background: var(--amber-subtle); }
.board-col[data-col="1"].is-active { background: var(--teal-subtle); }
.board-col[data-col="2"].is-active { background: var(--green-subtle); }

.board-col-title {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  white-space: nowrap;
  margin: 4px 4px 12px;
}

.board-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px;
}

.board-card-ghost {
  margin-bottom: 8px;
  transition: opacity 0.3s ease;
}

.ghost-line {
  display: block;
  height: 7px;
  border-radius: 4px;
  background: var(--border-bright);
  margin-bottom: 6px;
}

.ghost-line-sub {
  width: 55%;
  background: var(--border);
  margin-bottom: 0;
}

.board-card-mover {
  position: absolute;
  top: 0;
  left: 0;
  box-shadow: var(--shadow-md);
  transition: transform 0.65s cubic-bezier(0.34, 1.56, 0.64, 1), width 0.4s var(--ease), box-shadow 0.3s ease;
  z-index: 2;
}

.board-card-mover.is-lifted {
  box-shadow: 0 22px 40px -12px rgba(99, 102, 241, 0.4), var(--shadow-lg);
}

.board-card-mover.pulse-ready {
  animation: readyPulse 0.8s ease-out;
}

@keyframes readyPulse {
  0%   { box-shadow: 0 0 0 0 rgba(22, 163, 74, 0.5), var(--shadow-md); }
  100% { box-shadow: 0 0 0 18px rgba(22, 163, 74, 0), var(--shadow-md); }
}

.board-card-top {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 6px;
}

.board-card-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--amber);
  transition: background 0.3s ease;
}

.board-card-status {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--text-muted);
}

.board-card-title {
  font-size: 0.82rem;
  font-weight: 700;
  margin: 0 0 2px;
  color: var(--text);
  transition: opacity 0.25s ease;
}

.board-card-sub {
  font-size: 0.76rem;
  color: var(--text-secondary);
  margin: 0;
  transition: opacity 0.25s ease;
}

.stage-production .board-card-dot {
  background: var(--teal);
}

.stage-ready .board-card-dot {
  background: var(--green);
}

/* Scroll-reveal */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease, ease), transform 0.7s var(--ease, ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.94);
  transition: opacity 0.7s var(--ease, ease), transform 0.7s var(--ease, ease);
}

.reveal-scale.is-visible {
  opacity: 1;
  transform: scale(1);
}

@media (prefers-reduced-motion: reduce) {
  .reveal-scale {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* Scroll cue (hero) */

.scroll-cue {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  padding-bottom: 8px;
}

.scroll-cue span {
  width: 22px;
  height: 36px;
  border: 2px solid var(--border-bright);
  border-radius: 12px;
  position: relative;
}

.scroll-cue span::before {
  content: '';
  position: absolute;
  top: 6px;
  left: 50%;
  width: 4px;
  height: 8px;
  background: var(--teal);
  border-radius: 2px;
  transform: translateX(-50%);
  animation: scrollCue 1.6s ease-in-out infinite;
}

@keyframes scrollCue {
  0%   { opacity: 1; transform: translate(-50%, 0); }
  70%  { opacity: 0; transform: translate(-50%, 10px); }
  100% { opacity: 0; transform: translate(-50%, 10px); }
}

/* Sections */

section {
  padding: 88px 0;
}

.section-title {
  font-size: 2rem;
  text-align: center;
}

.section-subtitle {
  text-align: center;
  color: var(--text-secondary);
  max-width: 52ch;
  margin: -8px auto 48px;
}

/* App preview (real screenshots) */

.app-preview {
  position: relative;
  overflow: hidden;
  text-align: center;
}

.app-preview .container {
  position: relative;
  z-index: 1;
}

.app-shots {
  display: grid;
  grid-template-columns: 1fr;
  gap: 64px;
  max-width: 980px;
  margin: 0 auto;
}

.app-shot-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow-lg);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.app-shot-frame:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg), 0 30px 60px -24px var(--teal-glow);
}

.app-shot-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 12px 16px;
  background: var(--surface-raised);
  border-bottom: 1px solid var(--border);
}

.app-shot img {
  display: block;
  width: 100%;
  height: auto;
}

.app-shot figcaption {
  margin-top: 18px;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/* How it works */

.how-it-works {
  position: relative;
  overflow: hidden;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.how-it-works .container {
  position: relative;
  z-index: 1;
}

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 40px;
}

.step {
  text-align: center;
}

.step-number {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(120deg, var(--teal), var(--violet-dark));
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  margin: 0 auto 16px;
  box-shadow: var(--shadow);
}

.step h3 {
  font-size: 1.15rem;
}

.step p {
  color: var(--text-secondary);
  font-size: 0.97rem;
}

/* Feature showcase */

.showcase {
  position: relative;
  background: var(--surface);
}

.showcase .showcase-inner {
  position: relative;
  z-index: 1;
}

.showcase-inner {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 80px;
  align-items: start;
}

.showcase-sticky {
  position: sticky;
  top: 112px;
  height: 380px;
}

.showcase-panel {
  position: relative;
  height: 100%;
  border-radius: var(--radius-xl);
  background: linear-gradient(150deg, #1b1d23, #2a1f3d);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  padding: 28px 26px;
}

.showcase-panel-glow {
  position: absolute;
  inset: -20%;
  background:
    radial-gradient(closest-side at 35% 30%, rgba(99, 102, 241, 0.55), transparent 65%),
    radial-gradient(closest-side at 70% 70%, rgba(168, 85, 247, 0.45), transparent 65%);
  filter: blur(20px);
}

/* Logo mark shrinks to make room when the checklist unfolds below it */

.panel-mark {
  position: relative;
  z-index: 1;
  width: 84px;
  height: 84px;
  flex-shrink: 0;
  transition: width 0.5s var(--ease), height 0.5s var(--ease), margin 0.5s var(--ease);
}

.panel-mark-svg {
  display: block;
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 8px 20px rgba(99, 102, 241, 0.4));
}

.showcase-panel.is-unfolded .panel-mark {
  width: 48px;
  height: 48px;
  margin-bottom: 18px;
}

/* Checklist — collapsed to zero height until the panel unfolds */

.panel-checklist-wrap {
  position: relative;
  z-index: 1;
  width: 100%;
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.6s var(--ease);
}

.showcase-panel.is-unfolded .panel-checklist-wrap {
  grid-template-rows: 1fr;
}

.panel-checklist {
  overflow: hidden;
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.panel-check-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.45);
  transition: color 0.3s ease;
}

.panel-check-item.is-current {
  color: #ffffff;
  font-weight: 600;
}

.panel-check-item.is-done {
  color: rgba(255, 255, 255, 0.8);
}

.check-circle {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.35s ease, border-color 0.35s ease;
}

.panel-check-item.is-done .check-circle {
  background: linear-gradient(120deg, var(--teal), var(--violet));
  border-color: transparent;
}

.check-tick {
  width: 13px;
  height: 13px;
  overflow: visible;
}

.check-tick path {
  fill: none;
  stroke: #ffffff;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 24;
  stroke-dashoffset: 24;
  transition: stroke-dashoffset 0.5s var(--ease);
}

.panel-check-item.is-done .check-tick path {
  stroke-dashoffset: 0;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--teal-dim);
  margin-bottom: 8px;
}

.showcase-list h2 {
  font-size: 2rem;
  margin-bottom: 56px;
}

.showcase-item {
  padding: 40px 0;
  border-top: 1px solid var(--border);
  transition: opacity 0.3s ease;
}

.showcase-item:last-child {
  border-bottom: 1px solid var(--border);
}

.showcase-item-icon {
  font-size: 28px;
  color: var(--teal);
  margin-bottom: 12px;
  display: block;
}

.showcase-item h3 {
  font-size: 1.25rem;
}

.showcase-item p {
  color: var(--text-secondary);
  max-width: 46ch;
}

.showcase-item.is-active h3 {
  background: linear-gradient(120deg, var(--teal), var(--violet-dark));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* Per-feature "more detail" toggle */

.showcase-more {
  margin-top: 12px;
}

.showcase-more summary {
  list-style: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--teal-dim);
}

.showcase-more summary::-webkit-details-marker {
  display: none;
}

.showcase-more summary:hover {
  color: var(--violet-dark);
}

.showcase-more-caret {
  font-size: 0.85rem;
  transition: transform 0.3s ease;
}

.showcase-more[open] .showcase-more-caret {
  transform: rotate(180deg);
}

.showcase-more-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s var(--ease);
}

.showcase-more[open] .showcase-more-answer {
  grid-template-rows: 1fr;
}

.showcase-more-inner {
  overflow: hidden;
}

.showcase-more-inner p {
  padding-top: 10px;
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/* Stats */

.stats {
  position: relative;
  overflow: hidden;
  background: var(--surface-raised);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.stats .container {
  position: relative;
  z-index: 1;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}

.stat-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 24px;
  text-align: center;
  box-shadow: var(--shadow);
  overflow: hidden;
}

/* Cursor-follow spotlight highlight */

.spotlight::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(220px circle at var(--x, 50%) var(--y, 50%), var(--teal-subtle), transparent 70%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.spotlight:hover::before {
  opacity: 1;
}

.stat-number {
  font-size: 2.75rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 8px;
  background: linear-gradient(120deg, var(--teal), var(--violet-dark));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.stat-label {
  color: var(--text-secondary);
  margin: 0;
}

/* About */

.about-inner {
  max-width: 720px;
  text-align: center;
}

.about-inner p {
  color: var(--text-secondary);
}

/* Pricing */

.pricing-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}

.pricing-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.pricing-card p {
  color: var(--text-secondary);
}

.pricing-card-featured {
  border-color: var(--teal-muted);
  box-shadow: 0 0 0 3px var(--teal-subtle), var(--shadow-md);
}

.pricing-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: linear-gradient(120deg, var(--teal), var(--violet-dark));
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  margin: 0;
}

.price {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}

.pricing-features {
  list-style: none;
  margin: 20px 0 0;
  padding: 20px 0 0;
  border-top: 1px solid var(--border);
  text-align: left;
}

.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: var(--text-secondary);
  font-size: 0.92rem;
  margin-bottom: 10px;
}

.pricing-features li:last-child {
  margin-bottom: 0;
}

.pricing-features i {
  color: var(--teal);
  font-size: 1.05rem;
  flex-shrink: 0;
  margin-top: 1px;
}

/* FAQ */

.faq {
  position: relative;
  overflow: hidden;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.faq .container {
  position: relative;
  z-index: 1;
}

.faq-inner {
  max-width: 720px;
}

.faq-list {
  margin-top: 16px;
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 2px;
  font-weight: 600;
  font-size: 1.05rem;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-caret {
  flex-shrink: 0;
  color: var(--text-muted);
  transition: transform 0.3s ease;
}

.faq-item[open] .faq-caret {
  transform: rotate(180deg);
}

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s var(--ease);
}

.faq-item[open] .faq-answer {
  grid-template-rows: 1fr;
}

.faq-answer-inner {
  overflow: hidden;
}

.faq-answer-inner p {
  padding: 0 2px 22px;
  margin: 0;
  color: var(--text-secondary);
  max-width: 60ch;
}

/* Contact */

.contact-inner {
  max-width: 560px;
  text-align: center;
}

.contact-inner p {
  color: var(--text-secondary);
}

.contact-email {
  font-weight: 600;
  text-decoration: none;
  background: linear-gradient(120deg, var(--teal), var(--violet));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.placeholder-note {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-style: italic;
}

/* Final CTA */

.final-cta {
  position: relative;
  overflow: hidden;
  text-align: center;
  background: radial-gradient(ellipse 120% 100% at 50% 120%, #2c2154 0%, #171029 55%, #0e0b1a 100%);
  color: var(--text);
  --text: #f6f4fd;
  --text-secondary: rgba(246, 244, 253, 0.75);
}

.final-cta-glow {
  position: absolute;
  top: -40%;
  left: 50%;
  transform: translateX(-50%);
  width: 640px;
  height: 480px;
  background: radial-gradient(closest-side, rgba(99, 102, 241, 0.35), transparent 70%);
  filter: blur(20px);
  pointer-events: none;
}

.final-cta-inner {
  position: relative;
  z-index: 1;
  max-width: 560px;
}

.final-cta h2 {
  font-size: 2rem;
  margin-bottom: 12px;
}

.final-cta p {
  color: var(--text-secondary);
  margin-bottom: 28px;
}

/* Footer */

.site-footer {
  padding: 32px 0;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
  border-top: 1px solid var(--border);
  background: var(--surface);
}

.site-footer p {
  margin: 0;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.footer-links {
  display: flex;
  gap: 20px;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.85rem;
}

.footer-links a:hover {
  color: var(--text-secondary);
  text-decoration: underline;
}

/* Responsive */

@media (max-width: 860px) {
  .hero-inner {
    flex-direction: column;
    text-align: center;
  }

  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .showcase-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .showcase-sticky {
    position: static;
    height: auto;
  }

  .showcase-panel {
    min-height: 220px;
  }

  /* No sticky pinning on mobile, so the fold/unfold height change has
     nothing to gain visually — it just resizes the panel in normal flow
     and shifts the page under your thumb while scrolling. Force it open. */
  .panel-mark {
    width: 48px !important;
    height: 48px !important;
    margin-bottom: 14px !important;
  }

  .panel-checklist-wrap {
    grid-template-rows: 1fr !important;
  }
}

@media (max-width: 480px) {
  .board-columns {
    grid-template-columns: 1fr;
  }

  .board-col {
    min-height: 0;
  }
}

@media (max-width: 720px) {
  .nav-toggle {
    display: flex;
  }

  .main-nav {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    gap: 0;
    display: none;
  }

  .main-nav.open {
    display: flex;
  }

  .main-nav a {
    padding: 16px 24px;
    border-top: 1px solid var(--border);
  }

  .header-actions .btn-small {
    display: none;
  }

  .nav-indicator {
    display: none;
  }
}
