/* ═══════════════════════════════════════════════════════════
   SRIDHA FINSERVE – SHARED STYLES v3
   Font: DM Serif Display (headings) + Inter (body)
   Theme: Deep Navy #0B1F3A | Gold #C9973A
   ═══════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&family=Inter:wght@300;400;500;600;700&display=swap');

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

:root {
  --navy:   #0B1F3A;
  --navy2:  #122848;
  --navy3:  #1a3357;
  --gold:   #C9973A;
  --gold2:  #E3B55A;
  --gold3:  #f5d080;
  --cream:  #F8F6F1;
  --white:  #FFFFFF;
  --text:   #1e2d42;
  --muted:  #5a6a7e;
  --light:  #e8edf4;
  --ff-head: 'DM Serif Display', serif;
  --ff-body: 'Inter', sans-serif;
  --radius: 16px;
  --transition: .35s cubic-bezier(.4,0,.2,1);
}

html { scroll-behavior: smooth; }
body {
  font-family: var(--ff-body);
  color: var(--text);
  background: var(--cream);
  overflow-x: hidden;
  line-height: 1.65;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
}

.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.section { padding: 88px 0; }
.section-dark { background: var(--navy); }
.section-white { background: var(--white); }
.section-navy2 { background: var(--navy2); }
.section-cream { background: var(--cream); }

.tag {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .65rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase;
  color: var(--gold); background: rgba(201,151,58,.1);
  padding: 5px 13px; border-radius: 3px; margin-bottom: 14px;
  border-left: 3px solid var(--gold); font-family: var(--ff-body);
}

h1,h2,h3,h4 { font-family: var(--ff-head); line-height: 1.2; letter-spacing: -.01em; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); font-weight: 400; color: var(--navy); }
h2.light { color: var(--white); }
.lead {
  font-size: .95rem; color: var(--muted); line-height: 1.85;
  max-width: 580px; font-weight: 400; font-family: var(--ff-body);
}
.lead.light { color: rgba(255,255,255,.62); }

/* ─── BUTTONS ─────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 26px; border-radius: 6px; font-family: var(--ff-body);
  font-size: .82rem; font-weight: 600; cursor: pointer; text-decoration: none;
  transition: var(--transition); border: none; letter-spacing: .025em;
}
.btn-primary {
  background: linear-gradient(135deg, var(--gold), var(--gold2));
  color: var(--navy); box-shadow: 0 3px 16px rgba(201,151,58,.32);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(201,151,58,.45); }
.btn-outline { background: transparent; color: var(--navy); border: 1.5px solid rgba(11,31,58,.2); }
.btn-outline:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-2px); }
.btn-ghost { background: rgba(255,255,255,.08); color: var(--white); border: 1.5px solid rgba(255,255,255,.18); backdrop-filter: blur(8px); }
.btn-ghost:hover { background: rgba(255,255,255,.15); transform: translateY(-2px); }
.btn-gold-outline { background: transparent; color: var(--gold); border: 1.5px solid var(--gold); }
.btn-gold-outline:hover { background: var(--gold); color: var(--navy); transform: translateY(-2px); }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: #060f1e; transform: translateY(-2px); }

/* ─── REVEAL ANIMATIONS ───────────────────────────────── */
.reveal { opacity:0; transform:translateY(24px); transition:opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity:1; transform:translateY(0); }
.reveal-left { opacity:0; transform:translateX(-32px); transition:opacity .6s ease, transform .6s ease; }
.reveal-left.visible { opacity:1; transform:translateX(0); }
.reveal-right { opacity:0; transform:translateX(32px); transition:opacity .6s ease, transform .6s ease; }
.reveal-right.visible { opacity:1; transform:translateX(0); }
.reveal-delay-1{transition-delay:.1s} .reveal-delay-2{transition-delay:.2s}
.reveal-delay-3{transition-delay:.3s} .reveal-delay-4{transition-delay:.4s}

/* ─── NAVBAR ──────────────────────────────────────────── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 16px 0; transition: var(--transition);
}
nav.scrolled {
  background: rgba(11,31,58,.97); backdrop-filter: blur(24px);
  padding: 10px 0; box-shadow: 0 4px 24px rgba(0,0,0,.25);
  border-bottom: 1px solid rgba(201,151,58,.1);
}
.nav-inner { display:flex; align-items:center; justify-content:space-between; }
.logo { display:flex; align-items:center; gap:10px; text-decoration:none; }

/* ── Logo swap: white on transparent nav, dark after scroll ── */
.logo-img        { height:54px; width:auto; transition:var(--transition); display:block; }
.logo-white      { opacity:1; }
.logo-dark       { display:none; opacity:0; }

/* After scroll: navbar gets .scrolled → swap to dark logo */
nav.scrolled .logo-white { display:none; }
nav.scrolled .logo-dark  { display:block; opacity:1; }

/* Home hero page — always show white logo (transparent nav) */
.hero-page nav:not(.scrolled) .logo-white { display:block; }
.hero-page nav:not(.scrolled) .logo-dark  { display:none; }

.logo:hover .logo-img { opacity:.75; transform:scale(1.03); }

/* Footer logo */
.footer-logo-link { display:inline-flex; }
.nav-links { display:flex; align-items:center; gap:2px; list-style:none; }
.nav-links a {
  color: rgba(255,255,255,.72); text-decoration:none; font-size:.8rem;
  font-weight: 500; transition:var(--transition); padding:7px 12px; border-radius:5px;
  letter-spacing:.01em; font-family: var(--ff-body);
}
.nav-links a:hover, .nav-links a.active { color:var(--gold2); background:rgba(201,151,58,.1); }
.nav-cta { margin-left:8px; padding:9px 18px !important; font-size:.79rem !important; }

.hamburger { display:none; flex-direction:column; gap:5px; cursor:pointer; background:none; border:none; padding:4px; }
.hamburger span { display:block; width:22px; height:2px; background:var(--white); border-radius:2px; transition:var(--transition); }
.mobile-nav {
  display:none; position:fixed; top:0; left:0; right:0; bottom:0; z-index:999;
  background:var(--navy); padding:90px 28px 36px; flex-direction:column; gap:4px; overflow-y:auto;
}
.mobile-nav.open { display:flex; }
.mobile-nav a {
  color:rgba(255,255,255,.8); text-decoration:none; font-size:1rem;
  font-weight:500; padding:14px 0; border-bottom:1px solid rgba(255,255,255,.07);
  font-family:var(--ff-head);
}
.mobile-nav a.active { color:var(--gold); }
.mobile-close { position:absolute; top:20px; right:22px; background:none; border:none; color:white; font-size:1.6rem; cursor:pointer; line-height:1; }

/* ─── PAGE HERO ───────────────────────────────────────── */
.page-hero {
  background: linear-gradient(135deg,#060f1e 0%,var(--navy) 55%,var(--navy3) 100%);
  padding: 140px 0 80px; text-align:center; position:relative; overflow:hidden;
}
.page-hero-bg { position:absolute; inset:0; pointer-events:none; background:radial-gradient(ellipse 700px 500px at 50% 0%, rgba(201,151,58,.07) 0%, transparent 70%); }
.page-hero-grid { position:absolute; inset:0; opacity:.03; background-image:linear-gradient(rgba(255,255,255,.6) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.6) 1px,transparent 1px); background-size:56px 56px; }
.page-hero h1 { font-size:clamp(2rem,4.5vw,3.2rem); color:var(--white); margin-bottom:14px; position:relative; }
.page-hero h1 em { font-style:italic; color:var(--gold2); }
.page-hero p { font-size:.95rem; color:rgba(255,255,255,.62); max-width:540px; margin:0 auto; position:relative; line-height:1.85; }
.breadcrumb { display:flex; align-items:center; justify-content:center; gap:8px; margin-bottom:18px; font-size:.75rem; color:rgba(255,255,255,.4); position:relative; font-family:var(--ff-body); }
.breadcrumb a { color:var(--gold); text-decoration:none; font-weight:600; }
.breadcrumb span { color:rgba(255,255,255,.2); }

/* ─── TRUST BAR ───────────────────────────────────────── */
.trust-bar { background:var(--navy2); border-top:1px solid rgba(201,151,58,.1); border-bottom:1px solid rgba(201,151,58,.1); padding:14px 0; overflow:hidden; }
.trust-items { display:flex; align-items:center; justify-content:center; gap:32px; flex-wrap:wrap; }
.trust-item { display:flex; align-items:center; gap:8px; color:rgba(255,255,255,.68); font-size:.76rem; font-weight:500; letter-spacing:.01em; white-space:nowrap; }
.trust-icon { color:var(--gold); flex-shrink:0; }

/* ─── IMAGE UTILITIES ─────────────────────────────────── */
.img-frame { border-radius:18px; overflow:hidden; box-shadow:0 28px 72px rgba(11,31,58,.2), 0 0 0 1px rgba(201,151,58,.1); position:relative; }
.img-frame img { width:100%; display:block; }

/* ─── SPLIT SECTION ───────────────────────────────────── */
.split-section { display:grid; grid-template-columns:1fr 1fr; gap:64px; align-items:center; }
.split-section.reverse .split-img { order:-1; }

/* ─── CHECKLIST ───────────────────────────────────────── */
.checklist { list-style:none; display:flex; flex-direction:column; gap:11px; margin-top:22px; }
.checklist li { display:flex; align-items:flex-start; gap:11px; font-size:.87rem; color:var(--text); line-height:1.65; font-family:var(--ff-body); }
.checklist.light li { color:rgba(255,255,255,.78); }
.cl-icon { flex-shrink:0; margin-top:1px; }

/* ─── BENEFITS GRID ───────────────────────────────────── */
.benefits-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:22px; margin-top:48px; }
.benefit-card { background:rgba(255,255,255,.05); border-radius:var(--radius); padding:28px 24px; border:1px solid rgba(255,255,255,.07); transition:var(--transition); }
.benefit-card:hover { background:rgba(255,255,255,.09); border-color:rgba(201,151,58,.2); transform:translateY(-4px); }
.benefit-icon { width:52px; height:52px; background:rgba(201,151,58,.1); border-radius:11px; display:flex; align-items:center; justify-content:center; color:var(--gold); margin-bottom:16px; }
.benefit-card h3 { color:var(--white); font-size:.95rem; margin-bottom:7px; }
.benefit-card p { color:rgba(255,255,255,.5); font-size:.83rem; line-height:1.75; font-family:var(--ff-body); }

/* ─── FAQ ─────────────────────────────────────────────── */
.faq-item { border-bottom:1px solid var(--light); padding:18px 0; cursor:pointer; }
.faq-q { display:flex; align-items:center; justify-content:space-between; font-weight:600; color:var(--navy); font-size:.9rem; gap:16px; font-family:var(--ff-body); }
.faq-a { font-size:.85rem; color:var(--muted); line-height:1.8; max-height:0; overflow:hidden; transition:.35s ease; font-family:var(--ff-body); }
.faq-item.open .faq-a { max-height:250px; padding-top:11px; }
.faq-icon { width:26px; height:26px; border-radius:50%; border:1.5px solid var(--gold); display:flex; align-items:center; justify-content:center; color:var(--gold); flex-shrink:0; transition:.35s; font-size:1rem; line-height:1; }
.faq-item.open .faq-icon { transform:rotate(45deg); background:var(--gold); color:var(--navy); }

/* ─── PLAN CARDS ──────────────────────────────────────── */
.plans-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:22px; margin-top:48px; }
.plan-card { background:var(--white); border-radius:var(--radius); overflow:hidden; border:1.5px solid var(--light); transition:var(--transition); }
.plan-card:hover { transform:translateY(-5px); box-shadow:0 20px 56px rgba(11,31,58,.11); }
.plan-card.featured { border-color:var(--gold); box-shadow:0 10px 36px rgba(201,151,58,.16); }
.plan-badge { background:linear-gradient(135deg,var(--gold),var(--gold2)); color:var(--navy); font-size:.65rem; font-weight:700; letter-spacing:.14em; text-transform:uppercase; padding:6px 0; text-align:center; font-family:var(--ff-body); }
.plan-img { width:100%; height:180px; object-fit:cover; display:block; }
.plan-body { padding:26px; }
.plan-name { font-size:.65rem; font-weight:700; letter-spacing:.16em; text-transform:uppercase; color:var(--gold); margin-bottom:5px; font-family:var(--ff-body); }
.plan-title { font-size:1.2rem; font-weight:400; color:var(--navy); margin-bottom:10px; }
.plan-features { list-style:none; margin:16px 0 22px; display:flex; flex-direction:column; gap:9px; }
.plan-features li { display:flex; align-items:flex-start; gap:9px; font-size:.83rem; color:var(--text); font-family:var(--ff-body); }

/* ─── FOOTER ──────────────────────────────────────────── */
footer { background:#060f1e; color:rgba(255,255,255,.7); padding:72px 0 0; }
.footer-grid { display:grid; grid-template-columns:1.5fr 1fr 1fr 1fr; gap:44px; padding-bottom:56px; border-bottom:1px solid rgba(255,255,255,.06); }
.footer-brand p { font-size:.84rem; line-height:1.85; margin:16px 0 22px; color:rgba(255,255,255,.46); font-family:var(--ff-body); }
.footer-socials { display:flex; gap:9px; }
.footer-socials a { width:36px; height:36px; border-radius:7px; background:rgba(255,255,255,.06); display:flex; align-items:center; justify-content:center; color:rgba(255,255,255,.52); text-decoration:none; transition:var(--transition); }
.footer-socials a:hover { background:var(--gold); color:var(--navy); }
.footer-col h4 { font-family:var(--ff-body); font-size:.68rem; font-weight:700; letter-spacing:.16em; text-transform:uppercase; color:var(--gold); margin-bottom:20px; }
.footer-col ul { list-style:none; display:flex; flex-direction:column; gap:10px; }
.footer-col ul a { color:rgba(255,255,255,.46); text-decoration:none; font-size:.84rem; transition:var(--transition); font-family:var(--ff-body); }
.footer-col ul a:hover { color:var(--gold2); padding-left:4px; }
.footer-logo-img { height: 52px; width:auto; opacity:1; }
.footer-bottom { display:flex; justify-content:space-between; align-items:center; padding:18px 0; font-size:.74rem; color:rgba(255,255,255,.26); flex-wrap:wrap; gap:8px; font-family:var(--ff-body); }
.footer-bottom a { color:rgba(255,255,255,.32); text-decoration:none; }
.footer-bottom a:hover { color:var(--gold); }

/* ─── RESPONSIVE – TABLET & MOBILE ───────────────────── */
@media(max-width:1024px) {
  .footer-grid { grid-template-columns:1fr 1fr; gap:32px; }
  .plans-grid { grid-template-columns:1fr; max-width:420px; margin-left:auto; margin-right:auto; }
  .benefits-grid { grid-template-columns:repeat(2,1fr); }
  .split-section { grid-template-columns:1fr; gap:36px; }
  .split-section.reverse .split-img { order:0; }
}

@media(max-width:768px) {
  .logo-img { height: 44px; }
  .section { padding:64px 0; }
  .container { padding:0 18px; }
  .nav-links,.nav-cta { display:none; }
  .hamburger { display:flex; }
  .footer-grid { grid-template-columns:1fr; gap:28px; }
  .footer-bottom { flex-direction:column; text-align:center; gap:6px; }
  .trust-items { gap:12px; }
  .page-hero { padding:120px 0 64px; }
  h2 { font-size:clamp(1.5rem,5vw,2rem); }
  .btn { padding:11px 22px; font-size:.8rem; }
}

@media(max-width:480px) {
  .section { padding:52px 0; }
  .container { padding:0 16px; }
  .benefits-grid { grid-template-columns:1fr; }
  .plans-grid { max-width:100%; }
  .trust-items { gap:10px; }
  .trust-item { font-size:.72rem; }
  .footer-grid { gap:24px; }
  .page-hero { padding:110px 0 56px; }
}
