:root {
  --bg: #08030f;
  --panel: rgba(31, 15, 58, 0.82);
  --panel-strong: rgba(55, 26, 96, 0.88);
  --text: #f8f3ff;
  --muted: #cbb9dd;
  --line: rgba(255, 255, 255, 0.14);
  --pink: #ff4fd8;
  --violet: #8b5cf6;
  --cyan: #35e6ff;
  --lime: #b7ff5a;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
}

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

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  background:
    radial-gradient(circle at 15% 8%, rgba(255, 79, 216, 0.2), transparent 26rem),
    radial-gradient(circle at 86% 14%, rgba(53, 230, 255, 0.16), transparent 24rem),
    linear-gradient(135deg, #08030f 0%, #160825 52%, #090312 100%);
  color: var(--text);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

body.nav-open {
  overflow: hidden;
}

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

.site-header {
  position: fixed;
  top: 0;
  z-index: 20;
  width: 100%;
  border-bottom: 1px solid transparent;
  transition: background 0.25s ease, border-color 0.25s ease;
}

.site-header.scrolled {
  background: rgba(8, 3, 15, 0.84);
  border-color: var(--line);
  backdrop-filter: blur(18px);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1160px, calc(100% - 32px));
  height: 78px;
  margin: 0 auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
}

.brand small {
  display: block;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 600;
}

.brand-mark {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 12px;
  background: linear-gradient(135deg, var(--pink), var(--violet), var(--cyan));
  box-shadow: 0 0 34px rgba(139, 92, 246, 0.42);
  font-size: 0.82rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
}

.nav-links a {
  transition: color 0.2s ease, transform 0.2s ease;
}

.nav-links a:hover {
  color: var(--text);
  transform: translateY(-1px);
}

.language-toggle {
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid rgba(53, 230, 255, 0.34);
  border-radius: 999px;
  background: rgba(53, 230, 255, 0.1);
  color: var(--text);
  cursor: pointer;
  font: inherit;
  font-weight: 900;
}

.language-toggle:hover {
  border-color: rgba(255, 255, 255, 0.36);
  background: rgba(255, 255, 255, 0.1);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  border-radius: 99px;
  background: var(--text);
}

.section {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
  padding: 96px 0;
  scroll-margin-top: 92px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.98fr);
  align-items: center;
  min-height: 100vh;
  gap: 54px;
  padding-top: 132px;
}

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

h1,
h2,
h3 {
  line-height: 1.08;
  letter-spacing: 0;
}

h1 {
  max-width: 780px;
  font-size: clamp(2.75rem, 8vw, 5.8rem);
}

h2 {
  max-width: 760px;
  font-size: clamp(2rem, 4vw, 3.35rem);
}

h3 {
  font-size: 1.2rem;
}

.hero-copy p {
  max-width: 650px;
  margin-top: 22px;
  color: var(--muted);
  font-size: 1.1rem;
}

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

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

.btn:hover,
.card:hover,
.mini-card:hover,
.testimonial:hover {
  transform: translateY(-4px);
}

.btn.primary {
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: linear-gradient(135deg, var(--pink), var(--violet));
  box-shadow: 0 16px 42px rgba(255, 79, 216, 0.22);
}

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

.chat-preview {
  position: relative;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03)),
    rgba(13, 5, 25, 0.78);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.chat-preview::before {
  position: absolute;
  inset: auto -20% -42% 20%;
  height: 240px;
  content: "";
  background: radial-gradient(circle, rgba(53, 230, 255, 0.35), transparent 68%);
}

.chat-top,
.message,
.chat-input {
  position: relative;
  z-index: 1;
}

.chat-top {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 26px;
}

.chat-top small {
  color: var(--lime);
}

.pulse {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 24px var(--lime);
}

.message {
  max-width: 88%;
  margin-bottom: 14px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.06);
}

.message.user {
  margin-left: auto;
  color: var(--text);
  background: rgba(139, 92, 246, 0.24);
}

.chat-input {
  margin-top: 26px;
  padding: 14px 16px;
  border: 1px solid rgba(53, 230, 255, 0.28);
  border-radius: 14px;
  color: var(--muted);
  background: rgba(8, 3, 15, 0.72);
}

.section-heading {
  margin-bottom: 34px;
}

.card-grid,
.why-grid,
.testimonial-grid {
  display: grid;
  gap: 18px;
}

.five-grid {
  grid-template-columns: repeat(5, 1fr);
}

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

.card,
.mini-card,
.testimonial,
.faq-list,
.action-list {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(180deg, var(--panel), rgba(16, 7, 30, 0.82));
  box-shadow: var(--shadow);
}

.card,
.mini-card,
.testimonial {
  padding: 24px;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.card:hover,
.mini-card:hover,
.testimonial:hover {
  border-color: rgba(53, 230, 255, 0.36);
}

.card span {
  display: inline-grid;
  width: 44px;
  height: 44px;
  margin-bottom: 36px;
  place-items: center;
  border-radius: 12px;
  background: rgba(53, 230, 255, 0.12);
  color: var(--cyan);
  font-weight: 900;
}

.card p,
.mini-card p,
.testimonial span,
.faq-list p {
  margin-top: 12px;
  color: var(--muted);
}

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

.action-list {
  display: grid;
  gap: 12px;
  padding: 22px;
}

.action-list div {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--muted);
}

.faq-list {
  padding: 10px;
}

.faq-list details {
  padding: 18px;
  border-bottom: 1px solid var(--line);
}

.faq-list details:last-child {
  border-bottom: 0;
}

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

.footer {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 24px;
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
  padding: 34px 0 44px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.footer h3,
.footer h4 {
  color: var(--text);
}

.footer a {
  display: block;
  margin-top: 8px;
}

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

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

@media (max-width: 1180px) {
  .five-grid,
  .why-grid,
  .testimonial-grid,
  .hero,
  .split-section,
  .footer {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 128px;
  }

  .hero-actions {
    display: grid;
  }

  .btn {
    width: 100%;
  }
}

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

  .nav-links {
    position: fixed;
    inset: 78px 16px auto;
    display: grid;
    gap: 6px;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(13, 5, 25, 0.97);
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity 0.2s ease, transform 0.2s ease;
  }

  .nav-links.open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

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

  .language-toggle {
    width: 100%;
    min-height: 44px;
  }

  .section {
    width: min(100% - 24px, 1160px);
    padding: 72px 0;
  }

  .hero,
  .five-grid,
  .why-grid,
  .testimonial-grid,
  .split-section,
  .footer {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 128px;
  }

  .hero-actions {
    display: grid;
  }

  .btn {
    width: 100%;
  }
}
