/* HERO */
.hero {
  padding: 108px 5% 40px;
  background:
    radial-gradient(circle at 90% 10%, rgba(124, 58, 237, 0.1), transparent 36%),
    radial-gradient(circle at 20% 30%, rgba(79, 70, 229, 0.08), transparent 30%),
    linear-gradient(180deg, #fcfcff 0%, #ffffff 68%);
}

.hero-inner {
  max-width: 1160px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 42px;
  align-items: center;
}

.hero-copy {
  animation: slideInUp 0.65s ease-out;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: #ede9fe;
  border: 1px solid #c4b5fd;
  border-radius: 100px;
  padding: 6px 14px;
  font-size: 0.78rem;
  font-weight: 600;
  color: #7c3aed;
  margin-bottom: 22px;
}

.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #16a34a;
  animation: blink 1.5s infinite;
}

.hero h1 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(2.5rem, 5vw, 4.3rem);
  font-weight: 800;
  line-height: 1.03;
  letter-spacing: -1.6px;
  max-width: 680px;
  margin-bottom: 18px;
  color: var(--text);
}

.grad {
  background: linear-gradient(135deg, #7c3aed 0%, #4f46e5 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-sub {
  font-size: 1.02rem;
  color: var(--muted);
  max-width: 560px;
  margin-bottom: 30px;
  line-height: 1.75;
}

.cta-form {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  width: 100%;
  max-width: 520px;
  margin-bottom: 10px;
}

.cta-form input {
  flex: 1;
  min-width: 220px;
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  padding: 12px 15px;
  color: var(--text);
  font-family: 'Inter', sans-serif;
  font-size: 0.92rem;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  box-shadow: var(--shadow);
}

.cta-form input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.1);
}

.cta-form input::placeholder {
  color: var(--muted);
}

.form-note {
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 14px;
}

.success-msg {
  display: none;
  color: var(--green);
  font-weight: 600;
  font-size: 0.9rem;
  margin-top: 8px;
}

.quick-links {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.chip-link {
  text-decoration: none;
  color: var(--muted);
  font-size: 0.79rem;
  border: 1px solid var(--border);
  background: #fff;
  border-radius: 999px;
  padding: 5px 12px;
  transition: border-color 0.2s, color 0.2s;
}

.chip-link:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.hero-panel {
  border: 1px solid #d9d5ff;
  border-radius: 18px;
  background:
    linear-gradient(160deg, #ffffff 0%, #f7f5ff 100%);
  box-shadow: 0 24px 64px rgba(46, 16, 101, 0.14);
  padding: 28px;
  animation: fadeIn 0.8s ease-out 0.1s both;
}

.hero-panel-label {
  color: #7c3aed;
  letter-spacing: 0.16em;
  font-size: 0.72rem;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 8px;
}

.hero-panel h3 {
  font-family: 'Syne', sans-serif;
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 18px;
}

.hero-panel ul {
  list-style: none;
  display: grid;
  gap: 10px;
}

.hero-panel li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid #ece9ff;
}

.hero-panel li span {
  color: var(--muted);
  font-size: 0.85rem;
}

.hero-panel li strong {
  color: var(--text);
  font-family: 'Syne', sans-serif;
  font-size: 1.05rem;
}

.hero-panel-foot {
  margin-top: 16px;
  color: #6d28d9;
  font-size: 0.8rem;
  font-weight: 600;
}

/* STAT BAR */
.stat-bar {
  padding: 18px 5% 0;
}

.stat-shell {
  max-width: 1160px;
  margin: 0 auto;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--surface);
  padding: 26px 28px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.stat {
  text-align: center;
  animation: slideInUp 0.8s ease-out backwards;
}

.stat:nth-child(1) { animation-delay: 0.15s; }
.stat:nth-child(2) { animation-delay: 0.25s; }
.stat:nth-child(3) { animation-delay: 0.35s; }
.stat:nth-child(4) { animation-delay: 0.45s; }

.stat-num {
  font-family: 'Syne', sans-serif;
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--accent);
}

.stat-label {
  font-size: 0.82rem;
  color: var(--muted);
  margin-top: 3px;
}

/* SECTIONS */
section {
  padding: 72px 5%;
}

.section-shell {
  max-width: 1160px;
  margin: 0 auto;
}

.surface-section {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

/* HOW IT WORKS */
.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.step-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 28px 24px;
  transition: all 0.28s ease;
  box-shadow: var(--shadow);
}

.step-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-6px);
  border-color: var(--accent);
}

.step-num {
  font-family: 'Syne', sans-serif;
  font-size: 2.2rem;
  font-weight: 800;
  color: #e8e8f0;
  line-height: 1;
  margin-bottom: 12px;
}

.step-icon {
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.step-card h3 {
  font-family: 'Syne', sans-serif;
  font-size: 1.7rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.step-card p {
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.62;
}

/* FEATURES */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.feature-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 24px;
  box-shadow: var(--shadow);
  transition: all 0.25s ease;
}

.feature-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-5px);
  border-color: var(--accent);
}

.feature-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: #ede9fe;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  margin-bottom: 14px;
}

.feature-card h3 {
  font-family: 'Syne', sans-serif;
  font-size: 1.95rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.feature-card p {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.64;
}

/* PRICING */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.price-card {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: 16px;
  padding: 28px 24px;
  text-align: center;
  position: relative;
  box-shadow: var(--shadow);
  transition: all 0.25s ease;
}

.price-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.price-card.popular {
  border-color: var(--accent);
  box-shadow: 0 20px 46px rgba(76, 29, 149, 0.16);
}

.price-card.popular:hover {
  transform: translateY(-4px);
}

.popular-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 999px;
  white-space: nowrap;
}

.plan-name {
  font-family: 'Syne', sans-serif;
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 10px;
}

.plan-price {
  font-family: 'Syne', sans-serif;
  font-size: 2.45rem;
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 2px;
  color: var(--text);
}

.plan-period {
  color: var(--muted);
  font-size: 0.8rem;
  margin-bottom: 20px;
}

.plan-features {
  list-style: none;
  margin-bottom: 24px;
  text-align: left;
}

.plan-features li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.86rem;
  color: var(--muted);
  padding: 6px 0;
  border-bottom: 1px solid var(--border);
}

.plan-features li:last-child {
  border-bottom: none;
}

.plan-features li::before {
  content: '✓';
  color: var(--green);
  font-weight: 700;
  flex-shrink: 0;
}

.btn-plan {
  width: 100%;
  padding: 11px;
  border-radius: 9px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.2s;
  border: 1.5px solid var(--border);
  background: transparent;
  color: var(--text);
}

.price-card.popular .btn-plan {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.btn-plan:hover {
  opacity: 0.88;
}

/* FAQ */
.faq-list {
  max-width: 760px;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: 10px;
  margin-bottom: 10px;
  overflow: hidden;
  background: #fff;
}

.faq-q {
  width: 100%;
  text-align: left;
  background: #fff;
  border: none;
  padding: 16px 20px;
  color: var(--text);
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.2s;
}

.faq-q:hover {
  background: var(--surface);
}

.faq-q .arrow {
  transition: transform 0.25s;
  color: var(--muted);
}

.faq-item.open .faq-q .arrow {
  transform: rotate(180deg);
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s;
  background: #fff;
  color: var(--muted);
  font-size: 0.87rem;
  line-height: 1.7;
  padding: 0 20px;
}

.faq-item.open .faq-a {
  max-height: 300px;
  padding: 0 20px 16px;
}

/* FINAL CTA */
.final-cta {
  text-align: center;
  padding: 74px 5% 86px;
  background:
    radial-gradient(circle at 80% 20%, rgba(124, 58, 237, 0.1), transparent 36%),
    linear-gradient(160deg, #faf9ff, #fff);
}

.final-cta h2 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(1.95rem, 4vw, 2.95rem);
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 12px;
}

.final-cta p {
  color: var(--muted);
  margin-bottom: 28px;
  font-size: 0.95rem;
}

.final-form {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  max-width: 460px;
  margin: 0 auto;
}

.final-cta-input {
  flex: 1;
  min-width: 190px;
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  padding: 11px 16px;
  color: var(--text);
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  outline: none;
  box-shadow: var(--shadow);
}

@keyframes blink {
  0%,
  100% { opacity: 1; }
  50% { opacity: 0.3; }
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@media (max-width: 1080px) {
  .hero-inner {
    grid-template-columns: 1fr;
  }

  .hero-panel {
    max-width: 640px;
  }

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

@media (max-width: 760px) {
  .hero {
    padding-top: 96px;
  }

  .hero h1 {
    font-size: 2.25rem;
    max-width: none;
  }

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

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

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