:root {
  --bg: #06040e;
  --panel: rgba(18, 14, 40, 0.55);
  --accent: #00e5ff;
  --accent-soft: #9b59ff;
  --ink: #eaf8ff;
  --dim: #8aa0b8;
  --display: "Space Grotesk", sans-serif;
  --body: "Figtree", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  font-family: var(--body);
  background: var(--bg);
  line-height: 1.55;
  min-height: 100vh;
}

.wash {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 55% 45% at 72% 18%, rgba(0, 229, 255, 0.16), transparent 60%),
    radial-gradient(ellipse 45% 40% at 18% 78%, rgba(155, 89, 255, 0.12), transparent 55%),
    linear-gradient(165deg, #06040e 0%, #0c0820 42%, #06040e 100%);
}

.glass {
  background: rgba(12, 8, 32, 0.55);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(0, 229, 255, 0.12);
}

.glass-card {
  background: var(--panel);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(0, 229, 255, 0.14);
  border-radius: 22px;
  padding: 1.25rem 1.35rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25);
}

.top {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.85rem clamp(1rem, 4vw, 2.5rem);
  position: sticky;
  top: 0;
  z-index: 20;
  border-left: none;
  border-right: none;
  border-top: none;
  border-radius: 0;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--accent);
  text-decoration: none;
}

.logo img {
  border-radius: 7px;
  display: block;
}

.top nav {
  margin-left: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 1.1rem;
}

.top a {
  color: var(--dim);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
}

.top a:hover { color: var(--accent); }

.lang {
  border: 1px solid rgba(0, 229, 255, 0.55);
  background: rgba(0, 229, 255, 0.06);
  color: var(--accent);
  font-family: var(--body);
  font-weight: 600;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  cursor: pointer;
}

.hero {
  position: relative;
  min-height: calc(100vh - 3.8rem);
  display: grid;
  align-items: end;
  padding: clamp(2rem, 8vw, 5rem) clamp(1rem, 4vw, 2.5rem) clamp(3rem, 8vw, 5rem);
  overflow: hidden;
}

.hero-atmosphere {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.vortex {
  width: 100%;
  height: 100%;
  opacity: 0.85;
}

.arcs path {
  stroke-width: 2.4;
  stroke-dasharray: 1200;
  stroke-dashoffset: 1200;
  animation: drawArc 2.8s ease forwards;
  opacity: 0.85;
}

.arcs path:nth-child(2) { animation-delay: 0.15s; stroke-width: 2.1; opacity: 0.7; }
.arcs path:nth-child(3) { animation-delay: 0.3s; stroke-width: 1.8; opacity: 0.6; }
.arcs path:nth-child(4) { animation-delay: 0.45s; stroke-width: 1.5; opacity: 0.55; }
.arcs path:nth-child(5) { animation-delay: 0.6s; stroke-width: 1.3; opacity: 0.5; }

.core {
  animation: corePulse 3.2s ease-in-out infinite;
}

.sparks circle {
  opacity: 0;
  animation: spark 2.6s ease-in-out infinite;
}

.sparks circle:nth-child(1) { animation-delay: 1.4s; }
.sparks circle:nth-child(2) { animation-delay: 1.7s; }
.sparks circle:nth-child(3) { animation-delay: 1.2s; }
.sparks circle:nth-child(4) { animation-delay: 1.9s; }
.sparks circle:nth-child(5) { animation-delay: 2.1s; }

.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 34rem;
  animation: rise 0.9s ease both;
}

.brand-mark {
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: 0.28em;
  color: var(--accent);
  margin: 0 0 0.75rem;
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  text-shadow: 0 0 28px rgba(0, 229, 255, 0.35);
}

.hero h1 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(2rem, 5.5vw, 3.2rem);
  line-height: 1.08;
  margin: 0 0 1rem;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.lede {
  color: var(--dim);
  font-size: 1.08rem;
  margin: 0 0 1.6rem;
  max-width: 28rem;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  font-family: var(--display);
  font-weight: 600;
  padding: 0.9rem 1.35rem;
  border: 1px solid transparent;
  border-radius: 999px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn.primary {
  background: linear-gradient(120deg, #00e5ff 0%, #5ad8ff 55%, #7ec8ff 100%);
  color: #041018;
  box-shadow: 0 0 0 0 rgba(0, 229, 255, 0.35);
}

.btn.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(0, 229, 255, 0.28);
}

.btn.ghost {
  border-color: rgba(0, 229, 255, 0.4);
  color: var(--accent);
  background: rgba(0, 229, 255, 0.04);
}

.btn.ghost:hover {
  background: rgba(0, 229, 255, 0.1);
}

.section {
  padding: clamp(3rem, 8vw, 5rem) clamp(1rem, 4vw, 2.5rem);
  max-width: 880px;
  margin: 0 auto;
}

.section h2 {
  font-family: var(--display);
  font-size: clamp(1.55rem, 3vw, 2.05rem);
  margin: 0 0 0.55rem;
}

.section-lede,
.section > p { color: var(--dim); }

.feature-rows {
  margin-top: 1.75rem;
  display: grid;
  gap: 1rem;
}

.feature-rows h3 {
  font-family: var(--display);
  color: var(--accent);
  margin: 0 0 0.35rem;
  font-size: 1.1rem;
}

.feature-rows p {
  margin: 0;
  color: var(--dim);
}

.band {
  max-width: none;
  text-align: center;
  padding-inline: clamp(1rem, 10vw, 20vw);
}

.band-inner {
  max-width: 520px;
  margin: 0 auto;
}

.band-inner h2 { margin-top: 0; }

.version {
  min-height: 1.4em;
  color: var(--accent-soft);
  font-size: 0.9rem;
}

.hint {
  margin: 1rem 0 0;
  font-size: 0.85rem;
  color: var(--dim);
}

.foot {
  padding: 2rem clamp(1rem, 4vw, 2.5rem) 3rem;
  border-top: 1px solid rgba(0, 229, 255, 0.1);
  color: var(--dim);
  font-size: 0.88rem;
}

@keyframes drawArc {
  to { stroke-dashoffset: 0; }
}

@keyframes corePulse {
  0%, 100% { opacity: 0.85; }
  50% { opacity: 1; filter: drop-shadow(0 0 10px rgba(0, 229, 255, 0.55)); }
}

@keyframes spark {
  0%, 100% { opacity: 0.15; transform: scale(0.85); }
  50% { opacity: 1; transform: scale(1.2); }
}

@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  .arcs path,
  .core,
  .sparks circle,
  .hero-copy {
    animation: none !important;
  }
  .arcs path { stroke-dashoffset: 0; }
  .sparks circle { opacity: 0.55; }
}

@media (max-width: 720px) {
  .top nav { display: none; }
  .hero { align-items: center; }
}
