/* =============================================
   CLOUDREV — Modern Hosting Landing Page
   Style Sheet
   ============================================= */

/* ---------- RESET & BASE ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --primary: #6c63ff;
  --primary-dark: #4f46e5;
  --primary-light: #8b83ff;
  --accent: #00d4ff;
  --accent2: #ff6b6b;
  --accent3: #ffd166;
  --green: #06d6a0;
  --bg: #06080f;
  --bg2: #0c0e1a;
  --bg3: #111327;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-hover: rgba(255, 255, 255, 0.07);
  --border: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(108, 99, 255, 0.4);
  --text: #e8eaf6;
  --text-muted: #8892a4;
  --text-dim: #555e70;
  --card-radius: 16px;
  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
  --glow: 0 0 40px rgba(108, 99, 255, 0.2);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

/* ---------- SCROLLBAR ---------- */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: var(--bg2);
}

::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 3px;
}

/* ---------- UTILITIES ---------- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.gradient-text {
  background: linear-gradient(135deg, var(--primary-light), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.mt-lg {
  margin-top: 32px;
}

/* =============================================
   NAVBAR
   ============================================= */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: var(--transition);
}

.navbar.scrolled {
  background: rgba(6, 8, 15, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 10px 0;
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 36px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-icon {
  font-size: 1.5rem;
  filter: drop-shadow(0 0 10px var(--primary));
}

.brand-name {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.5px;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 8px;
  flex: 1;
  justify-content: center;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: 8px;
  transition: var(--transition);
}

.nav-links a:hover {
  color: var(--text);
  background: var(--surface);
}

.nav-uptime-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(6, 214, 160, 0.08);
  border: 1px solid rgba(6, 214, 160, 0.25);
  border-radius: 50px;
  padding: 7px 16px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--green);
  white-space: nowrap;
  flex-shrink: 0;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  margin-left: auto;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition);
}

/* =============================================
   HERO
   ============================================= */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 120px 24px 80px;
  gap: 48px;
  max-width: 1200px;
  margin: 0 auto;
}

.hero-bg-grid {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(108, 99, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(108, 99, 255, 0.05) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: -2;
}

.hero-orbs {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.3;
  animation: orbFloat 12s ease-in-out infinite;
}

.orb1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, #6c63ff, transparent);
  top: -100px;
  left: -100px;
}

.orb2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, #00d4ff, transparent);
  bottom: 100px;
  right: -80px;
  animation-delay: -4s;
}

.orb3 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, #ff6b6b, transparent);
  top: 40%;
  left: 50%;
  animation-delay: -8s;
  opacity: 0.15;
}

@keyframes orbFloat {

  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }

  33% {
    transform: translate(30px, -30px) scale(1.05);
  }

  66% {
    transform: translate(-20px, 20px) scale(0.95);
  }
}

.hero-content {
  flex: 1;
  max-width: 640px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(108, 99, 255, 0.15);
  border: 1px solid rgba(108, 99, 255, 0.3);
  border-radius: 50px;
  padding: 6px 16px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--primary-light);
  margin-bottom: 24px;
  letter-spacing: 0.5px;
}

.hero-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -1px;
  margin-bottom: 20px;
}

.hero-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 520px;
  margin-bottom: 36px;
  line-height: 1.75;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.stat-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1;
}

.stat-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
  margin: 0 4px;
}

.hero-tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
}

.htag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(108, 99, 255, 0.08);
  border: 1px solid rgba(108, 99, 255, 0.2);
  color: var(--text-muted);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 7px 14px;
  border-radius: 50px;
  transition: var(--transition);
  cursor: default;
}

.htag:hover {
  background: rgba(108, 99, 255, 0.16);
  border-color: var(--primary);
  color: var(--text);
}

/* Hero Visual - Tech Stack Showcase */
.hero-visual {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.floating {
  animation: floatCard 6s ease-in-out infinite;
}

@keyframes floatCard {

  0%,
  100% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-14px);
  }
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.dot.green {
  background: #06d6a0;
  box-shadow: 0 0 6px #06d6a0;
}

.dot.yellow {
  background: var(--accent3);
}

.dot.red {
  background: var(--accent2);
}

/* Tech Stack Showcase Card */
.tech-stack-showcase {
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 24px;
  width: 310px;
  box-shadow: var(--shadow), var(--glow);
}

.tss-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}

.tss-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text);
}

.tss-sub {
  font-size: 0.72rem;
  color: var(--text-dim);
  font-weight: 500;
}

.tss-items {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 16px;
}

.tss-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  transition: var(--transition);
}

.tss-item:hover {
  background: rgba(108, 99, 255, 0.07);
  border-color: rgba(108, 99, 255, 0.2);
}

.tss-icon-wrap {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.ls-color {
  background: rgba(255, 209, 102, 0.15);
  border: 1px solid rgba(255, 209, 102, 0.25);
}

.cl-color {
  background: rgba(6, 214, 160, 0.15);
  border: 1px solid rgba(6, 214, 160, 0.25);
}

.imf-color {
  background: rgba(255, 107, 107, 0.15);
  border: 1px solid rgba(255, 107, 107, 0.25);
}

.cf-color {
  background: rgba(255, 140, 0, 0.15);
  border: 1px solid rgba(255, 140, 0, 0.25);
}

.cp-color {
  background: rgba(108, 99, 255, 0.15);
  border: 1px solid rgba(108, 99, 255, 0.25);
}

.sa-color {
  background: rgba(0, 212, 255, 0.15);
  border: 1px solid rgba(0, 212, 255, 0.25);
}

.tss-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.tss-name {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.2;
}

.tss-desc {
  font-size: 0.72rem;
  color: var(--text-muted);
}

.tss-check {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--green);
  background: rgba(6, 214, 160, 0.1);
  border-radius: 50%;
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.tss-footer {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: rgba(6, 214, 160, 0.06);
  border-radius: 10px;
  border: 1px solid rgba(6, 214, 160, 0.2);
}

.tss-live {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--green);
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background: var(--green);
  border-radius: 50%;
  box-shadow: 0 0 6px var(--green);
  animation: pulseDot 2s ease-in-out infinite;
}

@keyframes pulseDot {

  0%,
  100% {
    box-shadow: 0 0 4px var(--green);
    transform: scale(1);
  }

  50% {
    box-shadow: 0 0 12px var(--green);
    transform: scale(1.2);
  }
}

.status-text {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--green);
}

/* =============================================
   PROVIDERS STRIP
   ============================================= */
.providers-strip {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 24px 0;
}

.strip-label {
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
  font-weight: 500;
}

.providers-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.provider-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 600;
  opacity: 0.7;
  transition: var(--transition);
}

.provider-logo:hover {
  opacity: 1;
  color: var(--text);
}

/* =============================================
   SECTIONS
   ============================================= */
.features-section {
  padding: 100px 0;
  position: relative;
}

.dark-section {
  background: var(--bg2);
}

.why-section {
  background: linear-gradient(135deg, #0a0b18 0%, #0d0f1f 50%, #0a0b18 100%);
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-badge {
  display: inline-block;
  background: rgba(108, 99, 255, 0.12);
  border: 1px solid rgba(108, 99, 255, 0.25);
  color: var(--primary-light);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.section-badge.red-badge {
  background: rgba(255, 107, 107, 0.1);
  border-color: rgba(255, 107, 107, 0.25);
  color: #ff8a8a;
}

.section-badge.blue-badge {
  background: rgba(0, 212, 255, 0.1);
  border-color: rgba(0, 212, 255, 0.25);
  color: #00d4ff;
}

.section-badge.purple-badge {
  background: rgba(167, 139, 250, 0.1);
  border-color: rgba(167, 139, 250, 0.25);
  color: #c4b5fd;
}

.section-badge.gold-badge {
  background: rgba(255, 209, 102, 0.1);
  border-color: rgba(255, 209, 102, 0.25);
  color: #ffd166;
}

.section-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  letter-spacing: -0.5px;
  margin-bottom: 14px;
  color: var(--text);
}

.section-subtitle {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 580px;
  margin: 0 auto;
  line-height: 1.7;
}

/* =============================================
   CARDS GRID
   ============================================= */
.cards-grid {
  display: grid;
  gap: 24px;
}

.cards-3 {
  grid-template-columns: repeat(3, 1fr);
}

.cards-2 {
  grid-template-columns: repeat(2, 1fr);
}

.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--card-radius);
  padding: 28px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(108, 99, 255, 0.04), transparent);
  opacity: 0;
  transition: var(--transition);
  pointer-events: none;
}

.feature-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(108, 99, 255, 0.15);
}

.feature-card:hover::before {
  opacity: 1;
}

.glass-card {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.highlight-card {
  background: linear-gradient(135deg, rgba(108, 99, 255, 0.08), rgba(0, 212, 255, 0.04));
  border-color: rgba(108, 99, 255, 0.15);
}

.card-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  font-size: 1.4rem;
}

.cpanel-color {
  background: rgba(255, 107, 107, 0.15);
  border: 1px solid rgba(255, 107, 107, 0.2);
}

.litespeed-color {
  background: rgba(255, 209, 102, 0.15);
  border: 1px solid rgba(255, 209, 102, 0.2);
}

.cloudlinux-color {
  background: rgba(6, 214, 160, 0.15);
  border: 1px solid rgba(6, 214, 160, 0.2);
}

.globe-color {
  background: rgba(0, 212, 255, 0.15);
  border: 1px solid rgba(0, 212, 255, 0.2);
}

.cloud-color {
  background: rgba(108, 99, 255, 0.15);
  border: 1px solid rgba(108, 99, 255, 0.2);
}

.scale-color {
  background: rgba(255, 159, 67, 0.15);
  border: 1px solid rgba(255, 159, 67, 0.2);
}

.imunify-color {
  background: rgba(255, 107, 107, 0.15);
  border: 1px solid rgba(255, 107, 107, 0.2);
}

.firewall-color {
  background: rgba(255, 159, 67, 0.15);
  border: 1px solid rgba(255, 159, 67, 0.2);
}

.kernel-color {
  background: rgba(108, 99, 255, 0.15);
  border: 1px solid rgba(108, 99, 255, 0.2);
}

.cf-color {
  background: rgba(255, 140, 0, 0.15);
  border: 1px solid rgba(255, 140, 0, 0.2);
}

.softaculous-color {
  background: rgba(0, 212, 255, 0.15);
  border: 1px solid rgba(0, 212, 255, 0.2);
}

.db-color {
  background: rgba(6, 214, 160, 0.15);
  border: 1px solid rgba(6, 214, 160, 0.2);
}

.email-color {
  background: rgba(167, 139, 250, 0.15);
  border: 1px solid rgba(167, 139, 250, 0.2);
}

.dns-color {
  background: rgba(0, 212, 255, 0.15);
  border: 1px solid rgba(0, 212, 255, 0.2);
}

.migration-color {
  background: rgba(6, 214, 160, 0.15);
  border: 1px solid rgba(6, 214, 160, 0.2);
}

.support-color {
  background: rgba(255, 209, 102, 0.15);
  border: 1px solid rgba(255, 209, 102, 0.2);
}

.card-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
  letter-spacing: -0.2px;
}

.card-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 18px;
  line-height: 1.65;
}

.feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.feature-list li {
  font-size: 0.87rem;
  color: var(--text-muted);
  padding-left: 18px;
  position: relative;
}

.feature-list li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--primary);
  font-size: 0.8rem;
}

.performance-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 209, 102, 0.1);
  border: 1px solid rgba(255, 209, 102, 0.25);
  color: var(--accent3);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 8px;
  margin-top: 16px;
}

.green-badge {
  background: rgba(6, 214, 160, 0.1);
  border-color: rgba(6, 214, 160, 0.25);
  color: var(--green);
}

.app-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}

.app-tag {
  background: rgba(108, 99, 255, 0.1);
  border: 1px solid rgba(108, 99, 255, 0.2);
  color: var(--primary-light);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 6px;
  transition: var(--transition);
}

.app-tag:hover {
  background: rgba(108, 99, 255, 0.2);
  border-color: var(--primary);
}

/* =============================================
   FULL WIDTH CARD
   ============================================= */
.full-width-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--card-radius);
  padding: 40px;
  overflow: hidden;
  position: relative;
  transition: var(--transition);
}

.full-width-card:hover {
  border-color: var(--border-hover);
  box-shadow: 0 12px 48px rgba(108, 99, 255, 0.12);
}

.cloudflare-card {
  background: linear-gradient(135deg, rgba(255, 140, 0, 0.06), rgba(108, 99, 255, 0.06));
  border-color: rgba(255, 140, 0, 0.15);
}

.fwc-content {
  display: flex;
  align-items: flex-start;
  gap: 32px;
}

.fwc-text {
  flex: 1;
}

.fwc-text h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
}

.fwc-text p {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 24px;
  line-height: 1.7;
}

.fwc-benefits {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.fwc-benefit {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 8px 16px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: var(--transition);
}

.fwc-benefit:hover {
  border-color: var(--primary);
  color: var(--text);
}

/* =============================================
   GLOBE VISUAL
   ============================================= */
.globe-visual {
  position: relative;
  width: 200px;
  height: 200px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.globe-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(0, 212, 255, 0.2);
  animation: globeSpin 8s linear infinite;
}

.r1 {
  width: 200px;
  height: 200px;
}

.r2 {
  width: 150px;
  height: 150px;
  border-color: rgba(108, 99, 255, 0.2);
  animation-duration: 6s;
  animation-direction: reverse;
}

.r3 {
  width: 100px;
  height: 100px;
  border-color: rgba(6, 214, 160, 0.2);
  animation-duration: 4s;
}

@keyframes globeSpin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

.globe-core {
  font-size: 2.5rem;
  z-index: 1;
}

.globe-dot {
  position: absolute;
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--accent);
  animation: globeSpin 8s linear infinite;
}

.gd1 {
  top: 0;
  left: 50%;
  transform: translateX(-50%);
}

.gd2 {
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  animation-duration: 6s;
}

.gd3 {
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  animation-direction: reverse;
}

.gd4 {
  top: 20%;
  left: 10%;
  background: var(--green);
  box-shadow: 0 0 8px var(--green);
}

.gd5 {
  bottom: 20%;
  right: 10%;
  background: var(--accent3);
  box-shadow: 0 0 8px var(--accent3);
}

/* =============================================
   CDN VISUAL
   ============================================= */
.cdn-visual {
  position: relative;
  width: 200px;
  height: 200px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cdn-globe {
  font-size: 3rem;
  z-index: 1;
  filter: drop-shadow(0 0 20px rgba(255, 140, 0, 0.4));
}

.cdn-node {
  position: absolute;
  background: rgba(255, 140, 0, 0.15);
  border: 1px solid rgba(255, 140, 0, 0.4);
  color: #ffab4f;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 6px;
  animation: cdnPulse 3s ease-in-out infinite;
}

.cn1 {
  top: 5px;
  left: 50%;
  transform: translateX(-50%);
  animation-delay: 0s;
}

.cn2 {
  top: 30%;
  right: 0;
  animation-delay: 0.6s;
}

.cn3 {
  bottom: 30%;
  right: 5px;
  animation-delay: 1.2s;
}

.cn4 {
  bottom: 5px;
  left: 50%;
  transform: translateX(-50%);
  animation-delay: 1.8s;
}

.cn5 {
  top: 30%;
  left: 0;
  animation-delay: 2.4s;
}

@keyframes cdnPulse {

  0%,
  100% {
    opacity: 0.6;
    transform: scale(1);
  }

  50% {
    opacity: 1;
    transform: scale(1.08);
  }
}

/* =============================================
   DEVELOPER SECTION
   ============================================= */
.dev-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}

.dev-feature {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 22px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  transition: var(--transition);
}

.dev-feature:hover {
  border-color: rgba(167, 139, 250, 0.35);
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(108, 99, 255, 0.12);
}

.dev-icon {
  font-size: 1.6rem;
  flex-shrink: 0;
}

.dev-feature h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}

.dev-feature p {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Terminal */
.code-terminal {
  background: #0a0c14;
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.terminal-header {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 14px 20px;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid var(--border);
}

.terminal-title {
  font-size: 0.78rem;
  color: var(--text-dim);
  margin-left: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.terminal-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-family: 'Courier New', monospace;
  font-size: 0.85rem;
}

.t-line {
  display: flex;
  align-items: center;
  gap: 10px;
}

.t-prompt {
  color: #7c3aed;
  font-weight: bold;
  white-space: nowrap;
}

.t-cmd {
  color: #00d4ff;
}

.t-output {
  color: #6b7280;
}

.t-cursor {
  color: var(--green);
  animation: blink 1.2s step-end infinite;
}

@keyframes blink {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0;
  }
}

/* =============================================
   WHY GRID
   ============================================= */
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.why-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 28px 22px;
  text-align: center;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.why-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transform: scaleX(0);
  transition: var(--transition);
}

.why-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(108, 99, 255, 0.12);
}

.why-card:hover::after {
  transform: scaleX(1);
}

.why-icon {
  font-size: 2rem;
  margin-bottom: 14px;
  display: block;
}

.why-card h4 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}

.why-card p {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* =============================================
   FOOTER
   ============================================= */
.footer {
  background: #04050c;
  border-top: 1px solid var(--border);
  padding: 56px 0 32px;
}

.footer-top {
  text-align: center;
  margin-bottom: 28px;
}

.footer .brand {
  justify-content: center;
  margin-bottom: 12px;
}

.footer-tagline {
  font-size: 0.9rem;
  color: var(--text-dim);
}

.footer-badges {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 40px;
}

.fbadge {
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 8px;
}

.footer-bottom {
  text-align: center;
  border-top: 1px solid var(--border);
  padding-top: 24px;
}

.footer-bottom p {
  font-size: 0.82rem;
  color: var(--text-dim);
}

/* =============================================
   ADVANCED SCROLL ANIMATION SYSTEM
   ============================================= */

/* ── Scroll Progress Bar ── */
#scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 0%;
  background: linear-gradient(90deg, var(--primary), var(--accent), var(--green));
  z-index: 9999;
  transition: width 0.1s linear;
  box-shadow: 0 0 12px var(--primary);
}

/* ── Base reveal state (hidden) ── */
.anim-init {
  will-change: opacity, transform;
  transition: opacity 1.0s cubic-bezier(0.16, 1, 0.3, 1),
    transform 1.0s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Fade Up (default) */
.anim-init.anim-fade-up,
.anim-init.anim- {
  opacity: 0;
  transform: translateY(40px);
}

/* Fade Down */
.anim-init.anim-fade-down {
  opacity: 0;
  transform: translateY(-40px);
}

/* Fade Left */
.anim-init.anim-fade-left {
  opacity: 0;
  transform: translateX(60px);
}

/* Fade Right */
.anim-init.anim-fade-right {
  opacity: 0;
  transform: translateX(-60px);
}

/* Zoom In */
.anim-init.anim-zoom-in {
  opacity: 0;
  transform: scale(0.85);
}

/* Zoom Out */
.anim-init.anim-zoom-out {
  opacity: 0;
  transform: scale(1.12);
}

/* Flip Left */
.anim-init.anim-flip-left {
  opacity: 0;
  transform: perspective(600px) rotateY(-25deg);
}

/* Slide Up */
.anim-init.anim-slide-up {
  opacity: 0;
  transform: translateY(22px);
}

/* ── Visible / Animated state ── */
.anim-visible {
  opacity: 1 !important;
  transform: none !important;
}

/* ── Word-by-Word Reveal ── */
.word-reveal {
  display: inline-block;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  margin-right: 0.28em;
}

.word-reveal.word-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Nav Active Link ── */
.nav-links a.nav-active {
  color: var(--primary-light) !important;
  background: rgba(108, 99, 255, 0.08);
}

/* ── Section Badge Entrance ── */
.section-badge {
  transform: translateY(8px);
  opacity: 0;
  transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.section-badge.badge-animate {
  opacity: 1;
  transform: translateY(0);
}

/* ── TSS Item Slide-In ── */
.tss-item {
  transition: background var(--transition), border-color var(--transition),
    opacity 0.45s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  opacity: 0;
  transform: translateX(20px);
}

.tss-item.tss-animate {
  opacity: 1;
  transform: translateX(0);
}

/* ── Providers Grid (Static) ── */
.providers-logos {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  align-items: center;
}

@media (max-width: 992px) {
  .providers-logos {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}

@media (max-width: 480px) {
  .providers-logos {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

.provider-logo {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  transition: var(--transition);
  text-align: center;
}

.provider-logo:hover {
  border-color: var(--primary);
  background: var(--surface-hover);
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.provider-logo span {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
}

/* ── Feature card mouse-glow ── */
.feature-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
      rgba(108, 99, 255, 0.08) 0%,
      transparent 62%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: inherit;
}

.feature-card:hover::after {
  opacity: 1;
}


/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1024px) {
  .cards-3 {
    grid-template-columns: repeat(2, 1fr);
  }

  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .dev-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero {
    flex-direction: column;
    text-align: center;
    padding-top: 140px;
  }

  .hero-content {
    max-width: 100%;
  }

  .hero-subtitle {
    margin: 0 auto 36px;
  }

  .hero-stats {
    justify-content: center;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-visual {
    width: 100%;
  }
}

@media (max-width: 768px) {

  .cards-3,
  .cards-2 {
    grid-template-columns: 1fr;
  }

  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .dev-grid {
    grid-template-columns: 1fr;
  }

  .fwc-content {
    flex-direction: column;
  }

  .globe-visual,
  .cdn-visual {
    display: none;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg2);
    border-bottom: 1px solid var(--border);
    padding: 16px;
    gap: 4px;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-inner .nav-cta {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .nav-inner {
    position: relative;
  }

  .hero-stats {
    gap: 8px;
  }

  .stat-divider {
    display: none;
  }
}

@media (max-width: 480px) {
  .why-grid {
    grid-template-columns: 1fr;
  }

  .hero-title {
    font-size: 2rem;
  }

  .section-title {
    font-size: 1.7rem;
  }

  .features-section {
    padding: 72px 0;
  }

  .full-width-card {
    padding: 24px;
  }
}