/* ============================================================
   ATS CHECKER — Design System
   Aesthetic: Refined SaaS / Editorial / Precision-tool
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cabinet+Grotesk:wght@400;500;700;800;900&family=Instrument+Sans:ital,wght@0,400;0,500;0,600;1,400&display=swap');

/* ── Variables ────────────────────────────────────────────── */
:root {
  --navy:    #0a1628;
  --ink:     #1a2540;
  --blue:    #2563eb;
  --blue-lt: #3b82f6;
  --teal:    #0ea5e9;
  --emerald: #10b981;
  --amber:   #f59e0b;
  --red:     #ef4444;
  --slate:   #64748b;
  --silver:  #cbd5e1;
  --mist:    #f1f5f9;
  --white:   #ffffff;

  --grad-hero: linear-gradient(135deg, #0a1628 0%, #1e3a5f 50%, #0a1628 100%);
  --grad-card: linear-gradient(145deg, rgba(255,255,255,0.06), rgba(255,255,255,0.01));
  --grad-blue: linear-gradient(135deg, #2563eb, #0ea5e9);
  --grad-green: linear-gradient(135deg, #10b981, #0ea5e9);

  --shadow-sm:  0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.06);
  --shadow-md:  0 4px 16px rgba(0,0,0,.10), 0 2px 6px rgba(0,0,0,.08);
  --shadow-lg:  0 20px 60px rgba(0,0,0,.14), 0 8px 24px rgba(0,0,0,.10);
  --shadow-blue: 0 8px 32px rgba(37,99,235,.3);
  --shadow-glow: 0 0 40px rgba(37,99,235,.2);

  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 28px;

  --font-head: 'Cabinet Grotesk', sans-serif;
  --font-body: 'Instrument Sans', sans-serif;

  --transition: all .25s cubic-bezier(.4,0,.2,1);
}

/* ── Reset ────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  background: var(--white);
  color: var(--ink);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }

/* ── Utility ──────────────────────────────────────────────── */
.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }
.section-sm { padding: 64px 0; }
.text-center { text-align: center; }
.hidden { display: none !important; }

/* ── Typography ───────────────────────────────────────────── */
h1,h2,h3,h4,h5 { font-family: var(--font-head); font-weight: 800; line-height: 1.18; letter-spacing: -.02em; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .75rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--blue); margin-bottom: 16px;
}
.eyebrow::before {
  content: ''; display: block; width: 24px; height: 2px;
  background: var(--grad-blue); border-radius: 2px;
}
.section-title { font-size: clamp(2rem, 4vw, 2.8rem); color: var(--navy); margin-bottom: 16px; }
.section-sub   { font-size: 1.1rem; color: var(--slate); max-width: 560px; margin: 0 auto; line-height: 1.7; }

/* ── Nav ──────────────────────────────────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 0 24px;
  transition: var(--transition);
}
.nav-inner {
  max-width: 1140px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
  border-bottom: 1px solid rgba(255,255,255,.06);
  transition: var(--transition);
}
.nav.scrolled {
  background: rgba(10,22,40,.92);
  backdrop-filter: blur(20px);
  box-shadow: 0 4px 24px rgba(0,0,0,.3);
}
.nav-logo {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-head); font-size: 1.15rem; font-weight: 800;
  color: var(--white);
}
.nav-logo-icon {
  width: 32px; height: 32px; border-radius: 8px;
  background: var(--grad-blue);
  display: flex; align-items: center; justify-content: center;
  font-size: .85rem;
}
.nav-links {
  display: flex; align-items: center; gap: 8px;
}
.nav-links a {
  padding: 8px 16px; border-radius: var(--r-sm);
  font-size: .9rem; font-weight: 500; color: rgba(255,255,255,.75);
  transition: var(--transition);
}
.nav-links a:hover { color: var(--white); background: rgba(255,255,255,.08); }
.nav-cta {
  padding: 9px 20px !important;
  background: var(--grad-blue) !important;
  color: var(--white) !important;
  border-radius: var(--r-sm) !important;
  font-weight: 600 !important;
  box-shadow: var(--shadow-blue);
}
.nav-cta:hover { opacity: .9; transform: translateY(-1px); }
.hamburger { display: none; flex-direction: column; gap: 5px; padding: 4px; }
.hamburger span { display: block; width: 22px; height: 2px; background: var(--white); border-radius: 2px; transition: var(--transition); }

/* ── Hero ─────────────────────────────────────────────────── */
.hero {
  background: var(--grad-hero);
  min-height: 100vh;
  display: flex; align-items: center;
  position: relative; overflow: hidden;
  padding: 120px 0 80px;
}
.hero-bg {
  position: absolute; inset: 0; pointer-events: none;
}
.hero-orb {
  position: absolute; border-radius: 50%;
  filter: blur(80px); opacity: .15;
}
.hero-orb-1 {
  width: 600px; height: 600px; top: -200px; right: -100px;
  background: var(--blue);
}
.hero-orb-2 {
  width: 400px; height: 400px; bottom: -100px; left: -100px;
  background: var(--teal);
}
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 48px 48px;
}
.hero-inner {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 64px; align-items: center;
  max-width: 1140px; margin: 0 auto; padding: 0 24px;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(37,99,235,.25); border: 1px solid rgba(37,99,235,.4);
  border-radius: 100px; padding: 6px 14px;
  font-size: .8rem; font-weight: 600; color: #93c5fd;
  margin-bottom: 24px;
}
.hero-badge-dot { width: 6px; height: 6px; border-radius: 50%; background: #60a5fa; animation: pulse-dot 2s infinite; }
@keyframes pulse-dot { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.5;transform:scale(.8)} }
.hero h1 {
  font-size: clamp(2.6rem, 5vw, 3.8rem);
  color: var(--white); margin-bottom: 20px;
}
.hero h1 span {
  background: var(--grad-blue);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub {
  font-size: 1.15rem; color: rgba(255,255,255,.65);
  line-height: 1.75; margin-bottom: 36px; max-width: 480px;
}
.hero-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.btn-primary {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--grad-blue); color: var(--white);
  padding: 14px 28px; border-radius: var(--r-md);
  font-weight: 700; font-size: 1rem; font-family: var(--font-head);
  box-shadow: var(--shadow-blue);
  transition: var(--transition);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 40px rgba(37,99,235,.45); }
.btn-secondary {
  display: inline-flex; align-items: center; gap: 8px;
  color: rgba(255,255,255,.75); font-weight: 600;
  border: 1px solid rgba(255,255,255,.2);
  padding: 14px 24px; border-radius: var(--r-md);
  transition: var(--transition);
}
.btn-secondary:hover { color: var(--white); border-color: rgba(255,255,255,.4); background: rgba(255,255,255,.06); }
.hero-stats {
  display: flex; gap: 32px; margin-top: 48px; padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,.1);
}
.stat-val { font-family: var(--font-head); font-size: 1.8rem; font-weight: 900; color: var(--white); }
.stat-lbl { font-size: .82rem; color: rgba(255,255,255,.5); margin-top: 2px; }

/* Hero visual card */
.hero-visual {
  position: relative;
}
.score-card {
  background: rgba(255,255,255,.06);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--r-xl);
  padding: 32px;
  box-shadow: var(--shadow-lg);
  animation: float 6s ease-in-out infinite;
}
@keyframes float { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-12px)} }
.score-card-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 28px; }
.score-card-title { font-family: var(--font-head); font-weight: 700; color: var(--white); font-size: 1rem; }
.score-badge { background: rgba(16,185,129,.2); border: 1px solid rgba(16,185,129,.4); color: #6ee7b7; border-radius: 100px; padding: 4px 12px; font-size: .75rem; font-weight: 700; }
.score-ring-wrap { display: flex; justify-content: center; margin-bottom: 28px; }
.score-ring-demo { width: 140px; height: 140px; position: relative; }
.score-ring-demo svg { transform: rotate(-90deg); }
.score-ring-demo .ring-bg { fill: none; stroke: rgba(255,255,255,.08); stroke-width: 10; }
.score-ring-demo .ring-fill { fill: none; stroke: url(#scoreGrad); stroke-width: 10; stroke-linecap: round;
  stroke-dasharray: 376; stroke-dashoffset: 75;
  transition: stroke-dashoffset 1.5s cubic-bezier(.4,0,.2,1);
}
.score-ring-label {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  text-align: center;
}
.score-ring-num { font-family: var(--font-head); font-size: 2.4rem; font-weight: 900; color: var(--white); line-height: 1; }
.score-ring-pct { font-size: .7rem; color: rgba(255,255,255,.5); letter-spacing: .05em; }
.score-bars { display: flex; flex-direction: column; gap: 14px; }
.score-bar-row { }
.score-bar-info { display: flex; justify-content: space-between; margin-bottom: 6px; }
.score-bar-name { font-size: .8rem; color: rgba(255,255,255,.6); font-weight: 500; }
.score-bar-pct  { font-size: .8rem; color: rgba(255,255,255,.85); font-weight: 700; }
.score-bar-track { height: 6px; background: rgba(255,255,255,.08); border-radius: 100px; overflow: hidden; }
.score-bar-fill { height: 100%; border-radius: 100px; transition: width 1.5s cubic-bezier(.4,0,.2,1); }
.bar-kw { background: var(--grad-blue); }
.bar-fmt { background: linear-gradient(90deg, #10b981, #0ea5e9); }
.bar-sec { background: linear-gradient(90deg, #f59e0b, #ef4444); }
.bar-read { background: linear-gradient(90deg, #8b5cf6, #ec4899); }
.bar-file { background: linear-gradient(90deg, #10b981, #6ee7b7); }

/* Floating badges */
.hero-badge-float {
  position: absolute;
  background: rgba(255,255,255,.1);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--r-md);
  padding: 10px 16px;
  color: var(--white);
  font-size: .82rem; font-weight: 600;
  display: flex; align-items: center; gap: 8px;
  box-shadow: var(--shadow-md);
}
.hero-badge-float.f1 { top: -16px; left: -32px; animation: float 5s ease-in-out infinite .5s; }
.hero-badge-float.f2 { bottom: 24px; right: -24px; animation: float 6s ease-in-out infinite 1s; }
.badge-icon { font-size: 1.1rem; }

/* ── Upload Section ───────────────────────────────────────── */
.upload-section { background: var(--mist); }
.upload-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 32px; margin-top: 56px;
}
.upload-card {
  background: var(--white);
  border-radius: var(--r-xl);
  padding: 40px;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(0,0,0,.05);
}
.upload-card h3 {
  font-size: 1.2rem; color: var(--navy); margin-bottom: 8px;
}
.upload-card p { font-size: .9rem; color: var(--slate); margin-bottom: 24px; }

/* Drop Zone */
.drop-zone {
  border: 2px dashed var(--silver);
  border-radius: var(--r-lg);
  padding: 48px 24px;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  background: var(--mist);
}
.drop-zone.drag-over {
  border-color: var(--blue); background: rgba(37,99,235,.04);
  box-shadow: inset 0 0 0 1px var(--blue);
}
.drop-zone input[type="file"] {
  position: absolute; inset: 0; width: 100%; height: 100%;
  opacity: 0; cursor: pointer;
}
.drop-icon {
  width: 56px; height: 56px; border-radius: var(--r-md);
  background: linear-gradient(135deg, rgba(37,99,235,.1), rgba(14,165,233,.1));
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem; margin: 0 auto 16px;
}
.drop-title { font-family: var(--font-head); font-weight: 700; color: var(--navy); font-size: 1.05rem; margin-bottom: 6px; }
.drop-sub   { font-size: .85rem; color: var(--slate); }
.drop-formats {
  display: flex; justify-content: center; gap: 8px; margin-top: 16px;
}
.format-tag {
  background: rgba(37,99,235,.08); color: var(--blue);
  border: 1px solid rgba(37,99,235,.2);
  border-radius: 100px; padding: 4px 12px;
  font-size: .75rem; font-weight: 600;
}
.file-selected {
  display: flex; align-items: center; gap: 12px;
  background: rgba(16,185,129,.06); border: 1px solid rgba(16,185,129,.2);
  border-radius: var(--r-md); padding: 12px 16px;
  margin-top: 16px;
}
.file-selected-icon { font-size: 1.4rem; }
.file-selected-name { font-weight: 600; color: var(--navy); font-size: .9rem; flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.file-remove { color: var(--slate); font-size: 1.1rem; transition: var(--transition); }
.file-remove:hover { color: var(--red); }

/* Job Description */
.jd-textarea {
  width: 100%; min-height: 200px;
  border: 1.5px solid var(--silver);
  border-radius: var(--r-md);
  padding: 16px; font-family: var(--font-body);
  font-size: .9rem; color: var(--ink); line-height: 1.6;
  resize: vertical; transition: var(--transition);
  background: var(--white);
}
.jd-textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(37,99,235,.1); }
.jd-hint { font-size: .8rem; color: var(--slate); margin-top: 8px; }
.jd-templates { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.template-btn {
  background: var(--mist); border: 1px solid var(--silver);
  border-radius: 100px; padding: 5px 14px;
  font-size: .78rem; font-weight: 600; color: var(--slate);
  transition: var(--transition);
}
.template-btn:hover { background: rgba(37,99,235,.08); border-color: rgba(37,99,235,.3); color: var(--blue); }

/* Analyze Button */
.analyze-btn-wrap { margin-top: 32px; text-align: center; }
.btn-analyze {
  display: inline-flex; align-items: center; gap: 12px;
  background: var(--grad-blue); color: var(--white);
  padding: 16px 48px; border-radius: var(--r-lg);
  font-family: var(--font-head); font-size: 1.1rem; font-weight: 800;
  box-shadow: var(--shadow-blue); transition: var(--transition);
  width: 100%; justify-content: center; max-width: 400px;
  position: relative; overflow: hidden;
}
.btn-analyze::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.12), transparent);
  transform: translateX(-100%);
}
.btn-analyze:hover { transform: translateY(-2px); box-shadow: 0 16px 48px rgba(37,99,235,.45); }
.btn-analyze:hover::after { animation: shimmer .6s ease; }
@keyframes shimmer { 0%{transform:translateX(-100%)} 100%{transform:translateX(100%)} }
.btn-analyze:disabled { opacity: .5; cursor: not-allowed; transform: none; }
.disclaimer { font-size: .78rem; color: var(--slate); margin-top: 12px; display: flex; align-items: center; justify-content: center; gap: 6px; }

/* ── Results Dashboard ────────────────────────────────────── */
.results-section {
  background: var(--navy);
  position: relative; overflow: hidden;
}
.results-section::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(37,99,235,.12) 0%, transparent 60%),
              radial-gradient(ellipse at 70% 50%, rgba(14,165,233,.08) 0%, transparent 60%);
}
.results-inner { position: relative; z-index: 1; }
.results-grid {
  display: grid; grid-template-columns: 360px 1fr;
  gap: 28px; margin-top: 48px;
}
.result-card {
  background: rgba(255,255,255,.05);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--r-xl); padding: 32px;
  box-shadow: var(--shadow-lg);
}
.result-card h3 {
  font-size: 1rem; color: rgba(255,255,255,.5);
  font-family: var(--font-body); font-weight: 600;
  letter-spacing: .06em; text-transform: uppercase; font-size: .75rem;
  margin-bottom: 24px;
}

/* Score ring */
.score-display { text-align: center; }
.score-ring-container { position: relative; display: inline-block; width: 200px; height: 200px; margin-bottom: 24px; }
.score-ring-container svg { transform: rotate(-90deg); width: 200px; height: 200px; }
.ring-bg-dark { fill: none; stroke: rgba(255,255,255,.06); stroke-width: 16; }
.ring-fill-anim {
  fill: none; stroke-width: 16; stroke-linecap: round;
  stroke-dasharray: 565;
  stroke-dashoffset: 565;
  transition: stroke-dashoffset 1.5s cubic-bezier(.4,0,.2,1);
}
.score-center {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  text-align: center;
}
.score-number { font-family: var(--font-head); font-size: 3.4rem; font-weight: 900; color: var(--white); line-height: 1; }
.score-label  { font-size: .8rem; color: rgba(255,255,255,.4); letter-spacing: .08em; margin-top: 4px; }
.score-grade  { font-family: var(--font-head); font-size: 1.1rem; font-weight: 800; margin-top: 8px; padding: 6px 20px; border-radius: 100px; display: inline-block; }
.grade-green  { background: rgba(16,185,129,.2); color: #6ee7b7; border: 1px solid rgba(16,185,129,.3); }
.grade-yellow { background: rgba(245,158,11,.2); color: #fcd34d; border: 1px solid rgba(245,158,11,.3); }
.grade-red    { background: rgba(239,68,68,.2);  color: #fca5a5; border: 1px solid rgba(239,68,68,.3); }

/* Breakdown bars */
.breakdown-list { display: flex; flex-direction: column; gap: 20px; }
.breakdown-item {}
.breakdown-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.breakdown-name { font-size: .9rem; color: rgba(255,255,255,.8); font-weight: 600; display: flex; align-items: center; gap: 8px; }
.breakdown-icon { font-size: 1rem; }
.breakdown-weight { font-size: .75rem; color: rgba(255,255,255,.35); }
.breakdown-pct { font-family: var(--font-head); font-size: 1rem; font-weight: 800; color: var(--white); }
.breakdown-track { height: 8px; background: rgba(255,255,255,.06); border-radius: 100px; overflow: hidden; }
.breakdown-fill { height: 100%; border-radius: 100px; width: 0; transition: width 1.2s cubic-bezier(.4,0,.2,1); }

/* Details panels */
.details-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.detail-panel {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: var(--r-lg); padding: 24px;
}
.detail-panel h4 { font-size: .8rem; color: rgba(255,255,255,.4); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 16px; }
.detail-list { display: flex; flex-direction: column; gap: 10px; }
.detail-item {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: .88rem; color: rgba(255,255,255,.75); line-height: 1.5;
}
.detail-dot { width: 18px; height: 18px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: .65rem; flex-shrink: 0; margin-top: 1px; }
.dot-ok    { background: rgba(16,185,129,.2); color: #6ee7b7; }
.dot-warn  { background: rgba(245,158,11,.2);  color: #fcd34d; }
.dot-bad   { background: rgba(239,68,68,.2);   color: #fca5a5; }
.dot-info  { background: rgba(37,99,235,.2);   color: #93c5fd; }

/* Suggestions */
.suggestions-panel {
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.07);
  border-radius: var(--r-lg); padding: 24px; margin-top: 20px;
}
.suggestions-panel h4 { font-size: .8rem; color: rgba(255,255,255,.4); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 16px; }
.suggestion-item {
  display: flex; gap: 12px; padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,.05);
}
.suggestion-item:last-child { border-bottom: none; }
.suggestion-num {
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--grad-blue); color: var(--white);
  font-size: .75rem; font-weight: 800;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.suggestion-text { font-size: .88rem; color: rgba(255,255,255,.8); line-height: 1.6; }
.suggestion-priority {
  display: inline-block; font-size: .7rem; font-weight: 700;
  padding: 2px 8px; border-radius: 100px; margin-left: 6px;
}
.priority-high   { background: rgba(239,68,68,.2);   color: #fca5a5; }
.priority-medium { background: rgba(245,158,11,.2);  color: #fcd34d; }
.priority-low    { background: rgba(16,185,129,.2);  color: #6ee7b7; }

.results-actions { display: flex; gap: 12px; margin-top: 24px; }
.btn-outline-white {
  flex: 1; padding: 12px; border-radius: var(--r-md);
  border: 1px solid rgba(255,255,255,.2); color: rgba(255,255,255,.8);
  font-weight: 600; font-family: var(--font-head); font-size: .9rem;
  transition: var(--transition); text-align: center;
  display: flex; align-items: center; justify-content: center; gap: 8px;
}
.btn-outline-white:hover { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.35); }

/* Loading state */
.loading-state { text-align: center; padding: 60px 20px; }
.loading-spinner {
  width: 60px; height: 60px; border-radius: 50%;
  border: 4px solid rgba(255,255,255,.1);
  border-top-color: var(--blue);
  animation: spin 1s linear infinite;
  margin: 0 auto 20px;
}
@keyframes spin { to { transform: rotate(360deg); } }
.loading-text { color: rgba(255,255,255,.6); font-size: 1rem; }
.loading-sub  { color: rgba(255,255,255,.35); font-size: .85rem; margin-top: 6px; }

/* ── How It Works ─────────────────────────────────────────── */
.how-section { background: var(--white); }
.steps-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 32px; margin-top: 56px; position: relative;
}
.steps-grid::before {
  content: ''; position: absolute; top: 36px; left: 10%; right: 10%; height: 2px;
  background: linear-gradient(90deg, var(--blue), var(--teal));
  opacity: .2;
}
.step-card {
  text-align: center; position: relative;
}
.step-num {
  width: 72px; height: 72px; border-radius: 50%;
  background: var(--mist); border: 2px solid var(--silver);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-size: 1.4rem; font-weight: 900; color: var(--navy);
  margin: 0 auto 20px; position: relative; z-index: 1;
  transition: var(--transition);
}
.step-card:hover .step-num {
  background: var(--grad-blue); color: var(--white); border-color: transparent;
  box-shadow: var(--shadow-blue);
}
.step-icon { font-size: 1.6rem; }
.step-title { font-size: 1rem; font-weight: 800; color: var(--navy); margin-bottom: 8px; }
.step-desc  { font-size: .875rem; color: var(--slate); line-height: 1.65; }

/* ── Blog Section ─────────────────────────────────────────── */
.blog-section { background: var(--mist); }
.blog-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 28px; margin-top: 48px;
}
.blog-card {
  background: var(--white); border-radius: var(--r-xl);
  overflow: hidden; box-shadow: var(--shadow-md);
  border: 1px solid rgba(0,0,0,.05);
  transition: var(--transition);
  display: flex; flex-direction: column;
}
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.blog-thumb {
  height: 220px; position: relative; overflow: hidden;
}
.blog-thumb-inner {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-size: 4rem;
  position: relative;
}
.blog-cat {
  position: absolute; bottom: 16px; left: 16px;
  background: var(--blue); color: var(--white);
  border-radius: 100px; padding: 4px 14px;
  font-size: .75rem; font-weight: 700; letter-spacing: .04em;
}
.blog-body { padding: 28px; flex: 1; display: flex; flex-direction: column; }
.blog-meta { font-size: .8rem; color: var(--slate); margin-bottom: 12px; display: flex; gap: 16px; }
.blog-title { font-size: 1.25rem; color: var(--navy); margin-bottom: 12px; line-height: 1.3; }
.blog-excerpt { font-size: .9rem; color: var(--slate); line-height: 1.7; flex: 1; }
.blog-link {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--blue); font-weight: 700; font-size: .9rem;
  margin-top: 20px; transition: var(--transition);
}
.blog-link:hover { gap: 10px; }

/* ── FAQ ──────────────────────────────────────────────────── */
.faq-section { background: var(--white); }
.faq-list { max-width: 720px; margin: 48px auto 0; }
.faq-item {
  border-bottom: 1px solid var(--silver);
}
.faq-q {
  width: 100%; text-align: left;
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 0; font-family: var(--font-head);
  font-size: 1rem; font-weight: 700; color: var(--navy);
  transition: var(--transition);
}
.faq-q:hover { color: var(--blue); }
.faq-icon { font-size: 1.2rem; color: var(--slate); transition: var(--transition); }
.faq-item.open .faq-icon { transform: rotate(45deg); color: var(--blue); }
.faq-a {
  display: none; padding-bottom: 20px;
  font-size: .9rem; color: var(--slate); line-height: 1.75;
}
.faq-item.open .faq-a { display: block; }

/* ── Footer ───────────────────────────────────────────────── */
.footer { background: var(--navy); padding: 64px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-brand p { font-size: .88rem; color: rgba(255,255,255,.45); line-height: 1.75; margin-top: 16px; max-width: 280px; }
.footer-col h4 { font-family: var(--font-head); font-size: .85rem; color: rgba(255,255,255,.3); text-transform: uppercase; letter-spacing: .1em; margin-bottom: 16px; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { font-size: .88rem; color: rgba(255,255,255,.5); transition: var(--transition); }
.footer-col ul li a:hover { color: var(--white); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 28px;
  display: flex; align-items: center; justify-content: space-between;
}
.footer-copy { font-size: .82rem; color: rgba(255,255,255,.3); }
.footer-tags { display: flex; gap: 8px; flex-wrap: wrap; }
.footer-tag { font-size: .75rem; color: rgba(255,255,255,.2); border: 1px solid rgba(255,255,255,.1); border-radius: 4px; padding: 3px 8px; }

/* ── Toast ────────────────────────────────────────────────── */
.toast {
  position: fixed; bottom: 28px; right: 28px; z-index: 1000;
  background: var(--navy); color: var(--white);
  border-radius: var(--r-md); padding: 14px 20px;
  box-shadow: var(--shadow-lg); border: 1px solid rgba(255,255,255,.1);
  font-size: .9rem; font-weight: 600;
  display: flex; align-items: center; gap: 10px;
  transform: translateY(100px); opacity: 0;
  transition: all .35s cubic-bezier(.4,0,.2,1);
  max-width: 320px;
}
.toast.show { transform: translateY(0); opacity: 1; }
.toast-icon { font-size: 1.1rem; }

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { display: none; }
  .results-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid::before { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .nav-links.mobile-open {
    display: flex; flex-direction: column;
    position: fixed; inset: 68px 0 0;
    background: rgba(10,22,40,.98); backdrop-filter: blur(20px);
    padding: 24px; gap: 4px; z-index: 99;
  }
  .nav-links.mobile-open a { font-size: 1.1rem; padding: 14px 16px; }
  .upload-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .details-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 24px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
}
@media (max-width: 480px) {
  .steps-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .results-actions { flex-direction: column; }
}

/* ── Animations ───────────────────────────────────────────── */
.fade-up {
  opacity: 0; transform: translateY(24px);
  transition: opacity .6s ease, transform .6s ease;
}
.fade-up.in { opacity: 1; transform: translateY(0); }
.fade-up.d1 { transition-delay: .1s; }
.fade-up.d2 { transition-delay: .2s; }
.fade-up.d3 { transition-delay: .3s; }
.fade-up.d4 { transition-delay: .4s; }
