/* ============================================================
   Applydex — Enterprise Design System
   ============================================================ */

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

:root {
  /* Brand */
  --brand: #4f46e5;
  --brand-600: #4338ca;
  --brand-700: #3730a3;
  --brand-glow: rgba(79,70,229,0.32);
  --accent: #7c3aed;
  --accent-light: #a78bfa;

  /* Ink */
  --ink: #0a0b14;
  --ink-1: #111827;
  --ink-2: #1f2937;
  --ink-3: #374151;
  --muted: #6b7280;
  --muted-2: #9ca3af;

  /* Surface */
  --white: #ffffff;
  --surface-1: #fafbff;
  --surface-2: #f4f5fb;
  --surface-3: #edeef8;
  --line: #e5e7eb;
  --line-2: #eef0f6;

  /* Semantic */
  --success: #16a34a;
  --success-bg: #dcfce7;
  --warn: #d97706;
  --warn-bg: #fef3c7;
  --danger: #dc2626;
  --danger-bg: #fee2e2;

  /* Radii */
  --r-sm: 8px;
  --r: 12px;
  --r-lg: 16px;
  --r-xl: 24px;
  --r-pill: 999px;

  /* Shadows */
  --s-sm: 0 1px 2px rgba(16,24,40,0.05);
  --s: 0 4px 16px rgba(16,24,40,0.06), 0 1px 3px rgba(16,24,40,0.04);
  --s-md: 0 12px 32px rgba(16,24,40,0.08), 0 2px 6px rgba(16,24,40,0.05);
  --s-lg: 0 24px 64px rgba(16,24,40,0.12), 0 4px 12px rgba(16,24,40,0.06);
  --s-xl: 0 40px 96px rgba(16,24,40,0.18), 0 8px 24px rgba(16,24,40,0.08);
  --s-glow: 0 20px 60px rgba(79,70,229,0.25), 0 4px 16px rgba(79,70,229,0.12);
}

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-feature-settings: 'cv02', 'cv03', 'cv04', 'cv11';
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  letter-spacing: -0.005em;
  overflow-x: hidden;
}

a { color: var(--brand); text-decoration: none; transition: color .15s; }
a:hover { color: var(--brand-700); }

img { max-width: 100%; display: block; }

/* ============================================================
   Announcement Bar
   ============================================================ */
.announcement {
  background: linear-gradient(90deg, #1f2937, #111827);
  color: #e5e7eb;
  padding: 10px 24px;
  text-align: center;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: -0.005em;
  position: relative; z-index: 101;
}
.announcement .pill {
  display: inline-block;
  background: linear-gradient(135deg, var(--brand), var(--accent));
  color: #fff;
  padding: 2px 9px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  margin-right: 8px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.announcement a { color: #fff; font-weight: 600; margin-left: 6px; }
.announcement a::after { content: " →"; }

/* ============================================================
   Navigation
   ============================================================ */
nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.85);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(16,24,40,0.06);
}
.nav-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  height: 68px; padding: 0 24px;
}
.nav-logo {
  display: flex; align-items: center; gap: 10px;
  font-weight: 800; font-size: 19px; color: var(--ink);
  letter-spacing: -0.02em;
}
.nav-logo:hover { color: var(--ink); }
.nav-logo .logo-icon {
  width: 34px; height: 34px; border-radius: 9px;
  background: linear-gradient(135deg, var(--brand), var(--accent));
  display: grid; place-items: center;
  color: #fff; font-weight: 800; font-size: 17px;
  box-shadow: 0 4px 12px rgba(79,70,229,0.35), inset 0 1px 0 rgba(255,255,255,0.2);
}
.nav-center { display: flex; align-items: center; gap: 4px; }
.nav-center a {
  padding: 8px 14px; border-radius: var(--r-sm);
  font-size: 14px; font-weight: 500; color: var(--ink-2);
  transition: background .15s, color .15s;
}
.nav-center a:hover { background: var(--surface-2); color: var(--ink); text-decoration: none; }
.nav-right { display: flex; align-items: center; gap: 10px; }
.nav-link {
  padding: 8px 14px;
  font-size: 14px; font-weight: 500; color: var(--ink-2);
}
.nav-link:hover { color: var(--ink); text-decoration: none; }
.nav-cta {
  background: var(--ink);
  color: #fff !important;
  padding: 9px 18px;
  border-radius: var(--r-sm);
  font-size: 14px; font-weight: 600;
  transition: transform .1s, box-shadow .15s;
  display: inline-flex; align-items: center; gap: 6px;
  box-shadow: var(--s-sm);
}
.nav-cta:hover { transform: translateY(-1px); box-shadow: var(--s); text-decoration: none; color: #fff; }
.nav-cta::after { content: "→"; transition: transform .15s; }
.nav-cta:hover::after { transform: translateX(2px); }

@media(max-width: 900px) {
  .nav-center { display: none; }
  .nav-link { display: none; }
}

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 22px;
  border-radius: var(--r-sm);
  font-size: 15px; font-weight: 600;
  letter-spacing: -0.005em;
  transition: transform .1s, box-shadow .15s, background .15s;
  cursor: pointer;
  border: none;
}
.btn-primary {
  background: var(--ink);
  color: #fff;
  box-shadow: var(--s-sm);
}
.btn-primary:hover {
  background: var(--ink-1);
  color: #fff; text-decoration: none;
  transform: translateY(-1px);
  box-shadow: var(--s);
}
.btn-gradient {
  background: linear-gradient(135deg, var(--brand), var(--accent));
  color: #fff;
  box-shadow: 0 8px 24px rgba(79,70,229,0.35);
}
.btn-gradient:hover {
  color: #fff; text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(79,70,229,0.45);
}
.btn-ghost {
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line);
}
.btn-ghost:hover {
  color: var(--ink); text-decoration: none;
  border-color: var(--ink-3);
  transform: translateY(-1px);
  box-shadow: var(--s-sm);
}
.btn-lg { padding: 15px 26px; font-size: 16px; }

/* ============================================================
   Layout
   ============================================================ */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 920px; margin: 0 auto; padding: 0 24px; }

.section { padding: 120px 0; position: relative; }
.section-sm { padding: 72px 0; }
@media(max-width: 768px) { .section { padding: 80px 0; } }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--brand);
  background: rgba(79,70,229,0.08);
  padding: 6px 12px; border-radius: var(--r-pill);
  margin-bottom: 20px;
}
.eyebrow .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 3px rgba(79,70,229,0.2);
}

h1, h2, h3, h4 { letter-spacing: -0.025em; line-height: 1.1; color: var(--ink); }
.h-display { font-size: clamp(44px, 6vw, 76px); font-weight: 800; letter-spacing: -0.035em; line-height: 1.02; }
.h-hero { font-size: clamp(36px, 4.5vw, 56px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.05; }
.h-section { font-size: clamp(32px, 3.5vw, 44px); font-weight: 800; letter-spacing: -0.025em; line-height: 1.1; margin-bottom: 16px; }
.h-card { font-size: 20px; font-weight: 700; letter-spacing: -0.015em; }

.section-intro { text-align: center; max-width: 720px; margin: 0 auto 64px; }
.section-intro p { font-size: 18px; color: var(--muted); line-height: 1.6; margin-top: 14px; }

.gradient-text {
  background: linear-gradient(90deg, var(--brand), var(--accent));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  padding: 80px 0 100px;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(1000px 600px at 50% -100px, rgba(124,58,237,0.12), transparent 60%),
    radial-gradient(800px 500px at 80% 200px, rgba(79,70,229,0.10), transparent 60%),
    linear-gradient(180deg, #fafbff 0%, #ffffff 70%);
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(16,24,40,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16,24,40,0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 800px 400px at 50% 0%, #000 20%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 800px 400px at 50% 0%, #000 20%, transparent 80%);
  pointer-events: none;
}
.hero-inner { position: relative; text-align: center; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff;
  border: 1px solid var(--line);
  padding: 6px 14px 6px 6px;
  border-radius: var(--r-pill);
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-2);
  box-shadow: var(--s-sm);
  margin-bottom: 28px;
}
.hero-badge .tag {
  background: linear-gradient(135deg, var(--brand), var(--accent));
  color: #fff;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.hero-badge .arrow { color: var(--muted-2); margin-left: 4px; }

.hero h1 { margin-bottom: 24px; max-width: 860px; margin-left: auto; margin-right: auto; }
.hero-lede {
  font-size: clamp(17px, 1.4vw, 20px); color: var(--ink-3);
  max-width: 620px; margin: 0 auto 36px;
  line-height: 1.55;
}
.hero-ctas { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin-bottom: 36px; }
.hero-trust {
  display: flex; justify-content: center; align-items: center; gap: 24px;
  font-size: 13px; color: var(--muted);
  flex-wrap: wrap;
}
.hero-trust .item { display: flex; align-items: center; gap: 6px; }
.hero-trust .check { color: var(--success); font-weight: 800; }

/* Hero product mockup */
.hero-mockup {
  margin-top: 64px;
  max-width: 1100px; margin-left: auto; margin-right: auto;
  position: relative;
}
.hero-mockup::before {
  content: ""; position: absolute;
  inset: -40px -40px auto -40px;
  height: 300px;
  background: radial-gradient(ellipse 600px 200px at 50% 50%, rgba(79,70,229,0.35), transparent 70%);
  filter: blur(40px);
  z-index: -1;
  pointer-events: none;
}
.browser {
  background: #fff;
  border-radius: var(--r-lg);
  box-shadow: var(--s-xl);
  border: 1px solid var(--line);
  overflow: hidden;
}
.browser-bar {
  background: #f4f5fb;
  padding: 12px 16px;
  display: flex; align-items: center; gap: 8px;
  border-bottom: 1px solid var(--line-2);
}
.browser-dots { display: flex; gap: 6px; }
.browser-dots span { width: 11px; height: 11px; border-radius: 50%; }
.browser-dots .d1 { background: #ff5f57; }
.browser-dots .d2 { background: #febc2e; }
.browser-dots .d3 { background: #28c840; }
.browser-url {
  flex: 1; background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  padding: 5px 14px;
  font-size: 12px;
  color: var(--muted);
  margin-left: 10px;
  display: flex; align-items: center; gap: 6px;
}
.browser-url .lock { color: var(--success); }
.browser-body { display: flex; min-height: 540px; background: #f6f7fa; }
.browser-sidebar {
  width: 220px; background: #fff;
  border-right: 1px solid var(--line-2);
  padding: 16px 12px;
}
.browser-sidebar .brand { display: flex; align-items: center; gap: 8px; padding: 4px 8px 16px; border-bottom: 1px solid var(--line-2); margin-bottom: 10px; }
.browser-sidebar .brand .li { width: 24px; height: 24px; border-radius: 4px; background: #0a66c2; color: #fff; display: grid; place-items: center; font-size: 13px; font-weight: 800; }
.browser-sidebar .brand .txt { font-size: 13px; font-weight: 700; }
.browser-sidebar .item { padding: 8px 10px; font-size: 12px; color: var(--muted); display: flex; align-items: center; gap: 8px; border-radius: 6px; }
.browser-sidebar .item.active { background: #eef2ff; color: var(--brand); font-weight: 600; }
.browser-sidebar .item .icn { width: 14px; height: 14px; background: currentColor; opacity: 0.6; border-radius: 3px; }

.browser-main { flex: 1; padding: 24px; overflow: hidden; }
.job-card {
  background: #fff;
  border-radius: var(--r);
  border: 1px solid var(--line-2);
  padding: 20px;
  box-shadow: var(--s-sm);
}
.job-card .head { display: flex; gap: 14px; margin-bottom: 12px; }
.job-card .co-logo { width: 52px; height: 52px; border-radius: 10px; background: linear-gradient(135deg, #0a66c2, #004182); color: #fff; display: grid; place-items: center; font-size: 24px; font-weight: 800; }
.job-card .j-title { font-size: 18px; font-weight: 800; color: var(--ink); }
.job-card .j-sub { font-size: 13px; color: var(--muted); margin-top: 3px; }
.job-card .j-meta { display: flex; gap: 6px; margin-top: 8px; }
.job-card .chip { background: var(--surface-2); padding: 3px 10px; border-radius: 999px; font-size: 11px; font-weight: 600; color: var(--ink-2); }

/* Applydex overlay badge on top of job card */
.applydex-badge {
  margin-top: 16px;
  background: linear-gradient(135deg, #fff, #fafbff);
  border: 2px solid var(--brand);
  border-radius: var(--r);
  padding: 16px;
  box-shadow: var(--s-glow);
  position: relative;
}
.applydex-badge::before {
  content: "APPLYDEX";
  position: absolute; top: -9px; left: 16px;
  background: linear-gradient(135deg, var(--brand), var(--accent));
  color: #fff;
  font-size: 9px; font-weight: 800;
  letter-spacing: 0.15em;
  padding: 3px 8px;
  border-radius: 4px;
}
.ax-scores { display: flex; gap: 10px; margin-bottom: 12px; }
.ax-score-box {
  flex: 1; padding: 12px;
  border-radius: var(--r-sm);
  border: 1px solid var(--line);
  background: #fff;
}
.ax-score-box.ghost { background: linear-gradient(180deg, #fff, #fef2f2); border-color: #fca5a5; }
.ax-score-box.match { background: linear-gradient(180deg, #fff, #f0fdf4); border-color: #86efac; }
.ax-score-label { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); margin-bottom: 4px; }
.ax-score-num { font-size: 28px; font-weight: 800; letter-spacing: -0.03em; }
.ax-score-num.red { color: var(--danger); }
.ax-score-num.green { color: var(--success); }
.ax-score-tag { font-size: 11px; font-weight: 700; margin-top: 2px; }
.ax-score-tag.red { color: var(--danger); }
.ax-score-tag.green { color: var(--success); }

.ax-bars { margin-top: 10px; }
.ax-row { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; font-size: 11px; }
.ax-row .k { width: 70px; color: var(--muted); font-weight: 500; }
.ax-row .bar { flex: 1; height: 6px; background: var(--line-2); border-radius: 3px; overflow: hidden; }
.ax-row .bar > div { height: 100%; border-radius: 3px; }
.ax-row .v { width: 24px; text-align: right; font-weight: 700; color: var(--ink-2); font-size: 11px; }

.ax-alert { margin-top: 10px; padding: 10px; background: var(--danger-bg); border-radius: 8px; display: flex; gap: 8px; font-size: 12px; color: #7f1d1d; font-weight: 500; }

.ax-actions { display: flex; gap: 6px; margin-top: 12px; }
.ax-btn { flex: 1; padding: 8px; border-radius: 7px; font-size: 11px; font-weight: 700; text-align: center; color: #fff; }
.ax-btn.a1 { background: var(--brand); }
.ax-btn.a2 { background: #0891b2; }
.ax-btn.a3 { background: var(--accent); }

/* Floating accent chips around the browser */
.float-chip {
  position: absolute;
  background: #fff; border: 1px solid var(--line);
  padding: 10px 14px; border-radius: var(--r);
  box-shadow: var(--s-md);
  font-size: 13px; font-weight: 600;
  display: flex; align-items: center; gap: 10px;
  z-index: 2;
}
.float-chip .icn {
  width: 28px; height: 28px; border-radius: 7px;
  display: grid; place-items: center;
  color: #fff; font-weight: 800; font-size: 14px;
}
.float-chip .small { font-size: 11px; color: var(--muted); font-weight: 500; }
.float-chip.tl { top: 20px; left: -40px; }
.float-chip.br { bottom: 40px; right: -40px; }
@media(max-width: 900px) { .float-chip { display: none; } }

/* ============================================================
   Logo cloud
   ============================================================ */
.logos {
  padding: 48px 0;
  border-bottom: 1px solid var(--line-2);
}
.logos-label { text-align: center; font-size: 12px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: 0.14em; margin-bottom: 28px; }
.logos-grid {
  display: flex; justify-content: center; align-items: center;
  gap: 48px; flex-wrap: wrap;
}
.logos-grid .logo-item {
  font-weight: 700; font-size: 20px;
  color: var(--muted-2);
  letter-spacing: -0.01em;
  display: flex; align-items: center; gap: 8px;
  opacity: 0.85;
  transition: opacity .15s, color .15s;
}
.logos-grid .logo-item:hover { opacity: 1; color: var(--ink-2); }
.logos-grid .logo-item .dot { width: 18px; height: 18px; border-radius: 4px; background: currentColor; opacity: 0.7; }

/* ============================================================
   Problem / stats section
   ============================================================ */
.problem-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px;
  max-width: 1100px; margin: 0 auto;
}
@media(max-width:768px){ .problem-grid { grid-template-columns: 1fr; } }
.stat-card {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 36px 32px;
  box-shadow: var(--s-sm);
}
.stat-card .num {
  font-size: 56px; font-weight: 800; letter-spacing: -0.04em;
  line-height: 1; margin-bottom: 12px;
  background: linear-gradient(135deg, var(--brand), var(--accent));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stat-card .lbl { font-size: 15px; font-weight: 700; color: var(--ink); margin-bottom: 6px; }
.stat-card .desc { font-size: 14px; color: var(--muted); line-height: 1.55; }

/* ============================================================
   Feature split sections
   ============================================================ */
.feature-split {
  display: grid; grid-template-columns: 1fr 1.1fr; gap: 72px;
  align-items: center;
}
@media(max-width: 900px){ .feature-split { grid-template-columns: 1fr; gap: 48px; } }
.feature-split.reverse { grid-template-columns: 1.1fr 1fr; }
.feature-split.reverse .feature-text { order: 2; }
@media(max-width: 900px){ .feature-split.reverse { grid-template-columns: 1fr; } .feature-split.reverse .feature-text { order: 1; } }

.feature-text .eyebrow { margin-bottom: 18px; }
.feature-text h2 { font-size: clamp(30px, 3vw, 40px); font-weight: 800; letter-spacing: -0.025em; line-height: 1.1; margin-bottom: 20px; }
.feature-text p { font-size: 17px; color: var(--ink-3); line-height: 1.6; margin-bottom: 20px; }
.feature-list { list-style: none; margin-top: 24px; }
.feature-list li {
  display: flex; gap: 12px;
  padding: 10px 0;
  font-size: 15px; color: var(--ink-2);
  border-bottom: 1px solid var(--line-2);
}
.feature-list li:last-child { border-bottom: none; }
.feature-list li .ck {
  width: 22px; height: 22px; border-radius: 6px;
  background: var(--success-bg); color: var(--success);
  display: grid; place-items: center; font-weight: 800; font-size: 12px;
  flex-shrink: 0;
}
.feature-list li strong { color: var(--ink); margin-right: 4px; }

/* Feature visual panels (reusable) */
.panel {
  background: #fff;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  padding: 0;
  box-shadow: var(--s-lg);
  overflow: hidden;
  position: relative;
}
.panel-head {
  padding: 16px 20px;
  border-bottom: 1px solid var(--line-2);
  background: var(--surface-1);
  display: flex; align-items: center; justify-content: space-between;
  font-size: 13px;
}
.panel-head .title { font-weight: 700; color: var(--ink); display: flex; align-items: center; gap: 8px; }
.panel-head .status { font-size: 11px; color: var(--success); font-weight: 700; background: var(--success-bg); padding: 3px 9px; border-radius: 999px; display: inline-flex; align-items: center; gap: 5px; }
.panel-head .status .dt { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.panel-body { padding: 24px; }

/* Ghost score panel specific */
.ghost-panel .score-hero {
  display: flex; align-items: center; gap: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line-2);
}
.ghost-panel .big-score {
  width: 100px; height: 100px;
  background: linear-gradient(135deg, #fee2e2, #fecaca);
  border-radius: var(--r);
  display: grid; place-items: center;
  color: #991b1b;
  font-size: 46px; font-weight: 800;
  letter-spacing: -0.04em;
  position: relative;
}
.ghost-panel .big-score::after {
  content: "/100"; position: absolute;
  bottom: 12px; right: 12px;
  font-size: 11px; color: #dc2626; opacity: 0.6;
}
.ghost-panel .score-meta .label { font-size: 18px; font-weight: 700; color: #b91c1c; margin-bottom: 6px; }
.ghost-panel .score-meta .sub { font-size: 13px; color: var(--muted); }
.signals-list { margin-top: 20px; display: flex; flex-direction: column; gap: 10px; }
.signal {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 14px;
  background: var(--surface-1);
  border-radius: var(--r-sm);
  font-size: 13px;
}
.signal .s-icn { width: 26px; height: 26px; border-radius: 7px; background: var(--danger-bg); color: var(--danger); display: grid; place-items: center; font-weight: 800; font-size: 12px; }
.signal .s-text { flex: 1; color: var(--ink-2); font-weight: 500; }
.signal .s-val { font-size: 11px; font-weight: 800; color: var(--danger); background: var(--danger-bg); padding: 3px 8px; border-radius: 999px; }

/* Match panel */
.match-panel .circle-row {
  display: flex; align-items: center; gap: 22px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line-2);
}
.match-circle {
  width: 108px; height: 108px;
  position: relative;
  flex-shrink: 0;
}
.match-circle svg { transform: rotate(-90deg); }
.match-circle .n { position: absolute; inset: 0; display: grid; place-items: center; font-size: 32px; font-weight: 800; color: var(--success); letter-spacing: -0.03em; }
.match-meta .title { font-size: 18px; font-weight: 700; color: var(--success); margin-bottom: 4px; }
.match-meta .sub { font-size: 13px; color: var(--muted); margin-bottom: 10px; }
.match-meta .pill { display: inline-block; background: var(--success); color: #fff; padding: 4px 12px; border-radius: 999px; font-size: 11px; font-weight: 800; }

.strength-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 18px; }
.strength-box { background: var(--surface-1); border-radius: var(--r-sm); padding: 12px 14px; }
.strength-box .t { font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 6px; }
.strength-box.good .t { color: var(--success); }
.strength-box.gap .t { color: var(--danger); }
.strength-box .ln { font-size: 12px; color: var(--ink-2); padding: 2px 0; }

/* Resume PDF mock */
.resume-mock {
  background: #fff;
  border-radius: var(--r);
  border: 1px solid var(--line);
  padding: 28px 26px;
  box-shadow: var(--s-md);
  position: relative;
}
.resume-mock::before {
  content: "ATS READY";
  position: absolute; top: 14px; right: 14px;
  background: var(--success-bg); color: var(--success);
  font-size: 10px; font-weight: 800; letter-spacing: 0.08em;
  padding: 3px 8px; border-radius: 999px;
}
.resume-mock .name { font-size: 22px; font-weight: 800; letter-spacing: -0.01em; }
.resume-mock .role { font-size: 13px; color: var(--brand); font-weight: 700; margin-bottom: 8px; }
.resume-mock .meta { font-size: 11px; color: var(--muted); padding-bottom: 12px; margin-bottom: 12px; border-bottom: 1px solid var(--line); }
.resume-mock .sec { font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.1em; color: var(--brand); margin: 12px 0 6px; }
.resume-mock .bullet { font-size: 11.5px; color: var(--ink-2); padding: 3px 0; line-height: 1.5; }
.resume-mock .bullet .hl { background: #fef3c7; padding: 0 3px; border-radius: 3px; font-weight: 600; }
.resume-mock .bullet b { color: var(--brand); margin-right: 3px; }
.resume-mock .line { height: 6px; background: var(--line-2); border-radius: 3px; margin: 3px 0; }
.resume-mock .line.s { width: 85%; } .resume-mock .line.m { width: 70%; } .resume-mock .line.l { width: 95%; }
.resume-diff {
  background: linear-gradient(180deg, var(--success-bg), #fff);
  border: 1px solid #86efac;
  border-radius: var(--r-sm);
  padding: 10px 14px;
  font-size: 12px; color: #166534;
  margin-top: 14px;
  display: flex; align-items: center; gap: 8px;
}
.resume-diff b { font-weight: 700; }

/* Interview panel */
.iv-card {
  background: #faf5ff;
  border: 1px solid rgba(124,58,237,0.2);
  border-radius: var(--r-sm);
  padding: 14px 16px;
  margin-bottom: 10px;
}
.iv-card .iv-tag {
  display: inline-block;
  font-size: 10px; font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.06em;
  padding: 3px 9px; border-radius: 999px;
  margin-bottom: 8px;
}
.iv-card .iv-tag.beh { background: var(--warn-bg); color: var(--warn); }
.iv-card .iv-tag.sys { background: #cffafe; color: #0891b2; }
.iv-card .iv-q { font-size: 13px; font-weight: 600; color: var(--ink-1); line-height: 1.4; }
.iv-card .iv-hint { font-size: 11px; color: var(--muted); margin-top: 6px; }

/* ============================================================
   How it works
   ============================================================ */
.how-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
  position: relative;
}
@media(max-width:900px){ .how-grid { grid-template-columns: 1fr; } }
.how-step {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 32px 28px;
  position: relative;
  transition: transform .2s, box-shadow .2s;
}
.how-step:hover { transform: translateY(-4px); box-shadow: var(--s-md); }
.how-step .num {
  width: 36px; height: 36px; border-radius: 10px;
  background: linear-gradient(135deg, var(--brand), var(--accent));
  color: #fff; font-weight: 800; font-size: 16px;
  display: grid; place-items: center;
  margin-bottom: 20px;
  box-shadow: 0 6px 16px rgba(79,70,229,0.35);
}
.how-step h3 { font-size: 20px; font-weight: 700; margin-bottom: 10px; }
.how-step p { font-size: 15px; color: var(--muted); line-height: 1.55; }

/* ============================================================
   Big stats row
   ============================================================ */
.big-stats {
  background: linear-gradient(135deg, #0a0b14 0%, #1f1b4e 100%);
  color: #fff;
  padding: 80px 24px;
  border-radius: var(--r-xl);
  position: relative;
  overflow: hidden;
}
.big-stats::before {
  content: ""; position: absolute;
  inset: 0;
  background: radial-gradient(800px 400px at 20% 0%, rgba(124,58,237,0.3), transparent 60%),
              radial-gradient(600px 400px at 100% 100%, rgba(79,70,229,0.3), transparent 60%);
  pointer-events: none;
}
.big-stats-grid {
  position: relative;
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px;
  text-align: center;
}
@media(max-width:768px){ .big-stats-grid { grid-template-columns: repeat(2, 1fr); } }
.big-stat .n { font-size: clamp(40px, 5vw, 64px); font-weight: 800; letter-spacing: -0.04em; line-height: 1; margin-bottom: 8px; }
.big-stat .l { font-size: 14px; color: #a5a8c5; font-weight: 500; }

/* ============================================================
   Testimonials
   ============================================================ */
.testimonials {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
@media(max-width:900px){ .testimonials { grid-template-columns: 1fr; } }
.testimonial {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 32px;
  display: flex; flex-direction: column;
  box-shadow: var(--s-sm);
  transition: transform .2s, box-shadow .2s;
}
.testimonial:hover { transform: translateY(-3px); box-shadow: var(--s); }
.testimonial .stars { color: #f59e0b; font-size: 15px; letter-spacing: 2px; margin-bottom: 16px; }
.testimonial .quote { font-size: 16px; color: var(--ink-2); line-height: 1.6; margin-bottom: 24px; flex: 1; }
.testimonial .quote::before { content: "\""; color: var(--brand); font-size: 48px; line-height: 0; vertical-align: -16px; margin-right: 4px; opacity: 0.4; }
.testimonial .author { display: flex; align-items: center; gap: 12px; }
.testimonial .avatar {
  width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center;
  color: #fff; font-weight: 800; font-size: 16px;
  letter-spacing: -0.01em;
}
.testimonial .author .name { font-size: 14px; font-weight: 700; color: var(--ink); }
.testimonial .author .role { font-size: 13px; color: var(--muted); }

/* ============================================================
   Pricing card
   ============================================================ */
.pricing-wrap {
  max-width: 480px; margin: 0 auto;
  position: relative;
}
.pricing-wrap::before {
  content: ""; position: absolute;
  inset: -20px; border-radius: var(--r-xl);
  background: radial-gradient(400px 200px at 50% 50%, rgba(79,70,229,0.25), transparent 70%);
  z-index: -1; filter: blur(30px);
}
.pricing-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: 48px;
  box-shadow: var(--s-lg);
  position: relative;
}
.pricing-card .ribbon {
  position: absolute; top: 20px; right: 20px;
  background: linear-gradient(135deg, var(--brand), var(--accent));
  color: #fff;
  font-size: 11px; font-weight: 800;
  letter-spacing: 0.08em; text-transform: uppercase;
  padding: 5px 11px; border-radius: 999px;
}
.pricing-card .plan-name { font-size: 13px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--brand); margin-bottom: 12px; }
.pricing-card .price { display: flex; align-items: baseline; gap: 6px; margin-bottom: 8px; }
.pricing-card .price .dollar { font-size: 30px; font-weight: 700; color: var(--ink-3); }
.pricing-card .price .num { font-size: 72px; font-weight: 800; letter-spacing: -0.04em; line-height: 1; color: var(--ink); }
.pricing-card .price .per { font-size: 16px; color: var(--muted); margin-left: 4px; }
.pricing-card .tagline { font-size: 14px; color: var(--muted); margin-bottom: 32px; }
.pricing-features {
  list-style: none;
  margin: 0 0 32px;
  padding: 24px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.pricing-features li {
  padding: 8px 0;
  display: flex; align-items: center; gap: 10px;
  font-size: 15px;
  color: var(--ink-2);
}
.pricing-features li .ck {
  width: 22px; height: 22px; border-radius: 6px;
  background: var(--success-bg); color: var(--success);
  display: grid; place-items: center;
  font-weight: 800; font-size: 12px;
  flex-shrink: 0;
}
.pricing-card .note {
  font-size: 13px; color: var(--muted);
  text-align: center; margin-top: 18px;
  display: flex; align-items: center; justify-content: center; gap: 6px;
}

/* ============================================================
   FAQ
   ============================================================ */
.faq { max-width: 760px; margin: 0 auto; }
.faq-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 20px 24px;
  margin-bottom: 10px;
  transition: border-color .15s;
}
.faq-item:hover { border-color: var(--ink-3); }
.faq-item summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--ink);
  font-size: 16px;
  list-style: none;
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 22px; color: var(--muted);
  font-weight: 400;
  transition: transform .2s;
  flex-shrink: 0;
}
.faq-item[open] summary::after { content: "−"; }
.faq-item .a { margin-top: 14px; font-size: 15px; color: var(--muted); line-height: 1.65; }

/* ============================================================
   Final CTA
   ============================================================ */
.final-cta {
  background: linear-gradient(135deg, #0a0b14 0%, #312e81 100%);
  color: #fff;
  text-align: center;
  padding: 100px 24px;
  border-radius: var(--r-xl);
  position: relative;
  overflow: hidden;
}
.final-cta::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(600px 300px at 50% 0%, rgba(124,58,237,0.35), transparent 60%);
  pointer-events: none;
}
.final-cta h2 { font-size: clamp(34px, 4vw, 52px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.05; color: #fff; margin-bottom: 18px; position: relative; }
.final-cta p { font-size: 18px; color: #c4c7e3; max-width: 560px; margin: 0 auto 32px; position: relative; }
.final-cta .hero-ctas { position: relative; }
.final-cta .btn-primary { background: #fff; color: var(--ink); }
.final-cta .btn-primary:hover { background: #fff; color: var(--ink); }
.final-cta .btn-ghost { background: transparent; border-color: rgba(255,255,255,0.2); color: #fff; }
.final-cta .btn-ghost:hover { border-color: #fff; color: #fff; background: rgba(255,255,255,0.05); }

/* ============================================================
   Inner page (legal / contact)
   ============================================================ */
.page-header {
  background:
    radial-gradient(800px 400px at 50% -100px, rgba(124,58,237,0.12), transparent 60%),
    linear-gradient(180deg, var(--surface-1) 0%, #fff 70%);
  padding: 80px 24px 56px;
  border-bottom: 1px solid var(--line-2);
  text-align: center;
  position: relative;
}
.page-header h1 { font-size: clamp(36px, 4.5vw, 52px); font-weight: 800; letter-spacing: -0.03em; margin-bottom: 12px; }
.page-header p { font-size: 18px; color: var(--muted); }

.prose {
  max-width: 760px; margin: 0 auto;
  padding: 64px 24px 100px;
  font-size: 16px; line-height: 1.75;
  color: var(--ink-3);
}
.prose h2 {
  font-size: 24px; font-weight: 700; color: var(--ink);
  margin: 48px 0 14px;
  letter-spacing: -0.015em;
}
.prose h2:first-of-type { margin-top: 0; }
.prose h3 {
  font-size: 17px; font-weight: 700; color: var(--ink);
  margin: 28px 0 10px;
}
.prose p { margin-bottom: 18px; }
.prose ul, .prose ol { padding-left: 24px; margin-bottom: 18px; }
.prose li { margin-bottom: 8px; }
.prose strong { color: var(--ink); font-weight: 600; }
.prose code {
  background: var(--surface-2);
  padding: 2px 6px; border-radius: 4px;
  font-size: 14px; font-family: 'SF Mono', Menlo, Consolas, monospace;
  color: var(--accent);
}
.prose .last-updated {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600;
  color: var(--brand);
  background: rgba(79,70,229,0.08);
  padding: 8px 14px; border-radius: var(--r-pill);
  margin-bottom: 40px;
}
.prose .callout {
  background: var(--surface-1);
  border-left: 3px solid var(--brand);
  padding: 16px 20px;
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  margin: 24px 0;
  font-size: 15px;
}

/* TOC for long legal pages */
.legal-layout {
  max-width: 1100px; margin: 0 auto;
  padding: 64px 24px 100px;
  display: grid; grid-template-columns: 240px 1fr;
  gap: 64px;
}
@media(max-width: 900px){ .legal-layout { grid-template-columns: 1fr; } .toc { display: none; } }
.toc {
  position: sticky; top: 96px;
  align-self: start;
  padding: 20px;
  background: var(--surface-1);
  border-radius: var(--r);
  border: 1px solid var(--line);
}
.toc h4 { font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); margin-bottom: 12px; }
.toc a {
  display: block;
  padding: 6px 0;
  font-size: 13px;
  color: var(--ink-3);
  border-left: 2px solid transparent;
  padding-left: 10px;
  margin-left: -10px;
  transition: color .15s, border-color .15s;
}
.toc a:hover { color: var(--brand); border-color: var(--brand); text-decoration: none; }
.legal-content { max-width: 720px; font-size: 16px; line-height: 1.75; color: var(--ink-3); }
.legal-content .last-updated {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600;
  color: var(--brand);
  background: rgba(79,70,229,0.08);
  padding: 8px 14px; border-radius: var(--r-pill);
  margin-bottom: 32px;
}
.legal-content h2 { font-size: 22px; font-weight: 700; color: var(--ink); margin: 40px 0 12px; scroll-margin-top: 100px; }
.legal-content h2:first-of-type { margin-top: 0; }
.legal-content h3 { font-size: 16px; font-weight: 700; color: var(--ink); margin: 24px 0 10px; }
.legal-content p { margin-bottom: 16px; }
.legal-content ul { padding-left: 24px; margin-bottom: 16px; }
.legal-content li { margin-bottom: 8px; }
.legal-content strong { color: var(--ink); font-weight: 600; }
.legal-content a { color: var(--brand); }

/* ============================================================
   Contact
   ============================================================ */
.contact-grid {
  max-width: 1000px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 48px;
}
@media(max-width:900px){ .contact-grid { grid-template-columns: 1fr; } }
.contact-col h3 { font-size: 22px; font-weight: 700; margin-bottom: 10px; letter-spacing: -0.015em; }
.contact-col p { color: var(--muted); font-size: 15px; margin-bottom: 28px; line-height: 1.6; }
.contact-item {
  display: flex; gap: 16px;
  padding: 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  margin-bottom: 12px;
  transition: transform .15s, box-shadow .15s;
}
.contact-item:hover { transform: translateY(-2px); box-shadow: var(--s); }
.contact-item .ci-icn {
  width: 44px; height: 44px; border-radius: 10px;
  background: rgba(79,70,229,0.08); color: var(--brand);
  display: grid; place-items: center;
  font-size: 18px; font-weight: 700;
  flex-shrink: 0;
}
.contact-item .label { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); margin-bottom: 4px; }
.contact-item .val { font-size: 15px; font-weight: 600; color: var(--ink); }
.contact-item .val a { color: var(--brand); }
.contact-item .sub { font-size: 13px; color: var(--muted); margin-top: 4px; }

.contact-links {
  background: linear-gradient(135deg, var(--surface-1), #fff);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 32px;
}
.contact-links h4 { font-size: 16px; font-weight: 700; margin-bottom: 6px; }
.contact-links .sub { font-size: 14px; color: var(--muted); margin-bottom: 20px; }
.contact-link-item {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 16px;
  background: #fff;
  border: 1px solid var(--line-2);
  border-radius: var(--r-sm);
  font-size: 14px; font-weight: 600;
  color: var(--ink);
  margin-bottom: 8px;
  transition: border-color .15s, transform .15s;
}
.contact-link-item:hover {
  border-color: var(--brand);
  text-decoration: none;
  color: var(--ink);
  transform: translateX(4px);
}
.contact-link-item::after { content: "→"; color: var(--muted); transition: color .15s, transform .15s; }
.contact-link-item:hover::after { color: var(--brand); transform: translateX(2px); }

/* ============================================================
   Footer
   ============================================================ */
footer {
  background: #0a0b14;
  color: #9ca3af;
  padding: 72px 0 32px;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.footer-top {
  max-width: 1200px; margin: 0 auto;
  padding: 0 24px;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 56px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
@media(max-width:900px){ .footer-top { grid-template-columns: 1fr 1fr; gap: 40px; } }
.footer-brand .logo-row { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.footer-brand .logo-icon {
  width: 32px; height: 32px; border-radius: 9px;
  background: linear-gradient(135deg, var(--brand), var(--accent));
  display: grid; place-items: center;
  color: #fff; font-weight: 800; font-size: 15px;
}
.footer-brand .logo-text { font-size: 17px; font-weight: 800; color: #fff; letter-spacing: -0.015em; }
.footer-brand .tagline { font-size: 14px; line-height: 1.6; color: #6b7280; max-width: 300px; margin-bottom: 20px; }
.footer-col h4 {
  color: #fff; font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.12em;
  margin-bottom: 18px;
}
.footer-col a {
  display: block;
  color: #9ca3af;
  font-size: 14px;
  padding: 4px 0;
  transition: color .15s;
}
.footer-col a:hover { color: #fff; text-decoration: none; }
.footer-bottom {
  max-width: 1200px; margin: 32px auto 0;
  padding: 0 24px;
  display: flex; justify-content: space-between;
  flex-wrap: wrap; gap: 16px;
  font-size: 13px;
  color: #6b7280;
}
.footer-legal-links { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-legal-links a { color: #6b7280; font-size: 13px; }
.footer-legal-links a:hover { color: #fff; text-decoration: none; }
