/* ====== VARIÁVEIS / THEME ====== */
:root {
  --bg-color: #080d18;
  --bg-color-alt: #0d1526;
  --primary: #00e5ff;
  --primary-glow: rgba(0, 229, 255, 0.35);
  --primary-dim: rgba(0, 229, 255, 0.08);
  --secondary: #1a5cff;
  --text-light: #e2e8f0;
  --text-muted: #94a3b8;
  --glass-bg: rgba(255, 255, 255, 0.04);
  --glass-bg-hover: rgba(255, 255, 255, 0.07);
  --glass-border: rgba(255, 255, 255, 0.08);
  --glass-border-hover: rgba(0, 229, 255, 0.25);
  --font-main: 'Inter', sans-serif;
  --transition: 0.3s ease-in-out;
  --radius: 16px;
}

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

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

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

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

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

/* ====== UTILITÁRIOS ====== */
.text-neon {
  color: var(--primary);
  text-shadow: 0 0 12px var(--primary-glow);
}

.glass-panel {
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition), background var(--transition);
}

.glass-panel:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.55), 0 0 20px rgba(0, 229, 255, 0.06);
  border-color: var(--glass-border-hover);
  background: var(--glass-bg-hover);
}

/* ====== SCROLL REVEAL ====== */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

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

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* ====== KEYFRAMES ====== */
@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes floatGlow {

  0%,
  100% {
    transform: translateY(0) scale(1);
    opacity: 0.4;
  }

  50% {
    transform: translateY(-25px) scale(1.1);
    opacity: 0.65;
  }
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

@keyframes rotateReverse {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(-360deg);
  }
}

@keyframes pulse {

  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(0, 229, 255, 0.4), 0 0 30px rgba(0, 229, 255, 0.2), inset 0 0 30px rgba(0, 229, 255, 0.08);
  }

  50% {
    box-shadow: 0 0 0 20px rgba(0, 229, 255, 0), 0 0 50px rgba(0, 229, 255, 0.3), inset 0 0 30px rgba(0, 229, 255, 0.12);
  }
}

@keyframes badgeFloat1 {

  0%,
  100% {
    transform: translateY(0px) translateX(0px);
  }

  50% {
    transform: translateY(-8px) translateX(4px);
  }
}

@keyframes badgeFloat2 {

  0%,
  100% {
    transform: translateY(0px) translateX(0px);
  }

  50% {
    transform: translateY(6px) translateX(-5px);
  }
}

@keyframes gridScroll {
  from {
    transform: translateY(0);
  }

  to {
    transform: translateY(60px);
  }
}

@keyframes drawLine {
  from {
    width: 0;
  }

  to {
    width: 60px;
  }
}

@keyframes countUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInRight {
  from {
    transform: translateX(100%);
  }

  to {
    transform: translateX(0);
  }
}

@keyframes slideOutRight {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(100%);
  }
}

@keyframes fadeInOverlay {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.animate-fade-in {
  animation: fadeIn 1s ease-out forwards;
}

.animate-slide-up {
  animation: slideUp 1s ease-out forwards;
  opacity: 0;
}

/* ====== BOTÕES ====== */
.btn-primary {
  display: inline-block;
  padding: 14px 30px;
  background: var(--primary);
  color: #080d18;
  font-weight: 700;
  border-radius: 50px;
  border: 2px solid var(--primary);
  box-shadow: 0 0 20px var(--primary-glow);
  transition: var(--transition);
  cursor: pointer;
  font-size: 0.95rem;
}

.btn-primary:hover {
  background: transparent;
  color: var(--primary);
  box-shadow: 0 0 35px var(--primary-glow);
  transform: translateY(-2px);
}

.btn-outline {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  padding: 14px 30px;
  background: transparent;
  color: var(--text-light);
  font-weight: 600;
  border-radius: 50px;
  border: 2px solid var(--glass-border);
  transition: var(--transition);
  font-size: 0.95rem;
}

.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(0, 229, 255, 0.07);
  transform: translateY(-2px);
}

.btn-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary);
  font-weight: 600;
  font-size: 0.88rem;
  margin-top: 20px;
  padding: 8px 18px;
  border: 1px solid rgba(0, 229, 255, 0.25);
  border-radius: 50px;
  background: rgba(0, 229, 255, 0.05);
  transition: var(--transition);
}

.btn-link:hover {
  background: rgba(0, 229, 255, 0.14);
  border-color: var(--primary);
  box-shadow: 0 0 15px rgba(0, 229, 255, 0.2);
  transform: translateX(3px);
}

button.btn-link {
  font-family: inherit;
  cursor: pointer;
}



/* ====== NAVBAR ====== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 80px;
  display: flex;
  align-items: center;
  z-index: 1000;
  transition: background 0.4s, backdrop-filter 0.4s, box-shadow 0.4s;
}

.navbar.scrolled {
  background: rgba(8, 13, 24, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.logo img {
  max-width: 140px;
  height: auto;
}

.logo-text {
  font-size: 1.8rem;
  font-weight: 800;
  letter-spacing: 2px;
  color: var(--text-light);
}

.nav-menu {
  display: flex;
  gap: 30px;
  align-items: center;
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--text-muted);
  transition: var(--transition);
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  width: 0%;
  height: 2px;
  bottom: -5px;
  left: 0;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  border-radius: 2px;
  transition: width var(--transition);
}

.nav-link:hover::after {
  width: 100%;
}

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

.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 6px;
  z-index: 1001;
}

.menu-toggle .bar {
  width: 25px;
  height: 2px;
  background: #fff;
  transition: var(--transition);
}

/* Mobile menu overlay */
.menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}

.menu-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* ====== HERO ====== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 80px;
  overflow: hidden;
  background: radial-gradient(ellipse at 30% 0%, rgba(26, 92, 255, 0.2) 0%, var(--bg-color) 60%);
}

.hero-grid-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  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;
  z-index: 1;
  animation: gridScroll 8s linear infinite;
  mask-image: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.5) 0%, transparent 75%);
}

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

.hero-content {
  text-align: left;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: rgba(0, 229, 255, 0.08);
  border: 1px solid rgba(0, 229, 255, 0.2);
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 28px;
  letter-spacing: 0.5px;
}

.hero-title {
  font-size: clamp(2.2rem, 4vw, 3.8rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 24px;
}

.hero-title span {
  color: var(--primary);
  text-shadow: 0 0 20px var(--primary-glow);
}

.hero-subtitle {
  font-size: 1.05rem;
  font-weight: 300;
  color: var(--text-muted);
  margin-bottom: 40px;
  line-height: 1.75;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* CYBER SHIELD VISUAL */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

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

.shield-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(0, 229, 255, 0.15);
}

.ring-1 {
  width: 380px;
  height: 380px;
  border-color: rgba(0, 229, 255, 0.07);
  animation: rotate 20s linear infinite;
  border-style: dashed;
}

.ring-2 {
  width: 280px;
  height: 280px;
  border-color: rgba(0, 229, 255, 0.14);
  animation: rotateReverse 15s linear infinite;
}

.ring-3 {
  width: 190px;
  height: 190px;
  border-color: rgba(0, 229, 255, 0.28);
  animation: rotate 10s linear infinite;
}

.shield-core {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 229, 255, 0.14) 0%, rgba(0, 229, 255, 0.02) 100%);
  border: 2px solid rgba(0, 229, 255, 0.4);
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 3.5rem;
  color: var(--primary);
  z-index: 5;
  animation: pulse 3s ease-in-out infinite;
}

.shield-orbit {
  position: absolute;
  border-radius: 50%;
}

.orbit-1 {
  width: 280px;
  height: 280px;
  animation: rotate 15s linear infinite;
}

.orbit-2 {
  width: 380px;
  height: 380px;
  animation: rotateReverse 20s linear infinite;
}

.orbit-dot {
  position: absolute;
  top: -6px;
  left: 50%;
  width: 12px;
  height: 12px;
  background: var(--primary);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--primary-glow), 0 0 20px var(--primary-glow);
  transform: translateX(-50%);
}

.floating-badge {
  position: absolute;
  padding: 8px 14px;
  background: rgba(8, 13, 24, 0.92);
  border: 1px solid rgba(0, 229, 255, 0.22);
  border-radius: 50px;
  font-size: 0.77rem;
  font-weight: 600;
  color: var(--text-light);
  white-space: nowrap;
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  gap: 7px;
  z-index: 10;
}

.floating-badge i {
  color: var(--primary);
}

.badge-1 {
  top: 40px;
  right: -20px;
  animation: badgeFloat1 4s ease-in-out infinite;
}

.badge-2 {
  bottom: 60px;
  right: -30px;
  animation: badgeFloat2 5s ease-in-out infinite;
}

.badge-3 {
  bottom: 20px;
  left: -10px;
  animation: badgeFloat1 3.5s ease-in-out infinite;
  animation-delay: -2s;
}

/* Glow decorativo */
.cyber-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(140px);
  pointer-events: none;
  z-index: 1;
  animation: floatGlow 12s infinite ease-in-out;
}

.glow-1 {
  width: 500px;
  height: 500px;
  background: rgba(26, 92, 255, 0.28);
  top: -100px;
  left: -150px;
}

.glow-2 {
  width: 400px;
  height: 400px;
  background: rgba(0, 229, 255, 0.12);
  bottom: -100px;
  right: -50px;
  animation-delay: -6s;
}

/* ====== SECTION HEADER ====== */
.section-header {
  margin-bottom: 55px;
}

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

.section-header h2 {
  font-size: 2.3rem;
  margin-bottom: 18px;
  font-weight: 800;
  position: relative;
  display: inline-block;
}

.section-header h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  height: 3px;
  width: 0;
  background: linear-gradient(90deg, var(--primary), transparent);
  border-radius: 2px;
  animation: drawLine 1s 0.4s ease-out forwards;
}

.text-center .section-header h2::after,
.text-center.section-header h2::after {
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 600px;
  margin-top: 18px;
}

.text-center p {
  margin: 0 auto;
}

/* ====== SOBRE NÓS ====== */
.about-section {
  padding: 110px 0;
  position: relative;
}

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

.about-content p {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 35px;
  line-height: 1.8;
}

.about-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.about-card {
  padding: 28px;
}

.about-card h4 {
  font-size: 1rem;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
}

.about-card p {
  font-size: 0.9rem;
  margin-bottom: 0;
  color: var(--text-muted);
  line-height: 1.65;
}

/* SLIDER */
.custom-video-player {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(0, 229, 255, 0.1);
  background: #000;
}

.video-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.0);
  transition: opacity 1.5s ease-in-out, transform 8s linear;
}

.video-slide.active {
  opacity: 1;
  transform: scale(1.08);
}

/* ====== ESTATÍSTICAS ====== */
.stats-section {
  padding: 70px 0;
  background: linear-gradient(135deg, rgba(26, 92, 255, 0.07) 0%, rgba(0, 229, 255, 0.04) 100%);
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
  position: relative;
  overflow: hidden;
}

.stats-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
    linear-gradient(rgba(0, 229, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 229, 255, 0.025) 1px, transparent 1px);
  background-size: 40px 40px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  position: relative;
  z-index: 2;
}

.stat-item {
  text-align: center;
  padding: 40px 20px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--glass-border);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.stat-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
  opacity: 0;
  transition: opacity 0.5s;
}

.stat-item:hover::before {
  opacity: 1;
}

.stat-item:hover {
  border-color: rgba(0, 229, 255, 0.2);
  background: rgba(0, 229, 255, 0.05);
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.stat-number-wrapper {
  display: flex;
  justify-content: center;
  align-items: baseline;
  gap: 2px;
  margin-bottom: 10px;
}

.stat-number {
  font-size: 3rem;
  font-weight: 800;
  color: var(--primary);
  text-shadow: 0 0 20px var(--primary-glow);
  line-height: 1;
}

.stat-suffix {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--primary);
  opacity: 0.8;
}

.stat-label {
  font-size: 0.88rem;
  color: var(--text-muted);
  font-weight: 400;
  letter-spacing: 0.3px;
}

/* ====== VÍDEOS ====== */
.videos-section {
  padding: 110px 0;
  background-color: var(--bg-color-alt);
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  margin-top: 20px;
}

.video-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 15px;
}

.video-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  background: #000;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.8);
}

.video-wrapper iframe,
.video-wrapper video {
  width: 100%;
  height: 100%;
  border: none;
  object-fit: cover;
}

.video-info {
  margin-top: 20px;
  padding: 0 10px;
}

.video-info h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  font-weight: 700;
}

.video-info p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* ====== SERVIÇOS ====== */
.services-section {
  padding: 110px 0;
  position: relative;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.service-card {
  padding: 38px 30px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
  opacity: 0;
  transition: opacity 0.4s;
}

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

.card-icon {
  width: 58px;
  height: 58px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(0, 229, 255, 0.12), rgba(26, 92, 255, 0.08));
  border: 1px solid rgba(0, 229, 255, 0.15);
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.6rem;
  color: var(--primary);
  margin-bottom: 22px;
  transition: var(--transition);
  box-shadow: 0 0 15px rgba(0, 229, 255, 0.08);
}

.service-card:hover .card-icon {
  box-shadow: 0 0 28px rgba(0, 229, 255, 0.25);
  transform: scale(1.06);
}

.service-card h3 {
  font-size: 1.2rem;
  margin-bottom: 12px;
  font-weight: 700;
  color: #fff;
}

.service-card p {
  color: var(--text-muted);
  font-size: 0.92rem;
  flex-grow: 1;
  line-height: 1.65;
}

/* CTA Serviços */
.services-cta {
  text-align: center;
  margin-top: 60px;
  padding: 55px 40px;
  background: linear-gradient(135deg, rgba(0, 229, 255, 0.05) 0%, rgba(26, 92, 255, 0.07) 100%);
  border: 1px solid rgba(0, 229, 255, 0.12);
  border-radius: 20px;
  position: relative;
  overflow: hidden;
}

.services-cta::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(0, 229, 255, 0.04) 0%, transparent 60%);
}

.services-cta h3 {
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 12px;
  position: relative;
}

.services-cta p {
  color: var(--text-muted);
  margin-bottom: 30px;
  font-size: 1rem;
  position: relative;
}

.services-cta .btn-primary {
  position: relative;
}

/* ====== FOOTER ====== */
.footer {
  background-color: var(--bg-color-alt);
  padding-top: 80px;
  border-top: 1px solid var(--glass-border);
}

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

.footer-logo-text {
  font-size: 1.8rem;
  color: #fff;
  margin-bottom: 15px;
}

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

.footer h4 {
  margin-bottom: 25px;
  font-size: 1.05rem;
  color: #fff;
  font-weight: 700;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 0.93rem;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--primary);
  padding-left: 5px;
}

.footer-contact p {
  color: var(--text-muted);
  font-size: 0.93rem;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-contact i {
  color: var(--primary);
  width: 15px;
  flex-shrink: 0;
}

.whatsapp-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text-muted);
  font-size: 0.93rem;
  transition: var(--transition);
}

.whatsapp-link:hover {
  color: #25d366;
}

.whatsapp-link i {
  width: 15px;
  flex-shrink: 0;
}

.social-links {
  display: flex;
  gap: 12px;
  margin-top: 25px;
}

.social-links a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--text-muted);
  transition: var(--transition);
}

.social-links a:hover {
  background: var(--primary);
  color: #000;
  box-shadow: 0 0 20px var(--primary-glow);
  border-color: var(--primary);
  transform: translateY(-3px);
}

.footer-bottom {
  text-align: center;
  padding: 25px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.83rem;
  color: #64748b;
}

/* ====== MODAL ====== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.87);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.service-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -45%) scale(0.9);
  width: 90%;
  max-width: 700px;
  max-height: 90vh;
  overflow-y: auto;
  background: rgba(8, 13, 24, 0.98);
  border: 1px solid rgba(0, 229, 255, 0.2);
  box-shadow: 0 0 60px rgba(0, 0, 0, 0.9), inset 0 0 30px rgba(0, 229, 255, 0.03);
  border-radius: 20px;
  z-index: 2001;
  opacity: 0;
  visibility: hidden;
  padding: 45px;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.service-modal.active {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, -50%) scale(1);
}

.close-modal-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--glass-border);
  color: var(--text-muted);
  font-size: 1.3rem;
  cursor: pointer;
  transition: var(--transition);
  padding: 8px 12px;
  border-radius: 10px;
  line-height: 1;
}

.close-modal-btn:hover {
  color: var(--primary);
  border-color: var(--primary);
  background: rgba(0, 229, 255, 0.08);
  transform: rotate(90deg) scale(1.05);
}

.modal-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 25px;
  border-bottom: 1px solid var(--glass-border);
  padding-bottom: 22px;
}

.modal-icon {
  width: 58px;
  height: 58px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(0, 229, 255, 0.12), rgba(26, 92, 255, 0.08));
  border: 1px solid rgba(0, 229, 255, 0.2);
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.7rem;
  color: var(--primary);
  box-shadow: 0 0 20px rgba(0, 229, 255, 0.15);
  flex-shrink: 0;
}

.modal-header h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
}

.modal-body-text p {
  line-height: 1.85;
  color: var(--text-muted);
  font-size: 1rem;
}

/* ====== WHATSAPP BUTTON ====== */
.whatsapp-button {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background-color: #25d366;
  color: #fff;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 2.2rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  z-index: 9999;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
  text-decoration: none;
}

.whatsapp-button:hover {
  background-color: #1ebe57;
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
  color: #fff;
}

@media screen and (max-width: 768px) {
  .whatsapp-button {
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    font-size: 1.8rem;
  }
}

/* ============================================================
   RESPONSIVE BREAKPOINTS
   ============================================================ */

/* ---- TABLET LANDSCAPE (max 1200px) ---- */
@media screen and (max-width: 1200px) {
  .cyber-shield {
    width: 320px;
    height: 320px;
  }

  .ring-1 {
    width: 320px;
    height: 320px;
  }

  .ring-2 {
    width: 240px;
    height: 240px;
  }

  .ring-3 {
    width: 165px;
    height: 165px;
  }

  .orbit-1 {
    width: 240px;
    height: 240px;
  }

  .orbit-2 {
    width: 320px;
    height: 320px;
  }

  .shield-core {
    width: 110px;
    height: 110px;
    font-size: 3rem;
  }

  .hero-content-wrapper {
    gap: 40px;
  }
}

/* ---- TABLET PORTRAIT (max 1024px) ---- */
@media screen and (max-width: 1024px) {
  .hero-content-wrapper {
    gap: 30px;
  }

  .about-grid {
    gap: 40px;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .services-cta {
    padding: 45px 30px;
  }
}

/* ---- MOBILE L / TABLET NARROW (max 900px) ---- */
@media screen and (max-width: 900px) {
  .hero-content-wrapper {
    grid-template-columns: 1fr;
  }

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

  .hero-buttons {
    justify-content: center;
  }

  .hero-badge {
    margin: 0 auto 28px;
  }

  .hero-visual {
    display: none;
  }

  .hero {
    min-height: auto;
    padding: 140px 0 80px;
  }

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

  .about-section {
    padding: 80px 0;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .videos-section {
    padding: 80px 0;
  }

  .services-section {
    padding: 80px 0;
  }

  .footer-content {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

/* ---- MOBILE (max 768px) ---- */
@media screen and (max-width: 768px) {
  .container {
    padding: 0 6%;
  }

  .navbar {
    height: 65px;
  }

  .logo img {
    max-width: 110px;
  }

  .menu-toggle {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: rgba(8, 13, 24, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: flex-start;
    padding: 90px 30px 40px;
    gap: 0;
    align-items: stretch;
    border-left: 1px solid var(--glass-border);
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
    transition: right 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
      box-shadow 0.4s;
  }

  .nav-menu.active {
    right: 0;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
  }

  .nav-menu .nav-link {
    padding: 14px 0;
    font-size: 1rem;
    border-bottom: 1px solid var(--glass-border);
  }

  .nav-menu .nav-link::after {
    bottom: -1px;
  }

  .nav-menu .btn-primary {
    width: 100%;
    text-align: center;
    justify-content: center;
    margin-top: 16px;
  }

  .menu-toggle.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .menu-toggle.active .bar:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 340px;
    margin: 0 auto;
  }

  .btn-primary,
  .btn-outline {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .section-header h2 {
    font-size: 1.8rem;
  }

  .section-header {
    margin-bottom: 40px;
  }

  .section-header p {
    font-size: 0.95rem;
  }

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

  .about-content p {
    font-size: 0.98rem;
    margin-bottom: 25px;
  }

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

  .services-cta {
    padding: 35px 20px;
  }

  .services-cta h3 {
    font-size: 1.4rem;
  }

  .services-cta p {
    font-size: 0.92rem;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .footer {
    padding-top: 60px;
  }

  .footer-brand {
    grid-column: auto;
  }

  .service-modal {
    padding: 30px 20px;
    width: 94%;
  }

  .modal-header {
    gap: 14px;
  }

  .modal-icon {
    width: 48px;
    height: 48px;
    font-size: 1.4rem;
  }

  .modal-header h3 {
    font-size: 1.2rem;
  }

  .close-modal-btn {
    top: 14px;
    right: 14px;
  }
}

/* ---- MOBILE S (max 480px) ---- */
@media screen and (max-width: 480px) {
  .container {
    padding: 0 5%;
  }

  .hero {
    padding: 120px 0 60px;
  }

  .hero-title {
    font-size: 1.75rem;
  }

  .hero-subtitle {
    font-size: 0.92rem;
    margin-bottom: 30px;
  }

  .hero-badge {
    font-size: 0.75rem;
    padding: 6px 14px;
  }

  .about-section {
    padding: 60px 0;
  }

  .about-card {
    padding: 20px;
  }

  .stats-section {
    padding: 50px 0;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .stat-item {
    padding: 25px 12px;
  }

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

  .stat-suffix {
    font-size: 1.2rem;
  }

  .stat-label {
    font-size: 0.78rem;
  }

  .videos-section {
    padding: 60px 0;
  }

  .video-grid {
    gap: 25px;
  }

  .services-section {
    padding: 60px 0;
  }

  .services-cta {
    padding: 30px 16px;
    border-radius: 14px;
  }

  .services-cta h3 {
    font-size: 1.25rem;
  }

  .section-header h2 {
    font-size: 1.5rem;
  }

  .section-header p {
    font-size: 0.88rem;
  }
}

/* ---- MOBILE XS (max 360px) ---- */
@media screen and (max-width: 360px) {
  .navbar {
    height: 56px;
  }

  .logo img {
    max-width: 90px;
  }

  .hero {
    padding: 100px 0 50px;
  }

  .hero-title {
    font-size: 1.5rem;
  }

  .hero-subtitle {
    font-size: 0.85rem;
  }

  .stat-item {
    padding: 20px 8px;
  }

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

  .stat-suffix {
    font-size: 1rem;
  }

  .stat-label {
    font-size: 0.72rem;
  }

  .nav-menu {
    width: 100%;
  }
}