:root {
  --blue: #075edb;
  --blue-dark: #073b86;
  --navy: #0b1f44;
  --text: #17243c;
  --muted: #66728a;
  --border: #dce6f2;
  --bg: #f6f9fd;
  --card: #ffffff;
  --success: #16a34a;
  --shadow: 0 18px 50px rgba(15, 43, 85, .12);
  --radius: 22px;
}

* { box-sizing: border-box; }

.billing-toggle .toggle {
    width: 52px !important;
    height: 28px !important;
    padding: 0 !important;
    margin: 0 !important;
    border: none !important;
    border-radius: 14px !important;
    background: #ccc !important;
    position: relative !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
    cursor: pointer;
}

    .billing-toggle .toggle span {
        display: block !important;
        position: absolute !important;
        top: 2px !important;
        left: 2px !important;
        width: 24px !important;
        height: 24px !important;
        margin: 0 !important;
        padding: 0 !important;
        border-radius: 50% !important;
        background: #fff !important;
        transform: none !important;
        transition: left 0.3s ease !important;
    }

    .billing-toggle .toggle.active {
        background: #2e7d32 !important;
    }

        .billing-toggle .toggle.active span {
            left: 26px !important;
        }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
}

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

.site-header {
  height: 72px;
  padding: 0 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255,255,255,.92);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(14px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  color: var(--navy);
  letter-spacing: .04em;
}

.brand-mark {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border: 2px solid var(--blue);
  border-radius: 7px;
  color: var(--blue);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 34px;
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
}

.main-nav a.active { color: var(--blue); }

.header-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  font-weight: 700;
}

.login { color: var(--navy); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 24px;
  border-radius: 10px;
  font-weight: 800;
  border: 1px solid transparent;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  color: #fff;
  background: linear-gradient(180deg, #126bf0, #075edb);
  box-shadow: 0 10px 24px rgba(7, 94, 219, .28);
}

.btn-secondary,
.btn-outline {
  color: var(--blue-dark);
  background: #fff;
  border-color: var(--border);
  box-shadow: 0 10px 28px rgba(15, 43, 85, .08);
}

.btn-large {
  min-height: 56px;
  padding: 0 32px;
}

.pricing-hero {
  max-width: 980px;
  margin: 0 auto;
  padding: 90px 24px 46px;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  padding: 8px 14px;
  border-radius: 99px;
  color: var(--blue-dark);
  background: #eaf3ff;
  font-weight: 900;
  margin-bottom: 22px;
}

.pricing-hero h1 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(38px, 6vw, 68px);
  line-height: 1.03;
  letter-spacing: -.045em;
}

.pricing-hero p {
  max-width: 760px;
  margin: 24px auto 0;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.65;
}

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

.trust-row {
  display: flex;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
  margin-top: 30px;
  color: var(--navy);
  font-weight: 800;
}

.billing-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 16px 0 34px;
  font-weight: 800;
}

.billing-toggle strong {
  color: var(--success);
  margin-left: 6px;
}

.muted { color: var(--muted); }

.toggle {
  width: 58px;
  height: 32px;
  border: 0;
  border-radius: 999px;
  background: var(--blue);
  padding: 4px;
  cursor: pointer;
}

.toggle span {
  display: block;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #fff;
  margin-left: 26px;
}

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

.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 34px;
  min-height: 560px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: 0 12px 34px rgba(15, 43, 85, .06);
}

.price-card.featured {
  border: 2px solid var(--blue);
  transform: translateY(-16px);
  box-shadow: var(--shadow);
}

.badge {
  position: absolute;
  top: -16px;
  right: 28px;
  padding: 8px 14px;
  border-radius: 999px;
  color: #fff;
  background: var(--blue);
  font-size: 13px;
  font-weight: 900;
}

.card-top h2 {
  margin: 0 0 10px;
  color: var(--navy);
  font-size: 30px;
}

.card-top p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.price {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.amount {
  color: var(--navy);
  font-size: 44px;
  font-weight: 950;
  letter-spacing: -.04em;
}

.period {
  color: var(--muted);
  font-weight: 700;
}

.custom-price {
  display: block;
}

.custom-price .amount {
  display: block;
  font-size: 38px;
}

.custom-price .period {
  display: block;
  margin-top: 4px;
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 4px 0 0;
  display: grid;
  gap: 14px;
}

.feature-list li {
  position: relative;
  padding-left: 30px;
  font-weight: 700;
  color: #273650;
}

.feature-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: -2px;
  color: var(--success);
  font-weight: 950;
}

.compare-section,
.faq-section {
  max-width: 1180px;
  margin: 0 auto 72px;
  padding: 0 24px;
}

.section-heading {
  text-align: center;
  margin-bottom: 28px;
}

.section-heading h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(30px, 4vw, 44px);
  letter-spacing: -.035em;
}

.section-heading p {
  margin: 12px auto 0;
  max-width: 640px;
  color: var(--muted);
  line-height: 1.6;
}

.table-wrap {
  overflow: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 12px 34px rgba(15, 43, 85, .06);
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 760px;
}

th, td {
  padding: 18px 22px;
  border-bottom: 1px solid var(--border);
  text-align: center;
}

th:first-child,
td:first-child {
  text-align: left;
  font-weight: 800;
}

th {
  color: var(--navy);
  background: #f7fbff;
}

td:not(:first-child) {
  color: var(--blue-dark);
  font-weight: 900;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

details {
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(15, 43, 85, .05);
}

summary {
  cursor: pointer;
  color: var(--navy);
  font-size: 18px;
  font-weight: 900;
}

details p {
  margin: 14px 0 0;
  color: var(--muted);
  line-height: 1.65;
}

.final-cta {
  max-width: 1180px;
  margin: 0 auto 80px;
  padding: 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-radius: 24px;
  color: #fff;
  background: linear-gradient(135deg, #075edb, #06306f);
  box-shadow: 0 22px 60px rgba(7, 94, 219, .25);
}

.final-cta h2 {
  margin: 0;
  font-size: 32px;
  letter-spacing: -.03em;
}

.final-cta p {
  margin: 10px 0 0;
  color: rgba(255,255,255,.82);
}

.final-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn-light {
  color: var(--blue-dark);
  background: #fff;
}

.btn-dark {
  color: #fff;
  background: rgba(4, 20, 50, .9);
}

@media (max-width: 980px) {
  .main-nav { display: none; }
  .pricing-grid { grid-template-columns: 1fr; }
  .price-card.featured { transform: none; }
  .faq-grid { grid-template-columns: 1fr; }
  .final-cta { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 640px) {
  .site-header { padding: 0 18px; }
  .header-actions .login { display: none; }
  .pricing-hero { padding-top: 58px; }
  .price-card { padding: 26px; }
  .trust-row { align-items: center; flex-direction: column; gap: 10px; }
}
