:root {
  --bg: #fbfbff;
  --surface: #ffffff;
  --surface-soft: #f6f3ff;
  --text: #070b22;
  --muted: #66708d;
  --line: rgba(20, 24, 55, 0.1);
  --purple: #6a4cff;
  --purple-dark: #4d35f2;
  --pink: #ed4db8;
  --blue: #2f9bff;
  --green: #11a889;
  --shadow: 0 24px 80px rgba(29, 23, 84, 0.11);
  --shadow-soft: 0 18px 50px rgba(31, 26, 92, 0.08);
  --radius-lg: 30px;
  --radius-md: 22px;
  --radius-sm: 14px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family:
    "Avenir Next",
    "Satoshi",
    "Plus Jakarta Sans",
    "Manrope",
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 20% 10%, rgba(117, 88, 255, 0.13), transparent 28%),
    radial-gradient(circle at 82% 18%, rgba(237, 77, 184, 0.11), transparent 26%),
    linear-gradient(180deg, #ffffff 0%, #fbfbff 42%, #f8f7ff 100%);
  min-height: 100vh;
}

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



.main-nav a:hover,
.main-nav a.active {
  opacity: 1;
  color: var(--purple-dark);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 22px;
  min-width: 250px;
  justify-content: flex-end;
}


.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 14px;
  font-weight: 650;
  font-size: 15px;
  border: 0;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: white;
  background: linear-gradient(135deg, #5142ff 0%, #7d4cff 48%, #e64ab5 100%);
  box-shadow: 0 16px 38px rgba(96, 74, 255, 0.25);
}

.button-soft {
  color: var(--purple-dark);
  background: linear-gradient(135deg, rgba(102, 76, 255, 0.12), rgba(237, 77, 184, 0.1));
}

.button-muted {
  color: #101633;
  background: #f0eff7;
}

.pricing-hero {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 80px 0 36px;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 34px;
  padding: 0 15px;
  border-radius: 999px;
  color: var(--purple-dark);
  background: rgba(106, 76, 255, 0.09);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.pricing-hero h1 {
  margin: 24px auto 18px;
  max-width: 980px;
  font-size: clamp(44px, 6vw, 76px);
  line-height: 0.98;
  letter-spacing: -0.06em;
  font-weight: 720;
}

.pricing-hero p {
  max-width: 680px;
  margin: 0 auto;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.55;
}

.billing-switch {
  width: 330px;
  height: 58px;
  margin: 36px auto 12px;
  padding: 6px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  position: relative;
  border: 1px solid rgba(30, 34, 75, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.75);
  box-shadow: 0 14px 34px rgba(31, 26, 92, 0.08);
}

.billing-switch input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.billing-switch label {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: #4a526f;
  font-size: 15px;
  font-weight: 650;
  cursor: pointer;
  transition: color 0.25s ease;
}

.switch-highlight {
  position: absolute;
  z-index: 1;
  top: 6px;
  left: 6px;
  width: calc(50% - 6px);
  height: calc(100% - 12px);
  border-radius: 999px;
  background: linear-gradient(135deg, #5945ff, #8a55ff);
  box-shadow: 0 14px 30px rgba(96, 74, 255, 0.25);
  transition: transform 0.25s ease;
}

#monthly:checked ~ label[for="monthly"],
#yearly:checked ~ label[for="yearly"] {
  color: white;
}

#yearly:checked ~ .switch-highlight {
  transform: translateX(100%);
}

.discount-note {
  color: var(--purple-dark);
  font-size: 14px;
  font-weight: 650;
}

.pricing-grid {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}

.pricing-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 660px;
  padding: 32px;
  border: 1px solid rgba(24, 28, 61, 0.11);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.82)),
    radial-gradient(circle at 30% 0%, rgba(117, 88, 255, 0.12), transparent 42%);
  box-shadow: var(--shadow-soft);
}

.featured-card {
  border-color: rgba(106, 76, 255, 0.46);
  box-shadow:
    0 30px 90px rgba(92, 72, 255, 0.17),
    inset 0 0 0 1px rgba(237, 77, 184, 0.18);
  transform: translateY(-14px);
}

.popular-badge {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  height: 30px;
  padding: 0 16px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  color: white;
  background: linear-gradient(135deg, #604bff, #ef4db8);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  box-shadow: 0 14px 30px rgba(117, 88, 255, 0.28);
}

.plan-icon {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  font-size: 30px;
  font-weight: 700;
  margin-bottom: 24px;
}

.plan-icon-free {
  color: var(--purple-dark);
  background: linear-gradient(135deg, rgba(106, 76, 255, 0.12), rgba(106, 76, 255, 0.05));
}

.plan-icon-pro {
  color: var(--purple-dark);
  background: linear-gradient(135deg, rgba(106, 76, 255, 0.14), rgba(47, 155, 255, 0.08));
}

.plan-icon-team {
  color: var(--pink);
  background: linear-gradient(135deg, rgba(237, 77, 184, 0.15), rgba(255, 151, 196, 0.08));
}

.plan-heading h2 {
  margin: 0 0 8px;
  font-size: 26px;
  line-height: 1.1;
  letter-spacing: -0.035em;
  font-weight: 720;
}

.plan-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
  min-height: 72px;
}

.price {
  margin: 28px 0 24px;
  min-height: 74px;
  display: flex;
  align-items: baseline;
  gap: 7px;
}

.amount {
  font-size: 52px;
  line-height: 1;
  font-weight: 760;
  letter-spacing: -0.055em;
}

.term {
  color: var(--muted);
  font-size: 14px;
  font-weight: 560;
}

.price-yearly {
  display: none;
}

body:has(#yearly:checked) .price-monthly {
  display: none;
}

body:has(#yearly:checked) .price-yearly {
  display: flex;
}

.pricing-card .button {
  width: 100%;
  margin-bottom: 28px;
}

.feature-list {
  margin: auto 0 0;
  padding: 28px 0 0;
  list-style: none;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 15px;
  color: #27304d;
  font-size: 14.5px;
  line-height: 1.35;
}

.feature-list li {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 10px;
}

.feature-list li::before {
  content: "✓";
  color: var(--purple-dark);
  font-weight: 800;
}

.feature-list-pink li::before {
  color: var(--pink);
}

.pricing-trust {
  width: min(1000px, calc(100% - 40px));
  margin: 42px auto 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.trust-item {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  padding: 18px;
  border-radius: 20px;
}

.trust-item span {
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  color: var(--purple-dark);
  border-radius: 50%;
  background: rgba(106, 76, 255, 0.1);
  font-weight: 700;
}

.trust-item strong {
  display: block;
  font-size: 14px;
  font-weight: 650;
  margin-bottom: 4px;
}

.trust-item p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
}

.pricing-faq {
  width: min(1120px, calc(100% - 40px));
  margin: 82px auto 96px;
  padding: 44px;
  border: 1px solid rgba(24, 28, 61, 0.09);
  border-radius: 34px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow-soft);
}

.faq-heading {
  text-align: center;
  margin-bottom: 36px;
}

.faq-heading span {
  color: var(--purple-dark);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.faq-heading h2 {
  margin: 8px 0 0;
  font-size: clamp(30px, 4vw, 46px);
  letter-spacing: -0.05em;
  line-height: 1;
  font-weight: 720;
}

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

.faq-grid article {
  padding: 26px;
  border-radius: 24px;
  background: #ffffff;
  border: 1px solid rgba(24, 28, 61, 0.08);
}

.faq-grid h3 {
  margin: 0 0 10px;
  font-size: 18px;
  letter-spacing: -0.03em;
  font-weight: 680;
}

.faq-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
  font-size: 15px;
}

@media (max-width: 980px) {
  .site-header {
    height: auto;
    padding: 20px;
    gap: 18px;
    flex-wrap: wrap;
  }


  .main-nav {
    order: 3;
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
    gap: 18px;
  }

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

  .featured-card {
    transform: none;
  }

  .pricing-card {
    min-height: auto;
  }

  .pricing-trust {
    grid-template-columns: repeat(2, 1fr);
  }

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

@media (max-width: 640px) {
  .site-header {
    justify-content: center;
  }



  .header-actions {
    width: 100%;
    justify-content: center;
  }

  .login-link {
    display: none;
  }

  .pricing-hero {
    padding-top: 52px;
  }

  .pricing-hero h1 {
    font-size: 46px;
    letter-spacing: -0.05em;
  }

  .billing-switch {
    width: 100%;
    max-width: 330px;
  }

  .pricing-card {
    padding: 26px;
    border-radius: 26px;
  }

  .amount {
    font-size: 46px;
  }

  .pricing-trust {
    grid-template-columns: 1fr;
  }

  .pricing-faq {
    padding: 28px;
    margin-bottom: 56px;
  }
}

