:root {
  --bg-1: #030914;
  --bg-2: #07111f;
  --bg-3: #0a1830;
  --panel: rgba(8, 18, 35, 0.72);
  --text: #eef6ff;
  --muted: #9cb0c9;
  --blue: #2f6fff;
  --cyan: #49d6ff;
  --violet: #7d72ff;
  --line: rgba(93, 168, 255, 0.12);
  --radius-xl: 30px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 14px;
  --shadow-card:
    0 0 0 1px rgba(93, 168, 255, 0.08),
    0 18px 44px rgba(0, 10, 25, 0.34);
  --max-width: 1240px;
}

/* =========================
RESET
========================= */

* {
  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 14% 14%, rgba(31, 107, 255, 0.18), transparent 24%),
    radial-gradient(circle at 86% 18%, rgba(73, 214, 255, 0.12), transparent 22%),
    radial-gradient(circle at 52% 82%, rgba(125, 114, 255, 0.10), transparent 26%),
    linear-gradient(180deg, var(--bg-1) 0%, var(--bg-2) 36%, var(--bg-3) 100%);
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img,
video,
canvas {
  display: block;
  max-width: 100%;
}

button,
input,
textarea,
select {
  font: inherit;
}

/* =========================
BACKGROUND
========================= */

#networkCanvas,
#particleCanvas,
.grid-overlay,
.glow-wrap,
.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
}

#networkCanvas {
  z-index: 0;
}

#particleCanvas {
  z-index: 1;
  opacity: 0.8;
}

.grid-overlay {
  z-index: 0;
  background-image:
    linear-gradient(to right, rgba(93, 168, 255, 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(93, 168, 255, 0.04) 1px, transparent 1px);
  background-size: 44px 44px;
  opacity: 0.28;
  mask-image: radial-gradient(circle at 50% 20%, black 35%, transparent 88%);
}

.noise {
  z-index: 2;
  opacity: 0.035;
  background-image:
    radial-gradient(circle at 10% 20%, rgba(255, 255, 255, 0.7) 0.6px, transparent 0.8px),
    radial-gradient(circle at 80% 30%, rgba(255, 255, 255, 0.45) 0.6px, transparent 0.8px),
    radial-gradient(circle at 45% 80%, rgba(255, 255, 255, 0.35) 0.6px, transparent 0.8px);
  background-size: 180px 180px;
}

.glow-wrap {
  z-index: 0;
  filter: blur(56px);
}

.glow {
  position: absolute;
  border-radius: 999px;
  mix-blend-mode: screen;
}

.g1 {
  width: 300px;
  height: 300px;
  left: 3%;
  top: 10%;
  background: radial-gradient(circle, rgba(47, 111, 255, 0.2), transparent 72%);
}

.g2 {
  width: 420px;
  height: 420px;
  right: 4%;
  top: 16%;
  background: radial-gradient(circle, rgba(73, 214, 255, 0.14), transparent 74%);
}

.g3 {
  width: 360px;
  height: 360px;
  left: 36%;
  top: 62%;
  background: radial-gradient(circle, rgba(125, 114, 255, 0.1), transparent 76%);
}

.site {
  position: relative;
  z-index: 5;
}

.container {
  width: min(calc(100% - 48px), var(--max-width));
  margin: 0 auto;
}

/* =========================
HEADER / NAVBAR
========================= */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: linear-gradient(180deg, rgba(3, 9, 20, 0.94), rgba(3, 9, 20, 0.84));
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(93, 168, 255, 0.07);
}

.header-shell {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 28px;
  height: 96px; /* fixed navbar height */
}

.brand-row {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  height: 96px;
  padding-left: 2px;
}

.brand,
.brand-standalone,
.footer-logo {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  padding: 0;
  background: transparent;
  border: none;
  box-shadow: none;
  overflow: visible;
}

/* LOGO SIZE YAHAN SE CONTROL HOGA */
.brand-logo {
  width: 132px;       /* minimum 130px+ */
  max-width: 132px;
  height: auto;
  max-height: none;
  object-fit: contain;
  object-position: left center;
  filter:
    drop-shadow(0 6px 18px rgba(47, 111, 255, 0.12))
    drop-shadow(0 0 12px rgba(73, 214, 255, 0.08));
}

.nav-row {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 96px;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 38px;
  margin: 0 auto;
  flex-wrap: nowrap;
}

.nav-links a {
  position: relative;
  display: inline-flex;
  align-items: center;
  color: #dce8f8;
  font-weight: 700;
  font-size: 1rem;
  line-height: 1;
  white-space: nowrap;
  padding: 6px 0;
  transition: color 0.22s ease, opacity 0.22s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: #ffffff;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -10px;
  width: 100%;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--cyan), var(--blue));
  opacity: 0;
  transform: scaleX(0.72);
  transform-origin: center;
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  opacity: 1;
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  flex-shrink: 0;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: #ffffff;
}

/* =========================
MAIN / HERO
========================= */

main {
  position: relative;
}

.hero {
  padding: 24px 0 54px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.hero-copy,
.hero-card,
.hero-card-full {
  position: relative;
  overflow: hidden;
  padding: 38px;
  border-radius: var(--radius-xl);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.02)),
    rgba(7, 18, 34, 0.64);
  border: 1px solid rgba(93, 168, 255, 0.1);
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.hero-copy::before,
.hero-card::before,
.hero-card-full::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top right, rgba(73, 214, 255, 0.08), transparent 24%),
    radial-gradient(circle at bottom left, rgba(125, 114, 255, 0.06), transparent 24%);
  pointer-events: none;
}

.eyebrow,
.label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--cyan);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  box-shadow: 0 0 12px rgba(73, 214, 255, 0.35);
}

.hero h1,
.hero-card-full h1 {
  margin: 0;
  max-width: 14ch;
  font-size: clamp(2.3rem, 5vw, 4.6rem);
  line-height: 1.03;
  letter-spacing: -0.04em;
}

.grad {
  background: linear-gradient(90deg, #ffffff, #8cdcff 42%, #8c8cff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero p,
.hero-card-full p {
  margin: 18px 0 0;
  max-width: 760px;
  font-size: 1.03rem;
  line-height: 1.78;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 14px;
  border: 1px solid rgba(93, 168, 255, 0.14);
  background: rgba(255, 255, 255, 0.03);
  color: #ffffff;
  font-weight: 700;
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.btn:hover {
  transform: translateY(-2px);
  border-color: rgba(93, 168, 255, 0.22);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.22);
}

.btn-primary {
  background: linear-gradient(135deg, rgba(73, 214, 255, 0.16), rgba(47, 111, 255, 0.18));
  border-color: rgba(73, 214, 255, 0.16);
}

.metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 30px;
}

.metric {
  padding: 18px 18px 16px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(93, 168, 255, 0.08);
}

.metric h3 {
  margin: 0 0 10px;
  font-size: 1rem;
  color: #f3f9ff;
}

.metric p {
  margin: 0;
  font-size: 0.94rem;
  line-height: 1.7;
  color: var(--muted);
}

/* =========================
SECTIONS
========================= */

section {
  position: relative;
  padding: 90px 0;
}

main section:first-of-type {
  padding-top: 40px;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 34px;
  align-items: end;
  margin-bottom: 34px;
}

.section-head h2 {
  margin: 0;
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
}

.section-head p {
  margin: 0;
  color: var(--muted);
  line-height: 1.78;
  font-size: 1rem;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.single-column-grid {
  align-content: start;
}

.section-card,
.feature-card,
.band,
.footer-card {
  position: relative;
  overflow: hidden;
  border-radius: 26px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.02)),
    rgba(8, 18, 35, 0.68);
  border: 1px solid rgba(93, 168, 255, 0.1);
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.section-card,
.feature-card {
  padding: 26px;
}

.section-card::before,
.feature-card::before,
.band::before,
.footer-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at top right, rgba(73, 214, 255, 0.06), transparent 24%),
    radial-gradient(circle at bottom left, rgba(125, 114, 255, 0.05), transparent 24%);
}

.icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  font-weight: 800;
  color: #ffffff;
  background: linear-gradient(135deg, rgba(73, 214, 255, 0.16), rgba(47, 111, 255, 0.18));
  border: 1px solid rgba(93, 168, 255, 0.14);
}

.section-card h3,
.feature-card h3 {
  margin: 0 0 12px;
  font-size: 1.15rem;
  line-height: 1.3;
}

.section-card p,
.feature-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.76;
}

.list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.list span {
  padding: 10px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(93, 168, 255, 0.1);
  color: #dbe8f8;
  font-size: 0.9rem;
}

.band {
  margin-top: 24px;
  padding: 28px;
}

.band-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.band-tile {
  padding: 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(93, 168, 255, 0.08);
}

.band-tile small {
  display: block;
  color: var(--cyan);
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.band-tile strong {
  display: block;
  line-height: 1.5;
  color: #f4f9ff;
}

.flow-line,
.connector {
  display: none;
}

.timeline {
  display: grid;
  gap: 16px;
}

.feature-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  align-items: start;
}

.node {
  width: 14px;
  height: 14px;
  margin-top: 6px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  box-shadow: 0 0 12px rgba(73, 214, 255, 0.35);
}

/* =========================
FOOTER
========================= */

.footer {
  padding: 40px 0 46px;
}

.footer-card {
  padding: 28px;
  border-radius: 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr 0.9fr;
  gap: 22px;
}

.footer-col h4 {
  margin: 0 0 14px;
  font-size: 1rem;
  color: #ffffff;
}

.footer-col p,
.footer-col a {
  color: var(--muted);
  line-height: 1.8;
  font-size: 0.96rem;
}

.footer-col a {
  display: block;
  margin-bottom: 8px;
  transition: color 0.22s ease;
}

.footer-col a:hover {
  color: #ffffff;
}

.footer-brand p {
  margin: 14px 0 0;
  max-width: 340px;
}

.footer-logo .brand-logo {
  width: 150px;
  max-width: 150px;
  height: auto;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid rgba(93, 168, 255, 0.08);
}

.footer-bottom p {
  margin: 0;
  color: var(--muted);
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-legal a {
  color: var(--muted);
}

.footer-legal a:hover {
  color: #ffffff;
}

/* =========================
INTERACTIONS
========================= */

.reveal {
  opacity: 1;
  transform: none;
}

.section-card,
.feature-card,
.metric,
.band-tile,
.btn {
  transition:
    transform 0.24s ease,
    box-shadow 0.24s ease,
    border-color 0.24s ease;
}

.section-card:hover,
.feature-card:hover,
.metric:hover,
.band-tile:hover {
  transform: translateY(-4px);
  border-color: rgba(93, 168, 255, 0.16);
  box-shadow:
    0 0 0 1px rgba(93, 168, 255, 0.11),
    0 22px 50px rgba(0, 10, 25, 0.36);
}

/* =========================
RESPONSIVE
========================= */

@media (max-width: 1160px) {
  .grid-2,
  .footer-grid,
  .section-head {
    grid-template-columns: 1fr;
  }

  .grid-3,
  .band-grid,
  .metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .container {
    width: min(calc(100% - 32px), var(--max-width));
  }

  .header-shell {
    gap: 18px;
    height: 88px;
  }

  .brand-row,
  .nav-row {
    height: 88px;
  }

  .brand-logo {
    width: 124px;
    max-width: 124px;
  }

  .nav-links {
    gap: 24px;
  }

  .nav-links a {
    font-size: 0.94rem;
  }

  .hero-copy,
  .hero-card,
  .hero-card-full {
    padding: 30px;
  }
}

@media (max-width: 860px) {
  .header-shell {
    grid-template-columns: 1fr auto;
    height: 80px;
    gap: 12px;
  }

  .brand-row,
  .nav-row {
    height: 80px;
  }

  .brand-logo {
    width: 118px;
    max-width: 118px;
  }

  .nav-row {
    justify-content: flex-end;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav-links {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin: 0;
    padding: 10px;
    border-radius: 18px;
    background: rgba(6, 16, 30, 0.97);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.34);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    z-index: 999;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    width: 100%;
    padding: 14px 16px;
    border-radius: 14px;
  }

  .nav-links a::after {
    display: none;
  }
}

@media (max-width: 768px) {
  .container {
    width: min(calc(100% - 22px), var(--max-width));
  }

  .hero {
    padding: 20px 0 34px;
  }

  .hero-copy,
  .hero-card,
  .hero-card-full,
  .section-card,
  .feature-card,
  .footer-card,
  .band {
    padding: 22px;
    border-radius: 22px;
  }

  .metrics,
  .grid-2,
  .grid-3,
  .band-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .feature-card {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  section {
    padding: 74px 0;
  }
}

@media (max-width: 520px) {
  .header-shell {
    height: 72px;
  }

  .brand-row,
  .nav-row {
    height: 72px;
  }

  .brand-logo {
    width: 104px;
    max-width: 104px;
  }

  .footer-logo .brand-logo {
    width: 100px;
    max-width: 100px;
  }

  .hero h1,
  .hero-card-full h1 {
    max-width: none;
    font-size: clamp(2rem, 10vw, 3.2rem);
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
  }
}
/* =========================
LEGAL PAGES
========================= */

.legal-page .legal-hero {
  padding: 96px 0 28px;
  position: relative;
}

.legal-page .legal-hero-inner {
  max-width: 820px;
}

.legal-page .legal-hero h1 {
  margin: 0 0 14px;
  font-size: clamp(2.8rem, 6vw, 4.8rem);
  line-height: 0.96;
  letter-spacing: -0.05em;
  font-family: "Space Grotesk", sans-serif;
}

.legal-page .legal-hero p {
  margin: 0;
  max-width: 760px;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.82;
}

.legal-page .legal-content {
  padding: 12px 0 56px;
}

.legal-page .legal-shell {
  max-width: 920px;
  padding: 34px 36px;
  border-radius: 30px;
  background: linear-gradient(180deg, rgba(255,255,255,0.055), rgba(255,255,255,0.022));
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 20px 80px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.legal-page .legal-block + .legal-block {
  margin-top: 28px;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.07);
}

.legal-page .legal-block h2 {
  margin: 0 0 10px;
  font-size: 1.22rem;
  line-height: 1.2;
  color: var(--text);
  font-family: "Space Grotesk", sans-serif;
}

.legal-page .legal-block p {
  margin: 0;
  color: var(--muted);
  line-height: 1.9;
}

@media (max-width: 760px) {
  .legal-page .legal-hero {
    padding: 42px 0 20px;
  }

  .legal-page .legal-hero h1 {
    font-size: clamp(2.15rem, 10vw, 3.3rem);
    line-height: 1.02;
  }

  .legal-page .legal-shell {
    padding: 22px 20px;
    border-radius: 22px;
  }

  .legal-page .legal-block + .legal-block {
    margin-top: 22px;
    padding-top: 22px;
  }
}
