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

:root {
  --navy: #1E2761;
  --navy-dark: #141b47;
  --navy-light: #2a3585;
  --teal: #028090;
  --teal-light: #03a3b5;
  --ice: #CADCFC;
  --ice-light: #e8f0ff;
  --white: #ffffff;
  --text: #1a1a2e;
  --text-muted: #5a6080;
  --border: rgba(202,220,252,0.2);
  --gold: #c9a84c;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { font-family: 'Playfair Display', serif; line-height: 1.2; }

a { text-decoration: none; color: inherit; }

img { max-width: 100%; display: block; }

/* NAV */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(20,27,71,0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 0 2rem;
  height: 68px;
  display: flex; align-items: center; justify-content: space-between;
}

.nav-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  color: var(--white);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.nav-logo span { color: var(--teal-light); }

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

.nav-links a {
  color: rgba(255,255,255,0.75);
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.4rem 0.85rem;
  border-radius: 6px;
  transition: all 0.2s;
  letter-spacing: 0.01em;
}

.nav-links a:hover, .nav-links a.active {
  color: var(--white);
  background: rgba(202,220,252,0.12);
}

.nav-cta {
  background: var(--teal) !important;
  color: var(--white) !important;
  padding: 0.45rem 1.1rem !important;
}

.nav-cta:hover { background: var(--teal-light) !important; }

/* HERO VARIANTS */
.hero {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 50%, #1a3a6e 100%);
  display: flex; align-items: center;
  position: relative;
  overflow: hidden;
  padding: 6rem 2rem 4rem;
}

.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(2,128,144,0.18) 0%, transparent 60%),
              radial-gradient(ellipse at 20% 80%, rgba(202,220,252,0.08) 0%, transparent 50%);
}

.hero-grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(202,220,252,0.04) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(202,220,252,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
}

.hero-inner {
  max-width: 1100px; margin: 0 auto; width: 100%;
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center;
}

.hero-inner.centered {
  grid-template-columns: 1fr;
  text-align: center;
  max-width: 760px;
}

.hero-eyebrow {
  display: inline-block;
  background: rgba(2,128,144,0.25);
  border: 1px solid rgba(3,163,181,0.4);
  color: var(--teal-light);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.35rem 0.9rem;
  border-radius: 100px;
  margin-bottom: 1.25rem;
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  color: var(--white);
  margin-bottom: 1.25rem;
  line-height: 1.15;
}

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

.hero-sub {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.72);
  max-width: 480px;
  margin-bottom: 2.25rem;
  line-height: 1.7;
  font-weight: 300;
}

.hero-inner.centered .hero-sub { margin-left: auto; margin-right: auto; }

.btn-group { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-inner.centered .btn-group { justify-content: center; }

.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.85rem 1.75rem;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  font-family: 'DM Sans', sans-serif;
  cursor: pointer;
  transition: all 0.25s;
  border: none;
  letter-spacing: 0.01em;
}

.btn-primary {
  background: var(--teal);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(2,128,144,0.35);
}

.btn-primary:hover {
  background: var(--teal-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(2,128,144,0.45);
}

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

.btn-outline:hover {
  border-color: var(--ice);
  background: rgba(202,220,252,0.1);
  transform: translateY(-2px);
}

/* STAT CARD */
.hero-card {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(202,220,252,0.18);
  border-radius: 20px;
  padding: 2rem;
  backdrop-filter: blur(8px);
}

.hero-card-title {
  color: var(--ice);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  opacity: 0.7;
}

.stat-row {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 1rem; margin-bottom: 1rem;
}

.stat-item {
  background: rgba(255,255,255,0.06);
  border-radius: 12px;
  padding: 1rem;
  text-align: center;
}

.stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--white);
  display: block;
  line-height: 1;
  margin-bottom: 0.3rem;
}

.stat-num.teal { color: var(--teal-light); }

.stat-label {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.55);
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* SECTION BASE */
section {
  padding: 5rem 2rem;
}

.section-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.section-eyebrow {
  display: inline-block;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  color: var(--navy);
  margin-bottom: 1rem;
}

.section-sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 580px;
  line-height: 1.7;
  font-weight: 300;
}

.text-center { text-align: center; }
.text-center .section-sub { margin-left: auto; margin-right: auto; }

/* CARDS GRID */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.card {
  background: var(--white);
  border: 1px solid #e8ecf5;
  border-radius: 16px;
  padding: 2rem;
  transition: all 0.3s;
  position: relative;
}

.card:hover {
  border-color: var(--teal);
  box-shadow: 0 8px 32px rgba(2,128,144,0.12);
  transform: translateY(-3px);
}

.card.featured {
  border-color: var(--teal);
  background: linear-gradient(135deg, #f0fbfc, #fff);
}

.card-icon {
  width: 48px; height: 48px;
  background: linear-gradient(135deg, var(--teal), var(--teal-light));
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1.25rem;
  flex-shrink: 0;
}

.card h3 {
  font-size: 1.2rem;
  color: var(--navy);
  margin-bottom: 0.6rem;
}

.card p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.65;
  font-weight: 300;
}

/* PRICING CARDS */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
  align-items: start;
}

.price-card {
  border: 1.5px solid #e8ecf5;
  border-radius: 20px;
  padding: 2.25rem;
  text-align: center;
  position: relative;
  transition: all 0.3s;
  background: var(--white);
}

.price-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(30,39,97,0.1); }

.price-card.popular {
  border-color: var(--teal);
  background: linear-gradient(160deg, #f0fbfc 0%, #fff 100%);
  box-shadow: 0 8px 32px rgba(2,128,144,0.15);
}

.popular-badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--teal);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.3rem 1rem;
  border-radius: 100px;
}

.price-card-name {
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.price-amount {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 0.25rem;
}

.price-amount sup { font-size: 1.2rem; vertical-align: super; }
.price-period { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 1.5rem; }

.price-features {
  list-style: none;
  text-align: left;
  margin-bottom: 1.75rem;
}

.price-features li {
  padding: 0.45rem 0;
  font-size: 0.9rem;
  color: var(--text);
  display: flex; align-items: flex-start; gap: 0.6rem;
  border-bottom: 1px solid #f0f2f8;
}

.price-features li:last-child { border-bottom: none; }

.check { color: var(--teal); font-size: 1rem; flex-shrink: 0; margin-top: 0.1rem; }

/* TRUST BAR */
.trust-bar {
  background: var(--navy);
  padding: 1.5rem 2rem;
}

.trust-bar-inner {
  max-width: 1100px; margin: 0 auto;
  display: flex; align-items: center; justify-content: center;
  gap: 3rem; flex-wrap: wrap;
}

.trust-item {
  display: flex; align-items: center; gap: 0.6rem;
  color: rgba(255,255,255,0.8);
  font-size: 0.88rem;
  font-weight: 500;
}

.trust-icon { font-size: 1.1rem; }

/* STEPS */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
  counter-reset: steps;
}

.step {
  position: relative;
  padding-top: 1rem;
}

.step-num {
  width: 44px; height: 44px;
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--ice);
  margin-bottom: 1rem;
}

.step h4 {
  font-size: 1rem;
  color: var(--navy);
  margin-bottom: 0.4rem;
}

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

/* CTA BAND */
.cta-band {
  background: linear-gradient(135deg, var(--navy-dark), var(--navy));
  padding: 5rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-band::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at center, rgba(2,128,144,0.2) 0%, transparent 65%);
}

.cta-band-inner { max-width: 640px; margin: 0 auto; position: relative; z-index: 2; }

.cta-band h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  color: var(--white);
  margin-bottom: 1rem;
}

.cta-band p {
  color: rgba(255,255,255,0.7);
  font-size: 1rem;
  margin-bottom: 2rem;
  line-height: 1.7;
  font-weight: 300;
}

/* FOOTER */
footer {
  background: var(--navy-dark);
  padding: 3rem 2rem 1.5rem;
  border-top: 1px solid var(--border);
}

.footer-inner {
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem;
  margin-bottom: 2.5rem;
}

.footer-brand p {
  color: rgba(255,255,255,0.5);
  font-size: 0.88rem;
  margin-top: 0.75rem;
  line-height: 1.65;
  font-weight: 300;
  max-width: 260px;
}

.footer-col h5 {
  color: var(--white);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.footer-col ul { list-style: none; }

.footer-col ul li { margin-bottom: 0.5rem; }

.footer-col ul a {
  color: rgba(255,255,255,0.5);
  font-size: 0.875rem;
  transition: color 0.2s;
  font-weight: 300;
}

.footer-col ul a:hover { color: var(--teal-light); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 1rem;
}

.footer-bottom p {
  color: rgba(255,255,255,0.35);
  font-size: 0.8rem;
}

/* FADE IN 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);
}

/* COMPARISON TABLE */
.compare-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 2.5rem;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(30,39,97,0.08);
}

.compare-table th {
  background: var(--navy);
  color: var(--white);
  padding: 1rem 1.25rem;
  text-align: left;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.compare-table td {
  padding: 0.9rem 1.25rem;
  font-size: 0.9rem;
  border-bottom: 1px solid #f0f2f8;
  color: var(--text);
}

.compare-table tr:nth-child(even) td { background: #f8faff; }
.compare-table tr:last-child td { border-bottom: none; }

.compare-check { color: var(--teal); font-size: 1.1rem; }
.compare-x { color: #e74c3c; font-size: 1.1rem; }

/* RESPONSIVE */
@media (max-width: 768px) {
  .hero-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero-card { display: none; }
  .nav-links { display: none; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .stat-row { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .footer-inner { grid-template-columns: 1fr; }
  .btn-group { flex-direction: column; }
  .trust-bar-inner { gap: 1.5rem; }
}
