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

:root {
  --cyan:    #00ffff;
  --magenta: #ff00ff;
  --yellow:  #ffff00;
  --green:   #00ff88;
  --orange:  #ff6600;
  --purple:  #8800ff;
  --bg:      #000000;
  --surface: #0a0a0f;
  --card:    #0d0d18;
  --border:  rgba(0,255,255,.15);
  --text:    #e0e0ff;
  --muted:   #7070a0;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

/* ── CANVAS BACKGROUND ── */
#bg-canvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  opacity: .35;
  pointer-events: none;
}

/* ── LAYOUT ── */
.container {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

section { padding: 96px 0; }

/* ── NAV ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(0,0,0,.7);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1100px;
  margin: 0 auto;
  padding: 14px 24px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--cyan);
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: .04em;
}

.nav-logo svg { width: 32px; height: 32px; }

.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: .9rem;
  transition: color .2s;
}

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

.lang-toggle {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--muted);
  padding: 5px 12px;
  border-radius: 6px;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .06em;
  cursor: pointer;
  transition: all .2s;
}

.lang-toggle:hover { border-color: var(--cyan); color: var(--cyan); }

/* ── HERO ── */
#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 80px;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0,255,255,.08);
  border: 1px solid rgba(0,255,255,.25);
  border-radius: 99px;
  padding: 5px 14px;
  font-size: .78rem;
  color: var(--cyan);
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.badge-dot {
  width: 6px;
  height: 6px;
  flex-shrink: 0;
  background: var(--cyan);
  border-radius: 50%;
  animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: .3; }
}

h1 {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -.02em;
  margin-bottom: 20px;
}

.gradient-text {
  background: linear-gradient(135deg, var(--cyan), var(--magenta), var(--yellow));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-desc {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 480px;
  margin-bottom: 40px;
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 8px;
  font-size: .95rem;
  font-weight: 600;
  text-decoration: none;
  transition: all .2s;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--cyan), var(--purple));
  color: #000;
}

.btn-primary:hover {
  opacity: .85;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(0,255,255,.3);
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
}

.btn-outline:hover { border-color: var(--cyan); color: var(--cyan); transform: translateY(-1px); }

/* ── HERO VISUAL ── */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.logo-wrap {
  position: relative;
  width: 360px;
  height: 360px;
}

.logo-wrap img {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 0 32px rgba(0,255,255,.5));
  animation: spin-slow 30s linear infinite;
}

@keyframes spin-slow { to { transform: rotate(360deg); } }

.logo-glow {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,255,255,.08) 0%, transparent 70%);
  animation: breathe 3s ease-in-out infinite;
}

@keyframes breathe {
  0%, 100% { transform: scale(1);    opacity: .6; }
  50%       { transform: scale(1.08); opacity: 1;  }
}

/* ── STATS STRIP ── */
.stats-strip {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: rgba(0,255,255,.02);
  padding: 32px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.stat-value {
  font-size: 2rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--cyan), var(--magenta));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label { font-size: .82rem; color: var(--muted); margin-top: 4px; }

/* ── SECTION HEADERS ── */
.section-label {
  font-size: .75rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--cyan);
  margin-bottom: 10px;
}

.section-title {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: -.02em;
}

.section-desc {
  color: var(--muted);
  max-width: 560px;
  font-size: 1.05rem;
}

/* ── ANIMATIONS GRID ── */
.anim-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 56px;
}

.anim-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
  transition: all .25s;
  position: relative;
  overflow: hidden;
}

.anim-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--card-accent, linear-gradient(135deg, rgba(0,255,255,.04), transparent));
  opacity: 0;
  transition: opacity .25s;
}

.anim-card:hover { border-color: rgba(0,255,255,.35); transform: translateY(-3px); box-shadow: 0 12px 32px rgba(0,0,0,.6); }
.anim-card:hover::before { opacity: 1; }

.anim-icon {
  width: 40px;
  height: 40px;
  color: var(--cyan);
  margin-bottom: 18px;
  display: block;
}

.anim-icon svg { width: 100%; height: 100%; stroke: currentColor; }

.anim-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}

.anim-desc { font-size: .87rem; color: var(--muted); line-height: 1.5; }

.anim-tag {
  display: inline-block;
  margin-top: 14px;
  font-size: .72rem;
  padding: 3px 10px;
  border-radius: 99px;
  background: rgba(0,255,255,.08);
  color: var(--cyan);
  border: 1px solid rgba(0,255,255,.2);
}

/* ── FEATURES ── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 56px;
}

.feature-item {
  display: flex;
  gap: 18px;
  padding: 24px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  transition: border-color .2s;
}

.feature-item:hover { border-color: rgba(0,255,255,.3); }

.feature-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,255,255,.06);
  border-radius: 10px;
  color: var(--cyan);
}

.feature-icon svg { width: 24px; height: 24px; stroke: currentColor; }

.feature-title { font-weight: 700; margin-bottom: 6px; }
.feature-desc { font-size: .88rem; color: var(--muted); }

/* ── DOWNLOAD ── */
#download { text-align: center; }

.download-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 56px 0 40px;
}

.dl-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px 24px;
  transition: all .25s;
}

.dl-card:hover { border-color: rgba(0,255,255,.35); transform: translateY(-3px); box-shadow: 0 12px 40px rgba(0,255,255,.08); }

.dl-icon {
  width: 56px;
  height: 56px;
  color: var(--cyan);
  margin: 0 auto 18px;
  display: block;
}

.dl-icon svg { width: 100%; height: 100%; stroke: currentColor; }

.dl-os { font-size: 1.1rem; font-weight: 700; margin-bottom: 6px; }
.dl-formats { font-size: .82rem; color: var(--muted); margin-bottom: 24px; }

.dl-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 22px;
  border-radius: 8px;
  font-size: .88rem;
  font-weight: 600;
  text-decoration: none;
  background: linear-gradient(135deg, rgba(0,255,255,.15), rgba(136,0,255,.15));
  border: 1px solid rgba(0,255,255,.25);
  color: var(--cyan);
  transition: all .2s;
}

.dl-btn:hover {
  background: linear-gradient(135deg, rgba(0,255,255,.25), rgba(136,0,255,.25));
  border-color: var(--cyan);
}

.source-note { font-size: .88rem; color: var(--muted); }
.source-note a { color: var(--cyan); text-decoration: none; }
.source-note a:hover { text-decoration: underline; }

/* ── FOOTER ── */
footer {
  border-top: 1px solid var(--border);
  padding: 40px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: .9rem;
}

.footer-links {
  display: flex;
  gap: 24px;
  list-style: none;
}

.footer-links a { color: var(--muted); text-decoration: none; font-size: .85rem; transition: color .2s; }
.footer-links a:hover { color: var(--cyan); }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { order: -1; }
  .logo-wrap { width: 260px; height: 260px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .anim-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  section { padding: 64px 0; }
  .anim-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .download-cards { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}
