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

:root {
  --bg: #ffffff;
  --bg-soft: #f7f8fa;
  --bg-mid: #eef0f5;
  --dark: #0a0d14;
  --dark-2: #111827;
  --dark-surface: #1a2035;
  --border: #e4e7ed;
  --border-dark: rgba(255,255,255,0.1);
  --text: #0d1117;
  --text-muted: #4b5563;
  --text-dim: #9ca3af;
  --text-dark-muted: rgba(255,255,255,0.65);
  --text-dark-dim: rgba(255,255,255,0.35);
  --accent: #2563eb;
  --accent-light: #3b82f6;
  --accent-dim: #eff4ff;
  --accent-dark-dim: rgba(59,130,246,0.15);
  --green: #16a34a;
  --green-dim: #f0fdf4;
  --amber: #d97706;
  --red: #dc2626;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 4px 24px rgba(0,0,0,0.07);
  --shadow-lg: 0 20px 60px rgba(0,0,0,0.15);
  --shadow-dark: 0 20px 60px rgba(0,0,0,0.5);
}

html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text);
  background: var(--bg);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ── Nav ── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 0 32px; height: 68px;
  display: flex; align-items: center;
  transition: background 0.3s, backdrop-filter 0.3s, border-color 0.3s;
}
/* Dark nav (homepage hero) */
.nav.dark-mode { background: transparent; }
.nav.dark-mode.scrolled {
  background: rgba(10,13,20,0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-dark);
}
.nav.dark-mode .nav-links a { color: rgba(255,255,255,0.75); }
.nav.dark-mode .nav-links a:hover { color: #fff; background: rgba(255,255,255,0.08); }
.nav.dark-mode.scrolled .nav-links a { color: rgba(255,255,255,0.75); }
/* Light nav (inner pages) */
.nav.light-mode {
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.nav.light-mode .nav-links a { color: var(--text-muted); }
.nav.light-mode .nav-links a:hover { color: var(--text); background: var(--bg-soft); }
.nav.light-mode .nav-links a.active {
  color: var(--text);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: #00b4d8;
  text-underline-offset: 4px;
  text-decoration-thickness: 2px;
}

.nav-inner {
  max-width: 1120px; margin: 0 auto; width: 100%;
  display: flex; align-items: center; gap: 0;
}
.nav-logo img { height: 52px; width: auto; }
.nav-links { display: flex; gap: 2px; margin-left: 40px; flex: 1; }
.nav-links a {
  padding: 7px 14px; border-radius: 7px;
  font-size: 14px; font-weight: 500;
  transition: color 0.15s, background 0.15s;
}
.nav-cta { margin-left: auto; display: flex; gap: 10px; align-items: center; }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 22px; border-radius: 9px;
  font-size: 14px; font-weight: 600; cursor: pointer;
  transition: all 0.15s; border: none;
  font-family: inherit; text-decoration: none; white-space: nowrap;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: #1d4ed8; transform: translateY(-1px); box-shadow: 0 6px 20px rgba(37,99,235,0.4); }
.btn-ghost-dark { background: rgba(255,255,255,0.1); color: #fff; border: 1px solid rgba(255,255,255,0.2); }
.btn-ghost-dark:hover { background: rgba(255,255,255,0.18); }
.btn-outline { background: transparent; color: var(--accent); border: 1.5px solid #dbeafe; }
.btn-outline:hover { background: var(--accent-dim); border-color: var(--accent); }
.btn-white { background: #fff; color: var(--accent); font-weight: 700; }
.btn-white:hover { background: #f0f5ff; transform: translateY(-1px); box-shadow: 0 6px 20px rgba(0,0,0,0.15); }
.btn-lg { padding: 13px 28px; font-size: 15px; border-radius: 10px; }
.btn-xl { padding: 16px 36px; font-size: 16px; border-radius: 12px; }

/* ── Layout ── */
.container { max-width: 1120px; margin: 0 auto; padding: 0 32px; }
.container-sm { max-width: 800px; margin: 0 auto; padding: 0 32px; }

/* ── Hero ── */
.hero {
  background: var(--dark);
  background-image: radial-gradient(ellipse 80% 60% at 50% -20%, rgba(37,99,235,0.25) 0%, transparent 70%),
                    radial-gradient(ellipse 40% 40% at 80% 60%, rgba(59,130,246,0.08) 0%, transparent 60%);
  min-height: 100vh;
  display: flex; flex-direction: column;
  padding-top: 68px;
  position: relative; overflow: hidden;
}
.hero-inner {
  flex: 1; display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  padding: 80px 32px 60px; text-align: center;
  position: relative; z-index: 1;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(59,130,246,0.12); color: #60a5fa;
  border: 1px solid rgba(59,130,246,0.25);
  border-radius: 20px; padding: 6px 16px;
  font-size: 13px; font-weight: 600; margin-bottom: 28px;
  letter-spacing: 0.01em;
}
.hero h1 {
  font-size: clamp(44px, 6vw, 80px);
  font-weight: 900; letter-spacing: -0.04em;
  line-height: 1.0; color: #fff; margin-bottom: 24px;
  max-width: 900px;
}
.hero h1 .accent { color: #60a5fa; }
.hero-sub {
  font-size: clamp(16px, 2vw, 20px);
  color: var(--text-dark-muted); line-height: 1.65;
  max-width: 580px; margin: 0 auto 40px;
}
.hero-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-bottom: 16px; }
.hero-note { font-size: 13px; color: var(--text-dark-dim); }

/* ── App window mock ── */
.app-window {
  max-width: 1060px; margin-left: auto; margin-right: auto;
  background: var(--dark-surface);
  border: 1px solid var(--border-dark);
  border-radius: 16px 16px 0 0;
  overflow: hidden;
  box-shadow: var(--shadow-dark);
  position: relative;
}
.app-window-bar {
  background: #151c2e; border-bottom: 1px solid var(--border-dark);
  padding: 12px 16px; display: flex; align-items: center; gap: 8px;
}
.win-dot { width: 11px; height: 11px; border-radius: 50%; }
.win-url {
  flex: 1; background: rgba(255,255,255,0.06);
  border: 1px solid var(--border-dark); border-radius: 6px;
  padding: 4px 14px; font-size: 12px; color: var(--text-dark-dim);
  max-width: 280px; margin: 0 auto; text-align: center;
}
.app-window-body { display: flex; min-height: 460px; }

/* App sidebar */
.aw-sidebar {
  width: 196px; flex-shrink: 0;
  background: #fff; border-right: 1px solid #eef0f4;
  padding: 16px 10px; display: flex; flex-direction: column;
}
.aw-logo { padding: 0 8px 14px; }
.aw-nav-item {
  padding: 8px 10px; border-radius: 7px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.05em;
  text-transform: uppercase; color: #9ca3af; margin-bottom: 2px;
  display: flex; align-items: center; justify-content: space-between;
}
.aw-nav-item.active { background: #eff4ff; color: #2563eb; }
.aw-badge { background: #2563eb; color: #fff; border-radius: 10px; padding: 1px 7px; font-size: 10px; }
.aw-user {
  margin-top: auto; padding: 10px 8px;
  border-top: 1px solid #eef0f4;
  display: flex; align-items: center; gap: 8px;
}
.aw-avatar {
  width: 30px; height: 30px; border-radius: 50%;
  background: #eff4ff; color: #2563eb;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700; flex-shrink: 0;
}
.aw-user-name { font-size: 12px; font-weight: 600; color: #111; }
.aw-user-plan { font-size: 10px; color: #9ca3af; }

/* App list */
.aw-list { width: 280px; flex-shrink: 0; background: #fff; border-right: 1px solid #eef0f4; }
.aw-pull-btn {
  margin: 12px 12px 0;
  background: #2563eb; color: #fff; border-radius: 8px;
  padding: 9px 14px; font-size: 12px; font-weight: 700;
  text-align: center;
}
.aw-list-header { padding: 10px 14px 8px; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: #9ca3af; }
.aw-card {
  padding: 12px 14px; border-bottom: 1px solid #f3f4f6;
  display: flex; gap: 10px; cursor: pointer; transition: background 0.1s;
}
.aw-card.active { background: #eff4ff; border-left: 3px solid #2563eb; padding-left: 11px; }
.aw-card:hover:not(.active) { background: #f9fafb; }
.aw-co-logo {
  width: 30px; height: 30px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 800;
}
.aw-job-title { font-size: 12px; font-weight: 600; color: #111; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-bottom: 2px; line-height: 1.3; }
.aw-job-title.bold { font-weight: 800; }
.aw-unread-dot { display: inline-block; width: 5px; height: 5px; border-radius: 50%; background: #2563eb; margin-right: 4px; vertical-align: middle; margin-bottom: 1px; }
.aw-job-sub { font-size: 11px; color: #6b7280; }
.aw-job-meta { display: flex; gap: 5px; margin-top: 5px; flex-wrap: wrap; }
.aw-tag { font-size: 9px; font-weight: 700; padding: 1px 5px; border-radius: 3px; }

/* App detail */
.aw-detail { flex: 1; background: #fff; padding: 20px 24px; overflow: hidden; }
.aw-detail-header { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 14px; }
.aw-detail-logo { width: 42px; height: 42px; border-radius: 50%; flex-shrink: 0; display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 800; }
.aw-detail-title { font-size: 17px; font-weight: 800; color: #111; line-height: 1.2; margin-bottom: 3px; }
.aw-detail-company { font-size: 13px; color: #6b7280; font-weight: 500; }
.aw-detail-source { margin-left: auto; text-align: right; font-size: 11px; color: #9ca3af; display: flex; flex-direction: column; gap: 3px; align-items: flex-end; }
.aw-source-badge { width: 26px; height: 26px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 9px; font-weight: 900; color: #fff; }
.aw-meta-row { display: flex; gap: 14px; align-items: center; margin-bottom: 12px; flex-wrap: wrap; }
.aw-meta-item { font-size: 12px; color: #6b7280; }
.aw-salary { font-size: 14px; font-weight: 700; color: #16a34a; }
.aw-market-label { font-size: 10px; font-weight: 700; color: #9ca3af; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 4px; }
.aw-market-bar { height: 6px; background: #f3f4f6; border-radius: 3px; position: relative; margin-bottom: 4px; }
.aw-market-fill { position: absolute; inset: 0; background: linear-gradient(90deg, #dbeafe 0%, #2563eb 100%); border-radius: 3px; opacity: 0.45; }
.aw-market-dot { position: absolute; width: 10px; height: 10px; border-radius: 50%; background: #16a34a; border: 2px solid #fff; top: -2px; box-shadow: 0 1px 3px rgba(0,0,0,0.2); }
.aw-market-range { display: flex; justify-content: space-between; font-size: 10px; color: #9ca3af; }
.aw-match-row { display: flex; gap: 6px; margin-bottom: 12px; flex-wrap: wrap; }
.aw-match-badge { font-size: 10px; font-weight: 700; padding: 2px 8px; border-radius: 4px; background: #f0fdf4; color: #16a34a; border: 1px solid #bbf7d0; }
.aw-apply-btn { background: #2563eb; color: #fff; padding: 8px 18px; border-radius: 8px; font-size: 12px; font-weight: 700; display: inline-block; margin-right: 8px; }
.aw-save-btn { background: #f3f4f6; color: #6b7280; padding: 8px 14px; border-radius: 8px; font-size: 12px; font-weight: 600; display: inline-block; }

/* ── Logo scroll ── */
.logo-scroll-section {
  padding: 36px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: #fff; overflow: hidden;
}
.logo-scroll-label {
  text-align: center; font-size: 12px; font-weight: 600;
  color: var(--text-dim); letter-spacing: 0.06em;
  text-transform: uppercase; margin-bottom: 24px;
}
.logo-track-wrapper { overflow: hidden; width: 100%; }
.logo-track {
  display: flex; gap: 72px; align-items: center;
  animation: scroll-logos 35s linear infinite;
  width: max-content;
  padding-left: 0;
}
.logo-track:hover { animation-play-state: paused; }
.logo-item {
  display: flex; align-items: center; gap: 8px;
  flex-shrink: 0;
}
.logo-item svg { height: 24px; width: auto; }
.logo-item .logo-text { font-size: 15px; font-weight: 800; color: #111; letter-spacing: -0.02em; }
@keyframes scroll-logos {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ── Sections ── */
.section { padding: 100px 0; }
.section-sm { padding: 72px 0; }
.section-soft { background: var(--bg-soft); }
.section-mid { background: var(--bg-mid); }
.section-dark {
  background: var(--dark-2);
  background-image: radial-gradient(ellipse 60% 40% at 50% 0%, rgba(37,99,235,0.12) 0%, transparent 70%);
  color: #fff;
}

/* ── Typography ── */
.eyebrow { font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
.eyebrow-dark { color: #60a5fa; }
h2 { font-size: clamp(30px, 4vw, 48px); font-weight: 900; letter-spacing: -0.03em; line-height: 1.1; }
h3 { font-size: 19px; font-weight: 700; letter-spacing: -0.01em; }
.lead { font-size: 18px; color: var(--text-muted); line-height: 1.7; }
.lead-dark { color: var(--text-dark-muted); }
.text-center { text-align: center; }
.text-center .lead, .text-center .lead-dark { max-width: 560px; margin: 0 auto; }

/* ── Problem section ── */
.problem-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; margin-top: 56px; }
.problem-cell { background: #fff; padding: 32px 28px; border: 1px solid var(--border); }
.problem-cell:first-child { border-radius: 12px 0 0 0; }
.problem-cell:nth-child(3) { border-radius: 0 12px 0 0; }
.problem-cell:nth-child(4) { border-radius: 0 0 0 12px; }
.problem-cell:last-child { border-radius: 0 0 12px 0; }
.problem-icon { font-size: 28px; margin-bottom: 14px; }
.problem-title { font-size: 16px; font-weight: 700; margin-bottom: 8px; color: var(--text); }
.problem-desc { font-size: 14px; color: var(--text-muted); line-height: 1.7; }

/* ── Feature splits ── */
.feature-split { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; margin-bottom: 96px; }
.feature-split:last-child { margin-bottom: 0; }
.feature-split.reverse .feature-split-content { order: 2; }
.feature-split.reverse .feature-split-visual { order: 1; }
.feature-split-eyebrow { font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); margin-bottom: 12px; }
.feature-split h2 { margin-bottom: 16px; font-size: clamp(24px, 3vw, 36px); }
.feature-split-desc { font-size: 16px; color: var(--text-muted); line-height: 1.8; margin-bottom: 24px; }
.feature-list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.feature-list li { display: flex; gap: 10px; font-size: 14px; color: var(--text-muted); align-items: flex-start; }
.feature-list .check { color: var(--green); flex-shrink: 0; font-size: 15px; margin-top: 1px; }
.feature-split-visual { background: var(--bg-soft); border: 1px solid var(--border); border-radius: 16px; padding: 28px; overflow: hidden; }

/* ── Steps ── */
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; margin-top: 64px; position: relative; }
.steps-grid::before { content: ''; position: absolute; top: 26px; left: 12%; right: 12%; height: 1px; background: linear-gradient(90deg, transparent, var(--border), transparent); }
.step-card { text-align: center; position: relative; z-index: 1; }
.step-num { width: 52px; height: 52px; border-radius: 50%; background: var(--accent); color: #fff; font-size: 18px; font-weight: 800; display: flex; align-items: center; justify-content: center; margin: 0 auto 18px; border: 4px solid var(--bg); box-shadow: 0 0 0 1px var(--border), 0 4px 12px rgba(37,99,235,0.3); }
.step-title { font-size: 15px; font-weight: 700; margin-bottom: 8px; }
.step-desc { font-size: 13px; color: var(--text-muted); line-height: 1.6; }

/* ── Pricing ── */
.pricing-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 56px; max-width: 760px; margin-left: auto; margin-right: auto; }
.pricing-card { background: #fff; border: 1.5px solid var(--border); border-radius: 18px; padding: 36px; transition: box-shadow 0.2s; text-align: left; }
.pricing-card:hover { box-shadow: var(--shadow); }
.pricing-card.featured { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(37,99,235,0.08); }
.pricing-chip { display: inline-block; background: var(--accent); color: #fff; border-radius: 20px; padding: 4px 14px; font-size: 11px; font-weight: 700; letter-spacing: 0.04em; margin-bottom: 20px; }
.pricing-name { font-size: 20px; font-weight: 800; margin-bottom: 6px; letter-spacing: -0.02em; }
.pricing-price { font-size: 52px; font-weight: 900; letter-spacing: -0.04em; color: var(--text); margin-bottom: 4px; line-height: 1; }
.pricing-price span { font-size: 18px; font-weight: 500; color: var(--text-muted); }
.pricing-tagline { font-size: 13px; color: var(--text-muted); margin-bottom: 28px; line-height: 1.6; }
.pricing-features { list-style: none; margin-bottom: 32px; }
.pricing-features li { display: flex; gap: 10px; font-size: 14px; color: var(--text-muted); padding: 8px 0; border-bottom: 1px solid var(--bg-soft); align-items: flex-start; }
.pricing-features li:last-child { border-bottom: none; }
.pricing-features .check { color: var(--green); flex-shrink: 0; margin-top: 1px; }

/* ── Comparison table ── */
.comp-table { width: 100%; border-collapse: separate; border-spacing: 0; margin-top: 56px; border-radius: 16px; overflow: hidden; border: 1px solid var(--border); }
.comp-table th, .comp-table td { padding: 14px 22px; text-align: left; font-size: 14px; border-bottom: 1px solid var(--border); }
.comp-table th { font-size: 12px; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.05em; background: var(--bg-soft); }
.comp-table tr:last-child td { border-bottom: none; }
.comp-table td:first-child { font-weight: 500; color: var(--text); }
.col-us { background: var(--accent-dim); }
.col-us th { background: var(--accent); color: #fff; }
.check { color: var(--green); font-size: 16px; }
.cross { color: var(--text-dim); font-size: 18px; }

/* ── CTA ── */
.cta-section {
  background: var(--dark);
  background-image: radial-gradient(ellipse 70% 60% at 50% 100%, rgba(37,99,235,0.2) 0%, transparent 70%);
  padding: 120px 32px; text-align: center; color: #fff;
}
.cta-section h2 { color: #fff; margin-bottom: 16px; }

/* ── FAQ ── */
.faq { max-width: 680px; margin: 56px auto 0; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-btn { width: 100%; background: none; border: none; padding: 20px 0; font-size: 16px; font-weight: 600; color: var(--text); text-align: left; cursor: pointer; font-family: inherit; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq-btn:hover { color: var(--accent); }
.faq-answer { font-size: 15px; color: var(--text-muted); line-height: 1.8; padding-bottom: 20px; display: none; }
.faq-item.open .faq-answer { display: block; }
.faq-chevron { flex-shrink: 0; transition: transform 0.25s; }
.faq-item.open .faq-chevron { transform: rotate(180deg); }

/* ── Footer ── */
footer { background: var(--dark); color: #fff; padding: 64px 32px 32px; }
.footer-inner { max-width: 1120px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-brand-icon { width: 120px; height: auto; margin-bottom: 20px; display: block; }
.footer-brand p { font-size: 14px; color: var(--text-dark-muted); line-height: 1.7; max-width: 240px; }
.footer-col h4 { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-dark-dim); margin-bottom: 16px; }
.footer-col a { display: block; font-size: 14px; color: var(--text-dark-muted); margin-bottom: 10px; transition: color 0.15s; }
.footer-col a:hover { color: #fff; }
.footer-bottom { max-width: 1120px; margin: 0 auto; padding-top: 28px; border-top: 1px solid var(--border-dark); display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: var(--text-dark-dim); flex-wrap: wrap; gap: 8px; }

/* ── Hamburger & mobile menu ── */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  margin-left: auto;
  border-radius: 8px;
  transition: background 0.15s;
}
.hamburger span {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: #fff;
  transition: transform 0.25s ease, opacity 0.2s ease, width 0.2s ease;
  transform-origin: center;
}
.nav.light-mode .hamburger span { background: var(--text); }
.hamburger:hover { background: rgba(255,255,255,0.1); }
.nav.light-mode .hamburger:hover { background: var(--bg-soft); }

/* X state */
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile slide-down menu */
.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 12px 16px 20px;
  background: rgba(10,13,20,0.97);
  backdrop-filter: blur(16px);
  border-top: 1px solid rgba(255,255,255,0.1);
  position: fixed;
  top: 60px;
  right: 0;
  width: 50%;
  z-index: 99;
  box-shadow: -4px 8px 32px rgba(0,0,0,0.4);
  border-radius: 0 0 0 12px;
}
.nav.light-mode .mobile-menu {
  background: rgba(255,255,255,0.98);
  border-top: 1px solid var(--border);
  box-shadow: -4px 8px 32px rgba(0,0,0,0.08);
}
.mobile-menu a {
  display: block;
  padding: 12px 8px;
  font-size: 16px;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  border-radius: 8px;
  transition: background 0.15s, color 0.15s;
}
.mobile-menu a:hover { background: rgba(255,255,255,0.08); color: #fff; }
.nav.light-mode .mobile-menu a { color: var(--text-muted); }
.nav.light-mode .mobile-menu a:hover { background: var(--bg-soft); color: var(--text); }
.mobile-menu-divider {
  height: 1px;
  background: rgba(255,255,255,0.1);
  margin: 8px 0;
}
.nav.light-mode .mobile-menu-divider { background: var(--border); }
.mobile-menu-signin {
  font-size: 15px !important;
  font-weight: 600 !important;
  color: rgba(255,255,255,0.6) !important;
}
.nav.light-mode .mobile-menu-signin { color: var(--text-muted) !important; }
.mobile-menu .btn {
  margin-top: 4px;
  padding: 13px 20px;
  font-size: 15px;
  border-radius: 10px;
}
.mobile-menu .btn-primary { color: #fff !important; }
.mobile-menu.open { display: flex; }

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

/* ── Responsive ── */
@media (max-width: 900px) {
  .aw-list { display: none; }
  .aw-sidebar { width: 160px; }
  .feature-split, .feature-split.reverse { grid-template-columns: 1fr; gap: 40px; }
  .feature-split.reverse .feature-split-content { order: unset; }
  .feature-split.reverse .feature-split-visual { order: unset; }
  .problem-grid { grid-template-columns: 1fr 1fr; }
  .steps-grid { grid-template-columns: 1fr 1fr; }
  .steps-grid::before { display: none; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  /* Nav */
  .nav { padding: 0 16px; height: 60px; }
  .nav-logo img { height: 40px; }
  /* Hide desktop nav links and CTA on mobile */
  .nav-links { display: none; }
  .nav-cta { display: none; }

  /* Hero */
  .hero-inner { padding: 48px 20px 40px; }
  .hero h1 { font-size: clamp(32px, 9vw, 44px); }
  .hero-sub { font-size: 15px; }
  .hero-actions { gap: 10px; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .btn-xl { padding: 14px 24px; font-size: 15px; }
  .btn-lg { padding: 11px 20px; font-size: 14px; }

  /* App window — hide on small screens, replace with simple graphic */
  .app-window { display: none; }
  .mobile-hero-stats { display: flex !important; justify-content: center; }

  /* Sections */
  .section { padding: 64px 0; }
  .section-sm { padding: 48px 0; }
  .container { padding: 0 20px; }
  .container-sm { padding: 0 20px; }

  /* Typography */
  h2 { font-size: clamp(26px, 7vw, 36px); }
  .lead { font-size: 15px; }
  .feature-split h2 { font-size: clamp(24px, 6vw, 32px); }
  .feature-split-desc { font-size: 14px; }

  /* Problem grid */
  .problem-grid { grid-template-columns: 1fr; gap: 1px; }
  .problem-cell { padding: 24px 20px; }
  .problem-cell:first-child { border-radius: 12px 12px 0 0; }
  .problem-cell:nth-child(3) { border-radius: 0; }
  .problem-cell:nth-child(4) { border-radius: 0; }
  .problem-cell:last-child { border-radius: 0 0 12px 12px; }

  /* Steps */
  .steps-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .step-card { padding: 0 4px; }

  /* Pricing */
  .pricing-grid { grid-template-columns: 1fr; max-width: 100%; }
  .pricing-card { padding: 28px 24px; }
  .pricing-price { font-size: 44px; }

  /* Comparison table — horizontal scroll */
  .comp-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: 12px; }
  .comp-table { min-width: 520px; }
  .comp-table th, .comp-table td { padding: 12px 14px; font-size: 13px; }

  /* Feature split visuals — tighten padding */
  .feature-split-visual { padding: 18px; }

  /* CTA section */
  .cta-section { padding: 72px 20px; }
  .cta-btns { flex-direction: column !important; align-items: stretch !important; }
  .cta-btns .btn { width: 100%; justify-content: center; }

  /* Logo scroll */
  .logo-scroll-section { padding: 20px 0; }

  /* Footer */
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  footer { padding: 48px 20px 24px; }
  .footer-bottom { flex-direction: column; text-align: center; gap: 4px; }
  .footer-brand p { max-width: 100%; }
}
