:root {
  --bg: #0f172a;
  --bg-soft: #111c34;
  --surface: #17233f;
  --surface-soft: #1f2f50;
  --border: #35507d;
  --text: #f8fafc;
  --muted: #c4d0e6;
  --muted-strong: #d9e3f5;
  --primary: #22c55e;
  --primary-dark: #16a34a;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: radial-gradient(circle at 85% -10%, #203763, var(--bg) 45%);
  color: var(--text);
  line-height: 1.7;
}

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgb(53 80 125 / 72%);
  background: rgb(15 23 42 / 88%);
  backdrop-filter: blur(8px);
}

.nav {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  font-size: 1.2rem;
  font-weight: 800;
  text-decoration: none;
  color: var(--text);
}

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

.section {
  padding: 4.9rem 0;
}

.section h2 {
  font-size: clamp(1.62rem, 4vw, 2.45rem);
  line-height: 1.25;
  margin-bottom: 1rem;
}

.section-intro,
.section p {
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.75;
}

.section-alt {
  border-top: 1px solid rgb(53 80 125 / 55%);
  border-bottom: 1px solid rgb(53 80 125 / 55%);
  background: linear-gradient(180deg, rgb(17 28 52 / 84%), rgb(15 23 42 / 98%));
}

.hero {
  padding: 5.2rem 0 4.2rem;
}

.hero-grid {
  display: grid;
  gap: 2rem;
  align-items: center;
}

.badge {
  width: fit-content;
  padding: 0.42rem 0.8rem;
  margin-bottom: 1rem;
  border-radius: 999px;
  color: #032a15;
  background: var(--primary);
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.hero h1 {
  font-size: clamp(2rem, 7vw, 3.4rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
}

.hero-copy > p {
  max-width: 62ch;
  margin-top: 1rem;
  color: var(--muted-strong);
}

.hero-actions {
  margin-top: 1.9rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.7rem;
  padding: 0.84rem 1.2rem;
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 650;
  transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease;
}

.btn-primary {
  color: #052e16;
  background: var(--primary);
}

.btn-primary:hover {
  transform: translateY(-2px);
  background: var(--primary-dark);
}

.btn-ghost {
  color: var(--text);
  border-color: var(--border);
  background: rgb(31 47 80 / 44%);
}

.btn-ghost:hover {
  transform: translateY(-2px);
  border-color: var(--primary);
}

.hero-panel {
  border: 1px solid var(--border);
  border-radius: 1rem;
  background: linear-gradient(150deg, rgb(31 47 80 / 88%), rgb(23 35 63 / 98%));
  padding: 1.35rem;
  box-shadow: 0 24px 64px rgb(3 7 18 / 45%);
}

.hero-panel h2 {
  margin-bottom: 0.9rem;
  font-size: 1.15rem;
}

.hero-panel ul {
  list-style: none;
  display: grid;
  gap: 0.55rem;
}

.hero-panel li {
  border: 1px solid rgb(53 80 125 / 82%);
  background: rgb(15 23 42 / 84%);
  border-radius: 0.6rem;
  padding: 0.58rem 0.68rem;
  color: #e4ecfb;
  font-size: 0.96rem;
}

.hero-panel li strong {
  color: var(--primary);
}

.hero-panel > p {
  margin-top: 0.9rem;
  color: var(--muted-strong);
  font-size: 0.97rem;
}

.problem-grid,
.steps-grid,
.features-grid,
.pricing-grid {
  margin-top: 2rem;
  display: grid;
  gap: 1rem;
}

.problem-grid article,
.card,
.feature,
.pricing-card,
.faq-list details,
.cta-box {
  border: 1px solid var(--border);
  background: rgb(23 35 63 / 78%);
  border-radius: 1rem;
  padding: 1.2rem;
}

.problem-grid h3,
.card h3,
.pricing-card h3 {
  margin-bottom: 0.5rem;
}

.card span {
  display: inline-grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  margin-bottom: 0.68rem;
  background: rgb(34 197 94 / 22%);
  color: var(--primary);
  font-weight: 700;
}

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

.feature {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.feature span {
  font-size: 1.2rem;
}

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

.pricing-card {
  display: grid;
  gap: 0.78rem;
  background: rgb(23 35 63 / 84%);
}

.pricing-card p {
  color: var(--muted-strong);
}

.pricing-card .price {
  font-size: clamp(1.8rem, 4vw, 2.3rem);
  line-height: 1.1;
  font-weight: 800;
  color: #f8fbff;
}

.pricing-card .price span {
  font-size: 1rem;
  color: var(--muted);
  font-weight: 650;
}

.pricing-card.featured {
  border-color: var(--primary);
  box-shadow: 0 0 0 1px rgb(34 197 94 / 42%);
  background: linear-gradient(170deg, rgb(34 197 94 / 13%), rgb(23 35 63 / 92%));
}

.chip {
  width: fit-content;
  border-radius: 999px;
  background: var(--primary);
  color: #052e16;
  font-size: 0.78rem;
  font-weight: 800;
  padding: 0.3rem 0.62rem;
}

.faq-list {
  display: grid;
  margin-top: 1.3rem;
  gap: 0.8rem;
}

.faq-list details {
  background: rgb(23 35 63 / 82%);
  padding: 1.15rem 1.2rem;
}

.faq-list summary {
  font-weight: 650;
  color: #eef4ff;
  cursor: pointer;
}

.faq-list p {
  margin-top: 0.62rem;
  color: var(--muted-strong);
}

.cta-box {
  background: linear-gradient(160deg, rgb(34 197 94 / 26%), rgb(23 35 63 / 92%));
  text-align: center;
  display: grid;
  gap: 1rem;
  justify-items: center;
  padding: 2rem 1.2rem;
}

.cta-box h2 {
  margin: 0;
}

.section-demo {
  border-top: 1px solid rgb(53 80 125 / 55%);
  border-bottom: 1px solid rgb(53 80 125 / 55%);
  background: linear-gradient(180deg, rgb(23 35 63 / 92%), rgb(17 28 52 / 96%));
}

.demo-box {
  border: 1px solid var(--border);
  border-radius: 1rem;
  background: rgb(23 35 63 / 78%);
  padding: 2rem 1.4rem;
  text-align: center;
  display: grid;
  gap: 0.8rem;
  justify-items: center;
}

.demo-box h2 {
  margin: 0;
}

.demo-box .badge {
  margin-bottom: 0.2rem;
}

.demo-box .demo-subtitle,
.demo-box p {
  max-width: 64ch;
}

.btn-demo {
  margin-top: 0.4rem;
  background: #22c55e;
  color: #052e16;
}

.btn-demo:hover {
  transform: translateY(-2px);
  background: var(--primary-dark);
}

.demo-box small {
  color: var(--muted);
  font-size: 0.9rem;
}

.footer {
  border-top: 1px solid rgb(53 80 125 / 72%);
  color: var(--muted);
  text-align: center;
  padding: 1.4rem 0 2rem;
}

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

.reveal-up {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal-up.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal-up,
  .reveal-up.visible,
  .btn {
    transition: none;
    transform: none;
  }
}

@media (min-width: 740px) {
  .hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
  }

  .problem-grid,
  .steps-grid,
  .pricing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .features-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .faq-list details {
    padding: 1.2rem 1.3rem;
  }
}

@media (max-width: 739px) {
  .section {
    padding: 4.2rem 0;
  }

  .hero {
    padding-top: 4.7rem;
  }

  .hero-panel,
  .problem-grid article,
  .card,
  .feature,
  .pricing-card,
  .faq-list details,
  .cta-box,
  .demo-box {
    padding: 1rem;
  }

  .section-intro,
  .section p,
  .faq-list p {
    font-size: 1rem;
    line-height: 1.72;
  }
}

@media (min-width: 1024px) {
  .section {
    padding: 5.4rem 0;
  }

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

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