:root {
  --bg: #060816;
  --bg-soft: #0b1022;
  --panel: rgba(14, 20, 40, 0.72);
  --panel-border: rgba(255, 255, 255, 0.09);
  --text: #eef2ff;
  --muted: #a8b0cf;
  --primary: #8b5cf6;
  --primary-2: #22d3ee;
  --white: #ffffff;
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 16px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(139, 92, 246, 0.22), transparent 28%),
    radial-gradient(circle at top right, rgba(34, 211, 238, 0.16), transparent 24%),
    linear-gradient(180deg, #050816 0%, #070b1a 38%, #050815 100%);
  overflow-x: hidden;
}

@keyframes floatY {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(0, -14px, 0);
  }
}

@keyframes glowPulse {
  0%,
  100% {
    box-shadow: 0 20px 40px rgba(97, 76, 255, 0.28);
  }
  50% {
    box-shadow: 0 24px 54px rgba(97, 76, 255, 0.42);
  }
}

@keyframes drift {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(18px, -18px, 0) scale(1.04);
  }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translate3d(0, 34px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes beamFlow {
  0%,
  100% {
    transform: translate3d(0, 0, 0) rotate(-16deg) scale(1);
    opacity: 0.18;
  }
  50% {
    transform: translate3d(24px, -18px, 0) rotate(-12deg) scale(1.08);
    opacity: 0.34;
  }
}

@keyframes particleRise {
  0% {
    transform: translate3d(0, 18px, 0) scale(0.9);
    opacity: 0;
  }
  20% {
    opacity: 0.9;
  }
  100% {
    transform: translate3d(0, -220px, 0) scale(1.15);
    opacity: 0;
  }
}

body.menu-open {
  overflow: hidden;
}

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

.site-shell {
  width: min(calc(100% - 32px), var(--container));
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 0;
  backdrop-filter: blur(18px);
}

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

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  color: var(--white);
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  box-shadow: 0 10px 30px rgba(139, 92, 246, 0.35);
}

.brand-text {
  font-size: 1rem;
}

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

.nav a,
.footer-links a,
.text-link {
  color: var(--muted);
  transition: color 0.2s ease;
}

.text-link-button {
  padding: 0;
  border: 0;
  background: transparent;
  font: inherit;
}

.text-link-button[disabled] {
  cursor: not-allowed;
  opacity: 0.7;
}

.nav a:hover,
.footer-links a:hover,
.text-link:hover {
  color: var(--white);
}

.topbar-actions,
.hero-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.lang-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font: inherit;
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    background 0.2s ease,
    box-shadow 0.2s ease,
    color 0.2s ease;
}

.lang-toggle:hover {
  transform: translateY(-2px);
  border-color: rgba(139, 92, 246, 0.34);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.22);
}

.lang-toggle:focus-visible {
  outline: none;
  border-color: rgba(139, 92, 246, 0.56);
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.2);
}

.lang-label {
  color: var(--white);
  opacity: 0.62;
  transition: opacity 0.2s ease, color 0.2s ease;
}

.lang-sep {
  color: var(--muted);
  opacity: 0.7;
}

.lang-toggle .lang-label:first-child {
  opacity: 1;
}

.lang-toggle.is-english .lang-label:first-child {
  opacity: 0.62;
}

.lang-toggle.is-english .lang-label.alt {
  opacity: 1;
}

.primary-btn,
.ghost-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 600;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease,
    background 0.2s ease;
}

.primary-btn {
  position: relative;
  color: var(--white);
  background: linear-gradient(135deg, var(--primary), #6d5cff 55%, var(--primary-2));
  box-shadow: 0 20px 40px rgba(97, 76, 255, 0.28);
  animation: glowPulse 3s ease-in-out infinite;
}

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

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

.large {
  min-height: 54px;
  padding: 0 26px;
}

.block {
  width: 100%;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 34px;
  align-items: center;
  min-height: calc(100vh - 96px);
  padding: 42px 0 56px;
  overflow: hidden;
}

.hero-particles,
.hero-beam {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-particles {
  z-index: 0;
}

.hero-particles .particle {
  position: absolute;
  bottom: 0;
  width: var(--size, 4px);
  height: var(--size, 4px);
  left: var(--left, 50%);
  border-radius: 999px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.95) 0%, rgba(129, 236, 255, 0.4) 55%, transparent 72%);
  box-shadow: 0 0 20px rgba(129, 236, 255, 0.24);
  animation: particleRise var(--duration, 7s) linear infinite;
  animation-delay: var(--delay, 0s);
  opacity: 0;
}

.hero-beam {
  z-index: 0;
  filter: blur(8px);
  mix-blend-mode: screen;
}

.hero-beam::before {
  content: "";
  position: absolute;
  inset: auto;
  width: 44%;
  height: 140%;
  top: -24%;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(129, 236, 255, 0), rgba(129, 236, 255, 0.18), rgba(139, 92, 246, 0));
  animation: beamFlow 8s ease-in-out infinite;
}

.hero-beam-1::before {
  left: -6%;
}

.hero-beam-2::before {
  right: -10%;
  width: 38%;
  background: linear-gradient(180deg, rgba(139, 92, 246, 0), rgba(139, 92, 246, 0.22), rgba(34, 211, 238, 0));
  animation-duration: 10s;
  animation-delay: 0.8s;
}

.hero-bg {
  position: absolute;
  border-radius: 999px;
  filter: blur(60px);
  opacity: 0.65;
  pointer-events: none;
  animation: drift 9s ease-in-out infinite;
}

.hero-bg-1 {
  width: 240px;
  height: 240px;
  top: 7%;
  left: -30px;
  background: rgba(139, 92, 246, 0.28);
}

.hero-bg-2 {
  width: 280px;
  height: 280px;
  right: 5%;
  top: 16%;
  background: rgba(34, 211, 238, 0.18);
}

.hero-content,
.hero-panel {
  position: relative;
  z-index: 1;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border-radius: 999px;
  color: #d7d7ff;
  font-size: 0.82rem;
  letter-spacing: 0.03em;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-eyebrow {
  margin-left: 18px;
}

.hero h1 {
  margin: 24px 0 18px;
  font-size: clamp(2.4rem, 4.8vw, 4.4rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.hero h1 span,
.section-heading h2,
.cta-card h2 {
  background: linear-gradient(135deg, #ffffff 10%, #d7ccff 45%, #81ecff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-desc,
.section-heading p,
.feature-card p,
.scene-card p,
.price-card ul,
.faq-list p,
.cta-card p,
.footer p {
  color: var(--muted);
  line-height: 1.75;
}

.hero-desc {
  max-width: 640px;
  font-size: 1.05rem;
}

.hero-access-note {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0 0;
  padding: 10px 14px;
  border: 1px solid rgba(129, 236, 255, 0.2);
  border-radius: 999px;
  background: rgba(129, 236, 255, 0.08);
  color: #dff8ff;
  font-size: 0.96rem;
  line-height: 1.4;
}

.hero-access-note a {
  color: #81ecff;
  font-weight: 700;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.hero-access-note a:hover {
  color: var(--white);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px;
}

.hero-stats div,
.metric-card,
.feature-card,
.scene-card,
.price-card,
.faq-list details,
.cta-card,
.logo-strip,
.panel-card {
  border: 1px solid var(--panel-border);
  background: var(--panel);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.hero-stats div {
  padding: 18px;
  border-radius: var(--radius-md);
}

.hero-stats strong,
.metric-card strong {
  display: block;
  font-size: 1.45rem;
  margin-bottom: 6px;
}

.hero-stats span,
.metric-card span {
  color: var(--muted);
  font-size: 0.92rem;
}

.hero-panel {
  display: flex;
  justify-content: flex-end;
}

.panel-card {
  width: min(100%, 520px);
  padding: 22px;
  border-radius: 30px;
}

.panel-header {
  display: flex;
  align-items: center;
  gap: 8px;
}

.panel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.panel-dot.purple {
  background: #8b5cf6;
}

.panel-dot.cyan {
  background: #22d3ee;
}

.panel-dot.white {
  background: #ffffff;
}

.panel-title {
  margin-left: auto;
  color: var(--muted);
  font-size: 0.9rem;
}

.conversation {
  display: grid;
  gap: 14px;
  margin: 18px 0 20px;
}

.console-bar,
.route-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.console-bar {
  margin-top: 18px;
}

.console-bar span,
.route-metrics div {
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--muted);
  font-size: 0.86rem;
}

.status-live {
  color: #91f7c4 !important;
}

.route-metrics {
  margin-bottom: 14px;
}

.route-metrics span {
  display: block;
  color: var(--muted);
  font-size: 0.8rem;
  margin-bottom: 6px;
}

.route-metrics strong {
  display: block;
  color: var(--text);
  line-height: 1.4;
}

.message {
  padding: 16px 18px;
  border-radius: 18px;
  line-height: 1.7;
}

.message.user {
  background: rgba(255, 255, 255, 0.06);
}

.message.ai {
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.22), rgba(34, 211, 238, 0.12));
}

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

.insight-grid article {
  padding: 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.insight-grid span,
.scene-tag,
.logo-strip p {
  color: #c9c6f6;
  font-size: 0.85rem;
}

.insight-grid strong {
  display: block;
  margin-top: 8px;
  line-height: 1.5;
}

.logo-strip {
  display: grid;
  gap: 18px;
  padding: 24px 28px;
  border-radius: 24px;
}

.status-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  padding-top: 18px;
}

.status-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 54px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  color: #dfe6ff;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #8b5cf6;
  box-shadow: 0 0 16px rgba(139, 92, 246, 0.5);
}

.dot.online {
  background: #50e3a4;
  box-shadow: 0 0 16px rgba(80, 227, 164, 0.55);
}

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

.logo-items span {
  display: grid;
  place-items: center;
  min-height: 56px;
  border-radius: 16px;
  color: #dfe4ff;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.section {
  padding: 110px 0 0;
}

.section.alt {
  padding-top: 96px;
}

.relay-card {
  padding: 26px;
  border-radius: 24px;
  border: 1px solid var(--panel-border);
  background: var(--panel);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.relay-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.relay-card-head h3 {
  margin: 0;
  font-size: 1.18rem;
}

.relay-chip {
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 0.78rem;
  color: #dffbff;
  background: rgba(34, 211, 238, 0.12);
  border: 1px solid rgba(34, 211, 238, 0.22);
}

.docs-section {
  padding-top: 96px;
}

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

.docs-list {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.95;
}

.billing-list {
  display: grid;
  gap: 12px;
}

.billing-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--muted);
}

.billing-row strong {
  color: var(--text);
}

.card-actions {
  display: flex;
  gap: 18px;
  margin-top: 18px;
  flex-wrap: wrap;
}

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

.section-heading.narrow {
  max-width: 640px;
}

.section-heading h2,
.cta-card h2 {
  margin: 18px 0 14px;
  font-size: clamp(1.8rem, 3vw, 3.1rem);
  line-height: 1.12;
  white-space: normal;
  text-wrap: balance;
}

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

.feature-card,
.scene-card,
.price-card,
.metric-card {
  padding: 26px;
  border-radius: 24px;
}

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  margin-bottom: 18px;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.24), rgba(34, 211, 238, 0.18));
  color: #f3f4ff;
  font-weight: 700;
}

.feature-card h3,
.scene-card h3,
.price-card h3 {
  margin: 0 0 12px;
  font-size: 1.18rem;
}

.scene-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr 0.85fr;
  gap: 18px;
}

.scene-large {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 320px;
}

.scene-large ul,
.price-card ul {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.9;
}

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

.metric-card {
  text-align: center;
}

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

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

.price-card {
  position: relative;
}

.price-card.featured {
  border-color: rgba(139, 92, 246, 0.45);
  background: linear-gradient(180deg, rgba(20, 24, 48, 0.9), rgba(14, 20, 40, 0.84));
}

.badge {
  position: absolute;
  top: 18px;
  right: 18px;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 0.78rem;
  color: var(--white);
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
}

.badge.soft {
  color: #dfe7ff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.price {
  margin: 4px 0 20px;
  font-size: 2.2rem;
  font-weight: 800;
}

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

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

.faq-list details {
  padding: 22px 24px;
  border-radius: 20px;
}

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

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list p {
  margin: 14px 0 0;
}

.cta-section {
  padding: 110px 0;
}

.cta-card {
  padding: 48px 28px;
  border-radius: 32px;
  text-align: center;
}

.hero-actions.center {
  justify-content: center;
}

.cta-subactions {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 18px;
}

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

.footer-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}

.footer-note {
  color: var(--muted);
  font-size: 0.85rem;
}

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

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

.reveal.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.reveal-up.is-visible {
  animation: fadeUp 0.8s ease both;
}

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

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

.floating-card {
  animation: floatY 6s ease-in-out infinite;
}

.feature-card,
.scene-card,
.price-card,
.metric-card,
.logo-items span,
.faq-list details {
  transition:
    transform 0.28s ease,
    border-color 0.28s ease,
    box-shadow 0.28s ease,
    background 0.28s ease;
}

.feature-card:hover,
.scene-card:hover,
.price-card:hover,
.metric-card:hover,
.logo-items span:hover,
.faq-list details:hover {
  transform: translateY(-8px);
  border-color: rgba(139, 92, 246, 0.28);
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.42);
}

@media (max-width: 1100px) {
  .hero,
  .scene-layout,
  .pricing-grid,
  .feature-grid,
  .metrics,
  .docs-grid,
  .status-strip {
    grid-template-columns: 1fr 1fr;
  }

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

  .scene-large {
    grid-column: span 2;
  }

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

@media (max-width: 820px) {
  .topbar,
  .footer,
  .topbar-actions,
  .nav,
  .hero,
  .feature-grid,
  .scene-layout,
  .pricing-grid,
  .metrics,
  .docs-grid,
  .status-strip,
  .hero-stats,
  .logo-items,
  .insight-grid,
  .console-bar,
  .route-metrics {
    grid-template-columns: 1fr;
  }

  .topbar {
    position: static;
    flex-direction: column;
    align-items: stretch;
  }

  .brand,
  .topbar-actions,
  .nav {
    justify-content: center;
    flex-wrap: wrap;
  }

  .topbar-actions {
    width: 100%;
  }

  .lang-toggle {
    width: auto;
  }

  .hero {
    display: flex;
    flex-direction: column;
    padding: 18px 0 36px;
  }

  .hero-panel,
  .panel-card {
    width: 100%;
  }

  .scene-large {
    min-height: unset;
  }

  .section {
    padding-top: 84px;
  }

  .cta-section {
    padding: 84px 0;
  }

  .footer {
    flex-direction: column;
    text-align: center;
  }

  .footer-meta {
    align-items: center;
  }
}

@media (max-width: 560px) {
  .site-shell {
    width: min(calc(100% - 20px), var(--container));
  }

  .hero h1 {
    font-size: 2.4rem;
  }

  .section-heading h2,
  .cta-card h2 {
    font-size: 1.9rem;
    white-space: normal;
  }

  .primary-btn,
  .ghost-btn,
  .large {
    width: 100%;
  }

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

  .panel-card,
  .feature-card,
  .scene-card,
  .price-card,
  .metric-card,
  .cta-card,
  .logo-strip {
    padding: 22px;
  }
}
