@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;500;600;700;800;900&family=Exo+2:wght@300;400;500;600;700&family=Rajdhani:wght@300;400;500;600;700&display=swap');

:root {
  --primary: #00e5ff;
  --primary-dark: #00b8d4;
  --secondary: #ff3d00;
  --accent: #ffd600;
  --bg-dark: #0a0e17;
  --bg-card: #111827;
  --bg-card-hover: #1a2332;
  --text-primary: #e8eaed;
  --text-secondary: #9aa0a8;
  --gradient-cyber: linear-gradient(135deg, #00e5ff 0%, #7c4dff 50%, #ff3d00 100%);
  --gradient-hot: linear-gradient(135deg, #ff3d00 0%, #ff6d00 50%, #ffd600 100%);
  --gradient-cool: linear-gradient(135deg, #00e5ff 0%, #00b8d4 50%, #7c4dff 100%);
  --glow-cyan: 0 0 20px rgba(0, 229, 255, 0.3);
  --glow-red: 0 0 20px rgba(255, 61, 0, 0.3);
  --border-radius: 12px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Exo 2', sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
}

/* ===== ANIMATED BACKGROUND ===== */
.bg-grid {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-image:
    linear-gradient(rgba(0, 229, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 229, 255, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 0;
}

.bg-orbs {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.bg-orbs .orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.15;
  animation: floatOrb 20s ease-in-out infinite;
}

.bg-orbs .orb:nth-child(1) {
  width: 500px; height: 500px;
  background: var(--primary);
  top: -100px; left: -100px;
  animation-delay: 0s;
}

.bg-orbs .orb:nth-child(2) {
  width: 400px; height: 400px;
  background: var(--secondary);
  bottom: -100px; right: -100px;
  animation-delay: -7s;
}

.bg-orbs .orb:nth-child(3) {
  width: 350px; height: 350px;
  background: #7c4dff;
  top: 50%; left: 50%;
  animation-delay: -14s;
}

@keyframes floatOrb {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(50px, -50px) scale(1.1); }
  66% { transform: translate(-30px, 30px) scale(0.9); }
}

/* ===== NAVIGATION ===== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(10, 14, 23, 0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0, 229, 255, 0.1);
  padding: 0 2rem;
  transition: all 0.3s ease;
}

.navbar.scrolled {
  background: rgba(10, 14, 23, 0.95);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.nav-container {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 70px;
}

.nav-logo {
  font-family: 'Orbitron', sans-serif;
  font-weight: 800;
  font-size: 1.3rem;
  background: var(--gradient-cyber);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-decoration: none;
  letter-spacing: 1px;
}

.nav-logo span {
  color: var(--accent);
  -webkit-text-fill-color: var(--accent);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  list-style: none;
}

.nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  transition: all 0.3s ease;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.nav-links a:hover {
  color: var(--primary);
}

.nav-links a:hover::after {
  width: 60%;
}

.nav-cta {
  background: var(--gradient-hot) !important;
  color: #fff !important;
  padding: 0.6rem 1.4rem !important;
  border-radius: 8px !important;
  font-weight: 700 !important;
  box-shadow: var(--glow-red);
  animation: pulseGlow 2s ease-in-out infinite;
}

.nav-cta::after {
  display: none !important;
}

@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 10px rgba(255, 61, 0, 0.3); }
  50% { box-shadow: 0 0 25px rgba(255, 61, 0, 0.6); }
}

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

.hamburger span {
  width: 28px;
  height: 3px;
  background: var(--primary);
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* ===== HERO SECTION ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 2rem 80px;
  z-index: 1;
}

.hero-content {
  max-width: 900px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 229, 255, 0.1);
  border: 1px solid rgba(0, 229, 255, 0.2);
  padding: 8px 20px;
  border-radius: 50px;
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 2rem;
  animation: fadeInUp 0.8s ease;
}

.hero-badge .dot {
  width: 8px;
  height: 8px;
  background: var(--primary);
  border-radius: 50%;
  animation: blink 1.5s infinite;
}

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

.hero h1 {
  font-family: 'Orbitron', sans-serif;
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  animation: fadeInUp 0.8s ease 0.2s both;
}

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

.hero h1 .accent-text {
  color: var(--accent);
}

.hero-desc {
  font-size: 1.2rem;
  color: var(--text-secondary);
  max-width: 700px;
  margin: 0 auto 2.5rem;
  animation: fadeInUp 0.8s ease 0.4s both;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease 0.6s both;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 10px;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--gradient-hot);
  color: #fff;
  box-shadow: 0 4px 20px rgba(255, 61, 0, 0.3);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(255, 61, 0, 0.5);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-outline:hover {
  background: rgba(0, 229, 255, 0.1);
  transform: translateY(-3px);
  box-shadow: var(--glow-cyan);
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 3rem;
  margin-top: 4rem;
  animation: fadeInUp 0.8s ease 0.8s both;
}

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

.stat-number {
  font-family: 'Orbitron', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
}

.stat-label {
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.85rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 1px;
}

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

/* ===== SECTION STYLES ===== */
.section {
  position: relative;
  z-index: 1;
  padding: 80px 2rem;
}

.section-container {
  max-width: 1400px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-tag {
  display: inline-block;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 1rem;
}

.section-title {
  font-family: 'Orbitron', sans-serif;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 800;
  margin-bottom: 1rem;
}

.section-subtitle {
  color: var(--text-secondary);
  font-size: 1.1rem;
  max-width: 650px;
  margin: 0 auto;
}

/* ===== MAIN CONTENT LAYOUT ===== */
.content-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 3rem;
  max-width: 1400px;
  margin: 0 auto;
}

/* ===== CERTIFICATION CARDS ===== */
.cert-category {
  margin-bottom: 3rem;
}

.cert-category-title {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid rgba(0, 229, 255, 0.2);
  display: flex;
  align-items: center;
  gap: 10px;
}

.cert-category-title .icon {
  font-size: 1.5rem;
}

.cert-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.2rem;
}

.cert-card {
  background: var(--bg-card);
  border: 1px solid rgba(0, 229, 255, 0.08);
  border-radius: var(--border-radius);
  padding: 1.5rem;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.cert-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 3px;
  background: var(--gradient-cyber);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.cert-card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(0, 229, 255, 0.2);
  transform: translateY(-5px);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

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

.cert-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 0.8rem;
}

.cert-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 800;
  flex-shrink: 0;
}

.cert-icon.core { background: rgba(0, 229, 255, 0.15); color: var(--primary); }
.cert-icon.infra { background: rgba(124, 77, 255, 0.15); color: #7c4dff; }
.cert-icon.cyber { background: rgba(255, 61, 0, 0.15); color: var(--secondary); }
.cert-icon.data { background: rgba(0, 200, 83, 0.15); color: #00c853; }
.cert-icon.xpert { background: rgba(255, 214, 0, 0.15); color: var(--accent); }
.cert-icon.expansion { background: rgba(255, 152, 0, 0.15); color: #ff9800; }

.cert-name {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
}

.cert-name a {
  color: var(--text-primary);
  text-decoration: none;
  transition: color 0.3s ease;
}

.cert-name a:hover {
  color: var(--primary);
}

.cert-desc {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.6;
}

.cert-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 3px 10px;
  border-radius: 4px;
  margin-top: 0.8rem;
}

.cert-tag.free {
  background: rgba(0, 200, 83, 0.15);
  color: #00c853;
}

.cert-tag.popular {
  background: rgba(255, 214, 0, 0.15);
  color: var(--accent);
}

/* ===== SIDEBAR ===== */
.sidebar {
  position: sticky;
  top: 90px;
  align-self: start;
}

.sidebar-card {
  background: var(--bg-card);
  border: 1px solid rgba(0, 229, 255, 0.08);
  border-radius: var(--border-radius);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  transition: all 0.3s ease;
}

.sidebar-card:hover {
  border-color: rgba(0, 229, 255, 0.15);
}

.sidebar-card-title {
  font-family: 'Orbitron', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1.2rem;
  color: var(--primary);
}

.cert-badge {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.2rem;
  padding-bottom: 1.2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  align-items: flex-start;
}

.cert-badge:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.cert-badge img {
  width: 80px;
  height: 80px;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.cert-badge img:hover {
  transform: scale(1.05);
}

.cert-badge-info h4 {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 0.3rem;
}

.cert-badge-info h4 a {
  color: var(--text-primary);
  text-decoration: none;
  transition: color 0.3s ease;
}

.cert-badge-info h4 a:hover {
  color: var(--accent);
}

.cert-badge-info p {
  color: var(--text-secondary);
  font-size: 0.82rem;
  line-height: 1.5;
}

/* ===== CTA FUNNEL ===== */
.cta-section {
  position: relative;
  z-index: 1;
  padding: 80px 2rem;
}

.cta-box {
  max-width: 900px;
  margin: 0 auto;
  background: linear-gradient(135deg, rgba(255, 61, 0, 0.1) 0%, rgba(255, 214, 0, 0.05) 100%);
  border: 1px solid rgba(255, 61, 0, 0.2);
  border-radius: 20px;
  padding: 3.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-box::before {
  content: '';
  position: absolute;
  top: -2px; left: -2px; right: -2px; bottom: -2px;
  background: var(--gradient-hot);
  border-radius: 22px;
  z-index: -1;
  opacity: 0.15;
}

.cta-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.cta-title {
  font-family: 'Orbitron', sans-serif;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 800;
  margin-bottom: 1rem;
}

.cta-title .highlight {
  background: var(--gradient-hot);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.cta-desc {
  color: var(--text-secondary);
  font-size: 1.1rem;
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-features {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

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

.cta-feature .check {
  color: #00c853;
  font-weight: 800;
}

/* ===== VPN SECTION ===== */
.vpn-section {
  position: relative;
  z-index: 1;
  padding: 60px 2rem 40px;
}

.vpn-container {
  max-width: 1100px;
  margin: 0 auto;
}

.vpn-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.vpn-card {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--border-radius);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: all 0.4s ease;
  position: relative;
}

.vpn-card:hover {
  transform: translateY(-5px);
  border-color: rgba(0, 229, 255, 0.2);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.vpn-card.featured {
  border-color: rgba(0, 229, 255, 0.3);
  background: linear-gradient(180deg, rgba(0, 229, 255, 0.05) 0%, var(--bg-card) 100%);
}

.vpn-card.featured::before {
  content: '★ RECOMMENDED';
  position: absolute;
  top: -12px; left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: var(--bg-dark);
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 0.7rem;
  letter-spacing: 1.5px;
  padding: 4px 16px;
  border-radius: 20px;
}

.vpn-emoji {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.vpn-name {
  font-family: 'Orbitron', sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.vpn-tagline {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
  min-height: 40px;
}

.vpn-card .btn {
  width: 100%;
  justify-content: center;
  padding: 12px 24px;
  font-size: 0.95rem;
}

/* ===== FOOTER ===== */
.footer {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  margin-top: 2rem;
}

.footer p {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.footer a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

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

/* ===== SCROLL ANIMATIONS ===== */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* ===== MOBILE RESPONSIVE ===== */
@media (max-width: 1024px) {
  .content-layout {
    grid-template-columns: 1fr;
  }
  
  .sidebar {
    position: static;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }
}

@media (max-width: 768px) {
  .navbar {
    padding: 0 1rem;
  }

  .nav-links {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: rgba(10, 14, 23, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 1.5rem;
    gap: 0.5rem;
    border-bottom: 1px solid rgba(0, 229, 255, 0.1);
  }

  .nav-links.active {
    display: flex;
  }

  .hamburger {
    display: flex;
  }

  .hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(6px, 6px); }
  .hamburger.active span:nth-child(2) { opacity: 0; }
  .hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(6px, -6px); }

  .hero-stats {
    gap: 1.5rem;
    flex-wrap: wrap;
  }

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

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

  .vpn-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }

  .cta-box {
    padding: 2rem 1.5rem;
  }

  .cta-features {
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
  }

  .hero {
    padding: 100px 1rem 60px;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.8rem;
  }

  .stat-number {
    font-size: 1.5rem;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

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