/* ═══════════════════════════════════════════════════════════
   SPECTREWORKS AI — STYLESHEET
   Brand: #0a0f1b (navy) | #cd7f32 (bronze) | #e89a4a (amber)
   Fonts: Rajdhani (headings/labels) | Inter (body/forms)
═══════════════════════════════════════════════════════════ */

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

[hidden] { display: none !important; }

:root {
  --bg:            #0a0f1b;
  --bg-alt:        #141b30;
  --bg-card:       #1e2746;
  --bg-card-hover: #222d52;
  --border:        rgba(205, 127, 50, 0.30);
  --border-dim:    #2f3b63;

  --bronze:     #cd7f32;
  --amber:      #e89a4a;
  --bronze-dim: rgba(205, 127, 50, 0.12);
  --amber-glow: rgba(232, 154, 74, 0.2);

  --text-primary:   #f4f5f8;
  --text-secondary: #9aa3bd;
  --text-muted:     #6b7393;
  --text-label:     #cd7f32;

  --font-head: 'Rajdhani', sans-serif;
  --font-body: 'Inter', sans-serif;

  --radius-sm:  4px;
  --radius-md:  8px;
  --radius-lg:  12px;
  --radius-xl:  16px;

  --shadow-card: 0 1px 3px rgba(0,0,0,0.4), 0 4px 16px rgba(0,0,0,0.3);
  --shadow-card-hover: 0 2px 8px rgba(0,0,0,0.5), 0 8px 32px rgba(0,0,0,0.4), 0 0 0 1px var(--border);

  --transition: 180ms ease;

  --nav-h: 64px;
  --section-pad: clamp(64px, 8vw, 120px);

  /* ── index2 aliases ── */
  --surface:      #1e2746;
  --surface-2:    #141b30;
  --border-soft:  #222c4d;
  --bronze-hover: #e89a4a;
  --bronze-tint:  rgba(205, 127, 50, 0.10);
  --fg:           #f4f5f8;
  --fg-body:      #e0e0e0;
  --fg-muted:     #9aa3bd;
  --fg-dim:       #6b7393;
  --fg-inv:       #0a0f1b;
  --ok:           #4ade80;
  --warn:         #fbbf24;
  --font-m:       'DM Mono', ui-monospace, monospace;
  --font-d:       'Rajdhani', sans-serif;
  --font-b:       'Inter', sans-serif;
  --ease:         cubic-bezier(0.2, 0.7, 0.2, 1);
  --ease-out:     cubic-bezier(0.16, 1, 0.3, 1);
  --glow:         0 0 0 1px rgba(205, 127, 50, 0.45), 0 0 20px rgba(205, 127, 50, 0.15);
  --focus:        0 0 0 3px rgba(205, 127, 50, 0.35);
}

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

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

img, svg { display: block; }

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition);
}

ul { list-style: none; }

/* ─── UTILITIES ─── */
.container {
  width: min(1120px, 100% - 2 * clamp(16px, 4vw, 48px));
  margin-inline: auto;
}

.label {
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--bronze);
}

.text-accent { color: var(--bronze); }

.section { padding-block: var(--section-pad); }
.section--alt { background: var(--bg-alt); }

.section__header {
  max-width: 680px;
  margin-inline: auto;
  text-align: center;
  margin-bottom: clamp(40px, 6vw, 72px);
}

.section__header .label { margin-bottom: 12px; }

.section__header h2 {
  font-family: var(--font-head);
  font-size: clamp(30px, 4vw, 46px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.section__sub {
  color: var(--text-secondary);
  font-size: 16px;
  line-height: 1.7;
  max-width: 580px;
  margin-inline: auto;
}

/* ─── BUTTONS ─── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: var(--radius-md);
  border: 1.5px solid transparent;
  padding: 10px 22px;
  min-height: 44px;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), border-color var(--transition), box-shadow var(--transition), transform var(--transition);
  white-space: nowrap;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.btn--full { width: 100%; }
.btn svg { width: 16px; height: 16px; flex-shrink: 0; }

.btn__spinner {
  display: none;
  width: 14px;
  height: 14px;
  border: 2px solid rgba(10, 15, 27, 0.3);
  border-top-color: var(--bg);
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}
.btn--loading .btn__text { opacity: 0.6; }
.btn--loading .btn__spinner { display: block; }

@keyframes spin { to { transform: rotate(360deg); } }

/* ─── NAV ─── */
nav.topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 15, 27, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-soft);
  transition: background 200ms var(--ease), border-color 200ms var(--ease);
}

nav.topbar.scrolled {
  background: rgba(10, 15, 27, 0.97);
  border-bottom-color: var(--border-dim);
}

.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 32px;
}

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

.brand-mark { width: 28px; height: 28px; object-fit: contain; }

.brand-word {
  font-family: var(--font-d);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--fg);
}

.brand-word strong { color: var(--bronze); }

.nav-links { display: flex; gap: 28px; align-items: center; }

.nav-links a {
  font-family: var(--font-d);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--fg-muted);
  transition: color 120ms var(--ease);
  white-space: nowrap;
}

.nav-links a:hover,
.nav-links a.active { color: var(--bronze); }

.nav-cta { display: flex; gap: 10px; align-items: center; flex-shrink: 0; }

/* ── Nav auth ── */
.nav-auth { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.nav-auth-signin,
.nav-auth-signout {
  background: none;
  border: 1px solid var(--border-dim);
  border-radius: var(--radius-sm);
  padding: 6px 14px;
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-muted);
  cursor: pointer;
  transition: color var(--transition), border-color var(--transition);
}
.nav-auth-signin:hover, .nav-auth-signout:hover { color: var(--text-primary); border-color: var(--bronze); }
.nav-auth-user { font-family: var(--font-head); font-size: 11px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--text-muted); }
@media (max-width: 900px) { .nav-auth { display: none; } }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--fg-muted);
  padding: 4px;
  align-items: center;
  justify-content: center;
}

.nav-toggle svg { width: 22px; height: 22px; }

/* ── Nav dropdown ── */
.nav-dropdown { position: relative; }

.nav-dropdown-trigger {
  display: flex;
  align-items: center;
  gap: 4px;
  font-family: var(--font-d);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--fg-muted);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  transition: color 120ms var(--ease);
  white-space: nowrap;
}

.nav-dropdown-trigger:hover,
.nav-dropdown-trigger[aria-expanded="true"] { color: var(--bronze); }

.nav-dropdown-trigger svg {
  width: 13px;
  height: 13px;
  stroke-width: 2.5;
  transition: transform 150ms var(--ease);
}

.nav-dropdown-trigger[aria-expanded="true"] svg { transform: rotate(180deg); }

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  background: var(--bg-card);
  border: 1px solid var(--border-dim);
  border-radius: var(--radius-md);
  padding: 6px;
  min-width: 160px;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.45);
  opacity: 0;
  visibility: hidden;
  transition: opacity 150ms var(--ease), visibility 150ms, transform 150ms var(--ease);
  z-index: 200;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown-menu.open {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.nav-dropdown-menu a {
  display: block;
  font-family: var(--font-d);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--fg-muted);
  padding: 9px 14px;
  border-radius: var(--radius-sm);
  transition: color 120ms var(--ease), background 120ms var(--ease);
  white-space: nowrap;
}

.nav-dropdown-menu a:hover { color: var(--bronze); background: var(--bronze-tint); }

/* Mobile drawer */
.nav-drawer {
  display: none;
  position: fixed;
  inset: 64px 0 0 0;
  background: var(--bg);
  border-top: 1px solid var(--border-dim);
  z-index: 99;
  padding: 32px clamp(24px, 5vw, 64px);
  flex-direction: column;
  gap: 0;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

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

.nav-drawer a {
  font-family: var(--font-d);
  font-weight: 600;
  font-size: 20px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--fg-muted);
  padding: 16px 0;
  border-bottom: 1px solid var(--border-soft);
  transition: color 120ms var(--ease);
}

.nav-drawer a:hover { color: var(--bronze); }
.nav-drawer .btn-primary { width: 100%; margin-top: 20px; justify-content: center; border-bottom: none; padding: 15px 28px; background: var(--bronze); color: var(--fg-inv); }

.drawer-auth {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--border-dim);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.drawer-auth-user {
  font-family: var(--font-d);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--fg-muted);
}

.drawer-auth-signin,
.drawer-auth-signout {
  background: none;
  border: 1px solid var(--border-dim);
  border-radius: var(--radius-sm);
  padding: 8px 18px;
  min-height: 44px;
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-muted);
  cursor: pointer;
  transition: color var(--transition), border-color var(--transition);
}

.drawer-auth-signin:hover,
.drawer-auth-signout:hover { color: var(--text-primary); border-color: var(--bronze); }

/* Compact drawer in landscape / short viewports */
@media (max-height: 500px) and (max-width: 900px) {
  .nav-drawer { padding-top: 16px; padding-bottom: 24px; }
  .nav-drawer a { font-size: 15px; padding: 10px 0; }
  .nav-drawer .btn-primary { margin-top: 12px; padding: 11px 20px; }
  .drawer-auth { margin-top: 16px; padding-top: 16px; }
}

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

@media (max-width: 480px) {
  .nav-cta { display: none; }
}

/* ─── HERO ─── */
/* ─── HERO ─── */
.hero {
  padding: 100px 0 88px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(47, 59, 99, 0.55) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
  mask-image: radial-gradient(ellipse 80% 65% at 50% 0%, black 10%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 65% at 50% 0%, black 10%, transparent 75%);
}

.hero::after {
  content: '';
  position: absolute;
  top: -15%;
  right: -8%;
  width: 60vw;
  height: 60vw;
  background: radial-gradient(circle, rgba(205, 127, 50, 0.10) 0%, transparent 65%);
  pointer-events: none;
}

/* ── Eyebrow ── */
.eyebrow {
  font-family: var(--font-d);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--bronze);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}

.eyebrow .rule {
  width: 20px;
  height: 1px;
  background: var(--bronze);
  flex-shrink: 0;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 64px;
  align-items: center;
}

@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
}

.hero h1 {
  font-family: var(--font-d);
  font-weight: 700;
  font-size: clamp(40px, 5.5vw, 72px);
  letter-spacing: -0.015em;
  line-height: 1.05;
  color: var(--fg);
  margin-bottom: 24px;
  max-width: 17ch;
  text-wrap: balance;
}

.hero h1 em { font-style: normal; color: var(--bronze); }

.hero-sub {
  font-size: 18px;
  color: var(--fg-body);
  line-height: 1.6;
  max-width: 50ch;
  margin-bottom: 32px;
  text-wrap: pretty;
}

.hero-cta { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin-bottom: 28px; }
.hero-cta .btn { font-size: 14px; }

.hero-signals {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  font-family: var(--font-m);
  font-size: 11.5px;
  color: var(--fg-dim);
}

.hero-signals span { display: inline-flex; align-items: center; gap: 6px; }
.sig-dot { color: var(--bronze); }

/* ─── TERMINAL (log-style) ─── */
.terminal {
  background: var(--surface);
  border: 1px solid var(--border-dim);
  border-radius: 10px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.55), 0 1px 0 rgba(255, 255, 255, 0.03) inset;
  overflow: hidden;
  position: relative;
}

.terminal::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(205, 127, 50, 0.04) 0%, transparent 50%);
  pointer-events: none;
  border-radius: 10px;
}

.t-bar {
  padding: 10px 14px;
  background: var(--surface-2);
  border-bottom: 1px solid var(--border-dim);
  display: flex;
  align-items: center;
  gap: 10px;
}

.t-dots { display: flex; gap: 5px; }
.t-dots span { width: 8px; height: 8px; border-radius: 50%; background: var(--border-dim); }
.t-title { font-family: var(--font-m); font-size: 11px; color: var(--fg-dim); }

.t-body {
  padding: 18px 20px;
  font-family: var(--font-m);
  font-size: 12.5px;
  line-height: 1.8;
  color: var(--fg-body);
}

.t-ts   { color: var(--fg-dim); }
.t-key  { color: var(--bronze); }
.t-ok   { color: var(--ok); }
.t-warn { color: var(--warn); }
.t-str  { color: #b5c6ff; }
.t-gap  { margin-top: 6px; }
.t-line { opacity: 0; transition: opacity 150ms ease; }
.t-line.show { opacity: 1; }

/* ─── TRUST BAR ─── */
.trust-bar {
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
  background: var(--surface-2);
}

.trust-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 20px 0;
  overflow-x: auto;
  scrollbar-width: none;
}

.trust-inner::-webkit-scrollbar { display: none; }

.trust-lbl {
  font-family: var(--font-d);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-dim);
  white-space: nowrap;
  flex-shrink: 0;
}

.trust-div { width: 1px; height: 20px; background: var(--border-dim); flex-shrink: 0; }

.trust-logos {
  display: flex;
  align-items: center;
  gap: 36px;
  flex: 1;
  justify-content: space-between;
}

.trust-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  opacity: 0.42;
  transition: opacity 200ms var(--ease);
  flex-shrink: 0;
}

.trust-chip:hover { opacity: 0.72; }
.trust-chip svg { width: 18px; height: 18px; stroke-width: 1.75; color: var(--fg-muted); }
.trust-chip span {
  font-family: var(--font-d);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--fg-muted);
  white-space: nowrap;
}

/* ─── BUTTONS (index2 variants) ─── */
.btn-primary { background: var(--bronze); color: var(--fg-inv); border-color: var(--bronze); border-radius: 3px; }
.btn-primary:hover { background: var(--bronze-hover); border-color: var(--bronze-hover); box-shadow: var(--glow); }
.btn-secondary { border: 1px solid var(--border-dim); color: var(--fg); background: transparent; border-radius: 3px; }
.btn-secondary:hover { border-color: rgba(205, 127, 50, 0.5); color: var(--bronze); }
.btn-lg { padding: 15px 28px; font-size: 14px; }


/* ─── SOLUTIONS ─── */
.solutions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

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

.sol-card {
  background: var(--surface);
  border: 1px solid var(--border-dim);
  border-radius: 6px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: border-color 200ms var(--ease), box-shadow 200ms var(--ease);
  position: relative;
  overflow: hidden;
}

.sol-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(205,127,50,0.4), transparent);
  opacity: 0;
  transition: opacity 200ms var(--ease);
}

.sol-card:hover { border-color: rgba(205,127,50,0.35); box-shadow: 0 6px 18px rgba(0,0,0,0.45); }
.sol-card:hover::before { opacity: 1; }

.sol-icon {
  width: 48px; height: 48px;
  border-radius: 3px;
  background: var(--bronze-tint);
  border: 1px solid rgba(205,127,50,0.22);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

.sol-icon svg { width: 24px; height: 24px; color: var(--bronze); stroke-width: 1.75; }

.sol-card h3 {
  font-family: var(--font-d);
  font-weight: 600;
  font-size: 22px;
  color: var(--fg);
  line-height: 1.2;
}

.sol-card p {
  font-size: 15px;
  color: var(--fg-muted);
  line-height: 1.6;
  flex: 1;
}

.sol-outcome {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: var(--surface-2);
  border: 1px solid var(--border-soft);
  border-radius: 3px;
  padding: 12px 14px;
}

.sol-outcome svg { width: 14px; height: 14px; color: var(--ok); stroke-width: 2; flex-shrink: 0; margin-top: 2px; }
.sol-outcome span { font-family: var(--font-m); font-size: 11.5px; color: var(--fg-muted); line-height: 1.55; }

/* ─── WORK / PORTFOLIO ─── */
.work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

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

.demo-card {
  background: var(--surface);
  border: 1px solid var(--border-dim);
  border-radius: 6px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 200ms var(--ease), box-shadow 200ms var(--ease);
  position: relative;
}

.demo-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(205,127,50,0.4), transparent);
  opacity: 0;
  transition: opacity 200ms var(--ease);
  pointer-events: none;
  z-index: 1;
}

.demo-card:hover { border-color: rgba(205,127,50,0.35); box-shadow: 0 6px 18px rgba(0,0,0,0.45); }
.demo-card:hover::before { opacity: 1; }

.yt-facade {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  cursor: pointer;
  background-color: var(--surface-2);
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.yt-cover {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(10,15,27,0.55) 0%, rgba(20,27,48,0.35) 100%);
  transition: background 200ms var(--ease);
}

.yt-facade[data-active]:hover .yt-cover { background: linear-gradient(135deg, rgba(10,15,27,0.3) 0%, rgba(20,27,48,0.15) 100%); }

.yt-play-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--bronze);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 200ms var(--ease), background 200ms var(--ease), box-shadow 200ms var(--ease);
  flex-shrink: 0;
  opacity: 0.45;
}

.yt-facade[data-active] .yt-play-btn { opacity: 1; }
.yt-facade[data-active]:hover .yt-play-btn {
  transform: scale(1.1);
  background: var(--amber);
  box-shadow: 0 0 0 10px rgba(205,127,50,0.18);
}

.yt-play-btn svg {
  width: 18px;
  height: 18px;
  color: var(--fg-inv);
  margin-left: 3px;
}

.yt-placeholder-lbl {
  position: absolute;
  bottom: 10px;
  left: 0;
  right: 0;
  text-align: center;
  font-family: var(--font-m);
  font-size: 10px;
  color: var(--fg-dim);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  pointer-events: none;
}

.yt-facade[data-active] .yt-placeholder-lbl { display: none; }

.yt-iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: none;
  display: block;
}

.demo-meta {
  padding: 20px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.demo-title {
  font-family: var(--font-d);
  font-weight: 600;
  font-size: 20px;
  color: var(--fg);
  line-height: 1.2;
}

.demo-problem {
  font-size: 14px;
  color: var(--fg-muted);
  line-height: 1.6;
}

/* ─── HOW WE WORK ─── */
.how-section {
  background: var(--surface-2);
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
}

.steps-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--border-dim);
  border-radius: 6px;
  background: var(--surface);
  overflow: hidden;
}

@media (max-width: 760px) { .steps-row { grid-template-columns: 1fr; } }

.step-card {
  padding: 32px 28px;
  border-right: 1px solid var(--border-soft);
}

.step-card:last-child { border-right: none; }

@media (max-width: 760px) {
  .step-card { border-right: none; border-bottom: 1px solid var(--border-soft); }
  .step-card:last-child { border-bottom: none; }
}

.step-num {
  font-family: var(--font-m);
  font-size: 10px;
  letter-spacing: 0.04em;
  color: var(--bronze);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.step-num::after { content: ''; flex: 1; height: 1px; background: var(--border-soft); }

.step-card h3 {
  font-family: var(--font-d);
  font-weight: 600;
  font-size: 20px;
  color: var(--fg);
  margin-bottom: 10px;
}

.step-card p { font-size: 14.5px; color: var(--fg-muted); line-height: 1.6; }

.step-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 16px;
  font-family: var(--font-m);
  font-size: 10.5px;
  color: var(--ok);
  background: rgba(74, 222, 128, 0.07);
  border: 1px solid rgba(74, 222, 128, 0.2);
  border-radius: 999px;
  padding: 3px 10px;
}

.step-badge svg { width: 10px; height: 10px; stroke-width: 2.5; }

/* ─── PRICING ─── */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  align-items: start;
}

@media (max-width: 860px) {
  .pricing-grid { grid-template-columns: 1fr; max-width: 480px; margin-inline: auto; }
}

.tier {
  background: var(--surface);
  border: 1px solid var(--border-dim);
  border-radius: 6px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
}

.tier.featured { border-color: var(--bronze); box-shadow: var(--glow); }

.feat-badge {
  position: absolute;
  top: -1px; left: 50%;
  transform: translateX(-50%);
  background: var(--bronze);
  color: var(--fg-inv);
  font-family: var(--font-d);
  font-weight: 600;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 0 0 3px 3px;
  white-space: nowrap;
}

.tier-name {
  font-family: var(--font-d);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--fg-muted);
}

.tier.featured .tier-name { color: var(--bronze); }

.tier-price {
  font-family: var(--font-d);
  font-weight: 700;
  font-size: 46px;
  color: var(--fg);
  letter-spacing: -0.02em;
  line-height: 1;
}

.tier-price .per {
  font-size: 14px;
  font-weight: 500;
  color: var(--fg-muted);
  letter-spacing: normal;
  margin-left: 4px;
}

.tier-desc {
  font-size: 14px;
  color: var(--fg-muted);
  line-height: 1.55;
  padding-top: 12px;
  border-top: 1px solid var(--border-soft);
}

.tier-feats {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.tier-feats li {
  font-size: 14px;
  color: var(--fg-body);
  display: flex;
  gap: 10px;
  align-items: flex-start;
  line-height: 1.4;
}

.tier-feats li svg { width: 15px; height: 15px; color: var(--bronze); stroke-width: 2; flex-shrink: 0; margin-top: 2px; }
.tier .btn { margin-top: auto; }

/* ─── CTA SECTION ─── */
.cta-section {
  background: var(--surface-2);
  border-top: 1px solid var(--border-dim);
  border-bottom: 1px solid var(--border-dim);
}

.cta-inner {
  display: grid;
  grid-template-columns: 1fr 460px;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}

.cta-copy .label { margin-bottom: 12px; }

.cta-copy h2 {
  font-family: var(--font-head);
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin-bottom: 16px;
}

.cta-copy p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
}

.cta-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 10px;
  line-height: 1.5;
}

.cta-meta svg { width: 13px; height: 13px; color: var(--bronze); flex-shrink: 0; }

/* ─── FORM ─── */
.form-wrap {
  background: var(--bg-card);
  border: 1px solid var(--border-dim);
  border-radius: var(--radius-xl);
  padding: clamp(24px, 3vw, 36px);
}

.audit-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form__field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form__label {
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-secondary);
}

.form__input {
  background: var(--bg-alt);
  border: 1px solid var(--border-dim);
  border-radius: var(--radius-md);
  padding: 11px 14px;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--text-primary);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  width: 100%;
  resize: none;
}

.form__input::placeholder { color: var(--text-muted); }

.form__input:focus {
  border-color: var(--bronze);
  box-shadow: 0 0 0 3px rgba(205, 127, 50, 0.12);
}

.form__input.is-error {
  border-color: #e05252;
  box-shadow: 0 0 0 3px rgba(224, 82, 82, 0.12);
}

.form__textarea { min-height: 88px; line-height: 1.55; }

.form__note {
  font-size: 12px;
  color: var(--text-muted);
  text-align: center;
  line-height: 1.5;
}

.form__error {
  font-size: 12px;
  color: #f87171;
  text-align: center;
  line-height: 1.5;
}

.form__error a { color: inherit; text-decoration: underline; }

.audit-form__success {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.form-success__header {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  background: rgba(205, 127, 50, 0.07);
  border: 1px solid rgba(205, 127, 50, 0.2);
  border-radius: var(--radius-md);
}

.form-success__header svg {
  width: 26px;
  height: 26px;
  color: var(--bronze);
  flex-shrink: 0;
  margin-top: 1px;
}

.form-success__header h3 {
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 3px;
}

.form-success__header p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ─── FOOTER ─── */
footer {
  border-top: 1px solid var(--border-dim);
  padding: 56px 0 32px;
  background: var(--bg);
}

.foot-top {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  align-items: start;
  margin-bottom: 48px;
}

.foot-tagline {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 300px;
  margin-top: 14px;
}

.foot-social {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.social-link {
  width: 34px;
  height: 34px;
  border: 1px solid var(--border-dim);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: border-color var(--transition), color var(--transition);
  flex-shrink: 0;
}

.social-link:hover {
  border-color: var(--bronze);
  color: var(--bronze);
}

.social-link svg {
  width: 15px;
  height: 15px;
}

.foot-links {
  display: flex;
  gap: 48px;
}

.foot-col-h {
  margin-bottom: 14px;
}

.foot-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
  list-style: none;
}

.foot-col a {
  font-size: 13px;
  color: var(--text-muted);
  transition: color var(--transition);
}

.foot-col a:hover { color: var(--text-primary); }

.foot-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 24px;
  border-top: 1px solid var(--border-dim);
}

.foot-bottom p {
  font-size: 12px;
  color: var(--text-muted);
}

.foot-legal {
  display: flex;
  gap: 20px;
}

.foot-legal a {
  font-size: 12px;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.15s;
}

.foot-legal a:hover {
  color: var(--text-primary);
}

.foot-status {
  display: flex;
  align-items: center;
  gap: 8px;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #4ade80;
  animation: pulse 2.5s ease-in-out infinite;
  flex-shrink: 0;
}

@keyframes pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.4); }
  50% { opacity: 0.7; box-shadow: 0 0 0 5px rgba(74, 222, 128, 0); }
}

/* ─── SCROLL REVEAL ─── */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 500ms ease, transform 500ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ─── MOBILE ─── */
@media (max-width: 900px) {
  .cta-inner {
    grid-template-columns: 1fr;
  }

  .foot-top {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .foot-links {
    gap: 32px;
  }
}

@media (max-width: 720px) {
  .foot-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  .btn-lg { padding: 11px 20px; font-size: 13px; }

  .hero { padding: 72px 0 56px; }
  .hero-sub { font-size: 16px; }
  .hero-signals { font-size: 13px; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn-primary,
  .hero-cta .btn-secondary { width: 100%; }

  .trust-logos { gap: 12px 24px; }

  .foot-links { flex-direction: column; gap: 28px; }
}

/* ─── FOUNDER / ABOUT ─── */
.founder-section {
  border-top: 1px solid var(--border-dim);
}

.founder-inner {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}

@media (max-width: 860px) {
  .founder-inner { grid-template-columns: 1fr; gap: 40px; }
}

.founder-card {
  background: var(--surface);
  border: 1px solid var(--border-dim);
  border-radius: 6px;
  padding: 28px;
  position: relative;
  overflow: hidden;
}

.founder-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(205, 127, 50, 0.5), transparent);
}

.founder-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--bronze-tint);
  border: 1px solid rgba(205, 127, 50, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.founder-avatar svg { width: 28px; height: 28px; color: var(--bronze); stroke-width: 1.5; }

.founder-name {
  font-family: var(--font-d);
  font-weight: 700;
  font-size: 20px;
  color: var(--fg);
  margin-bottom: 3px;
}

.founder-role {
  font-family: var(--font-m);
  font-size: 10.5px;
  color: var(--bronze);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.founder-stats {
  display: flex;
  flex-direction: column;
  gap: 11px;
  padding-top: 16px;
  border-top: 1px solid var(--border-soft);
}

.founder-stat {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: var(--fg-muted);
  line-height: 1.45;
}

.founder-stat svg { width: 13px; height: 13px; color: var(--bronze); stroke-width: 2; flex-shrink: 0; margin-top: 2px; }

.founder-bio h2 {
  font-family: var(--font-d);
  font-weight: 700;
  font-size: clamp(26px, 3vw, 38px);
  color: var(--fg);
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin-bottom: 20px;
}

.founder-bio p {
  font-size: 15.5px;
  color: var(--fg-muted);
  line-height: 1.75;
  margin-bottom: 16px;
}

.founder-bio p:last-of-type { margin-bottom: 0; }

.founder-link { margin-top: 24px; }

/* ─── SOCIAL PROOF ─── */
.proof-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

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

.proof-card {
  background: var(--surface);
  border: 1px solid var(--border-dim);
  border-radius: 6px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  overflow: hidden;
}

.proof-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(205, 127, 50, 0.35), transparent);
}

.proof-metric {
  font-family: var(--font-d);
  font-weight: 700;
  font-size: 44px;
  color: var(--bronze);
  letter-spacing: -0.02em;
  line-height: 1;
}

.proof-metric-label {
  font-family: var(--font-d);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--fg-muted);
  margin-top: 5px;
}

.proof-quote {
  font-size: 14.5px;
  color: var(--fg-muted);
  line-height: 1.65;
  flex: 1;
  font-style: italic;
}

.proof-source {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-m);
  font-size: 11px;
  color: var(--fg-dim);
  letter-spacing: 0.03em;
  padding-top: 14px;
  border-top: 1px solid var(--border-soft);
}

.proof-source-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ok);
  flex-shrink: 0;
}

/* ─── FORM: DIRECT BOOKING & TRUST ─── */
.form-direct {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--bronze-tint);
  border: 1px solid rgba(205, 127, 50, 0.2);
  border-radius: var(--radius-md);
  padding: 10px 14px;
  margin-bottom: 20px;
  font-size: 13px;
  color: var(--text-secondary);
}

.form-direct svg { width: 14px; height: 14px; color: var(--bronze); flex-shrink: 0; }

.form-direct-link {
  color: var(--bronze);
  font-weight: 600;
  text-decoration: none;
  transition: color var(--transition);
}

.form-direct-link:hover { color: var(--amber); text-decoration: underline; }

.form-trust {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
}

.form-trust .cta-meta { margin-top: 0; }
.form-trust .form__note { text-align: left; }
