/* ==========================================================================
   NOVAVERSE — static HTML/CSS/JS port
   Ported 1:1 from the original Next.js + Tailwind + Framer Motion + R3F build.
   ========================================================================== */

:root {
  color-scheme: dark;

  --background: oklch(0.03 0.02 285);
  --foreground: oklch(0.97 0.01 300);

  --card: oklch(0.08 0.03 288 / 0.6);
  --card-foreground: oklch(0.97 0.01 300);

  --popover: oklch(0.06 0.03 288);
  --popover-foreground: oklch(0.97 0.01 300);

  --primary: oklch(0.62 0.26 312);
  --primary-foreground: oklch(0.98 0.01 300);

  --secondary: oklch(0.16 0.05 290);
  --secondary-foreground: oklch(0.97 0.01 300);

  --muted: oklch(0.14 0.03 290);
  --muted-foreground: oklch(0.7 0.04 300);

  --accent: oklch(0.6 0.24 330);
  --accent-foreground: oklch(0.98 0.01 300);

  --destructive: oklch(0.63 0.24 20);

  --border: oklch(0.7 0.15 310 / 0.16);
  --input: oklch(0.7 0.15 310 / 0.2);
  --ring: oklch(0.62 0.26 312);

  --neon-violet: oklch(0.62 0.26 300);
  --neon-magenta: oklch(0.62 0.28 330);
  --neon-pink: oklch(0.72 0.24 350);
  --neon-blue: oklch(0.68 0.19 250);

  --radius: 0.75rem;
  --radius-sm: 0.45rem;
  --radius-md: 0.6rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1.05rem;
  --radius-2xl: 1.35rem;

  --font-sans: "DM Serif Display", serif;
  --font-mono: "DM Serif Display", serif;

  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after {
  box-sizing: border-box;
  border-color: var(--border);
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--foreground);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p { margin: 0; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; padding: 0; }

.icon { width: 1em; height: 1em; stroke-width: 2; }

.site {
  position: relative;
  min-height: 100vh;
  width: 100%;
  overflow-x: hidden;
  background: var(--background);
}

/* ---------------- shared utilities ---------------- */

.glass {
  background: linear-gradient(135deg, oklch(0.7 0.15 310 / 0.08), oklch(0.5 0.1 280 / 0.03));
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid oklch(0.75 0.18 320 / 0.14);
}

.text-glow {
  text-shadow: 0 0 24px oklch(0.62 0.26 312 / 0.55);
}

.glow-violet {
  box-shadow: 0 0 24px oklch(0.62 0.26 312 / 0.35), 0 0 60px oklch(0.62 0.26 312 / 0.15);
}

.grid-fade {
  -webkit-mask-image: radial-gradient(ellipse at center, black 40%, transparent 75%);
  mask-image: radial-gradient(ellipse at center, black 40%, transparent 75%);
}

.text-gradient-violet-pink {
  background: linear-gradient(to right, var(--neon-violet), var(--neon-pink));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.text-gradient-blue-violet-pink {
  background: linear-gradient(to right, var(--neon-blue), var(--neon-violet), var(--neon-pink));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.eyebrow {
  margin-bottom: 1rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--accent);
}

.section-title {
  font-size: 2.25rem;
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

.section-desc {
  margin: 1.25rem auto 0;
  max-width: 50rem;
  line-height: 1.625;
  color: var(--muted-foreground);
  text-wrap: pretty;
}

@media (min-width: 640px) {
  .section-title { font-size: 3rem; }
}

/* ---------------- reveal-on-scroll animation ---------------- */
/* Mirrors Framer Motion's Reveal component: opacity 0, y:28 -> opacity 1, y:0
   duration .7s, ease [0.16,1,0.3,1], staggered by delay */

[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease-out-expo), transform 0.7s var(--ease-out-expo);
  transition-delay: 0s;
  will-change: opacity, transform;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

[data-reveal][data-reveal-fade-only] {
  transform: none;
}

/* ---------------- buttons ---------------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn--primary {
  padding: 0.875rem 1.75rem;
  background: linear-gradient(to right, var(--primary), var(--accent));
  color: var(--primary-foreground);
}
.btn--primary:hover {
  box-shadow: 0 0 24px oklch(0.62 0.26 312 / 0.35), 0 0 60px oklch(0.62 0.26 312 / 0.15);
  filter: brightness(1.1);
}
.btn--primary .btn__icon {
  transition: transform 0.2s ease;
}
.btn--primary:hover .btn__icon {
  transform: translate(2px, -2px);
}

.btn--glass {
  padding: 0.875rem 1.75rem;
  font-weight: 500;
  color: var(--foreground);
  background: linear-gradient(135deg, oklch(0.7 0.15 310 / 0.08), oklch(0.5 0.1 280 / 0.03));
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid oklch(0.75 0.18 320 / 0.14);
}
.btn--glass:hover {
  background: oklch(0.62 0.26 312 / 0.1);
}
.btn__icon-left {
  color: var(--accent);
}

/* ============================================================
   NAVBAR
   ============================================================ */

.navbar {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 50;
  padding-block: 1.25rem;
  transition: padding 0.5s ease;
}
.navbar.is-scrolled {
  padding-block: 0.75rem;
}

.navbar__inner {
  margin-inline: auto;
  max-width: 80rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: 9999px;
  padding-inline: 1rem;
  padding-block: 0.5rem;
  transition: all 0.5s ease;
}
@media (min-width: 640px) {
  .navbar__inner { padding-inline: 1.5rem; }
}
.navbar.is-scrolled .navbar__inner {
  background: linear-gradient(135deg, oklch(0.7 0.15 310 / 0.08), oklch(0.5 0.1 280 / 0.03));
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid oklch(0.75 0.18 320 / 0.14);
  padding-block: 0.625rem;
  box-shadow: 0 10px 15px -3px oklch(0.62 0.26 312 / 0.05);
}

.navbar__brand {
  display: flex;
  align-items: center;
  gap: 0.625rem;
}
.navbar__logo {
  height: 3rem;
  width: 9rem;
  filter: drop-shadow(0 0 12px rgba(168, 85, 247, 0.6));
}
.navbar__logo_footer {
    height: 8rem;
  width: 9rem;
  filter: drop-shadow(0 0 12px rgba(168, 85, 247, 0.6));
}
.navbar__brand-text {
  font-family: var(--font-mono);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  color: var(--foreground);
}

.navbar__links {
  display: none;
  align-items: center;
  gap: 2rem;
}
@media (min-width: 768px) {
  .navbar__links { display: flex; }
}
.navbar__link {
  position: relative;
  font-size: 1.05rem;
  color: var(--muted-foreground);
  transition: color 0.2s ease;
}
.navbar__link:hover { color: var(--foreground); }
.navbar__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.25rem;
  height: 1px;
  width: 0;
  background: var(--primary);
  transition: width 0.3s ease;
}
.navbar__link:hover::after { width: 100%; }

.navbar__actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.navbar__cta {
  display: none;
  border-radius: 9999px;
  border: 1px solid oklch(0.62 0.26 312 / 0.4);
  background: oklch(0.62 0.26 312 / 0.1);
  padding: 0.5rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--foreground);
  transition: all 0.3s ease;
}
.navbar__cta:hover {
  box-shadow: 0 0 24px oklch(0.62 0.26 312 / 0.35), 0 0 60px oklch(0.62 0.26 312 / 0.15);
  background: oklch(0.62 0.26 312 / 0.2);
}
@media (min-width: 768px) {
  .navbar__cta { display: inline-block; }
}

.navbar__menu-btn {
  display: inline-flex;
  height: 2.25rem;
  width: 2.25rem;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  border: 1px solid var(--border);
  color: var(--foreground);
  font-size: 1.25rem;
  position: relative;
}
@media (min-width: 768px) {
  .navbar__menu-btn { display: none; }
}
.navbar__menu-btn .icon--close { display: none; }
.navbar__menu-btn.is-open .icon--open { display: none; }
.navbar__menu-btn.is-open .icon--close { display: block; }

.navbar__mobile {
  margin: 0.5rem 1rem 0;
  border-radius: 1.35rem;
  padding: 1rem;
  background: linear-gradient(135deg, oklch(0.7 0.15 310 / 0.08), oklch(0.5 0.1 280 / 0.03));
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid oklch(0.75 0.18 320 / 0.14);
}
@media (min-width: 768px) {
  .navbar__mobile { display: none !important; }
}
.navbar__mobile-links {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.navbar__mobile-link {
  display: block;
  border-radius: 0.5rem;
  padding: 0.625rem 0.75rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}
.navbar__mobile-link:hover {
  background: oklch(0.62 0.26 312 / 0.1);
  color: var(--foreground);
}
.navbar__mobile-cta {
  margin-top: 0.25rem;
  display: block;
  border-radius: 0.5rem;
  background: oklch(0.62 0.26 312 / 0.2);
  padding: 0.625rem 0.75rem;
  text-align: center;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--foreground);
}

/* ============================================================
   HERO
   ============================================================ */

.hero {
  position: relative;
  display: flex;
  min-height: 100vh;
  width: 100%;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero__canvas-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
}
#globe-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  background: #050109;
}

.globe-fallback {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.globe-fallback__orb {
  position: relative;
  height: 60vmin;
  width: 60vmin;
  border-radius: 9999px;
}
.globe-fallback__glow {
  position: absolute;
  inset: 0;
  border-radius: 9999px;
  background: radial-gradient(circle at 50% 40%, rgba(168, 85, 247, 0.35), transparent 65%);
  filter: blur(24px);
  animation: fallback-pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}
.globe-fallback__ring {
  position: absolute;
  border-radius: 9999px;
  border: 1px solid oklch(0.62 0.26 312 / 0.3);
}
.globe-fallback__ring--1 { inset: 12%; }
.globe-fallback__ring--2 { inset: 26%; border-color: oklch(0.62 0.26 312 / 0.2); }

@keyframes fallback-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.hero__vignette {
  pointer-events: none;
  position: absolute;
  inset: 0;
  z-index: 10;
  background: radial-gradient(ellipse at center, transparent 35%, rgba(5, 1, 9, 0.75) 85%);
}
.hero__bottom-fade {
  pointer-events: none;
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  z-index: 10;
  height: 10rem;
  background: linear-gradient(to top, var(--background), transparent);
}

.hero__content {
  position: relative;
  z-index: 20;
  margin-inline: auto;
  display: flex;
  max-width: 56rem;
  flex-direction: column;
  align-items: center;
  padding: 0.1rem 1.5rem 0;
  text-align: center;
}

.hero__badge {
  margin-bottom: 1.5rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 9999px;
  padding: 0.375rem 1rem;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.025em;
  color: var(--muted-foreground);
  background: linear-gradient(135deg, oklch(0.7 0.15 310 / 0.08), oklch(0.5 0.1 280 / 0.03));
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid oklch(0.75 0.18 320 / 0.14);
}
.hero__badge-icon { color: var(--accent); font-size: 0.875rem; }

.hero__title {
  text-wrap: balance;
  font-size: 3rem;
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.025em;
}
.hero__title-line { color: var(--foreground); }
.hero__title-gradient {
  background: linear-gradient(to right, var(--neon-blue), var(--neon-violet), var(--neon-pink));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 24px oklch(0.62 0.26 312 / 0.55);
}
@media (min-width: 640px) { .hero__title { font-size: 3.75rem; } }
@media (min-width: 768px) { .hero__title { font-size: 4.5rem; } }
@media (min-width: 1024px) { .hero__title { font-size: 6rem; } }

.hero__desc {
  margin-top: 1.5rem;
  max-width: 45rem;
  text-wrap: pretty;
  font-size: 1rem;
  line-height: 1.625;
  color: var(--muted-foreground);
}
@media (min-width: 640px) { .hero__desc { font-size: 1.125rem; } }

.hero__actions {
  margin-top: 2.25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}
@media (min-width: 640px) { .hero__actions { flex-direction: row; } }

.hero__scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}
.hero__scroll-label {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--muted-foreground);
}
.hero__scroll-track {
  display: flex;
  height: 2.25rem;
  width: 1.25rem;
  align-items: flex-start;
  justify-content: center;
  border-radius: 9999px;
  border: 1px solid var(--border);
  padding: 0.25rem;
}
.hero__scroll-dot {
  height: 0.375rem;
  width: 0.375rem;
  border-radius: 9999px;
  background: var(--accent);
  animation: scroll-dot 1.6s ease-in-out infinite;
}
@keyframes scroll-dot {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(12px); }
}

/* ============================================================
   ABOUT
   ============================================================ */

.about {
  position: relative;
  margin-inline: auto;
  max-width: 80rem;
  padding: 7rem 1.5rem;
}
@media (min-width: 640px) { .about { padding-block: 9rem; } }

.about__glow {
  pointer-events: none;
  position: absolute;
  left: -5rem;
  top: 2.5rem;
  z-index: -10;
  height: 18rem;
  width: 18rem;
  border-radius: 9999px;
  background: oklch(0.62 0.26 312 / 0.2);
  filter: blur(120px);
  will-change: transform;
}

.about__grid {
  display: grid;
  gap: 3.5rem;
}
@media (min-width: 1024px) {
  /* .about__grid { grid-template-columns: 1fr 1fr; gap: 5rem; } */ 
   .about__grid1{ grid-template-columns: 1fr; gap: 5rem; }
}
.about__grid1 {
  display: grid;
  gap: 3.5rem;
}
@media (min-width: 1024px) {
  .about__grid1 { grid-template-columns: 1fr 1fr; gap: 5rem; }
}

.about__title {
  text-wrap: balance;
  font-size: 2.25rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.025em;
}
@media (min-width: 640px) { .about__title { font-size: 3rem; } }

.about__body {
  margin-top: 1.5rem;
  /*max-width: 28rem;*/
  text-wrap: pretty;
  line-height: 1.325;
  color: var(--muted-foreground);
}

.about__pillars {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.pillar-card {
  display: flex;
  gap: 1.25rem;
  border-radius: 1.35rem;
  padding: 1.5rem;
  background: linear-gradient(135deg, oklch(0.7 0.15 310 / 0.08), oklch(0.5 0.1 280 / 0.03));
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid oklch(0.75 0.18 320 / 0.14);
  transition: all 0.3s ease;
}
.pillar-card:hover {
  border-color: oklch(0.62 0.26 312 / 0.4);
  background: oklch(0.62 0.26 312 / 0.05);
}
.pillar-card__k {
  font-family: var(--font-mono);
  font-size: 1.5rem;
  color: var(--accent);
}
.pillar-card__title {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--foreground);
}
.pillar-card__body {
  margin-top: 0.375rem;
  font-size: 0.875rem;
  line-height: 1.625;
  color: var(--muted-foreground);
}

/* ============================================================
   GLOBAL NETWORK
   ============================================================ */

.network {
  position: relative;
  margin-inline: auto;
  max-width: 80rem;
  padding: 7rem 1.5rem;
}
@media (min-width: 640px) { .network { padding-block: 9rem; } }

.network__intro {
  margin-inline: auto;
  max-width: 42rem;
  text-align: center;
}

.network__panel {
  position: relative;
  margin-top: 3.5rem;
  overflow: hidden;
  border-radius: 1.5rem;
  padding: 1rem;
  background: linear-gradient(135deg, oklch(0.7 0.15 310 / 0.08), oklch(0.5 0.1 280 / 0.03));
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid oklch(0.75 0.18 320 / 0.14);
}
@media (min-width: 640px) { .network__panel { padding: 2rem; } }

.network__map {
  position: relative;
  width: 100%;
  aspect-ratio: 2 / 1;
  overflow: hidden;
  border-radius: 0.75rem;
}
.network__map-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
  mix-blend-mode: screen;
  filter: hue-rotate(220deg) saturate(1.6);
}
.network__nodes {
  position: absolute;
  inset: 0;
}
.network-node {
  position: absolute;
}
.network-node__dot-wrap {
  position: relative;
  display: flex;
  height: 0.75rem;
  width: 0.75rem;
}
.network-node__ping {
  position: absolute;
  display: inline-flex;
  height: 100%;
  width: 100%;
  border-radius: 9999px;
  background: var(--accent);
  opacity: 0.6;
  animation: node-ping 1.6s cubic-bezier(0, 0, 0.2, 1) infinite;
}
.network-node__dot {
  position: relative;
  display: inline-flex;
  height: 0.75rem;
  width: 0.75rem;
  border-radius: 9999px;
  background: var(--accent);
  box-shadow: 0 0 12px 3px rgba(236, 72, 153, 0.7);
}
.network-node__label {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  display: none;
  white-space: nowrap;
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.025em;
  color: var(--muted-foreground);
}
@media (min-width: 640px) {
  .network-node__label { display: inline; }
}
@keyframes node-ping {
  75%, 100% { transform: scale(2); opacity: 0; }
}

.network__regions {
  margin-top: 1.5rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}
@media (min-width: 640px) {
  .network__regions { grid-template-columns: repeat(3, 1fr); }
}
.region-card {
  border-radius: 1.05rem;
  border: 1px solid var(--border);
  background: oklch(0.03 0.02 285 / 0.4);
  padding: 1.25rem;
}
.region-card__name {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--foreground);
}
.region-card__row {
  margin-top: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--muted-foreground);
}
.region-card__latency { color: var(--accent); }

/* ============================================================
   SERVICES
   ============================================================ */

.services {
  position: relative;
  margin-inline: auto;
  max-width: 80rem;
  padding: 5rem 1.5rem;
}
@media (min-width: 640px) { .services { padding-block: 3rem; } }

.services__intro { max-width: 42rem; }

.services__grid {
  margin-top: 3.5rem;
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) { .services__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .services__grid { grid-template-columns: repeat(2, 1fr); } }

.service-card {
  position: relative;
  height: 100%;
  overflow: hidden;
  border-radius: 1.35rem;
  padding: 1.75rem;
  background: linear-gradient(135deg, oklch(0.7 0.15 310 / 0.08), oklch(0.5 0.1 280 / 0.03));
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid oklch(0.75 0.18 320 / 0.14);
  transition: all 0.3s ease;
}
.service-card:hover {
  transform: translateY(-4px);
  border-color: oklch(0.62 0.26 312 / 0.5);
}
.service-card__glow {
  pointer-events: none;
  position: absolute;
  right: -2rem;
  top: -2rem;
  height: 6rem;
  width: 6rem;
  border-radius: 9999px;
  background: oklch(0.62 0.26 312 / 0.2);
  opacity: 0;
  filter: blur(24px);
  transition: opacity 0.3s ease;
}
.service-card:hover .service-card__glow { opacity: 1; }
.service-card__icon {
  display: inline-flex;
  height: 3rem;
  width: 3rem;
  align-items: center;
  justify-content: center;
  border-radius: 0.75rem;
  border: 1px solid oklch(0.62 0.26 312 / 0.3);
  background: oklch(0.62 0.26 312 / 0.1);
  color: var(--accent);
  font-size: 1.5rem;
  transition: background 0.2s ease;
}
.service-card:hover .service-card__icon { background: oklch(0.62 0.26 312 / 0.2); }
.service-card__title {
  margin-top: 1.25rem;
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--foreground);
}
.service-card__body {
  margin-top: 0.5rem;
  font-size: 1.1rem;
  line-height: 1.625;
  color: var(--muted-foreground);
}

/* ============================================================
   INNOVATION
   ============================================================ */

.innovation {
  position: relative;
  overflow: hidden;
  padding: 2rem 0;
}
@media (min-width: 640px) { .innovation { padding-block: 2rem; } }

.innovation__bg-grid {
  pointer-events: none;
  position: absolute;
  inset: 0;
  z-index: -10;
  opacity: 0.15;
  background-image:
    linear-gradient(to right, rgba(168, 85, 247, 0.4) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(168, 85, 247, 0.4) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse at center, black 40%, transparent 75%);
  mask-image: radial-gradient(ellipse at center, black 40%, transparent 75%);
}

.innovation__inner {
  margin-inline: auto;
  max-width: 80rem;
  padding-inline: 1.5rem;
}

.innovation__intro {
  margin-inline: auto;
  max-width: 42rem;
  text-align: center;
}

.innovation__list {
  margin-top: 4rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.feature-card {
  display: grid;
  align-items: center;
  gap: 2rem;
  border-radius: 1.5rem;
  padding: 2rem;
  background: linear-gradient(135deg, oklch(0.7 0.15 310 / 0.08), oklch(0.5 0.1 280 / 0.03));
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid oklch(0.75 0.18 320 / 0.14);
  transition: transform 0.4s cubic-bezier(0.34, 1.4, 0.64, 1);
}
.feature-card:hover { transform: scale(1.008); }

@media (min-width: 640px) { .feature-card { padding: 2.5rem; } }
@media (min-width: 1024px) {
  .feature-card { grid-template-columns: repeat(12, 1fr); }
  .feature-card--reverse { direction: rtl; }
  .feature-card__text { direction: ltr; }
  .feature-card__stat-wrap { direction: ltr; }
}

.feature-card__text { grid-column: span 8; }
.feature-card__stat-wrap { grid-column: span 4; }

.feature-card__tag {
  display: inline-block;
  border-radius: 9999px;
  border: 1px solid oklch(0.6 0.24 330 / 0.4);
  background: oklch(0.6 0.24 330 / 0.1);
  padding: 0.25rem 0.75rem;
  font-family: var(--font-mono);
  font-size: 0.625rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--accent);
}
.feature-card__title {
  margin-top: 1rem;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--foreground);
}
@media (min-width: 640px) { .feature-card__title { font-size: 1.875rem; } }
.feature-card__body {
  margin-top: 0.75rem;
  max-width: 36rem;
  text-wrap: pretty;
  line-height: 1.625;
  color: var(--muted-foreground);
}

.feature-card__stat-box {
  border-radius: 1.05rem;
  border: 1px solid var(--border);
  background: oklch(0.03 0.02 285 / 0.4);
  padding: 1.5rem;
  text-align: center;
}
.feature-card__stat {
  background: linear-gradient(to right, var(--neon-violet), var(--neon-pink));
  -webkit-background-clip: text;
  background-clip: text;
  /*color: transparent;*/
  color: #9c2eee;
  font-size: 2.25rem;
  font-weight: 700;
}
@media (min-width: 640px) { .feature-card__stat { font-size: 3rem; } }
.feature-card__stat-label {
  margin-top: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.025em;
  color: var(--muted-foreground);
}

/* ============================================================
   STATS
   ============================================================ */

.stats {
  position: relative;
  margin-inline: auto;
  max-width: 80rem;
  padding: 6rem 1.5rem;
}

.stats__panel {
  border-radius: 1.5rem;
  padding: 3.5rem 1.5rem;
  background: linear-gradient(135deg, oklch(0.7 0.15 310 / 0.08), oklch(0.5 0.1 280 / 0.03));
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid oklch(0.75 0.18 320 / 0.14);
}
@media (min-width: 640px) { .stats__panel { padding-inline: 3rem; } }

.stats__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
}
@media (min-width: 1024px) { .stats__grid { grid-template-columns: repeat(4, 1fr); } }

.stat-item { text-align: center; }
.stat-item__value {
  background: linear-gradient(to bottom, var(--foreground), var(--neon-violet));
  -webkit-background-clip: text;
  background-clip: text;
  color:#9c2eee;
  font-family: var(--font-mono);
  font-size: 2.25rem;
  font-weight: 700;
}
@media (min-width: 640px) { .stat-item__value { font-size: 3rem; } }
@media (min-width: 768px) { .stat-item__value { font-size: 3.75rem; } }
.stat-item__label {
  margin-top: 0.75rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

/* ============================================================
   CTA
   ============================================================ */

.cta {
  position: relative;
  margin-inline: auto;
  max-width: 80rem;
  padding: 4rem 1.5rem;
}
@media (min-width: 640px) { .cta { padding-block: 4rem; } }

.cta__card {
  position: relative;
  overflow: hidden;
  border-radius: 2rem;
  border: 1px solid oklch(0.62 0.26 312 / 0.3);
  padding: 5rem 1.5rem;
  text-align: center;
}
@media (min-width: 640px) { .cta__card { padding-inline: 4rem; } }

.cta__glow {
  pointer-events: none;
  position: absolute;
  inset: 0;
  z-index: -10;
  background: radial-gradient(ellipse at center, rgba(168, 85, 247, 0.28), transparent 70%);
}
.cta__grid-bg {
  pointer-events: none;
  position: absolute;
  inset: 0;
  z-index: -10;
  opacity: 0.2;
  background-image:
    linear-gradient(to right, rgba(236, 72, 153, 0.5) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(59, 130, 246, 0.5) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(ellipse at center, black 40%, transparent 75%);
  mask-image: radial-gradient(ellipse at center, black 40%, transparent 75%);
}

.cta__title {
  margin-inline: auto;
  max-width: 48rem;
  text-wrap: balance;
  font-size: 2.25rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.025em;
}
@media (min-width: 640px) { .cta__title { font-size: 3.75rem; } }

.cta__desc {
  margin: 1.5rem auto 0;
  max-width: 36rem;
  text-wrap: pretty;
  line-height: 1.625;
  color: var(--muted-foreground);
}

.cta__actions {
  margin-top: 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}
@media (min-width: 640px) { .cta__actions { flex-direction: row; } }
.cta__actions .btn--primary,
.cta__actions .btn--glass { padding: 1rem 2rem; }

/* ============================================================
   FOOTER
   ============================================================ */

.footer {
  position: relative;
  border-top: 1px solid var(--border);
}
.footer__inner {
  margin-inline: auto;
  max-width: 80rem;
  padding: 4rem 1.5rem;
}
.footer__grid {
  display: grid;
  gap: 3rem;
}
@media (min-width: 1024px) { .footer__grid { grid-template-columns: repeat(5, 1fr); } }
.footer__brand-col {
  display: flex;
  flex-direction: column;
}
@media (min-width: 1024px) { .footer__brand-col { grid-column: span 2; } }
.footer__desc {
  margin-top: 1.25rem;
  max-width: 20rem;
  font-size: 0.875rem;
  line-height: 1.625;
  color: var(--muted-foreground);
}
.footer__socials {
  margin-top: 1.5rem;
  display: flex;
  gap: 0.75rem;
}
.footer__social {
  display: inline-flex;
  height: 2.25rem;
  width: 2.25rem;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  border: 1px solid var(--border);
  color: var(--muted-foreground);
  font-size: 1rem;
  transition: all 0.2s ease;
}
.footer__social:hover {
  border-color: oklch(0.62 0.26 312 / 0.5);
  color: var(--foreground);
}
.footer__col-title {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--foreground);
}
.footer__col-links {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.footer__col-links a {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  transition: color 0.2s ease;
}
.footer__col-links a:hover { color: var(--foreground); }

.footer__bottom {
  margin-top: 3.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid var(--border);
  padding-top: 2rem;
}
@media (min-width: 640px) { .footer__bottom { flex-direction: row; } }
.footer__copyright {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--muted-foreground);
}
.footer__legal {
  display: flex;
  gap: 1.5rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--muted-foreground);
}
.footer__legal a { transition: color 0.2s ease; }
.footer__legal a:hover { color: var(--foreground); }

/* ============================================================
   REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  [data-reveal] {
    transition-duration: 0.01ms !important;
  }
  .hero__scroll-dot,
  .globe-fallback__glow,
  .network-node__ping {
    animation: none !important;
  }
} 

h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6 {
    font-family: "Playfair Display", serif !important;
}

body,
p,
li,
label,
input,
textarea,
select,
button {
    font-size: 18px !important;
    /*line-height: 1.7;*/
} 

.stat-item__value {font-size: 2.255rem !important;}
.feature-card__stat {font-size: 2.255rem !important;}