:root {
  --bg: #04080c;
  --panel: rgba(14, 24, 31, 0.55);
  --accent: #00e5ff;
  --accent-soft: #a8e63a;
  --ink: #eef8ff;
  --dim: #8aa8b8;
  --display: "Rajdhani", 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 75% 18%, rgba(0, 229, 255, 0.14), transparent 60%),
    radial-gradient(ellipse 45% 40% at 15% 78%, rgba(168, 230, 58, 0.1), transparent 55%),
    linear-gradient(165deg, #04080c 0%, #0a1218 42%, #04080c 100%);
}

.glass {
  background: rgba(10, 18, 24, 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: 18px;
  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.16em;
  color: var(--accent);
  text-decoration: none;
  font-size: 1.3rem;
}

.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.95rem;
  font-weight: 600;
  font-family: var(--display);
}

.top a:hover { color: var(--accent-soft); }

.lang {
  border: 1px solid rgba(0, 229, 255, 0.55);
  background: rgba(0, 229, 255, 0.06);
  color: var(--accent);
  font-family: var(--display);
  font-weight: 700;
  padding: 0.35rem 0.65rem;
  border-radius: 8px;
  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;
}

.mesh {
  width: 100%;
  height: 100%;
  opacity: 0.85;
}

.links path {
  stroke-dasharray: 1200;
  stroke-dashoffset: 1200;
  animation: drawArc 2.8s ease forwards;
  opacity: 0.75;
}

.links path:nth-child(2) { animation-delay: 0.12s; }
.links path:nth-child(3) { animation-delay: 0.24s; }
.links path:nth-child(4) { animation-delay: 0.36s; }
.links path:nth-child(5) { animation-delay: 0.48s; }
.links path:nth-child(6) { animation-delay: 0.6s; }
.links path:nth-child(7) { animation-delay: 0.72s; }

.nodes circle {
  opacity: 0;
  animation: spark 2.4s ease-in-out infinite;
}

.nodes circle:nth-child(odd) { fill: #00e5ff; animation-delay: 0.4s; }
.nodes circle:nth-child(even) { fill: #a8e63a; animation-delay: 0.9s; }
.nodes circle:nth-child(3n) { animation-delay: 1.3s; }

.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.7rem, 4vw, 2.3rem);
  text-shadow: 0 0 28px rgba(0, 229, 255, 0.35);
}

.hero h1 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(2.1rem, 5.5vw, 3.3rem);
  line-height: 1.05;
  margin: 0 0 1rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  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: 700;
  letter-spacing: 0.06em;
  font-size: 1.05rem;
  padding: 0.9rem 1.35rem;
  border: 1px solid transparent;
  border-radius: 10px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn.primary {
  background: linear-gradient(120deg, #00e5ff 0%, #76ff03 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(168, 230, 58, 0.45);
  color: var(--accent-soft);
  background: rgba(168, 230, 58, 0.04);
}

.btn.ghost:hover {
  background: rgba(168, 230, 58, 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.7rem, 3vw, 2.2rem);
  margin: 0 0 0.55rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.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.2rem;
  letter-spacing: 0.04em;
}

.feature-rows article:nth-child(2) h3 { color: var(--accent-soft); }

.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 spark {
  0%, 100% { opacity: 0.25; 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) {
  .links path, .nodes circle, .hero-copy {
    animation: none !important;
  }
  .links path { stroke-dashoffset: 0; }
  .nodes circle { opacity: 0.7; }
}

@media (max-width: 720px) {
  .top nav { display: none; }
  .hero { align-items: center; }
}
