/* ============================================
   NEXTGEN LIFE GROUP — Custom Styles
   Brand Colors from Logo:
     Navy dark  : #0a1628  (primary bg)
     Gold       : #d4a017  (primary accent)
     Silver     : #c0c8d8  (secondary)
   ============================================ */

:root {
  --gold:    #d4a017;
  --gold-l:  #f0b429;
  --gold-d:  #b8860b;
  --navy:    #0a1628;   /* logo background — page base color */
  --navy-l:  #0d2044;   /* lighter navy for section contrast */
  --navy-ll: #1a3a6b;   /* mid navy for cards/accents */
  --navy-deep: #060f1e; /* deepest navy for footer */
  --silver:  #c0c8d8;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background-color: var(--navy); /* #0a1628 — logo navy */
  font-family: 'Inter', sans-serif;
}

section[id] { scroll-margin-top: 80px; }

/* ============================================
   NAVBAR
   ============================================ */
#navbar {
  background: transparent;
  transition: background 0.35s ease, box-shadow 0.35s ease, top 0.35s ease;
}
#navbar.scrolled {
  background: rgba(10, 22, 40, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 rgba(212,160,23,0.15);
}

.nav-inner { padding-top: 8px; padding-bottom: 8px; }

/* Logo: 150px at top, shrinks on scroll */
.nav-logo {
  height: 150px;
  transition: height 0.4s cubic-bezier(.25,.8,.25,1);
}
#navbar.scrolled .nav-logo { height: 58px; }

.nav-link {
  color: rgba(255,255,255,0.65);
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 0.2s;
  text-decoration: none;
}
.nav-link:hover { color: var(--gold-l); }

.btn-nav {
  background: linear-gradient(135deg, var(--gold), var(--gold-d));
  color: #fff;
  font-size: 0.875rem;
  font-weight: 600;
  padding: 0.625rem 1.25rem;
  border-radius: 0.75rem;
  box-shadow: 0 4px 18px rgba(212,160,23,0.4);
  transition: transform 0.2s, box-shadow 0.2s;
  text-decoration: none;
  display: inline-block;
}
.btn-nav:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 28px rgba(212,160,23,0.55);
}

/* ============================================
   HERO
   ============================================ */
.hero-heading {
  text-shadow: 0 2px 24px rgba(0,0,0,0.9), 0 4px 60px rgba(0,0,0,0.7);
}
.hero-subtext { text-shadow: 0 1px 12px rgba(0,0,0,0.95); }

.hero-pill {
  display: inline-flex;
  align-items: center;
  border-radius: 9999px;
  border: 1px solid rgba(212,160,23,0.4);
  background: rgba(212,160,23,0.12);
  padding: 6px 16px;
  font-size: 0.875rem;
  color: var(--gold-l);
  font-weight: 500;
  box-shadow: 0 0 24px rgba(212,160,23,0.2);
}

/* Headline gradient: gold → silver */
.text-gradient-hero {
  background: linear-gradient(130deg, var(--gold-l) 0%, #e8edf5 55%, var(--gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.btn-hero-gold {
  background: linear-gradient(135deg, var(--gold-l), var(--gold));
  color: var(--navy);
  font-weight: 800;
  box-shadow: 0 6px 30px rgba(212,160,23,0.55);
  transition: transform 0.2s, box-shadow 0.2s;
}
.btn-hero-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(212,160,23,0.7);
}
.btn-hero-outline {
  border: 2px solid rgba(255,255,255,0.5);
  color: #fff;
  backdrop-filter: blur(4px);
  transition: border-color 0.2s, background 0.2s;
}
.btn-hero-outline:hover { border-color: var(--gold-l); color: var(--gold-l); }

/* ============================================
   QUOTE SECTION — Navy brand bg
   ============================================ */
.quote-section {
  background: linear-gradient(150deg, #060f1e 0%, #0a1628 35%, #0d2044 70%, #1a3a6b 100%);
  border-top: 1px solid rgba(212,160,23,0.12);
  border-bottom: 1px solid rgba(212,160,23,0.12);
}
.quote-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(110px);
  pointer-events: none;
}
.quote-orb-1 {
  width: 500px; height: 500px;
  background: rgba(212,160,23,0.14);
  top: -180px; left: -120px;
}
.quote-orb-2 {
  width: 400px; height: 400px;
  background: rgba(26,58,107,0.5);
  bottom: -150px; right: -100px;
}

/* Section label variants */
.section-label {
  display: inline-block;
  font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--gold-l);
  background: rgba(212,160,23,0.1);
  border: 1px solid rgba(212,160,23,0.25);
  padding: 5px 16px;
  border-radius: 9999px;
}
.section-label-gold {
  display: inline-block;
  font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: #fcd34d;
  background: rgba(212,160,23,0.12);
  border: 1px solid rgba(212,160,23,0.3);
  padding: 5px 16px;
  border-radius: 9999px;
}
.section-label-dark {
  display: inline-block;
  font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--gold-d);
  background: rgba(184,134,11,0.08);
  border: 1px solid rgba(184,134,11,0.2);
  padding: 5px 16px;
  border-radius: 9999px;
}

/* Agent card */
.agent-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  border-radius: 1rem;
  border: 1px solid rgba(212,160,23,0.2);
  background: rgba(212,160,23,0.05);
}
.agent-avatar {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-d));
  color: var(--navy);
  font-weight: 900;
  font-size: 1.1rem;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 16px rgba(212,160,23,0.4);
}

/* Value props */
.value-prop {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.value-prop-icon {
  width: 30px; height: 30px;
  border-radius: 8px;
  background: rgba(212,160,23,0.15);
  border: 1px solid rgba(212,160,23,0.35);
  color: var(--gold-l);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

/* ============================================
   FORM CARD
   ============================================ */
.form-card {
  background: #fff;
  border-radius: 1.75rem;
  box-shadow: 0 30px 80px rgba(0,0,0,0.45), 0 0 0 1px rgba(212,160,23,0.08);
}
.form-label {
  display: block;
  font-size: 0.8rem; font-weight: 600;
  color: #374151;
  margin-bottom: 0.35rem;
}
.form-input {
  width: 100%;
  border-radius: 0.75rem;
  border: 1.5px solid #e5e7eb;
  padding: 0.7rem 1rem;
  font-size: 0.875rem;
  color: #111827;
  background: #fff;
  outline: none;
  appearance: none; -webkit-appearance: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(212,160,23,0.15);
}
.form-input.error {
  border-color: #ef4444;
  box-shadow: 0 0 0 3px rgba(239,68,68,0.12);
}
.form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3E%3Cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px;
  padding-right: 2.5rem;
  cursor: pointer;
}
.form-error { font-size: 0.72rem; color: #ef4444; margin-top: 0.2rem; }

.btn-submit {
  background: linear-gradient(135deg, var(--gold-l), var(--gold));
  color: var(--navy);
  font-weight: 800;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(212,160,23,0.4);
  transition: transform 0.2s, box-shadow 0.2s;
}
.btn-submit:hover { transform: translateY(-1px); box-shadow: 0 10px 35px rgba(212,160,23,0.6); }
.btn-submit:active  { transform: translateY(0); }
.btn-submit:disabled { opacity: 0.7; cursor: not-allowed; transform: none; }

/* ============================================
   FEATURE CARDS — How It Works
   ============================================ */
.feature-card {
  border-radius: 1.5rem;
  border: 1px solid rgba(255,255,255,0.07);
  background: rgba(255,255,255,0.03);
  padding: 1.75rem;
  transition: transform 0.35s cubic-bezier(.25,.8,.25,1), box-shadow 0.35s, border-color 0.35s;
}
.feature-card:hover { transform: translateY(-6px); }
.feature-card-gold:hover   { border-color: rgba(212,160,23,0.45);  box-shadow: 0 20px 55px rgba(212,160,23,0.18); }
.feature-card-navy:hover   { border-color: rgba(26,58,107,0.6);    box-shadow: 0 20px 55px rgba(26,58,107,0.3); }
.feature-card-silver:hover { border-color: rgba(192,200,216,0.35); box-shadow: 0 20px 55px rgba(192,200,216,0.12); }

.feature-icon {
  width: 52px; height: 52px;
  border-radius: 1rem;
  display: flex; align-items: center; justify-content: center;
}
.feature-icon-gold   { background: rgba(212,160,23,0.15); color: var(--gold-l); }
.feature-icon-navy   { background: rgba(26,58,107,0.35);  color: #93c5fd; }
.feature-icon-silver { background: rgba(192,200,216,0.12); color: var(--silver); }

/* ============================================
   COVERAGE SECTION
   ============================================ */
.coverage-section {
  background: linear-gradient(160deg, #060f1e 0%, #0a1628 45%, #0d2044 100%);
  border-top: 1px solid rgba(212,160,23,0.1);
  border-bottom: 1px solid rgba(212,160,23,0.1);
}

/* Top highlight cards */
.coverage-highlight-card {
  border-radius: 1.5rem;
  border: 1px solid rgba(255,255,255,0.07);
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(8px);
  padding: 1.75rem;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.coverage-highlight-card:hover {
  transform: translateY(-5px);
  border-color: rgba(212,160,23,0.3);
  box-shadow: 0 20px 60px rgba(0,0,0,0.4), 0 0 0 1px rgba(212,160,23,0.08);
}

.coverage-highlight-icon {
  width: 52px; height: 52px;
  border-radius: 1rem;
  display: flex; align-items: center; justify-content: center;
}
.coverage-icon-gold   { background: rgba(212,160,23,0.15); border: 1px solid rgba(212,160,23,0.3); color: var(--gold-l); }
.coverage-icon-silver { background: rgba(192,200,216,0.1);  border: 1px solid rgba(192,200,216,0.2); color: var(--silver); }
.coverage-icon-blue   { background: rgba(96,165,250,0.1);   border: 1px solid rgba(96,165,250,0.2); color: #93c5fd; }

/* Bottom consideration cards */
.coverage-consideration-card {
  border-radius: 1.25rem;
  border: 1px solid rgba(255,255,255,0.06);
  background: rgba(26,58,107,0.15);
  padding: 1.5rem;
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.coverage-consideration-card:hover {
  transform: translateY(-3px);
  border-color: rgba(212,160,23,0.2);
}

/* ============================================
   TRUST SECTION
   ============================================ */
.trust-card {
  text-align: center;
  border-radius: 1.5rem;
  border: 1px solid rgba(212,160,23,0.1);
  background: rgba(212,160,23,0.03);
  padding: 2rem 1.5rem;
  transition: transform 0.3s, border-color 0.3s;
}
.trust-card:hover { transform: translateY(-4px); border-color: rgba(212,160,23,0.22); }
.trust-number { font-size: 2.75rem; font-weight: 900; line-height: 1; font-variant-numeric: tabular-nums; }
.trust-label  { color: rgba(255,255,255,0.5); font-size: 0.875rem; margin-top: 0.5rem; font-weight: 500; }

.why-card {
  border-radius: 1.5rem;
  border: 1px solid rgba(212,160,23,0.1);
  background: rgba(212,160,23,0.03);
  padding: 2rem;
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}
.why-card:hover { transform: translateY(-5px); border-color: rgba(212,160,23,0.22); box-shadow: 0 16px 50px rgba(0,0,0,0.4); }
.why-icon {
  width: 56px; height: 56px;
  border-radius: 1rem;
  background: rgba(212,160,23,0.06);
  border: 1px solid rgba(212,160,23,0.15);
  display: flex; align-items: center; justify-content: center;
}

/* ============================================
   BACKGROUND GLOWS
   ============================================ */
.section-glow {
  position: absolute;
  width: 600px; height: 600px;
  border-radius: 50%;
  filter: blur(130px);
  pointer-events: none;
  opacity: 0.07;
  z-index: 0;
}
.section-glow-gold  { background: var(--gold);  top: -200px; left: -200px; }
.section-glow-navy  { background: var(--navy-ll); bottom: -200px; right: -200px; }

/* ============================================
   CTA BANNER — navy gradient
   ============================================ */
.cta-banner {
  background: linear-gradient(135deg, #0a1628 0%, #0d2044 40%, #1a3a6b 70%, #0d2044 100%);
  border: 1px solid rgba(212,160,23,0.15);
}
.cta-bg-orb { position: absolute; border-radius: 50%; filter: blur(90px); pointer-events: none; }
.cta-orb-1 { width: 450px; height: 450px; background: rgba(212,160,23,0.18); top: -180px; left: -120px; }
.cta-orb-2 { width: 380px; height: 380px; background: rgba(26,58,107,0.6);   bottom: -140px; right: -90px; }

.cta-button-gold {
  background: linear-gradient(135deg, var(--gold-l), var(--gold));
  color: var(--navy);
  font-weight: 800;
  transition: transform 0.2s, box-shadow 0.2s;
}
.cta-button-gold:hover { transform: scale(1.025); box-shadow: 0 14px 45px rgba(212,160,23,0.5); }
.cta-button-outline {
  border: 2px solid rgba(212,160,23,0.4);
  color: var(--gold-l);
  transition: border-color 0.2s, background 0.2s;
}
.cta-button-outline:hover { border-color: var(--gold-l); background: rgba(212,160,23,0.08); }

/* ============================================
   SCROLL REVEAL
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s cubic-bezier(.25,.8,.25,1), transform 0.7s cubic-bezier(.25,.8,.25,1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.10s; }
.reveal-delay-2 { transition-delay: 0.20s; }
.reveal-delay-3 { transition-delay: 0.30s; }
.reveal-delay-4 { transition-delay: 0.40s; }

/* ============================================
   SUCCESS ANIMATION
   ============================================ */
.success-icon {
  width: 64px; height: 64px;
  background: rgba(212,160,23,0.1);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  animation: popIn 0.45s cubic-bezier(.25,.8,.25,1);
}
@keyframes popIn {
  0%  { transform: scale(0.4); opacity: 0; }
  80% { transform: scale(1.12); }
  100%{ transform: scale(1);   opacity: 1; }
}

/* ============================================
   HAMBURGER ANIMATION
   ============================================ */
.hamburger-line { transform-origin: center; transition: transform 0.28s ease, opacity 0.2s ease; }
#hamburger.open .hamburger-line:nth-child(1) { transform: translateY(8px) rotate(45deg); }
#hamburger.open .hamburger-line:nth-child(2) { opacity: 0; transform: scaleX(0); }
#hamburger.open .hamburger-line:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ============================================
   PARALLAX
   ============================================ */
#parallax-img { transform-origin: center top; will-change: transform; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
  .nav-logo { height: 90px; }
  #navbar.scrolled .nav-logo { height: 50px; }
  .trust-number { font-size: 2.1rem; }
  .cta-orb-1, .cta-orb-2 { display: none; }
}
