﻿/* =====================================================
   MasaudSec — Cyber/Matrix Redesign
   Inspired by Felix's design system
   ===================================================== */

:root {
  /* Core Palette */
  --bg-dark: #0a0a0a;
  --bg-darker: #050505;
  --bg-card: rgba(255, 255, 255, 0.03);

  /* Accents */
  --primary: #00d4ff;
  /* Electric Blue   */
  --secondary: #39FF14;
  /* Terminal Green   */
  --accent: #ff0055;
  /* Glitch Red/Pink  */

  /* Text */
  --text-main: #ffffff;
  --text-muted: #ccd6f6;

  /* Gradients */
  --gradient-cyber: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  --gradient-dark: linear-gradient(180deg, rgba(10, 10, 10, .9) 0%, rgba(5, 5, 5, .95) 100%);

  /* Effects */
  --glass: blur(10px);
  --border-glow: 0 0 10px rgba(0, 212, 255, .5);
  --text-glow: 0 0 5px rgba(0, 212, 255, .7);
  --box-shadow: 0 4px 30px rgba(0, 0, 0, .5);

  /* Typography */
  --font-mono: 'Fira Code', 'Roboto Mono', monospace;
  --font-sans: 'Inter', sans-serif;

  --transition: all 0.3s cubic-bezier(.25, .46, .45, .94);
}

/* ── Base ── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-dark);
  color: var(--text-main);
  overflow-x: hidden;
  position: relative;
  line-height: 1.6;
}

/* Grid overlay */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    linear-gradient(rgba(0, 212, 255, .03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 212, 255, .03) 1px, transparent 1px);
  background-size: 30px 30px;
  z-index: -2;
  pointer-events: none;
}

/* Vignette */
body::after {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, transparent 40%, rgba(0, 0, 0, .8) 100%);
  z-index: -1;
  pointer-events: none;
}

/* tsParticles container */
#tsparticles {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -3;
}

/* ── Typography ── */
h1,
h2,
h3,
h4,
h5,
h6,
.navbar-brand,
.badge,
pre,
code {
  font-family: var(--font-mono);
  letter-spacing: -0.5px;
}

h1,
h2,
h3 {
  color: var(--primary);
  text-shadow: 0 0 20px rgba(0, 212, 255, .3);
}

p {
  color: var(--text-muted);
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--secondary);
  text-shadow: 0 0 8px var(--secondary);
}

/* ── Scrollbar ── */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-dark);
}

::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--secondary);
}

/* ── Navbar (Bootstrap override) ── */
.navbar {
  background: rgba(10, 10, 10, .9) !important;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(0, 212, 255, .12);
  padding: .75rem 1rem;
}

.navbar-brand {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: 1px;
  color: var(--primary) !important;
}

.brand-masaud {
  color: var(--primary);
}

.brand-sec {
  color: var(--secondary);
}

.nav-link {
  font-family: var(--font-mono);
  font-size: .88rem;
  color: var(--text-muted) !important;
  transition: var(--transition);
  position: relative;
  padding: .5rem .9rem !important;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: .9rem;
  width: 0;
  height: 2px;
  background: var(--secondary);
  transition: width .3s ease;
}

.nav-link:hover::after {
  width: calc(100% - 1.8rem);
}

.nav-link:hover,
.nav-link.active {
  color: var(--secondary) !important;
  text-shadow: 0 0 8px rgba(57, 255, 20, .5);
}

.navbar-toggler {
  border: 1px solid rgba(0, 212, 255, .3);
  color: var(--primary);
}

.navbar-toggler-icon {
  filter: invert(75%) sepia(100%) saturate(300%) hue-rotate(160deg);
}

.navbar-collapse {
  background: rgba(10, 10, 10, .97);
  border-radius: 0 0 12px 12px;
  border: 1px solid rgba(0, 212, 255, .1);
  border-top: none;
}

/* Dropdown */
.dropdown-menu {
  background: rgba(10, 10, 10, .97) !important;
  border: 1px solid rgba(0, 212, 255, .2) !important;
  border-radius: 8px !important;
  backdrop-filter: blur(12px);
  padding: .4rem 0;
  min-width: 200px;
  animation: fadeInDown .2s ease;
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.dropdown-item {
  font-family: var(--font-mono);
  font-size: .84rem;
  color: var(--text-muted) !important;
  padding: .55rem 1.2rem;
  transition: var(--transition);
}

.dropdown-item:hover {
  background: rgba(0, 212, 255, .08) !important;
  color: var(--secondary) !important;
  padding-left: 1.6rem;
}

/* ── Section basics ── */
.section {
  padding: 80px 0;
  position: relative;
}

.section-alt {
  background: rgba(0, 0, 0, .35);
  backdrop-filter: blur(4px);
}

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-header h2 {
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 800;
  text-shadow: 0 0 30px rgba(0, 212, 255, .4);
  margin-bottom: .8rem;
}

.section-divider {
  width: 60px;
  height: 3px;
  background: var(--gradient-cyber);
  margin: 0 auto 1.2rem;
  border-radius: 2px;
}

.section-lead {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto;
}

/* ── Highlight spans ── */
.hl {
  color: var(--primary);
  font-weight: 700;
}

.hl-g {
  color: var(--secondary);
  font-weight: 700;
}

.hl-r {
  color: var(--accent);
  font-weight: 700;
}

/* ── Hero ── */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 60px;
  position: relative;
  overflow: hidden;
}

/* Glitch text */
.glitch-wrap {
  position: relative;
  display: inline-block;
}

.glitch-wrap[data-text]::before,
.glitch-wrap[data-text]::after {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--bg-dark);
}

.glitch-wrap[data-text]::before {
  left: 2px;
  text-shadow: -2px 0 #ff00c1;
  clip-path: polygon(0 30%, 100% 30%, 100% 50%, 0 50%);
  animation: glitch1 4s infinite linear alternate-reverse;
}

.glitch-wrap[data-text]::after {
  left: -2px;
  text-shadow: -2px 0 #00fff9, 2px 2px #ff00c1;
  clip-path: polygon(0 60%, 100% 60%, 100% 80%, 0 80%);
  animation: glitch2 4s infinite linear alternate-reverse;
}

@keyframes glitch1 {
  0% {
    clip-path: polygon(0 2%, 100% 2%, 100% 5%, 0 5%);
  }

  20% {
    clip-path: polygon(0 15%, 100% 15%, 100% 20%, 0 20%);
  }

  40% {
    clip-path: polygon(0 40%, 100% 40%, 100% 43%, 0 43%);
  }

  60% {
    clip-path: polygon(0 65%, 100% 65%, 100% 70%, 0 70%);
  }

  80% {
    clip-path: polygon(0 80%, 100% 80%, 100% 85%, 0 85%);
  }

  100% {
    clip-path: polygon(0 90%, 100% 90%, 100% 95%, 0 95%);
  }
}

@keyframes glitch2 {
  0% {
    clip-path: polygon(0 50%, 100% 50%, 100% 55%, 0 55%);
  }

  25% {
    clip-path: polygon(0 10%, 100% 10%, 100% 13%, 0 13%);
  }

  50% {
    clip-path: polygon(0 30%, 100% 30%, 100% 35%, 0 35%);
  }

  75% {
    clip-path: polygon(0 70%, 100% 70%, 100% 74%, 0 74%);
  }

  100% {
    clip-path: polygon(0 85%, 100% 85%, 100% 88%, 0 88%);
  }
}

.hero-headline {
  font-size: clamp(2.2rem, 5.5vw, 4rem);
  font-weight: 800;
  line-height: 1.15;
  background: linear-gradient(to right, #fff, var(--primary));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 1.2rem;
}

.hero-headline>span {
  display: block;
}

.hero-headline .cyber-word {
  -webkit-text-fill-color: var(--primary);
}

.hero-headline .accent-word {
  -webkit-text-fill-color: var(--secondary);
}

.hero-lead {
  font-size: 1.1rem;
  color: var(--text-muted);
  border-left: 3px solid var(--secondary);
  padding-left: 1rem;
  margin-bottom: 1.5rem;
}

.typed-badge {
  display: inline-block;
  background: transparent;
  border: 1px solid var(--secondary);
  color: var(--secondary) !important;
  box-shadow: 0 0 12px rgba(57, 255, 20, .2);
  font-family: var(--font-mono);
  font-size: .9rem;
  padding: .45rem 1rem;
  border-radius: 4px;
  margin-bottom: 2rem;
}

.typed-cursor {
  color: var(--secondary);
  font-size: 1.1em;
}

/* Hero terminal widget */
.hero-terminal {
  background: rgba(5, 5, 5, .85);
  border: 1px solid rgba(0, 212, 255, .25);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 0 40px rgba(0, 212, 255, .1);
  font-family: var(--font-mono);
}

.term-bar {
  background: rgba(0, 212, 255, .07);
  border-bottom: 1px solid rgba(0, 212, 255, .15);
  padding: .55rem 1rem;
  display: flex;
  align-items: center;
  gap: .5rem;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.dot-red {
  background: #ff5f56;
}

.dot-yellow {
  background: #ffbd2e;
}

.dot-green {
  background: #27c93f;
}

.term-title {
  font-size: .78rem;
  color: #888;
  margin-left: .5rem;
}

.term-body {
  padding: 1.2rem 1.4rem;
}

.term-line {
  font-size: .88rem;
  color: var(--text-muted);
  margin-bottom: .5rem;
  line-height: 1.6;
}

.term-prompt {
  color: var(--secondary);
  font-weight: 700;
}

.term-cmd {
  color: var(--primary);
}

.term-out {
  color: #aaa;
}

.term-cursor {
  display: inline-block;
  width: 9px;
  height: 15px;
  background: var(--secondary);
  vertical-align: middle;
  animation: blink 1s infinite;
}

@keyframes blink {

  0%,
  100% {
    opacity: 1
  }

  50% {
    opacity: 0
  }
}

/* Hero CTA buttons */
.btn-cyber {
  background: transparent;
  border: 1px solid var(--primary);
  color: var(--primary);
  font-family: var(--font-mono);
  font-size: .88rem;
  text-transform: uppercase;
  padding: .7rem 1.8rem;
  border-radius: 4px;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
  box-shadow: 0 0 10px rgba(0, 212, 255, .15);
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  cursor: pointer;
  text-decoration: none;
}

.btn-cyber::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--primary);
  transition: left .35s;
  z-index: -1;
  opacity: .15;
}

.btn-cyber:hover {
  background: var(--primary);
  color: #000 !important;
  box-shadow: 0 0 25px var(--primary);
  transform: translateY(-2px);
}

.btn-cyber:hover::before {
  left: 0;
  opacity: 1;
}

.btn-cyber-outline {
  background: transparent;
  border: 1px solid var(--secondary);
  color: var(--secondary);
  font-family: var(--font-mono);
  font-size: .88rem;
  text-transform: uppercase;
  padding: .7rem 1.8rem;
  border-radius: 4px;
  transition: var(--transition);
  box-shadow: 0 0 10px rgba(57, 255, 20, .1);
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  cursor: pointer;
  text-decoration: none;
}

.btn-cyber-outline:hover {
  background: var(--secondary);
  color: #000 !important;
  box-shadow: 0 0 25px var(--secondary);
  transform: translateY(-2px);
}

/* floating animation */
@keyframes float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-12px);
  }
}

.floating {
  animation: float 5s ease-in-out infinite;
}

/* scroll indicator */
.scroll-down {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--primary);
  font-size: 1.4rem;
  animation: bounce 2s infinite;
  text-decoration: none;
}

@keyframes bounce {

  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateX(-50%) translateY(0);
  }

  40% {
    transform: translateX(-50%) translateY(-12px);
  }

  60% {
    transform: translateX(-50%) translateY(-6px);
  }
}

/* ── Stats ── */
.stat-card {
  background: linear-gradient(135deg, rgba(0, 212, 255, .05), rgba(57, 255, 20, .05));
  border: 1px solid rgba(255, 255, 255, .07);
  border-radius: 12px;
  padding: 2rem 1rem;
  text-align: center;
  transition: var(--transition);
}

.stat-card:hover {
  border-color: var(--primary);
  box-shadow: 0 0 20px rgba(0, 212, 255, .15);
  transform: translateY(-4px);
}

.stat-number {
  font-family: var(--font-mono);
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--primary);
  text-shadow: 0 0 12px rgba(0, 212, 255, .4);
  display: block;
}

.stat-suffix {
  color: var(--secondary);
}

.stat-label {
  font-size: .85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
}

/* ── Glassmorphism card ── */
.glass-card {
  background: var(--bg-card);
  backdrop-filter: var(--glass);
  -webkit-backdrop-filter: var(--glass);
  border: 1px solid rgba(255, 255, 255, .05);
  border-radius: 12px;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.glass-card:hover {
  border-color: var(--primary);
  box-shadow: 0 0 25px rgba(0, 212, 255, .15), inset 0 0 10px rgba(0, 212, 255, .04);
  transform: translateY(-5px);
}

/* Scan sweep on hover */
.glass-card:hover::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(to bottom, transparent, rgba(0, 212, 255, .08), transparent);
  transform: rotate(45deg);
  animation: scan 1.5s linear infinite;
  pointer-events: none;
}

@keyframes scan {
  0% {
    transform: translateY(-100%) rotate(45deg);
  }

  100% {
    transform: translateY(100%) rotate(45deg);
  }
}

/* ── About section terminal ── */
.about-list {
  list-style: none;
  padding-left: 0;
}

.about-list li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: .5rem;
  color: var(--text-muted);
}

.about-list li::before {
  content: "▹";
  color: var(--secondary);
  font-family: var(--font-mono);
  position: absolute;
  left: 0;
  font-weight: 700;
}

/* Social icons */
.social-icon-btn {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, .15);
  color: var(--text-muted);
  font-size: 1.1rem;
  transition: var(--transition);
  text-decoration: none;
}

.social-icon-btn:hover {
  transform: translateY(-4px) scale(1.1);
  border-color: var(--primary);
  color: var(--primary);
  box-shadow: 0 0 15px rgba(0, 212, 255, .3);
}

/* ── Phases (pentest phases) ── */
.phase-card {
  background: var(--bg-card);
  backdrop-filter: var(--glass);
  border: 1px solid rgba(0, 212, 255, .15);
  border-radius: 12px;
  padding: 1.8rem 1.2rem;
  text-align: center;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.phase-card:hover {
  transform: translateY(-6px);
  border-color: var(--primary);
  box-shadow: 0 0 25px rgba(0, 212, 255, .2);
}

.phase-badge {
  width: 44px;
  height: 44px;
  background: var(--gradient-cyber);
  color: #000;
  font-weight: 800;
  font-family: var(--font-mono);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-size: 1.1rem;
}

.phase-title {
  color: var(--primary);
  font-weight: 700;
  margin-bottom: .5rem;
}

.phase-desc {
  font-size: .87rem;
  color: var(--text-muted);
}

/* ── Service cards ── */
.service-icon-wrap {
  width: 62px;
  height: 62px;
  border-radius: 12px;
  background: rgba(0, 212, 255, .1);
  border: 1px solid var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.4rem;
  box-shadow: 0 0 12px rgba(0, 212, 255, .2);
  transition: var(--transition);
}

.service-icon-wrap i {
  font-size: 1.8rem;
  color: var(--primary);
  transition: var(--transition);
}

.glass-card:hover .service-icon-wrap {
  background: var(--primary);
  box-shadow: 0 0 25px var(--primary);
}

.glass-card:hover .service-icon-wrap i {
  color: #000;
}

/* ── Pricing cards ── */
.pricing-card {
  background: var(--bg-card);
  backdrop-filter: var(--glass);
  border: 1px solid rgba(0, 212, 255, .2);
  border-radius: 14px;
  padding: 2.4rem 2rem;
  text-align: center;
  transition: var(--transition);
}

.pricing-card.featured {
  border-color: var(--secondary);
  box-shadow: 0 0 30px rgba(57, 255, 20, .15);
}

.pricing-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 0 30px rgba(0, 212, 255, .2);
}

.pricing-title {
  font-size: 1.3rem;
  color: var(--primary);
  margin-bottom: .8rem;
}

.pricing-price {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 1.5rem;
}

.pricing-price span {
  font-size: 1rem;
  color: var(--text-muted);
}

.pricing-features {
  list-style: none;
  padding: 0;
  margin-bottom: 2rem;
}

.pricing-features li {
  padding: .6rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, .06);
  color: var(--text-muted);
  font-size: .95rem;
  display: flex;
  align-items: center;
  gap: .6rem;
}

.pricing-features li i {
  color: var(--secondary);
  font-size: .8rem;
}

/* ── Timeline (course modules) ── */
.timeline {
  position: relative;
  padding: 1rem 0;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--primary), var(--secondary));
  transform: translateX(-50%);
}

.tl-item {
  display: flex;
  justify-content: flex-end;
  padding-right: calc(50% + 24px);
  position: relative;
  margin-bottom: 2.5rem;
}

.tl-item.right {
  justify-content: flex-start;
  padding-right: 0;
  padding-left: calc(50% + 24px);
}

.tl-item::after {
  content: '';
  position: absolute;
  top: 20px;
  left: 50%;
  width: 18px;
  height: 18px;
  background: var(--bg-dark);
  border: 3px solid var(--primary);
  border-radius: 50%;
  transform: translateX(-50%);
  z-index: 1;
}

.tl-item.right::after {
  border-color: var(--secondary);
}

.tl-content {
  background: var(--bg-card);
  backdrop-filter: var(--glass);
  border: 1px solid rgba(0, 212, 255, .15);
  border-radius: 10px;
  padding: 1.4rem 1.6rem;
  width: 100%;
  max-width: 480px;
  position: relative;
  transition: var(--transition);
}

.tl-content:hover {
  border-color: var(--primary);
  box-shadow: 0 0 20px rgba(0, 212, 255, .1);
}

.tl-item.right .tl-content {
  border-color: rgba(57, 255, 20, .15);
}

.tl-item.right .tl-content:hover {
  border-color: var(--secondary);
  box-shadow: 0 0 20px rgba(57, 255, 20, .1);
}

.tl-num {
  display: inline-block;
  background: var(--gradient-cyber);
  color: #000;
  font-weight: 800;
  font-size: .75rem;
  padding: .2rem .6rem;
  border-radius: 20px;
  font-family: var(--font-mono);
  margin-bottom: .5rem;
}

.tl-content h3 {
  font-size: 1.05rem;
  color: var(--primary);
  margin-bottom: .7rem;
}

.tl-item.right .tl-content h3 {
  color: var(--secondary);
}

.module-list {
  list-style: none;
  padding: 0;
}

.module-list li {
  font-size: .88rem;
  color: var(--text-muted);
  padding: .25rem 0;
  padding-left: 1.2rem;
  position: relative;
}



/* ── Testimonials ── */
.testimonial-card {
  padding: 1.8rem;
}

.testimonial-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 2px solid var(--primary);
  object-fit: cover;
}

.testimonial-name {
  font-weight: 700;
  color: var(--text-main);
  font-size: .95rem;
}

.stars {
  color: #f59e0b;
  font-size: .85rem;
}

/* ── CTA banner ── */
.cta-section {
  position: relative;
  overflow: hidden;
  padding: 80px 0;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0, 212, 255, .06), rgba(57, 255, 20, .06));
  pointer-events: none;
}

/* ── Footer ── */
footer {
  background: rgba(5, 5, 5, .95);
  border-top: 1px solid rgba(0, 212, 255, .1);
  padding: 70px 0 30px;
  position: relative;
}

.footer-wave {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
}

.footer-wave svg {
  display: block;
  width: calc(100% + 1.3px);
  height: 80px;
}

.footer-wave .shape-fill {
  fill: var(--bg-dark);
}

.footer-brand {
  font-family: var(--font-mono);
  font-size: 1.5rem;
  font-weight: 700;
}

.footer-desc {
  color: #666;
  font-size: .9rem;
  line-height: 1.7;
}

.footer-heading {
  color: var(--primary);
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1.3rem;
  font-family: var(--font-mono);
}

.footer-link {
  color: #666;
  font-size: .9rem;
  display: block;
  margin-bottom: .6rem;
  transition: var(--transition);
  position: relative;
  padding-left: 0;
}

.footer-link::before {
  content: '';
}

.footer-link:hover {
  color: var(--primary);
  padding-left: 6px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: .8rem;
  margin-bottom: .8rem;
  color: #666;
  font-size: .9rem;
}

.footer-contact-item i {
  color: var(--primary);
  margin-top: .2rem;
  flex-shrink: 0;
}

.footer-contact-item a {
  color: #666;
}

.footer-contact-item a:hover {
  color: var(--primary);
}

.footer-divider {
  border-top: 1px solid rgba(255, 255, 255, .06);
  margin-top: 3rem;
  padding-top: 1.5rem;
}

.footer-copy {
  color: #555;
  font-size: .85rem;
}

.footer-legal a {
  color: #555;
  font-size: .85rem;
  margin-left: 1.5rem;
  transition: var(--transition);
}

.footer-legal a:hover {
  color: var(--primary);
}

/* ── Floating WhatsApp / Back-to-top ── */
.float-wa {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  box-shadow: 0 0 20px rgba(37, 211, 102, .4);
  z-index: 9999;
  transition: var(--transition);
  animation: pulse-wa 2s infinite;
  text-decoration: none;
}

.float-wa:hover {
  background: #1ebe57;
  transform: scale(1.12);
  color: #fff;
}

@keyframes pulse-wa {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, .6);
  }

  70% {
    box-shadow: 0 0 0 14px rgba(37, 211, 102, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

#backToTop {
  position: fixed;
  bottom: 6.5rem;
  right: 2.2rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary);
  color: #000;
  border: none;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  box-shadow: 0 0 15px rgba(0, 212, 255, .4);
  z-index: 9999;
  cursor: pointer;
  transition: var(--transition);
}

#backToTop.visible {
  display: flex;
}

#backToTop:hover {
  background: var(--secondary);
  box-shadow: 0 0 20px rgba(57, 255, 20, .5);
}

/* ── Modals ── */
.cyber-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .82);
  backdrop-filter: blur(6px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s;
}

.cyber-modal-backdrop.open {
  opacity: 1;
  visibility: visible;
}

.cyber-modal {
  background: rgba(10, 10, 10, .98);
  border: 1px solid rgba(0, 212, 255, .3);
  border-radius: 14px;
  padding: 2.5rem 2rem;
  max-width: 600px;
  width: 90%;
  position: relative;
  box-shadow: 0 0 50px rgba(0, 212, 255, .15);
  animation: modalIn .3s ease;
}

@keyframes modalIn {
  from {
    transform: scale(.9);
    opacity: 0
  }

  to {
    transform: scale(1);
    opacity: 1
  }
}

.modal-close-btn {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.5rem;
  cursor: pointer;
  transition: var(--transition);
  line-height: 1;
}

.modal-close-btn:hover {
  color: var(--accent);
  transform: rotate(90deg);
}

/* hexagon logo shape */
.hex-logo {
  position: relative;
  width: 50px;
  height: 28.87px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  margin: 14px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #000;
  font-size: 1.2rem;
  filter: drop-shadow(0 0 8px rgba(0, 212, 255, .5));
}

.hex-logo::before,
.hex-logo::after {
  content: "";
  position: absolute;
  width: 0;
  left: 0;
  border-left: 25px solid transparent;
  border-right: 25px solid transparent;
}

.hex-logo::before {
  bottom: 100%;
  border-bottom: 14.43px solid var(--primary);
}

.hex-logo::after {
  top: 100%;
  border-top: 14.43px solid var(--secondary);
}

/* AOS override */
[data-aos] {
  transition-timing-function: cubic-bezier(.25, .46, .45, .94) !important;
}

/* ── Responsive ── */
@media (max-width:991px) {
  .hero-section {
    text-align: center;
    padding: 110px 0 50px;
  }

  .hero-lead {
    border-left: none;
    border-top: 3px solid var(--secondary);
    padding-left: 0;
    padding-top: .6rem;
  }

  .timeline::before {
    left: 12px;
  }

  .tl-item,
  .tl-item.right {
    justify-content: flex-start;
    padding-right: 0;
    padding-left: 36px;
  }

  .tl-item::after,
  .tl-item.right::after {
    left: 12px;
    transform: translateX(-50%);
  }

  .tl-content {
    max-width: 100%;
  }

  .section {
    padding: 60px 0;
  }
}

@media (max-width:575px) {
  .hero-headline {
    font-size: 2rem;
  }

  .stat-number {
    font-size: 2rem;
  }
}