:root {
  --bg-deep: #06060e;
  --bg-primary: #0a0a12;
  --bg-secondary: #0e0e1a;
  --bg-card: #111120;
  --bg-card-hover: #161630;
  --text-primary: #ffffff;
  --text-secondary: #9494b0;
  --text-muted: #5c5c78;
  --accent-1: #6c5ce7;
  --accent-2: #00d2ff;
  --accent-3: #ff6b6b;
  --accent-4: #ffd93d;
  --accent-green: #00e676;
  --gradient-1: linear-gradient(135deg, #6c5ce7, #00d2ff);
  --gradient-2: linear-gradient(135deg, #ff6b6b, #ffd93d);
  --gradient-3: linear-gradient(135deg, #6c5ce7, #ff6b6b);
  --glass-bg: rgba(255, 255, 255, 0.02);
  --glass-border: rgba(255, 255, 255, 0.06);
  --glass-border-hover: rgba(255, 255, 255, 0.1);
  --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --transition: 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  --font-display: 'Orbitron', monospace;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  background: var(--bg-primary);
  color: var(--text-primary);
  overflow-x: hidden;
  line-height: 1.6;
}

body::after {
  content: '';
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 99997;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 256px 256px;
  animation: grain-shift 0.5s steps(4) infinite;
}

@keyframes grain-shift {
  0% { transform: translate(0, 0); }
  25% { transform: translate(-2px, 2px); }
  50% { transform: translate(2px, -2px); }
  75% { transform: translate(-1px, -1px); }
  100% { transform: translate(0, 0); }
}



::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg-primary); }
::-webkit-scrollbar-thumb { background: var(--accent-1); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--accent-2); }

::selection { background: var(--accent-1); color: #fff; }

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

.section {
  position: relative;
  padding: 120px 0;
  overflow: hidden;
  z-index: 0;
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 64px;
}

.section-header.left {
  text-align: left;
  margin: 0 0 32px;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 18px;
  background: rgba(108, 92, 231, 0.1);
  border: 1px solid rgba(108, 92, 231, 0.2);
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent-2);
  margin-bottom: 16px;
  font-family: var(--font-display);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 16px;
}

.section-desc {
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.7;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9rem;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  letter-spacing: 0.3px;
}

.btn-primary {
  background: var(--gradient-1);
  color: #fff;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(108, 92, 231, 0.35);
}

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 1.5px solid rgba(255, 255, 255, 0.12);
}

.btn-outline:hover {
  border-color: var(--accent-2);
  background: rgba(0, 210, 255, 0.06);
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(0, 210, 255, 0.08);
}

.btn-glow {
  animation: btn-glow 3s ease-in-out infinite;
}

.btn-sm { padding: 10px 20px; font-size: 0.82rem; }
.btn-lg { padding: 18px 40px; font-size: 1rem; }
.btn-full { width: 100%; justify-content: center; }

.btn i { font-size: 0.9em; transition: transform var(--transition); }
.btn:hover i { transform: translateX(4px); }

.btn-outline:hover i { transform: translateX(0); }

@keyframes btn-glow {
  0%, 100% { box-shadow: 0 4px 20px rgba(108, 92, 231, 0.15); }
  50% { box-shadow: 0 4px 40px rgba(0, 210, 255, 0.25); }
}

#particles-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.section-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.services .section-bg {
  background:
    radial-gradient(ellipse at 20% 50%, rgba(108, 92, 231, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 50%, rgba(0, 210, 255, 0.05) 0%, transparent 50%);
}

.section-bg-image {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.services .section-bg-image {
  background-image: url('https://assets.badlion.net/blog/minecraft-backgrounds/dropper.webp');
  opacity: 0.1;
}

.about .section-bg {
  background:
    radial-gradient(ellipse at 30% 60%, rgba(0, 210, 255, 0.06) 0%, transparent 50%),
    radial-gradient(ellipse at 70% 30%, rgba(108, 92, 231, 0.06) 0%, transparent 50%);
}

.about .section-bg-image {
  background-image: url('https://assets.badlion.net/blog/minecraft-backgrounds/bridge.webp');
  opacity: 0.08;
}

.pricing .section-bg {
  background: radial-gradient(ellipse at 50% 0%, rgba(108, 92, 231, 0.08) 0%, transparent 50%);
}

.pricing .section-bg-image {
  background-image: url('https://assets.badlion.net/blog/minecraft-backgrounds/minecraft-pvp.webp');
  opacity: 0.1;
}

/* PRELOADER */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--bg-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

#preloader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader { text-align: center; }

.loader-icon {
  font-size: 3rem;
  margin-bottom: 16px;
  animation: loader-pulse 0.8s ease-in-out infinite alternate;
}

@keyframes loader-pulse {
  from { transform: scale(1); opacity: 0.6; }
  to { transform: scale(1.15); opacity: 1; }
}

.loader-text {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 900;
  letter-spacing: 6px;
  background: var(--gradient-1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 24px;
}

.loader-bar {
  width: 200px;
  height: 3px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 3px;
  margin: 0 auto;
  overflow: hidden;
}

.loader-fill {
  width: 0%;
  height: 100%;
  background: var(--gradient-1);
  border-radius: 3px;
  animation: loader-fill 1.5s ease-in-out forwards;
}

@keyframes loader-fill {
  0% { width: 0%; }
  100% { width: 100%; }
}

/* SCROLL PROGRESS */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--gradient-1);
  z-index: 9999;
  transition: width 0.1s linear;
}

/* HEADER — 2026 PILL NAV */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 9990;
  padding-top: 16px;
  transition: var(--transition);
  pointer-events: none;
}

.header > * { pointer-events: auto; }

.navbar {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 16px;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 20px 10px 24px;
  background: rgba(10, 10, 18, 0.55);
  backdrop-filter: blur(20px) saturate(1.3);
  -webkit-backdrop-filter: blur(20px) saturate(1.3);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 100px;
  transition: var(--transition);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.25);
}

.header.scrolled .nav-container {
  background: rgba(10, 10, 18, 0.82);
  border-color: rgba(108, 92, 231, 0.15);
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.35), 0 0 60px rgba(108, 92, 231, 0.05);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 0.5px;
}

.logo-icon {
  font-size: 1.3rem;
  animation: logo-glow 2s ease-in-out infinite;
  display: inline-block;
}

@keyframes logo-glow {
  0%, 100% { filter: brightness(1) drop-shadow(0 0 4px rgba(0, 210, 255, 0)); }
  50% { filter: brightness(1.3) drop-shadow(0 0 8px rgba(0, 210, 255, 0.4)); }
}

.logo-text span { color: var(--accent-2); }

.nav-link {
  position: relative;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: var(--transition);
  padding: 8px 16px;
  letter-spacing: 0.2px;
  border-radius: 100px;
}

.nav-link:hover {
  color: var(--text-primary);
}

.nav-link.active {
  color: #fff;
  background: transparent;
}

/* NAV SLIDING INDICATOR */
.nav-indicator {
  position: absolute;
  top: 2px;
  height: 36px;
  background: rgba(108, 92, 231, 0.18);
  border: 1px solid rgba(108, 92, 231, 0.2);
  border-radius: 100px;
  transition: left 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), width 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  pointer-events: none;
  z-index: -1;
}

.nav-menu {
  position: relative;
  display: flex;
  align-items: center;
  gap: 4px;
  z-index: 1;
}

/* SECTION WAVE DIVIDER */
.section-wave {
  position: relative;
  width: 100%;
  height: 80px;
  overflow: hidden;
  margin-top: -1px;
  z-index: 1;
}

.section-wave svg {
  width: 100%;
  height: 100%;
  display: block;
}

.section-wave .wave-path {
  fill: var(--bg-secondary);
}

.section-wave.wave-flip {
  transform: rotate(180deg);
}

.section-wave::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(108, 92, 231, 0.04), rgba(0, 210, 255, 0.03), transparent);
  animation: wave-shimmer 4s ease-in-out infinite alternate;
  pointer-events: none;
}

@keyframes wave-shimmer {
  0% { opacity: 0.3; }
  100% { opacity: 0.8; }
}

/* STATUS INDICATOR */
.nav-status {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  background: rgba(0, 230, 118, 0.06);
  border: 1px solid rgba(0, 230, 118, 0.12);
  border-radius: 100px;
  font-size: 0.65rem;
  font-weight: 500;
  color: var(--accent-green);
  text-transform: uppercase;
  letter-spacing: 0.6px;
  white-space: nowrap;
}

.status-dot {
  width: 5px;
  height: 5px;
  background: var(--accent-green);
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(0, 230, 118, 0.6);
  animation: status-pulse 2s ease-in-out infinite;
}

@keyframes status-pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 8px rgba(0, 230, 118, 0.6); }
  50% { opacity: 0.5; box-shadow: 0 0 4px rgba(0, 230, 118, 0.2); }
}

.nav-actions { display: flex; align-items: center; gap: 8px; }

.btn-nav {
  padding: 8px 18px;
  font-size: 0.78rem;
  border-radius: 100px;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  position: relative;
  z-index: 9992;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2.5px;
  background: var(--text-primary);
  transition: var(--transition);
  border-radius: 2px;
}

.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; transform: translateX(-8px); }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile menu backdrop */
.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
  z-index: 9990;
}
.nav-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

/* HERO — 2026 REDESIGN */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding-top: 80px;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background: url('https://assets.badlion.net/blog/minecraft-backgrounds/minecraft-tower.webp') center center / cover no-repeat;
  opacity: 0.15;
  pointer-events: none;
}

/* Floating shapes */
.hero-shape {
  position: absolute;
  pointer-events: none;
  z-index: 0;
  opacity: 0.08;
}

.hero-shape-1 {
  width: 80px;
  height: 80px;
  border: 2px solid var(--accent-2);
  top: 15%;
  left: 8%;
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  animation: shape-float1 18s ease-in-out infinite;
}

.hero-shape-2 {
  width: 60px;
  height: 60px;
  background: rgba(108, 92, 231, 0.08);
  top: 25%;
  right: 12%;
  clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
  animation: shape-float2 22s ease-in-out infinite;
}

.hero-shape-3 {
  width: 100px;
  height: 100px;
  border: 1.5px solid rgba(255, 107, 107, 0.15);
  bottom: 15%;
  left: 5%;
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  animation: shape-float3 25s ease-in-out infinite;
}

.hero-shape-4 {
  width: 50px;
  height: 50px;
  background: rgba(0, 210, 255, 0.06);
  bottom: 30%;
  right: 8%;
  clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
  animation: shape-float4 15s ease-in-out infinite;
}

.hero-shape-5 {
  width: 120px;
  height: 120px;
  border: 1px solid rgba(108, 92, 231, 0.1);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 60% 40% 40% 60% / 60% 40% 60% 40%;
  animation: shape-pulse 8s ease-in-out infinite;
}

@keyframes shape-float1 {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  25% { transform: translate(30px, -40px) rotate(90deg); }
  50% { transform: translate(60px, 20px) rotate(180deg); }
  75% { transform: translate(15px, -30px) rotate(270deg); }
}

@keyframes shape-float2 {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  33% { transform: translate(-40px, -30px) rotate(120deg); }
  66% { transform: translate(-10px, 40px) rotate(240deg); }
}

@keyframes shape-float3 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(40px, -30px) scale(1.1); }
}

@keyframes shape-float4 {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  50% { transform: translate(-30px, -20px) rotate(180deg); }
}

@keyframes shape-pulse {
  0%, 100% { transform: translate(-50%, -50%) scale(1) rotate(0deg); opacity: 0.08; }
  50% { transform: translate(-50%, -50%) scale(1.3) rotate(180deg); opacity: 0.15; }
}

/* Grid background */
.hero-grid-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    linear-gradient(rgba(108, 92, 231, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(108, 92, 231, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 0;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
}

/* Glowing orbs */
.hero-glow-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  filter: blur(80px);
  opacity: 0.5;
}

.hero-glow-orb-1 {
  width: 600px;
  height: 600px;
  background: rgba(108, 92, 231, 0.15);
  top: -10%;
  right: -10%;
  animation: orb-float 12s ease-in-out infinite;
}

.hero-glow-orb-2 {
  width: 400px;
  height: 400px;
  background: rgba(0, 210, 255, 0.1);
  bottom: -5%;
  left: -5%;
  animation: orb-float 15s ease-in-out infinite reverse;
}

.hero-glow-orb-3 {
  width: 300px;
  height: 300px;
  background: rgba(255, 107, 107, 0.06);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: orb-pulse 8s ease-in-out infinite;
}

@keyframes orb-float {
  0%, 100% { transform: translate(0, 0); }
  33% { transform: translate(40px, -40px); }
  66% { transform: translate(-20px, 30px); }
}

@keyframes orb-pulse {
  0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.5; }
  50% { transform: translate(-50%, -50%) scale(1.3); opacity: 0.8; }
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(ellipse at 50% 0%, rgba(108, 92, 231, 0.04) 0%, transparent 60%),
              radial-gradient(ellipse at 80% 80%, rgba(0, 210, 255, 0.03) 0%, transparent 50%);
  pointer-events: none;
  z-index: 1;
}

/* Animated mesh gradient overlay */
.hero-mesh {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.3;
  background:
    radial-gradient(circle at 20% 30%, rgba(108, 92, 231, 0.12) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(0, 210, 255, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 50% 50%, rgba(255, 107, 107, 0.04) 0%, transparent 40%);
  background-size: 200% 200%;
  animation: mesh-shift 12s ease-in-out infinite alternate;
}

@keyframes mesh-shift {
  0% { background-position: 0% 0%; }
  25% { background-position: 50% 30%; }
  50% { background-position: 100% 50%; }
  75% { background-position: 30% 80%; }
  100% { background-position: 70% 20%; }
}

/* Parallax depth layers */
[data-depth] {
  transition: transform 0.1s ease-out;
  will-change: transform;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 860px;
  padding: 0 24px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 100px;
  font-size: 0.78rem;
  color: var(--text-secondary);
  margin-bottom: 32px;
  font-family: var(--font-mono);
}

.badge-dot {
  width: 5px;
  height: 5px;
  background: var(--text-muted);
  border-radius: 50%;
}

.hero-badge strong { color: var(--text-primary); font-weight: 600; }

.hero-title {
  margin-bottom: 20px;
}

.hero-title-line {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 4vw, 2.6rem);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
  opacity: 0;
  transform: translateY(20px);
  animation: title-reveal 0.8s ease forwards 0.3s;
}

.hero-title-accent {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 7vw, 5rem);
  font-weight: 900;
  background: var(--gradient-1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.1;
  animation: hero-glow 4s ease-in-out infinite, title-reveal 0.8s ease forwards 0.5s;
  opacity: 0;
  transform: translateY(30px);
}

@keyframes title-reveal {
  to { opacity: 1; transform: translateY(0); }
}

@keyframes hero-glow {
  0%, 100% { filter: brightness(1) drop-shadow(0 0 12px rgba(108, 92, 231, 0.2)); }
  50% { filter: brightness(1.15) drop-shadow(0 0 24px rgba(0, 210, 255, 0.3)); }
}

.hero-typewriter {
  font-family: var(--font-mono);
  font-size: clamp(0.95rem, 1.8vw, 1.2rem);
  color: var(--text-secondary);
  margin-bottom: 20px;
  min-height: 2em;
}

.typewriter-cursor {
  display: inline-block;
  color: var(--accent-2);
  animation: blink 0.7s infinite;
  margin-left: 2px;
  font-weight: 300;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

.hero-desc {
  font-size: clamp(0.95rem, 1.4vw, 1.1rem);
  color: var(--text-muted);
  max-width: 620px;
  margin: 0 auto 36px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 60px;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

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

.hero-stat-value {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 1px;
}

.hero-stat .stat-num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  background: var(--gradient-1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-stat .stat-suffix {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--accent-2);
}

.hero-stat .stat-label {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 4px;
  font-weight: 500;
}

.scroll-indicator {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: var(--text-muted);
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  opacity: 0.5;
}

.scroll-mouse {
  width: 22px;
  height: 34px;
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  display: flex;
  justify-content: center;
  padding-top: 6px;
}

.scroll-dot {
  width: 3px;
  height: 8px;
  background: var(--accent-2);
  border-radius: 3px;
  animation: scroll-dot 2s infinite;
}

@keyframes scroll-dot {
  0% { transform: translateY(0); opacity: 1; }
  100% { transform: translateY(14px); opacity: 0; }
}

/* TRUST MARQUEE */
.trust {
  padding: 60px 0;
  overflow: hidden;
  position: relative;
}

.trust::before, .trust::after {
  content: '';
  position: absolute;
  top: 0;
  width: 120px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.trust::before { left: 0; background: linear-gradient(90deg, var(--bg-primary), transparent); }
.trust::after { right: 0; background: linear-gradient(270deg, var(--bg-primary), transparent); }

.trust-track {
  display: flex;
  gap: 60px;
  animation: marquee 30s linear infinite;
  width: max-content;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 2px;
  white-space: nowrap;
  opacity: 0.6;
}

.trust-item i {
  font-size: 1.1rem;
  color: var(--accent-2);
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* SERVICES */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 20px;
  position: relative;
  z-index: 1;
}

.service-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: 32px 26px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: var(--y, 50%);
  left: var(--x, 50%);
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(108, 92, 231, 0.08), transparent 70%);
  opacity: 0;
  transition: opacity 0.4s;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 0;
}

.service-card::after {
  content: '';
  position: absolute;
  inset: -1px;
  background: var(--gradient-1);
  border-radius: inherit;
  z-index: -2;
  opacity: 0;
  transition: opacity var(--transition);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  -webkit-mask-composite: xor;
  padding: 1px;
}

.service-card:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: transparent;
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(108, 92, 231, 0.08);
}

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

.service-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(108, 92, 231, 0.08);
  border-radius: var(--radius-sm);
  margin-bottom: 18px;
  font-size: 1.3rem;
  color: var(--accent-2);
  transition: var(--transition);
}

.service-card:hover .service-icon {
  background: rgba(0, 210, 255, 0.12);
  color: #fff;
}

.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.service-card p {
  color: var(--text-secondary);
  font-size: 0.88rem;
  line-height: 1.7;
  margin-bottom: 18px;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent-2);
  font-size: 0.85rem;
  font-weight: 600;
  transition: var(--transition);
}

.service-link:hover { gap: 10px; color: #fff; }

/* ABOUT */
.about-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-text {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 28px;
}

.founder-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 28px;
}

.founder-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: 22px;
  transition: var(--transition);
}

.founder-card:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(0, 210, 255, 0.12);
  transform: translateY(-3px);
}

.founder-avatar {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-1);
  border-radius: 50%;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.85rem;
  margin-bottom: 10px;
}

.founder-card:nth-child(2) .founder-avatar {
  background: var(--gradient-2);
}

.founder-info h4 {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 2px;
}

.founder-role {
  display: block;
  font-size: 0.72rem;
  color: var(--accent-2);
  font-weight: 600;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.founder-card:nth-child(2) .founder-role { color: var(--accent-4); }

.founder-info p {
  font-size: 0.8rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.about-feature {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.about-feature i {
  color: var(--accent-green);
  font-size: 0.85rem;
}

/* GLOBE */
.about-visual { display: flex; justify-content: center; }

.globe-container {
  position: relative;
  width: 380px;
  height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.globe-3d {
  position: relative;
  width: 260px;
  height: 260px;
  animation: globe-spin 20s linear infinite;
  transform-style: preserve-3d;
}

@keyframes globe-spin {
  0% { transform: rotateX(20deg) rotateY(0deg); }
  100% { transform: rotateX(20deg) rotateY(360deg); }
}

.globe-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  border: 1px solid rgba(0, 210, 255, 0.08);
  border-radius: 50%;
}

.globe-ring-2 {
  width: 80%;
  height: 80%;
  border-color: rgba(108, 92, 231, 0.08);
  border-width: 2px;
  transform: translate(-50%, -50%) rotateX(60deg);
}

.globe-ring-3 {
  width: 90%;
  height: 90%;
  border-color: rgba(255, 107, 107, 0.06);
  transform: translate(-50%, -50%) rotateY(60deg);
}

.globe-dot {
  position: absolute;
  width: 5px;
  height: 5px;
  background: var(--accent-2);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--accent-2);
}

.globe-dot-1 { top: 20%; left: 30%; }
.globe-dot-2 { top: 60%; right: 25%; }
.globe-dot-3 { bottom: 25%; left: 40%; }
.globe-dot-4 { top: 40%; right: 15%; }
.globe-dot-5 { bottom: 40%; left: 20%; }
.globe-dot-6 { top: 15%; right: 40%; }

.globe-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-display);
  font-size: 3.2rem;
  font-weight: 900;
  background: var(--gradient-1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-align: center;
  line-height: 1;
}

.globe-text span {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  -webkit-text-fill-color: var(--text-muted);
  color: var(--text-muted);
  letter-spacing: 4px;
  text-transform: uppercase;
  margin-top: 4px;
}

/* PRICING TOGGLE */
.pricing-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: 28px 0 32px;
  position: relative;
  z-index: 2;
}

.toggle-label {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition);
  user-select: none;
}

.toggle-label.active {
  color: var(--text-primary);
}

.toggle-switch {
  width: 48px;
  height: 26px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 100px;
  cursor: pointer;
  position: relative;
  transition: var(--transition);
  flex-shrink: 0;
}

.toggle-switch:hover {
  border-color: rgba(108, 92, 231, 0.3);
  background: rgba(108, 92, 231, 0.06);
}

.toggle-thumb {
  width: 20px;
  height: 20px;
  background: var(--gradient-1);
  border-radius: 50%;
  position: absolute;
  top: 2px;
  left: 2px;
  transition: left 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 2px 8px rgba(108, 92, 231, 0.3);
}

.toggle-switch.yearly .toggle-thumb {
  left: 24px;
}

.toggle-save {
  font-size: 0.7rem;
  font-weight: 600;
  padding: 3px 10px;
  background: rgba(0, 230, 118, 0.1);
  border: 1px solid rgba(0, 230, 118, 0.2);
  border-radius: 100px;
  color: var(--accent-green);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  opacity: 0;
  transform: translateX(-10px);
  transition: var(--transition);
}

.toggle-save.show {
  opacity: 1;
  transform: translateX(0);
}

/* PRICING */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  position: relative;
  z-index: 1;
}

.pricing-notice {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 32px;
  padding: 20px 28px;
  background: rgba(108, 92, 231, 0.08);
  border: 1px solid rgba(108, 92, 231, 0.2);
  border-radius: var(--radius-md);
  text-align: center;
  position: relative;
  z-index: 1;
}
.pricing-notice i {
  font-size: 1.5rem;
  color: var(--accent-1);
  flex-shrink: 0;
}
.pricing-notice p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.5;
}
.pricing-notice strong {
  color: var(--text-primary);
}

.pricing-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.pricing-card::after {
  content: '';
  position: absolute;
  inset: -1px;
  background: var(--gradient-1);
  border-radius: inherit;
  z-index: -2;
  opacity: 0;
  transition: opacity var(--transition);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  -webkit-mask-composite: xor;
  padding: 1px;
}

.pricing-card:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: transparent;
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

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

.pricing-card.featured {
  border-color: rgba(108, 92, 231, 0.25);
  background: rgba(108, 92, 231, 0.03);
}

.pricing-card.featured::after { opacity: 1; }

.pricing-badge {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.pricing-badge.popular {
  display: inline-block;
  padding: 5px 14px;
  background: var(--gradient-1);
  border-radius: 100px;
  color: #fff;
  font-size: 0.65rem;
}

.pricing-header { margin-bottom: 24px; }

.pricing-header h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.pricing-price {
  display: flex;
  align-items: baseline;
  gap: 2px;
}

.price-currency {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.price-amount {
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 900;
  background: var(--gradient-1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.pricing-card.featured .price-amount {
  background: var(--gradient-3);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.price-period {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.pricing-features {
  margin-bottom: 28px;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 0;
  font-size: 0.85rem;
  color: var(--text-secondary);
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.pricing-features li:last-child { border-bottom: none; }

.pricing-features li i {
  color: var(--accent-2);
  font-size: 0.75rem;
}

/* CTA */
.cta {
  background: radial-gradient(ellipse at 50% 50%, rgba(108, 92, 231, 0.06) 0%, transparent 60%);
}

.cta-content {
  text-align: center;
  max-width: 680px;
  margin: 0 auto;
}

.cta-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 900;
  margin-bottom: 16px;
}

.cta-text {
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 32px;
}

.cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

/* FOOTER */
.footer {
  background: var(--bg-secondary);
  border-top: 1px solid rgba(255, 255, 255, 0.03);
  padding: 72px 0 28px;
}

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

.footer-logo {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 800;
  display: inline-block;
  margin-bottom: 14px;
}

.footer-logo span { color: var(--accent-2); }

.footer-brand p {
  color: var(--text-secondary);
  font-size: 0.85rem;
  line-height: 1.7;
  margin-bottom: 20px;
  max-width: 300px;
}

.footer-social {
  display: flex;
  gap: 10px;
}

.social-link {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.03);
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  transition: var(--transition);
  font-size: 0.95rem;
}

.social-link:hover {
  background: var(--accent-1);
  color: #fff;
  transform: translateY(-3px);
}

.footer-col h4 {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 18px;
  color: var(--text-primary);
}

.footer-col a {
  display: block;
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 10px;
  transition: var(--transition);
}

.footer-col a:hover { color: var(--accent-2); padding-left: 4px; }

.footer-bottom {
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.03);
  text-align: center;
}

.footer-bottom p {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* BACK TO TOP */
.back-to-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 50%;
  color: var(--text-primary);
  font-size: 0.95rem;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition: var(--transition);
  backdrop-filter: blur(12px);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--accent-1);
  border-color: var(--accent-1);
  transform: translateY(-3px);
}

/* DATA REVEAL SCROLL ANIMATIONS */
[data-reveal] {
  opacity: 1;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* RESPONSIVE */
@media (max-width: 1024px) {
  .about-wrapper { grid-template-columns: 1fr; gap: 48px; }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .globe-container { width: 300px; height: 300px; }
  .globe-3d { width: 200px; height: 200px; }
  .globe-text { font-size: 2.6rem; }
}

@media (max-width: 768px) {

  .header { padding-top: 10px; }

  .navbar {
    max-width: 100%;
    padding: 0 12px;
  }

  .nav-container {
    padding: 8px 14px;
    border-radius: 16px;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    height: 100dvh;
    background: rgba(6, 6, 14, 0.98);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    transition: right 0.35s cubic-bezier(0.22, 1, 0.36, 1);
    z-index: 9991;
    border-left: 1px solid rgba(255, 255, 255, 0.06);
    padding: 80px 32px 40px;
  }

  .nav-menu.active { right: 0; }
  .nav-toggle { display: flex; }
  .nav-status { display: none; }
  .nav-indicator { display: none; }
  .nav-link.active { background: rgba(108, 92, 231, 0.15); }

  .nav-link {
    font-size: 1rem;
    padding: 12px 20px;
    text-align: center;
  }

  .btn-nav { display: none; }
  .nav-actions .btn-nav { display: none; }
  .nav-menu .btn-nav { display: flex; margin-top: 12px; justify-content: center; }

  .hero-stats { gap: 16px; flex-wrap: wrap; justify-content: center; }
  .hero-stat .stat-num { font-size: 1.3rem; }
  .hero-stat { text-align: center; }

  .founder-cards { grid-template-columns: 1fr; }
  .about-features { grid-template-columns: 1fr; }

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

  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-brand p { max-width: 100%; }

  .section { padding: 60px 0; }
  .section-header { margin-bottom: 32px; }
  .section-title { font-size: 1.6rem; }
  .section-subtitle { font-size: 0.85rem; }

  .hero-actions { flex-direction: column; width: 100%; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .cta-actions { flex-direction: column; width: 100%; }
  .cta-actions .btn { width: 100%; justify-content: center; }

  .globe-container { width: 200px; height: 200px; }
  .globe-3d { width: 140px; height: 140px; }
  .globe-text { font-size: 1.6rem; }

  .typewriter-text { font-size: 1.1rem; }

  /* UPTIME PAGE MOBILE */
  .stats-row { grid-template-columns: 1fr 1fr; gap: 12px; }
  .node { padding: 16px; }
  .svcs { grid-template-columns: 1fr 1fr; gap: 10px; }
  .svc { padding: 14px; }
  .tl-box { padding: 20px; }
  .tl-bars { gap: 2px; }
  .tbar { min-width: 6px; }
  .inc-box { padding: 20px; }
  .slabel { font-size: 1.1rem; }
  .uptime-main { padding-top: 90px; }
}

@media (max-width: 480px) {
  .header { padding-top: 6px; }
  .navbar { padding: 0 8px; }
  .nav-container { padding: 6px 12px; border-radius: 14px; }
  .nav-logo { font-size: 0.95rem; }
  .logo-icon { font-size: 1rem; }

  .nav-menu { width: 100%; border-left: none; padding: 80px 24px 40px; }

  .section { padding: 48px 0; }
  .section-title { font-size: 1.3rem; }
  .container { padding: 0 16px; }

  .hero-stat .stat-num { font-size: 1.1rem; }
  .hero-stat .stat-label { font-size: 0.6rem; }

  .pricing-card { padding: 24px 18px; }
  .services-grid { gap: 14px; }

  .typewriter-text { font-size: 0.95rem; }

  .hero-title-accent { font-size: 2.2rem; }

  /* UPTIME PAGE */
  .stats-row { grid-template-columns: 1fr 1fr; gap: 8px; }
  .stat { padding: 12px; }
  .svcs { grid-template-columns: 1fr; gap: 8px; }
  .tl-bars { gap: 1px; }
  .tbar { min-width: 4px; border-radius: 1px; }
  .tl-top { flex-direction: column; gap: 4px; align-items: flex-start; }
  .tl-labels span { font-size: 0.55rem; }
  .uptime-main { padding-top: 80px; }
  .slabel { font-size: 1rem; }
}
