/* Modern Light Theme */

:root {
  --bg: #fafbff;            /* very light blue-tinted white */
  --bg-2: #f0f4ff;          /* light blue-gray */
  --grid: rgba(99,102,241,.03);
  --text: #0f172a;
  --text-dim: #475569;
  --muted: #64748b;
  --brand: #6366f1;         /* indigo */
  --brand-2: #3b82f6;       /* blue */
  --accent: #10b981;        /* emerald green */
  --accent-2: #f59e0b;      /* amber */
  --border: rgba(99,102,241,.12);
  --card: rgba(255,255,255,.95);
  --soft: #f1f5ff;
  --radius: 20px;
  --shadow: 0 10px 40px rgba(99,102,241,.08);
  --shadow-lg: 0 20px 60px rgba(99,102,241,.15);
}

* { box-sizing: border-box; }
html, body { height: 100%; margin: 0; padding: 0; }
body {
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, "Noto Sans", Arial, "Apple Color Emoji", "Segoe UI Emoji";
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-image:
    radial-gradient(ellipse 1400px 800px at 20% 10%, rgba(99,102,241,.12), transparent 50%),
    radial-gradient(ellipse 1000px 700px at 80% 20%, rgba(59,130,246,.08), transparent 50%),
    radial-gradient(ellipse 900px 600px at 50% 90%, rgba(16,185,129,.06), transparent 50%);
  background-attachment: fixed;
}
a { color: inherit; text-decoration: none; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 16px; }
.center { text-align: center; }
.accent { color: var(--accent); font-weight: 700; }
strong { font-weight: 700; color: var(--text); }
.small-note { font-size: 12px; }
.section-divider { border-top: 1px solid var(--border); }
.soft { background: var(--soft); }

/* Subtle grid overlay */
.dark-gradient {
  position: relative;
  overflow: hidden;
}
.dark-gradient::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(transparent 95%, var(--grid) 95%), linear-gradient(90deg, transparent 95%, var(--grid) 95%);
  background-size: 40px 40px;
  pointer-events: none;
  opacity: .35;
}

/* Header */
header { position: sticky; top: 0; z-index: 50; backdrop-filter: blur(16px) saturate(180%); background: rgba(255,255,255,.85); border-bottom: 1px solid rgba(99,102,241,.1); box-shadow: 0 4px 20px rgba(99,102,241,.04); }
.nav { display:flex; align-items:center; justify-content:space-between; gap:16px; padding: 16px 0; }
.brand { display:flex; align-items:center; gap:12px; font-weight:700; color: var(--text); font-size: 18px; }
.brand .logo { width:32px; height:32px; display:grid; place-items:center; border-radius:12px; background:linear-gradient(135deg,#6366f1,#8b5cf6); color:#fff; font-size:16px; box-shadow: 0 8px 20px rgba(99,102,241,.35); }
.nav a { font-size:14px; color: var(--text); opacity:.85; transition:.2s; }
.nav a:hover { opacity:1; text-decoration: underline; }
.desktop-nav { display:flex; gap:16px; align-items:center; }

/* Language Switcher */
.lang-switcher {
  display: flex;
  gap: 4px;
  align-items: center;
  background: rgba(99,102,241,.08);
  padding: 4px;
  border-radius: 999px;
  margin-left: 8px;
}

.lang-btn {
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  background: transparent;
  border: none;
  cursor: pointer;
  transition: all .2s;
  opacity: .6;
}

.lang-btn:hover {
  opacity: 1;
  background: rgba(99,102,241,.1);
}

.lang-btn.active {
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  color: #fff;
  opacity: 1;
  box-shadow: 0 2px 8px rgba(99,102,241,.25);
}

/* Mobile Navigation */
.mobile-nav { display: none; }
.mobile-menu { display: none; }
.mobile-lang-switcher { display: none; }

/* Hamburger Menu */
.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 22px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 100;
}

.hamburger span {
  display: block;
  height: 3px;
  width: 100%;
  background: var(--text);
  border-radius: 3px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.hamburger.active span:nth-child(1) {
  transform: translateY(9.5px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-9.5px) rotate(-45deg);
}

/* Buttons */
.btn { display:inline-flex; align-items:center; gap:8px; padding:14px 24px; border-radius:999px; background:linear-gradient(135deg, #6366f1, #8b5cf6); color:#fff; font-weight:700; border:none; cursor:pointer; box-shadow: 0 8px 24px rgba(99,102,241,.35), 0 0 0 1px rgba(255,255,255,.2) inset; transition: all .3s cubic-bezier(0.4, 0, 0.2, 1); }
.btn:hover { transform: translateY(-2px); box-shadow: 0 16px 32px rgba(99,102,241,.4), 0 0 0 1px rgba(255,255,255,.3) inset; }
.btn.secondary { background: rgba(255,255,255,.8); color: var(--text); border:1px solid rgba(99,102,241,.2); box-shadow: 0 4px 12px rgba(99,102,241,.08); backdrop-filter: blur(8px); }
.btn.secondary:hover { background: rgba(255,255,255,.95); border-color: rgba(99,102,241,.3); box-shadow: 0 8px 20px rgba(99,102,241,.12); transform: translateY(-2px); }

/* Hero */
.hero {
  background: linear-gradient(135deg, rgba(250,251,255,0.95) 0%, rgba(230,240,255,0.92) 100%),
              url('img/hore_bg.png') right center / cover no-repeat;
  position: relative;
}
.hero-grid { display:grid; grid-template-columns: 1.2fr 1fr; gap:48px; padding-top:64px; padding-bottom:64px; align-items:start; position: relative; }
.h1 { font-size: clamp(36px, 5vw, 56px); line-height:1.08; margin:20px 0 0; font-weight:900; letter-spacing:-.03em; color: var(--text); }
.h1::after { content: ''; display: block; width: 80px; height: 5px; background: linear-gradient(90deg, #6366f1, #8b5cf6); border-radius: 999px; margin-top: 20px; }
.lead { margin:24px 0 0; color: var(--text-dim); font-size:19px; line-height:1.75; font-weight: 400; }
.pill-list { display:grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap:14px; margin-top:28px; }
.pill { display:flex; align-items:center; gap:10px; background: linear-gradient(135deg, rgba(255,255,255,.95), rgba(255,255,255,.85)); border:1px solid rgba(99,102,241,.15); border-radius: 16px; padding:14px 18px; box-shadow: 0 4px 16px rgba(99,102,241,.08); font-size:14px; color: var(--text); backdrop-filter: blur(8px); font-weight: 500; transition: all .3s; }
.pill:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(99,102,241,.12); border-color: rgba(99,102,241,.25); }
.cta-row { display:flex; gap:16px; margin-top:32px; flex-wrap:wrap; }

/* Ratings badges */
.ratings-row { display:flex; gap:12px; align-items:center; margin-bottom:16px; flex-wrap: wrap; }
.badge { display:flex; align-items:center; gap:8px; padding:8px 14px; border-radius:999px; background: linear-gradient(135deg, rgba(255,255,255,.95), rgba(255,255,255,.8)); border:1px solid rgba(99,102,241,.12); font-weight:700; color: var(--text); box-shadow: 0 4px 12px rgba(99,102,241,.06); backdrop-filter: blur(8px); font-size: 13px; }
.badge .icon { opacity:.95; font-size: 14px; }
.badge .stars { letter-spacing: 2px; font-size:11px; opacity:.9; color: #f59e0b; }
.badge.trustpilot { border-color: rgba(34,197,94,.2); }
.badge.trustpilot .icon { color:#22c55e; }
.badge.g2 { border-color: rgba(249,115,22,.2); }
.badge.g2 .icon { color:#f97316; }
.badge.capterra { border-color: rgba(251,146,60,.2); }
.badge.capterra .icon { color:#fb923c; }

/* Cards (glassmorphism) */
.card { background: rgba(255,255,255,.95); border:1px solid rgba(99,102,241,.1); border-radius:24px; box-shadow: 0 12px 48px rgba(99,102,241,.08), 0 0 0 1px rgba(255,255,255,.5) inset; transition: all .3s cubic-bezier(0.4, 0, 0.2, 1); }
.card:hover { transform: translateY(-4px); box-shadow: 0 20px 64px rgba(99,102,241,.12), 0 0 0 1px rgba(255,255,255,.6) inset; }
.card.glass { background: linear-gradient(135deg, rgba(255,255,255,.98), rgba(249,250,251,.95)); backdrop-filter: blur(12px); }
.card .card-body { padding:28px; color: var(--text); }
.card-title { margin:0 0 8px; font-size:22px; font-weight:800; color: var(--text); background: linear-gradient(135deg, #6366f1, #8b5cf6); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.muted { color: var(--text-dim); }
.elig-list { display:grid; gap:16px; margin-top: 20px; }
.elig { display:flex; gap:14px; align-items: flex-start; }
.elig > div:first-child { font-size: 22px; line-height: 1; flex-shrink: 0; }
.elig b { font-weight: 700; color: var(--text); font-size: 15px; }
.sub { font-size:14px; color: var(--muted); line-height: 1.6; margin-top: 4px; }

/* Sections */
section { padding: 80px 0; }
.section-title { text-align:center; font-size:36px; font-weight:900; margin:0 auto 32px; letter-spacing:-.02em; color: var(--text); max-width: 800px; }
.section-title::before { content: ''; display: block; width: 60px; height: 4px; background: linear-gradient(90deg, #6366f1, #8b5cf6); border-radius: 999px; margin: 0 auto 16px; }
.grid { display:grid; gap:28px; }
.two-col { grid-template-columns: 1fr 1fr; }

/* Inputs */
.input, .select {
  width: 100%; padding: 14px 16px; border:1px solid rgba(99,102,241,.2); border-radius: 16px; font-size: 16px; transition: all .3s; background: rgba(255,255,255,.9); color: var(--text); box-shadow: 0 2px 8px rgba(99,102,241,.04);
}
.input::placeholder { color: #9ca3af; }
.input:hover, .select:hover { border-color: rgba(99,102,241,.3); }
.input:focus, .select:focus { outline:none; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(99,102,241,.15), 0 4px 16px rgba(99,102,241,.08); background: #fff; transform: translateY(-1px); }

/* Trusted strip */
.trusted-strip { padding: 28px 0 18px; background: transparent; }
.trusted-title { text-align:center; color: var(--text-dim); letter-spacing:.08em; font-size:12px; margin-bottom: 14px; }
.logo-row { display:grid; grid-template-columns: repeat(6, minmax(0,1fr)); gap: 22px; align-items:center; }
.logo { height: 34px; display:grid; place-items:center; color: var(--muted); opacity:.7; border:1px dashed rgba(0,0,0,.12); border-radius:10px; padding: 8px 12px; }
.logo img { max-height: 100%; max-width: 100%; object-fit: contain; }
.logo.placeholder { font-weight:700; font-size:12px; text-transform: uppercase; letter-spacing:.06em; }

/* Comparison Calculator */
.comp-card { padding: 32px; background: linear-gradient(135deg, rgba(255,255,255,.9), rgba(249,250,251,.85)); border-radius: 24px; backdrop-filter: blur(12px); }
.comp-controls { display:flex; flex-direction:column; align-items:center; gap:12px; }
.calc-label { font-weight:800; font-size:20px; color: var(--text); }
.range { -webkit-appearance:none; appearance:none; width:min(720px,100%); height:10px; background: linear-gradient(90deg, rgba(99,102,241,.2), rgba(139,92,246,.2)); border-radius:999px; outline:none; }
.range::-webkit-slider-thumb { -webkit-appearance:none; width:28px; height:28px; border-radius:50%; background: linear-gradient(135deg, #6366f1, #8b5cf6); border:3px solid #fff; box-shadow:0 6px 20px rgba(99,102,241,.4), 0 0 0 2px rgba(99,102,241,.1); cursor:pointer; transition: all .2s; }
.range::-webkit-slider-thumb:hover { transform: scale(1.1); box-shadow:0 8px 24px rgba(99,102,241,.5), 0 0 0 3px rgba(99,102,241,.15); }
.range::-moz-range-thumb { width:28px; height:28px; border-radius:50%; background: linear-gradient(135deg, #6366f1, #8b5cf6); border:3px solid #fff; box-shadow:0 6px 20px rgba(99,102,241,.4), 0 0 0 2px rgba(99,102,241,.1); cursor:pointer; }
.ticks { display:flex; width:min(720px,100%); justify-content:space-between; font-size:12px; color:var(--text-dim); margin-top:-6px; }

.comp-grid { display:grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap:20px; margin-top:24px; }
.brand-box { border:1px solid rgba(99,102,241,.1); border-radius:20px; padding:24px 18px; background: linear-gradient(135deg, rgba(255,255,255,.98), rgba(255,255,255,.92)); box-shadow: 0 8px 32px rgba(99,102,241,.08); text-align:center; position:relative; transition: all .3s cubic-bezier(0.4, 0, 0.2, 1); }
.brand-box:hover { transform: translateY(-4px); box-shadow: 0 16px 48px rgba(99,102,241,.12); }
.brand-name { font-weight:900; letter-spacing:.02em; color: var(--text); font-size: 15px; }
.brand-value { font-size:32px; font-weight:900; margin-top:8px; color: var(--text); }
.brand-rate { font-size:12px; color:var(--text-dim); margin-top:6px; }

/* Specific brand accents */
.swiggy { color:#f97316; font-weight:800; }    /* orange */
.zomato { color:#ef4444; font-weight:800; }    /* red */
.blinkit { color:#10b981; font-weight:800; }   /* green */
.ours-name { background: linear-gradient(135deg, #6366f1, #8b5cf6); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; } /* gradient blue/purple */

.highlighted { border:2px solid rgba(99,102,241,.4); box-shadow: 0 16px 48px rgba(99,102,241,.25), 0 0 0 1px rgba(255,255,255,.8) inset; background: linear-gradient(135deg, rgba(99,102,241,.08), rgba(139,92,246,.05)); transform: scale(1.02); }
.ribbon { position:absolute; top:12px; left:12px; background:linear-gradient(135deg, #6366f1, #8b5cf6); color:#fff; font-weight:800; font-size:11px; padding:5px 10px; border-radius:999px; letter-spacing:.04em; box-shadow: 0 4px 12px rgba(99,102,241,.35); }
.launch-note { margin-top:6px; font-size:12px; color: var(--accent); font-weight:800; }

.note-row { display:flex; align-items:center; gap:16px; justify-content:center; margin-top:24px; color: var(--text); font-size: 15px; font-weight: 600; }
.switch { position: relative; display: inline-block; width: 52px; height: 30px; }
.switch input { opacity: 0; width: 0; height: 0; }
.slider { position: absolute; cursor: pointer; top:0; left:0; right:0; bottom:0; background-color:rgba(99,102,241,.15); transition:.3s; border-radius: 999px; border: 1px solid rgba(99,102,241,.2); }
.slider:before { position: absolute; content: ""; height: 24px; width: 24px; left: 2px; bottom: 2px; background-color: #fff; transition: .3s cubic-bezier(0.4, 0, 0.2, 1); border-radius: 50%; box-shadow: 0 4px 12px rgba(99,102,241,.2); }
.switch input:checked + .slider { background: linear-gradient(135deg, #6366f1, #8b5cf6); border-color: transparent; }
.switch input:checked + .slider:before { transform: translateX(22px); box-shadow: 0 4px 16px rgba(99,102,241,.4); }

.comp-cta { display:flex; justify-content:center; margin-top:20px; }

/* Form */
form .row { display:grid; grid-template-columns: 1fr 1fr; gap:16px; }
form label { display:block; font-size:14px; margin-bottom:6px; color:var(--text-dim); }
form .full { grid-column: 1 / -1; }
.checkrow { display:flex; gap:10px; align-items:flex-start; color: var(--text-dim); }
.actions { display:flex; gap:12px; align-items:center; margin-top:18px; }
.contact-row { display:flex; justify-content:center; gap:24px; margin-top:14px; color:var(--text-dim); font-size:14px; flex-wrap:wrap; }
.footer-row { display:flex; justify-content:space-between; gap:16px; flex-wrap:wrap; color: var(--text-dim); }

/* FAQ - Old accordion styles (kept for backwards compatibility) */
.faq { border:1px solid rgba(99,102,241,.12); border-radius:20px; overflow:hidden; background: rgba(255,255,255,.95); box-shadow: 0 8px 32px rgba(99,102,241,.08); backdrop-filter: blur(12px); }
.faq-item { border-top:1px solid rgba(99,102,241,.08); }
.faq-item:first-child { border-top:none; }
.faq-q { width:100%; display:flex; align-items:center; justify-content:space-between; padding:18px 24px; background:transparent; border:none; font-weight:700; cursor:pointer; text-align:left; transition: all .3s; color: var(--text); font-size: 16px; }
.faq-q:hover { background: rgba(99,102,241,.04); }
.faq-a { padding:0 24px 20px; color:var(--text-dim); display:none; line-height:1.7; font-size: 15px; }
.faq-item.open .faq-a { display:block; animation: fadeIn .3s ease; }
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Q&A Cards - New open design */
.qa-card {
  background: linear-gradient(135deg, rgba(255,255,255,.98), rgba(255,255,255,.92));
  border: 1px solid rgba(99,102,241,.12);
  border-radius: 16px;
  padding: 24px 26px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 8px rgba(99,102,241,.04);
}

.qa-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(99,102,241,.12);
  border-color: rgba(99,102,241,.2);
}

.qa-question {
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 12px;
  line-height: 1.4;
  position: relative;
  padding-left: 24px;
}

.qa-question::before {
  content: 'Q';
  position: absolute;
  left: 0;
  top: 0;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  color: #fff;
  font-weight: 800;
  border-radius: 6px;
  font-size: 12px;
  line-height: 1;
}

.qa-answer {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-dim);
  padding-left: 24px;
}

/* Checklist */
.checklist {
  list-style: none;
  padding: 0;
  margin: 0;
}

.checklist li {
  padding: 10px 0;
  padding-left: 32px;
  position: relative;
  color: var(--text);
  font-size: 15px;
  line-height: 1.6;
}

.checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(16,185,129,.15), rgba(16,185,129,.08));
  color: var(--accent);
  font-weight: 800;
  border-radius: 50%;
  font-size: 12px;
}

/* Compact Leaderboard Widget (Desktop) */
.leaderboard-widget {
  position: sticky;
  top: 100px;
  max-width: 380px;
}

/* Mobile Leaderboard */
.leaderboard-mobile {
  display: none;
}

@media (max-width: 1024px) {
  .leaderboard-mobile {
    display: block;
  }
}

.lb-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  background: rgba(99,102,241,.02);
  border-radius: 12px;
  border: 1px solid rgba(99,102,241,.08);
  transition: all .2s;
}

.lb-item.lb-top {
  background: linear-gradient(135deg, rgba(245,158,11,.08), rgba(245,158,11,.04));
  border-color: rgba(245,158,11,.2);
}

.lb-rank {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 13px;
  background: rgba(99,102,241,.1);
  color: var(--muted);
  flex-shrink: 0;
}

.lb-rank-1 {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #fff;
  font-size: 14px;
}

.lb-rank-2 {
  background: linear-gradient(135deg, #d1d5db, #9ca3af);
  color: #fff;
}

.lb-rank-3 {
  background: linear-gradient(135deg, #cd7f32, #a0522d);
  color: #fff;
}

.lb-info {
  flex: 1;
  min-width: 0;
}

.lb-name {
  font-weight: 600;
  font-size: 14px;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.lb-city {
  font-size: 11px;
  color: var(--muted);
  margin-top: 2px;
}

.lb-earnings {
  font-weight: 800;
  font-size: 15px;
  color: var(--text);
  flex-shrink: 0;
}

.lb-blurred {
  position: relative;
  display: grid;
  gap: 12px;
  margin-top: 12px;
}

.lb-blurred::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 0%, rgba(250,251,255,.9) 30%, rgba(250,251,255,1) 80%);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 1;
  pointer-events: none;
  border-radius: 12px;
}

.lb-blurred .lb-item {
  opacity: 0.4;
  filter: blur(0.5px);
}

/* Footer */
footer { border-top:1px solid rgba(99,102,241,.1); padding:40px 0; background:transparent; font-size:14px; margin-top: 40px; }

/* ============================================ */
/* RESPONSIVE DESIGN - Mobile Optimization */
/* ============================================ */

/* Large tablets and small desktops */
@media (max-width: 1024px) {
  .two-col { grid-template-columns: 1fr; }
  .comp-grid { grid-template-columns: 1fr 1fr; }
  .logo-row { grid-template-columns: repeat(3, 1fr); }

  .hero-grid {
    gap: 32px;
  }

  .comp-card {
    padding: 20px;
  }

  /* Hide leaderboard on tablets too */
  .leaderboard-widget {
    display: none;
  }
}

/* Tablets and mobile landscape */
@media (max-width: 768px) {
  /* Mobile header - larger and more prominent */
  header {
    padding: 0;
  }

  .nav {
    padding: 14px 14px;
  }

  .brand {
    font-size: 17px;
  }

  .brand .logo {
    width: 34px;
    height: 34px;
    font-size: 16px;
  }

  /* Hide desktop nav, show mobile nav */
  .desktop-nav {
    display: none;
  }

  .mobile-nav {
    display: flex;
    align-items: center;
    gap: 12px;
  }

  /* Mobile language switcher - compact version */
  .mobile-lang-switcher {
    display: flex !important;
    gap: 3px;
    padding: 3px;
    background: rgba(99,102,241,.08);
    border-radius: 999px;
    margin-left: 0;
  }

  .mobile-lang-switcher .lang-btn {
    padding: 5px 10px;
    font-size: 12px;
    font-weight: 600;
    opacity: 0.6;
    transition: all 0.2s;
  }

  .mobile-lang-switcher .lang-btn:hover {
    opacity: 1;
    background: rgba(99,102,241,.1);
  }

  .mobile-lang-switcher .lang-btn.active {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: #fff;
    opacity: 1;
    box-shadow: 0 2px 8px rgba(99,102,241,.25);
  }

  /* Mobile dropdown menu */
  .mobile-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(255,255,255,.98);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(99,102,241,.1);
    box-shadow: 0 8px 32px rgba(99,102,241,.12);
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1), padding 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .mobile-menu.active {
    display: block;
    max-height: 300px;
    padding: 12px 0;
  }

  .mobile-menu a {
    display: block;
    padding: 14px 20px;
    color: var(--text);
    font-size: 16px;
    font-weight: 600;
    border-bottom: 1px solid rgba(99,102,241,.06);
    transition: all 0.2s;
  }

  .mobile-menu a:hover {
    background: rgba(99,102,241,.05);
    padding-left: 24px;
  }

  .mobile-menu a.btn {
    margin: 12px 20px 8px;
    border: none;
    border-radius: 999px;
    text-align: center;
    padding: 14px 24px;
  }

  .mobile-menu a.btn:hover {
    padding: 14px 24px;
    transform: translateY(-2px);
  }

  section { padding: 48px 0; }
  .container { padding: 0 20px; }

  /* Typography */
  .h1 {
    font-size: 36px;
    line-height: 1.1;
  }
  .section-title {
    font-size: 28px;
    margin-bottom: 20px;
  }
  .lead {
    font-size: 16px;
    line-height: 1.6;
  }

  /* Hero section */
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-top: 40px;
    padding-bottom: 40px;
  }

  /* Ratings badges - wrap on smaller screens */
  .ratings-row {
    flex-wrap: wrap;
    gap: 10px;
  }

  .badge {
    padding: 6px 10px;
    font-size: 13px;
  }

  .badge .stars {
    font-size: 11px;
  }

  /* Pills */
  .pill-list {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .pill {
    padding: 8px 10px;
    font-size: 13px;
  }

  /* Cards */
  .card .card-body {
    padding: 24px 18px;
  }

  .card-title {
    font-size: 18px;
    margin-bottom: 12px;
    line-height: 1.3;
  }

  .card.glass {
    margin-bottom: 20px;
  }

  /* Eligibility list */
  .elig-list {
    gap: 18px;
  }

  .elig {
    gap: 12px;
    line-height: 1.6;
  }

  .sub {
    font-size: 14px;
    line-height: 1.6;
  }

  /* Calculator */
  .comp-controls {
    gap: 8px;
  }

  .calc-label {
    font-size: 16px;
  }

  .range {
    width: 100%;
  }

  .brand-box {
    padding: 14px;
  }

  .brand-value {
    font-size: 26px;
  }

  .ribbon {
    font-size: 10px;
    padding: 3px 7px;
  }

  /* Trusted strip */
  .logo-row {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }

  .logo {
    height: 30px;
    font-size: 11px;
  }

  /* Form */
  form .row {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  form label {
    font-size: 14px;
    margin-bottom: 7px;
  }

  .input, .select {
    font-size: 16px; /* Prevents iOS zoom */
    padding: 13px 15px;
  }

  .checkrow {
    line-height: 1.5;
  }

  /* Footer */
  .footer-row {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }
}

/* Mobile portrait */
@media (max-width: 520px) {
  /* Hide leaderboard widget on mobile */
  .leaderboard-widget {
    display: none;
  }

  .container {
    padding: 0 16px;
  }

  section {
    padding: 40px 0;
  }

  section.soft {
    padding: 36px 0;
  }

  /* Add more spacing between sections */
  .section-divider {
    margin-top: 20px;
    margin-bottom: 12px;
  }

  /* Better grid spacing */
  .grid {
    gap: 18px;
  }

  /* Typography */
  .h1 {
    font-size: 28px;
    line-height: 1.2;
    margin-bottom: 4px;
  }

  .section-title {
    font-size: 24px;
    margin-bottom: 20px;
    line-height: 1.25;
  }

  .lead {
    font-size: 15px;
    line-height: 1.65;
    margin-top: 16px;
  }

  /* Hero */
  .hero-grid {
    padding-top: 16px;
    padding-bottom: 28px;
    gap: 24px;
  }

  /* Ratings badges - compact horizontal */
  .ratings-row {
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 18px;
  }

  .badge {
    padding: 6px 10px;
    font-size: 11px;
    flex: 0 0 auto;
  }

  .badge .stars {
    display: none; /* Hide stars on mobile to save space */
  }

  /* Pills - single column */
  .pill-list {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 20px;
  }

  .pill {
    justify-content: flex-start;
    padding: 12px 14px;
    font-size: 14px;
  }

  /* CTA buttons */
  .cta-row {
    flex-direction: column;
    width: 100%;
    margin-top: 24px;
    gap: 12px;
  }

  .btn {
    width: 100%;
    justify-content: center;
    padding: 15px 16px;
    font-size: 14px;
    box-sizing: border-box;
  }

  .btn.secondary {
    padding: 13px 12px;
    font-size: 12px;
    letter-spacing: -0.01em;
  }

  /* Mobile header - keep it prominent even on small screens */
  .nav {
    padding: 12px 12px;
  }

  .brand {
    font-size: 16px;
  }

  .brand .logo {
    width: 32px;
    height: 32px;
    font-size: 15px;
  }

  .hamburger {
    width: 26px;
    height: 20px;
  }

  .mobile-menu a {
    font-size: 15px;
    padding: 12px 16px;
  }

  .mobile-menu a.btn {
    margin: 10px 16px 6px;
  }

  /* Calculator - single column with better spacing */
  .comp-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .comp-card {
    padding: 20px 16px;
  }

  .comp-controls {
    margin-bottom: 20px;
  }

  .calc-label {
    font-size: 15px;
    margin-bottom: 12px;
  }

  .range {
    margin-bottom: 8px;
  }

  .brand-box {
    padding: 14px 12px;
  }

  .brand-name {
    font-size: 13px;
    margin-bottom: 6px;
  }

  .brand-value {
    font-size: 22px;
    margin-top: 4px;
    margin-bottom: 4px;
  }

  .brand-rate {
    font-size: 11px;
    margin-top: 4px;
  }

  .launch-note {
    font-size: 10px;
    margin-top: 6px;
  }

  .ribbon {
    font-size: 9px;
    padding: 2px 6px;
    top: 8px;
    left: 8px;
  }

  .note-row {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 16px;
  }

  .note-row .calc-label {
    font-size: 13px;
    margin-bottom: 0;
  }

  .comp-cta {
    margin-top: 20px;
  }

  /* Trusted strip - hide on mobile, takes too much space */
  .trusted-strip {
    display: none;
  }

  /* Form improvements */
  form label {
    font-size: 14px;
    margin-bottom: 8px;
  }

  .input, .select {
    padding: 14px 16px;
    font-size: 16px;
    margin-bottom: 4px;
  }

  .checkrow {
    font-size: 14px;
    line-height: 1.5;
    margin-top: 4px;
  }

  .actions {
    flex-direction: column;
    align-items: stretch;
    margin-top: 20px;
  }

  .actions .btn {
    width: 100%;
    padding: 16px 20px;
  }

  /* Contact row */
  .contact-row {
    flex-direction: column;
    gap: 14px;
    margin-top: 18px;
  }

  /* Checklist improvements */
  .checklist li {
    padding: 10px 0;
    padding-left: 28px;
    line-height: 1.6;
    font-size: 15px;
  }

  /* FAQ - Old accordion */
  .faq {
    margin-top: 12px;
  }

  .faq-q {
    padding: 16px 18px;
    font-size: 15px;
    line-height: 1.4;
  }

  .faq-a {
    padding: 0 18px 16px;
    font-size: 14px;
    line-height: 1.65;
  }

  /* Q&A Cards - Mobile */
  .qa-card {
    padding: 18px 20px;
  }

  .qa-question {
    font-size: 16px;
    padding-left: 22px;
  }

  .qa-question::before {
    width: 18px;
    height: 18px;
    font-size: 11px;
  }

  .qa-answer {
    font-size: 14px;
    padding-left: 22px;
    line-height: 1.6;
  }

  /* Footer */
  footer {
    padding: 24px 0;
    font-size: 13px;
  }
}

/* Extra small devices */
@media (max-width: 380px) {
  .h1 {
    font-size: 24px;
  }

  .section-title {
    font-size: 22px;
  }

  .container {
    padding: 0 12px;
  }

  section {
    padding: 36px 0;
  }

  /* Hide ticks on very small screens */
  .ticks {
    display: none;
  }

  /* Compact badges */
  .badge {
    padding: 5px 8px;
    font-size: 12px;
  }

  .badge .stars {
    letter-spacing: 1px;
  }

  /* Compact cards */
  .card .card-body {
    padding: 14px;
  }

  /* Smaller brand boxes */
  .brand-value {
    font-size: 22px;
  }

  /* Navigation even more compact */
  nav {
    font-size: 11px;
  }

  .nav {
    padding: 10px 10px;
  }

  /* Logo grid - single column for extreme small */
  .logo-row {
    grid-template-columns: 1fr;
  }
}

/* Landscape orientation fixes */
@media (max-height: 600px) and (orientation: landscape) {
  section {
    padding: 32px 0;
  }

  .hero-grid {
    padding-top: 24px;
    padding-bottom: 24px;
  }
}

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {
  /* Larger touch targets */
  .btn {
    min-height: 44px;
    padding: 12px 20px;
  }

  .faq-q {
    min-height: 48px;
  }

  .chip {
    min-height: 36px;
  }

  /* Prevent double-tap zoom */
  * {
    touch-action: manipulation;
  }
}

/* High DPI screens */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.theme-dark {
    -webkit-font-smoothing: subpixel-antialiased;
  }
}
