/* RESET & TOKENS */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg-main: #0a0f1a;
  --bg-card: rgba(17, 25, 40, 0.6);
  --bg-card-solid: #111827;
  --bg-glow-1: radial-gradient(circle at 20% 20%, rgba(99,102,241,.35) 0%, rgba(0,0,0,0) 60%);
  --bg-glow-2: radial-gradient(circle at 80% 0%, rgba(16,185,129,.25) 0%, rgba(0,0,0,0) 60%);
  --text-main: #fff;
  --text-dim: rgba(255,255,255,.7);
  --text-soft: rgba(255,255,255,.5);
  --radius-md: 0.75rem;
  --radius-lg: 1rem;
  --border-card: rgba(255,255,255,.08);
  --border-bright: rgba(255,255,255,.18);
  --accent-1: #6366f1;
  --accent-2: #4f46e5;
  --accent-green: #34d399;
  --accent-red: #ef4444;
  --shadow-card: 0 30px 120px rgba(0,0,0,.8);
  --shadow-floating: 0 30px 80px rgba(99,102,241,.4);
  --glass-bg: rgba(15, 23, 42, 0.55);
  --glass-blur: blur(20px);
  --grad-accent: linear-gradient(90deg,#4f46e5 0%,#6366f1 50%,#818cf8 100%);
  --grad-text: radial-gradient(circle at 0% 0%, #fff 0%, #a5b4fc 40%, #6366f1 70%, #14b8a6 100%);
  --grid-color: rgba(255,255,255,.03);
  --grid-fade: rgba(10,15,26,0);
  --transition-fast: .18s cubic-bezier(.2,.8,.4,1);
  --transition-slow: .4s cubic-bezier(.2,.8,.4,1);
}

body {
  background-color: var(--bg-main);
  color: var(--text-main);
  font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  position: relative;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

.section-padding {
  padding: 4rem 0;
}

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* GLOBAL BACKGROUND EFFECTS */
.bg-blur-1,
.bg-blur-2 {
  position: fixed;
  z-index: -2;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.4;
  pointer-events: none;
}
.bg-blur-1 {
  background: radial-gradient(circle at 30% 30%, #6366f1 0%, rgba(0,0,0,0) 70%);
  top: -100px;
  left: -100px;
}
.bg-blur-2 {
  background: radial-gradient(circle at 70% 30%, #14b8a6 0%, rgba(0,0,0,0) 70%);
  top: -120px;
  right: -150px;
}

/* GRID OVERLAY */
.bg-grid {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(circle at 1px 1px, var(--grid-color) 1px, transparent 0);
  background-size: 24px 24px;
  mask-image: radial-gradient(circle at 50% 30%, rgba(0,0,0,1) 0%, var(--grid-fade) 70%);
  opacity: .4;
  z-index: -3;
}

/* COMMON UTILITIES / ANIMATIONS */
.floating-card {
  position: relative;
  animation: floatSmooth 4s ease-in-out infinite;
}
@keyframes floatSmooth {
  0%,100% { transform: translateY(0) translateZ(0) rotateX(0deg) rotateY(0deg) scale(1); }
  50%     { transform: translateY(-6px) translateZ(0) rotateX(1deg) rotateY(-1deg) scale(1.01); }
}

.pulse {
  animation: pulseBadge 2s infinite;
}
@keyframes pulseBadge {
  0%,100% { box-shadow: 0 0 20px rgba(16,185,129,.4), 0 0 60px rgba(16,185,129,.2); }
  50%     { box-shadow: 0 0 30px rgba(16,185,129,.8), 0 0 80px rgba(16,185,129,.4); }
}

[data-scroll-reveal] {
  opacity: 0;
  transform: translateY(24px) scale(.98);
  transition: var(--transition-slow);
}
.reveal-visible {
  opacity: 1 !important;
  transform: translateY(0) scale(1) !important;
}

.hover-lift {
  transition: var(--transition-fast);
}
.hover-lift:hover {
  transform: translateY(-4px) scale(1.02);
}

.hover-glow {
  position: relative;
}
.hover-glow:hover {
  box-shadow:
    0 40px 200px rgba(99,102,241,.4),
    0 60px 240px rgba(20,184,166,.25),
    0 20px 80px rgba(0,0,0,.9);
}

/* RESPONSIVE SHARED BREAKPOINTS */
@media (max-width: 900px) {
  .hero-right {
    order: -1;
    max-width: 380px;
    width: 100%;
    margin: 0 auto 2rem;
  }
}
