/* ═══════════════════════════════════════════════════════
   MOONCLIQ — PREMIUM CSS OVERHAUL
   ═══════════════════════════════════════════════════════ */

:root {
  --bg: #03040b;
  --bg2: #060814;
  --surface: rgba(255, 255, 255, 0.02);
  --surface2: rgba(255, 255, 255, 0.05);
  --border: rgba(167, 139, 250, 0.15);
  --border2: rgba(167, 139, 250, 0.35);

  --p: #5b6ef5;
  --p2: #7c8ff8;
  --acc: #a78bfa;
  --acc2: #c4b5fd;
  --cyan: #22d3ee;

  --txt: #ffffff;
  --txt2: #94a3b8;
  --txt3: #475569;

  --grad: linear-gradient(135deg, #5b6ef5, #a78bfa);
  --grad2: linear-gradient(135deg, #22d3ee, #5b6ef5);

  --r1: 8px;
  --r2: 14px;
  --r3: 20px;
  --r4: 28px;
  --nav: 100px;
  --t: all 0.3s cubic-bezier(.4, 0, .2, 1);

  --font-h: 'Outfit', system-ui, sans-serif;
  --font-b: 'Inter', system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-b);
  background: var(--bg);
  color: var(--txt);
  overflow-x: hidden;
  line-height: 1.65;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

img {
  display: block;
  max-width: 100%;
}

input,
textarea,
select,
button {
  font-family: inherit;
  font-size: inherit;
}

/* ── STAR CANVAS ──────────────────────────────────────── */
#starCanvas {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.9;
}

/* ── FLUID AURORA BACKGROUND ─────────────────────────── */
.fluid-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  background: linear-gradient(to bottom, #030513 40%, #0d122b 70%, #683017 90%, #d46816 100%);
}

.fluid-noise {
  position: absolute;
  inset: -50%;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
  opacity: 0.08;
  mix-blend-mode: overlay;
  pointer-events: none;
  animation: noiseShift 8s steps(10) infinite;
}

.fluid-blob {
  position: absolute;
  border-radius: 50%;
  opacity: 1;
  transform: translateZ(0);
  will-change: transform;
}

.fluid-1 {
  width: 1000px;
  height: 1000px;
  background: radial-gradient(circle, rgba(91, 110, 245, 0.15) 0%, transparent 70%);
  top: -20%;
  left: -10%;
  animation: fluidSpin 25s ease-in-out infinite alternate;
}

.fluid-2 {
  width: 900px;
  height: 900px;
  background: radial-gradient(circle, rgba(34, 211, 238, 0.1) 0%, transparent 70%);
  bottom: 0%;
  right: -10%;
  animation: fluidSpin 30s ease-in-out infinite alternate-reverse;
}

.fluid-3 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(212, 104, 22, 0.2) 0%, transparent 70%);
  top: 80%;
  left: 40%;
  animation: fluidDrift 20s ease-in-out infinite alternate;
}

.fluid-4 {
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(147, 51, 234, 0.1) 0%, transparent 70%);
  top: 10%;
  left: 30%;
  animation: fluidDrift 28s ease-in-out infinite alternate-reverse;
}

@keyframes fluidSpin {
  0% {
    transform: translate(0, 0) scale(1) rotate(0deg);
  }

  50% {
    transform: translate(100px, 150px) scale(1.2) rotate(180deg);
  }

  100% {
    transform: translate(-50px, 50px) scale(0.9) rotate(360deg);
  }
}

@keyframes fluidDrift {
  0% {
    transform: translate(0, 0) scale(1);
  }

  50% {
    transform: translate(-100px, 100px) scale(1.3);
  }

  100% {
    transform: translate(100px, -50px) scale(0.8);
  }
}

@keyframes noiseShift {

  0%,
  100% {
    transform: translate(0, 0);
  }

  10% {
    transform: translate(-2%, -2%);
  }

  20% {
    transform: translate(2%, -4%);
  }

  30% {
    transform: translate(-2%, 2%);
  }

  40% {
    transform: translate(4%, 4%);
  }

  50% {
    transform: translate(-4%, 2%);
  }

  60% {
    transform: translate(2%, -2%);
  }

  70% {
    transform: translate(-2%, -4%);
  }

  80% {
    transform: translate(4%, 2%);
  }

  90% {
    transform: translate(-4%, 4%);
  }
}

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

.section {
  padding: 110px 0;
  position: relative;
  z-index: 1;
}

.text-center {
  text-align: center;
}

.section-header {
  margin-bottom: 64px;
}

.section-header.text-center .section-subtitle {
  margin-left: auto;
  margin-right: auto;
}

/* ── TAGS & LABELS ────────────────────────────────────── */
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--p2);
  background: rgba(91, 110, 245, 0.1);
  border: 1px solid rgba(91, 110, 245, 0.2);
  padding: 5px 14px;
  border-radius: 100px;
  margin-bottom: 18px;
}

.section-tag::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--p);
}

.section-title {
  font-family: var(--font-h);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  line-height: 1.12;
  margin-bottom: 16px;
  color: var(--txt);
}

.section-subtitle {
  color: var(--txt2);
  font-size: 1.05rem;
  max-width: 580px;
  line-height: 1.75;
}

.gradient-text {
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.body-text {
  color: var(--txt2);
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 18px;
}

/* ── GLASSMORPHISM CARD (Faked for Performance) ────────── */
.glass-card {
  background: rgba(10, 12, 25, 0.85);
  border: 1px solid var(--border);
  border-radius: var(--r3);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
  transition: transform 0.4s ease-out, border-color 0.4s ease-out, box-shadow 0.4s ease-out;
  transform-style: preserve-3d;
}

.glass-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, transparent 100%);
  opacity: 0;
  transition: var(--t);
  pointer-events: none;
}

.glass-card:hover {
  transform: translateY(-12px);
  border-color: rgba(91, 110, 245, 0.5);
  box-shadow: 0 20px 50px rgba(91, 110, 245, 0.25), inset 0 0 20px rgba(91, 110, 245, 0.05);
}

.glass-card:hover::before {
  opacity: 1;
}

/* ── BUTTONS ──────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: var(--r2);
  font-weight: 600;
  font-size: 0.9rem;
  border: none;
  cursor: pointer;
  transition: var(--t);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--grad);
  color: #fff;
  box-shadow: 0 4px 24px rgba(91, 110, 245, 0.4);
}

.btn-primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0);
  transition: background 0.2s;
}

.btn-primary:hover::after {
  background: rgba(255, 255, 255, 0.1);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 36px rgba(91, 110, 245, 0.55);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.05);
  color: var(--txt);
  border: 1px solid var(--border2);
  backdrop-filter: blur(8px);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(91, 110, 245, 0.45);
  transform: translateY(-2px);
}

.btn-full {
  width: 100%;
  justify-content: center;
}

/* ── GRADIENT ICON BLOCKS ─────────────────────────────── */
.grad-blue {
  background: linear-gradient(135deg, #4f5de4, #7c8ff8);
}

.grad-purple {
  background: linear-gradient(135deg, #7c3aed, #a78bfa);
}

.grad-teal {
  background: linear-gradient(135deg, #0891b2, #22d3ee);
}

/* ── NAVBAR ───────────────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav);
  transition: var(--t);
}

.navbar.scrolled {
  background: rgba(5, 6, 16, 0.88);
  backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border);
}

.nav-container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 32px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

/* Header logo sizing */
.nav-logo .logo-glow-ring {
  width: 120px;
  height: 120px;
}

.logo-glow-ring {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: var(--t);
}

.star-aura {
  position: relative;
}

.star-aura::before {
  content: '';
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: -1;
  inset: -30%;
  background-image:
    radial-gradient(1.5px 1.5px at 20% 30%, white, transparent),
    radial-gradient(1px 1px at 80% 20%, white, transparent),
    radial-gradient(1.5px 1.5px at 40% 80%, white, transparent),
    radial-gradient(2px 2px at 70% 70%, white, transparent),
    radial-gradient(1px 1px at 15% 65%, white, transparent),
    radial-gradient(1.5px 1.5px at 85% 50%, white, transparent),
    radial-gradient(1.5px 1.5px at 35% 15%, white, transparent),
    radial-gradient(2px 2px at 90% 85%, white, transparent),
    radial-gradient(circle at center, rgba(112, 128, 232, 0.45) 0%, rgba(80, 96, 200, 0.2) 45%, transparent 70%);
}

.logo-glow-ring.small {
  width: 80px;
  height: 80px;
}

.logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 50%;
}

.logo-text {
  font-family: var(--font-h);
  font-size: 2.1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--txt);
  transition: var(--t);
}

.logo-accent {
  color: var(--p2);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
}

.nav-link {
  padding: 8px 14px;
  border-radius: var(--r1);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--txt2);
  transition: var(--t);
}

.nav-link:hover,
.nav-link.active {
  color: var(--txt);
  background: rgba(255, 255, 255, 0.06);
}

.nav-link.nav-cta {
  background: var(--grad);
  color: #fff;
  margin-left: 10px;
  padding: 9px 20px;
  box-shadow: 0 2px 16px rgba(91, 110, 245, 0.35);
}

.nav-link.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 24px rgba(91, 110, 245, 0.55);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--txt);
  border-radius: 2px;
  transition: var(--t);
}

.hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ── HERO ─────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0 32px;
  padding-top: var(--nav);
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.hero-inner {
  max-width: 1440px;
  width: 100%;
  display: block;
  /* Removed grid to allow absolute visual */
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 650px;
  padding-top: 40px;
}

/* Hero Eyebrow */
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(91, 110, 245, 0.1);
  border: 1px solid rgba(91, 110, 245, 0.22);
  padding: 7px 18px;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--p2);
  letter-spacing: 0.05em;
  margin-bottom: 28px;
  animation: fadeUp 0.6s ease both;
}

.eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--p);
  box-shadow: 0 0 10px var(--p);
  animation: pulseDot 2s ease infinite;
}

/* Hero Title */
.hero-title {
  font-family: var(--font-h);
  font-size: clamp(3.2rem, 7vw, 6rem);
  font-weight: 900;
  line-height: 1.02;
  margin-bottom: 24px;
  letter-spacing: -0.03em;
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-shadow: 0 0 40px rgba(91, 110, 245, 0.3);
}

.hero-line-1 {
  animation: fadeUp 0.6s 0.1s ease both;
}

.hero-line-2 {
  animation: fadeUp 0.6s 0.18s ease both;
}

.hero-line-3 {
  font-size: 0.62em;
  font-weight: 600;
  color: var(--txt2);
  letter-spacing: 0;
  animation: fadeUp 0.6s 0.26s ease both;
}

.hero-subtitle {
  color: var(--txt2);
  font-size: 1.1rem;
  line-height: 1.8;
  max-width: 500px;
  margin-bottom: 40px;
  animation: fadeUp 0.6s 0.32s ease both;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 60px;
  animation: fadeUp 0.6s 0.4s ease both;
}

/* Hero Stats */
.hero-stats {
  display: flex;
  align-items: center;
  gap: 32px;
  animation: fadeUp 0.6s 0.48s ease both;
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-num {
  font-family: var(--font-h);
  font-size: 2.2rem;
  font-weight: 900;
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.stat-plus {
  font-size: 0.7em;
}

.stat-label {
  font-size: 0.75rem;
  color: var(--txt3);
  font-weight: 500;
  margin-top: 4px;
  letter-spacing: 0.04em;
}

.stat-sep {
  width: 1px;
  height: 40px;
  background: var(--border2);
}

/* Hero Visual */
.hero-visual {
  position: absolute;
  top: -10%;
  right: -15%;
  width: 800px;
  height: 800px;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 1s 0.4s ease both;
  z-index: 0;
  pointer-events: none;
  /* So it doesn't block clicks on the right side */
}

.hero-visual-bg {
  position: absolute;
  inset: -60px;
  background: radial-gradient(ellipse at center, rgba(91, 110, 245, 0.22) 0%, rgba(167, 139, 250, 0.12) 45%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  filter: blur(24px);
  animation: nebulaGlow 10s ease-in-out infinite alternate;
  will-change: transform;
}

.logo-center {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-logo-img {
  width: 700px;
  height: 700px;
  object-fit: contain;
  border-radius: 50%;
  transform: translateZ(0);
  animation: zeroGravity 9s ease-in-out infinite;
}

/* Orbits */
.orbit {
  position: absolute;
  top: 50%;
  left: 50%;
  border: 1px solid rgba(255, 255, 255, 0);
  /* Hidden orbit path */
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: spinOrbit linear infinite;
}

.orbit-1 {
  width: 520px;
  height: 520px;
  animation-duration: 35s;
}

.orbit-2 {
  width: 680px;
  height: 680px;
  animation-duration: 45s;
  animation-direction: reverse;
}

.orbit-3 {
  width: 840px;
  height: 840px;
  animation-duration: 55s;
}

.orbit-4 {
  width: 1000px;
  height: 1000px;
  animation-duration: 65s;
  animation-direction: reverse;
}

.orbit-5 {
  width: 1160px;
  height: 1160px;
  animation-duration: 75s;
}

.orbit-icon {
  position: absolute;
  top: -24px;
  left: 50%;
  transform: translateX(-50%);
  width: 48px;
  height: 48px;
  background: var(--bg);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 15px rgba(167, 139, 250, 0.4), inset 0 0 0 1px rgba(167, 139, 250, 0.2);
  padding: 8px;
  animation: counterSpin linear infinite;
}

.orbit-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.orbit-1 .orbit-icon {
  animation-duration: 35s;
}

.orbit-2 .orbit-icon {
  animation-duration: 45s;
  animation-direction: reverse;
}

.orbit-3 .orbit-icon {
  animation-duration: 55s;
}

.orbit-4 .orbit-icon {
  animation-duration: 65s;
  animation-direction: reverse;
}

.orbit-5 .orbit-icon {
  animation-duration: 75s;
}

@keyframes spinOrbit {
  100% {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

@keyframes counterSpin {
  100% {
    transform: translateX(-50%) rotate(-360deg);
  }
}

@keyframes zeroGravity {

  0%,
  100% {
    transform: translateY(0) translateZ(0);
  }

  50% {
    transform: translateY(-20px) translateZ(0);
  }

}

/* Scroll hint */
.hero-scroll {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  animation: fadeIn 1s 1.2s ease both;
}

.scroll-mouse {
  width: 24px;
  height: 38px;
  border-radius: 12px;
  border: 2px solid rgba(91, 110, 245, 0.4);
  display: flex;
  justify-content: center;
  padding-top: 6px;
}

.scroll-wheel {
  width: 3px;
  height: 8px;
  border-radius: 2px;
  background: var(--p2);
  animation: scrollDown 2s ease-in-out infinite;
}

/* ── TICKER STRIP ─────────────────────────────────────── */
.ticker-strip {
  position: relative;
  z-index: 1;
  overflow: hidden;
  background: rgba(91, 110, 245, 0.06);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
}

.ticker-strip::before,
.ticker-strip::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}

.ticker-strip::before {
  left: 0;
  background: linear-gradient(to right, var(--bg), transparent);
}

.ticker-strip::after {
  right: 0;
  background: linear-gradient(to left, var(--bg), transparent);
}

.ticker-track {
  display: flex;
  gap: 40px;
  width: max-content;
  animation: ticker 28s linear infinite;
}

.ticker-item {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--txt2);
  white-space: nowrap;
}

.ticker-item:nth-child(odd) {
  color: var(--p2);
}

.ticker-item:nth-child(even) {
  color: var(--acc2);
}

/* ── ABOUT ────────────────────────────────────────────── */
.about {
  background: linear-gradient(180deg, transparent 0%, rgba(14, 16, 36, 0.6) 50%, transparent 100%);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.value-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 32px;
}

.value-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.value-icon-wrap {
  width: 32px;
  height: 32px;
  border-radius: var(--r1);
  background: rgba(91, 110, 245, 0.1);
  border: 1px solid rgba(91, 110, 245, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.value-item strong {
  display: block;
  font-weight: 600;
  font-size: 0.93rem;
  margin-bottom: 2px;
}

.value-item span {
  font-size: 0.83rem;
  color: var(--txt2);
}

.about-right {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.about-card-primary {
  padding: 32px;
}

.about-card-primary h3 {
  font-family: var(--font-h);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.about-card-primary p {
  color: var(--txt2);
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 24px;
}

.about-card-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: var(--r2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.card-metric-row {
  display: flex;
  gap: 32px;
}

.card-metric {
  display: flex;
  flex-direction: column;
}

.metric-val {
  font-family: var(--font-h);
  font-size: 1.8rem;
  font-weight: 900;
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.metric-lbl {
  font-size: 0.75rem;
  color: var(--txt3);
  font-weight: 500;
}

.about-card-secondary {
  padding: 28px;
}

.about-card-secondary h3 {
  font-family: var(--font-h);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.about-card-secondary p {
  color: var(--txt2);
  font-size: 0.88rem;
  line-height: 1.65;
}

/* ── SERVICES ─────────────────────────────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
  gap: 20px;
}

.service-card {
  padding: 28px;
  cursor: default;
  overflow: hidden;
}

.service-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--grad);
  opacity: 0;
  transition: opacity 0.3s;
}

.service-card:hover::after {
  opacity: 1;
}

.service-card:hover {
  transform: translateY(-6px);
}

.svc-icon-block {
  width: 50px;
  height: 50px;
  border-radius: var(--r2);
  background: linear-gradient(135deg, var(--icon-color-a), var(--icon-color-b));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  box-shadow: 0 4px 20px color-mix(in srgb, var(--icon-color-a) 50%, transparent);
}

/* When using real product logo images — transparent bg, no shadow */
.svc-icon-block.svc-icon-img {
  background: transparent;
  box-shadow: none;
  padding: 0;
}

.svc-icon-block.svc-icon-img img {
  width: 50px;
  height: 50px;
  border-radius: var(--r2);
  display: block;
  filter: drop-shadow(0 3px 10px rgba(0, 0, 0, 0.35));
}

.service-card h3 {
  font-family: var(--font-h);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--txt);
}

.service-card>p {
  color: var(--txt2);
  font-size: 0.87rem;
  line-height: 1.65;
  margin-bottom: 18px;
}

.svc-features {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.svc-features li {
  font-size: 0.81rem;
  color: var(--txt3);
  padding-left: 16px;
  position: relative;
}

.svc-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--p);
}

.card-arrow {
  position: absolute;
  bottom: 20px;
  right: 22px;
  font-size: 1rem;
  color: var(--txt3);
  opacity: 0;
  transition: var(--t);
  transform: translateX(-6px);
}

.service-card:hover .card-arrow {
  opacity: 1;
  transform: translateX(0);
}

/* ── SOLUTIONS ────────────────────────────────────────── */
.solutions {
  background: linear-gradient(180deg, transparent, rgba(14, 16, 36, 0.7) 50%, transparent);
}

.solutions-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.sol-card {
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.sol-featured {
  border-color: rgba(91, 110, 245, 0.3);
}

.sol-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}

.sol-num {
  font-family: var(--font-h);
  font-size: 3rem;
  font-weight: 900;
  line-height: 1;
  opacity: 0.35;
}

.sol-icon-wrap {
  width: 46px;
  height: 46px;
  border-radius: var(--r2);
  display: flex;
  align-items: center;
  justify-content: center;
}

.sol-badge-dev {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(167, 139, 250, 0.12);
  border: 1px solid rgba(167, 139, 250, 0.3);
  color: var(--acc2);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 100px;
}

.sol-badge-dev::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--acc);
  animation: pulseDot 2s infinite;
}

.sol-card h3 {
  font-family: var(--font-h);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.sol-card>p {
  color: var(--txt2);
  font-size: 0.9rem;
  line-height: 1.75;
  margin-bottom: 22px;
}

.sol-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 24px;
}

.sol-list li {
  font-size: 0.82rem;
  color: var(--txt2);
  padding-left: 16px;
  position: relative;
}

.sol-list li::before {
  content: '✦';
  position: absolute;
  left: 0;
  color: var(--p);
  font-size: 0.55rem;
  top: 4px;
}

.sol-cta {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--p2);
  transition: gap 0.2s, color 0.2s;
}

.sol-cta:hover {
  color: var(--txt);
  gap: 10px;
}

/* ── UPCOMING ─────────────────────────────────────────── */
.upcoming-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 28px;
}

.up-card {
  padding: 36px;
  position: relative;
  overflow: hidden;
}

.up-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(91, 110, 245, 0.04) 0%, transparent 60%);
  pointer-events: none;
}

.up-status-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--acc2);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--acc);
  animation: pulseDot 2s infinite;
}

.up-icon-wrap {
  width: 56px;
  height: 56px;
  border-radius: var(--r3);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
}

.up-card h3 {
  font-family: var(--font-h);
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.up-card>p {
  color: var(--txt2);
  font-size: 0.92rem;
  line-height: 1.75;
  margin-bottom: 24px;
}

.up-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.up-tags span {
  background: rgba(91, 110, 245, 0.1);
  border: 1px solid rgba(91, 110, 245, 0.2);
  color: var(--p2);
  font-size: 0.77rem;
  font-weight: 600;
  padding: 5px 13px;
  border-radius: 100px;
}

/* Notify block */
.notify-block {
  padding: 40px;
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.notify-left {
  flex: 1;
  min-width: 200px;
}

.notify-left h3 {
  font-family: var(--font-h);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.notify-left p {
  color: var(--txt2);
  font-size: 0.9rem;
}

.notify-form {
  display: flex;
  gap: 12px;
  flex: 2;
  min-width: 280px;
}

.notify-input {
  flex: 1;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border);
  border-radius: var(--r2);
  color: var(--txt);
  padding: 12px 18px;
  outline: none;
  transition: var(--t);
}

.notify-input:focus {
  border-color: rgba(91, 110, 245, 0.5);
  box-shadow: 0 0 0 3px rgba(91, 110, 245, 0.12);
}

.notify-input::placeholder {
  color: var(--txt3);
}

.notify-success {
  display: none;
  color: #6ee7b7;
  font-size: 0.88rem;
  font-weight: 600;
}

.notify-success.show {
  display: inline;
}

/* ── CONTACT ──────────────────────────────────────────── */
.contact {
  background: linear-gradient(180deg, transparent, rgba(14, 16, 36, 0.5) 100%);
}

.contact-wrap {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 28px;
  align-items: start;
}

.contact-panel {
  padding: 36px;
}

.contact-panel h3 {
  font-family: var(--font-h);
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 30px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.citem-icon {
  width: 42px;
  height: 42px;
  border-radius: var(--r2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.citem-label {
  display: block;
  font-size: 0.7rem;
  color: var(--txt3);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 2px;
}

.citem-value {
  font-size: 0.93rem;
  font-weight: 500;
  color: var(--txt);
  transition: color 0.2s;
}

a.citem-value:hover {
  color: var(--p2);
}

.partner-seal {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 32px;
  padding: 20px 22px;
  border-radius: var(--r3);
  background: linear-gradient(135deg, rgba(91, 110, 245, 0.1), rgba(167, 139, 250, 0.06));
  border: 1px solid rgba(91, 110, 245, 0.22);
}

.seal-ring {
  width: 120px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.seal-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 50%;
}

.seal-text strong {
  display: block;
  font-weight: 700;
  font-size: 0.9rem;
}

.seal-text span {
  font-size: 0.75rem;
  color: var(--txt3);
}

/* Contact Form */
.contact-form {
  padding: 36px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 18px;
}

.form-group label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--txt2);
  letter-spacing: 0.04em;
}

.form-group input,
.form-group select,
.form-group textarea {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border);
  border-radius: var(--r2);
  color: var(--txt);
  padding: 12px 16px;
  outline: none;
  transition: var(--t);
  resize: vertical;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--txt3);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: rgba(91, 110, 245, 0.5);
  box-shadow: 0 0 0 3px rgba(91, 110, 245, 0.1);
  background: rgba(91, 110, 245, 0.04);
}

.form-group select {
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236b74a8' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

.form-group select option {
  background: #10132a;
  color: var(--txt);
}

.form-success {
  display: none;
  color: #6ee7b7;
  font-size: 0.88rem;
  font-weight: 600;
  text-align: center;
  margin-top: 14px;
  padding: 12px;
  background: rgba(110, 231, 183, 0.07);
  border: 1px solid rgba(110, 231, 183, 0.2);
  border-radius: var(--r2);
}

.form-success.show {
  display: block;
}

/* ── FOOTER ───────────────────────────────────────────── */
.footer {
  background: var(--bg2);
  position: relative;
  z-index: 1;
  padding: 80px 0 0;
}

.footer-top-glow {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--p), var(--acc), transparent);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 1px;
  margin-bottom: 60px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0; /* Removed gap */
  margin-bottom: 16px;
}

.footer-logo .logo-text {
  margin-left: -15px; /* Pull text closer to the massive ring on desktop */
}

/* Footer logo sizing (Double the header logo) */
.footer-logo .logo-glow-ring {
  width: 240px;
  height: 240px;
}

.footer-logo-img {
  width: 200%;
  height: 200%;
  object-fit: contain;
}

.footer-tagline {
  color: var(--txt3);
  font-size: 0.87rem;
  line-height: 1.75;
  max-width: 280px;
  margin-bottom: 18px;
}

.footer-partner-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(91, 110, 245, 0.1);
  border: 1px solid rgba(91, 110, 245, 0.22);
  color: var(--p2);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 5px 14px;
  border-radius: 100px;
}

.footer-col h4 {
  font-family: var(--font-h);
  font-size: 0.87rem;
  font-weight: 700;
  color: var(--txt);
  letter-spacing: 0.04em;
  margin-bottom: 18px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col a {
  font-size: 0.85rem;
  color: var(--txt3);
  transition: color 0.2s;
}

.footer-col a:hover {
  color: var(--p2);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--txt3);
  flex-wrap: wrap;
  gap: 10px;
}

.footer-right {
  color: var(--txt3);
}

/* ── REVEAL ───────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── ANIMATIONS ───────────────────────────────────────── */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(22px)
  }

  to {
    opacity: 1;
    transform: translateY(0)
  }
}

@keyframes fadeIn {
  from {
    opacity: 0
  }

  to {
    opacity: 1
  }
}

@keyframes orbitSpin {
  from {
    transform: translate(-50%, -50%) rotate(0deg);
  }

  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

@keyframes floatY {

  0%,
  100% {
    transform: translateY(0)
  }

  50% {
    transform: translateY(-18px)
  }
}

@keyframes floatTag {

  0%,
  100% {
    transform: translateY(0)
  }

  50% {
    transform: translateY(-8px)
  }
}

@keyframes scrollDown {
  0% {
    opacity: 1;
    transform: translateY(0)
  }

  100% {
    opacity: 0;
    transform: translateY(10px)
  }
}

@keyframes pulseDot {

  0%,
  100% {
    opacity: 1;
    transform: scale(1)
  }

  50% {
    opacity: 0.4;
    transform: scale(0.7)
  }
}

@keyframes blobFloat {

  0%,
  100% {
    transform: translate(0, 0) scale(1)
  }

  50% {
    transform: translate(30px, -30px) scale(1.08)
  }
}

@keyframes ticker {
  from {
    transform: translateX(0)
  }

  to {
    transform: translateX(-50%)
  }
}

@keyframes nebulaGlow {
  0% {
    transform: scale(1) rotate(0deg);
    opacity: 0.8;
    filter: blur(24px);
  }

  50% {
    transform: scale(1.15) rotate(180deg);
    opacity: 1;
    filter: blur(32px);
  }

  100% {
    transform: scale(0.9) rotate(360deg);
    opacity: 0.7;
    filter: blur(20px);
  }
}

@keyframes ringPulse {
  0% {
    transform: translateZ(-20px) scale(1);
    opacity: 0.6;
    box-shadow: 0 0 25px rgba(91, 110, 245, 0.4), inset 0 0 15px rgba(34, 211, 238, 0.3);
  }

  50% {
    transform: translateZ(-10px) scale(1.05);
    opacity: 0.9;
    box-shadow: 0 0 45px rgba(91, 110, 245, 0.7), inset 0 0 25px rgba(34, 211, 238, 0.5);
  }

  100% {
    transform: translateZ(-20px) scale(1);
    opacity: 0.6;
    box-shadow: 0 0 25px rgba(91, 110, 245, 0.4), inset 0 0 15px rgba(34, 211, 238, 0.3);
  }
}

@keyframes moonAuraPulse {
  0% {
    transform: scale(1);
    opacity: 0.6;
    filter: blur(8px);
  }

  100% {
    transform: scale(1.15);
    opacity: 0.95;
    filter: blur(14px);
  }
}

@keyframes flameFlicker {

  0%,
  100% {
    transform: translateY(-50%) scaleY(0.9);
    opacity: 0.75;
  }

  50% {
    transform: translateY(-50%) scaleY(1.1) scaleX(1.05);
    opacity: 1;
  }
}

/* ── RESPONSIVE ───────────────────────────────────────── */
@media(max-width:1024px) {
  .hero-inner {
    display: flex;
    flex-direction: column;
    gap: 56px;
    text-align: center;
  }

  .hero-content {
    margin: 0 auto;
    padding-top: 0;
  }

  .hero-subtitle {
    margin: 0 auto 40px;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-stats {
    justify-content: center;
  }

  .hero-visual {
    position: relative;
    top: auto;
    right: auto;
    order: -1;
    width: 500px;
    height: 500px;
    margin: 0 auto;
  }

  .hero-logo-img {
    width: 400px;
    height: 400px;
  }

  .orbit-1 {
    width: 420px;
    height: 420px;
  }

  .orbit-2 {
    width: 500px;
    height: 500px;
  }

  .orbit-3 {
    width: 580px;
    height: 580px;
  }

  .orbit-4 {
    width: 660px;
    height: 660px;
  }

  .orbit-5 {
    width: 740px;
    height: 740px;
  }

  .orbit-icon {
    width: 36px;
    height: 36px;
    top: -18px;
    padding: 6px;
  }

  .float-tag {
    display: none;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .solutions-grid {
    grid-template-columns: 1fr;
  }

  .sol-featured {
    grid-column: span 1;
  }

  .sol-list {
    grid-template-columns: 1fr;
  }

  .contact-wrap {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }

  .footer-brand {
    grid-column: 1/-1;
  }
}

@media(max-width:768px) {
  :root {
    --nav: 72px;
  }

  .section {
    padding: 72px 0;
  }

  .hamburger {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: var(--nav);
    left: 0;
    right: 0;
    background: rgba(5, 6, 16, 0.97);
    backdrop-filter: blur(24px);
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    gap: 4px;
    border-bottom: 1px solid var(--border);
    transform: translateY(-110%);
    opacity: 0;
    pointer-events: none;
    transition: var(--t);
  }

  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }

  .nav-link {
    padding: 14px 16px;
  }

  .nav-link.nav-cta {
    margin-left: 0;
    text-align: center;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .upcoming-grid {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .contact-form {
    padding: 24px 18px;
  }

  .notify-block {
    flex-direction: column;
    align-items: stretch;
  }

  .notify-form {
    flex-direction: column;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-brand {
    grid-column: auto;
  }

  .hero-scroll {
    display: none;
  }

  .hero-title {
    font-size: clamp(2.2rem, 8vw, 3.5rem);
  }

  .hero-visual {
    width: 340px;
    height: 340px;
  }

  .hero-logo-img {
    width: 280px;
    height: 280px;
  }

  .orbit-1 {
    width: 300px;
    height: 300px;
  }

  .orbit-2 {
    width: 340px;
    height: 340px;
  }

  .orbit-3 {
    width: 380px;
    height: 380px;
  }

  .orbit-4 {
    width: 420px;
    height: 420px;
  }

  .orbit-5 {
    width: 460px;
    height: 460px;
  }

  .orbit-icon {
    width: 28px;
    height: 28px;
    top: -14px;
    padding: 4px;
  }

  /* Shrink header logo on mobile to keep navbar horizontal */
  .nav-logo .logo-glow-ring {
    width: 70px;
    height: 70px;
  }

  .nav-logo .logo-text {
    font-size: 1.4rem;
  }

  /* Stack footer logo vertically on mobile to accommodate massive size */
  .footer-logo {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
  }

  .footer-logo .logo-text {
    margin-left: 0; /* Reset desktop margin */
    margin-top: -30px; /* Pull text up into the ring on mobile */
  }
}

@media(max-width:480px) {
  .container {
    padding: 0 16px;
  }

  .hero {
    padding: 0 16px;
    padding-top: var(--nav);
  }

  .hero-stats {
    flex-direction: column;
    gap: 16px;
  }

  .stat-sep {
    width: 40px;
    height: 1px;
  }

  .hero-visual {
    width: 280px;
    height: 280px;
    margin-top: 40px;
  }

  .hero-logo-img {
    width: 220px;
    height: 220px;
  }

  .orbit-1 {
    width: 240px;
    height: 240px;
  }

  .orbit-2 {
    width: 280px;
    height: 280px;
  }

  .orbit-3 {
    width: 320px;
    height: 320px;
  }

  .orbit-4 {
    width: 360px;
    height: 360px;
  }

  .orbit-5 {
    width: 400px;
    height: 400px;
  }
}

/* ── PERFORMANCE OPTIMIZATIONS ────────────────────────── */
@media (max-width: 1024px) {
  .fluid-blob {
    opacity: 0.7;
    animation-duration: 40s;
  }

  .hero-visual-bg {
    animation: none !important;
    filter: blur(8px) !important;
  }
}

@media (max-width: 768px) {

  /* Completely hide the SVG noise shader to prevent fill-rate limitations */
  .fluid-noise {
    display: none !important;
  }
}


/* ── TECH STACK SECTION ───────────────────────────────── */
.tech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 48px;
}

.tech-card {
  padding: 32px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.tech-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: var(--r2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  transition: var(--t);
}

.tech-card:hover .tech-icon-wrap {
  background: rgba(91, 110, 245, 0.1);
  border-color: rgba(91, 110, 245, 0.4);
  box-shadow: 0 0 16px rgba(91, 110, 245, 0.2);
}

.tech-card h3 {
  font-family: var(--font-h);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--txt);
}

.tech-card p {
  color: var(--txt2);
  font-size: 0.88rem;
  line-height: 1.6;
}