/* ===== Reset & Base ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --blue-900: #1a2b4a;
  --blue-700: #1e3a5f;
  --blue-600: #2563eb;
  --blue-500: #3b82f6;
  --blue-100: #dbeafe;
  --blue-50: #eff6ff;
  --teal-600: #0d9488;
  --teal-500: #14b8a6;
  --teal-50: #f0fdfa;
  --green-600: #16a34a;
  --green-100: #dcfce7;
  --gray-900: #111827;
  --gray-700: #374151;
  --gray-500: #6b7280;
  --gray-300: #d1d5db;
  --gray-100: #f3f4f6;
  --white: #ffffff;
  --shadow-sm: 0 1px 2px rgba(0,0,0,.05);
  --shadow-md: 0 4px 12px rgba(0,0,0,.08);
  --shadow-lg: 0 12px 32px rgba(0,0,0,.1);
  --radius: 12px;
  --max-w: 1140px;
}

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  color: var(--gray-700);
  line-height: 1.6;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

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

.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 30px;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  border: none;
  position: relative;
  overflow: hidden;
  letter-spacing: .02em;
  transition: transform .2s cubic-bezier(.25,.8,.25,1),
              box-shadow .2s cubic-bezier(.25,.8,.25,1),
              background .25s ease,
              border-color .25s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }

/* Primary — solid dark blue, white text */
.btn-primary {
  background: var(--blue-900);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(26,43,74,.4), 0 1px 3px rgba(26,43,74,.2);
}
.btn-primary:hover {
  background: var(--blue-700);
  box-shadow: 0 6px 24px rgba(26,43,74,.45), 0 2px 6px rgba(26,43,74,.25);
}
.btn-primary:active {
  box-shadow: 0 2px 8px rgba(26,43,74,.3);
}

/* Outline — dark border + dark text on white */
.btn-outline {
  background: var(--white);
  color: var(--blue-900);
  border: 2px solid var(--blue-900);
}
.btn-outline:hover {
  background: var(--blue-900);
  color: var(--white);
  border-color: var(--blue-900);
  box-shadow: 0 4px 16px rgba(26,43,74,.3);
}
.btn-outline:active {
  background: var(--blue-700);
  border-color: var(--blue-700);
}

/* White — for dark backgrounds (CTA banner) */
.btn-white {
  background: var(--white);
  color: var(--blue-900);
  font-weight: 700;
  box-shadow: 0 4px 16px rgba(0,0,0,.15), 0 1px 3px rgba(0,0,0,.08);
}
.btn-white:hover {
  background: var(--blue-50);
  box-shadow: 0 6px 24px rgba(0,0,0,.18), 0 2px 6px rgba(0,0,0,.1);
}
.btn-white:active {
  box-shadow: 0 2px 8px rgba(0,0,0,.12);
}

/* ===== Header / Navbar ===== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gray-100);
  transition: box-shadow .2s;
}
.navbar.scrolled { box-shadow: var(--shadow-md); }
.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.navbar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--blue-900);
}
.navbar-brand img { height: 36px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a {
  font-size: .925rem;
  font-weight: 500;
  color: var(--gray-700);
  transition: color .15s;
}
.nav-links a:hover { color: var(--blue-600); }
.nav-links a.btn-primary { color: var(--white); }
.nav-links a.btn-primary:hover { color: var(--white); }
.nav-cta { margin-left: 8px; }
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--gray-700);
  border-radius: 2px;
  transition: transform .2s, opacity .2s;
}

/* ===== Hero ===== */
.hero {
  padding: 140px 0 80px;
  background: linear-gradient(170deg, var(--blue-50) 0%, var(--white) 60%);
  text-align: center;
}
.hero h1 {
  font-size: 3.2rem;
  font-weight: 800;
  line-height: 1.15;
  color: var(--blue-900);
  max-width: 720px;
  margin: 0 auto 20px;
}
.hero h1 span { color: var(--blue-600); }
.hero p {
  font-size: 1.2rem;
  color: var(--gray-500);
  max-width: 560px;
  margin: 0 auto 36px;
}
.hero-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 32px;
  padding: 8px 18px;
  background: var(--green-100);
  color: var(--green-600);
  border-radius: 50px;
  font-size: .875rem;
  font-weight: 600;
}
.hero-badge svg { flex-shrink: 0; }

/* ===== Section Defaults ===== */
section { padding: 80px 0; }
.section-label {
  display: inline-block;
  font-size: .8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--blue-600);
  margin-bottom: 12px;
}
.section-title {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--blue-900);
  margin-bottom: 16px;
}
.section-subtitle {
  font-size: 1.1rem;
  color: var(--gray-500);
  max-width: 600px;
  margin: 0 auto 48px;
}
.text-center { text-align: center; }

/* ===== Features ===== */
.features { background: var(--white); }
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.feature-card {
  background: var(--gray-100);
  border-radius: var(--radius);
  padding: 32px 28px;
  text-align: center;
  transition: transform .2s, box-shadow .2s;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.5rem;
}
.feature-icon.blue { background: var(--blue-100); color: var(--blue-600); }
.feature-icon.teal { background: var(--teal-50); color: var(--teal-600); }
.feature-icon.green { background: var(--green-100); color: var(--green-600); }
.feature-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--blue-900);
  margin-bottom: 10px;
}
.feature-card p { font-size: .95rem; color: var(--gray-500); }

/* ===== How It Works ===== */
.how-it-works { background: var(--blue-50); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; position: relative; }
.step { text-align: center; position: relative; }
.step-number {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--blue-600);
  color: var(--white);
  font-size: 1.5rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  position: relative;
  z-index: 1;
}
.step h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--blue-900);
  margin-bottom: 8px;
}
.step p { font-size: .95rem; color: var(--gray-500); max-width: 280px; margin: 0 auto; }
.steps-connector {
  position: absolute;
  top: 28px;
  left: calc(33.33% / 2 + 28px);
  right: calc(33.33% / 2 + 28px);
  height: 2px;
  background: var(--blue-500);
  opacity: .3;
  z-index: 0;
}

/* ===== Pricing ===== */
.pricing { background: var(--white); }
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  max-width: 780px;
  margin: 0 auto;
}
.pricing-card {
  background: var(--white);
  border: 2px solid var(--gray-100);
  border-radius: var(--radius);
  padding: 40px 32px;
  position: relative;
  transition: transform .2s, box-shadow .2s;
}
.pricing-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.pricing-card.featured {
  border-color: var(--blue-600);
  box-shadow: 0 8px 30px rgba(37,99,235,.15);
}
.pricing-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--blue-600);
  color: var(--white);
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 5px 16px;
  border-radius: 50px;
  white-space: nowrap;
}
.pricing-card h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--blue-900);
  margin-bottom: 4px;
}
.pricing-price {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--blue-900);
  margin: 16px 0 4px;
}
.pricing-price span { font-size: 1rem; font-weight: 500; color: var(--gray-500); }
.pricing-note {
  font-size: .85rem;
  color: var(--gray-500);
  margin-bottom: 24px;
}
.pricing-features { margin-bottom: 28px; }
.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 0;
  font-size: .95rem;
  color: var(--gray-700);
}
.pricing-features li svg { flex-shrink: 0; margin-top: 3px; }
.pricing-card .btn { width: 100%; justify-content: center; }

/* ===== FAQ ===== */
.faq { background: var(--gray-100); }
.faq-list { max-width: 720px; margin: 0 auto; }
.faq-item {
  background: var(--white);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  color: var(--blue-900);
  text-align: left;
}
.faq-question:hover { color: var(--blue-600); }
.faq-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  transition: transform .2s;
}
.faq-item.active .faq-icon { transform: rotate(45deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease;
}
.faq-answer-inner {
  padding: 0 24px 20px;
  font-size: .95rem;
  color: var(--gray-500);
  line-height: 1.7;
}

/* ===== CTA Banner ===== */
.cta-banner {
  background: linear-gradient(135deg, var(--blue-700) 0%, var(--blue-600) 100%);
  color: var(--white);
  text-align: center;
  padding: 72px 24px;
}
.cta-banner h2 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 12px;
}
.cta-banner p {
  font-size: 1.1rem;
  opacity: .85;
  margin-bottom: 32px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}
.cta-banner .btn-white { font-size: 1.05rem; }

/* ===== Footer ===== */
.footer {
  background: var(--blue-900);
  color: rgba(255,255,255,.7);
  padding: 48px 0 32px;
}
.footer-grid {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 32px;
  margin-bottom: 32px;
}
.footer-brand img { height: 32px; margin-bottom: 12px; filter: brightness(0) invert(1); }
.footer-brand p { font-size: .9rem; max-width: 280px; }
.footer-links h4 {
  color: var(--white);
  font-size: .85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 14px;
}
.footer-links a {
  display: block;
  font-size: .9rem;
  padding: 4px 0;
  transition: color .15s;
}
.footer-links a:hover { color: var(--white); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 24px;
  font-size: .85rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

/* ===== Mobile ===== */
@media (max-width: 768px) {
  .hamburger { display: flex; }
  .nav-links {
    position: fixed;
    top: 68px; left: 0; right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 24px;
    gap: 20px;
    border-bottom: 1px solid var(--gray-100);
    box-shadow: var(--shadow-lg);
    transform: translateY(-120%);
    transition: transform .3s ease;
  }
  .nav-links.open { transform: translateY(0); }
  .nav-cta { margin-left: 0; }

  .hero { padding: 120px 0 60px; }
  .hero h1 { font-size: 2.2rem; }
  .hero p { font-size: 1.05rem; }

  .features-grid { grid-template-columns: 1fr; }

  .steps { grid-template-columns: 1fr; gap: 40px; }
  .steps-connector { display: none; }

  .pricing-grid { grid-template-columns: 1fr; max-width: 400px; }

  .section-title { font-size: 1.8rem; }

  .footer-grid { flex-direction: column; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 1.8rem; }
  .hero-buttons { flex-direction: column; align-items: center; }
  .btn { padding: 12px 24px; font-size: .95rem; }
  .cta-banner h2 { font-size: 1.6rem; }
}

/* ===== Legal Pages ===== */
.legal-page { padding: 120px 0 80px; }
.legal-page h1 {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--blue-900);
  margin-bottom: 8px;
}
.legal-page .last-updated {
  font-size: .9rem;
  color: var(--gray-500);
  margin-bottom: 40px;
}
.legal-page h2 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--blue-900);
  margin: 32px 0 12px;
}
.legal-page h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--blue-900);
  margin: 24px 0 8px;
}
.legal-page p,
.legal-page li {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--gray-700);
  margin-bottom: 12px;
}
.legal-page ul { padding-left: 24px; list-style: disc; }
.legal-page code {
  background: var(--gray-100);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: .9rem;
  color: var(--blue-700);
}
.legal-page a { color: var(--blue-600); text-decoration: underline; }
