:root {
  --bg: #090611;
  --bg-soft: #120c1f;
  --panel: rgba(255, 255, 255, 0.06);
  --panel-strong: rgba(255, 255, 255, 0.1);
  --line: rgba(255, 255, 255, 0.08);
  --text: #f4efff;
  --muted: #b9accf;
  --primary: #8f4dff;
  --primary-2: #b57cff;
  --primary-3: #5d2db3;
  --success-soft: #1c1530;
  --shadow: 0 18px 48px rgba(0, 0, 0, 0.28);
  --radius: 22px;
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(143, 77, 255, 0.22), transparent 24%),
    radial-gradient(circle at 85% 15%, rgba(181, 124, 255, 0.18), transparent 18%),
    linear-gradient(180deg, #08060f 0%, #0c0816 100%);
  line-height: 1.6;
  overflow-x: hidden;
}

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

img {
  max-width: 100%;
}

.container {
  width: min(var(--max-width), calc(100% - 2rem));
  margin: 0 auto;
}

.bg-orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(100px);
  z-index: -1;
  pointer-events: none;
}

.orb-1 {
  width: 280px;
  height: 280px;
  top: 80px;
  left: -80px;
  background: rgba(143, 77, 255, 0.22);
}

.orb-2 {
  width: 320px;
  height: 320px;
  bottom: 40px;
  right: -80px;
  background: rgba(181, 124, 255, 0.18);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(14px);
  background: rgba(9, 6, 17, 0.72);
  border-bottom: 1px solid var(--line);
}

.nav {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.logo {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.logo span {
  color: var(--primary-2);
}

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

.nav-links a {
  color: var(--muted);
  transition: color 0.25s ease;
}

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

.menu-toggle {
  display: none;
  background: transparent;
  border: 0;
  padding: 0;
  cursor: pointer;
}

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

.hero {
  padding: 86px 0 52px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--primary-2);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.85rem;
}

.hero h1,
.section-heading h2,
.benefits-content h2,
.cta h2,
.contact-info h2 {
  margin: 0 0 16px;
  line-height: 1.1;
}

.hero h1 {
  font-size: clamp(2.4rem, 6vw, 4.4rem);
  max-width: 11ch;
}

.hero-text,
.section-heading p,
.benefits-content p,
.cta p,
.contact-info p {
  color: var(--muted);
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

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

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  color: white;
  box-shadow: 0 12px 26px rgba(143, 77, 255, 0.35);
}

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

.btn-full {
  width: 100%;
  border: 0;
  cursor: pointer;
}

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

.stat {
  min-width: 130px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
}

.stat strong {
  display: block;
  font-size: 1.1rem;
  margin-bottom: 4px;
}

.stat span {
  color: var(--muted);
  font-size: 0.92rem;
}

.hero-visual {
  display: flex;
  justify-content: center;
}

.chat-card {
  width: min(100%, 460px);
  background: linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.04));
  border: 1px solid var(--line);
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.chat-header {
  padding: 16px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255,255,255,0.04);
  border-bottom: 1px solid var(--line);
}

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

.chat-dots span {
  display: inline-block;
  width: 9px;
  height: 9px;
  margin-right: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,0.3);
}

.chat-body {
  padding: 18px;
  display: grid;
  gap: 12px;
}

.bubble {
  max-width: 86%;
  padding: 12px 14px;
  border-radius: 18px;
  font-size: 0.96rem;
}

.bubble-user {
  margin-left: auto;
  background: rgba(143, 77, 255, 0.22);
  border: 1px solid rgba(143, 77, 255, 0.35);
}

.bubble-bot {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
}

.section {
  padding: 72px 0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 30px;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.card,
.use-case,
.feature-box,
.contact-form,
.cta,
.sidebar-like {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.card {
  padding: 24px;
}

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

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

.icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  border-radius: 16px;
  background: rgba(143, 77, 255, 0.18);
  border: 1px solid rgba(143, 77, 255, 0.25);
  font-size: 1.4rem;
}

.section-highlight {
  background: linear-gradient(180deg, rgba(143,77,255,0.05), rgba(143,77,255,0.02));
}

.benefits-grid {
  display: grid;
  grid-template-columns: 1fr 0.95fr;
  gap: 26px;
  align-items: start;
}

.benefit-list {
  padding-left: 18px;
  margin-top: 18px;
}

.benefit-list li + li {
  margin-top: 10px;
}

.feature-panel {
  display: grid;
  gap: 16px;
}

.feature-box {
  padding: 22px;
}

.feature-box h3 {
  margin-top: 0;
}

.feature-box p {
  margin-bottom: 0;
  color: var(--muted);
}

.use-cases {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.use-case {
  padding: 22px;
}

.use-case h3 {
  margin-top: 0;
}

.use-case p {
  color: var(--muted);
  margin-bottom: 0;
}

.cta {
  padding: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 22px;
  align-items: start;
}

.contact-items {
  display: grid;
  gap: 16px;
  margin-top: 22px;
}

.contact-items strong {
  display: block;
  margin-bottom: 4px;
}

.contact-items p {
  margin: 0;
}

.contact-form {
  padding: 24px;
}

.form-group + .form-group {
  margin-top: 16px;
}

label {
  display: block;
  margin-bottom: 8px;
  font-weight: 700;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  border-radius: 14px;
  padding: 14px 15px;
  font: inherit;
  outline: none;
}

input::placeholder,
textarea::placeholder {
  color: #9d8fb7;
}

input:focus,
textarea:focus {
  border-color: rgba(181, 124, 255, 0.45);
  box-shadow: 0 0 0 4px rgba(181, 124, 255, 0.08);
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 22px 0;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

.footer-content p {
  margin: 0;
  color: var(--muted);
}

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

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

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

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

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

.delay-1 {
  transition-delay: 0.12s;
}

.delay-2 {
  transition-delay: 0.24s;
}

@media (max-width: 980px) {
  .hero-grid,
  .benefits-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .cards-grid,
  .use-cases {
    grid-template-columns: 1fr 1fr;
  }

  .hero h1 {
    max-width: 100%;
  }
}

@media (max-width: 760px) {
  .menu-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 78px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    padding: 18px 1rem 22px;
    background: rgba(9, 6, 17, 0.96);
    border-bottom: 1px solid var(--line);
  }

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

  .cards-grid,
  .use-cases {
    grid-template-columns: 1fr;
  }

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

  .hero {
    padding-top: 62px;
  }

  .section {
    padding: 58px 0;
  }
}

@media (max-width: 540px) {
  .container {
    width: min(var(--max-width), calc(100% - 1.2rem));
  }

  .chat-card,
  .card,
  .use-case,
  .feature-box,
  .contact-form,
  .cta {
    border-radius: 18px;
  }

  .card,
  .use-case,
  .feature-box,
  .contact-form {
    padding: 18px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
  }
}