:root {
  --bg: #ffffff;
  --bg-alt: #f7f9fc;
  --ink: #0f172a;
  --muted: #64748b;
  --accent: #2563eb;
  --accent-dark: #1d4ed8;
  --line: rgba(15, 23, 42, 0.12);
  --card: #ffffff;
  --shadow: 0 24px 60px rgba(15, 23, 42, 0.12);
}

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

body {
  font-family: "Roboto", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
}

.ambient {
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at 20% 10%, rgba(37, 99, 235, 0.08), transparent 55%),
    radial-gradient(circle at 80% 20%, rgba(59, 130, 246, 0.08), transparent 50%),
    radial-gradient(circle at 20% 80%, rgba(15, 23, 42, 0.06), transparent 60%);
  z-index: -2;
}

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

.site-header {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  z-index: 10;
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  gap: 24px;
}

.logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.logo img {
  height: 42px;
  width: auto;
  display: block;
}

.nav {
  display: flex;
  gap: 22px;
  margin-left: auto;
}

.nav a {
  text-decoration: none;
  color: var(--muted);
  font-weight: 500;
  transition: color 0.3s ease;
}

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

.nav-cta {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-left: 12px;
}

.btn {
  border: none;
  border-radius: 999px;
  padding: 12px 22px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn.solid {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 16px 30px rgba(37, 99, 235, 0.28);
}

.btn.solid:hover {
  background: var(--accent-dark);
  transform: translateY(-1px);
}

.btn.outline {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--ink);
}

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

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: transparent;
  border: none;
}

.menu-toggle span {
  width: 26px;
  height: 2px;
  background: var(--ink);
}

.hero {
  padding: 90px 0 60px;
}

.hero-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 48px;
  align-items: center;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 16px;
}

.hero h1 {
  font-size: clamp(2.5rem, 3vw + 2rem, 3.6rem);
  line-height: 1.1;
  margin-bottom: 20px;
}

.lead {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 520px;
  margin-bottom: 28px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 18px;
}

.hero-metrics strong {
  font-size: 1.4rem;
}

.hero-metrics span {
  color: var(--muted);
  font-size: 0.9rem;
}

.hero-visual {
  position: relative;
  display: grid;
  place-items: center;
}

.phone-card {
  background: var(--card);
  border-radius: 28px;
  padding: 24px;
  width: min(360px, 90vw);
  box-shadow: var(--shadow);
  position: relative;
  z-index: 1;
  animation: float 6s ease-in-out infinite;
}

.phone-card .status {
  display: inline-block;
  background: rgba(37, 99, 235, 0.12);
  color: var(--accent-dark);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 12px;
  margin-bottom: 18px;
}

.chat {
  display: grid;
  gap: 12px;
  margin-bottom: 20px;
}

.bubble {
  padding: 12px 14px;
  border-radius: 16px;
  font-size: 0.9rem;
}

.bubble.agent {
  background: rgba(37, 99, 235, 0.12);
  color: var(--ink);
  justify-self: flex-start;
}

.bubble.client {
  background: rgba(15, 23, 42, 0.06);
  justify-self: flex-end;
}

.queue {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: var(--muted);
}

.queue .bars span {
  display: inline-block;
  width: 10px;
  height: 10px;
  margin-left: 4px;
  border-radius: 50%;
  background: rgba(37, 99, 235, 0.4);
}

.orb {
  position: absolute;
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.22), transparent 65%);
  filter: blur(0.5px);
  z-index: 0;
  top: -40px;
  right: -20px;
}

.logos {
  padding: 40px 0 80px;
}

.logo-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 18px;
  text-align: center;
  margin-top: 18px;
  color: var(--muted);
  font-weight: 600;
  align-items: center;
}

.logo-row img {
  max-width: 140px;
  width: 100%;
  height: auto;
  margin: 0 auto;
  filter: grayscale(20%);
  opacity: 0.75;
}

.logo-row img:hover {
  filter: grayscale(0%);
  opacity: 1;
}

.features,
.steps,
.pricing,
.testimonials,
.faq {
  padding: 80px 0;
}

.section-head {
  max-width: 640px;
  margin-bottom: 36px;
}

.section-head h2 {
  font-size: clamp(2rem, 2vw + 1rem, 2.6rem);
  margin-bottom: 16px;
}

.section-head p {
  color: var(--muted);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.card {
  background: var(--card);
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.08);
}

.card h3 {
  margin-bottom: 10px;
}

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

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

.step-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}

.step {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--card);
}

.step-num {
  font-weight: 600;
  color: var(--accent);
  display: inline-block;
  margin-bottom: 10px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.price-card {
  background: var(--card);
  border-radius: 24px;
  padding: 26px;
  border: 1px solid var(--line);
  position: relative;
}


.custom-wide button {
  justify-self: end;
}

.price-card.featured {
  border-color: rgba(37, 99, 235, 0.35);
  box-shadow: var(--shadow);
}

.price-card .tag {
  position: absolute;
  top: -14px;
  right: 20px;
  background: var(--accent);
  color: #fff;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
}

.price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin: 16px 0;
  font-size: 1.1rem;
}

.price strong {
  font-size: 2rem;
}

.price-card ul {
  list-style: none;
  display: grid;
  gap: 8px;
  color: var(--muted);
  margin-bottom: 20px;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.testimonial-grid article {
  padding: 24px;
  background: var(--card);
  border-radius: 18px;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.08);
}

.testimonial-grid span {
  display: block;
  margin-top: 16px;
  color: var(--muted);
  font-size: 0.9rem;
}

.faq-grid {
  display: grid;
  gap: 16px;
}

.faq details {
  background: var(--card);
  padding: 18px 22px;
  border-radius: 16px;
  border: 1px solid var(--line);
}

.faq summary {
  cursor: pointer;
  font-weight: 600;
}

.legal-page {
  padding-top: 40px;
}

.legal-hero {
  padding: 40px 0 10px;
}

.legal-content {
  padding: 20px 0 80px;
}

.legal-content h2 {
  font-size: 1.35rem;
  margin: 28px 0 10px;
}

.legal-content p {
  color: var(--muted);
}

.legal-content ul {
  margin: 10px 0 0 18px;
  color: var(--muted);
  display: grid;
  gap: 6px;
}

.cta {
  padding: 80px 0 120px;
}

.cta-grid {
  background: linear-gradient(120deg, rgba(37, 99, 235, 0.08), rgba(15, 23, 42, 0.03));
  border-radius: 28px;
  padding: 40px;
  display: grid;
  gap: 30px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  align-items: center;
}

.cta-form {
  display: grid;
  gap: 14px;
}

.cta-form label {
  display: grid;
  gap: 6px;
  font-size: 0.85rem;
}

.cta-form input,
.cta-form select {
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid var(--line);
  font-family: inherit;
  background: #fff;
  color: var(--ink);
}

.form-status {
  margin-top: 14px;
  font-size: 0.95rem;
}

.form-status.success {
  color: #16a34a;
}

.form-status.error {
  color: #dc2626;
}

.site-footer {
  padding: 40px 0 30px;
  border-top: 1px solid var(--line);
  background: var(--bg-alt);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
  margin-bottom: 24px;
}

.footer-grid a,
.footer-grid span,
.footer-grid p {
  color: var(--muted);
  text-decoration: none;
  display: block;
  margin-bottom: 8px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  color: var(--muted);
  font-size: 0.85rem;
}

.footer-group {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  color: var(--muted);
  font-size: 0.85rem;
  margin-top: 10px;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.show {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 960px) {
  .nav {
    display: none;
  }

  .nav-cta {
    display: none;
  }

  .nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 70px;
    right: 5vw;
    background: var(--card);
    padding: 18px;
    border-radius: 16px;
    box-shadow: var(--shadow);
    gap: 14px;
    border: 1px solid var(--line);
  }

  .nav-cta.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 210px;
    right: 5vw;
    background: var(--card);
    padding: 16px;
    border-radius: 16px;
    box-shadow: var(--shadow);
    gap: 10px;
    border: 1px solid var(--line);
  }

  .menu-toggle {
    display: flex;
  }
}

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

  .hero-metrics {
    grid-template-columns: 1fr;
  }

  .cta-grid {
    padding: 30px;
  }

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