/* ─── Reset & Base ──────────────────────────────────────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 56px; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background: #f8f9fb;
  color: #0a2540;
  line-height: 1.5;
  padding-bottom: 50px;
}

/* ─── Variables ─────────────────────────────────────────────── */
:root {
  --navy: #0a2540;
  --navy-mid: #1e3a5c;
  --accent: #1a8a9e;
  --accent-dark: #14707f;
  --accent-light: #22d3ee;
  --bg: #f8f9fb;
  --text2: #475569;
  --text3: #94a3b8;
  --border: #e2e8f0;
  --white: #ffffff;
  --max-w: 1100px;
  --nav-h: 56px;
}

/* ─── Typography ────────────────────────────────────────────── */
h1, h2, h3 { color: var(--navy); }
h1 { font-size: 3rem; font-weight: 900; line-height: 1.12; }
h2 { font-size: 1.5rem; font-weight: 800; text-align: center; margin-bottom: 1.5rem; }
h3 { font-size: 0.875rem; font-weight: 700; margin-bottom: 0.25rem; }
p  { color: var(--text2); font-size: 0.8125rem; line-height: 1.5; }

/* ─── Buttons ───────────────────────────────────────────────── */
.btn {
  display: inline-block;
  padding: 8px 18px;
  border-radius: 8px;
  font-size: 0.8125rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all 0.15s ease;
}
.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: var(--white);
  box-shadow: 0 2px 8px rgba(26,138,158,0.2);
}
.btn-primary:hover {
  box-shadow: 0 4px 16px rgba(26,138,158,0.35);
  transform: translateY(-1px);
}
.btn-ghost {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text2);
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn-outline {
  background: var(--white);
  border: 1px solid var(--border);
  color: var(--navy);
}
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }
.btn-lg {
  padding: 14px 32px;
  border-radius: 10px;
  font-size: 0.9375rem;
  font-weight: 700;
}

/* ─── Fixed Nav ─────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0 32px;
  height: var(--nav-h);
  background: rgba(248, 249, 251, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}
.logo { display: flex; align-items: center; text-decoration: none; }
.logo-img { height: 36px; width: auto; }

/* Nav tabs */
.nav-tabs {
  display: flex;
  gap: 4px;
}
.nav-tab {
  padding: 6px 14px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text2);
  text-decoration: none;
  border-radius: 6px;
  transition: all 0.15s ease;
}
.nav-tab:hover {
  background: rgba(26, 138, 158, 0.08);
  color: var(--accent);
}
.nav-tab.active {
  background: rgba(26, 138, 158, 0.1);
  color: var(--accent);
}

.nav-actions { display: flex; gap: 10px; }

/* ─── Hero (full viewport) ──────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--nav-h) 32px 0;
  position: relative;
  background: linear-gradient(180deg, var(--bg) 0%, #eef2f7 100%);
}
.hero-content {
  max-width: 700px;
  transform: translateY(-10vh);
}
.hero-logo { height: 140px; width: auto; margin-bottom: 32px; }
.hero h1 { margin-bottom: 20px; }
.hero-sub {
  font-size: 1.125rem;
  color: var(--text2);
  margin-bottom: 28px;
  line-height: 1.65;
}
.hero-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.trust-bar {
  font-size: 0.75rem;
  color: var(--text3);
  font-weight: 500;
}

/* Scroll arrow */
.scroll-arrow {
  position: absolute;
  bottom: 70px;
  color: var(--accent);
  text-decoration: none;
  animation: bounce 2s ease infinite;
  opacity: 0.7;
}
.scroll-arrow svg {
  display: block;
  width: 40px;
  height: 40px;
}
@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(8px); }
  60% { transform: translateY(4px); }
}

/* ─── Features (horizontal cards, 2-col) ────────────────────── */
.features {
  padding: 48px 32px;
  max-width: var(--max-w);
  margin: 0 auto;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.card-h {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 16px 18px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
  transition: box-shadow 0.2s ease;
}
.card-h:hover { box-shadow: 0 3px 10px rgba(0,0,0,0.08); }
.card-h-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(26, 138, 158, 0.08);
  border-radius: 10px;
}

/* ─── How It Works + ROI (side by side) ─────────────────────── */
.how-roi {
  padding: 48px 32px;
  max-width: var(--max-w);
  margin: 0 auto;
}
.how-roi-inner {
  display: flex;
  flex-direction: column;
  gap: 48px;
}
.how-col h2, .roi-col h2 { text-align: center; margin-bottom: 20px; }

/* Steps — horizontal row */
.steps-compact { display: flex; gap: 24px; justify-content: center; }
.step-compact {
  flex: 1;
  max-width: 280px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.step-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: var(--white);
  font-size: 0.9375rem;
  font-weight: 800;
  flex-shrink: 0;
}

/* ROI cards — stacked and centered */
.roi-col { max-width: 500px; margin: 0 auto; }
.roi-stack { display: flex; flex-direction: column; gap: 10px; }
.roi-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
.roi-number {
  font-size: 1.375rem;
  font-weight: 900;
  color: var(--accent);
  flex-shrink: 0;
  min-width: 80px;
}
.roi-label {
  font-size: 0.8125rem;
  color: var(--text2);
  line-height: 1.4;
}
.roi-footnote {
  font-size: 0.6875rem;
  color: var(--text3);
  font-style: italic;
  margin-top: 10px;
}

/* ─── Pricing ───────────────────────────────────────────────── */
.pricing-section {
  padding: 48px 32px;
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}
.pricing-sub {
  font-size: 0.8125rem;
  color: var(--text2);
  margin-top: -0.75rem;
  margin-bottom: 1.5rem;
}
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  align-items: start;
  margin-bottom: 20px;
}
.pricing-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 24px 20px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
  position: relative;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.pricing-card:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
  transform: translateY(-2px);
}
.pricing-featured {
  border: 2px solid var(--accent);
  box-shadow: 0 4px 20px rgba(26,138,158,0.15);
  padding-top: 36px;
}
.pricing-popular {
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: var(--white);
  font-size: 0.625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 4px 16px;
  border-radius: 0 0 6px 6px;
}
.pricing-badge {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}
.pricing-amount {
  font-size: 2rem;
  font-weight: 900;
  color: var(--navy);
  margin-bottom: 2px;
}
.pricing-amount span {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text3);
}
.pricing-per {
  font-size: 0.8125rem;
  color: var(--text2);
  margin-bottom: 16px;
}
.pricing-features {
  list-style: none;
  font-size: 0.75rem;
  color: var(--text2);
  line-height: 1.9;
  margin: 0 0 16px;
  text-align: left;
}
.pricing-features li::before {
  content: "\2713\0020";
  color: var(--accent);
  font-weight: 700;
}
.pricing-features li strong { color: var(--navy); }
.pricing-highlight {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 20px;
  padding: 10px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.pricing-highlight strong { color: var(--navy); }
.pricing-trial {
  font-size: 0.75rem;
  font-weight: 600;
  color: #15803d;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 6px;
  padding: 6px 0;
  text-align: center;
  margin-bottom: 16px;
}
.pricing-included {
  font-size: 0.75rem;
  color: var(--text3);
  text-align: center;
  max-width: 640px;
  margin: 20px auto 24px;
  line-height: 1.8;
}
.pricing-card .btn { width: 100%; text-align: center; }

/* Enterprise */
.pricing-enterprise {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 20px 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}
.pricing-enterprise h3 { font-size: 1rem; margin-bottom: 0; }
.pricing-enterprise p { flex: 1; min-width: 200px; text-align: left; margin-bottom: 0; font-size: 0.8125rem; }

/* ─── FAQ (two-column grid) ─────────────────────────────────── */
.faq {
  padding: 48px 32px;
  max-width: var(--max-w);
  margin: 0 auto;
}
.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
.faq-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}
.faq-item summary {
  padding: 12px 16px;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--navy);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.faq-item summary::after {
  content: "+";
  font-size: 1.125rem;
  font-weight: 400;
  color: var(--text3);
  flex-shrink: 0;
  margin-left: 12px;
}
.faq-item[open] summary::after { content: "\2212"; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item p {
  padding: 0 16px 12px;
  font-size: 0.75rem;
  color: var(--text2);
  line-height: 1.6;
}
.faq-item a { color: var(--accent); text-decoration: none; }
.faq-item a:hover { text-decoration: underline; }

/* ─── Footer ────────────────────────────────────────────────── */
.footer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 14px 32px;
  border-top: 1px solid var(--border);
  background: rgba(248, 249, 251, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.footer-links { display: flex; gap: 20px; }
.footer-links a { font-size: 0.75rem; color: var(--text2); text-decoration: none; }
.footer-links a:hover { color: var(--accent); }
.footer-copy { font-size: 0.6875rem; color: var(--text3); }

/* ─── Responsive ────────────────────────────────────────────── */
@media (max-width: 768px) {
  :root { --nav-h: 48px; }
  html { scroll-padding-top: 48px; }

  h1 { font-size: 2rem; }
  h2 { font-size: 1.25rem; }

  /* Nav */
  .nav { padding: 0 16px; }
  .nav-tabs { display: none; }
  .nav-actions { gap: 6px; }
  .nav-actions .btn { padding: 6px 14px; font-size: 0.75rem; }

  /* Hero */
  .hero { padding: var(--nav-h) 20px 0; min-height: 100svh; }
  .hero-content { transform: translateY(-5vh); max-width: 100%; padding: 0 4px; }
  .hero-logo { height: 100px; margin-bottom: 24px; }
  .hero-sub { font-size: 0.9375rem; margin-bottom: 24px; padding: 0 8px; }
  .hero-actions { flex-direction: column; align-items: center; }
  .btn-lg { width: 100%; max-width: 280px; text-align: center; }
  .trust-bar { font-size: 0.6875rem; padding: 0 12px; }
  .scroll-arrow { bottom: 40px; }
  .scroll-arrow svg { width: 32px; height: 32px; }

  /* Features */
  .features, .how-roi, .pricing-section, .faq { padding: 36px 20px; }
  .features-grid { grid-template-columns: 1fr; }
  .card-h { padding: 14px 16px; }

  /* How It Works — steps */
  .steps-compact { flex-direction: column; align-items: center; gap: 20px; }
  .step-compact { max-width: 100%; text-align: center; }
  .step-compact h3 { text-align: center; }
  .step-compact p { text-align: center; }

  /* ROI */
  .roi-col { max-width: 100%; }
  .roi-card { padding: 12px 14px; gap: 12px; }
  .roi-number { font-size: 1.25rem; min-width: 70px; }

  /* Pricing */
  .pricing-grid { grid-template-columns: 1fr; max-width: 340px; margin-left: auto; margin-right: auto; }
  .pricing-enterprise {
    flex-direction: column;
    text-align: center;
    padding: 20px;
  }
  .pricing-enterprise h3 { text-align: center; }
  .pricing-enterprise p { text-align: center; min-width: 0; }

  /* FAQ */
  .faq-grid { grid-template-columns: 1fr; }

  /* Footer */
  .footer { padding: 12px 16px; }
  .footer-inner { flex-direction: column; text-align: center; }
  .footer-links { justify-content: center; }
}
