:root {
  --bg: #07070b;
  --bg-elevated: #0f0f16;
  --bg-card: rgba(18, 18, 28, 0.72);
  --border: rgba(255, 255, 255, 0.08);
  --text: #f4f4f8;
  --text-muted: #9b9bb0;
  --primary: #7c3aed;
  --primary-soft: rgba(124, 58, 237, 0.18);
  --primary-glow: rgba(124, 58, 237, 0.45);
  --gradient: linear-gradient(135deg, #a855f7 0%, #7c3aed 45%, #6366f1 100%);
  --radius: 18px;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

.bg-glow {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 15% 20%, rgba(124, 58, 237, 0.22), transparent 28%),
    radial-gradient(circle at 85% 10%, rgba(99, 102, 241, 0.16), transparent 24%),
    radial-gradient(circle at 50% 80%, rgba(168, 85, 247, 0.1), transparent 30%);
  z-index: -2;
}

.grid-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(circle at center, black, transparent 75%);
  z-index: -1;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 5vw;
  backdrop-filter: blur(16px);
  background: rgba(7, 7, 11, 0.72);
  border-bottom: 1px solid var(--border);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.brand img {
  border-radius: 10px;
}

.nav-links {
  display: flex;
  gap: 1.5rem;
}

.nav-links a {
  color: var(--text-muted);
  font-size: 0.95rem;
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: var(--text);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.lang-toggle {
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-muted);
  border-radius: 999px;
  padding: 0.45rem 0.8rem;
  cursor: pointer;
  font: inherit;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.7rem 1.2rem;
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--gradient);
  box-shadow: 0 10px 30px var(--primary-glow);
}

.btn-ghost {
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
}

.btn-lg {
  padding: 0.95rem 1.5rem;
}

.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3rem;
  align-items: center;
  min-height: calc(100vh - 80px);
  padding: 4rem 5vw 3rem;
}

.badge-row {
  display: flex;
  gap: 0.6rem;
  margin-bottom: 1.25rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-muted);
  font-size: 0.82rem;
  font-weight: 600;
}

.badge-live {
  color: #c4b5fd;
  border-color: rgba(124, 58, 237, 0.35);
  background: var(--primary-soft);
}

.hero h1 {
  font-size: clamp(2.8rem, 6vw, 4.8rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
  margin-bottom: 1rem;
}

.hero h1 span {
  display: block;
}

.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
-webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-desc {
  max-width: 560px;
  color: var(--text-muted);
  font-size: 1.08rem;
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 2.5rem;
}

.hero-stats {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.stat strong {
  font-size: 1.2rem;
}

.stat span {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.hero-visual {
  display: flex;
  justify-content: center;
}

.menu-mock {
  width: min(100%, 520px);
  border-radius: 22px;
  border: 1px solid rgba(124, 58, 237, 0.25);
  background: linear-gradient(180deg, rgba(20, 20, 32, 0.95), rgba(10, 10, 18, 0.95));
  box-shadow: var(--shadow), 0 0 0 1px rgba(255, 255, 255, 0.03) inset;
  overflow: hidden;
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.menu-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 1rem;
  border-bottom: 1px solid var(--border);
}

.menu-dots {
  display: flex;
  gap: 0.35rem;
}

.menu-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
}

.menu-title {
  font-weight: 800;
  letter-spacing: 0.18em;
  color: #c4b5fd;
}

.menu-status {
  color: #34d399;
  font-size: 0.82rem;
}

.menu-body {
  display: grid;
  grid-template-columns: 130px 1fr;
  min-height: 320px;
}

.menu-sidebar {
  padding: 1rem 0.75rem;
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.sidebar-item {
  padding: 0.55rem 0.75rem;
  border-radius: 10px;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.sidebar-item.active {
  background: var(--primary-soft);
  color: #ddd6fe;
}

.menu-panel {
  padding: 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.panel-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.92rem;
}

.toggle {
  width: 42px;
  height: 24px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  position: relative;
}

.toggle::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  transition: transform 0.2s ease;
}

.toggle.on {
  background: rgba(124, 58, 237, 0.55);
}

.toggle.on::after {
  transform: translateX(18px);
}

.slider {
  width: 120px;
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.slider span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--gradient);
}

.chip {
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  background: var(--primary-soft);
  color: #ddd6fe;
  font-size: 0.82rem;
}

.section {
  padding: 5rem 5vw;
}

.section-head {
  max-width: 680px;
  margin-bottom: 2.5rem;
}

.section-tag {
  display: inline-block;
  margin-bottom: 0.75rem;
  color: #c4b5fd;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section-head h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.03em;
  margin-bottom: 0.75rem;
}

.section-head p,
.preview-copy p,
.faq-item p,
.cta-box p {
  color: var(--text-muted);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.feature-card {
  padding: 1.4rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(124, 58, 237, 0.35);
}

.feature-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--primary-soft);
  color: #ddd6fe;
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.feature-card h3 {
  margin-bottom: 0.5rem;
}

.preview-section {
  padding-top: 2rem;
}

.preview-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
  padding: 2rem;
  border-radius: 24px;
  border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(15, 15, 22, 0.9), rgba(10, 10, 16, 0.75));
}

.preview-list {
  list-style: none;
  margin-top: 1.5rem;
  display: grid;
  gap: 0.75rem;
}

.preview-list li {
  position: relative;
  padding-left: 1.2rem;
  color: var(--text-muted);
}

.preview-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--primary);
}

.preview-visual {
  min-height: 320px;
  display: grid;
  place-items: center;
}

.orbit {
  position: relative;
  width: 280px;
  height: 280px;
}

.orbit-card {
  position: absolute;
  padding: 0.85rem 1rem;
  border-radius: 14px;
  border: 1px solid rgba(124, 58, 237, 0.25);
  background: rgba(124, 58, 237, 0.12);
  font-size: 0.88rem;
  font-weight: 600;
  white-space: nowrap;
}

.card-1 {
  top: 20%;
  left: 0;
  animation: drift 5s ease-in-out infinite;
}

.card-2 {
  top: 45%;
  right: -10%;
  animation: drift 5s ease-in-out infinite 1s;
}

.card-3 {
  bottom: 8%;
  left: 18%;
  animation: drift 5s ease-in-out infinite 2s;
}

@keyframes drift {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

.faq-list {
  display: grid;
  gap: 0.85rem;
  max-width: 760px;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--bg-card);
  padding: 1rem 1.2rem;
}

.faq-item summary {
  cursor: pointer;
  font-weight: 600;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item p {
  margin-top: 0.75rem;
}

.cta-section {
  padding: 2rem 5vw 5rem;
}

.cta-box {
  text-align: center;
  padding: 3rem 1.5rem;
  border-radius: 24px;
  border: 1px solid rgba(124, 58, 237, 0.25);
  background:
    radial-gradient(circle at top, rgba(124, 58, 237, 0.18), transparent 55%),
    rgba(15, 15, 22, 0.9);
}

.cta-box h2 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin-bottom: 0.75rem;
}

.cta-box p {
  margin-bottom: 1.5rem;
}

.footer {
  border-top: 1px solid var(--border);
  padding: 1.5rem 5vw 2rem;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  color: var(--text-muted);
  font-size: 0.92rem;
}

@media (max-width: 980px) {
  .nav-links {
    display: none;
  }

  .hero,
  .preview-card {
    grid-template-columns: 1fr;
  }

  .feature-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .hero {
    padding-top: 2rem;
    min-height: auto;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .menu-body {
    grid-template-columns: 1fr;
  }

  .menu-sidebar {
    flex-direction: row;
    overflow-x: auto;
    border-right: none;
    border-bottom: 1px solid var(--border);
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}
