:root {
  --bg: #0b0f17;
  --surface: #111827;
  --surface-2: #1f2937;
  --text: #f9fafb;
  --text-muted: #9ca3af;
  --brand: #3b82f6;
  --brand-2: #8b5cf6;
  --brand-gradient: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
  --accent: #22d3ee;
  --success: #22c55e;
  --radius: 1rem;
  --shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

img {
  max-width: 100%;
}

.container {
  width: 100%;
  max-width: 1150px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 15, 23, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 800;
  font-size: 1.25rem;
}

.logo__mark {
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 0.5rem;
  background: var(--brand-gradient);
  color: #fff;
  font-size: 1rem;
}

.logo--small {
  font-size: 1.05rem;
}

.nav {
  display: none;
  align-items: center;
  gap: 1.75rem;
  font-size: 0.95rem;
  font-weight: 500;
}

.nav a {
  color: var(--text-muted);
  transition: color 0.2s;
}

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

.nav__cta {
  display: inline-flex;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  background: var(--brand-gradient);
  color: #fff !important;
}

.menu-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
}

.mobile-menu {
  position: absolute;
  top: 4rem;
  left: 0;
  right: 0;
  background: var(--surface);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.mobile-menu[hidden] {
  display: none;
}

.mobile-menu a {
  font-weight: 500;
  color: var(--text-muted);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.5rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s, opacity 0.15s;
}

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

.btn--primary {
  background: var(--brand-gradient);
  color: #fff;
  box-shadow: 0 8px 24px rgba(59, 130, 246, 0.3);
}

.btn--secondary {
  background: var(--surface-2);
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn--block {
  width: 100%;
}

/* Hero */
.hero {
  padding: 4rem 0 5rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 60%;
  height: 80%;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.18) 0%, transparent 60%);
  pointer-events: none;
}

.hero__grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}

.eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}

.hero h1 {
  font-size: clamp(2.2rem, 6vw, 3.6rem);
  line-height: 1.1;
  margin: 0 0 1.25rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.hero__lead {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 540px;
  margin: 0 0 2rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.75rem;
}

.hero__checks {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Chat demo */
.hero__visual {
  display: flex;
  justify-content: center;
}

.chat-demo {
  width: 100%;
  max-width: 380px;
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.chat-demo__header {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 1rem;
  background: var(--surface-2);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.chat-demo__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.2);
}

.chat-demo__title {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.chat-demo__body {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.bubble {
  max-width: 85%;
  padding: 0.75rem 1rem;
  border-radius: 1rem;
  font-size: 0.9rem;
  line-height: 1.45;
}

.bubble p {
  margin: 0;
}

.bubble--in {
  align-self: flex-start;
  background: var(--surface-2);
  border-bottom-left-radius: 0.25rem;
  color: var(--text);
}

.bubble--out {
  align-self: flex-end;
  background: var(--brand-gradient);
  border-bottom-right-radius: 0.25rem;
  color: #fff;
}

/* Trust */
.trust {
  padding: 3rem 0;
  background: var(--surface);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.trust__label {
  text-align: center;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin: 0 0 1.5rem;
}

.trust__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.trust__item {
  padding: 1rem;
  background: var(--bg);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 0.75rem;
}

.trust__item strong {
  display: block;
  font-size: 0.95rem;
  margin-bottom: 0.25rem;
}

.trust__item span {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Sections */
.section-head {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 3rem;
}

.section-head h2 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  margin: 0 0 1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

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

.use-cases,
.how-it-works,
.pricing,
.contact {
  padding: 5rem 0;
}

/* Cards */
.use-cases__grid {
  display: grid;
  gap: 1.25rem;
}

.card {
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: transform 0.2s, border-color 0.2s;
}

.card:hover {
  transform: translateY(-3px);
  border-color: rgba(139, 92, 246, 0.35);
}

.card__icon {
  font-size: 1.75rem;
  margin-bottom: 1rem;
}

.card h3 {
  margin: 0 0 0.6rem;
  font-size: 1.15rem;
  font-weight: 700;
}

.card__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  margin-bottom: 0.75rem;
  width: fit-content;
}

.card__badge--available {
  background: rgba(34, 197, 94, 0.15);
  color: #4ade80;
}

.card__badge--roadmap {
  background: rgba(139, 92, 246, 0.15);
  color: #c4b5fd;
}

.card--roadmap {
  opacity: 0.85;
}

.card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* How it works */
.how-it-works {
  background: var(--surface);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.steps {
  display: grid;
  gap: 2rem;
  counter-reset: step;
}

.step {
  position: relative;
  padding-left: 4rem;
}

.step__number {
  position: absolute;
  left: 0;
  top: 0;
  width: 2.75rem;
  height: 2.75rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--brand-gradient);
  font-weight: 800;
  font-size: 1.1rem;
}

.step h3 {
  margin: 0 0 0.4rem;
  font-size: 1.2rem;
}

.step p {
  margin: 0;
  color: var(--text-muted);
}

/* Pricing */
.pricing__grid {
  display: grid;
  gap: 1.5rem;
  align-items: start;
}

.plan {
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius);
  padding: 2rem 1.75rem;
  position: relative;
}

.plan--featured {
  border-color: rgba(59, 130, 246, 0.4);
  box-shadow: 0 0 40px rgba(59, 130, 246, 0.12);
}

.plan__badge {
  position: absolute;
  top: -0.75rem;
  right: 1.5rem;
  background: var(--brand-gradient);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
}

.plan__name {
  margin: 0 0 0.4rem;
  font-size: 1.35rem;
  font-weight: 800;
}

.plan__desc {
  margin: 0 0 1.25rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.plan__price {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--brand);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.plan__price span {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-muted);
}

.plan__features {
  list-style: none;
  padding: 0;
  margin: 0 0 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.plan__features li::before {
  content: '✓';
  color: var(--success);
  font-weight: 700;
  margin-right: 0.5rem;
}

/* Contact */
.contact {
  background: var(--surface);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.contact__grid {
  display: grid;
  gap: 3rem;
}

.contact__copy h2 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  margin: 0 0 1rem;
  font-weight: 800;
}

.contact__copy p {
  color: var(--text-muted);
  margin: 0 0 1.5rem;
}

.contact__info {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  color: var(--text-muted);
}

/* Form */
.form {
  background: var(--bg);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  padding: 1.75rem;
}

.form__group {
  margin-bottom: 1.1rem;
}

.form__group--checkbox {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  padding: 0.6rem 0;
}

.form__group--checkbox input {
  flex-shrink: 0;
  width: 1rem;
  height: 1rem;
  accent-color: var(--primary);
}

.form__group--checkbox label {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0;
}

.form label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.form input,
.form textarea,
.form select {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: 0.65rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: var(--surface-2);
  color: var(--text);
  font: inherit;
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form input:focus,
.form textarea:focus,
.form select:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}

.form__feedback {
  margin-top: 1rem;
  min-height: 1.5rem;
  font-size: 0.9rem;
  font-weight: 500;
}

.form__feedback.success {
  color: var(--success);
}

.form__feedback.error {
  color: #f87171;
}

/* Footer */
.footer {
  padding: 3rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer__grid {
  display: grid;
  gap: 1.5rem;
}

.footer__tagline {
  color: var(--text-muted);
  max-width: 280px;
  margin: 0.75rem 0 0;
  font-size: 0.95rem;
}

.footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.footer__legal {
  color: var(--text-muted);
  font-size: 0.85rem;
}

.footer__legal p {
  margin: 0;
}

/* Responsive */
@media (min-width: 768px) {
  .nav {
    display: flex;
  }

  .menu-toggle {
    display: none;
  }

  .mobile-menu {
    display: none !important;
  }

  .hero__grid {
    grid-template-columns: 1.1fr 0.9fr;
  }

  .trust__grid {
    grid-template-columns: repeat(4, 1fr);
  }

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

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

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

  .contact__grid {
    grid-template-columns: 1fr 1.1fr;
  }

  .footer__grid {
    grid-template-columns: 1.5fr 1fr 1fr;
    align-items: start;
  }
}

@media (min-width: 1024px) {
  .use-cases__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .pricing__grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
