/* ============================================================
   Logixinity — Main Stylesheet
   Theme: Option A — White/Light + Navy Blue (logo-matched)
   Logo colours: #1B3A5C (deep navy), #2E6B9E (steel blue), #4A8DBD (highlight)
   ============================================================ */

:root {
  --navy-950: #0d1f33;
  --navy-900: #1B3A5C;
  --navy-800: #2C4A6E;
  --navy-700: #2E6B9E;
  --navy-600: #4A8DBD;
  --navy-500: #6AADD4;

  --accent:       #2E6B9E;
  --accent-hover: #1B3A5C;
  --accent-light: #EBF4FB;

  --white:     #ffffff;
  --gray-50:   #F8FAFC;
  --gray-100:  #F1F5F9;
  --gray-200:  #E2E8F0;
  --gray-300:  #CBD5E1;
  --gray-500:  #64748B;
  --gray-700:  #334155;
  --gray-900:  #0F172A;

  --text-primary:   #1B3A5C;
  --text-secondary: #4A6080;
  --text-muted:     #7A90A8;

  --border:    #E2E8F0;
  --border-md: #CBD5E1;
  --card-bg:   #FFFFFF;
  --card-hover: #F8FAFC;
  --section-alt: #F5F8FB;

  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --shadow-sm: 0 1px 3px rgba(27,58,92,0.08), 0 1px 2px rgba(27,58,92,0.04);
  --shadow-md: 0 4px 16px rgba(27,58,92,0.10), 0 2px 6px rgba(27,58,92,0.06);
  --shadow-lg: 0 12px 40px rgba(27,58,92,0.14), 0 4px 12px rgba(27,58,92,0.08);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--white);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { cursor: pointer; font-family: var(--font); }

/* ============================================================
   UTILITY
   ============================================================ */

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 28px;
}

.section {
  padding: 96px 0;
}

.section-alt {
  background: var(--section-alt);
}

.section-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.section-title {
  font-size: 36px;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.2;
  margin-bottom: 14px;
}

.section-sub {
  font-size: 16px;
  color: var(--text-secondary);
  max-width: 520px;
  line-height: 1.7;
}

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

/* ============================================================
   NAVIGATION
   ============================================================ */

.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 90px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 700;
  color: var(--navy-900);
  letter-spacing: -0.02em;
}

.nav-logo-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  font-size: 14px;
  color: var(--text-secondary);
  transition: color 0.2s;
  font-weight: 500;
}

.nav-links a:hover { color: var(--navy-900); }

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

.btn-ghost {
  font-size: 14px;
  color: var(--text-secondary);
  padding: 8px 16px;
  background: none;
  border: none;
  transition: color 0.2s;
  font-weight: 500;
}

.btn-ghost:hover { color: var(--navy-900); }

.btn-primary {
  font-size: 14px;
  font-weight: 600;
  color: var(--white);
  background: var(--accent);
  padding: 9px 20px;
  border: none;
  border-radius: 8px;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  box-shadow: 0 2px 8px rgba(46,107,158,0.25);
}

.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(46,107,158,0.35);
}

.btn-outline {
  font-size: 14px;
  font-weight: 500;
  color: var(--accent);
  background: none;
  padding: 9px 20px;
  border: 1.5px solid var(--accent);
  border-radius: 8px;
  transition: border-color 0.2s, background 0.2s, color 0.2s;
}

.btn-outline:hover {
  background: var(--accent-light);
  border-color: var(--accent-hover);
  color: var(--accent-hover);
}

/* ============================================================
   HERO
   ============================================================ */

.hero {
  padding: 100px 0 88px;
  text-align: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #EBF4FB 0%, #FFFFFF 100%);
}

.hero::before {
  content: '';
  position: absolute;
  top: -80px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 600px;
  background: radial-gradient(ellipse, rgba(46,107,158,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  background: var(--accent-light);
  border: 1px solid rgba(46,107,158,0.2);
  padding: 5px 14px;
  border-radius: 99px;
  margin-bottom: 28px;
}

.hero-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero h1 {
  font-size: 60px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--navy-900);
  margin-bottom: 20px;
}

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

.hero-sub {
  font-size: 17px;
  color: var(--text-secondary);
  line-height: 1.65;
  margin: 0;
}

.hero-sub-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 40px;
  max-width: 780px;
  margin: 0 auto 40px;
  text-align: left;
}

.hero-sub-split .hero-sub {
  background: #ffffff;
  border: 1px solid var(--gray-200);
  border-radius: 14px;
  padding: 20px 22px;
}

.hero-sub-split .hero-sub strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--navy-900);
  letter-spacing: 0.02em;
  margin-bottom: 6px;
}

@media (max-width: 640px) {
  .hero-sub-split {
    grid-template-columns: 1fr;
  }
}

.hero-btns {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 52px;
}

.hero-btns .btn-primary {
  font-size: 15px;
  padding: 12px 28px;
}

.hero-btns .btn-outline {
  font-size: 15px;
  padding: 12px 28px;
}

.hero-pills {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  color: var(--text-secondary);
  background: var(--white);
  border: 1px solid var(--border);
  padding: 6px 14px;
  border-radius: 99px;
  box-shadow: var(--shadow-sm);
}

.pill-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
}

.pill-dot.teal   { background: #1DB896; }
.pill-dot.purple { background: #9f8fef; }
.pill-dot.blue   { background: var(--accent); }

/* ============================================================
   DIVIDER
   ============================================================ */

.divider {
  height: 1px;
  background: var(--border);
}

/* ============================================================
   PRODUCTS
   ============================================================ */

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin-top: 52px;
}

.product-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
  transition: box-shadow 0.2s, transform 0.2s;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.product-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.product-card.featured {
  border-color: rgba(46,107,158,0.35);
  border-top: 3px solid var(--accent);
}

.product-card.featured::after {
  content: 'Core product';
  position: absolute;
  top: 18px;
  right: 18px;
  font-size: 11px;
  font-weight: 600;
  color: var(--accent);
  background: var(--accent-light);
  border: 1px solid rgba(46,107,158,0.2);
  padding: 3px 10px;
  border-radius: 99px;
}

.product-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 20px;
}

.product-icon.teal   { background: rgba(29,184,150,0.12); color: #1DB896; }
.product-icon.purple { background: rgba(159,143,239,0.12); color: #9f8fef; }
.product-icon.blue   { background: var(--accent-light); color: var(--accent); }

.product-card h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.product-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 24px;
}

.product-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.product-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--text-primary);
}

.feature-check {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--accent-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 10px;
  color: var(--accent);
}

/* ============================================================
   PRODUCT ENTRY CARDS (homepage two-product layout)
   ============================================================ */

.product-entry-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
  margin-top: 52px;
}

.product-entry-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 36px;
  transition: box-shadow 0.2s, transform 0.2s;
  box-shadow: var(--shadow-sm);
}

.product-entry-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.teal-card { border-top: 4px solid #1DB896; }
.blue-card  { border-top: 4px solid var(--accent); }

.product-entry-audience {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 20px;
  padding: 4px 12px;
  border-radius: 99px;
  display: inline-block;
}

.teal-card .product-entry-audience {
  color: #1DB896;
  background: rgba(29,184,150,0.08);
  border: 1px solid rgba(29,184,150,0.2);
}

.blue-card .product-entry-audience {
  color: var(--accent);
  background: var(--accent-light);
  border: 1px solid rgba(46,107,158,0.2);
}

.product-entry-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.product-entry-header h3 {
  font-size: 24px;
  font-weight: 700;
  color: var(--text-primary);
}

.product-entry-desc {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 24px;
}

.product-entry-actions {
  display: flex;
  gap: 12px;
  margin-top: 28px;
  flex-wrap: wrap;
}

.product-trial-note {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 10px;
}

.both-note {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 28px;
  background: var(--gray-50);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px 20px;
}

.both-note-icon { font-size: 18px; flex-shrink: 0; margin-top: 1px; }

.both-note p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0;
}

.both-note p em {
  font-style: normal;
  color: var(--text-primary);
  font-weight: 600;
}

/* ============================================================
   PRICING ROUTER
   ============================================================ */

.pricing-router-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 48px;
}

.pricing-router-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s, transform 0.2s;
}

.pricing-router-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.pricing-router-label {
  font-size: 16px;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: 99px;
  display: inline-block;
  width: fit-content;
}

.teal-label {
  color: #1DB896;
  background: rgba(29,184,150,0.08);
  border: 1px solid rgba(29,184,150,0.2);
}

.blue-label {
  color: var(--accent);
  background: var(--accent-light);
  border: 1px solid rgba(46,107,158,0.2);
}

.pricing-router-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
  flex: 1;
}

.pricing-router-btn {
  width: 100%;
  text-align: center;
  padding: 11px 20px;
  font-size: 14px;
}

/* ============================================================
   STATS BAR
   ============================================================ */

.stats-bar {
  background: var(--navy-900);
  border-top: 1px solid rgba(255,255,255,0.08);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  padding: 40px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 24px;
  text-align: center;
}

.stat-item .num {
  font-size: 32px;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.02em;
}

.stat-item .num span {
  color: var(--navy-500);
}

.stat-item .lbl {
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  margin-top: 4px;
}

/* ============================================================
   HOW IT WORKS
   ============================================================ */

.how-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2px;
  margin-top: 52px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.how-step {
  background: var(--white);
  padding: 36px 28px;
  position: relative;
  transition: background 0.2s;
}

.how-step:hover { background: var(--gray-50); }

.how-num {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--accent);
  opacity: 0.6;
  margin-bottom: 16px;
}

.how-step-icon {
  font-size: 28px;
  margin-bottom: 14px;
  color: var(--accent);
}

.how-step h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.how-step p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ============================================================
   PRICING
   ============================================================ */

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 52px;
  align-items: start;
}

.price-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
  transition: box-shadow 0.2s;
  box-shadow: var(--shadow-sm);
}

.price-card.popular {
  border-color: var(--accent);
  border-top: 4px solid var(--accent);
  box-shadow: var(--shadow-md);
}

.popular-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  color: var(--accent);
  background: var(--accent-light);
  border: 1px solid rgba(46,107,158,0.2);
  padding: 3px 10px;
  border-radius: 99px;
  margin-bottom: 16px;
}

.price-tier {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.price-amount {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 6px;
}

.price-amount .dollar {
  font-size: 20px;
  font-weight: 600;
  color: var(--text-muted);
}

.price-amount .num {
  font-size: 44px;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.03em;
}

.price-amount .period {
  font-size: 14px;
  color: var(--text-muted);
}

.price-desc {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}

.price-includes {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.price-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
}

.price-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: var(--text-primary);
}

.price-features li.dim {
  color: var(--text-muted);
  opacity: 0.6;
}

.check-icon {
  width: 17px;
  height: 17px;
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  margin-top: 2px;
}

.check-icon.on  { background: var(--accent-light); color: var(--accent); }
.check-icon.off { background: var(--gray-100); color: var(--text-muted); }

.price-cta {
  width: 100%;
  padding: 12px;
  border-radius: 9px;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.2s;
}

.price-cta.solid {
  background: var(--accent);
  color: var(--white);
  border: none;
  box-shadow: 0 2px 8px rgba(46,107,158,0.25);
}

.price-cta.solid:hover {
  background: var(--accent-hover);
  box-shadow: 0 4px 14px rgba(46,107,158,0.35);
}

.price-cta.outline {
  background: transparent;
  color: var(--accent);
  border: 1.5px solid var(--accent);
}

.price-cta.outline:hover {
  background: var(--accent-light);
  border-color: var(--accent-hover);
}

.price-trial {
  text-align: center;
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 10px;
}

/* ============================================================
   CTA BANNER
   ============================================================ */

.cta-banner {
  background: var(--navy-900);
  border-radius: 20px;
  padding: 64px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
  margin: 80px 0;
  box-shadow: var(--shadow-lg);
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -80px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(74,141,189,0.2) 0%, transparent 70%);
  pointer-events: none;
}

.cta-banner h2 {
  font-size: 36px;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 14px;
  letter-spacing: -0.02em;
}

.cta-banner p {
  font-size: 16px;
  color: rgba(255,255,255,0.65);
  max-width: 440px;
  margin: 0 auto 32px;
  line-height: 1.65;
}

.cta-btns {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-banner .btn-primary {
  background: var(--white);
  color: var(--navy-900);
  box-shadow: 0 2px 12px rgba(255,255,255,0.2);
}

.cta-banner .btn-primary:hover {
  background: var(--gray-100);
}

.cta-banner .btn-outline {
  color: var(--white);
  border-color: rgba(255,255,255,0.35);
}

.cta-banner .btn-outline:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.6);
}

/* ============================================================
   FOOTER
   ============================================================ */

.footer {
  background: var(--navy-950);
  border-top: 1px solid rgba(255,255,255,0.07);
  padding: 56px 0 32px;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand p {
  font-size: 13px;
  color: rgba(255,255,255,0.45);
  line-height: 1.65;
  margin-top: 12px;
  max-width: 260px;
}

.footer .nav-logo {
  color: var(--white);
}

.footer .nav-logo-dot {
  background: var(--navy-500);
}

.footer-col h4 {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  margin-bottom: 16px;
}

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

.footer-col ul li a {
  font-size: 13px;
  color: rgba(255,255,255,0.4);
  transition: color 0.2s;
}

.footer-col ul li a:hover { color: rgba(255,255,255,0.85); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding-top: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p {
  font-size: 12px;
  color: rgba(255,255,255,0.3);
}

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

.footer-legal a {
  font-size: 12px;
  color: rgba(255,255,255,0.3);
  transition: color 0.2s;
}

.footer-legal a:hover { color: rgba(255,255,255,0.7); }

/* ============================================================
   ANIMATIONS
   ============================================================ */

.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.product-card:nth-child(2) { transition-delay: 0.08s; }
.product-card:nth-child(3) { transition-delay: 0.16s; }
.price-card:nth-child(2)   { transition-delay: 0.08s; }
.price-card:nth-child(3)   { transition-delay: 0.16s; }
.how-step:nth-child(2)     { transition-delay: 0.08s; }
.how-step:nth-child(3)     { transition-delay: 0.16s; }
.how-step:nth-child(4)     { transition-delay: 0.24s; }

/* Active nav link */
.nav-links a.active { color: var(--navy-900); font-weight: 600; }

/* Nav scrolled state */
.nav.scrolled {
  box-shadow: 0 2px 16px rgba(27,58,92,0.1);
}

/* ============================================================
   MOBILE NAV
   ============================================================ */

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 6px;
  cursor: pointer;
}

.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-secondary);
  border-radius: 2px;
  transition: all 0.25s;
}

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

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 768px) {
  .hero h1 { font-size: 38px; }
  .hero { padding: 60px 0 52px; }
  .section { padding: 60px 0; }
  .section-title { font-size: 28px; }

  /* Nav */
  .nav-inner { height: 68px; position: relative; }
  .nav-actions { display: none; }
  .nav-links {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    padding: 16px 28px 24px;
    gap: 4px;
    box-shadow: var(--shadow-md);
    z-index: 99;
  }
  .nav-links.mobile-open { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links a { display: block; padding: 10px 0; font-size: 16px; }
  .nav-hamburger { display: flex; }

  /* Stats */
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .stat-item .num { font-size: 24px; }

  /* Products */
  .product-entry-grid { grid-template-columns: 1fr; margin-top: 32px; }
  .product-entry-card { padding: 24px; }

  /* How it works */
  .how-grid { grid-template-columns: 1fr; }

  /* Pricing */
  .pricing-router-grid { grid-template-columns: 1fr; }

  /* Footer */
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .cta-banner { padding: 40px 24px; }
  .cta-banner h2 { font-size: 26px; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 30px; }
  .hero { padding: 48px 0 40px; }
  .section { padding: 48px 0; }
  .stats-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 24px; }
  .container { padding: 0 18px; }
  .cta-banner { padding: 32px 18px; margin: 48px 0; }
  .cta-banner h2 { font-size: 22px; }
  .product-entry-card { padding: 20px; }
  .nav-inner { height: 60px; }
}

/* ============================================================
   PRODUCT CARD LOGIN LINK
   ============================================================ */

.product-entry-powered {
  display: inline-flex;
  align-items: center;
  font-size: 11.5px;
  font-weight: 600;
  color: #2E6B9E;
  background: #EBF4FB;
  border: 1px solid #BFDBFE;
  border-radius: 100px;
  padding: 3px 12px;
  margin-bottom: 10px;
  letter-spacing: 0.01em;
}
.product-entry-powered strong {
  font-weight: 700;
  margin-left: 3px;
}

.product-login-link {
  font-size: 12.5px;
  color: var(--text-muted);
  margin-top: 10px;
  text-align: center;
}
.product-login-link a {
  color: var(--accent);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.product-login-link a:hover {
  color: var(--accent-hover);
}

/* ============================================================
   NAV LOGIN DROPDOWN
   ============================================================ */

.nav-login-wrap {
  position: relative;
}

.login-toggle {
  display: flex;
  align-items: center;
  gap: 5px;
  background: none;
  border: 1.5px solid var(--border-md);
  border-radius: 8px;
  color: var(--text-primary);
  font-size: 14px;
  font-weight: 500;
  padding: 8px 14px;
  cursor: pointer;
  transition: border-color 0.18s, color 0.18s, background 0.18s;
  white-space: nowrap;
}
.login-toggle:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-light);
}
.login-toggle svg {
  transition: transform 0.2s;
}
.nav-login-wrap.open .login-toggle svg {
  transform: rotate(180deg);
}

.login-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  min-width: 220px;
  overflow: hidden;
  z-index: 200;
}
.nav-login-wrap.open .login-dropdown {
  display: block;
}

.login-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
  transition: background 0.15s;
  cursor: pointer;
  text-decoration: none;
  color: var(--text-primary);
}
.login-option:last-child {
  border-bottom: none;
}
.login-option:hover {
  background: var(--gray-50);
}
.login-option.disabled-option {
  opacity: 0.6;
  cursor: default;
  pointer-events: none;
}

.login-option-left {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.login-option-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
}
.login-option-note {
  font-size: 12px;
  color: var(--text-muted);
}
.login-option-note.coming {
  color: var(--accent);
  font-weight: 500;
}
.login-option-arrow {
  color: var(--text-muted);
  font-size: 16px;
}

/* Mobile: collapse dropdown into stacked links */
@media (max-width: 768px) {
  .nav-login-wrap { width: 100%; }
  .login-dropdown {
    position: static;
    border: 1px solid var(--border);
    border-radius: 8px;
    box-shadow: none;
    margin-top: 6px;
  }
}

/* ============================================================
   FOOTER ACCOUNT SPLIT
   ============================================================ */

.footer-account-item {
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.footer-account-product {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-top: 8px;
}
.footer-account-product:first-child { margin-top: 0; }
