*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  min-height: 100vh;
  font-family: -apple-system, BlinkMacSystemFont, system-ui, -system-ui,
    "SF Pro Text", "SF Pro Display", sans-serif;
  background: radial-gradient(circle at top left, #f3e8ff 0, #ffffff 40%, #f5f3ff 100%);
  color: #0f172a;
  -webkit-font-smoothing: antialiased;
}

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

img {
  max-width: 100%;
  display: block;
}

.glass {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(244, 243, 255, 0.85));
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-radius: 22px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
}

.animated-card {
  transition:
    transform 260ms ease-out,
    box-shadow 260ms ease-out,
    border-radius 260ms ease-out,
    border-color 260ms ease-out;
}

.animated-card:hover {
  transform: translateY(-4px);
  border-radius: 28px;
  box-shadow: 0 26px 70px rgba(15, 23, 42, 0.12);
  border-color: rgba(129, 140, 248, 0.35);
}

.header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  background: linear-gradient(
    to bottom,
    rgba(248, 250, 252, 0.96),
    rgba(248, 250, 252, 0.88),
    transparent
  );
  border-bottom: 1px solid rgba(148, 163, 184, 0.22);
}

.header-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.logo-mark {
  width: 38px;
  height: 38px;
  border-radius: 14px;
  background: radial-gradient(circle at 20% 0, #e9d5ff, #a855f7);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #f9fafb;
  font-weight: 700;
  font-size: 20px;
  box-shadow: 0 12px 26px rgba(88, 28, 135, 0.35);
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.logo-title {
  font-weight: 600;
  font-size: 18px;
}

.logo-subtitle {
  font-size: 12px;
  color: #9ca3af;
}

.nav {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-link {
  font-size: 16px;
  color: #6b7280;
  padding: 10px 14px;
  border-radius: 999px;
  transition:
    color 180ms ease-out,
    background-color 180ms ease-out,
    transform 180ms ease-out;
}

.nav-link:hover {
  color: #4f46e5;
  background-color: rgba(129, 140, 248, 0.08);
  transform: translateY(-1px);
}

.hero {
  padding: 44px 16px 52px;
}

.hero-inner {
  max-width: 1240px;
  margin: 0 auto;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px 6px 8px;
  border-radius: 999px;
  font-size: 14px;
  color: #4b5563;
  margin-bottom: 18px;
}

.hero-badge .dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 0, #bbf7d0, #22c55e);
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.18);
}

.hero-title {
  margin: 0 0 14px;
  font-size: clamp(40px, 5.8vw, 56px);
  letter-spacing: -0.04em;
  font-weight: 700;
}

.gradient-text {
  background: linear-gradient(120deg, #4f46e5, #a855f7, #f97316);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-subtitle {
  margin: 0 auto 26px;
  max-width: 620px;
  font-size: 18px;
  line-height: 1.5;
  color: #6b7280;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-bottom: 26px;
}

.hero-buttons-center {
  justify-content: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0 22px;
  font-weight: 600;
  font-size: 17px;
  border: none;
  cursor: pointer;
  transition:
    transform 180ms ease-out,
    box-shadow 180ms ease-out,
    background 180ms ease-out,
    color 180ms ease-out,
    border-color 180ms ease-out;
  white-space: nowrap;
}

.btn-large {
  min-height: 64px;
  padding-inline: 32px;
  font-size: 18px;
}

.btn-primary {
  background: radial-gradient(circle at 20% 0, #e0e7ff, #4f46e5);
  color: #f9fafb;
  box-shadow:
    0 18px 40px rgba(79, 70, 229, 0.45),
    0 0 0 1px rgba(129, 140, 248, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow:
    0 24px 60px rgba(79, 70, 229, 0.6),
    0 0 0 1px rgba(129, 140, 248, 0.45);
  background: radial-gradient(circle at 15% 0, #e0e7ff, #4338ca);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.45);
  color: #111827;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
}

.btn-outline:hover {
  transform: translateY(-2px);
  border-color: rgba(129, 140, 248, 0.5);
  box-shadow:
    0 16px 40px rgba(148, 163, 184, 0.35),
    0 0 0 1px rgba(129, 140, 248, 0.3);
}

.btn-full {
  width: 100%;
  min-height: 46px;
  font-size: 15px;
}

.hero-benefits {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  margin-top: 10px;
}

.hero-benefit-card {
  padding: 18px 18px;
  text-align: left;
}

.hero-benefit-title {
  display: block;
  font-weight: 600;
  font-size: 16px;
  margin-bottom: 4px;
}

.hero-benefit-text {
  font-size: 15px;
  color: #6b7280;
}

.section {
  padding: 16px 16px 40px;
}

.section-inner {
  max-width: 1240px;
  margin: 0 auto;
}

.section-title {
  margin: 0 0 6px;
  font-size: 30px;
  letter-spacing: -0.03em;
}

.section-cta .section-title {
  font-size: 32px;
}

.section-subtitle {
  margin: 0 0 24px;
  font-size: 16px;
  color: #6b7280;
  max-width: 520px;
}

.section-how .section-inner,
.section-pricing .section-inner,
.section-faq .section-inner {
  text-align: left;
}

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.step-card {
  padding: 22px 22px 18px;
}

.step-number {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 0, #e0e7ff, #6366f1);
  color: #f9fafb;
  font-size: 16px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
}

.step-title {
  margin: 0 0 6px;
  font-size: 18px;
}

.step-text {
  margin: 0;
  font-size: 15px;
  color: #6b7280;
}

.section-pricing {
  padding-top: 10px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 16px;
}

.pricing-card {
  padding: 22px 22px 18px;
  position: relative;
}

.pricing-card-featured {
  background: radial-gradient(circle at 10% 0, #e0e7ff, #ffffff);
  border-color: rgba(129, 140, 248, 0.5);
}

.pricing-tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  font-size: 12px;
  border-radius: 999px;
  background: rgba(129, 140, 248, 0.08);
  color: #4f46e5;
  margin-bottom: 12px;
}

.pricing-duration {
  margin: 0 0 4px;
  font-size: 20px;
}

.pricing-price {
  margin: 0 0 4px;
  font-size: 24px;
  font-weight: 600;
}

.pricing-note {
  margin: 0 0 14px;
  font-size: 15px;
  color: #6b7280;
}

.section-faq {
  padding-top: 10px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq-item {
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.35);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  border: none;
  background: transparent;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  font-size: 16px;
  text-align: left;
  cursor: pointer;
  color: #111827;
}

.faq-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.8);
  position: relative;
  transition:
    background-color 160ms ease-out,
    transform 160ms ease-out,
    border-color 160ms ease-out;
}

.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  inset: 50%;
  width: 10px;
  height: 1.5px;
  background: #111827;
  border-radius: 999px;
  transform: translate(-50%, -50%);
  transition: transform 160ms ease-out;
}

.faq-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq-item.open .faq-icon {
  background-color: #111827;
  border-color: #111827;
}

.faq-item.open .faq-icon::before {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq-item.open .faq-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
  opacity: 0;
}

.faq-answer {
  padding: 0 16px 0;
  max-height: 0;
  overflow: hidden;
  font-size: 15px;
  color: #4b5563;
  line-height: 1.45;
  transition:
    max-height 200ms ease-out,
    padding-bottom 200ms ease-out;
}

.faq-item.open .faq-answer {
  padding-bottom: 12px;
}

.section-cta {
  padding: 16px 16px 48px;
}

.section-cta-inner {
  padding: 24px 24px 26px;
  text-align: left;
}

.footer {
  border-top: 1px solid rgba(148, 163, 184, 0.3);
  background: rgba(248, 250, 252, 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 20px 16px 16px;
}

.footer-inner {
  max-width: 1240px;
  margin: 0 auto 8px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}

.footer-main {
  max-width: 360px;
}

.footer-text {
  margin: 6px 0 0;
  font-size: 14px;
  color: #6b7280;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 15px;
}

.footer-link {
  color: #6b7280;
  padding: 4px 8px;
  border-radius: 999px;
  transition:
    background-color 150ms ease-out,
    color 150ms ease-out;
}

.footer-link:hover {
  background-color: rgba(148, 163, 184, 0.2);
  color: #111827;
}

.footer-bottom {
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: #9ca3af;
}

.footer-copy {
  white-space: nowrap;
}

@media (max-width: 768px) {
  .header-inner {
    padding: 10px 14px;
  }

  .nav {
    gap: 10px;
  }

  .nav-link {
    font-size: 13px;
    padding-inline: 10px;
  }

  .hero {
    padding-inline: 12px;
  }

  .hero-inner {
    text-align: left;
  }

  .hero-title {
    font-size: 30px;
  }

  .hero-subtitle {
    max-width: none;
  }

  .hero-buttons {
    justify-content: flex-start;
  }

  .hero-benefits {
    grid-template-columns: 1fr;
  }

  .section,
  .section-cta,
  .footer {
    padding-inline: 12px;
  }

  .section-inner,
  .footer-inner,
  .footer-bottom {
    max-width: 100%;
  }

  .footer-inner {
    flex-direction: column;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 4px;
  }
}

@media (min-width: 1120px) {
  .hero,
  .section,
  .section-cta,
  .footer {
    padding-left: 24px;
    padding-right: 24px;
  }
}

.btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
  pointer-events: none;
}

.pay-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.pay-modal[hidden] {
  display: none;
}

.pay-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
  backdrop-filter: blur(4px);
}

.pay-modal-panel {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 420px;
  padding: 28px 24px 24px;
  text-align: left;
}

.pay-modal-x {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 50%;
  background: rgba(148, 163, 184, 0.2);
  color: #475569;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.pay-modal-x:hover {
  background: rgba(148, 163, 184, 0.35);
}

.pay-modal-title {
  margin: 0 36px 8px 0;
  font-size: 22px;
  font-weight: 700;
  color: #0f172a;
}

.pay-modal-plan {
  margin: 0 0 18px;
  font-size: 15px;
  color: #64748b;
}

.pay-modal-label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
  color: #334155;
}

.pay-modal-input {
  width: 100%;
  box-sizing: border-box;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(148, 163, 184, 0.45);
  font-size: 16px;
  margin-bottom: 10px;
  background: rgba(255, 255, 255, 0.95);
}

.pay-modal-input:focus {
  outline: none;
  border-color: rgba(99, 102, 241, 0.55);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2);
}

.pay-modal-error {
  color: #b91c1c;
  font-size: 14px;
  margin: 0 0 12px;
}

.pay-modal-hint {
  margin: 14px 0 0;
  font-size: 13px;
  color: #64748b;
  line-height: 1.45;
}

.pay-modal-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
}

.pay-modal-submit.is-loading .pay-submit-label {
  opacity: 0.55;
}

.pay-submit-spinner {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: #fff;
  border-radius: 50%;
  animation: pay-spin 0.7s linear infinite;
}

@keyframes pay-spin {
  to {
    transform: rotate(360deg);
  }
}


