* {
  box-sizing: border-box;
}

:root {
  --primary: #2143a6;
  --primary-dark: #13285f;
  --accent: #11b66f;
  --accent-dark: #0b965b;
  --text: #111827;
  --muted: #667085;
  --line: #e5e7eb;
  --surface: #ffffff;
  --surface-soft: #f8faff;
  --bg: #f4f7fb;
  --shadow: 0 18px 50px rgba(17, 24, 39, 0.08);
  --radius: 18px;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.5;
}

img {
  max-width: 100%;
  display: block;
}

h1, h2, h3, h4, p {
  margin-top: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

/* HEADER */
.site-header {
  background: #fff;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 50;
}

.nav-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 700;
}

.brand-name {
  font-size: 18px;
  font-weight: 700;
}

.brand-sub {
  font-size: 13px;
  color: var(--muted);
}

.progress-steps {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 14px;
}

.step.active {
  color: var(--primary);
  font-weight: 700;
}

.step.done {
  color: var(--accent);
  font-weight: 700;
}

.divider {
  opacity: 0.5;
}

/* HERO */
.hero {
  background:
    radial-gradient(circle at top left, rgba(255,255,255,0.14), transparent 30%),
    linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
}

.hero-home {
  padding: 80px 20px 70px;
}

.hero-small {
  padding: 60px 20px 50px;
}

.hero-content {
  max-width: 1200px;
  margin: 0 auto;
}

.eyebrow {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.12);
  font-size: 13px;
  margin-bottom: 18px;
}

.hero h1 {
  font-size: 46px;
  line-height: 1.1;
  max-width: 760px;
  margin-bottom: 16px;
}

.hero p {
  max-width: 720px;
  font-size: 17px;
  opacity: 0.92;
  margin-bottom: 0;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.hero-points span {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.1);
  font-size: 14px;
}

/* LAYOUT */
.page-shell {
  max-width: 1200px;
  margin: -24px auto 0;
  padding: 0 20px 40px;
  position: relative;
}

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.8fr) minmax(280px, 0.9fr);
  gap: 24px;
  align-items: start;
}

.payment-grid {
  margin-top: 24px;
}

.main-column,
.summary-column {
  min-width: 0;
}

/* SECTIONS */
.section-card,
.summary-card {
  background: var(--surface);
  border: 1px solid rgba(15, 23, 42, 0.05);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.section-card {
  padding: 24px;
  margin-bottom: 24px;
}

.summary-card {
  padding: 22px;
}

.sticky-card {
  position: sticky;
  top: 95px;
}

.section-head {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
}

.section-head p {
  color: var(--muted);
  margin-bottom: 0;
}

/* PLAN CARDS */
.plans-grid {
  display: grid;
  gap: 18px;
}

.plan-card {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px;
  background: #fff;
  cursor: pointer;
  transition: 0.25s ease;
}

.plan-card:hover {
  transform: translateY(-4px);
  border-color: #cfd8ef;
  box-shadow: 0 16px 30px rgba(33, 67, 166, 0.08);
}

.plan-card.selected {
  border: 2px solid var(--primary);
  background: #f9fbff;
}

.plan-card.featured {
  border: 2px solid rgba(17, 182, 111, 0.25);
  background: linear-gradient(180deg, #ffffff 0%, #f8fffb 100%);
}

.plan-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  background: var(--accent);
  color: #fff;
  padding: 6px 10px;
  font-size: 12px;
  border-radius: 999px;
  font-weight: 700;
}

.plan-top {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 12px;
}

.plan-top p {
  color: var(--muted);
  margin-bottom: 0;
  font-size: 14px;
}

.plan-price {
  text-align: right;
  white-space: nowrap;
}

.plan-price strong {
  display: block;
  font-size: 28px;
  line-height: 1;
}

.plan-price span {
  color: var(--muted);
  font-size: 14px;
}

.feature-list {
  margin: 0;
  padding-left: 18px;
  color: #253046;
}

.feature-list li {
  margin: 8px 0;
}

/* INFO */
.info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.info-box {
  background: var(--surface-soft);
  border: 1px solid #e6ecfb;
  border-radius: 16px;
  padding: 18px;
}

.info-box h4 {
  margin-bottom: 8px;
}

.info-box p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 14px;
}

.faq-card .faq-item {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.faq-card .faq-item:last-child {
  border-bottom: none;
}

.faq-item h4 {
  margin-bottom: 6px;
}

.faq-item p {
  margin-bottom: 0;
  color: var(--muted);
}

/* SUMMARY */
.summary-line,
.summary-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.summary-line span,
.summary-total span {
  color: var(--muted);
}

.summary-total strong {
  font-size: 28px;
}

.summary-note {
  font-size: 14px;
  color: var(--muted);
  background: #f8fafc;
  border: 1px solid var(--line);
  padding: 12px;
  border-radius: 12px;
  margin: 14px 0 18px;
}

.trust-list,
.summary-box {
  background: var(--surface-soft);
  border: 1px solid #e6ecfb;
  border-radius: 14px;
  padding: 14px;
  margin: 18px 0;
}

.trust-list p,
.summary-box p {
  margin: 8px 0;
  color: #24324b;
  font-size: 14px;
}

/* BUTTON */
.btn {
  width: 100%;
  border: none;
  border-radius: 14px;
  padding: 15px 18px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: 0.25s ease;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-primary:hover {
  background: var(--accent-dark);
}

/* FORM */
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group.full {
  grid-column: 1 / -1;
}

label {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 8px;
}

input,
select {
  width: 100%;
  border: 1px solid #d9e0ef;
  border-radius: 12px;
  padding: 14px 14px;
  font-size: 15px;
  background: #fff;
  outline: none;
  transition: 0.2s ease;
}

input:focus,
select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(33, 67, 166, 0.08);
}

small {
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
}

/* CARD PREVIEW */
.card-preview {
  background: linear-gradient(135deg, #274cb6 0%, #142a67 100%);
  color: #fff;
  border-radius: 18px;
  padding: 22px;
  min-height: 190px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 18px 38px rgba(20, 42, 103, 0.28);
}

.card-chip {
  width: 48px;
  height: 34px;
  border-radius: 8px;
  background: linear-gradient(135deg, #f0d67b, #bb8f1f);
}

.card-preview-number {
  font-size: 26px;
  letter-spacing: 2px;
  word-spacing: 4px;
  margin-top: 18px;
}

.card-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 14px;
  text-transform: uppercase;
}

.checkout-note {
  display: flex;
  gap: 12px;
  background: #f8fbff;
  border: 1px solid #dbe8ff;
  border-radius: 14px;
  padding: 14px;
  margin: 20px 0;
}

.checkout-note p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.checkout-note-icon {
  width: 28px;
  height: 28px;
  min-width: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--primary);
  color: white;
  font-weight: 700;
}

/* CTA */
.bottom-cta {
  padding: 20px 20px 60px;
}

.bottom-cta-inner {
  max-width: 1200px;
  margin: 0 auto;
  background: #0f172a;
  color: white;
  border-radius: 24px;
  padding: 34px 24px;
  text-align: center;
}

.bottom-cta-inner p {
  color: rgba(255,255,255,0.78);
  margin-bottom: 0;
}

/* MOBILE */
@media (max-width: 992px) {
  .content-grid {
    grid-template-columns: 1fr;
  }

  .sticky-card {
    position: static;
  }

  .summary-column {
    order: -1;
  }

  .hero h1 {
    font-size: 38px;
  }
}

@media (max-width: 768px) {
  .nav-wrap {
    flex-direction: column;
    align-items: flex-start;
  }

  .progress-steps {
    width: 100%;
    gap: 8px;
  }

  .page-shell {
    padding: 0 14px 30px;
  }

  .hero-home,
  .hero-small {
    padding: 56px 14px 44px;
  }

  .hero h1 {
    font-size: 30px;
  }

  .hero p {
    font-size: 15px;
  }

  .section-card,
  .summary-card {
    padding: 18px;
    border-radius: 16px;
  }

  .plan-top {
    flex-direction: column;
    align-items: flex-start;
  }

  .plan-price {
    text-align: left;
  }

  .info-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .card-preview-number {
    font-size: 20px;
  }

  .summary-total strong {
    font-size: 24px;
  }
}

@media (max-width: 480px) {
  .brand-name {
    font-size: 16px;
  }

  .brand-sub {
    font-size: 12px;
  }

  .progress-steps {
    font-size: 12px;
  }

  .hero-points span {
    width: 100%;
    text-align: center;
  }

  .card-preview {
    min-height: 170px;
  }

  .card-preview-number {
    font-size: 18px;
    letter-spacing: 1px;
  }
}