/* ==========================================================================
   MJ's Studio — main stylesheet
   ========================================================================== */

:root {
  --bg: #07070d;
  --bg-soft: #0c0c16;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-2: rgba(255, 255, 255, 0.07);
  --border: rgba(255, 255, 255, 0.09);
  --border-strong: rgba(255, 255, 255, 0.16);
  --text: #f2f3f7;
  --muted: #9b9eb3;
  --acc-1: #7c6bff;
  --acc-2: #1fd4ff;
  --acc-3: #ff5ca8;
  --grad: linear-gradient(120deg, var(--acc-1), var(--acc-2));
  --grad-warm: linear-gradient(120deg, var(--acc-3), var(--acc-1));
  --radius: 18px;
  --radius-sm: 12px;
  --font-display: 'Sora', 'Segoe UI', system-ui, sans-serif;
  --font-body: 'Inter', 'Segoe UI', system-ui, sans-serif;
  --shadow-lg: 0 24px 60px rgba(0, 0, 0, 0.45);
  --nav-h: 72px;
}

/* --------------------------------------------------------------------------
   Light theme — opt-in via <html data-theme="light">. Dark stays the default.
   -------------------------------------------------------------------------- */
[data-theme="light"] {
  --bg: #f6f7fb;
  --bg-soft: #eef0f7;
  --surface: rgba(18, 21, 45, 0.035);
  --surface-2: rgba(18, 21, 45, 0.065);
  --border: rgba(18, 21, 45, 0.10);
  --border-strong: rgba(18, 21, 45, 0.20);
  --text: #14161f;
  --muted: #565d73;
  --acc-2: #0e7490;            /* deeper cyan so accents stay legible on white */
  --shadow-lg: 0 24px 60px rgba(18, 21, 45, 0.14);
}

/* Background treatments: soften blobs, darken the grid lines */
[data-theme="light"] .aurora-blob { opacity: 0.14; }
[data-theme="light"] .aurora-3 { opacity: 0.10; }
[data-theme="light"] .grid-overlay {
  background-image:
    linear-gradient(rgba(18, 21, 45, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(18, 21, 45, 0.025) 1px, transparent 1px);
}

/* Nav */
[data-theme="light"] .nav.scrolled { background: rgba(246, 247, 251, 0.82); }

/* Buttons */
[data-theme="light"] .btn-ghost:hover { border-color: rgba(18, 21, 45, 0.28); }

/* Browser mockup → a light "website preview" */
[data-theme="light"] .browser { background: linear-gradient(160deg, #ffffff, #eef0f7); }
[data-theme="light"] .browser-bar { background: rgba(18, 21, 45, 0.03); }
[data-theme="light"] .browser-url { background: rgba(18, 21, 45, 0.05); }
[data-theme="light"] .mock-links i { background: rgba(18, 21, 45, 0.13); }
[data-theme="light"] .mock-h1 { background: rgba(18, 21, 45, 0.20); }
[data-theme="light"] .mock-p { background: rgba(18, 21, 45, 0.11); }
[data-theme="light"] .mock-cards span { background: rgba(18, 21, 45, 0.045); }

/* Floating chips */
[data-theme="light"] .float-chip {
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 12px 32px rgba(18, 21, 45, 0.16);
}

/* Mint greens read poorly on white — deepen them */
[data-theme="light"] .hero-guarantee svg,
[data-theme="light"] .chip-1,
[data-theme="light"] .chip-1 svg,
[data-theme="light"] .start-points svg,
[data-theme="light"] .guarantee-icon { color: #0f9d6b; }

/* Body-copy grays that were tuned for the dark background */
[data-theme="light"] .legal p,
[data-theme="light"] .legal li,
[data-theme="light"] .price-card li,
[data-theme="light"] .start-points li { color: #3b4054; }

/* Form */
[data-theme="light"] .form-card { background: #ffffff; }
[data-theme="light"] .form-card input,
[data-theme="light"] .form-card textarea,
[data-theme="light"] .chip { background: rgba(18, 21, 45, 0.04); }
[data-theme="light"] .form-card input:focus,
[data-theme="light"] .form-card textarea:focus { background: rgba(124, 107, 255, 0.07); }
[data-theme="light"] .form-card input::placeholder,
[data-theme="light"] .form-card textarea::placeholder { color: #9398ac; }

/* Toast + footer fine print */
[data-theme="light"] .toast { background: #ffffff; }
[data-theme="light"] .footer-note { color: #8388a0; }

* { box-sizing: border-box; margin: 0; padding: 0; }

/* The hidden attribute must always win over any display rule. */
[hidden] { display: none !important; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); }

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

img, svg { display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

.container { width: min(1160px, 100% - 48px); margin-inline: auto; }
.container.narrow { width: min(820px, 100% - 48px); }

::selection { background: rgba(124, 107, 255, 0.45); }

:focus-visible { outline: 2px solid var(--acc-2); outline-offset: 3px; border-radius: 4px; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 300;
  background: var(--acc-1); color: #fff; font-weight: 600;
  padding: 12px 22px; border-radius: 0 0 12px 0;
}
.skip-link:focus { left: 0; }

/* Legal pages (privacy, etc.) */
.legal { padding: calc(var(--nav-h) + 64px) 0 80px; }
.legal h1 { font-family: var(--font-display); font-size: clamp(2rem, 4vw, 2.6rem); font-weight: 800; letter-spacing: -0.02em; margin-bottom: 10px; }
.legal .updated { color: var(--muted); font-size: 0.9rem; margin-bottom: 38px; }
.legal h2 { font-family: var(--font-display); font-size: 1.2rem; font-weight: 600; margin: 34px 0 10px; }
.legal p, .legal li { color: #c9ccda; font-size: 0.97rem; }
.legal p { margin-bottom: 12px; }
.legal ul { list-style: disc; padding-left: 24px; margin-bottom: 12px; }
.legal li { margin-bottom: 6px; }
.form-fineprint a { color: var(--acc-2); }

/* --------------------------------------------------------------------------
   Background: aurora blobs + grid overlay
   -------------------------------------------------------------------------- */
.aurora { position: fixed; inset: 0; z-index: -2; overflow: hidden; }

.aurora-blob {
  position: absolute;
  width: 55vw; height: 55vw;
  min-width: 480px; min-height: 480px;
  border-radius: 50%;
  filter: blur(110px);
  opacity: 0.32;
  animation: drift 26s ease-in-out infinite alternate;
}
.aurora-1 { background: #5b46e0; top: -22vw; left: -12vw; }
.aurora-2 { background: #0e7da8; bottom: -25vw; right: -14vw; animation-delay: -8s; }
.aurora-3 { background: #8a2d68; top: 36%; left: 56%; width: 36vw; height: 36vw; opacity: 0.2; animation-delay: -16s; }

@keyframes drift {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(6vw, 4vw) scale(1.12); }
}

.grid-overlay {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 90% 60% at 50% 0%, black 35%, transparent 78%);
          mask-image: radial-gradient(ellipse 90% 60% at 50% 0%, black 35%, transparent 78%);
}

/* --------------------------------------------------------------------------
   Typography helpers
   -------------------------------------------------------------------------- */
.gradient-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--acc-2);
  margin-bottom: 18px;
}
.eyebrow::before { content: ''; width: 26px; height: 2px; background: var(--grad); border-radius: 2px; }

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.6vw, 2.7rem);
  font-weight: 700; line-height: 1.18; letter-spacing: -0.02em;
  max-width: 21ch; margin-bottom: 48px;
}

.lede { color: var(--muted); font-size: 1.08rem; max-width: 52ch; }

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--font-body); font-weight: 600; font-size: 0.95rem;
  padding: 13px 26px; border-radius: 999px; border: 1px solid transparent;
  cursor: pointer; transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease;
  white-space: nowrap;
}
.btn:active { transform: scale(0.97); }

.btn-primary {
  background: var(--grad); color: #0a0a14;
  box-shadow: 0 8px 28px rgba(124, 107, 255, 0.35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 36px rgba(124, 107, 255, 0.5); }

.btn-ghost {
  background: var(--surface); color: var(--text); border-color: var(--border-strong);
}
.btn-ghost:hover { background: var(--surface-2); border-color: rgba(255, 255, 255, 0.3); transform: translateY(-2px); }

.btn-lg { padding: 16px 32px; font-size: 1.02rem; }
.btn-sm { padding: 9px 20px; font-size: 0.88rem; }
.btn-block { width: 100%; }

/* --------------------------------------------------------------------------
   Nav
   -------------------------------------------------------------------------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--nav-h);
  transition: background 0.25s ease, border-color 0.25s ease, backdrop-filter 0.25s ease;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(7, 7, 13, 0.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--border);
}

.nav-inner { display: flex; align-items: center; justify-content: space-between; height: var(--nav-h); }
.nav-right { display: flex; align-items: center; gap: 18px; }

/* Theme toggle */
.theme-toggle {
  display: inline-grid; place-items: center;
  width: 40px; height: 40px; border-radius: 50%; flex: none;
  background: var(--surface); border: 1px solid var(--border);
  color: var(--text); cursor: pointer;
  transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}
.theme-toggle:hover { background: var(--surface-2); border-color: var(--border-strong); transform: translateY(-1px); }
.theme-toggle .icon-moon { display: none; }
[data-theme="light"] .theme-toggle .icon-sun { display: none; }
[data-theme="light"] .theme-toggle .icon-moon { display: block; }

.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand-mark { width: 40px; height: 40px; flex: none; }
.brand-mark svg {
  width: 100%; height: 100%; display: block;
  filter: drop-shadow(0 5px 14px rgba(124, 107, 255, 0.35));
}
.brand-name { font-family: var(--font-display); font-weight: 700; font-size: 1.08rem; letter-spacing: -0.01em; }

.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a:not(.btn) {
  position: relative;
  font-size: 0.93rem; font-weight: 500; color: var(--muted);
  transition: color 0.18s ease;
}
.nav-links a:not(.btn)::after {
  content: '';
  position: absolute; left: 0; right: 100%; bottom: -7px; height: 2px;
  background: var(--grad); border-radius: 2px;
  transition: right 0.22s ease;
}
.nav-links a:not(.btn):hover, .nav-links a.active:not(.btn) { color: var(--text); }
.nav-links a:not(.btn):hover::after, .nav-links a.active:not(.btn)::after { right: 0; }

.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: 0; cursor: pointer; padding: 8px;
}
.nav-toggle span { width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: transform 0.25s ease, opacity 0.25s ease; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero { padding: calc(var(--nav-h) + 72px) 0 64px; }

.hero-grid {
  display: grid; grid-template-columns: 1.05fr 0.95fr;
  gap: 56px; align-items: center;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5.2vw, 4rem);
  font-weight: 800; line-height: 1.08; letter-spacing: -0.03em;
  margin-bottom: 22px;
}

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 34px; }

.hero-guarantee {
  display: flex; align-items: center; gap: 9px;
  margin-top: 18px;
  color: var(--muted); font-size: 0.92rem;
}
.hero-guarantee svg { color: #6ef0b0; flex: none; }

.hero-stats { display: flex; gap: 44px; margin-top: 48px; flex-wrap: wrap; }
.stat { display: flex; align-items: baseline; }
.stat-num, .stat-suffix {
  font-family: var(--font-display); font-weight: 700; font-size: 1.9rem; letter-spacing: -0.02em;
}
.stat-suffix { color: var(--acc-2); }
.stat-label { margin-left: 10px; font-size: 0.85rem; color: var(--muted); max-width: 9ch; line-height: 1.3; }

/* Browser mockup */
.hero-visual { position: relative; perspective: 1200px; }

.browser {
  background: linear-gradient(160deg, #141422, #0d0d18);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  transform: rotateY(-8deg) rotateX(4deg);
  transition: transform 0.3s ease;
  will-change: transform;
}

.browser-bar {
  display: flex; align-items: center; gap: 7px;
  padding: 13px 16px;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid var(--border);
}
.dot { width: 11px; height: 11px; border-radius: 50%; }
.dot-r { background: #ff5f57; } .dot-y { background: #febc2e; } .dot-g { background: #28c840; }
.browser-url {
  margin-left: 14px; flex: 1; max-width: 240px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  border-radius: 8px; padding: 4px 12px;
  font-size: 0.72rem; color: var(--muted);
}

.browser-body { padding: 22px 24px 26px; }

.mock-nav { display: flex; align-items: center; justify-content: space-between; margin-bottom: 26px; }
.mock-logo { width: 64px; height: 12px; border-radius: 6px; background: var(--grad); }
.mock-links { display: flex; gap: 10px; }
.mock-links i { width: 34px; height: 8px; border-radius: 4px; background: rgba(255, 255, 255, 0.14); }

.mock-hero { display: flex; flex-direction: column; gap: 11px; margin-bottom: 26px; }
.mock-h1 { width: 75%; height: 18px; border-radius: 7px; background: rgba(255, 255, 255, 0.22); }
.mock-h1.short { width: 50%; }
.mock-p { width: 64%; height: 9px; border-radius: 5px; background: rgba(255, 255, 255, 0.1); }
.mock-btn {
  width: 110px; height: 30px; border-radius: 999px; margin-top: 8px;
  background: var(--grad);
  box-shadow: 0 6px 18px rgba(124, 107, 255, 0.45);
  animation: pulse-btn 2.6s ease-in-out infinite;
}
@keyframes pulse-btn {
  0%, 100% { box-shadow: 0 6px 18px rgba(124, 107, 255, 0.45); }
  50% { box-shadow: 0 6px 30px rgba(31, 212, 255, 0.6); }
}

.mock-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.mock-cards span {
  height: 62px; border-radius: 10px;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid var(--border);
}

/* Floating chips */
.float-chip {
  position: absolute;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px; border-radius: 999px;
  background: rgba(16, 16, 28, 0.85);
  border: 1px solid var(--border-strong);
  backdrop-filter: blur(8px);
  font-size: 0.82rem; font-weight: 600;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
  animation: floaty 5.5s ease-in-out infinite;
}
.float-chip svg { color: var(--acc-2); flex: none; }
.chip-1 { top: -18px; right: 4%; color: #6ef0b0; animation-delay: 0s; }
.chip-1 svg { color: #6ef0b0; }
.chip-2 { bottom: 18%; left: -26px; animation-delay: -1.8s; }
.chip-3 { bottom: -16px; right: 14%; animation-delay: -3.4s; }

@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-9px); }
}

/* --------------------------------------------------------------------------
   Ticker
   -------------------------------------------------------------------------- */
.ticker {
  overflow: hidden; padding: 18px 0; margin: 36px 0 8px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  -webkit-mask-image: linear-gradient(90deg, transparent, black 12%, black 88%, transparent);
          mask-image: linear-gradient(90deg, transparent, black 12%, black 88%, transparent);
}
.ticker-track {
  display: flex; gap: 34px; width: max-content;
  animation: ticker 26s linear infinite;
}
.ticker-track span {
  font-family: var(--font-display); font-weight: 600; font-size: 1.02rem;
  color: var(--muted); white-space: nowrap;
}
.ticker-track i { color: var(--acc-1); font-style: normal; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* --------------------------------------------------------------------------
   Sections & cards
   -------------------------------------------------------------------------- */
.section { padding: 96px 0; }

.card-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px;
}

.card {
  position: relative; overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 28px;
  transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease;
}
.card::before {
  content: '';
  position: absolute; top: 0; left: 24px; right: 24px; height: 2px;
  background: var(--grad); border-radius: 2px;
  opacity: 0; transform: scaleX(0.35);
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.card:hover {
  transform: translateY(-5px);
  border-color: rgba(124, 107, 255, 0.45);
  background: var(--surface-2);
}
.card:hover::before { opacity: 1; transform: scaleX(1); }
.card-icon {
  display: grid; place-items: center;
  width: 52px; height: 52px; border-radius: 14px;
  background: linear-gradient(140deg, rgba(124, 107, 255, 0.18), rgba(31, 212, 255, 0.12));
  border: 1px solid rgba(124, 107, 255, 0.35);
  color: var(--acc-2);
  margin-bottom: 20px;
}
.card h3 { font-family: var(--font-display); font-size: 1.12rem; font-weight: 600; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 0.94rem; }

/* --------------------------------------------------------------------------
   Work
   -------------------------------------------------------------------------- */
.work-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }

.work-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.22s ease, border-color 0.22s ease;
}
.work-card:hover { transform: translateY(-6px); border-color: var(--border-strong); }

.work-cover { position: relative; height: 200px; overflow: hidden; }
.work-cover::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(7, 7, 13, 0.55));
}
.cover-a { background: radial-gradient(circle at 25% 25%, #ff9a5c, transparent 55%), radial-gradient(circle at 80% 70%, #d23b68, transparent 55%), #2a1020; }
.cover-b { background: radial-gradient(circle at 70% 20%, #1fd4ff, transparent 50%), radial-gradient(circle at 20% 80%, #7c6bff, transparent 55%), #0c1530; }
.cover-c { background: radial-gradient(circle at 30% 70%, #2f8f6f, transparent 55%), radial-gradient(circle at 75% 25%, #b9d46a, transparent 45%), #0e2018; }

.cover-ui {
  position: absolute; inset: auto 24px 24px 24px; z-index: 1;
  display: flex; flex-direction: column; gap: 9px;
  transition: transform 0.3s ease;
}
.work-card:hover .cover-ui { transform: translateY(-6px); }
.cover-bar { height: 12px; border-radius: 6px; background: rgba(255, 255, 255, 0.85); }
.cover-bar.w-40 { width: 40%; opacity: 0.55; height: 9px; }
.cover-bar.w-45 { width: 45%; opacity: 0.55; height: 9px; }
.cover-bar.w-50 { width: 50%; }
.cover-bar.w-60 { width: 60%; }
.cover-bar.w-70 { width: 70%; }
.cover-pill { width: 86px; height: 26px; border-radius: 999px; background: rgba(10, 10, 20, 0.85); margin-top: 4px; }

.work-meta { padding: 24px 26px 28px; }
.work-tags { display: flex; gap: 8px; margin-bottom: 12px; }
.work-tags span {
  font-size: 0.7rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 4px 11px; border-radius: 999px;
  background: rgba(124, 107, 255, 0.14);
  border: 1px solid rgba(124, 107, 255, 0.3);
  color: #b9aeff;
}
.work-meta h3 { font-family: var(--font-display); font-size: 1.18rem; font-weight: 600; margin-bottom: 8px; }
.work-meta p { color: var(--muted); font-size: 0.93rem; }

.work-note { margin-top: 36px; color: var(--muted); font-size: 1rem; text-align: center; }

/* --------------------------------------------------------------------------
   Process
   -------------------------------------------------------------------------- */
.process-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px;
  counter-reset: step;
}
.process-step {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 26px;
}
.step-num {
  font-family: var(--font-display); font-weight: 800; font-size: 2.2rem;
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  display: block; margin-bottom: 14px; opacity: 0.9;
}
.process-step h3 { font-family: var(--font-display); font-size: 1.05rem; font-weight: 600; margin-bottom: 9px; }
.process-step p { color: var(--muted); font-size: 0.92rem; }

/* --------------------------------------------------------------------------
   Pricing
   -------------------------------------------------------------------------- */
.pricing-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px;
  align-items: stretch;
}

.price-card {
  position: relative;
  display: flex; flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 34px 30px;
  transition: transform 0.22s ease, border-color 0.22s ease;
}
.price-card:hover { transform: translateY(-5px); border-color: var(--border-strong); }

.price-card.featured {
  background: linear-gradient(170deg, rgba(124, 107, 255, 0.12), rgba(31, 212, 255, 0.05)), var(--surface);
  border-color: rgba(124, 107, 255, 0.55);
  box-shadow: 0 18px 48px rgba(124, 107, 255, 0.18);
}

.badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--grad); color: #0a0a14;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 5px 16px; border-radius: 999px;
  white-space: nowrap;
}

.price-card h3 { font-family: var(--font-display); font-size: 1.05rem; font-weight: 600; color: var(--muted); margin-bottom: 6px; }
.price {
  font-family: var(--font-display); font-weight: 800; font-size: 2.3rem; letter-spacing: -0.02em;
  margin-bottom: 10px;
}
.price-from { font-size: 0.95rem; font-weight: 500; color: var(--muted); margin-right: 4px; }
.price-desc { color: var(--muted); font-size: 0.92rem; margin-bottom: 22px; }

.price-card ul { flex: 1; margin-bottom: 26px; display: flex; flex-direction: column; gap: 11px; }
.price-card li {
  position: relative; padding-left: 26px;
  font-size: 0.92rem; color: #c9ccda;
}
.price-card li::before {
  content: '✓';
  position: absolute; left: 0; top: 0;
  color: var(--acc-2); font-weight: 700;
}

.guarantee {
  display: flex; align-items: center; gap: 22px;
  margin-top: 34px;
  background: linear-gradient(120deg, rgba(110, 240, 176, 0.08), rgba(31, 212, 255, 0.06));
  border: 1px solid rgba(110, 240, 176, 0.3);
  border-radius: var(--radius);
  padding: 26px 30px;
}
.guarantee-icon {
  display: grid; place-items: center; flex: none;
  width: 56px; height: 56px; border-radius: 16px;
  background: rgba(110, 240, 176, 0.12);
  border: 1px solid rgba(110, 240, 176, 0.35);
  color: #6ef0b0;
}
.guarantee h3 { font-family: var(--font-display); font-size: 1.15rem; font-weight: 600; margin-bottom: 6px; }
.guarantee p { color: var(--muted); font-size: 0.95rem; max-width: 72ch; }

@media (max-width: 680px) {
  .guarantee { flex-direction: column; align-items: flex-start; gap: 16px; }
}

/* --------------------------------------------------------------------------
   Testimonials
   -------------------------------------------------------------------------- */
.quote-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }

.quote-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 28px;
  display: flex; flex-direction: column; gap: 16px;
}
.stars { color: #ffc94d; letter-spacing: 3px; font-size: 0.95rem; }
.quote-card blockquote { color: #d4d6e2; font-size: 0.97rem; line-height: 1.65; flex: 1; }
.quote-card figcaption { display: flex; align-items: center; gap: 13px; }
.quote-avatar {
  display: grid; place-items: center;
  width: 42px; height: 42px; border-radius: 50%;
  font-family: var(--font-display); font-weight: 700; color: #0a0a14;
}
.qa-1 { background: linear-gradient(140deg, #ffb35c, #ff5ca8); }
.qa-2 { background: linear-gradient(140deg, #1fd4ff, #7c6bff); }
.qa-3 { background: linear-gradient(140deg, #6ef0b0, #1fd4ff); }
.quote-card figcaption strong { display: block; font-size: 0.93rem; }
.quote-card figcaption em { font-style: normal; font-size: 0.82rem; color: var(--muted); }

/* --------------------------------------------------------------------------
   FAQ
   -------------------------------------------------------------------------- */
.faq-list { display: flex; flex-direction: column; gap: 13px; }

.faq-list details {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: border-color 0.2s ease;
}
.faq-list details[open] { border-color: rgba(124, 107, 255, 0.45); }

.faq-list summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 19px 24px;
  font-weight: 600; font-size: 0.99rem; font-family: var(--font-display);
  cursor: pointer; list-style: none;
}
.faq-list summary::-webkit-details-marker { display: none; }

.faq-icon { position: relative; flex: none; width: 18px; height: 18px; }
.faq-icon::before, .faq-icon::after {
  content: ''; position: absolute; background: var(--acc-2); border-radius: 2px;
  transition: transform 0.25s ease;
}
.faq-icon::before { top: 8px; left: 0; width: 18px; height: 2px; }
.faq-icon::after { top: 0; left: 8px; width: 2px; height: 18px; }
details[open] .faq-icon::after { transform: rotate(90deg); }

.faq-list details p { padding: 0 24px 21px; color: var(--muted); font-size: 0.94rem; }

/* --------------------------------------------------------------------------
   Start / quote form
   -------------------------------------------------------------------------- */
.section-start {
  background: linear-gradient(180deg, transparent, rgba(124, 107, 255, 0.05) 30%, rgba(31, 212, 255, 0.04));
  border-top: 1px solid var(--border);
}

.start-grid {
  display: grid; grid-template-columns: 0.9fr 1.1fr;
  gap: 60px; align-items: start;
}
.start-copy { position: sticky; top: calc(var(--nav-h) + 32px); }

.start-points { display: flex; flex-direction: column; gap: 13px; margin-top: 30px; }
.start-points li { display: flex; align-items: center; gap: 11px; font-size: 0.97rem; color: #c9ccda; }
.start-points svg { color: #6ef0b0; flex: none; }

.form-card {
  position: relative;
  background: linear-gradient(170deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.025));
  border: 1px solid var(--border-strong);
  border-radius: 22px;
  padding: 38px 36px;
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(10px);
}

.form-section { margin-bottom: 24px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-row .form-section { margin-bottom: 24px; }

.form-label {
  display: block; font-weight: 600; font-size: 0.92rem; margin-bottom: 11px;
  font-family: var(--font-display);
}
.req { color: var(--acc-3); margin-left: 3px; }
.optional { font-weight: 400; color: var(--muted); font-size: 0.84rem; }

.chip-group { display: flex; flex-wrap: wrap; gap: 9px; }
.chip {
  font-family: var(--font-body); font-size: 0.88rem; font-weight: 500;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 9px 18px;
  cursor: pointer;
  transition: all 0.16s ease;
}
.chip:hover { border-color: var(--border-strong); color: var(--text); }
.chip.selected {
  background: linear-gradient(120deg, rgba(124, 107, 255, 0.28), rgba(31, 212, 255, 0.2));
  border-color: var(--acc-1);
  color: var(--text);
  box-shadow: 0 4px 16px rgba(124, 107, 255, 0.25);
}

.form-card input, .form-card textarea {
  width: 100%;
  font-family: var(--font-body); font-size: 0.96rem; color: var(--text);
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 13px 16px;
  transition: border-color 0.18s ease, background 0.18s ease;
  resize: vertical;
  -webkit-appearance: none; appearance: none;
}
.form-card input::placeholder, .form-card textarea::placeholder { color: #5d6072; }
.form-card input:focus, .form-card textarea:focus {
  outline: none;
  border-color: var(--acc-1);
  background: rgba(124, 107, 255, 0.07);
}
.form-card input.invalid, .form-card textarea.invalid, .chip-group.invalid .chip { border-color: rgba(255, 92, 130, 0.65); }
/* Keep browser autofill from forcing a white background on the dark fields */
.form-card input:-webkit-autofill {
  -webkit-text-fill-color: var(--text);
  transition: background-color 9999s ease;
}

.field-error {
  color: #ff7d9b; font-size: 0.82rem; margin-top: 7px; min-height: 0;
  display: none;
}
.field-error.show { display: block; }

.hp-field { position: absolute; left: -9999px; top: -9999px; height: 0; overflow: hidden; }

.form-fineprint { margin-top: 14px; text-align: center; color: var(--muted); font-size: 0.8rem; }

/* Submit button loading state */
.btn-spinner {
  display: none;
  width: 18px; height: 18px;
  border: 2.5px solid rgba(10, 10, 20, 0.3);
  border-top-color: #0a0a14;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.btn.loading .btn-spinner { display: inline-block; }
.btn.loading { pointer-events: none; opacity: 0.85; }

/* Success state */
.form-success { text-align: center; padding: 30px 10px; }
.form-success h3 { font-family: var(--font-display); font-size: 1.5rem; margin: 22px 0 10px; }
.form-success p { color: var(--muted); max-width: 38ch; margin: 0 auto 26px; }

.success-check svg { width: 84px; height: 84px; margin: 0 auto; }
.check-circle {
  stroke: var(--acc-2); stroke-width: 2.5;
  stroke-dasharray: 160; stroke-dashoffset: 160;
  animation: draw 0.7s ease forwards;
}
.check-mark {
  stroke: var(--acc-2); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: 40; stroke-dashoffset: 40;
  animation: draw 0.45s ease 0.55s forwards;
}
@keyframes draw { to { stroke-dashoffset: 0; } }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.footer { border-top: 1px solid var(--border); padding: 44px 0; margin-top: 40px; }
.footer-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
}
.footer-links { display: flex; gap: 26px; }
.footer-links a { font-size: 0.9rem; color: var(--muted); transition: color 0.18s ease; }
.footer-links a:hover { color: var(--text); }
.footer-note { color: #5d6072; font-size: 0.85rem; }

/* --------------------------------------------------------------------------
   Toast
   -------------------------------------------------------------------------- */
.toast {
  position: fixed; bottom: 28px; left: 50%;
  transform: translate(-50%, 80px);
  background: #1a1a2c;
  border: 1px solid rgba(255, 92, 130, 0.5);
  color: var(--text);
  padding: 14px 24px; border-radius: 14px;
  font-size: 0.92rem; font-weight: 500;
  box-shadow: var(--shadow-lg);
  opacity: 0; pointer-events: none;
  transition: transform 0.3s ease, opacity 0.3s ease;
  z-index: 200; max-width: min(480px, 90vw);
}
.toast.show { transform: translate(-50%, 0); opacity: 1; }

/* --------------------------------------------------------------------------
   Reveal animations
   -------------------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.d-1 { transition-delay: 0.1s; }
.d-2 { transition-delay: 0.2s; }
.d-3 { transition-delay: 0.3s; }
.d-4 { transition-delay: 0.4s; }

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 64px; }
  .hero-visual { max-width: 560px; margin: 0 auto; }
  .card-grid, .work-grid, .quote-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: 1fr; max-width: 480px; margin-inline: auto; }
  .price-card.featured { order: -1; }
  .start-grid { grid-template-columns: 1fr; gap: 48px; }
  .start-copy { position: static; }
}

@media (max-width: 680px) {
  .section { padding: 64px 0; }
  .container { width: min(1160px, 100% - 36px); }

  .nav-links {
    position: fixed; top: var(--nav-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 4px;
    background: rgba(7, 7, 13, 0.97);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    padding: 18px 24px 26px;
    transform: translateY(-12px); opacity: 0; pointer-events: none;
    transition: transform 0.25s ease, opacity 0.25s ease;
  }
  .nav-links.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  [data-theme="light"] .nav-links { background: rgba(246, 247, 251, 0.97); }
  .nav-links a:not(.btn) { padding: 12px 4px; font-size: 1.02rem; }
  .nav-links .btn { margin-top: 12px; }
  .nav-toggle { display: flex; }

  .hero { padding-top: calc(var(--nav-h) + 44px); }
  .hero-stats { gap: 28px; }
  .card-grid, .work-grid, .quote-grid, .process-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .form-card { padding: 28px 22px; }
  .float-chip { display: none; }
  .browser { transform: none; }
  .footer-inner { flex-direction: column; text-align: center; }
}

/* --------------------------------------------------------------------------
   Reduced motion
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .aurora-blob, .float-chip, .mock-btn, .ticker-track { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .browser { transform: none; transition: none; }
  * { transition-duration: 0.01ms !important; }
}
