@import url('https://fonts.googleapis.com/css2?family=Sora:wght@400;600;700;800&family=DM+Sans:wght@400;500&display=swap');

html {
  scroll-behavior: smooth;
}

:root {
  --bg: #f8f9ff;
  --surface: #ffffff;
  --text: #0f172a;
  --muted: #475569;
  --line: #e2e8f0;
  --primary: #6d28d9;
  --primary-strong: #5b21b6;
  --primary-soft: #f3e8ff;
  --teal: #0f766e;
  --green: #15803d;
  --coral: #dc2626;
  --shadow: 0 16px 40px rgba(15, 23, 42, 0.08);
  --radius: 18px;
  --max-width: 1100px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'DM Sans', system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: radial-gradient(circle at top, #eef2ff, var(--bg) 45%);
  line-height: 1.6;
}

h1,
h2,
h3,
.logo,
.footer-logo,
.plan-price {
  font-family: 'Sora', system-ui, -apple-system, sans-serif;
  margin: 0;
}

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

section,
.proof-bar,
footer,
nav {
  width: min(var(--max-width), calc(100% - 2rem));
  margin-inline: auto;
}

nav {
  position: sticky;
  top: 0;
  z-index: 10;
  margin-top: 1rem;
  padding: 0.9rem 1.2rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(10px);
  background: rgba(248, 250, 255, 0.88);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.07);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo,
.footer-logo {
  font-weight: 800;
  letter-spacing: -0.04em;
  font-size: 1.18rem;
}

.logo span,
.footer-logo span {
  color: var(--primary);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  font-weight: 500;
}

.btn-nav {
  background: var(--primary);
  color: #fff;
  padding: 0.6rem 1rem;
  border-radius: 999px;
  transition: 0.2s ease;
}

.btn-nav:hover {
  background: var(--primary-strong);
}

.hero {
  text-align: center;
  padding: 4.8rem 0 3rem;
  animation: fadeUp 0.7s ease both;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  font-size: 0.86rem;
  color: var(--primary-strong);
  background: var(--primary-soft);
  border: 1px solid #e9d5ff;
}

.hero-badge-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: #10b981;
}

.hero h1 {
  margin-top: 1.15rem;
  font-size: clamp(2rem, 5vw, 3.65rem);
  line-height: 1.08;
  letter-spacing: -0.045em;
}

.hero h1 em {
  color: var(--primary);
  font-style: normal;
}

.hero p {
  max-width: 720px;
  margin: 1rem auto 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.hero-actions {
  margin-top: 1.5rem;
  display: flex;
  justify-content: center;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.btn-primary,
.btn-ghost,
.btn-outline,
.btn-solid {
  border: 0;
  border-radius: 12px;
  padding: 0.82rem 1.15rem;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn-primary,
.btn-solid {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 10px 20px rgba(109, 40, 217, 0.24);
}

.btn-primary:hover,
.btn-solid:hover {
  background: var(--primary-strong);
  transform: translateY(-1px);
}

.btn-ghost,
.btn-outline {
  background: #fff;
  border: 1px solid var(--line);
  color: var(--text);
}

.btn-ghost:hover,
.btn-outline:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.09);
}

.hero-trust {
  margin-top: 1rem;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.45rem;
  color: #64748b;
  font-size: 0.9rem;
}

.trust-sep {
  opacity: 0.6;
}

.proof-bar {
  margin-top: 1rem;
  margin-bottom: 3.4rem;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid #f1f5f9;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  overflow: hidden;
}

.proof-stat {
  padding: 1.2rem;
  text-align: center;
}

.proof-stat + .proof-stat {
  border-left: 1px solid #edf2f7;
}

.proof-num {
  font-family: 'Sora', system-ui, sans-serif;
  font-size: 1.65rem;
  font-weight: 800;
}

.proof-label {
  color: #64748b;
  font-size: 0.92rem;
}

.problem {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 1.25rem;
  align-items: stretch;
  margin-bottom: 4rem;
}

.problem-text,
.pain-card,
.feat-card,
.testi-card,
.price-card,
.price-card-featured,
.faq-item {
  background: var(--surface);
  border: 1px solid #edf2f7;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.problem-text,
.pain-card {
  padding: 1.35rem;
}

.problem-text h2 {
  font-size: clamp(1.4rem, 2.6vw, 2rem);
  letter-spacing: -0.03em;
}

.problem-text p {
  color: var(--muted);
}

.pain-list {
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.75rem;
}

.pain-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
}

.pain-icon {
  width: 1.15rem;
  height: 1.15rem;
  border-radius: 999px;
  display: inline-grid;
  place-items: center;
  font-size: 0.8rem;
  background: #fef2f2;
  color: #b91c1c;
  margin-top: 0.22rem;
}

.ba-title {
  margin: 0 0 0.8rem;
  color: #334155;
  font-weight: 700;
}

.before-after {
  display: grid;
  gap: 0.75rem;
}

.ba-box {
  border-radius: 14px;
  padding: 1rem;
  border: 1px solid;
}

.ba-before {
  background: #fff7ed;
  border-color: #fed7aa;
}

.ba-after {
  background: #ecfdf5;
  border-color: #bbf7d0;
}

.ba-label {
  font-family: 'Sora', system-ui, sans-serif;
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.features {
  margin-bottom: 4rem;
}

.features-inner,
.testi,
.pricing-inner,
.faq {
  text-align: center;
}

.section-label {
  display: inline-block;
  color: var(--primary-strong);
  background: var(--primary-soft);
  border: 1px solid #e9d5ff;
  border-radius: 999px;
  padding: 0.35rem 0.75rem;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.section-title,
.pricing-title,
.faq-title {
  margin-top: 0.8rem;
  font-size: clamp(1.5rem, 3.2vw, 2.45rem);
  letter-spacing: -0.035em;
}

.section-sub,
.pricing-subtitle {
  margin: 0.8rem auto 0;
  max-width: 700px;
  color: var(--muted);
}

.feat-grid,
.testi-grid,
.pricing-grid {
  margin-top: 1.5rem;
  display: grid;
  gap: 1rem;
}

.feat-grid {
  grid-template-columns: repeat(3, 1fr);
}

.feat-card {
  padding: 1.1rem;
  text-align: left;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feat-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 28px rgba(15, 23, 42, 0.11);
}

.feat-icon {
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: #eef2ff;
  margin-bottom: 0.7rem;
}

.feat-card h3 {
  font-size: 1.03rem;
  margin: 0;
}

.feat-card p {
  margin: 0.5rem 0 0;
  color: var(--muted);
}

.testi {
  margin-bottom: 4rem;
}

.testi-title {
  margin-bottom: 0.1rem;
}

.testi-grid {
  grid-template-columns: repeat(3, 1fr);
}

.testi-card {
  padding: 1.2rem;
  text-align: left;
}

.stars {
  color: #f59e0b;
  letter-spacing: 0.08em;
}

blockquote {
  margin: 0.7rem 0 0;
  color: #334155;
}

.testi-author {
  margin-top: 1rem;
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.author-av {
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 50%;
  color: #fff;
  font-weight: 700;
  display: grid;
  place-items: center;
}

.av-purple {
  background: #7c3aed;
}

.av-teal {
  background: var(--teal);
}

.av-coral {
  background: var(--coral);
}

.author-name {
  font-weight: 700;
  line-height: 1.2;
}

.author-role {
  color: #64748b;
  font-size: 0.9rem;
}

.pricing-section {
  margin-bottom: 4rem;
}

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

.price-card,
.price-card-featured {
  position: relative;
  padding: 1.35rem;
  text-align: left;
}

.price-card-featured {
  border: 2px solid #22c55e;
}

.pop-badge {
  position: absolute;
  top: -0.68rem;
  right: 1rem;
  background: #16a34a;
  color: #fff;
  border-radius: 999px;
  padding: 0.25rem 0.65rem;
  font-size: 0.75rem;
  font-weight: 700;
}

.plan-name {
  font-size: 1.02rem;
  font-weight: 700;
}

.plan-price {
  margin-top: 0.35rem;
  font-size: 2.4rem;
  font-weight: 800;
  letter-spacing: -0.05em;
}

.plan-price sup {
  font-size: 1.1rem;
  top: -0.7rem;
}

.plan-period {
  color: #64748b;
  margin-top: 0.2rem;
}

.plan-features {
  list-style: none;
  margin: 1rem 0;
  padding: 0;
  display: grid;
  gap: 0.62rem;
}

.plan-features li {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.fi {
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-size: 0.84rem;
  font-weight: 700;
}

.fi-purple {
  color: var(--primary);
  background: #f3e8ff;
}

.fi-green {
  color: var(--green);
  background: #dcfce7;
}

.fi-off {
  color: #94a3b8;
  background: #f1f5f9;
}

.fi-off-txt {
  color: #94a3b8;
}

.plan-note {
  margin: 0.6rem 0 0;
  color: #64748b;
  font-size: 0.9rem;
}

.faq {
  margin-bottom: 4rem;
}

.faq-list {
  margin-top: 1rem;
  display: grid;
  gap: 0.72rem;
}

.faq-item {
  text-align: left;
  overflow: hidden;
}

.faq-q {
  padding: 1rem 1.05rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.65rem;
}

.faq-toggle {
  font-size: 1.2rem;
  color: var(--primary);
  transition: transform 0.2s ease;
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  padding: 0 1.05rem;
  color: #475569;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.open .faq-a {
  max-height: 220px;
  padding: 0 1.05rem 1rem;
}

.faq-item.open .faq-toggle {
  transform: rotate(45deg);
}

.cta {
  margin-bottom: 4rem;
  background: linear-gradient(135deg, #ede9fe, #eef2ff);
  border-radius: var(--radius);
  border: 1px solid #ddd6fe;
  padding: 1.5rem;
  text-align: center;
}

.cta h3 {
  font-size: clamp(1.25rem, 3vw, 2rem);
}

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

footer {
  border-top: 1px solid #e5e7eb;
  padding: 1.6rem 0 2.4rem;
  text-align: center;
}

.footer-links {
  margin-top: 0.6rem;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  color: #475569;
}

.footer-copy {
  margin-top: 0.7rem;
  color: #64748b;
}

.toast {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  max-width: min(90vw, 390px);
  background: #111827;
  color: #fff;
  border-radius: 12px;
  padding: 0.8rem 0.95rem;
  font-size: 0.93rem;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.27);
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 980px) {
  .problem {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 760px) {
  nav {
    border-radius: 18px;
    align-items: flex-start;
    gap: 0.7rem;
    flex-direction: column;
  }

  .nav-links {
    flex-wrap: wrap;
  }

  .proof-bar,
  .pricing-grid,
  .feat-grid,
  .testi-grid {
    grid-template-columns: 1fr;
  }

  .proof-stat + .proof-stat {
    border-left: 0;
    border-top: 1px solid #edf2f7;
  }

  .hero {
    padding-top: 3.3rem;
  }
}
