/* ================================================
   BookMyFD.in — Shared Stylesheet v2
   Clean & Professional | Inter Font | Animated
   ================================================ */

/* Google Fonts loaded via <link> in HTML for performance — not imported here */

:root {
  --primary: #1a56db;
  --primary-dark: #1240a8;
  --primary-light: #e8f0fe;
  --primary-mid: #3b6fd4;
  --accent: #0ea5e9;
  --success: #10b981;
  --success-dark: #059669;
  --success-light: #d1fae5;
  --warning: #f59e0b;
  --warning-light: #fef3c7;
  --danger: #ef4444;
  --purple: #7c3aed;
  --purple-light: #ede9fe;
  --text-dark: #0f172a;
  --text-mid: #334155;
  --text-muted: #64748b;
  --border: #e2e8f0;
  --border-light: #f1f5f9;
  --bg-light: #f8fafc;
  --bg-mid: #f1f5f9;
  --white: #ffffff;
  --shadow-xs: 0 1px 2px rgba(0,0,0,0.05);
  --shadow-sm: 0 1px 4px rgba(0,0,0,0.07), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.09), 0 2px 6px rgba(0,0,0,0.05);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.12), 0 4px 12px rgba(0,0,0,0.06);
  --shadow-blue: 0 8px 32px rgba(26,86,219,0.25);
  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --font: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

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

a { text-decoration: none; color: var(--primary); }
a:hover { color: var(--primary-dark); }
img { max-width: 100%; display: block; }

/* ── SCROLL REVEAL ── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}
.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }
.reveal-delay-4 { transition-delay: 0.32s; }

/* ── NAVBAR ── */
.navbar {
  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-xs);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 28px;
  height: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.5px;
}

.logo span { color: var(--text-dark); }

.logo-icon {
  width: 38px; height: 38px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: white;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: -0.5px;
  box-shadow: 0 2px 8px rgba(26,86,219,0.4);
}

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

.nav-links a {
  color: var(--text-mid);
  padding: 7px 15px;
  border-radius: 8px;
  font-weight: 500;
  font-size: 0.88rem;
  transition: var(--transition);
  position: relative;
}

.nav-links a:hover {
  background: var(--primary-light);
  color: var(--primary);
}

.nav-links a.active {
  color: var(--primary);
  font-weight: 700;
}

.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 15px;
  right: 15px;
  height: 2.5px;
  background: var(--primary);
  border-radius: 2px;
}

/* ── Language Picker ── */
.bmfd-lang-picker {
  display: flex;
  gap: 2px;
  align-items: center;
  margin-right: 8px;
}

.bmfd-lang-btn {
  padding: 3px 7px;
  border: 1.5px solid var(--border);
  background: transparent;
  border-radius: 5px;
  cursor: pointer;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-mid);
  line-height: 1.5;
  transition: all 0.15s;
  font-family: inherit;
}

.bmfd-lang-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-light);
}

.bmfd-lang-btn.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

@media (max-width: 768px) {
  .bmfd-lang-picker {
    margin-right: 4px;
  }
  .bmfd-lang-btn {
    padding: 2px 5px;
    font-size: 0.68rem;
  }
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  border-radius: 6px;
  transition: var(--transition);
}

.hamburger:hover { background: var(--bg-light); }

.hamburger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--text-mid);
  border-radius: 2px;
  transition: var(--transition);
}

/* ── TOP TICKER ── */
.ticker-bar {
  background: #0d1f6e;
  color: white;
  padding: 9px 24px;
  text-align: center;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.1px;
  overflow: hidden;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.ticker-inner {
  display: flex;
  gap: 40px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

.ticker-item {
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.ticker-item strong { color: #93c5fd; font-weight: 700; }
.ticker-dot {
  width: 4px; height: 4px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
}

/* ── HERO ── */
.hero {
  background: linear-gradient(150deg, #0d1f6e 0%, #1a56db 100%);
  color: white;
  padding: 80px 28px 90px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 50%, rgba(255,255,255,0.06) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(255,255,255,0.04) 0%, transparent 40%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0; right: 0;
  height: 60px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 60'%3E%3Cpath fill='%23ffffff' d='M0,60 C360,0 1080,0 1440,60 L1440,60 L0,60 Z'/%3E%3C/svg%3E") no-repeat bottom;
  background-size: cover;
}

.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 60px;
  align-items: center;
}

.hero-left {}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.25);
  color: white;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 30px;
  margin-bottom: 20px;
  letter-spacing: 0.3px;
}

.hero h1 {
  font-size: clamp(2rem, 3.8vw, 3rem);
  font-weight: 900;
  line-height: 1.5;
  margin-bottom: 18px;
  letter-spacing: -1px;
}

.hero h1 .highlight {
  color: white;
  border-bottom: 3px solid rgba(255,255,255,0.5);
  padding-bottom: 2px;
}

.hero h1 .accent {
  color: #FFD700;
}

.hero-desc {
  font-size: 1.02rem;
  opacity: 0.88;
  max-width: 500px;
  margin-bottom: 28px;
  line-height: 1.75;
}

.hero-badges {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 30px;
  font-size: 0.8rem;
  font-weight: 600;
}

.badge-white {
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.28);
  color: white;
}

.badge-green {
  background: var(--success);
  color: white;
  box-shadow: 0 2px 8px rgba(16,185,129,0.4);
}

.badge-yellow {
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.28);
  color: white;
}

.hero-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* ── HERO FLOAT CARD ── */
.hero-right {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.hero-float-card {
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: var(--radius-lg);
  padding: 20px;
  color: white;
  transition: var(--transition);
}

.hero-float-card:hover {
  background: rgba(255,255,255,0.18);
  transform: translateY(-2px);
}

.hfc-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.hfc-bank {
  display: flex;
  align-items: center;
  gap: 10px;
}

.hfc-logo {
  width: 36px; height: 36px;
  background: rgba(255,255,255,0.2);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.68rem;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
}

.hfc-name { font-size: 0.88rem; font-weight: 700; }
.hfc-type { font-size: 0.72rem; opacity: 0.75; margin-top: 1px; }

.hfc-rate {
  font-size: 1.7rem;
  font-weight: 900;
  letter-spacing: -1px;
  color: #ffffff;
}

.hfc-rate small { font-size: 0.75rem; color: rgba(255,255,255,0.6); font-weight: 500; }

.hfc-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.75rem;
  opacity: 0.8;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(255,255,255,0.15);
}

.hfc-book {
  background: rgba(255,255,255,0.25);
  border: 1px solid rgba(255,255,255,0.4);
  color: white;
  padding: 4px 12px;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
}

.hfc-book:hover { background: rgba(255,255,255,0.35); }

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 24px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  text-decoration: none;
  letter-spacing: -0.1px;
}

.btn-primary {
  background: var(--white);
  color: var(--primary);
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  background: var(--primary-light);
  color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-outline-white {
  background: transparent;
  color: white;
  border: 2px solid rgba(255,255,255,0.5);
}

.btn-outline-white:hover {
  background: rgba(255,255,255,0.15);
  color: white;
  border-color: white;
  transform: translateY(-2px);
}

.btn-blue {
  background: linear-gradient(135deg, var(--primary), var(--primary-mid));
  color: white;
  box-shadow: 0 2px 12px rgba(26,86,219,0.3);
}

.btn-blue:hover {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(26,86,219,0.4);
  color: white;
}

.btn-green {
  background: linear-gradient(135deg, var(--success), var(--success-dark));
  color: white;
  box-shadow: 0 2px 12px rgba(16,185,129,0.3);
}

.btn-green:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(16,185,129,0.4);
  color: white;
}

.btn-sm { padding: 7px 16px; font-size: 0.8rem; border-radius: var(--radius-sm); }
.btn-lg { padding: 14px 32px; font-size: 1rem; border-radius: var(--radius); }

/* ── SECTION ── */
.section { padding: 72px 28px; }
.section-alt { background: var(--bg-light); }
.section-inner { max-width: 1200px; margin: 0 auto; }

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--primary-light);
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 30px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin-bottom: 14px;
}

/* Keep old class for backward compat */
.highlight-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--primary-light);
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 30px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin-bottom: 14px;
}

.section-title {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 10px;
  letter-spacing: -0.5px;
  line-height: 1.25;
}

.section-sub {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 40px;
  max-width: 560px;
  line-height: 1.7;
}

/* ── STAT STRIP ── */
.stat-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 56px;
  box-shadow: var(--shadow-sm);
}

.stat-item {
  background: var(--white);
  padding: 24px 20px;
  text-align: center;
  transition: var(--transition);
}

.stat-item:hover { background: var(--primary-light); }

.stat-icon {
  font-size: 1.4rem;
  margin-bottom: 8px;
}

.stat-item .num {
  font-size: 2rem;
  font-weight: 900;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 4px;
  letter-spacing: -1px;
}

.stat-item .lbl {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* ── FD CARDS ── */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 18px;
}

.fd-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  border-left: 4px solid var(--border);
}

.fd-card:hover {
  border-color: var(--primary);
  border-left-color: var(--primary);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.fd-card.type-psu   { border-left-color: var(--primary); }
.fd-card.type-private { border-left-color: var(--purple); }
.fd-card.type-sfb   { border-left-color: var(--success); }
.fd-card.type-nbfc  { border-left-color: var(--warning); }

.fd-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.bank-logo {
  width: 42px; height: 42px;
  border-radius: 10px;
  background: var(--primary-light);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800;
  font-size: 0.68rem;
  color: var(--primary);
  text-align: center;
  line-height: 1.2;
}

.bank-logo.sfb-logo { background: var(--success-light); color: var(--success-dark); }
.bank-logo.nbfc-logo { background: var(--warning-light); color: #92400e; }
.bank-logo.private-logo { background: var(--purple-light); color: var(--purple); }

.bank-type {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  padding: 3px 9px;
  border-radius: 20px;
}

.type-bank    { background: #dbeafe; color: #1e40af; }
.type-nbfc    { background: var(--warning-light); color: #92400e; }
.type-sfb     { background: var(--success-light); color: #065f46; }
.type-private { background: var(--purple-light); color: var(--purple); }

.fd-card-name {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 3px;
}

.fd-card-tenure {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 14px;
  font-weight: 500;
}

.fd-rate {
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--primary);
  line-height: 1;
  letter-spacing: -1px;
}

.fd-rate sup { font-size: 1rem; font-weight: 700; }
.fd-rate small { font-size: 0.78rem; font-weight: 500; color: var(--text-muted); letter-spacing: 0; }

.fd-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--border-light);
}

.senior-rate {
  font-size: 0.78rem;
  color: var(--success);
  font-weight: 600;
}

.top-badge {
  position: absolute;
  top: 14px; right: -24px;
  background: linear-gradient(135deg, var(--warning), #d97706);
  color: white;
  font-size: 0.62rem;
  font-weight: 800;
  padding: 3px 30px;
  transform: rotate(45deg);
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

/* ── GENERAL CARD ── */
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

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

/* ── TRUST SECTION ── */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 18px;
}

.trust-item {
  text-align: center;
  padding: 28px 20px;
  border-radius: var(--radius-lg);
  background: var(--white);
  border: 1px solid var(--border);
  transition: var(--transition);
}

.trust-item:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
  border-color: var(--primary);
}

.trust-icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  margin: 0 auto 16px;
  transition: var(--transition);
}

.trust-item:hover .trust-icon { transform: scale(1.1); }

.trust-icon-blue   { background: var(--primary-light); }
.trust-icon-green  { background: var(--success-light); }
.trust-icon-yellow { background: var(--warning-light); }
.trust-icon-purple { background: var(--purple-light); }

.trust-item h3 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 7px;
  color: var(--text-dark);
}

.trust-item p {
  font-size: 0.83rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ── NO COMMISSION BANNER ── */
.no-commission-banner {
  background: linear-gradient(135deg, #064e3b, #065f46, #047857);
  color: white;
  padding: 40px 32px;
  text-align: center;
  border-radius: var(--radius-xl);
  position: relative;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(6,79,58,0.3);
}

.no-commission-banner::before {
  content: '';
  position: absolute;
  top: -50%; left: -20%;
  width: 300px; height: 300px;
  background: rgba(255,255,255,0.04);
  border-radius: 50%;
  pointer-events: none;
}

.no-commission-banner h2 {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 12px;
  letter-spacing: -0.3px;
}

.no-commission-banner p {
  opacity: 0.88;
  font-size: 0.95rem;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.75;
}

.pledge-chips {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 24px;
}

.pledge-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.25);
  color: white;
  padding: 7px 16px;
  border-radius: 30px;
  font-size: 0.82rem;
  font-weight: 600;
}

/* ── HOW IT WORKS ── */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0;
  position: relative;
}

.steps-grid::before {
  content: '';
  position: absolute;
  top: 24px;
  left: 60px; right: 60px;
  height: 2px;
  background: linear-gradient(90deg, var(--primary-light), var(--primary), var(--primary-light));
  z-index: 0;
}

.step {
  text-align: center;
  padding: 24px 20px;
  position: relative;
  z-index: 1;
}

.step-num {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: white;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800;
  font-size: 1.1rem;
  margin: 0 auto 16px;
  box-shadow: 0 4px 14px rgba(26,86,219,0.35);
  position: relative;
  z-index: 1;
}

.step h3 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--text-dark);
}

.step p {
  font-size: 0.83rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ── TABLE ── */
.table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.87rem;
  min-width: 700px;
}

thead th {
  background: linear-gradient(180deg, var(--primary) 0%, #1545bb 100%);
  color: white;
  padding: 13px 16px;
  text-align: left;
  font-weight: 600;
  font-size: 0.8rem;
  white-space: nowrap;
  letter-spacing: 0.1px;
  position: sticky;
  top: 0;
  z-index: 2;
}

tbody tr { border-bottom: 1px solid var(--border-light); transition: background 0.12s; }
tbody tr:hover { background: var(--primary-light); }
tbody tr:nth-child(even) { background: var(--bg-light); }
tbody tr:nth-child(even):hover { background: var(--primary-light); }
tbody tr:last-child { border-bottom: none; }

tbody td { padding: 12px 16px; }

.rate-cell {
  font-weight: 700;
  color: var(--primary);
  font-size: 0.92rem;
}

.rate-high { color: var(--success-dark) !important; font-weight: 800 !important; }

.book-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 14px;
  background: linear-gradient(135deg, var(--primary), var(--primary-mid));
  color: white;
  border-radius: var(--radius-sm);
  font-size: 0.78rem;
  font-weight: 700;
  transition: var(--transition);
  white-space: nowrap;
  box-shadow: 0 1px 4px rgba(26,86,219,0.25);
}

.book-btn:hover {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: white;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(26,86,219,0.35);
}

/* ── FILTERS ── */
.filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.filter-btn {
  padding: 7px 18px;
  border-radius: 30px;
  border: 1.5px solid var(--border);
  background: var(--white);
  color: var(--text-mid);
  font-size: 0.83rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  font-family: var(--font);
}

.filter-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-light);
}

.filter-btn.active {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
  box-shadow: 0 2px 8px rgba(26,86,219,0.3);
}

/* ── CALCULATOR ── */
.calc-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: start;
}

.calc-form {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}

.form-group { margin-bottom: 22px; }

.form-group label {
  display: block;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text-mid);
  margin-bottom: 8px;
  letter-spacing: 0.1px;
}

.form-group input[type="number"],
.form-group input[type="text"],
.form-group select {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.92rem;
  font-family: var(--font);
  color: var(--text-dark);
  background: var(--white);
  transition: var(--transition);
  outline: none;
  font-weight: 500;
}

.form-group input:focus,
.form-group select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(26,86,219,0.1);
}

.form-group input[type="range"] {
  width: 100%;
  margin-top: 10px;
  accent-color: var(--primary);
  cursor: pointer;
}

.range-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-top: 5px;
  font-weight: 500;
}

.calc-result {
  background: linear-gradient(145deg, #0f2c7a, #1a56db 60%, #1565e0);
  border-radius: var(--radius-lg);
  padding: 28px;
  color: white;
  box-shadow: var(--shadow-blue);
  position: relative;
  overflow: hidden;
}

.calc-result::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 200px; height: 200px;
  background: rgba(255,255,255,0.05);
  border-radius: 50%;
  pointer-events: none;
}

.calc-result h3 {
  font-size: 0.85rem;
  font-weight: 600;
  opacity: 0.75;
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.maturity-amount {
  font-size: 2.6rem;
  font-weight: 900;
  letter-spacing: -1.5px;
  margin-bottom: 24px;
  line-height: 1;
}

.result-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.12);
  font-size: 0.88rem;
}

.result-row:last-child { border-bottom: none; }
.result-row span:first-child { opacity: 0.75; }
.result-row span:last-child { font-weight: 700; }

.chart-container {
  margin-top: 20px;
  background: rgba(255,255,255,0.08);
  border-radius: var(--radius);
  padding: 16px;
  border: 1px solid rgba(255,255,255,0.12);
}

/* ── PAGE HEADER ── */
.page-header {
  background: linear-gradient(135deg, #0f2c7a 0%, #1a56db 100%);
  color: white;
  padding: 52px 28px;
  position: relative;
  overflow: hidden;
}

.page-header::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0; right: 0;
  height: 40px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 40'%3E%3Cpath fill='%23f8fafc' d='M0,40 C360,0 1080,0 1440,40 L1440,40 L0,40 Z'/%3E%3C/svg%3E") no-repeat bottom;
  background-size: cover;
}

.page-header-inner { max-width: 1200px; margin: 0 auto; position: relative; z-index: 1; }
.page-header h1 { font-size: 1.9rem; font-weight: 800; margin-bottom: 8px; letter-spacing: -0.5px; }
.page-header p  { opacity: 0.85; font-size: 0.95rem; max-width: 560px; line-height: 1.65; }

/* ── SEARCH BAR ── */
.search-bar {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
}

.search-bar input {
  flex: 1;
  padding: 10px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-family: var(--font);
  outline: none;
  transition: var(--transition);
  font-weight: 500;
}

.search-bar input:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(26,86,219,0.1); }

/* ── INFO BOX ── */
.info-box {
  background: var(--primary-light);
  border-left: 4px solid var(--primary);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 14px 18px;
  font-size: 0.86rem;
  color: var(--text-mid);
  margin-bottom: 24px;
  line-height: 1.6;
}

/* ── ABOUT PAGE ── */
.about-hero {
  background: linear-gradient(135deg, #0f2c7a, #1a56db 60%, #0ea5e9);
  color: white;
  padding: 72px 28px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.about-hero::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0; right: 0;
  height: 48px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 48'%3E%3Cpath fill='%23ffffff' d='M0,48 C360,0 1080,0 1440,48 L1440,48 L0,48 Z'/%3E%3C/svg%3E") no-repeat bottom;
  background-size: cover;
}

.about-hero h1 { font-size: 2.2rem; font-weight: 900; margin-bottom: 14px; letter-spacing: -0.5px; }
.about-hero p  { opacity: 0.88; max-width: 560px; margin: 0 auto; font-size: 1rem; line-height: 1.75; }

.pledge-card {
  border: 2px solid var(--success);
  border-radius: var(--radius-xl);
  padding: 36px;
  background: linear-gradient(135deg, #f0fdf4, #dcfce7);
  text-align: center;
  margin-bottom: 32px;
  box-shadow: 0 4px 20px rgba(16,185,129,0.15);
}

.pledge-card h2 { color: #064e3b; font-size: 1.5rem; margin-bottom: 14px; font-weight: 800; letter-spacing: -0.3px; }
.pledge-card p  { color: #047857; font-size: 0.95rem; line-height: 1.8; max-width: 660px; margin: 0 auto; }

.pledge-items {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 14px;
  margin-top: 24px;
}

.pledge-item {
  background: white;
  border: 1px solid #a7f3d0;
  border-radius: var(--radius);
  padding: 18px;
  text-align: center;
  transition: var(--transition);
}

.pledge-item:hover { box-shadow: var(--shadow-sm); transform: translateY(-2px); }
.pledge-item .icon { font-size: 1.6rem; margin-bottom: 8px; }
.pledge-item h4 { color: #064e3b; font-size: 0.9rem; font-weight: 700; }
.pledge-item p  { color: var(--text-muted); font-size: 0.8rem; margin-top: 4px; }

/* ── FOOTER ── */
footer {
  background: #0a0f1e;
  color: #94a3b8;
  padding: 56px 28px 28px;
}

.footer-inner { max-width: 1200px; margin: 0 auto; }

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid #1e293b;
}

.footer-brand p {
  font-size: 0.84rem;
  line-height: 1.75;
  margin: 14px 0 18px;
  max-width: 280px;
  color: #64748b;
}

.footer-logo {
  font-size: 1.4rem;
  font-weight: 800;
  color: white;
  letter-spacing: -0.3px;
}

.footer-logo span { color: #60a5fa; }

.footer-col h4 {
  color: #e2e8f0;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 16px;
}

.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a {
  color: #64748b;
  font-size: 0.84rem;
  transition: var(--transition);
  font-weight: 500;
}

.footer-col ul li a:hover { color: #60a5fa; padding-left: 4px; }

.footer-disclaimer {
  background: #111827;
  border: 1px solid #1e293b;
  border-radius: var(--radius);
  padding: 12px 16px;
  font-size: 0.77rem;
  line-height: 1.65;
  color: #4b5563;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 28px;
  font-size: 0.8rem;
  flex-wrap: wrap;
  gap: 10px;
  color: #475569;
}

.footer-bottom a { color: #475569; transition: var(--transition); }
.footer-bottom a:hover { color: #60a5fa; }

/* ── MISC ── */
.text-center { text-align: center; }
.mt-4 { margin-top: 16px; }
.mt-8 { margin-top: 32px; }
.mb-4 { margin-bottom: 16px; }
.divider { border: none; border-top: 1px solid var(--border); margin: 0; }

/* ── CTA SECTION ── */
.cta-section {
  background: linear-gradient(135deg, #0a0f1e 0%, #0d1f6e 100%);
  padding: 72px 28px;
  text-align: center;
  color: white;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 60% 50%, rgba(26,86,219,0.25) 0%, transparent 60%);
}

.cta-section h2 { font-size: 1.9rem; font-weight: 800; margin-bottom: 12px; letter-spacing: -0.5px; position: relative; }
.cta-section p  { opacity: 0.88; margin-bottom: 28px; font-size: 1rem; position: relative; }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; text-align: center; }
  .hero-left { display: flex; flex-direction: column; align-items: center; }
  .hero-eyebrow { align-self: center; }
  .hero-desc { max-width: 600px; }
  .hero-badges { justify-content: center; }
  .hero-cta { justify-content: center; }
  .hero-right { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
}

@media (max-width: 900px) {
  .calc-wrap { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .steps-grid::before { display: none; }
}

@media (max-width: 640px) {
  .nav-links { display: none; position: absolute; top: 66px; left: 0; right: 0; background: white; border-bottom: 1px solid var(--border); padding: 12px 20px 16px; flex-direction: column; gap: 2px; box-shadow: var(--shadow-md); z-index: 99; }
  .nav-links.open { display: flex; }
  .hamburger { display: flex; }
  .hero { padding: 48px 20px 64px; }
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-left { display: flex; flex-direction: column; align-items: center; }
  .hero-right { display: none; }
  .section { padding: 52px 20px; }
  .footer-top { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .stat-strip { grid-template-columns: repeat(2, 1fr); }
  .cards-grid { grid-template-columns: 1fr; }
  .cta-section { padding: 52px 20px; }
}
