/* ===========================
   CSS Variables & Reset
=========================== */
:root {
  --cyan:        #00f5ff;
  --cyan-dim:    #00b4cc;
  --blue:        #0066ff;
  --blue-dark:   #003399;
  --purple:      #9b30ff;
  --purple-dim:  #6a0dad;
  --black:       #020408;
  --dark:        #060d14;
  --dark-card:   rgba(6, 18, 32, 0.85);
  --glass:       rgba(0, 245, 255, 0.05);
  --glass-hover: rgba(0, 245, 255, 0.10);
  --border:      rgba(0, 245, 255, 0.18);
  --border-hover:rgba(0, 245, 255, 0.50);
  --text-main:   #e2f4ff;
  --text-muted:  #7ba8c4;
  --glow-cyan:   0 0 20px rgba(0,245,255,0.45), 0 0 60px rgba(0,245,255,0.15);
  --glow-purple: 0 0 20px rgba(155,48,255,0.45), 0 0 60px rgba(155,48,255,0.15);
  --glow-blue:   0 0 20px rgba(0,102,255,0.45), 0 0 60px rgba(0,102,255,0.15);
  --radius:      16px;
  --transition:  0.35s cubic-bezier(.4,0,.2,1);
}

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

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

body {
  font-family: 'Cairo', 'Poppins', sans-serif;
  background: var(--black);
  color: var(--text-main);
  overflow-x: hidden;
  line-height: 1.7;
}

/* ===========================
   Scrollbar
=========================== */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--dark); }
::-webkit-scrollbar-thumb { background: var(--cyan-dim); border-radius: 8px; }

/* ===========================
   Utility
=========================== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 100px 0; }
.section-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  text-align: center;
  margin-bottom: 16px;
  background: linear-gradient(135deg, var(--cyan), var(--blue), var(--purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.section-subtitle {
  text-align: center;
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 64px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Reveal animation base */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal-left.visible { opacity: 1; transform: translateX(0); }
.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal-right.visible { opacity: 1; transform: translateX(0); }

/* ===========================
   NAVIGATION
=========================== */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 16px 0;
  background: rgba(2, 4, 8, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}
nav.scrolled {
  padding: 10px 0;
  background: rgba(2, 4, 8, 0.95);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--cyan);
  text-decoration: none;
  text-shadow: var(--glow-cyan);
}
.nav-logo i { font-size: 1.5rem; }
.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}
.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  transition: var(--transition);
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0; right: 0;
  height: 2px;
  background: var(--cyan);
  transform: scaleX(0);
  transition: var(--transition);
  border-radius: 2px;
  box-shadow: var(--glow-cyan);
}
.nav-links a:hover,
.nav-links a.active { color: var(--cyan); }
.nav-links a:hover::after,
.nav-links a.active::after { transform: scaleX(1); }

.nav-cta {
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  color: #000 !important;
  padding: 8px 22px;
  border-radius: 50px;
  font-weight: 700 !important;
  font-size: 0.9rem !important;
  transition: var(--transition) !important;
  box-shadow: var(--glow-cyan);
}
.nav-cta:hover { transform: scale(1.05); box-shadow: 0 0 30px rgba(0,245,255,0.6) !important; }
.nav-cta::after { display: none !important; }

.nav-burger {
  display: none;
  background: none;
  border: none;
  color: var(--cyan);
  font-size: 1.5rem;
  cursor: pointer;
}

/* ===========================
   HERO SECTION
=========================== */
#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 80px;
}

/* Cyber Grid Background */
.cyber-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,245,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,245,255,0.04) 1px, transparent 1px);
  background-size: 50px 50px;
  animation: gridMove 20s linear infinite;
}
@keyframes gridMove {
  0%   { transform: translateY(0); }
  100% { transform: translateY(50px); }
}

/* Glow Orbs */
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  animation: orbFloat 8s ease-in-out infinite;
}
.orb-1 {
  width: 400px; height: 400px;
  background: rgba(0,245,255,0.12);
  top: -100px; right: -100px;
  animation-delay: 0s;
}
.orb-2 {
  width: 300px; height: 300px;
  background: rgba(155,48,255,0.12);
  bottom: 0; left: -50px;
  animation-delay: 3s;
}
.orb-3 {
  width: 200px; height: 200px;
  background: rgba(0,102,255,0.10);
  top: 50%; left: 50%;
  animation-delay: 5s;
}
@keyframes orbFloat {
  0%, 100% { transform: translateY(0) scale(1); }
  50%       { transform: translateY(-30px) scale(1.05); }
}

/* Floating particles */
.particles { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.particle {
  position: absolute;
  width: 2px; height: 2px;
  background: var(--cyan);
  border-radius: 50%;
  box-shadow: 0 0 6px var(--cyan);
  animation: particleFloat linear infinite;
}
@keyframes particleFloat {
  0%   { transform: translateY(100vh) translateX(0); opacity: 0; }
  10%  { opacity: 1; }
  90%  { opacity: 1; }
  100% { transform: translateY(-10vh) translateX(30px); opacity: 0; }
}

.hero-content {
  position: relative;
  z-index: 10;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0,245,255,0.08);
  border: 1px solid rgba(0,245,255,0.25);
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 0.85rem;
  color: var(--cyan);
  margin-bottom: 24px;
  animation: badgePulse 3s ease-in-out infinite;
}
@keyframes badgePulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(0,245,255,0.2); }
  50%       { box-shadow: 0 0 0 8px rgba(0,245,255,0); }
}
.hero-badge .dot {
  width: 8px; height: 8px;
  background: var(--cyan);
  border-radius: 50%;
  animation: blink 1.5s infinite;
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.2; }
}

.hero-title {
  font-size: clamp(2rem, 5vw, 3.8rem);
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 24px;
}
.hero-title .line1 { color: var(--text-main); }
.hero-title .line2 {
  background: linear-gradient(135deg, var(--cyan), var(--blue), var(--purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: none;
  display: block;
}

.hero-desc {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 40px;
  max-width: 520px;
}

.hero-btns {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  color: #000;
  font-weight: 700;
  font-size: 1rem;
  border-radius: 50px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: var(--glow-cyan);
}
.btn-primary:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 0 40px rgba(0,245,255,0.7);
}
.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  background: transparent;
  color: var(--cyan);
  font-weight: 700;
  font-size: 1rem;
  border-radius: 50px;
  text-decoration: none;
  border: 1px solid var(--border-hover);
  cursor: pointer;
  transition: var(--transition);
}
.btn-secondary:hover {
  background: rgba(0,245,255,0.08);
  transform: translateY(-3px);
  box-shadow: var(--glow-cyan);
}

/* Hero Visual */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}
.shield-container {
  position: relative;
  width: 320px;
  height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.shield-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid;
  animation: ringRotate linear infinite;
}
.shield-ring:nth-child(1) {
  width: 300px; height: 300px;
  border-color: rgba(0,245,255,0.25);
  animation-duration: 15s;
}
.shield-ring:nth-child(2) {
  width: 240px; height: 240px;
  border-color: rgba(155,48,255,0.25);
  animation-duration: 10s;
  animation-direction: reverse;
}
.shield-ring:nth-child(3) {
  width: 180px; height: 180px;
  border-color: rgba(0,102,255,0.25);
  animation-duration: 7s;
}
@keyframes ringRotate {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
.shield-dot {
  position: absolute;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: var(--glow-cyan);
}
.shield-ring:nth-child(1) .shield-dot { top: -5px; left: 50%; transform: translateX(-50%); }

.shield-icon {
  position: relative;
  z-index: 5;
  width: 140px; height: 140px;
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(20px);
  box-shadow: var(--glow-cyan), inset 0 0 40px rgba(0,245,255,0.05);
}
.shield-icon i { font-size: 4rem; color: var(--cyan); filter: drop-shadow(0 0 16px var(--cyan)); }

.floating-icons {
  position: absolute;
  inset: 0;
}
.fi {
  position: absolute;
  width: 48px; height: 48px;
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(10px);
  font-size: 1.2rem;
  animation: fiFloat 4s ease-in-out infinite;
}
.fi:nth-child(1) { top: 10px; right: 20px; color: var(--cyan); animation-delay: 0s; }
.fi:nth-child(2) { top: 50%; right: -10px; color: var(--purple); animation-delay: 0.8s; }
.fi:nth-child(3) { bottom: 20px; right: 30px; color: var(--blue); animation-delay: 1.6s; }
.fi:nth-child(4) { bottom: 30px; left: 20px; color: var(--cyan); animation-delay: 2.4s; }
.fi:nth-child(5) { top: 50%; left: -10px; color: var(--purple); animation-delay: 0.4s; }
.fi:nth-child(6) { top: 10px; left: 30px; color: var(--blue); animation-delay: 1.2s; }
@keyframes fiFloat {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-12px); }
}

/* ===========================
   COUNTERS SECTION
=========================== */
#counters {
  padding: 60px 0;
  background: linear-gradient(135deg, rgba(0,245,255,0.03), rgba(155,48,255,0.03));
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.counters-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.counter-card {
  text-align: center;
  padding: 32px 24px;
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  backdrop-filter: blur(10px);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.counter-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent, rgba(0,245,255,0.04));
  opacity: 0;
  transition: var(--transition);
}
.counter-card:hover::before { opacity: 1; }
.counter-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-5px);
  box-shadow: var(--glow-cyan);
}
.counter-icon {
  font-size: 2rem;
  margin-bottom: 12px;
}
.counter-card:nth-child(1) .counter-icon { color: var(--cyan); }
.counter-card:nth-child(2) .counter-icon { color: var(--purple); }
.counter-card:nth-child(3) .counter-icon { color: var(--blue); }
.counter-card:nth-child(4) .counter-icon { color: #ffcc00; }

.counter-num {
  font-size: 3rem;
  font-weight: 900;
  line-height: 1;
  margin-bottom: 8px;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.counter-card:nth-child(2) .counter-num {
  background: linear-gradient(135deg, var(--purple), var(--blue));
  -webkit-background-clip: text;
  background-clip: text;
}
.counter-card:nth-child(4) .counter-num {
  background: linear-gradient(135deg, #ffcc00, #ff8800);
  -webkit-background-clip: text;
  background-clip: text;
}
.counter-label { color: var(--text-muted); font-size: 0.95rem; font-weight: 600; }

/* ===========================
   ROADMAP — Cards Grid
=========================== */
#roadmap { background: var(--dark); }

.phases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.phase-card {
  position: relative;
}

.phase-inner {
  background: var(--dark-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  backdrop-filter: blur(16px);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  height: 100%;
}
.phase-inner::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  right: 0; height: 3px;
  background: linear-gradient(90deg, var(--cyan), var(--blue), var(--purple));
}

.phase-number {
  position: absolute;
  top: -20px;
  left: 20px;
  font-size: 5rem;
  font-weight: 900;
  line-height: 1;
  color: rgba(0,245,255,0.06);
  pointer-events: none;
  user-select: none;
  font-family: 'Poppins', sans-serif;
}

.phase-header {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 16px;
}
.phase-icon-wrap {
  width: 52px; height: 52px;
  min-width: 52px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}
.p1  { background: linear-gradient(135deg,rgba(0,245,255,.15),rgba(0,102,255,.15)); color: var(--cyan); }
.p2  { background: linear-gradient(135deg,rgba(155,48,255,.15),rgba(0,245,255,.15)); color: var(--purple); }
.p3  { background: linear-gradient(135deg,rgba(0,102,255,.15),rgba(155,48,255,.15)); color: var(--blue); }
.p4  { background: linear-gradient(135deg,rgba(0,245,255,.15),rgba(155,48,255,.15)); color: var(--cyan); }
.p5  { background: linear-gradient(135deg,rgba(255,100,0,.15),rgba(255,50,100,.15)); color: #ff6464; }
.p6  { background: linear-gradient(135deg,rgba(155,48,255,.15),rgba(0,102,255,.15)); color: var(--purple); }
.p7  { background: linear-gradient(135deg,rgba(0,245,255,.15),rgba(0,255,128,.15)); color: #00ffaa; }
.p8  { background: linear-gradient(135deg,rgba(0,102,255,.15),rgba(0,245,255,.15)); color: var(--blue); }
.p9  { background: linear-gradient(135deg,rgba(255,200,0,.15),rgba(155,48,255,.15)); color: #ffcc00; }

.phase-meta { flex: 1; }
.phase-tag {
  display: inline-block;
  padding: 3px 12px;
  border-radius: 50px;
  font-size: 0.72rem;
  font-weight: 700;
  background: rgba(0,245,255,0.1);
  color: var(--cyan);
  border: 1px solid rgba(0,245,255,0.2);
  margin-bottom: 6px;
}
.phase-name {
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.3;
}
.phase-duration {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 4px;
}
.phase-duration i { color: var(--cyan); font-size: 0.78rem; }

.phase-desc {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.phase-section-title {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--cyan);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}
.phase-skills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 14px;
}
.skill-tag {
  padding: 4px 10px;
  background: rgba(0,245,255,0.06);
  border: 1px solid rgba(0,245,255,0.15);
  border-radius: 6px;
  font-size: 0.78rem;
  color: var(--text-muted);
  transition: var(--transition);
}
.skill-tag:hover {
  background: rgba(0,245,255,0.12);
  border-color: rgba(0,245,255,0.4);
  color: var(--cyan);
}
.phase-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.tool-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  background: rgba(155,48,255,0.08);
  border: 1px solid rgba(155,48,255,0.2);
  border-radius: 6px;
  font-size: 0.78rem;
  color: var(--purple);
  transition: var(--transition);
}
.tool-tag:hover {
  background: rgba(155,48,255,0.15);
  border-color: rgba(155,48,255,0.5);
}
.tool-tag i { font-size: 0.75rem; }

/* ===========================
   TOOLS GRID
=========================== */
#tools { background: var(--black); }
.tools-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}
.tool-card {
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 20px;
  text-align: center;
  transition: var(--transition);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
}
.tool-card::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: var(--transition);
}
.tool-card:hover::before { opacity: 1; }
.tool-card:hover {
  transform: translateY(-8px) scale(1.03);
  border-color: var(--border-hover);
  box-shadow: var(--glow-cyan);
}

/* Individual tool colors */
.tc-linux::before   { background: radial-gradient(circle at center, rgba(255,165,0,0.1), transparent); }
.tc-linux:hover     { border-color: rgba(255,165,0,0.5); box-shadow: 0 0 25px rgba(255,165,0,0.3); }
.tc-nmap::before    { background: radial-gradient(circle at center, rgba(0,245,255,0.08), transparent); }
.tc-wire::before    { background: radial-gradient(circle at center, rgba(0,102,255,0.08), transparent); }
.tc-burp::before    { background: radial-gradient(circle at center, rgba(255,100,0,0.08), transparent); }
.tc-meta::before    { background: radial-gradient(circle at center, rgba(155,48,255,0.08), transparent); }
.tc-python::before  { background: radial-gradient(circle at center, rgba(255,220,0,0.08), transparent); }
.tc-docker::before  { background: radial-gradient(circle at center, rgba(0,140,255,0.08), transparent); }
.tc-github::before  { background: radial-gradient(circle at center, rgba(200,200,200,0.08), transparent); }
.tc-thm::before     { background: radial-gradient(circle at center, rgba(180,20,20,0.08), transparent); }
.tc-htb::before     { background: radial-gradient(circle at center, rgba(0,255,100,0.08), transparent); }

.tool-icon {
  width: 64px; height: 64px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin: 0 auto 16px;
  transition: var(--transition);
}
.tool-card:hover .tool-icon { transform: rotate(-5deg) scale(1.1); }

.ti-linux   { background: rgba(255,165,0,0.12); color: #ffa500; }
.ti-nmap    { background: rgba(0,245,255,0.12); color: var(--cyan); }
.ti-wire    { background: rgba(0,102,255,0.12); color: var(--blue); }
.ti-burp    { background: rgba(255,100,0,0.12); color: #ff6600; }
.ti-meta    { background: rgba(155,48,255,0.12); color: var(--purple); }
.ti-python  { background: rgba(255,220,0,0.12); color: #ffdc00; }
.ti-docker  { background: rgba(0,140,255,0.12); color: #008cff; }
.ti-github  { background: rgba(200,200,200,0.12); color: #ccc; }
.ti-thm     { background: rgba(200,30,30,0.12); color: #ff4444; }
.ti-htb     { background: rgba(0,255,100,0.12); color: #00ff64; }

.tool-name {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-main);
  margin-bottom: 4px;
}
.tool-desc {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* ===========================
   CTA SECTION
=========================== */
#cta {
  padding: 100px 0;
  background: linear-gradient(135deg, rgba(0,245,255,0.04), rgba(155,48,255,0.04));
  border-top: 1px solid var(--border);
  text-align: center;
  position: relative;
  overflow: hidden;
}
#cta .orb { position: absolute; }
.cta-inner {
  position: relative;
  z-index: 5;
}
.cta-badge {
  display: inline-block;
  padding: 6px 20px;
  background: rgba(155,48,255,0.1);
  border: 1px solid rgba(155,48,255,0.3);
  border-radius: 50px;
  color: var(--purple);
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 24px;
}
.cta-title {
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 900;
  margin-bottom: 20px;
}
.cta-desc {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 600px;
  margin: 0 auto 40px;
}
.cta-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ===========================
   FOOTER
=========================== */
footer {
  background: var(--dark);
  border-top: 1px solid var(--border);
  padding: 60px 0 30px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand { }
.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--cyan);
  margin-bottom: 16px;
  text-shadow: var(--glow-cyan);
}
.footer-tagline {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 24px;
  max-width: 300px;
}
.social-links {
  display: flex;
  gap: 12px;
}
.social-link {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: var(--glass);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 1rem;
  transition: var(--transition);
}
.social-link:hover {
  color: var(--cyan);
  border-color: var(--border-hover);
  box-shadow: var(--glow-cyan);
  transform: translateY(-3px);
}

.footer-col h4 {
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 20px;
  font-size: 1rem;
  position: relative;
  padding-bottom: 10px;
}
.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0; right: 0;
  width: 32px; height: 2px;
  background: var(--cyan);
  border-radius: 2px;
}
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 12px; }
.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 8px;
}
.footer-links a:hover { color: var(--cyan); padding-right: 6px; }
.footer-links a i { font-size: 0.75rem; }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-copy {
  color: var(--text-muted);
  font-size: 0.85rem;
}
.footer-motto {
  color: var(--cyan);
  font-size: 0.85rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}
.footer-motto i { color: var(--purple); }

/* ===========================
   MOBILE NAV MENU
=========================== */
.mobile-menu {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(2,4,8,0.97);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  color: var(--text-main);
  text-decoration: none;
  font-size: 1.5rem;
  font-weight: 700;
  transition: var(--transition);
}
.mobile-menu a:hover { color: var(--cyan); }
.mobile-close {
  position: absolute;
  top: 24px; left: 24px;
  background: none; border: none;
  color: var(--cyan); font-size: 2rem;
  cursor: pointer;
}

/* ===========================
   RESPONSIVE
=========================== */
@media (max-width: 1024px) {
  .tools-grid { grid-template-columns: repeat(4, 1fr); }
  .counters-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .hero-content { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { order: -1; }
  .shield-container { width: 240px; height: 240px; }
  .shield-ring:nth-child(1) { width: 220px; height: 220px; }
  .shield-ring:nth-child(2) { width: 170px; height: 170px; }
  .shield-ring:nth-child(3) { width: 130px; height: 130px; }
  .shield-icon { width: 110px; height: 110px; }
  .shield-icon i { font-size: 3rem; }

  .nav-links { display: none; }
  .nav-burger { display: block; }

  /* Timeline mobile: single column */
  .phases-grid { grid-template-columns: repeat(2, 1fr); }

  .tools-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .tools-grid { grid-template-columns: repeat(2, 1fr); }
  .counters-grid { grid-template-columns: repeat(2, 1fr); }
  .phases-grid { grid-template-columns: 1fr; }
  .hero-btns { flex-direction: column; }
  .cta-btns { flex-direction: column; align-items: center; }
}

/* ===========================
   Gradient text helper
=========================== */
.grad-cyan { background: linear-gradient(135deg, var(--cyan), var(--blue)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.grad-purple { background: linear-gradient(135deg, var(--purple), var(--blue)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }

/* Glowing divider */
.glow-divider {
  width: 80px; height: 3px;
  background: linear-gradient(90deg, var(--cyan), var(--blue), var(--purple));
  border-radius: 2px;
  margin: 0 auto 20px;
  box-shadow: 0 0 12px rgba(0,245,255,0.5);
}

/* Back to top */
#backTop {
  position: fixed;
  bottom: 32px; left: 32px;
  width: 44px; height: 44px;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  border: none;
  border-radius: 50%;
  color: #000;
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--glow-cyan);
  opacity: 0;
  transform: translateY(20px);
  transition: var(--transition);
  z-index: 900;
}
#backTop.show { opacity: 1; transform: translateY(0); }
#backTop:hover { transform: translateY(-4px); box-shadow: 0 0 30px rgba(0,245,255,0.7); }

/* Loading screen */
#loader {
  position: fixed;
  inset: 0;
  background: var(--black);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 24px;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}
#loader.hide { opacity: 0; visibility: hidden; }
.loader-icon { font-size: 3rem; color: var(--cyan); animation: loaderSpin 1s linear infinite; filter: drop-shadow(0 0 20px var(--cyan)); }
@keyframes loaderSpin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
.loader-text { color: var(--text-muted); font-size: 0.9rem; letter-spacing: 4px; text-transform: uppercase; }

/* Phase card links */
.phase-card-link { display: block; text-decoration: none; color: inherit; }
.phase-card-link:hover .phase-inner {
  border-color: var(--border-hover);
  transform: translateY(-6px);
  box-shadow: 0 24px 60px rgba(0,0,0,0.5), var(--glow-cyan);
}
