/* ─── RESET ─────────────────────────────────────────────────── */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

/* ─── BASE ──────────────────────────────────────────────────── */
body {
  font-family: 'DM Sans', sans-serif;
  background-color: #050d18;
  color: #e2e8f0;
}

/* Noise overlay */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
  opacity: 0.35;
}

/* ─── ANIMATIONS ────────────────────────────────────────────── */
@keyframes glowPulse {
  0%, 100% { opacity: 0.5; transform: translate(-50%, -60%) scale(1); }
  50%       { opacity: 0.8; transform: translate(-50%, -60%) scale(1.05); }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ─── HERO GLOW ORB ─────────────────────────────────────────── */
.hero-glow {
  position: absolute;
  width: clamp(320px, 90vw, 700px);
  height: clamp(320px, 90vw, 700px);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(34, 211, 238, 0.08) 0%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -60%);
  pointer-events: none;
  animation: glowPulse 4s ease-in-out infinite;
}

/* ─── TYPOGRAPHY ────────────────────────────────────────────── */
.gradient-text {
  background: linear-gradient(135deg, #22d3ee 0%, #60a5fa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ─── NAVIGATION ────────────────────────────────────────────── */
.nav-glass {
  background: rgba(8, 15, 30, 0.8);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.section-nav-link {
  color: #94a3b8;
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.section-nav-link:hover {
  color: #ffffff;
}

.section-nav-link.is-active {
  color: #ffffff;
  border-bottom-color: #22d3ee;
}

/* ─── BUTTONS ───────────────────────────────────────────────── */
.cta-btn {
  background: linear-gradient(135deg, #06b6d4, #3b82f6);
  transition: opacity 0.2s, transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 0 24px rgba(6, 182, 212, 0.35);
}
.cta-btn:hover {
  opacity: 0.9;
  transform: translateY(-1px);
  box-shadow: 0 0 36px rgba(6, 182, 212, 0.5);
}

.outline-btn {
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: border-color 0.2s, background 0.2s;
}
.outline-btn:hover {
  border-color: rgba(34, 211, 238, 0.4);
  background: rgba(34, 211, 238, 0.05);
}

/* ─── FEATURE CARDS ─────────────────────────────────────────── */
.feature-card {
  background: rgba(13, 22, 41, 0.7);
  border: 1px solid rgba(34, 211, 238, 0.08);
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}
.feature-card:hover {
  border-color: rgba(34, 211, 238, 0.25);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(34, 211, 238, 0.06);
}

/* ─── ICON BOX ──────────────────────────────────────────────── */
.icon-box {
  background: rgba(34, 211, 238, 0.08);
  border: 1px solid rgba(34, 211, 238, 0.15);
}

/* ─── CTA SECTION ───────────────────────────────────────────── */
.cta-section {
  background: linear-gradient(135deg, rgba(13, 22, 41, 0.9), rgba(8, 15, 30, 0.95));
  border: 1px solid rgba(34, 211, 238, 0.1);
}

/* ─── PLATFORM ICONS ────────────────────────────────────────── */
.platform-icon {
  opacity: 0.45;
  transition: opacity 0.2s;
}
.platform-icon:hover {
  opacity: 0.8;
}

/* ─── SCROLL REVEAL ─────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─── HERO ENTRANCE ANIMATIONS ──────────────────────────────── */
.hero-animate {
  opacity: 0;
  animation: fadeUp 0.7s ease forwards;
}
.delay-1 { animation-delay: 0.10s; }
.delay-2 { animation-delay: 0.25s; }
.delay-3 { animation-delay: 0.40s; }
.delay-4 { animation-delay: 0.55s; }

/* ─── DIVIDER ───────────────────────────────────────────────── */
.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(34, 211, 238, 0.15), transparent);
}
