:root {
  --primary: #6540b5;
  --primary-dark: #513391;
  --primary-light: #f0ecf8;
  --text: #1f2430;
  --text-muted: #5b6270;
  --bg: #ffffff;
  --bg-alt: #faf9fc;
  --border: #e6e3ee;
  --success: #16a34a;
  --radius: 14px;
  --max-width: 1120px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.5;
}

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

a {
  color: inherit;
}

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* Nav */
header.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 20px;
  text-decoration: none;
  color: var(--text);
}

.brand img {
  width: 34px;
  height: 34px;
  border-radius: 9px;
}

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

.nav-links a:not(.btn) {
  text-decoration: none;
  color: var(--text-muted);
  font-weight: 500;
  font-size: 15px;
}

.nav-links a:not(.btn):hover {
  color: var(--primary);
}

.btn {
  display: inline-block;
  padding: 10px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

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

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(107, 70, 193, 0.35);
}

.btn-outline {
  background: transparent;
  border-color: var(--primary);
  color: var(--primary);
}

.btn-outline:hover {
  background: var(--primary-light);
}

.btn-disabled {
  background: #eef0f3;
  color: #9aa1ac;
  cursor: default;
}

.btn-disabled:hover {
  transform: none;
  box-shadow: none;
}

.nav-toggle {
  display: none;
}

/* Hero */
.hero {
  padding: 76px 0 60px;
  background: radial-gradient(circle at 15% 0%, var(--primary-light), transparent 55%);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.eyebrow {
  display: inline-block;
  background: var(--primary-light);
  color: var(--primary-dark);
  font-weight: 600;
  font-size: 13px;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}

h1 {
  font-size: 44px;
  line-height: 1.15;
  margin: 0 0 18px;
  letter-spacing: -0.5px;
}

.hero p.lead {
  font-size: 18px;
  color: var(--text-muted);
  margin: 0 0 30px;
  max-width: 520px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-art {
  background: linear-gradient(160deg, var(--primary), var(--primary-dark));
  border-radius: 24px;
  padding: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 320px;
}

.hero-art img {
  width: 160px;
  height: 160px;
  filter: drop-shadow(0 12px 30px rgba(0, 0, 0, 0.25));
}

/* Sections */
section {
  padding: 72px 0;
}

.section-alt {
  background: var(--bg-alt);
}

.section-head {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 44px;
}

.section-head h2 {
  font-size: 32px;
  margin: 0 0 12px;
  letter-spacing: -0.3px;
}

.section-head p {
  color: var(--text-muted);
  font-size: 16px;
  margin: 0;
}

/* Features grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.feature-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
}

.feature-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 16px;
}

.feature-card h3 {
  margin: 0 0 8px;
  font-size: 17px;
}

.feature-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 14.5px;
}

/* Pricing */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.price-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 22px;
  display: flex;
  flex-direction: column;
  position: relative;
}

.price-card.featured {
  border-color: var(--primary);
  box-shadow: 0 10px 30px rgba(107, 70, 193, 0.15);
}

.price-badge {
  position: absolute;
  top: -12px;
  right: 18px;
  background: var(--primary);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.price-card h3 {
  margin: 0 0 4px;
  font-size: 18px;
}

.price-card .plan-desc {
  color: var(--text-muted);
  font-size: 13.5px;
  margin: 0 0 18px;
  min-height: 34px;
}

.price-amount {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 4px;
}

.price-amount span {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
}

.price-soon {
  font-size: 12.5px;
  color: var(--primary-dark);
  font-weight: 600;
  margin: 0 0 18px;
}

.price-list {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  flex: 1;
}

.price-list li {
  font-size: 14px;
  color: var(--text-muted);
  padding: 6px 0;
  padding-left: 22px;
  position: relative;
}

.price-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--success);
  font-weight: 700;
}

/* CTA band */
.cta-band {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: 24px;
  padding: 56px 40px;
  text-align: center;
  color: #fff;
  margin: 0 20px;
}

.cta-band h2 {
  margin: 0 0 12px;
  font-size: 30px;
}

.cta-band p {
  margin: 0 0 26px;
  opacity: 0.9;
  font-size: 16px;
}

.cta-band .btn-primary {
  background: #fff;
  color: var(--primary-dark);
}

.cta-band .btn-primary:hover {
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

/* Footer */
footer {
  border-top: 1px solid var(--border);
  padding: 40px 0 30px;
  background: var(--bg-alt);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-links {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}

.footer-links a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 14px;
}

.footer-links a:hover {
  color: var(--primary);
}

.footer-copy {
  font-size: 13.5px;
  color: var(--text-muted);
}

/* Legal pages */
.legal {
  max-width: 780px;
  margin: 0 auto;
  padding: 56px 20px 90px;
}

.legal h1 {
  font-size: 32px;
  margin-bottom: 6px;
}

.legal .updated {
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 40px;
}

.legal h2 {
  font-size: 20px;
  margin: 36px 0 12px;
}

.legal p,
.legal li {
  color: var(--text-muted);
  font-size: 15.5px;
  line-height: 1.7;
}

.legal ul {
  padding-left: 20px;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  color: var(--primary);
  font-weight: 600;
  font-size: 14.5px;
  margin-bottom: 26px;
}

@media (max-width: 860px) {
  .hero-inner {
    grid-template-columns: 1fr;
  }
  .hero-art {
    order: -1;
    min-height: 220px;
  }
  h1 {
    font-size: 34px;
  }
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .nav-links {
    gap: 16px;
  }
}

@media (max-width: 560px) {
  .nav-links a:not(.btn) {
    display: none;
  }
  .features-grid {
    grid-template-columns: 1fr;
  }
  .pricing-grid {
    grid-template-columns: 1fr;
  }
  .cta-band {
    margin: 0 12px;
    padding: 40px 22px;
  }
  h1 {
    font-size: 28px;
  }
}
