/* ============================================================
   TOKENS
   ============================================================ */
:root {
  --blue:       #1C588C;
  --blue-dark:  #154570;
  --blue-light: #e8f1f9;
  --orange:     #F27D16;
  --orange-dark:#d96a0a;
  --yellow:     #F2F0CE;
  --gray-light: #BFCAD9;
  --gray-mid:   #6E7A8A;
  --gray-dark:  #2C3A4A;
  --white:      #FFFFFF;
  --off-white:  #F7F9FC;

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 32px;

  --shadow-sm: 0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.06);
  --shadow-md: 0 4px 16px rgba(0,0,0,.10);
  --shadow-lg: 0 8px 40px rgba(28,88,140,.18);
}

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

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

body {
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--gray-dark);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ============================================================
   TYPOGRAPHY HELPERS
   ============================================================ */
.section-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--orange);
  background: #fff3e8;
  border: 1px solid #fddbb4;
  padding: 4px 12px;
  border-radius: 99px;
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  color: var(--gray-dark);
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.0625rem;
  color: var(--gray-mid);
  max-width: 600px;
  margin-bottom: 48px;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9375rem;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all .2s ease;
  white-space: nowrap;
}

.btn-lg { padding: 14px 28px; font-size: 1rem; border-radius: var(--radius-md); }
.btn-full { width: 100%; justify-content: center; }

.btn-primary {
  background: var(--orange);
  color: var(--white);
  border-color: var(--orange);
}
.btn-primary:hover {
  background: var(--orange-dark);
  border-color: var(--orange-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(242,125,22,.35);
}

.btn-outline {
  background: transparent;
  color: var(--blue);
  border-color: var(--blue);
}
.btn-outline:hover {
  background: var(--blue-light);
}

.btn-white {
  background: var(--white);
  color: var(--blue);
  border-color: var(--white);
}
.btn-white:hover {
  background: var(--off-white);
  transform: translateY(-1px);
}

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

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(191,202,217,.4);
}

.navbar-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 68px;
}

.brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.brand-logo {
  height: 36px;
  width: auto;
  display: block;
}

.brand-logo--footer {
  height: 30px;
}

.nav-links {
  display: flex;
  gap: 28px;
  margin-left: auto;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--gray-mid);
  transition: color .2s;
}
.nav-links a:hover { color: var(--blue); }

.navbar-inner .btn { margin-left: 16px; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  overflow: hidden;
  padding: 96px 0 80px;
  background: linear-gradient(160deg, #f0f6fc 0%, var(--white) 60%);
}

.hero-gradient {
  position: absolute;
  top: -200px;
  right: -200px;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(28,88,140,.10) 0%, transparent 70%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  text-align: center;
}

.hero-badge {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--blue);
  background: var(--blue-light);
  border: 1px solid rgba(28,88,140,.2);
  padding: 5px 14px;
  border-radius: 99px;
  margin-bottom: 24px;
}

.hero-title {
  font-size: clamp(2.25rem, 6vw, 3.75rem);
  font-weight: 900;
  line-height: 1.1;
  color: var(--gray-dark);
  margin-bottom: 24px;
  letter-spacing: -.02em;
}

.highlight {
  color: var(--orange);
  position: relative;
}
.highlight::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--yellow);
  z-index: -1;
}

.hero-subtitle {
  font-size: 1.125rem;
  color: var(--gray-mid);
  max-width: 580px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

.hero-stat-row {
  display: inline-flex;
  align-items: center;
  gap: 32px;
  background: var(--white);
  border: 1px solid rgba(191,202,217,.5);
  border-radius: var(--radius-lg);
  padding: 20px 40px;
  box-shadow: var(--shadow-md);
}

.hero-stat { text-align: center; }

.stat-value {
  display: block;
  font-size: 2rem;
  font-weight: 900;
  color: var(--blue);
  line-height: 1;
}

.stat-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--gray-mid);
  margin-top: 4px;
}

.divider-v {
  width: 1px;
  height: 40px;
  background: var(--gray-light);
}

/* ============================================================
   PROBLEM / COMPARE
   ============================================================ */
.problem {
  padding: 96px 0;
  background: var(--off-white);
}

.problem .section-subtitle { margin-bottom: 56px; }

.compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 800px;
  margin: 0 auto;
}

.compare-card {
  border-radius: var(--radius-lg);
  padding: 36px;
  border: 2px solid;
}

.compare-bad {
  background: #fff5f5;
  border-color: #fecaca;
}

.compare-good {
  background: #f0f9f4;
  border-color: #a7f3d0;
}

.compare-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

.compare-header h3 {
  font-size: 1.125rem;
  font-weight: 700;
}

.compare-bad .compare-header h3 { color: #b91c1c; }
.compare-good .compare-header h3 { color: #065f46; }

.compare-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 700;
  flex-shrink: 0;
}

.compare-icon.bad { background: #fee2e2; color: #b91c1c; }
.compare-icon.good { background: #d1fae5; color: #065f46; }

.compare-list li {
  padding: 8px 0;
  font-size: 0.9375rem;
  border-bottom: 1px solid rgba(0,0,0,.06);
  display: flex;
  align-items: center;
  gap: 8px;
}
.compare-list li:last-child { border-bottom: none; }
.compare-bad .compare-list li { color: #6b1717; }
.compare-good .compare-list li { color: #064e3b; }

/* ============================================================
   FEATURES
   ============================================================ */
.features {
  padding: 96px 0;
  background: var(--white);
}

.features .section-subtitle { margin-bottom: 56px; }

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  padding: 32px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(191,202,217,.5);
  background: var(--white);
  transition: all .25s ease;
}

.feature-card:hover {
  border-color: var(--blue);
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}

.feature-icon {
  width: 48px;
  height: 48px;
  background: var(--blue-light);
  color: var(--blue);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.feature-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--gray-dark);
}

.feature-card p {
  font-size: 0.9rem;
  color: var(--gray-mid);
  line-height: 1.65;
}

/* ============================================================
   HOW IT WORKS
   ============================================================ */
.how-it-works {
  padding: 96px 0;
  background: var(--blue);
  color: var(--white);
}

.how-it-works .section-label {
  color: var(--orange);
  background: rgba(242,125,22,.15);
  border-color: rgba(242,125,22,.35);
}

.how-it-works .section-title { color: var(--white); }

.steps {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  flex-wrap: wrap;
}

.step {
  flex: 1;
  min-width: 180px;
}

.step-number {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--orange);
  line-height: 1;
  margin-bottom: 16px;
}

.step h3 {
  font-size: 1.0625rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.step p {
  font-size: 0.9rem;
  color: rgba(255,255,255,.75);
  line-height: 1.65;
}

.step-arrow {
  font-size: 1.5rem;
  color: rgba(255,255,255,.3);
  margin-top: 32px;
  flex-shrink: 0;
}

/* ============================================================
   PRICING
   ============================================================ */
.pricing {
  padding: 96px 0;
  background: var(--off-white);
  text-align: center;
}

.pricing .section-subtitle { margin: 0 auto 56px; }

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1080px;
  margin: 0 auto 24px;
  align-items: stretch;
}

.pricing-card {
  background: var(--white);
  border: 2px solid var(--gray-light);
  border-radius: var(--radius-xl);
  padding: 40px 32px;
  box-shadow: var(--shadow-md);
  position: relative;
  display: flex;
  flex-direction: column;
  text-align: left;
}

.pricing-card--highlight {
  border-color: var(--blue);
  box-shadow: var(--shadow-lg);
  transform: translateY(-8px);
}

.pricing-card .pricing-name,
.pricing-card .pricing-price,
.pricing-card .pricing-note {
  text-align: left;
}

.pricing-card .pricing-features {
  flex-grow: 1;
}

.pricing-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--orange);
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 4px 16px;
  border-radius: 99px;
}

.pricing-name {
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--blue);
  margin-bottom: 16px;
}

.pricing-price {
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  gap: 4px;
  margin-bottom: 8px;
  line-height: 1;
}

.price-currency {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gray-mid);
  margin-bottom: 6px;
}

.price-value {
  font-size: 3.25rem;
  font-weight: 900;
  color: var(--gray-dark);
}

.price-period {
  font-size: 1rem;
  color: var(--gray-mid);
  margin-bottom: 8px;
}

.pricing-note {
  font-size: 0.85rem;
  color: var(--gray-mid);
  margin-bottom: 32px;
  font-style: italic;
}

.pricing-features {
  text-align: left;
  margin-bottom: 32px;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  font-size: 0.95rem;
  border-bottom: 1px solid var(--off-white);
}

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

.check {
  width: 22px;
  height: 22px;
  background: #d1fae5;
  color: #065f46;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
  text-align: center;
  line-height: 22px;
}

.pricing-cancel {
  margin-top: 16px;
  font-size: 0.8rem;
  color: var(--gray-mid);
  text-align: left;
}

.pricing-enterprise {
  text-align: center;
  font-size: 0.9375rem;
  color: var(--gray-mid);
  margin-bottom: 40px;
}

.pricing-enterprise a {
  color: var(--blue);
  font-weight: 600;
  text-decoration: underline;
}

.pricing-compare {
  max-width: 600px;
  margin: 0 auto;
  background: var(--yellow);
  border: 1px solid #e0dca0;
  border-radius: var(--radius-md);
  padding: 28px 36px;
}

.pricing-compare h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--gray-dark);
}

.pricing-compare p {
  font-size: 0.9375rem;
  color: #5a5420;
  line-height: 1.65;
}

/* ============================================================
   CTA
   ============================================================ */
.cta {
  padding: 96px 0;
  background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue) 100%);
  text-align: center;
}

.cta-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 900;
  color: var(--white);
  margin-bottom: 16px;
  line-height: 1.2;
}

.cta-subtitle {
  font-size: 1.0625rem;
  color: rgba(255,255,255,.75);
  margin-bottom: 40px;
}

.contact-options {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--gray-dark);
  padding: 28px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer .brand { }

.footer-copy {
  font-size: 0.85rem;
  color: rgba(255,255,255,.45);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .features-grid { grid-template-columns: 1fr 1fr; }
  .compare-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 480px; }
  .pricing-card--highlight { transform: none; }
  .steps { flex-direction: column; gap: 32px; }
  .step-arrow { display: none; }
}

@media (max-width: 640px) {
  .nav-links { display: none; }
  .navbar-inner { justify-content: space-between; }
  .hero { padding: 72px 0 60px; }
  .hero-stat-row { gap: 20px; padding: 16px 24px; flex-wrap: wrap; justify-content: center; }
  .features-grid { grid-template-columns: 1fr; }
  .pricing-card { padding: 36px 24px; }
  .pricing-compare { padding: 24px 20px; }
  .footer-inner { justify-content: center; text-align: center; }
  .problem, .features, .how-it-works, .pricing, .cta { padding: 64px 0; }
}
