/* ============================================================
   ITRIAD CYBERSECURITY - PREMIUM SYSTEM DESIGN STYLESHEET
   ============================================================ */

/* ===== FONTS ===== */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&family=JetBrains+Mono:wght@400;500;700&family=Inter:wght@300;400;500;600;700&display=swap');

/* ===== VARIABLES ===== */
:root {
  --primary: #00f2fe;
  --primary-glow: rgba(0, 242, 254, 0.35);
  --secondary: #6D5DF6;
  --secondary-glow: rgba(109, 93, 246, 0.25);
  --brand-yellow: #ffa300;
  --brand-yellow-glow: rgba(255, 163, 0, 0.3);
  --brand-blue: #004870;

  --bg-main: #020713;
  --bg-alt: #050d22;
  --bg-card: rgba(10, 20, 42, 0.45);

  --border-color: rgba(0, 242, 254, 0.08);
  --border-light: rgba(255, 255, 255, 0.04);
  --border-glow: rgba(0, 242, 254, 0.25);
  --shadow-main: 0 20px 50px rgba(0, 0, 0, 0.6);
  --shadow-glow: 0 0 30px rgba(0, 242, 254, 0.15);

  --text: #F5F8FC;
  --text-muted: #9fb0c5;
  --text-white: #ffffff;

  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --transition: 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
  --font-sans: 'Outfit', 'Inter', -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --navbar-bg: rgba(2, 7, 19, 0.75);
  --grid-color: rgba(0, 242, 254, 0.01);
  --orb-opacity: 0.12;
}

/* ===== LIGHT THEME ===== */
body.light-theme {
  --bg-main: #f8fafc;
  --bg-alt: #f1f5f9;
  --bg-card: rgba(255, 255, 255, 0.75);

  --border-color: rgba(0, 72, 112, 0.06);
  --border-light: rgba(0, 0, 0, 0.04);
  --border-glow: rgba(109, 93, 246, 0.12);
  --shadow-main: 0 20px 40px rgba(15, 23, 42, 0.06);
  --shadow-glow: 0 0 25px rgba(109, 93, 246, 0.05);

  --text: #334155;
  --text-muted: #64748b;
  --text-white: #0f172a;

  --navbar-bg: rgba(248, 250, 252, 0.8);
  --grid-color: rgba(0, 72, 112, 0.025);
  --orb-opacity: 0.04;
}

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

html {
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: var(--primary) var(--bg-main);
}

body {
  font-family: var(--font-sans);
  background: var(--bg-main);
  color: var(--text);
  line-height: 1.75;
  overflow-x: hidden;
  font-size: 1.05rem;
  letter-spacing: 0.01em;
  transition: background 0.4s ease, color 0.4s ease;
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-main);
}
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--primary), var(--secondary));
  border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--primary);
}

::selection {
  background: var(--primary);
  color: var(--bg-main);
}

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

ul {
  list-style: none;
}

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

/* ===== UTILITY ===== */
.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 2rem;
  width: 100%;
}

.section {
  padding: 6rem 0;
  position: relative;
}

.section-header {
  margin-bottom: 4rem;
  max-width: 700px;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(0, 242, 254, 0.06);
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.4rem 1.2rem;
  border-radius: 50px;
  border: 1px solid rgba(0, 242, 254, 0.15);
  margin-bottom: 1.2rem;
  backdrop-filter: blur(8px);
  font-family: var(--font-mono);
}

.cyan-gradient-text {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

h3 {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.section-sub {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-top: 1rem;
  line-height: 1.7;
}

/* ===== BACKGROUND EFFECTS ===== */
.cyber-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(0, 242, 254, 0.01) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 242, 254, 0.01) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(circle at 50% 50%, black 30%, transparent 90%);
  z-index: -1;
  opacity: 0.8;
}

.cyber-glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: -1;
  opacity: var(--orb-opacity);
}

/* ===== ANIMATIONS ===== */
@keyframes float {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-15px) rotate(1deg);
  }
}

@keyframes neon-pulse {
  0%,
  100% {
    opacity: 0.4;
    transform: scale(1);
  }
  50% {
    opacity: 0.8;
    transform: scale(1.15);
  }
}

@keyframes line-glow {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(100%);
  }
}

@keyframes fade-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes shake {
  0%,
  100% {
    transform: translateX(0);
  }
  20%,
  60% {
    transform: translateX(-8px);
  }
  40%,
  80% {
    transform: translateX(8px);
  }
}

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 0.8rem 0;
  background: var(--navbar-bg);
  backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.02);
  transition: var(--transition);
}

.navbar.scrolled {
  padding: 0.5rem 0;
  background: rgba(2, 7, 19, 0.95);
  border-bottom: 1px solid rgba(0, 242, 254, 0.12);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

body.light-theme .navbar.scrolled {
  background: rgba(248, 250, 252, 0.95);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text-white);
  position: relative;
}

.logo-img {
  height: 38px;
  width: auto;
  filter: drop-shadow(0 0 8px rgba(0, 242, 254, 0.2));
  transition: var(--transition);
}

.logo:hover .logo-img {
  filter: drop-shadow(0 0 15px rgba(0, 242, 254, 0.45)) rotate(5deg);
}

.logo-dot {
  width: 6px;
  height: 6px;
  background: var(--brand-yellow);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--brand-yellow);
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  align-items: center;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: var(--transition);
  text-transform: capitalize;
  letter-spacing: 0.02em;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  transition: var(--transition);
}

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

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

body.light-theme .nav-links a:hover {
  color: var(--text);
}

.nav-cta {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  padding: 0.5rem 1.6rem;
  border-radius: 50px;
  color: var(--bg-main) !important;
  font-weight: 700 !important;
  transition: var(--transition);
  font-size: 0.85rem !important;
  box-shadow: 0 0 20px rgba(0, 242, 254, 0.25);
}

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

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(0, 242, 254, 0.45);
  color: var(--bg-main) !important;
}

body.light-theme .nav-cta {
  color: #ffffff !important;
}

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

.hamburger span {
  width: 28px;
  height: 2px;
  background: var(--text);
  border-radius: 4px;
  transition: var(--transition);
}

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

/* ===== THEME TOGGLE ===== */
.theme-toggle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text);
  font-size: 1.1rem;
  transition: var(--transition);
  margin-left: 1.5rem;
  flex-shrink: 0;
}

.theme-toggle:hover {
  background: rgba(0, 242, 254, 0.08);
  border-color: var(--primary);
  color: var(--primary);
  box-shadow: 0 0 15px rgba(0, 242, 254, 0.15);
  transform: scale(1.05);
}

body.light-theme .theme-toggle {
  background: rgba(0, 0, 0, 0.03);
  border-color: rgba(0, 0, 0, 0.08);
}

body.light-theme .theme-toggle:hover {
  background: rgba(109, 93, 246, 0.08);
  border-color: var(--secondary);
  color: var(--secondary);
  box-shadow: 0 0 15px rgba(109, 93, 246, 0.15);
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.9rem 2.2rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  border: none;
  text-align: center;
  justify-content: center;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: var(--bg-main);
  box-shadow: 0 0 25px rgba(0, 242, 254, 0.2);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 40px rgba(0, 242, 254, 0.4);
}

.btn-outline {
  border: 1.5px solid rgba(255, 255, 255, 0.1);
  color: var(--text-white);
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(8px);
}

.btn-outline:hover {
  border-color: var(--primary);
  background: rgba(0, 242, 254, 0.05);
  color: var(--primary);
  transform: translateY(-3px);
}

.btn-secondary {
  background: linear-gradient(135deg, var(--brand-yellow), #e68500);
  color: var(--bg-main);
  box-shadow: 0 0 25px rgba(255, 163, 0, 0.2);
}

.btn-secondary:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 40px rgba(255, 163, 0, 0.4);
}

body.light-theme .btn-primary {
  color: #ffffff;
}

body.light-theme .btn-secondary {
  color: #ffffff;
  background: linear-gradient(135deg, var(--brand-yellow), #d97706);
}

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

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
  position: relative;
  padding: 8rem 0 4rem;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -10%;
  right: -5%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(0, 242, 254, 0.08), transparent 70%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(0, 242, 254, 0.08);
  border: 1px solid rgba(0, 242, 254, 0.2);
  padding: 0.4rem 1.2rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary);
  margin-bottom: 1.5rem;
  font-family: var(--font-mono);
}

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

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 1.2rem;
}

.hero p {
  font-size: clamp(1rem, 1.2vw, 1.25rem);
  color: var(--text-muted);
  max-width: 580px;
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 1.2rem;
  flex-wrap: wrap;
  margin-bottom: 3.5rem;
}

.hero-stats {
  display: flex;
  gap: 3rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 2rem;
  flex-wrap: wrap;
}

.hero-stat-item {
  display: flex;
  flex-direction: column;
}

.hero-stat-num {
  font-family: var(--font-mono);
  font-size: 2.2rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--text-white), var(--primary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 0.2rem;
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: float 6s ease-in-out infinite;
}

.hero-image-wrapper {
  position: relative;
  width: 100%;
  max-width: 440px;
  aspect-ratio: 1/1;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(0, 242, 254, 0.25);
  padding: 10px;
  background: rgba(10, 20, 42, 0.4);
  backdrop-filter: blur(12px);
  box-shadow:
    0 30px 60px rgba(0, 0, 0, 0.5),
    inset 0 0 30px rgba(0, 242, 254, 0.1);
  overflow: hidden;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: calc(var(--radius-lg) - 10px);
  filter: saturate(1.1) brightness(0.95);
  transition: var(--transition);
}

.hero-image-wrapper:hover .hero-image {
  transform: scale(1.05);
  filter: saturate(1.2) brightness(1.05);
}

.hero-visual::after {
  content: '';
  position: absolute;
  inset: -15px;
  border-radius: calc(var(--radius-lg) + 15px);
  border: 1px dashed rgba(109, 93, 246, 0.25);
  pointer-events: none;
  animation: rotate 60s linear infinite;
}

@keyframes rotate {
  100% {
    transform: rotate(360deg);
  }
}

/* ===== ABOUT ===== */
.about {
  background: var(--bg-alt);
}

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

.about-features {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
}

.about-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: rgba(255, 255, 255, 0.01);
  border: 1px solid rgba(255, 255, 255, 0.03);
  padding: 1rem 1.2rem;
  border-radius: var(--radius-md);
  transition: var(--transition);
}

.about-feature-item:hover {
  background: rgba(0, 242, 254, 0.02);
  border-color: rgba(0, 242, 254, 0.15);
  transform: translateX(8px);
}

.about-feature-item i {
  color: var(--primary);
  font-size: 1.2rem;
  margin-top: 0.2rem;
  flex-shrink: 0;
}

.about-feature-item h4 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.2rem;
}

.about-feature-item p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.about-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.risk-radar-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  width: 100%;
  max-width: 480px;
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow-main);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.risk-radar-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
  animation: line-glow 3s linear infinite;
}

.radar-icon-holder {
  width: 80px;
  height: 80px;
  background: rgba(255, 163, 0, 0.08);
  border: 1px solid rgba(255, 163, 0, 0.25);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  color: var(--brand-yellow);
  font-size: 2rem;
  animation: pulse-glow-yellow 2.5s infinite;
}

@keyframes pulse-glow-yellow {
  0%,
  100% {
    box-shadow: 0 0 15px rgba(255, 163, 0, 0.15);
  }
  50% {
    box-shadow: 0 0 35px rgba(255, 163, 0, 0.35);
  }
}

.risk-radar-card h3 {
  margin-bottom: 0.8rem;
}

.risk-radar-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.risk-stat-badge {
  display: inline-block;
  background: rgba(255, 163, 0, 0.15);
  color: var(--brand-yellow);
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 1rem;
  padding: 0.4rem 1.2rem;
  border-radius: 50px;
  border: 1px dashed var(--brand-yellow);
}

body.light-theme .about-feature-item {
  background: rgba(0, 0, 0, 0.01);
  border-color: rgba(0, 0, 0, 0.03);
}

body.light-theme .risk-radar-card {
  background: rgba(255, 255, 255, 0.8);
  border-color: rgba(0, 0, 0, 0.04);
}

/* ===== SERVICES ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.service-card {
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  box-shadow: var(--shadow-main);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.service-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, transparent, rgba(0, 242, 254, 0.25), rgba(109, 93, 246, 0.25), transparent);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: rgba(0, 242, 254, 0.2);
  box-shadow:
    0 30px 60px rgba(0, 0, 0, 0.6),
    0 0 40px rgba(0, 242, 254, 0.1);
}

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

.service-icon {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 1.5rem;
  display: inline-block;
  transition: var(--transition);
}

.service-card:hover .service-icon {
  transform: scale(1.1) rotate(-5deg);
  text-shadow: 0 0 15px var(--primary-glow);
}

.service-card h3 {
  font-size: 1.4rem;
  margin-bottom: 0.8rem;
}

.service-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.service-list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-top: auto;
}

.service-list li {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.9rem;
  color: var(--text);
  border-bottom: 1px solid rgba(255, 255, 255, 0.02);
  padding-bottom: 0.4rem;
}

.service-list li i {
  color: var(--primary);
  font-size: 0.8rem;
  flex-shrink: 0;
}

body.light-theme .service-card:hover {
  border-color: rgba(109, 93, 246, 0.2);
  box-shadow:
    0 30px 60px rgba(15, 23, 42, 0.08),
    0 0 30px rgba(109, 93, 246, 0.05);
}

/* ===== WHY CHOOSE ===== */
.why-choose {
  background: var(--bg-alt);
}

.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.why-stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.why-stat-card {
  background: var(--bg-main);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.8rem 1.5rem;
  text-align: center;
  transition: var(--transition);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.why-stat-card:hover {
  transform: translateY(-5px);
  border-color: rgba(0, 242, 254, 0.15);
  box-shadow: 0 15px 40px rgba(0, 242, 254, 0.05);
}

.why-stat-card i {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 0.8rem;
}

.why-stat-num {
  font-family: var(--font-mono);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--text-white);
  margin-bottom: 0.2rem;
}

.why-stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.why-features-list {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.why-feature-card {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.why-feature-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: rgba(109, 93, 246, 0.08);
  border: 1px solid rgba(109, 93, 246, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--secondary);
  font-size: 1.2rem;
  flex-shrink: 0;
  transition: var(--transition);
}

.why-feature-card:hover .why-feature-icon {
  background: rgba(0, 242, 254, 0.08);
  border-color: rgba(0, 242, 254, 0.25);
  color: var(--primary);
}

.why-feature-info h4 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.2rem;
}

.why-feature-info p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

body.light-theme .why-stat-card {
  background: #ffffff;
  border-color: rgba(0, 0, 0, 0.05);
}

/* ===== PROCESS ===== */
.timeline {
  position: relative;
  padding: 2rem 0;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--border-light), var(--primary), var(--secondary), var(--border-light));
  transform: translateX(-50%);
}

.timeline-item {
  position: relative;
  margin-bottom: 4rem;
  width: 50%;
  padding-right: 3rem;
}

.timeline-item:nth-child(even) {
  align-self: flex-end;
  margin-left: auto;
  padding-right: 0;
  padding-left: 3rem;
}

.timeline-badge {
  position: absolute;
  right: -20px;
  top: 12px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg-main);
  border: 2px solid var(--primary);
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-weight: 700;
  font-family: var(--font-mono);
  box-shadow: 0 0 15px rgba(0, 242, 254, 0.25);
  transition: var(--transition);
}

.timeline-item:nth-child(even) .timeline-badge {
  right: auto;
  left: -20px;
  border-color: var(--secondary);
  color: var(--secondary);
  box-shadow: 0 0 15px rgba(109, 93, 246, 0.25);
}

.timeline-item.active .timeline-badge {
  background: var(--primary);
  color: var(--bg-main);
  box-shadow: 0 0 25px var(--primary);
}

.timeline-item:nth-child(even).active .timeline-badge {
  background: var(--secondary);
  color: var(--bg-main);
  box-shadow: 0 0 25px var(--secondary);
}

.timeline-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  padding: 1.8rem;
  border-radius: var(--radius-md);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-main);
  transition: var(--transition);
}

.timeline-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 242, 254, 0.2);
}

.timeline-card h4 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.timeline-card h4 i {
  color: var(--primary);
  font-size: 1rem;
}

.timeline-item:nth-child(even) .timeline-card h4 i {
  color: var(--secondary);
}

.timeline-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

body.light-theme .timeline-card {
  background: rgba(255, 255, 255, 0.85);
  border-color: rgba(0, 0, 0, 0.04);
}

/* ===== CERTIFICATION ===== */
.cert-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 4rem;
  align-items: center;
}

.cert-bullets {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 1.8rem;
}

.cert-bullet-item {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.95rem;
  font-weight: 500;
}

.cert-bullet-item i {
  color: var(--brand-yellow);
  font-size: 1rem;
  flex-shrink: 0;
}

.cert-verifier-panel {
  background: var(--bg-main);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.8rem;
  margin-top: 2.5rem;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.cert-verifier-panel h4 {
  margin-bottom: 0.8rem;
  font-size: 1.05rem;
  text-transform: uppercase;
  letter-spacing: 0.05rem;
}

.cert-verifier-input-group {
  display: flex;
  gap: 0.8rem;
}

.cert-verifier-input-group input {
  flex: 1;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.7rem 1rem;
  border-radius: 12px;
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 0.9rem;
  outline: none;
  transition: var(--transition);
  min-width: 0;
}

.cert-verifier-input-group input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 15px rgba(0, 242, 254, 0.1);
}

.cert-verifier-input-group button {
  background: var(--primary);
  border: none;
  color: var(--bg-main);
  font-weight: 700;
  padding: 0 1.2rem;
  border-radius: 12px;
  cursor: pointer;
  font-size: 0.85rem;
  transition: var(--transition);
  white-space: nowrap;
}

.cert-verifier-input-group button:hover {
  background: var(--text-white);
  box-shadow: 0 0 20px var(--primary-glow);
}

.cert-verifier-result {
  margin-top: 1.2rem;
  padding: 1rem;
  border-radius: 12px;
  font-size: 0.9rem;
  display: none;
  animation: fade-in 0.4s ease;
}

.cert-result-success {
  background: rgba(0, 242, 254, 0.05);
  border: 1px solid rgba(0, 242, 254, 0.2);
  color: var(--primary);
}

.cert-result-error {
  background: rgba(230, 0, 50, 0.05);
  border: 1px solid rgba(230, 0, 50, 0.2);
  color: #ff4d6d;
}

.cert-preview-frame {
  background: var(--bg-card);
  padding: 12px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6);
  perspective: 1000px;
  transition: var(--transition);
  transform-style: preserve-3d;
}

.cert-preview-frame:hover {
  transform: scale(1.02);
  border-color: rgba(255, 163, 0, 0.25);
  box-shadow:
    0 40px 80px rgba(0, 0, 0, 0.7),
    0 0 40px rgba(255, 163, 0, 0.08);
}

.cert-image {
  border-radius: calc(var(--radius-md) - 8px);
  width: 100%;
  display: block;
}

body.light-theme .cert-verifier-panel {
  background: #ffffff;
  border-color: rgba(0, 0, 0, 0.06);
}

body.light-theme .cert-verifier-input-group input {
  background: rgba(0, 0, 0, 0.02);
  border: 1px solid rgba(0, 0, 0, 0.08);
  color: #0f172a;
}

/* ===== BENEFITS ===== */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.8rem;
}

.benefit-card {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 2rem 1.5rem;
  transition: var(--transition);
  box-shadow: var(--shadow-main);
  text-align: center;
}

.benefit-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 242, 254, 0.2);
  box-shadow:
    0 25px 50px rgba(0, 0, 0, 0.5),
    0 0 30px rgba(0, 242, 254, 0.06);
}

.benefit-icon {
  width: 56px;
  height: 56px;
  background: rgba(0, 242, 254, 0.06);
  border: 1px solid rgba(0, 242, 254, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.3rem;
  margin: 0 auto 1.2rem;
  transition: var(--transition);
}

.benefit-card:hover .benefit-icon {
  background: var(--primary);
  color: var(--bg-main);
  box-shadow: 0 0 20px var(--primary-glow);
}

.benefit-card h4 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
}

.benefit-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* ===== METHODS ===== */
.methods {
  background: var(--bg-alt);
  text-align: center;
}

.methods-sub {
  color: var(--text-muted);
  margin-top: -2.5rem;
  margin-bottom: 3rem;
  font-size: 1.05rem;
}

.methods-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 1.5rem;
  align-items: center;
}

.method-badge {
  background: var(--bg-main);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 1.2rem 0.8rem;
  font-weight: 700;
  font-family: var(--font-mono);
  color: var(--text-muted);
  transition: var(--transition);
  font-size: 0.9rem;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  text-align: center;
}

.method-badge:hover {
  color: var(--primary);
  border-color: rgba(0, 242, 254, 0.3);
  box-shadow:
    0 12px 30px rgba(0, 0, 0, 0.4),
    0 0 20px rgba(0, 242, 254, 0.08);
  transform: translateY(-4px);
}

/* ===== CTA ===== */
.cta-section {
  padding: 6rem 0;
}

.cta-card {
  background: radial-gradient(circle at top left, rgba(109, 93, 246, 0.15), transparent 60%),
    radial-gradient(circle at bottom right, rgba(0, 242, 254, 0.15), transparent 60%),
    var(--bg-card);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(0, 242, 254, 0.15);
  border-radius: var(--radius-lg);
  padding: 4rem 2rem;
  text-align: center;
  box-shadow:
    var(--shadow-main),
    0 0 50px rgba(0, 242, 254, 0.05);
  position: relative;
  overflow: hidden;
}

.cta-card h2 {
  font-size: clamp(1.8rem, 3.5vw, 3.2rem);
  max-width: 800px;
  margin: 0 auto 1.5rem;
}

.cta-card p {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 2.5rem;
}

body.light-theme .cta-card {
  background: radial-gradient(circle at top left, rgba(109, 93, 246, 0.08), transparent 60%),
    radial-gradient(circle at bottom right, rgba(0, 242, 254, 0.08), transparent 60%),
    rgba(255, 255, 255, 0.8);
  border-color: rgba(109, 93, 246, 0.15);
}

/* ===== CONTACT ===== */
.contact {
  background: var(--bg-alt);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 4rem;
  align-items: start;
}

.contact-info h2 {
  margin-bottom: 1.2rem;
}

.contact-info p {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 2.5rem;
}

.contact-channels {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.contact-channel-item {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.contact-channel-icon {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(0, 242, 254, 0.06);
  border: 1px solid rgba(0, 242, 254, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.1rem;
  flex-shrink: 0;
}

.contact-channel-info h5 {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.contact-channel-info a {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-white);
  transition: var(--transition);
}

.contact-channel-info a:hover {
  color: var(--primary);
}

body.light-theme .contact-channel-info a {
  color: var(--text);
}

body.light-theme .contact-channel-info a:hover {
  color: var(--secondary);
}

.social-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-social {
  height: 48px;
  padding: 0 1.4rem;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-weight: 700;
  font-size: 0.9rem;
  transition: var(--transition);
  cursor: pointer;
}

.btn-social-whatsapp {
  background: rgba(37, 211, 102, 0.08);
  border: 1px solid rgba(37, 211, 102, 0.25);
  color: #25d366;
}

.btn-social-whatsapp:hover {
  background: #25d366;
  color: var(--bg-main);
  box-shadow: 0 0 25px rgba(37, 211, 102, 0.35);
  transform: translateY(-3px);
}

.btn-social-linkedin {
  background: rgba(10, 102, 194, 0.08);
  border: 1px solid rgba(10, 102, 194, 0.25);
  color: #0a66c2;
}

.btn-social-linkedin:hover {
  background: #0a66c2;
  color: var(--text-white);
  box-shadow: 0 0 25px rgba(10, 102, 194, 0.35);
  transform: translateY(-3px);
}

body.light-theme .btn-social-whatsapp {
  background: rgba(37, 211, 102, 0.05);
}

body.light-theme .btn-social-whatsapp:hover {
  color: #ffffff;
}

body.light-theme .btn-social-linkedin {
  background: rgba(10, 102, 194, 0.05);
}

body.light-theme .btn-social-linkedin:hover {
  color: #ffffff;
}

/* ===== CONTACT FORM ===== */
.contact-form {
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  box-shadow: var(--shadow-main);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
  margin-bottom: 1rem;
}

.form-group {
  margin-bottom: 1.2rem;
}

.form-group label {
  display: block;
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 600;
  margin-bottom: 0.4rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  color: var(--text-white);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  outline: none;
  transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--primary);
  box-shadow: 0 0 20px rgba(0, 242, 254, 0.08);
}

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%239fb0c5' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
}

.form-group select option {
  background: var(--bg-main);
  color: var(--text-white);
}

.form-group textarea {
  resize: vertical;
  min-height: 80px;
}

.form-note {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.8rem;
  text-align: center;
  display: block;
}

body.light-theme .form-group input,
body.light-theme .form-group select,
body.light-theme .form-group textarea {
  background: rgba(0, 0, 0, 0.02);
  border: 1px solid rgba(0, 0, 0, 0.08);
  color: #0f172a;
}

body.light-theme .form-group input:focus,
body.light-theme .form-group select:focus,
body.light-theme .form-group textarea:focus {
  background: #ffffff;
  border-color: var(--secondary);
  box-shadow: 0 0 15px rgba(109, 93, 246, 0.08);
}

/* ===== FOOTER ===== */
.footer {
  background: var(--bg-main);
  border-top: 1px solid var(--border-light);
  padding: 4rem 0 2.5rem;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
  padding-bottom: 2.5rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.footer-logo-img {
  height: 36px;
  width: auto;
}

.footer-links {
  display: flex;
  gap: 2.5rem;
  flex-wrap: wrap;
}

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

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

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: var(--text-muted);
  flex-wrap: wrap;
  gap: 1rem;
}

/* ============================================================
   RESPONSIVE DESIGN
   ============================================================ */

/* === Tablets y pantallas medianas === */
@media (max-width: 1024px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    padding-top: 7rem;
    gap: 3rem;
  }

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

  .hero p {
    margin: 0 auto 2rem;
  }

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

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

  .hero-visual {
    order: -1;
  }

  .about-grid,
  .why-grid,
  .cert-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

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

  .methods-grid {
    grid-template-columns: repeat(4, 1fr);
  }

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

/* === Móviles grandes === */
@media (max-width: 768px) {
  .section {
    padding: 4rem 0;
  }

  h2 {
    font-size: 1.8rem;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero-stats {
    gap: 1.5rem;
  }

  .hero-stat-num {
    font-size: 1.8rem;
  }

  .hero-image-wrapper {
    max-width: 320px;
  }

  /* NAVBAR MOBILE */
  .nav-links {
    position: fixed;
    top: 0;
    right: 0;
    width: 280px;
    height: 100vh;
    background: rgba(2, 7, 19, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 4rem 2.5rem;
    gap: 2rem;
    border-left: 1px solid rgba(0, 242, 254, 0.1);
    transform: translateX(100%);
    transition: var(--transition);
  }

  body.light-theme .nav-links {
    background: rgba(248, 250, 252, 0.98);
  }

  .nav-links.open {
    transform: translateX(0);
  }

  .hamburger {
    display: flex;
  }

  .theme-toggle {
    margin-left: 1rem;
  }

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

  .why-stats-grid {
    grid-template-columns: 1fr 1fr;
  }

  /* TIMELINE MOBILE */
  .timeline::before {
    left: 20px;
  }

  .timeline-item {
    width: 100%;
    padding-left: 3rem;
    padding-right: 0;
  }

  .timeline-badge {
    left: 0 !important;
    right: auto !important;
    top: 10px;
    width: 34px;
    height: 34px;
    font-size: 0.8rem;
  }

  .timeline-item:nth-child(even) {
    padding-left: 3rem;
  }

  .timeline-card {
    padding: 1.2rem;
  }

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

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

  .cert-verifier-input-group {
    flex-direction: column;
  }

  .cert-verifier-input-group button {
    padding: 0.8rem;
  }

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

  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .contact-form {
    padding: 1.5rem;
  }

  .methods-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-top {
    flex-direction: column;
    text-align: center;
  }

  .footer-links {
    justify-content: center;
    gap: 1.5rem;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .social-buttons {
    flex-direction: column;
    width: 100%;
  }

  .btn-social {
    justify-content: center;
  }

  .cta-card {
    padding: 2.5rem 1.5rem;
  }

  .cta-card h2 {
    font-size: 1.6rem;
  }

  .btn {
    padding: 0.8rem 1.8rem;
    font-size: 0.9rem;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

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

/* === Móviles pequeños === */
@media (max-width: 480px) {
  .container {
    padding: 0 1.2rem;
  }

  .hero {
    padding-top: 6rem;
  }

  .hero h1 {
    font-size: 1.7rem;
  }

  .hero-stat-num {
    font-size: 1.5rem;
  }

  .hero-stats {
    gap: 1rem;
  }

  .hero-image-wrapper {
    max-width: 260px;
    padding: 6px;
  }

  .why-stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }

  .why-stat-card {
    padding: 1rem;
  }

  .why-stat-num {
    font-size: 1.6rem;
  }

  .methods-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.8rem;
  }

  .method-badge {
    font-size: 0.75rem;
    padding: 0.8rem 0.5rem;
  }

  .cert-verifier-panel {
    padding: 1.2rem;
  }

  .service-card {
    padding: 1.8rem 1.2rem;
  }

  .service-card h3 {
    font-size: 1.2rem;
  }

  .risk-radar-card {
    padding: 1.8rem 1.2rem;
  }

  .radar-icon-holder {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
  }

  .benefit-card {
    padding: 1.5rem 1rem;
  }

  .contact-form {
    padding: 1.2rem;
  }

  .footer-links {
    gap: 1rem;
  }

  .footer-links a {
    font-size: 0.8rem;
  }
}

/* ============================================================
   LIGHT THEME ADDITIONAL OVERRIDES
   ============================================================ */
body.light-theme .navbar {
  background: var(--navbar-bg);
}

body.light-theme .nav-links a {
  color: var(--text-muted);
}

body.light-theme .nav-links a:hover {
  color: var(--text);
}

body.light-theme .hero-stat-num {
  background: linear-gradient(135deg, var(--text), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

body.light-theme .section-tag {
  background: rgba(109, 93, 246, 0.06);
  border-color: rgba(109, 93, 246, 0.15);
  color: var(--secondary);
}

body.light-theme .service-icon {
  color: var(--secondary);
}

body.light-theme .service-list li i {
  color: var(--secondary);
}

body.light-theme .why-stat-card i {
  color: var(--secondary);
}

body.light-theme .why-stat-num {
  color: var(--text);
}

body.light-theme .cert-bullet-item i {
  color: var(--brand-yellow);
}

body.light-theme .benefit-icon {
  color: var(--secondary);
}

body.light-theme .benefit-card:hover .benefit-icon {
  background: var(--secondary);
  color: #ffffff;
}

body.light-theme .contact-channel-icon {
  color: var(--secondary);
  border-color: rgba(109, 93, 246, 0.15);
}
