/* ============================================================
   X4 Digital — Global Stylesheet
   System: Bold Creative + Friendly Tech (combined)
   Build: x4-248293
   ============================================================ */

/* ─── Google Fonts ─────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Syne:wght@700;800&family=Plus+Jakarta+Sans:wght@400;500;600;700&family=Space+Mono:wght@400;700&display=swap');

/* ─── Custom Properties ─────────────────────────────────────── */
:root {
  /* ── Backgrounds & Surfaces ── */
  --bg:               #080814;   /* cinematic near-black page background */
  --surface:          #0E0E1C;   /* primary card / section surface */
  --surface-raised:   #131326;   /* elevated surface, hover states */
  --surface-border:   #1A1A34;   /* card border region / high contrast surface */

  /* ── Accent ── */
  --accent:           #7B5CF0;   /* electric violet — CTAs, key moments */
  --accent-hover:     #9370FF;   /* lightened for hover states */
  --accent-glow:      rgba(123, 92, 240, 0.28);  /* shadow / ambient glow */
  --accent-subtle:    rgba(123, 92, 240, 0.10);  /* tinted highlight regions */
  --accent-border:    rgba(123, 92, 240, 0.30);  /* accent-tinted borders */

  /* ── Text ── */
  --text:             #E4E4EE;   /* primary body text */
  --text-muted:       #8888A4;   /* secondary / supporting text */
  --text-dim:         #55556A;   /* placeholder, captions, disabled */

  /* ── Borders ── */
  --border:           #1E1E3A;   /* standard surface borders */
  --border-subtle:    #141428;   /* barely-visible dividers */

  /* ── Overlay ── */
  --overlay-shadow:   rgba(8, 8, 20, 0.55);  /* image overlays, deep shadows */
  --overlay-card:     rgba(123, 92, 240, 0.08); /* card ambient tint */

  /* ── Typography ── */
  --font-display: 'Syne', system-ui, sans-serif;
  --font-body:    'Plus Jakarta Sans', system-ui, sans-serif;
  --font-mono:    'Space Mono', monospace;

  /* ── Type Scale ── */
  --text-xs:   0.75rem;    /* 12px — micro labels */
  --text-sm:   0.875rem;   /* 14px — secondary text */
  --text-base: 1rem;       /* 16px — body */
  --text-lg:   1.125rem;   /* 18px — lead / large body */
  --text-xl:   1.25rem;    /* 20px — small headings */
  --text-2xl:  1.5rem;     /* 24px */
  --text-3xl:  2rem;       /* 32px */
  --text-4xl:  2.625rem;   /* 42px */
  --text-5xl:  3.5rem;     /* 56px */
  --text-6xl:  4.5rem;     /* 72px */
  --text-7xl:  6rem;       /* 96px — hero scale */

  /* ── Spacing (4px base) ── */
  --space-1:  0.25rem;
  --space-2:  0.5rem;
  --space-3:  0.75rem;
  --space-4:  1rem;
  --space-5:  1.25rem;
  --space-6:  1.5rem;
  --space-8:  2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;
  --space-40: 10rem;

  /* ── Border Radius ── */
  --radius-xs:   2px;
  --radius-sm:   6px;
  --radius-md:   10px;
  --radius-lg:   16px;
  --radius-xl:   24px;
  --radius-pill: 999px;

  /* ── Transitions — two consistent timings ── */
  --t-hover:  0.18s cubic-bezier(0.25, 0, 0, 1);
  --t-reveal: 0.72s cubic-bezier(0.25, 0, 0, 1);
  --t-medium: 0.42s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ─── Reset & Base ───────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  opacity: 0;
  transition: opacity 0.45s ease;
}
img.loaded { opacity: 1; }

a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }

/* ─── Layout ─────────────────────────────────────────────────── */
.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 var(--space-6);
}
.container-narrow {
  max-width: 780px;
  margin: 0 auto;
  padding: 0 var(--space-6);
}
.container-wide {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 var(--space-6);
}

/* ─── Sections ───────────────────────────────────────────────── */
.section {
  padding: var(--space-32) 0;
}
.section-sm {
  padding: var(--space-20) 0;
}
.section-dark {
  background: var(--bg);
  padding: var(--space-32) 0;
}
.section-surface {
  background: var(--surface);
  padding: var(--space-32) 0;
}
.section-accent-tint {
  background: linear-gradient(180deg, var(--bg) 0%, rgba(123, 92, 240, 0.04) 50%, var(--bg) 100%);
  padding: var(--space-32) 0;
}

@media (max-width: 768px) {
  .section,
  .section-dark,
  .section-surface,
  .section-accent-tint { padding: var(--space-20) 0; }
  .section-sm { padding: var(--space-12) 0; }
}

/* ─── Section Headers ─────────────────────────────────────────── */
.section-header {
  margin-bottom: var(--space-16);
}
.section-header.centered {
  text-align: center;
}
.section-header.centered p {
  margin: var(--space-4) auto 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--space-5);
}
.eyebrow::before {
  content: '';
  display: inline-block;
  width: 18px;
  height: 2px;
  background: var(--accent);
  flex-shrink: 0;
}

.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(var(--text-3xl), 4vw, var(--text-5xl));
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--text);
}
.section-header h2 .accent-word { color: var(--accent); }

.section-header p {
  font-size: var(--text-lg);
  line-height: 1.65;
  color: var(--text-muted);
  max-width: 560px;
  margin-top: var(--space-4);
}

/* ─── Navigation ─────────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-8);
  padding: var(--space-4) var(--space-8);
  background: rgba(8, 8, 20, 0.72);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border-subtle);
  transition: border-color var(--t-hover), background var(--t-hover);
}
.nav.scrolled {
  background: rgba(8, 8, 20, 0.92);
  border-color: var(--border);
}

.nav-logo {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.03em;
  flex-shrink: 0;
}
.nav-logo span { color: var(--accent); }

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-8);
}
.nav-links a {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--text-muted);
  transition: color var(--t-hover);
}
.nav-links a:hover,
.nav-links a.active { color: var(--text); }

.nav-cta {
  flex-shrink: 0;
}

/* Mobile hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: var(--space-2);
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 1px;
  transition: transform var(--t-hover), opacity var(--t-hover);
}
.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); }

/* Mobile nav drawer */
.nav-mobile {
  display: none;
  position: fixed;
  inset: 0;
  top: 61px;
  background: rgba(8, 8, 20, 0.97);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  z-index: 190;
  padding: var(--space-8);
  flex-direction: column;
  gap: var(--space-6);
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--text);
  padding: var(--space-3) 0;
  border-bottom: 1px solid var(--border);
  transition: color var(--t-hover);
}
.nav-mobile a:hover { color: var(--accent); }
.nav-mobile .btn-primary { margin-top: var(--space-4); text-align: center; }

@media (max-width: 768px) {
  .nav { padding: var(--space-4) var(--space-5); }
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
}

/* ─── Buttons ─────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 0.875rem 2rem;
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: background var(--t-hover), transform var(--t-hover), box-shadow var(--t-hover), color var(--t-hover);
  min-height: 48px;
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  border-radius: var(--radius-md);
  box-shadow: 0 4px 20px var(--accent-glow);
}
.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px var(--accent-glow);
}
.btn-primary:active { transform: translateY(0); }

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  position: relative;
  overflow: hidden;
}
.btn-outline::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--surface-raised);
  transform: translateX(-100%);
  transition: transform var(--t-hover);
  z-index: 0;
}
.btn-outline:hover { border-color: var(--accent-border); }
.btn-outline:hover::before { transform: translateX(0); }
.btn-outline span, .btn-outline svg { position: relative; z-index: 1; }

.btn-ghost {
  background: transparent;
  color: var(--text-muted);
  border-radius: var(--radius-md);
  padding: 0.875rem 1.25rem;
}
.btn-ghost:hover { color: var(--text); background: var(--surface-raised); }

.btn-sm {
  padding: 0.625rem 1.25rem;
  font-size: var(--text-sm);
  min-height: 38px;
}
.btn-lg {
  padding: 1.125rem 2.5rem;
  font-size: var(--text-lg);
  min-height: 58px;
}

/* ─── Hero — Split Layout ────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 120px 0 80px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 65% 50%, rgba(123, 92, 240, 0.12) 0%, transparent 70%),
              linear-gradient(180deg, rgba(8, 8, 20, 0.2) 0%, rgba(8, 8, 20, 0.6) 100%);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
}

.hero-copy {
  max-width: 580px;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  background: var(--accent-subtle);
  border: 1px solid var(--accent-border);
  color: var(--accent);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: var(--space-8);
}
.hero-tag::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.7); }
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(52px, 7.5vw, 108px);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.04em;
  color: var(--text);
  margin-bottom: var(--space-8);
}
.hero-headline .accent-word { color: var(--accent); }
.hero-headline .strike {
  position: relative;
  color: var(--text-muted);
}
.hero-headline .strike::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 4px;
  background: var(--accent);
  transform: translateY(-50%) rotate(-2deg);
  border-radius: 2px;
}

.hero-sub {
  font-size: var(--text-lg);
  line-height: 1.65;
  color: var(--text-muted);
  max-width: 460px;
  margin-bottom: var(--space-10);
}

.hero-actions {
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
  margin-bottom: var(--space-10);
}

.hero-proof {
  display: flex;
  align-items: center;
  gap: var(--space-6);
  flex-wrap: wrap;
}
.hero-proof-item {
  font-size: var(--text-sm);
  color: var(--text-dim);
}
.hero-proof-item strong {
  color: var(--text);
  font-weight: 600;
}

/* Hero right — chat widget */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.chat-card {
  position: relative;
  width: 100%;
  max-width: 460px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 32px 96px rgba(8, 8, 20, 0.7), 0 0 0 1px var(--border),
              0 0 80px var(--accent-glow);
  transform: rotate(2deg) translateY(-8px);
  transition: transform var(--t-medium);
}
.chat-card:hover { transform: rotate(0.5deg) translateY(-4px); }

.chat-card-header {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-4) var(--space-5);
  background: var(--surface-raised);
  border-bottom: 1px solid var(--border);
}
.chat-card-header .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.chat-card-header .dot.green  { background: #30D158; }
.chat-card-header .dot.yellow { background: #FFD60A; }
.chat-card-header .dot.red    { background: #FF453A; }
.chat-card-title {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--text-dim);
  margin-left: var(--space-2);
  letter-spacing: 0.05em;
}

.chat-messages {
  padding: var(--space-5);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  min-height: 320px;
}

.chat-bubble {
  max-width: 78%;
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-lg);
  font-size: var(--text-sm);
  line-height: 1.55;
}
.chat-bubble.ai {
  background: var(--surface-raised);
  color: var(--text);
  border-radius: var(--radius-lg) var(--radius-lg) var(--radius-lg) var(--radius-xs);
  align-self: flex-start;
}
.chat-bubble.user {
  background: var(--accent);
  color: #fff;
  border-radius: var(--radius-lg) var(--radius-lg) var(--radius-xs) var(--radius-lg);
  align-self: flex-end;
}

.chat-progress-bar {
  margin: var(--space-2) 0;
  padding: var(--space-3) var(--space-4);
  background: var(--surface-raised);
  border-radius: var(--radius-md);
  align-self: flex-start;
  width: 85%;
}
.chat-progress-label {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--accent);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: var(--space-2);
}
.chat-progress-track {
  height: 4px;
  background: var(--surface-border);
  border-radius: 2px;
  overflow: hidden;
}
.chat-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--accent-hover));
  border-radius: 2px;
  animation: progress-fill 2.5s ease-in-out infinite alternate;
}
@keyframes progress-fill {
  from { width: 55%; }
  to   { width: 82%; }
}

.chat-card-footer {
  padding: var(--space-3) var(--space-5) var(--space-5);
}
.chat-input-mock {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  background: var(--surface-raised);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  padding: var(--space-3) var(--space-4);
}
.chat-input-mock span {
  flex: 1;
  font-size: var(--text-sm);
  color: var(--text-dim);
}
.chat-send-btn {
  width: 30px;
  height: 30px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.chat-send-btn svg { width: 14px; height: 14px; fill: #fff; }

/* Floating glow behind card */
.hero-visual::before {
  content: '';
  position: absolute;
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  filter: blur(40px);
}

@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: var(--space-16);
  }
  .hero-copy { max-width: 100%; }
  .hero-visual { display: none; }
}
@media (max-width: 640px) {
  .hero { padding: 100px 0 60px; }
  .hero-headline { font-size: clamp(42px, 12vw, 72px); }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
}

/* ─── Stats Bar ───────────────────────────────────────────────── */
.stats-bar {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: var(--space-10) 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-8);
  text-align: center;
}
.stat-item {}
.stat-number {
  font-family: var(--font-display);
  font-size: clamp(var(--text-4xl), 4vw, var(--text-6xl));
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: var(--space-2);
}
.stat-number .accent-word { color: var(--accent); }
.stat-label {
  font-size: var(--text-sm);
  color: var(--text-muted);
  font-weight: 500;
}

@media (max-width: 768px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: var(--space-8) var(--space-4); }
}

/* ─── How It Works — Process Steps ──────────────────────────── */
.process-section {
  padding: var(--space-32) 0;
  overflow: hidden;
}

.process-steps {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--space-24);
  margin-top: var(--space-16);
}

/* Connector line */
.process-steps::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(180deg, transparent, var(--accent-border) 15%, var(--accent-border) 85%, transparent);
  margin-left: calc(10vw * 0.5 + 20px);
}

.process-step {
  display: grid;
  grid-template-columns: auto 1fr 1fr;
  gap: var(--space-12);
  align-items: center;
}
.process-step:nth-child(even) .process-step-visual {
  order: -1;
}

.process-number {
  font-family: var(--font-display);
  font-size: clamp(80px, 10vw, 140px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.06em;
  color: transparent;
  -webkit-text-stroke: 1px var(--accent-border);
  width: clamp(80px, 10vw, 140px);
  text-align: center;
  flex-shrink: 0;
  transition: -webkit-text-stroke-color var(--t-medium);
}
.process-step.visible .process-number {
  -webkit-text-stroke-color: var(--accent);
}

.process-step-content {
  padding-left: var(--space-4);
}
.process-step-content h3 {
  font-family: var(--font-display);
  font-size: clamp(var(--text-2xl), 3vw, var(--text-4xl));
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: var(--space-4);
  line-height: 1.1;
}
.process-step-content p {
  font-size: var(--text-base);
  line-height: 1.7;
  color: var(--text-muted);
  max-width: 400px;
}
.process-step-content .btn { margin-top: var(--space-8); }

.process-step-visual {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
}
.process-step-visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.process-step-visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--overlay-shadow) 0%, transparent 60%);
}

@media (max-width: 1024px) {
  .process-step {
    grid-template-columns: auto 1fr;
  }
  .process-step-visual { display: none; }
  .process-steps::before { display: none; }
}
@media (max-width: 640px) {
  .process-step {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }
  .process-number { font-size: 64px; width: auto; }
}

/* ─── Features — Alternating Split Rows ─────────────────────── */
.features-section {
  padding: var(--space-32) 0;
}

.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
  margin-bottom: var(--space-32);
}
.feature-row:last-child { margin-bottom: 0; }
.feature-row.flip .feature-visual { order: -1; }

.feature-content {}
.feature-content h3 {
  font-family: var(--font-display);
  font-size: clamp(var(--text-2xl), 3.5vw, var(--text-4xl));
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--text);
  margin-bottom: var(--space-5);
}
.feature-content p {
  font-size: var(--text-lg);
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: var(--space-8);
}
.feature-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin-bottom: var(--space-8);
}
.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  font-size: var(--text-base);
  color: var(--text-muted);
}
.feature-list li::before {
  content: '';
  width: 18px;
  height: 18px;
  background: var(--accent-subtle);
  border: 1px solid var(--accent-border);
  border-radius: var(--radius-xs);
  flex-shrink: 0;
  margin-top: 3px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M3 8l3.5 3.5L13 4.5' stroke='%237B5CF0' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 12px;
}

.feature-visual {
  position: relative;
  aspect-ratio: 5 / 4;
  overflow: hidden;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
}
.feature-visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.feature-visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 40% at 50% 100%, var(--overlay-shadow) 0%, transparent 70%);
}

@media (max-width: 768px) {
  .feature-row {
    grid-template-columns: 1fr;
    gap: var(--space-8);
    margin-bottom: var(--space-16);
  }
  .feature-row.flip .feature-visual { order: 0; }
}

/* ─── Marquee Ticker ─────────────────────────────────────────── */
.marquee-section {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: var(--space-5) 0;
  overflow: hidden;
}

.marquee-track {
  display: flex;
  gap: 0;
  animation: marquee-scroll 32s linear infinite;
  width: max-content;
}
.marquee-track:hover { animation-play-state: paused; }

@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: var(--space-4);
  padding: 0 var(--space-10);
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  color: var(--text-muted);
  white-space: nowrap;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.marquee-item .separator {
  color: var(--accent);
  font-size: 18px;
  line-height: 1;
}

/* ─── Comparison Table ───────────────────────────────────────── */
.comparison-section {
  padding: var(--space-32) 0;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  font-size: var(--text-sm);
}

.comparison-table thead th {
  padding: var(--space-6) var(--space-6);
  text-align: left;
  background: var(--surface-raised);
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--text);
  border-bottom: 1px solid var(--border);
}
.comparison-table thead th:first-child {
  width: 40%;
  color: var(--text-muted);
  font-weight: 500;
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.comparison-table thead th.highlight {
  background: var(--accent-subtle);
  color: var(--accent);
  border-bottom-color: var(--accent-border);
}

.comparison-table tbody td {
  padding: var(--space-4) var(--space-6);
  border-bottom: 1px solid var(--border-subtle);
  color: var(--text-muted);
  vertical-align: middle;
}
.comparison-table tbody tr:last-child td { border-bottom: none; }
.comparison-table tbody td:first-child {
  color: var(--text);
  font-weight: 500;
}
.comparison-table tbody td.highlight {
  background: var(--accent-subtle);
}
.comparison-table tbody tr:hover td { background: rgba(255,255,255,0.02); }
.comparison-table tbody tr:hover td.highlight { background: rgba(123,92,240,0.12); }

.check-yes {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  background: var(--accent-subtle);
  border: 1px solid var(--accent-border);
  border-radius: var(--radius-xs);
  color: var(--accent);
}
.check-no {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  color: var(--text-dim);
}

@media (max-width: 640px) {
  .comparison-table { font-size: var(--text-xs); }
  .comparison-table thead th,
  .comparison-table tbody td { padding: var(--space-3) var(--space-3); }
}

/* ─── Pricing ─────────────────────────────────────────────────── */
.pricing-section {
  padding: var(--space-32) 0;
}

/* Billing toggle */
.billing-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
  margin-bottom: var(--space-12);
}
.billing-toggle label {
  font-size: var(--text-sm);
  color: var(--text-muted);
  font-weight: 500;
  cursor: pointer;
  transition: color var(--t-hover);
}
.billing-toggle label.active { color: var(--text); }

.toggle-switch {
  position: relative;
  width: 44px;
  height: 24px;
  cursor: pointer;
}
.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
  position: absolute;
}
.toggle-track {
  position: absolute;
  inset: 0;
  background: var(--surface-border);
  border-radius: var(--radius-pill);
  transition: background var(--t-hover);
}
.toggle-switch input:checked + .toggle-track {
  background: var(--accent);
}
.toggle-thumb {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  background: #fff;
  border-radius: 50%;
  transition: transform var(--t-hover);
}
.toggle-switch input:checked ~ .toggle-thumb { transform: translateX(20px); }

.save-badge {
  font-size: var(--text-xs);
  font-family: var(--font-mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-subtle);
  border: 1px solid var(--accent-border);
  padding: 2px 8px;
  border-radius: var(--radius-pill);
}

/* Pricing cards grid */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
  align-items: start;
  max-width: 1000px;
  margin: 0 auto;
}

.pricing-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: var(--space-8) var(--space-7);
  position: relative;
  transition: border-color var(--t-hover), transform var(--t-hover), box-shadow var(--t-hover);
}
.pricing-card:hover {
  border-color: var(--accent-border);
  transform: translateY(-4px);
  box-shadow: 0 16px 56px rgba(8, 8, 20, 0.5);
}

.pricing-card.popular {
  border-color: var(--accent);
  background: linear-gradient(160deg, var(--surface-raised) 0%, var(--surface) 100%);
  transform: scale(1.03);
  box-shadow: 0 0 0 1px var(--accent), 0 24px 64px var(--accent-glow);
}
.pricing-card.popular:hover {
  transform: scale(1.03) translateY(-4px);
}

.popular-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #fff;
  padding: 4px 16px;
  border-radius: var(--radius-pill);
  font-size: var(--text-xs);
  font-weight: 700;
  font-family: var(--font-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.pricing-card-name {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--text);
  margin-bottom: var(--space-2);
}
.pricing-card-desc {
  font-size: var(--text-sm);
  color: var(--text-muted);
  margin-bottom: var(--space-6);
  line-height: 1.5;
}

.pricing-card-price {
  margin-bottom: var(--space-6);
}
.price-amount {
  font-family: var(--font-display);
  font-size: clamp(var(--text-4xl), 4vw, 52px);
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.04em;
  line-height: 1;
}
.price-amount sup {
  font-size: 0.4em;
  vertical-align: super;
  letter-spacing: 0;
}
.price-period {
  font-size: var(--text-sm);
  color: var(--text-muted);
  margin-top: var(--space-1);
}

.pricing-features {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--space-8);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.pricing-features li {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--text-sm);
  color: var(--text-muted);
  padding-bottom: var(--space-3);
  border-bottom: 1px solid var(--border-subtle);
}
.pricing-features li:last-child { border-bottom: none; }
.pricing-features li.included { color: var(--text); }
.pricing-features li.included::before {
  content: '';
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  background: var(--accent-subtle) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M3 8l3 3L13 4' stroke='%237B5CF0' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center / 12px;
  border-radius: var(--radius-xs);
  border: 1px solid var(--accent-border);
}
.pricing-features li.not-included { color: var(--text-dim); }
.pricing-features li.not-included::before {
  content: '';
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  background: var(--surface-border) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M5 5l6 6M11 5l-6 6' stroke='%2355556A' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center / 10px;
  border-radius: var(--radius-xs);
  border: 1px solid var(--border);
}

.pricing-card .btn { width: 100%; }

@media (max-width: 1024px) {
  .pricing-grid { grid-template-columns: 1fr 1fr; }
  .pricing-card.popular { transform: scale(1); }
}
@media (max-width: 640px) {
  .pricing-grid { grid-template-columns: 1fr; max-width: 400px; }
}

/* Pricing hero call-out ($1) */
.pricing-hero {
  position: relative;
  min-height: 60vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: var(--space-32) 0;
}
.pricing-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
}
.pricing-hero-content h1 {
  font-family: var(--font-display);
  font-size: clamp(var(--text-4xl), 5vw, var(--text-6xl));
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.0;
  color: var(--text);
  margin-bottom: var(--space-6);
}
.pricing-hero-content h1 .accent-word { color: var(--accent); }
.pricing-hero-content p {
  font-size: var(--text-lg);
  color: var(--text-muted);
  margin-bottom: var(--space-8);
}
.pricing-hero-visual {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
}
.pricing-hero-visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
@media (max-width: 768px) {
  .pricing-hero-grid { grid-template-columns: 1fr; }
  .pricing-hero-visual { display: none; }
}

/* Agency callout */
.agency-callout {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-top: var(--space-24);
}
.agency-callout-content {
  padding: var(--space-12) var(--space-10);
}
.agency-callout-content h2 {
  font-family: var(--font-display);
  font-size: clamp(var(--text-3xl), 3.5vw, var(--text-5xl));
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: var(--text);
  margin-bottom: var(--space-5);
}
.agency-callout-content p {
  font-size: var(--text-base);
  color: var(--text-muted);
  margin-bottom: var(--space-6);
  line-height: 1.7;
}
.agency-callout-visual {
  position: relative;
  min-height: 320px;
}
.agency-callout-visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
@media (max-width: 768px) {
  .agency-callout { grid-template-columns: 1fr; }
  .agency-callout-visual { min-height: 220px; }
  .agency-callout-content { padding: var(--space-8) var(--space-6); }
}

/* ─── Proof / Social Signal ──────────────────────────────────── */
.proof-section {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: var(--space-24) 0;
  text-align: center;
}
.proof-statement {
  font-family: var(--font-display);
  font-size: clamp(var(--text-3xl), 5vw, 72px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.0;
  color: var(--text);
  max-width: 900px;
  margin: 0 auto var(--space-6);
}
.proof-statement .accent-word { color: var(--accent); }
.proof-subtext {
  font-size: var(--text-lg);
  color: var(--text-muted);
  max-width: 480px;
  margin: 0 auto;
}

/* ─── FAQ Accordion ──────────────────────────────────────────── */
.faq-section {
  padding: var(--space-32) 0;
}
.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-item:first-child { border-top: 1px solid var(--border); }

.faq-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  width: 100%;
  padding: var(--space-6) 0;
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--text);
  text-align: left;
  cursor: pointer;
  background: transparent;
  border: none;
  transition: color var(--t-hover);
}
.faq-trigger:hover { color: var(--accent); }
.faq-trigger svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--text-muted);
  transition: transform var(--t-medium), color var(--t-hover);
}
.faq-item.open .faq-trigger { color: var(--accent); }
.faq-item.open .faq-trigger svg {
  transform: rotate(45deg);
  color: var(--accent);
}

.faq-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--t-medium), opacity var(--t-medium);
  opacity: 0;
}
.faq-item.open .faq-body {
  max-height: 480px;
  opacity: 1;
}
.faq-body p {
  font-size: var(--text-base);
  line-height: 1.75;
  color: var(--text-muted);
  padding-bottom: var(--space-6);
  max-width: 640px;
}

/* ─── CTA Banner ─────────────────────────────────────────────── */
.cta-banner {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: var(--space-32) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 600px;
  height: 600px;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 65%);
  pointer-events: none;
  filter: blur(60px);
}
.cta-banner .container { position: relative; z-index: 1; }
.cta-banner h2 {
  font-family: var(--font-display);
  font-size: clamp(var(--text-4xl), 5vw, 80px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.0;
  color: var(--text);
  margin-bottom: var(--space-6);
}
.cta-banner h2 .accent-word { color: var(--accent); }
.cta-banner p {
  font-size: var(--text-lg);
  color: var(--text-muted);
  margin-bottom: var(--space-10);
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}
.cta-banner .btn-primary { margin: 0 auto; }

/* ─── Bento Grid — Audience Section ─────────────────────────── */
.bento-section {
  padding: var(--space-32) 0;
}
.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 240px;
  gap: var(--space-4);
}
.bento-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color var(--t-hover), transform var(--t-hover);
}
.bento-card:hover {
  border-color: var(--accent-border);
  transform: translateY(-3px);
}
.bento-card.span-7 { grid-column: span 7; }
.bento-card.span-5 { grid-column: span 5; }
.bento-card.span-4 { grid-column: span 4; }
.bento-card.span-8 { grid-column: span 8; }
.bento-card.span-6 { grid-column: span 6; }
.bento-card.tall   { grid-row: span 2; }

.bento-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.bento-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(8,8,20,0.85) 100%);
  pointer-events: none;
}
.bento-card-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--space-5) var(--space-5);
  z-index: 1;
}
.bento-card-label span {
  display: block;
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--space-1);
}
.bento-card-label h4 {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--text);
  line-height: 1.2;
}

/* Text-only bento card */
.bento-card.text-card {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: var(--space-6);
}
.bento-card.text-card::after { display: none; }
.bento-card.text-card h4 {
  font-family: var(--font-display);
  font-size: clamp(var(--text-2xl), 3vw, var(--text-4xl));
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text);
  line-height: 1.1;
  margin-bottom: var(--space-3);
}
.bento-card.text-card p {
  font-size: var(--text-sm);
  color: var(--text-muted);
  line-height: 1.6;
}
.bento-card.featured-card {
  background: linear-gradient(135deg, var(--accent), #5B3FD0);
}
.bento-card.featured-card::after { display: none; }
.bento-card.featured-card .bento-card-label span { color: rgba(255,255,255,0.65); }
.bento-card.featured-card .bento-card-label h4 { color: #fff; }

@media (max-width: 1024px) {
  .bento-grid { grid-template-columns: repeat(6, 1fr); grid-auto-rows: 200px; }
  .bento-card.span-7 { grid-column: span 6; }
  .bento-card.span-5 { grid-column: span 3; }
  .bento-card.span-4 { grid-column: span 3; }
  .bento-card.span-8 { grid-column: span 6; }
  .bento-card.span-6 { grid-column: span 3; }
}
@media (max-width: 640px) {
  .bento-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 180px; }
  .bento-card.span-7,
  .bento-card.span-5,
  .bento-card.span-4,
  .bento-card.span-8,
  .bento-card.span-6 { grid-column: span 2; }
  .bento-card.tall { grid-row: span 1; }
}

/* ─── Showcase Grid ─────────────────────────────────��─────────── */
.showcase-section {
  padding: var(--space-32) 0;
}

.showcase-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-5);
}
@media (min-width: 1024px) {
  .showcase-grid { grid-template-columns: repeat(3, 1fr); }
}

.showcase-card {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  cursor: pointer;
}
.showcase-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--t-medium);
}
.showcase-card:hover img { transform: scale(1.05); }

.showcase-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(8,8,20,0.92) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: var(--space-5);
  opacity: 0;
  transition: opacity var(--t-hover);
}
.showcase-card:hover .showcase-card-overlay { opacity: 1; }
.showcase-card-overlay .biz-type {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--space-1);
}
.showcase-card-overlay .biz-name {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--text);
}
.showcase-card-overlay .build-time {
  font-size: var(--text-xs);
  color: var(--text-muted);
  margin-top: var(--space-1);
}

.showcase-hero {
  position: relative;
  aspect-ratio: 16 / 7;
  overflow: hidden;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  margin-bottom: var(--space-8);
}
.showcase-hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.showcase-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(8,8,20,0.6) 0%, transparent 50%);
}

@media (max-width: 640px) {
  .showcase-grid { grid-template-columns: 1fr; }
  .showcase-hero { aspect-ratio: 16 / 9; }
}

/* ─── Contact Form ───────────────────────────────────────────── */
.contact-section {
  padding: var(--space-32) 0;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: var(--space-16);
  align-items: start;
}
.contact-info h1 {
  font-family: var(--font-display);
  font-size: clamp(var(--text-3xl), 4.5vw, var(--text-5xl));
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.05;
  color: var(--text);
  margin-bottom: var(--space-5);
}
.contact-info p {
  font-size: var(--text-lg);
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: var(--space-8);
}
.contact-info .response-time {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-subtle);
  border: 1px solid var(--accent-border);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-pill);
}
.contact-info .skip-link {
  margin-top: var(--space-10);
  padding-top: var(--space-8);
  border-top: 1px solid var(--border);
}
.contact-info .skip-link p {
  font-size: var(--text-base);
  margin-bottom: var(--space-4);
}

.contact-form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: var(--space-10);
}
.form-group {
  margin-bottom: var(--space-5);
}
.form-group label {
  display: block;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--text);
  margin-bottom: var(--space-2);
}
.form-control {
  width: 100%;
  background: var(--surface-raised);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--space-4) var(--space-4);
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--text);
  line-height: 1.5;
  transition: border-color var(--t-hover), box-shadow var(--t-hover);
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}
.form-control::placeholder { color: var(--text-dim); }
.form-control:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-subtle);
}
select.form-control {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M4 6l4 4 4-4' stroke='%238888A4' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right var(--space-4) center;
  background-size: 16px;
  cursor: pointer;
}
textarea.form-control {
  min-height: 140px;
  resize: vertical;
}
.form-submit { width: 100%; }

@media (max-width: 768px) {
  .contact-grid { grid-template-columns: 1fr; }
  .contact-form { padding: var(--space-7); }
}

/* ─── About ───────────────────────────────────────────────────── */
.about-hero {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 120px 0 80px;
}
.about-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
}
.about-hero-content h1 {
  font-family: var(--font-display);
  font-size: clamp(var(--text-4xl), 5.5vw, 90px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 0.95;
  color: var(--text);
  margin-bottom: var(--space-8);
}
.about-hero-content h1 .accent-word { color: var(--accent); }
.about-hero-content p {
  font-size: var(--text-lg);
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: var(--space-8);
}
.about-hero-visual {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
}
.about-hero-visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-section {
  position: relative;
  aspect-ratio: 16 / 6;
  overflow: hidden;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  margin-top: var(--space-16);
}
.team-section img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 768px) {
  .about-hero-grid { grid-template-columns: 1fr; }
  .about-hero-visual { aspect-ratio: 16 / 9; }
  .team-section { aspect-ratio: 4 / 3; }
}

/* ─── Inline accent rule ─────────────────────────────────────── */
.accent-rule {
  width: 36px;
  height: 3px;
  background: var(--accent);
  margin-bottom: var(--space-8);
  border-radius: 2px;
}

/* ─── Cards (generic) ────────────────────────────────────────── */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-7) var(--space-6);
  transition: border-color var(--t-hover), transform var(--t-hover), box-shadow var(--t-hover);
}
.card:hover {
  border-color: var(--accent-border);
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(8,8,20,0.4);
}
.card-icon {
  width: 44px;
  height: 44px;
  background: var(--accent-subtle);
  border: 1px solid var(--accent-border);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-5);
  color: var(--accent);
}
.card-icon svg { width: 20px; height: 20px; }
.card h3 {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--text);
  margin-bottom: var(--space-3);
}
.card p {
  font-size: var(--text-sm);
  line-height: 1.65;
  color: var(--text-muted);
}

/* ─── Scroll Reveal ──────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity var(--t-reveal), transform var(--t-reveal);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }
.reveal-delay-4 { transition-delay: 0.32s; }
.reveal-delay-5 { transition-delay: 0.40s; }

/* Text clip reveal for headings */
.text-reveal {
  overflow: hidden;
}
.text-reveal .line {
  display: block;
  transform: translateY(102%);
  transition: transform var(--t-reveal);
}
.text-reveal.visible .line { transform: translateY(0); }
.text-reveal.visible .line:nth-child(2) { transition-delay: 0.1s; }
.text-reveal.visible .line:nth-child(3) { transition-delay: 0.2s; }

/* ─── Footer ─────────────────────────────────────────────────── */
.footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: var(--space-20) 0 var(--space-8);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr repeat(3, 1fr);
  gap: var(--space-12);
  padding-bottom: var(--space-16);
  border-bottom: 1px solid var(--border);
  margin-bottom: var(--space-8);
}
.footer-brand {}
.footer-logo {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.03em;
  margin-bottom: var(--space-4);
}
.footer-logo span { color: var(--accent); }
.footer-tagline {
  font-size: var(--text-sm);
  color: var(--text-muted);
  line-height: 1.65;
  max-width: 280px;
  margin-bottom: var(--space-6);
}

.footer-col h4 {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: var(--space-5);
}
.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.footer-col ul a {
  font-size: var(--text-sm);
  color: var(--text-muted);
  transition: color var(--t-hover);
}
.footer-col ul a:hover { color: var(--text); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  flex-wrap: wrap;
}
.footer-copyright {
  font-size: var(--text-xs);
  color: var(--text-dim);
  font-family: var(--font-mono);
}
.footer-legal {
  display: flex;
  gap: var(--space-6);
}
.footer-legal a {
  font-size: var(--text-xs);
  color: var(--text-dim);
  transition: color var(--t-hover);
}
.footer-legal a:hover { color: var(--text-muted); }

@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: span 2; }
}
@media (max-width: 640px) {
  .footer-grid { grid-template-columns: 1fr; gap: var(--space-8); }
  .footer-brand { grid-column: span 1; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* ─── Utility: grid helpers ──────────────────────────────────── */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-12);
  align-items: center;
}
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-5);
}
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

/* ─── Utility: typography helpers ────────────────────────────── */
.text-accent  { color: var(--accent); }
.text-muted   { color: var(--text-muted); }
.text-dim     { color: var(--text-dim); }
.mono         { font-family: var(--font-mono); }
.display      { font-family: var(--font-display); }
.text-center  { text-align: center; }
.text-balance { text-wrap: balance; }

/* ─── Utility: spacing helpers ───────────────────────────────── */
.mt-0  { margin-top: 0; }
.mt-4  { margin-top: var(--space-4); }
.mt-6  { margin-top: var(--space-6); }
.mt-8  { margin-top: var(--space-8); }
.mt-12 { margin-top: var(--space-12); }
.mt-16 { margin-top: var(--space-16); }
.mb-4  { margin-bottom: var(--space-4); }
.mb-6  { margin-bottom: var(--space-6); }
.mb-8  { margin-bottom: var(--space-8); }
.mb-12 { margin-bottom: var(--space-12); }

/* ─── Visually hidden (a11y) ─────────────────────────────────── */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ─── Scroll-reveal JS hook ──────────────────────────────────── */
/* Pages inject this script once at end of body:
   const obs = new IntersectionObserver(
     es => es.forEach(e => {
       if (e.isIntersecting) {
         e.target.classList.add('visible');
         obs.unobserve(e.target);
       }
     }),
     { threshold: 0.10 }
   );
   document.querySelectorAll('.reveal, .text-reveal').forEach(el => obs.observe(el));

   // Nav scroll state
   window.addEventListener('scroll', () => {
     document.querySelector('.nav')?.classList.toggle('scrolled', scrollY > 40);
   }, { passive: true });

   // FAQ accordion
   document.querySelectorAll('.faq-trigger').forEach(btn => {
     btn.addEventListener('click', () => {
       const item = btn.closest('.faq-item');
       const open = item.classList.contains('open');
       document.querySelectorAll('.faq-item').forEach(i => i.classList.remove('open'));
       if (!open) item.classList.add('open');
     });
   });

   // Image fade-in
   document.querySelectorAll('img').forEach(img => {
     if (img.complete) img.classList.add('loaded');
     else img.addEventListener('load', () => img.classList.add('loaded'));
     img.addEventListener('error', () => img.style.display = 'none');
   });

   // Mobile nav toggle
   const toggle = document.querySelector('.nav-toggle');
   const drawer = document.querySelector('.nav-mobile');
   toggle?.addEventListener('click', () => {
     toggle.classList.toggle('open');
     drawer?.classList.toggle('open');
   });
*/

/* ─── Print ──────────────────────────────────────────────────── */
@media print {
  .nav, .marquee-section, .cta-banner { display: none; }
  body { background: #fff; color: #000; }
}


/* ── CSS safety-net (injected by proxy-orchestrator) ──
   Ensures image containers always have resolvable dimensions so imgs with
   height:100% don't collapse. Scoped to common container class patterns. */
[class*="image-col"],
[class*="image-wrap"],
[class*="img-wrap"],
[class*="img-container"],
[class*="image-container"],
[class*="photo-wrap"],
[class*="photo-container"],
.bento-card,
.listing-img-wrap,
.card-image,
.feature-image,
.hero-image,
.hero-media {
  min-height: 320px;
  aspect-ratio: 3 / 2;
  position: relative;
}
[class*="image-col"] > img,
[class*="image-wrap"] > img,
[class*="img-wrap"] > img,
[class*="img-container"] > img,
[class*="image-container"] > img,
[class*="photo-wrap"] > img,
[class*="photo-container"] > img,
.bento-card > img,
.bento-card-image > img,
.listing-img-wrap > img,
.card-image > img,
.feature-image > img,
.hero-image > img,
.hero-media > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
@media (min-width: 768px) {
  .hero-image-col,
  .hero-media,
  .hero-image {
    aspect-ratio: auto;
    min-height: 100vh;
  }
}
/* Fallback for any bare img with percentage height */
img[style*="height: 100%"],
img[style*="height:100%"] {
  min-height: 320px;
}
/* ── end safety-net ── */
