:root {
  --bg: #06101d;
  --bg-soft: #0a1729;
  --panel: rgba(15, 31, 53, 0.78);
  --panel-strong: #0f2035;
  --text: #f5f9ff;
  --muted: #b8c7d9;
  --line: rgba(154, 187, 226, 0.18);
  --blue: #25a8ff;
  --blue-dark: #1267ef;
  --purple: #8b5cf6;
  --green: #37e89a;
  --shadow: 0 22px 80px rgba(0, 0, 0, 0.38);
  --radius: 8px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 18% 8%, rgba(37, 168, 255, 0.2), transparent 32rem),
    radial-gradient(circle at 82% 20%, rgba(139, 92, 246, 0.19), transparent 30rem),
    linear-gradient(180deg, #050a13 0%, var(--bg) 46%, #071523 100%);
  line-height: 1.6;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

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

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(5, 10, 19, 0.74);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.nav {
  width: min(var(--max), calc(100% - 40px));
  min-height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: 0 0 34px rgba(37, 168, 255, 0.3);
  overflow: hidden;
}

.brand-icon {
  width: 100%;
  height: 100%;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  line-height: 1.1;
}

.brand small {
  color: var(--muted);
  font-size: 0.78rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  color: var(--muted);
  font-size: 0.95rem;
}

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

.nav-cta {
  color: #06101d !important;
  padding: 11px 18px;
  border-radius: var(--radius);
  background: var(--green);
  font-weight: 800;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.05);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: var(--text);
  transition: transform 0.2s ease;
}

.menu-open .menu-toggle span:first-child {
  transform: translateY(3.5px) rotate(45deg);
}

.menu-open .menu-toggle span:last-child {
  transform: translateY(-3.5px) rotate(-45deg);
}

.hero {
  width: min(var(--max), calc(100% - 40px));
  min-height: calc(100vh - 76px);
  margin: 0 auto;
  padding: 72px 0 88px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.9fr);
  align-items: center;
  gap: 56px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 780px;
  margin-bottom: 22px;
  font-size: clamp(2.45rem, 7vw, 5.25rem);
  line-height: 0.97;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(2rem, 4.6vw, 3.7rem);
  line-height: 1.02;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.18rem;
  line-height: 1.25;
}

.hero-subtitle,
.section-heading p,
.final-cta p {
  color: var(--muted);
  font-size: 1.08rem;
}

.hero-subtitle {
  max-width: 680px;
  margin-bottom: 32px;
}

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

.button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 14px 22px;
  font-weight: 900;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: #04101e;
  background: linear-gradient(135deg, var(--green), #45caff);
  box-shadow: 0 16px 44px rgba(55, 232, 154, 0.2);
}

.button-secondary {
  color: var(--text);
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.06);
}

.trust-row {
  margin-top: 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.trust-row span {
  padding: 8px 11px;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
  font-size: 0.88rem;
}

.hero-visual {
  position: relative;
  isolation: isolate;
}

.bot-orbit {
  padding: 12px;
  border: 1px solid rgba(37, 168, 255, 0.35);
  border-radius: 50%;
  background: linear-gradient(145deg, rgba(37, 168, 255, 0.18), rgba(139, 92, 246, 0.08));
  box-shadow: var(--shadow), 0 0 80px rgba(37, 168, 255, 0.18);
}

.bot-orbit img {
  width: min(520px, 100%);
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 50%;
}

.floating-card {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 9px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(8, 20, 36, 0.88);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.card-top {
  top: 8%;
  right: -18px;
  padding: 12px 14px;
  color: var(--muted);
}

.card-bottom {
  left: -18px;
  bottom: 9%;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  padding: 14px 16px;
}

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

.status-dot {
  width: 9px;
  height: 9px;
  flex: 0 0 auto;
  border-radius: 999px;
  background: var(--green);
  box-shadow: 0 0 18px var(--green);
}

.section {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 84px 0;
}

.section-heading {
  max-width: 780px;
  margin: 0 auto 38px;
  text-align: center;
}

.align-left {
  margin-left: 0;
  text-align: left;
}

.steps-grid,
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

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

.step-card,
.benefit-card,
.audience-card,
.support-panel,
.chat-window,
.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(18, 34, 57, 0.84), rgba(10, 23, 41, 0.72));
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.18);
}

.step-card,
.benefit-card {
  min-height: 210px;
  padding: 24px;
}

.step-number {
  display: inline-block;
  margin-bottom: 28px;
  color: var(--blue);
  font-size: 0.88rem;
  font-weight: 900;
}

.step-card p,
.benefit-card p,
.faq-answer p {
  margin-bottom: 0;
  color: var(--muted);
}

.split-section {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: start;
  gap: 42px;
}

.audience-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.audience-card {
  min-height: 92px;
  display: flex;
  align-items: center;
  padding: 22px;
  color: var(--text);
  font-weight: 850;
}

.audience-card:last-child {
  grid-column: span 2;
}

.support-panel {
  padding: 38px;
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 36px;
  align-items: start;
  background:
    linear-gradient(135deg, rgba(37, 168, 255, 0.16), rgba(139, 92, 246, 0.12)),
    rgba(10, 23, 41, 0.8);
}

.check-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 14px;
}

.check-list li {
  position: relative;
  min-height: 48px;
  display: flex;
  align-items: center;
  padding: 12px 14px 12px 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.05);
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 16px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green), var(--blue));
  box-shadow: 0 0 16px rgba(55, 232, 154, 0.25);
}

.demo-section {
  max-width: 920px;
}

.chat-window {
  padding: 18px;
}

.chat-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px 18px;
  border-bottom: 1px solid var(--line);
}

.chat-header small {
  color: var(--muted);
}

.message {
  width: min(78%, 620px);
  margin-top: 18px;
  padding: 16px 18px;
  border-radius: var(--radius);
}

.message span {
  display: block;
  margin-bottom: 6px;
  font-size: 0.78rem;
  font-weight: 900;
}

.message p {
  margin: 0;
}

.bot-message {
  border: 1px solid rgba(37, 168, 255, 0.26);
  background: rgba(37, 168, 255, 0.1);
}

.bot-message span {
  color: #6ac8ff;
}

.user-message {
  margin-left: auto;
  border: 1px solid rgba(55, 232, 154, 0.3);
  background: rgba(55, 232, 154, 0.12);
}

.user-message span {
  color: var(--green);
}

.benefit-card {
  min-height: 176px;
}

.faq-list {
  max-width: 880px;
  margin: 0 auto;
  display: grid;
  gap: 12px;
}

.faq-item {
  overflow: hidden;
}

.faq-item button {
  width: 100%;
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 22px;
  border: 0;
  color: var(--text);
  background: transparent;
  font: inherit;
  font-weight: 850;
  text-align: left;
  cursor: pointer;
}

.faq-item button::after {
  content: "+";
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--green);
}

.faq-item.open button::after {
  content: "-";
}

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

.faq-answer p {
  padding: 0 22px 20px;
}

.final-cta {
  width: min(var(--max), calc(100% - 40px));
  margin: 20px auto 0;
  padding: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  border: 1px solid rgba(55, 232, 154, 0.28);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(55, 232, 154, 0.16), rgba(37, 168, 255, 0.12), rgba(139, 92, 246, 0.14)),
    var(--panel-strong);
  box-shadow: var(--shadow);
}

.final-cta h2 {
  max-width: 760px;
  margin-bottom: 10px;
}

.final-cta p {
  margin-bottom: 0;
}

.footer {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 34px 0 46px;
  color: var(--muted);
  text-align: center;
}

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

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

@media (max-width: 980px) {
  .hero,
  .split-section,
  .support-panel {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 48px;
  }

  .hero-visual {
    max-width: 560px;
    margin: 0 auto;
  }

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

  .final-cta {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 760px) {
  .nav {
    width: min(100% - 28px, var(--max));
  }

  .menu-toggle {
    display: block;
  }

  .nav-links {
    position: fixed;
    inset: 76px 14px auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(6, 16, 29, 0.97);
    box-shadow: var(--shadow);
  }

  .menu-open .nav-links {
    display: flex;
  }

  .nav-links a {
    padding: 12px;
  }

  .nav-cta {
    text-align: center;
  }

  .hero,
  .section,
  .final-cta,
  .footer {
    width: min(100% - 28px, var(--max));
  }

  .hero {
    min-height: auto;
    padding-bottom: 64px;
    gap: 42px;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .hero-actions {
    flex-direction: column;
  }

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

  .audience-card:last-child {
    grid-column: auto;
  }

  .section {
    padding: 60px 0;
  }

  .support-panel,
  .final-cta {
    padding: 24px;
  }

  .message {
    width: 100%;
  }

  .floating-card {
    position: static;
    margin-top: 12px;
  }

  .hero-visual {
    display: grid;
  }
}

@media (max-width: 420px) {
  h1 {
    font-size: 2.28rem;
  }

  h2 {
    font-size: 1.86rem;
  }

  .brand small {
    display: none;
  }

  .step-card,
  .benefit-card {
    min-height: auto;
    padding: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
