:root {
  --bg: #0b0d17;
  --bg-alt: #11142099;
  --surface: #ffffff;
  --surface-alt: #f6f7fb;
  --ink: #12131a;
  --ink-soft: #565a6e;
  --border: #e6e7f0;
  --primary: #6d5bff;
  --primary-dark: #5843e0;
  --accent: #22d3ee;
  --success: #2fbf71;
  --radius: 16px;
  --max-width: 1160px;
  --shadow: 0 20px 45px -20px rgba(22, 21, 48, 0.35);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background: var(--surface);
  line-height: 1.55;
}

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

a {
  color: inherit;
}

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--primary);
  background: rgba(109, 91, 255, 0.1);
  padding: 6px 14px;
  border-radius: 999px;
}

h1, h2, h3, h4 {
  line-height: 1.15;
  margin: 0;
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(28px, 3.4vw, 40px);
}

h3 {
  font-size: 20px;
}

p {
  margin: 0;
}

.section {
  padding: 96px 0;
}

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

.section-head {
  max-width: 640px;
  margin: 0 auto 56px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
}

.section-head p {
  color: var(--ink-soft);
  font-size: 17px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--primary);
  color: white;
  box-shadow: 0 12px 24px -10px rgba(109, 91, 255, 0.65);
}

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

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--border);
}

.btn-ghost:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.btn-on-dark {
  background: rgba(255, 255, 255, 0.08);
  color: white;
  border-color: rgba(255, 255, 255, 0.25);
}

.btn-on-dark:hover {
  background: rgba(255, 255, 255, 0.16);
}

.btn-block {
  width: 100%;
}

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

.nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

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

.brand-mark {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  font-size: 15px;
  font-weight: 500;
}

.nav-links a {
  text-decoration: none;
  color: var(--ink-soft);
  transition: color 0.15s ease;
}

.nav-links a:hover {
  color: var(--ink);
}

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

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  margin: 5px 0;
  border-radius: 2px;
}

/* Hero */
.hero {
  position: relative;
  background: radial-gradient(circle at 20% 15%, #241f52 0%, var(--bg) 55%);
  color: white;
  overflow: hidden;
  padding: 120px 0 100px;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 85% 20%, rgba(34, 211, 238, 0.25), transparent 45%);
  pointer-events: none;
}

.hero .container {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(34, 211, 238, 0.12);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 22px;
}

.hero h1 {
  font-size: clamp(34px, 4.6vw, 54px);
  margin-bottom: 20px;
}

.hero p.lead {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.72);
  max-width: 480px;
  margin-bottom: 34px;
}

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

.hero-note {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
}

/* Hero mock panel */
.hero-panel {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  padding: 22px;
  backdrop-filter: blur(6px);
  box-shadow: var(--shadow);
}

.hero-panel-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
}

.chat-bubble {
  border-radius: 14px;
  padding: 12px 16px;
  font-size: 14px;
  margin-bottom: 12px;
  max-width: 85%;
}

.chat-bubble.customer {
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.9);
}

.chat-bubble.ai {
  background: linear-gradient(135deg, var(--primary), #8a7bff);
  color: white;
  margin-left: auto;
}

.chat-meta {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
  margin: 4px 0 16px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-stat-value {
  font-size: 20px;
  font-weight: 700;
  color: white;
}

.hero-stat-label {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
}

/* Logos / channels strip */
.channels-strip {
  padding: 40px 0;
  border-bottom: 1px solid var(--border);
}

.channels-strip .container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 600;
}

.channel-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface-alt);
}

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

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.card-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(109, 91, 255, 0.1);
  color: var(--primary);
  margin-bottom: 4px;
}

.card p {
  color: var(--ink-soft);
  font-size: 15px;
}

/* How it works */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  counter-reset: step;
}

.step {
  position: relative;
  padding-top: 8px;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--ink);
  color: white;
  font-weight: 700;
  font-size: 15px;
  margin-bottom: 18px;
}

.step h3 {
  margin-bottom: 8px;
}

.step p {
  color: var(--ink-soft);
  font-size: 15px;
}

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

.price-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.price-card.featured {
  border-color: var(--primary);
  box-shadow: var(--shadow);
  position: relative;
}

.price-card.featured::before {
  content: "Most popular";
  position: absolute;
  top: -13px;
  left: 28px;
  background: var(--primary);
  color: white;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 999px;
}

.price-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink-soft);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.price-amount {
  font-size: 40px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.price-amount span {
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-soft);
}

.price-desc {
  color: var(--ink-soft);
  font-size: 14px;
}

.price-features {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 14px;
  flex: 1;
}

.price-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.check {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(47, 191, 113, 0.15);
  color: var(--success);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

/* FAQ */
.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  background: var(--surface);
}

.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 20px 22px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: var(--ink);
}

.faq-question .plus {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  transition: transform 0.2s ease;
}

.faq-item.open .faq-question .plus {
  transform: rotate(45deg);
  border-color: var(--primary);
  color: var(--primary);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
}

.faq-answer p {
  padding: 0 22px 20px;
  color: var(--ink-soft);
  font-size: 15px;
}

/* Final CTA */
.cta-banner {
  background: linear-gradient(135deg, #1b1440, #2d2170);
  color: white;
  border-radius: 28px;
  padding: 64px 48px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.cta-banner h2 {
  color: white;
  max-width: 560px;
}

.cta-banner p {
  color: rgba(255, 255, 255, 0.7);
  max-width: 480px;
}

.cta-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 8px;
}

/* Footer */
.footer {
  border-top: 1px solid var(--border);
  padding: 56px 0 32px;
  background: var(--surface-alt);
}

.footer-top {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand p {
  color: var(--ink-soft);
  font-size: 14px;
  margin-top: 12px;
  max-width: 260px;
}

.footer-cols {
  display: flex;
  gap: 64px;
  flex-wrap: wrap;
}

.footer-col h4 {
  font-size: 14px;
  margin-bottom: 14px;
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 14px;
}

.footer-col a {
  text-decoration: none;
  color: var(--ink-soft);
}

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

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  color: var(--ink-soft);
}

/* Responsive */
@media (max-width: 900px) {
  .hero .container {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 720px) {
  .nav-links,
  .nav-actions .btn-ghost {
    display: none;
  }

  .nav-links.open {
    display: flex;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    padding: 8px 24px 16px;
  }

  .nav-links.open a {
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
  }

  .nav-links.open a:last-child {
    border-bottom: none;
  }

  .nav-toggle {
    display: block;
  }

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

  .section {
    padding: 64px 0;
  }

  .cta-banner {
    padding: 48px 24px;
  }

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