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

:root {
  --navy: #0d1b2a;
  --navy-mid: #132336;
  --navy-light: #1e3a52;
  --teal: #1a9c82;
  --teal-light: #22b99a;
  --teal-pale: #e6f5f2;
  --gold: #c9a96e;
  --gold-light: #e8c98a;
  --cream: #faf8f4;
  --white: #ffffff;
  --text-dark: #0d1b2a;
  --text-mid: #3d5166;
  --text-light: #6b8299;
  --border: rgba(13,27,42,0.10);
  --border-light: rgba(255,255,255,0.12);
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
  --transition: 0.3s cubic-bezier(0.4,0,0.2,1);
  --shadow-sm: 0 2px 12px rgba(13,27,42,0.08);
  --shadow-md: 0 8px 32px rgba(13,27,42,0.12);
  --shadow-lg: 0 24px 64px rgba(13,27,42,0.16);
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background: var(--cream);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ─── TYPOGRAPHY ─── */
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.2; font-weight: 500; }
h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.7rem); }
h4 { font-size: 1.15rem; }
p { font-size: 1rem; color: var(--text-mid); }

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--teal);
  display: block;
  margin-bottom: 0.75rem;
}

.lead { font-size: 1.15rem; color: var(--text-mid); line-height: 1.8; }

/* ─── NAV ─── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(13,27,42,0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
  transition: var(--transition);
}

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

.nav-logo {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--white);
  letter-spacing: 0.02em;
}
.nav-logo span { color: var(--teal); }

.nav-links {
  display: flex; align-items: center; gap: 2rem;
}

.nav-links a {
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(255,255,255,0.75);
  letter-spacing: 0.04em;
  transition: color var(--transition);
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute; bottom: -4px; left: 0; right: 0; height: 1px;
  background: var(--teal);
  transform: scaleX(0); transform-origin: left;
  transition: transform var(--transition);
}
.nav-links a:hover { color: var(--white); }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-links a.active { color: var(--white); }
.nav-links a.active::after { transform: scaleX(1); }

.nav-cta {
  background: var(--teal) !important;
  color: var(--white) !important;
  padding: 0.55rem 1.25rem;
  border-radius: 4px;
  font-size: 0.82rem !important;
  transition: background var(--transition) !important;
}
.nav-cta:hover { background: var(--teal-light) !important; }
.nav-cta::after { display: none !important; }

.nav-mobile-toggle {
  display: none;
  background: none; border: none; cursor: pointer;
  flex-direction: column; gap: 5px; padding: 4px;
}
.nav-mobile-toggle span {
  width: 22px; height: 2px;
  background: rgba(255,255,255,0.8);
  border-radius: 2px;
  transition: var(--transition);
  display: block;
}

/* ─── BUTTONS ─── */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.85rem 1.8rem;
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  border-radius: 4px;
  cursor: pointer;
  transition: all var(--transition);
  border: none;
}

.btn-primary {
  background: var(--teal);
  color: var(--white);
}
.btn-primary:hover { background: var(--teal-light); transform: translateY(-1px); box-shadow: 0 8px 24px rgba(26,156,130,0.35); }

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.4);
}
.btn-outline:hover { border-color: var(--white); background: rgba(255,255,255,0.08); }

.btn-outline-dark {
  background: transparent;
  color: var(--navy);
  border: 1px solid var(--navy);
}
.btn-outline-dark:hover { background: var(--navy); color: var(--white); }

.btn-gold {
  background: var(--gold);
  color: var(--navy);
  font-weight: 500;
}
.btn-gold:hover { background: var(--gold-light); transform: translateY(-1px); box-shadow: 0 8px 24px rgba(201,169,110,0.4); }

/* ─── LAYOUT ─── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }
.container-narrow { max-width: 800px; margin: 0 auto; padding: 0 2rem; }

section { padding: 6rem 0; }
section.tight { padding: 4rem 0; }

/* ─── PAGE HERO (interior pages) ─── */
.page-hero {
  background: var(--navy);
  padding: 9rem 0 5rem;
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(26,156,130,0.15) 0%, transparent 60%);
}
.page-hero .container { position: relative; }
.page-hero h1 { color: var(--white); }
.page-hero p { color: rgba(255,255,255,0.65); font-size: 1.1rem; margin-top: 1rem; max-width: 580px; }

/* ─── CARDS ─── */
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 2rem;
  transition: all var(--transition);
  box-shadow: var(--shadow-sm);
}
.card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }

/* ─── DIVIDERS & ACCENTS ─── */
.teal-rule {
  width: 40px; height: 2px;
  background: var(--teal);
  margin: 1.25rem 0;
}
.teal-rule.center { margin: 1.25rem auto; }

/* ─── GRID ─── */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }

/* ─── SECTION HEADERS ─── */
.section-header { text-align: center; margin-bottom: 4rem; }
.section-header h2 { margin-bottom: 1rem; }
.section-header p { max-width: 580px; margin: 0 auto; font-size: 1.05rem; }

/* ─── STAT BLOCKS ─── */
.stat-num {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 400;
  color: var(--teal);
  line-height: 1;
}

/* ─── TESTIMONIAL ─── */
.testimonial {
  background: var(--navy);
  color: var(--white);
  border-radius: 8px;
  padding: 2.5rem;
}
.testimonial blockquote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.2rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.9);
  margin-bottom: 1.5rem;
}
.testimonial-author { font-size: 0.85rem; color: var(--teal-light); font-weight: 500; }

/* ─── FOOTER ─── */
footer {
  background: var(--navy);
  color: rgba(255,255,255,0.6);
  padding: 4rem 0 2rem;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem;
  margin-bottom: 3rem;
}
.footer-brand .nav-logo { font-size: 1.25rem; margin-bottom: 1rem; }
.footer-brand p { font-size: 0.88rem; line-height: 1.7; }
.footer-col h5 {
  font-family: var(--font-body);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 1.25rem;
}
.footer-col a {
  display: block;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 0.65rem;
  transition: color var(--transition);
}
.footer-col a:hover { color: var(--teal-light); }
.footer-bottom {
  border-top: 1px solid var(--border-light);
  padding-top: 2rem;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.8rem;
}
.footer-bottom a { color: rgba(255,255,255,0.4); margin-left: 1.5rem; }
.footer-bottom a:hover { color: rgba(255,255,255,0.7); }

/* ─── BADGE ─── */
.badge {
  display: inline-block;
  padding: 0.3rem 0.85rem;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.04em;
}
.badge-teal { background: var(--teal-pale); color: var(--teal); }
.badge-navy { background: rgba(13,27,42,0.08); color: var(--navy); }
.badge-gold { background: rgba(201,169,110,0.15); color: #8a6a2a; }

/* ─── ICON CIRCLE ─── */
.icon-circle {
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--teal-pale);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.icon-circle svg { width: 22px; height: 22px; stroke: var(--teal); fill: none; stroke-width: 1.8; }

/* ─── RESPONSIVE ─── */
@media (max-width: 900px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  section { padding: 4rem 0; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .mobile-stack { grid-template-columns: 1fr !important; gap: 2rem !important; }
  .mobile-hide { display: none !important; }
  .lead-magnet-card-back { display: none !important; }
  .hero-proof { flex-wrap: wrap; gap: 0.75rem; }
  .hero-proof-divider { display: none; }
  .hero-buttons { flex-direction: column; }
  .hero-buttons .btn { text-align: center; justify-content: center; }
  .hero-guide { font-size: 0.78rem !important; padding: 0.5rem 0.85rem !important; }
  .icp-tags { gap: 0.4rem; }
  .nav-links { display: none; }
  .nav-mobile-toggle { display: flex; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
  .nav-links.open {
    display: flex; flex-direction: column; align-items: flex-start;
    position: fixed; top: 72px; left: 0; right: 0;
    background: var(--navy);
    padding: 2rem;
    gap: 1.25rem;
    border-top: 1px solid var(--border-light);
  }
}

/* ─── ANIMATIONS ─── */
.fade-up {
  opacity: 0; transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ─── FORMS ─── */
.form-group { margin-bottom: 1.5rem; }
.form-group label {
  display: block; font-size: 0.82rem; font-weight: 500;
  letter-spacing: 0.04em; margin-bottom: 0.5rem; color: var(--text-dark);
}
.form-group input, .form-group textarea, .form-group select {
  width: 100%; padding: 0.85rem 1rem;
  border: 1px solid var(--border);
  border-radius: 4px;
  font-family: var(--font-body); font-size: 0.95rem;
  color: var(--text-dark); background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(26,156,130,0.12);
}
.form-group textarea { resize: vertical; min-height: 140px; }

/* ─── CHECKLIST ─── */
.check-list li {
  display: flex; align-items: flex-start; gap: 0.75rem;
  margin-bottom: 0.85rem; font-size: 0.95rem; color: var(--text-mid);
}
.check-list li::before {
  content: '';
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--teal-pale);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18' fill='none'%3E%3Cpath d='M4 9l3.5 3.5L14 6' stroke='%231a9c82' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  flex-shrink: 0; margin-top: 2px;
}
