/* ==========================================================================
   DESIGN SYSTEM VARIABLE TOKENS (DESIGN.md)
   ========================================================================== */
:root {
  /* Colors */
  --color-background-dark: #0c141c;
  --color-surface-dim: #0c141c;
  --color-surface-bright: #323a42;
  --color-surface-lowest: #070f16;
  --color-surface-low: #141c24;
  --color-surface: #182028;
  --color-surface-high: #232b33;
  --color-surface-highest: #2e363e;
  --color-on-surface: #dbe3ee;
  --color-on-surface-variant: #c3c5d9;
  --color-outline: #8d90a2;
  --color-outline-variant: #434656;
  
  --color-primary: #b6c4ff; /* Light blue accent */
  --color-on-primary: #00277f;
  --color-primary-container: #1e5eff; /* Electric Blue Glow / Energy source */
  --color-on-primary-container: #f0f0ff;
  
  --color-secondary: #c6c6c7;
  --color-on-secondary: #2f3131;
  --color-secondary-container: #454747;
  
  --color-tertiary: #b9c6e8;
  --color-on-tertiary: #23304a;
  
  /* Layout Spacing */
  --spacing-grid-margin: 4rem;
  --spacing-grid-gutter: 1.5rem;
  --spacing-section-gap: 8rem;
  --spacing-element-gap: 1.5rem;
  --spacing-hud-padding: 1rem;
  
  /* Corner Radius */
  --rounded-sm: 0.125rem;
  --rounded-default: 0.25rem;
  --rounded-md: 0.375rem;
  --rounded-lg: 0.5rem;
  --rounded-xl: 0.75rem;
  --rounded-full: 9999px;
  
  /* Specific UI Gradients */
  --glow-electric-blue: rgba(30, 94, 255, 0.3);
  --glow-electric-blue-strong: rgba(30, 94, 255, 0.6);
  --glass-bg: rgba(12, 20, 28, 0.4);
  --glass-bg-hover: rgba(24, 32, 40, 0.65);
  --glass-border: rgba(255, 255, 255, 0.1);
  --glass-border-active: #1e5eff;

  /* Additional text & input theme variables */
  --color-text-bright: #ffffff;
  --input-bg: rgba(255, 255, 255, 0.03);
  --input-border: rgba(255, 255, 255, 0.1);
  --input-placeholder: rgba(255, 255, 255, 0.25);
  --option-bg: rgba(255, 255, 255, 0.03);
  --option-border: rgba(255, 255, 255, 0.08);
  --option-bg-hover: rgba(255, 255, 255, 0.06);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--color-background-dark);
  color: var(--color-on-surface);
  overflow-x: hidden;
  line-height: 1.6;
}

/* Font styles matching hierarchy */
h1, h2, h3, h4, .hero-title, .section-title, .cta-heading {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.hud-tag-text, .hud-stat-label, .hud-stat-number, .hud-section-label, .hud-label-mono, .badge-value, .badge-label, .socials-label {
  font-family: 'JetBrains Mono', monospace;
  font-weight: 500;
}

/* Global Container / Grid Widescreen layout */
main {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 var(--spacing-grid-margin);
  position: relative;
  z-index: 2;
}

/* Background grid overlay */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-size: 40px 40px;
  background-image: 
    linear-gradient(to right, rgba(30, 94, 255, 0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(30, 94, 255, 0.03) 1px, transparent 1px);
  pointer-events: none;
  z-index: 1;
}

/* Decorative Light Leaks */
.holographic-glow {
  position: absolute;
  border-radius: var(--rounded-full);
  filter: blur(140px);
  pointer-events: none;
  opacity: 0.15;
  z-index: 1;
}
.glow-1 {
  top: 10%;
  right: 5%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, var(--color-primary-container) 0%, transparent 80%);
}
.glow-2 {
  top: 40%;
  left: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, #b6c4ff 0%, transparent 70%);
}
.glow-3 {
  bottom: 10%;
  right: 10%;
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, var(--color-primary-container) 0%, transparent 80%);
}

/* ==========================================================================
   REUSABLE HUD COMPONENTS & BUTTONS
   ========================================================================== */

/* Glass Cards System */
.glass-panel {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: var(--rounded-lg);
  padding: 1.5rem;
  position: relative;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

.glass-panel[data-glow]::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: inherit;
  background: radial-gradient(
    250px circle at var(--mouse-x, 0px) var(--mouse-y, 0px),
    rgba(30, 94, 255, 0.15),
    transparent 80%
  );
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
  z-index: 1;
}

.glass-panel:hover {
  background: var(--glass-bg-hover);
  border-color: rgba(255, 255, 255, 0.2);
}

.glass-panel[data-glow]:hover::before {
  opacity: 1;
}

/* Ensure contents display above the hover glow */
.glass-panel > * {
  position: relative;
  z-index: 2;
}

/* HUD Corner Brackets */
.hud-corner-brackets::before,
.hud-corner-brackets::after,
.portfolio-hud-corners::before,
.portfolio-hud-corners::after {
  content: "";
  position: absolute;
  width: 8px;
  height: 8px;
  border: 1.5px solid var(--color-primary);
  pointer-events: none;
}

/* Top-Left Bracket */
.hud-corner-brackets::before,
.portfolio-hud-corners::before {
  top: 6px;
  left: 6px;
  border-right: none;
  border-bottom: none;
}
/* Bottom-Right Bracket */
.hud-corner-brackets::after,
.portfolio-hud-corners::after {
  bottom: 6px;
  right: 6px;
  border-left: none;
  border-top: none;
}

/* White corners for specific designs */
.white-corners::before {
  top: 6px;
  left: 6px;
  border-right: none;
  border-bottom: none;
  border-color: #ffffff !important;
}
.white-corners::after {
  bottom: 6px;
  right: 6px;
  border-left: none;
  border-top: none;
  border-color: #ffffff !important;
}

/* HUD Dot & Accent Label */
.hud-tagline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: var(--spacing-element-gap);
}

.hud-dot {
  width: 6px;
  height: 6px;
  background-color: var(--color-primary-container);
  border-radius: var(--rounded-full);
  box-shadow: 0 0 8px var(--color-primary-container);
  display: inline-block;
  animation: pulse-glow 2s infinite ease-in-out;
}

.hud-tag-text {
  font-size: var(--rounded-xl);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--color-outline);
}

/* HUD Accent Cross */
.hud-accent-cross {
  position: relative;
  width: 14px;
  height: 14px;
  margin-bottom: 0.75rem;
}
.cross-line-h {
  position: absolute;
  top: 6px;
  left: 0;
  width: 14px;
  height: 2px;
  background-color: var(--color-primary-container);
}
.cross-line-v {
  position: absolute;
  top: 0;
  left: 6px;
  width: 2px;
  height: 14px;
  background-color: var(--color-primary-container);
}

/* Primary Dark Button (Hero) */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background-color: transparent;
  color: #ffffff;
  padding: 0.85rem 1.8rem;
  border: 1.5px solid transparent;
  border-radius: var(--rounded-full);
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 500;
  font-size: 15px;
  text-decoration: none;
  transition: all 0.25s ease;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: -150%;
  left: -150%;
  width: 400%;
  height: 400%;
  background: conic-gradient(
    from 0deg,
    transparent 60%,
    #1e5eff 85%,
    #b6c4ff 95%,
    #1e5eff 100%
  );
  animation: spin 4s linear infinite;
  z-index: -2;
  pointer-events: none;
}

.btn-primary::after {
  content: '';
  position: absolute;
  inset: 0px;
  background: #0c141c;
  border-radius: var(--rounded-full);
  z-index: -1;
  pointer-events: none;
  transition: background-color 0.25s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 25px rgba(30, 94, 255, 0.45);
}

.btn-primary:hover::after {
  background: #111e2b;
}

/* Secondary Button (Hero Play Button) */
.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: transparent;
  color: #0c141c;
  padding: 0.85rem 1.5rem;
  border: 1px solid rgba(12, 20, 28, 0.2);
  border-radius: var(--rounded-full);
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 500;
  font-size: 15px;
  text-decoration: none;
  transition: all 0.25s ease;
  cursor: pointer;
}
.btn-secondary:hover {
  border-color: #1e5eff;
  color: #1e5eff;
  transform: translateY(-2px);
}
.play-icon-container {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border: 1px solid currentColor;
  border-radius: var(--rounded-full);
  padding-left: 2px;
  transition: all 0.25s ease;
}
.btn-secondary:hover .play-icon-container {
  background-color: rgba(30, 94, 255, 0.1);
}

/* Outline Glow Button */
.btn-outline-glow {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: transparent;
  color: #ffffff;
  padding: 0.75rem 1.6rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--rounded-full);
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 500;
  font-size: 14px;
  text-decoration: none;
  transition: all 0.25s ease;
  cursor: pointer;
}
.btn-outline-glow:hover {
  border-color: #1e5eff;
  box-shadow: 0 0 15px rgba(30, 94, 255, 0.25);
  transform: translateY(-2px);
}

/* Primary Glow Button (CTA / Navbar) */
.btn-primary-glow {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--color-primary-container);
  color: #ffffff;
  padding: 0.75rem 1.6rem;
  border: 1px solid var(--color-primary-container);
  border-radius: var(--rounded-full);
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 500;
  font-size: 14px;
  text-decoration: none;
  transition: all 0.25s ease;
  cursor: pointer;
  box-shadow: 0 0 15px rgba(30, 94, 255, 0.35);
}
.btn-primary-glow:hover {
  background-color: #164dd6;
  border-color: #164dd6;
  box-shadow: 0 0 25px rgba(30, 94, 255, 0.6);
  transform: translateY(-2px);
}

.arrow-icon {
  transition: transform 0.25s ease;
}
a:hover > .arrow-icon,
button:hover > .arrow-icon {
  transform: translateX(3px);
}

/* ==========================================================================
   HEADER & NAVIGATION BAR
   ========================================================================== */
.header {
  position: fixed;
  top: 1.5rem;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  padding: 0 var(--spacing-grid-margin);
  z-index: 1000;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: var(--rounded-full);
  padding: 0.35rem 0.5rem 0.35rem 1.5rem;
  height: 54px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  width: auto;
  max-width: 100%;
  gap: 2.5rem;
  pointer-events: auto;
  margin: 0 auto;
}

.nav-logo {
  display: inline-flex;
  align-items: center;
  background: transparent;
  border: none;
  padding: 0;
  height: auto;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  transition: opacity 0.25s ease;
}

.nav-logo:hover {
  opacity: 0.85;
}

.nav-logo .logo-img {
  height: 26px;
  width: auto;
  object-fit: contain;
  display: block;
}

/* Navigation Capsule Menu */
.nav-capsule {
  display: flex;
  gap: 1.75rem;
  background: transparent;
  border: none;
  padding: 0;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.nav-link {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #1a2530;
  text-decoration: none;
  transition: color 0.2s ease;
}
.nav-link:hover {
  color: #1e5eff;
}
.nav-link.active {
  color: #1e5eff;
  font-weight: 600;
  position: relative;
}
.nav-link.active::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background-color: #00f0ff;
  box-shadow: 0 0 6px #00f0ff, 0 0 12px #00f0ff;
  animation: led-pulse 1s infinite alternate ease-in-out;
}

@keyframes led-pulse {
  0% {
    opacity: 0.35;
    box-shadow: 0 0 2px rgba(0, 240, 255, 0.4);
  }
  100% {
    opacity: 1;
    box-shadow: 0 0 8px rgba(0, 240, 255, 1), 0 0 15px rgba(0, 240, 255, 0.6);
  }
}

/* Contact Button in Header */
.btn-contact-nav {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #1e5eff;
  border: 1px solid #1e5eff;
  border-radius: var(--rounded-full);
  padding: 0.6rem 1.3rem;
  color: #ffffff;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 500;
  font-size: 14px;
  text-decoration: none;
  transition: all 0.25s ease;
  height: 38px;
}
.btn-contact-nav:hover {
  background: #164dd6;
  border-color: #164dd6;
  box-shadow: 0 0 15px rgba(30, 94, 255, 0.4);
  transform: translateY(-1px);
}

/* ==========================================================================
   HERO SECTION (Light theme transition to Dark)
   ========================================================================== */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 7rem;
  padding-bottom: 5rem;
  /* Use BANNER SLIDE.jpg as background */
  background-image: url('assets/banner_slide.jpg');
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
  margin: 0 calc(-1 * var(--spacing-grid-margin));
  padding-left: var(--spacing-grid-margin);
  padding-right: var(--spacing-grid-margin);
  overflow: hidden;
  border-bottom-left-radius: 48px;
  border-bottom-right-radius: 48px;
}

.hero-video-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  pointer-events: none;
}

.hero-video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  background: transparent;
}

/* grid overlay for hero - disabled since banner_slide.jpg already contains it */
.hero-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  display: none;
}

.hero-content {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

/* Left Column Info */
.hero-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-title {
  font-size: 72px; /* display-lg */
  line-height: 1.05;
  letter-spacing: -0.04em;
  color: #0c141c; /* Sharp black text */
  margin-bottom: var(--spacing-element-gap);
  text-transform: uppercase;
  display: inline-block;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), text-shadow 0.5s ease;
}

.hero-title:hover {
  transform: translateY(-4px) scale(1.01);
  text-shadow: 0 10px 25px rgba(30, 94, 255, 0.15);
}

/* Glitch and Blur Effect for 'DI' and 'TAN' */
.glitch-span {
  display: inline-block;
  position: relative;
  transition: color 0.3s ease, filter 0.3s ease;
}

.hero-title:hover .glitch-span,
.glitch-span:hover {
  color: #1e5eff; /* Futuristic blue */
  animation: glitch-skew 0.3s infinite linear alternate-reverse, glitch-blur 0.2s infinite alternate;
}

@keyframes glitch-skew {
  0% {
    transform: skew(0deg) translate(0);
    text-shadow: -2px 0 0 #ff00c1, 2px 0 0 #00fff0;
  }
  20% {
    transform: skew(-2deg) translate(-1px, 1px);
    text-shadow: 2px -1px 0 #ff00c1, -2px 1px 0 #00fff0;
  }
  40% {
    transform: skew(3deg) translate(1px, -1px);
    text-shadow: -1px 2px 0 #ff00c1, 1px -2px 0 #00fff0;
  }
  60% {
    transform: skew(-1deg) translate(-1px, -1px);
    text-shadow: 2px 1px 0 #ff00c1, -1px -1px 0 #00fff0;
  }
  80% {
    transform: skew(2deg) translate(1px, 1px);
    text-shadow: -2px -2px 0 #ff00c1, 2px 2px 0 #00fff0;
  }
  100% {
    transform: skew(0deg) translate(0);
    text-shadow: -1px 0 0 #ff00c1, 1px 0 0 #00fff0;
  }
}

@keyframes glitch-blur {
  0% {
    filter: blur(0px);
  }
  30% {
    filter: blur(1px);
  }
  65% {
    filter: blur(0.5px);
  }
  100% {
    filter: blur(1.5px);
  }
}

.hero-description {
  font-family: 'Inter', sans-serif;
  font-size: 18px; /* body-lg */
  line-height: 1.6;
  color: #293847; /* Dark slate */
  max-width: 500px;
  margin-bottom: 2.5rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
}

/* Right Column Silhouette overlay */
.hero-graphic-container {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.hero-silhouette-wrapper {
  position: relative;
  width: 100%;
  max-width: 480px;
  aspect-ratio: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-silhouette {
  width: 100%;
  height: auto;
  object-fit: cover;
  mask-image: linear-gradient(to bottom, black 85%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, black 85%, transparent 100%);
}

/* Floating HUD Stats aligned horizontally at the bottom right */
.hud-stats-group {
  position: absolute;
  bottom: 0;
  right: -2rem;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 1.25rem;
  z-index: 10;
}

.hud-stat-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: var(--rounded-md);
  padding: 0.8rem 1.2rem;
  min-width: 180px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.03);
  position: relative;
}

/* Border brackets customization for stats */
.border-brackets::before,
.border-brackets::after {
  content: "";
  position: absolute;
  width: 6px;
  height: 6px;
  border: 1px solid #1e5eff;
}
.border-brackets::before {
  top: 4px;
  left: 4px;
  border-right: none;
  border-bottom: none;
}
.border-brackets::after {
  bottom: 4px;
  right: 4px;
  border-left: none;
  border-top: none;
}

.hud-stat-icon {
  color: #1e5eff;
  filter: drop-shadow(0 0 4px rgba(30, 94, 255, 0.3));
}

.hud-stat-details {
  display: flex;
  flex-direction: column;
}

.hud-stat-number {
  font-size: 20px;
  font-weight: 700;
  color: #0c141c;
  line-height: 1.2;
}

.hud-stat-label {
  font-size: 9px;
  color: #5a6b7c;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

/* ==========================================================================
   HERO VERTICAL SERVICES TICKER (Cascada de palabras con IA)
   ========================================================================== */
.hero-ticker-container {
  position: relative;
  width: 100%;
  max-width: 500px;
  background: none;
  border: none;
  box-shadow: none;
  overflow: hidden;
  z-index: 5;
}

/* Viewport for Vertical Scroll con Altura Ajustada a 300px (5 * 60px) */
.ticker-view-viewport {
  position: relative;
  height: 300px;
  overflow: hidden;
  mask-image: linear-gradient(to bottom, transparent 0%, black 20%, black 80%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 20%, black 80%, transparent 100%);
}

.ticker-list-wrapper {
  display: flex;
  flex-direction: column;
  transform: translateY(0);
}

/* Elementos del Ticker con Texto Más Grande */
.ticker-item {
  height: 60px; /* Aumentado de 50px */
  display: flex;
  align-items: center;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.35rem; /* Aumentado */
  color: var(--color-on-surface-variant);
  opacity: 0.2;
  transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
  white-space: nowrap;
  padding: 0 0.25rem;
}

/* Play Icon Slide-in & Pulse */
.ticker-play-icon-container {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 0px;
  overflow: hidden;
  opacity: 0;
  transition: width 0.4s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.4s ease;
  color: #ff00c1; /* Magenta neón */
  filter: drop-shadow(0 0 8px rgba(255, 0, 193, 0.7));
}

.ticker-play-icon {
  margin-right: 0.75rem;
  animation: play-pulse-glow 2s infinite ease-in-out;
}

/* Estados Activos con Texto Aún Más Grande */
.ticker-item.active {
  color: var(--color-text-bright);
  font-weight: 700;
  opacity: 1;
  font-size: 1.75rem; /* Aumentado significativamente */
  text-shadow: 0 0 20px rgba(30, 94, 255, 0.4);
}

.ticker-item.active .ticker-play-icon-container {
  width: 30px; /* Un poco más ancho por la tipografía grande */
  opacity: 1;
}

.ticker-item.adjacent {
  opacity: 0.6;
  font-size: 1.5rem; /* Aumentado */
}

/* Active play button pulse animation */
@keyframes play-pulse-glow {
  0%, 100% { transform: scale(1); filter: drop-shadow(0 0 8px rgba(255, 0, 193, 0.7)); }
  50% { transform: scale(1.15); filter: drop-shadow(0 0 12px rgba(255, 0, 193, 1)); }
}


/* ==========================================================================
   SERVICES SECTION (Dark theme - ¿QUÉ PUEDO HACER POR TU MARCA?)
   ========================================================================== */
.services-section {
  position: relative;
  padding: var(--spacing-section-gap) 0;
  z-index: 2;
}

.section-decor-line {
  position: absolute;
  top: 0;
  left: 0;
  width: 100px;
  height: 1px;
  background-color: var(--color-primary-container);
}

.services-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: flex-end;
  margin-bottom: 4rem;
}

.section-title {
  font-size: 48px; /* headline-xl */
  line-height: 1.15;
  color: var(--color-text-bright, #ffffff);
  text-transform: uppercase;
}

.services-desc-area {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.5rem;
  padding-left: 2rem;
}

.section-subtitle {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  color: var(--color-on-surface-variant);
  max-width: 480px;
}

/* Services Cards Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--spacing-grid-gutter);
  margin-bottom: 4rem;
}

.service-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 1rem;
  padding: 2rem 1.5rem;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 0 20px rgba(30, 94, 255, 0.15);
  border-color: rgba(30, 94, 255, 0.4);
}

.service-icon-wrapper {
  color: var(--color-primary-container);
  filter: drop-shadow(0 0 8px rgba(30, 94, 255, 0.4));
  margin-bottom: 0.5rem;
  transition: transform 0.3s ease;
}
.service-card:hover .service-icon-wrapper {
  transform: scale(1.1);
}

.service-card-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--color-text-bright, #ffffff);
  margin-bottom: 0.25rem;
  font-family: 'Space Grotesk', sans-serif;
}

.service-card-desc {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: var(--color-on-surface-variant);
  line-height: 1.5;
}

/* Tech Ribbon Title and Container */
.tech-title-container {
  text-align: center;
  margin-top: 4rem;
  margin-bottom: 2rem;
}

.tech-ribbon-title {
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.15em;
  color: var(--color-outline);
  text-transform: uppercase;
  display: inline-block;
  position: relative;
  padding: 0 1rem;
}

.tech-ribbon-title::before,
.tech-ribbon-title::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 8px;
  height: 12px;
  border: 1px solid var(--color-primary-container);
  transform: translateY(-50%);
}

.tech-ribbon-title::before {
  left: -8px;
  border-right: none;
}

.tech-ribbon-title::after {
  right: -8px;
  border-left: none;
}

/* Tech Ribbon */
.tech-ribbon-container {
  width: 100%;
  border-top: 1px solid var(--color-outline-variant);
  border-bottom: 1px solid var(--color-outline-variant);
  padding: 1.5rem 0;
  display: flex;
  justify-content: center;
}

.tech-ribbon {
  display: flex;
  justify-content: space-around;
  width: 100%;
  max-width: 1000px;
}

.tech-icon-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--color-outline);
  opacity: 0.6;
  transition: all 0.25s ease;
  cursor: default;
}
.tech-icon-item:hover {
  color: var(--color-primary);
  opacity: 1;
  transform: scale(1.15);
  filter: drop-shadow(0 0 5px rgba(182, 196, 255, 0.4));
}

.tech-icon-name {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: currentColor;
}

/* ==========================================================================
   PORTFOLIO SECTION (DISEÑOS QUE HABLAN POR MARCAS...)
   ========================================================================== */
.portfolio-section {
  position: relative;
  padding-top: var(--spacing-section-gap);
  padding-bottom: 2rem; /* Reduced from 8rem to close vertical spacing */
  z-index: 2;
}

.portfolio-header {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: flex-end;
  margin-bottom: 4rem;
}

.hud-section-label {
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--color-primary-container);
  margin-bottom: 0.75rem;
  display: inline-block;
}

.portfolio-desc-area {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.5rem;
}

/* Fanned Portfolio Component (Pallet Ross Style) */
.fanned-portfolio-container {
  position: relative;
  width: 100%;
  padding: 1.5rem 0 2rem 0; /* Reduced from 4.5rem */
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: visible;
}

.fanned-cards-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  width: 100%;
  max-width: 1260px; /* Increased from 1100px to occupy whole page width */
  height: 520px; /* Increased from 480px to fit larger cards */
  margin: 0 auto;
}

.fanned-card {
  position: absolute;
  width: 250px; /* Increased from 220px */
  height: 330px; /* Increased from 290px */
  border-radius: 24px;
  overflow: visible; /* to allow floating tags to spill outside */
  background: var(--color-surface);
  border: 4px solid rgba(255, 255, 255, 0.95);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.45);
  cursor: pointer;
  transform-origin: bottom center;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1), 
              z-index 0.6s step-end, 
              border-color 0.3s ease, 
              box-shadow 0.3s ease;
  will-change: transform;
}

.fanned-card-inner {
  width: 100%;
  height: 100%;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
}

.fanned-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.fanned-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(12, 20, 28, 0.3) 0%, transparent 60%);
  pointer-events: none;
}

/* Default Fan Positions with variables for scaling sibling offsets (8 cards) */
.fanned-card[data-index="0"] {
  --base-tx: -480px;
  --base-ty: 60px;
  --base-rot: -20deg;
  transform: translateX(var(--base-tx)) translateY(var(--base-ty)) rotate(var(--base-rot));
  z-index: 10;
}
.fanned-card[data-index="1"] {
  --base-tx: -340px;
  --base-ty: 35px;
  --base-rot: -14deg;
  transform: translateX(var(--base-tx)) translateY(var(--base-ty)) rotate(var(--base-rot));
  z-index: 11;
}
.fanned-card[data-index="2"] {
  --base-tx: -205px;
  --base-ty: 15px;
  --base-rot: -8deg;
  transform: translateX(var(--base-tx)) translateY(var(--base-ty)) rotate(var(--base-rot));
  z-index: 12;
}
.fanned-card[data-index="3"] {
  --base-tx: -70px;
  --base-ty: 5px;
  --base-rot: -2deg;
  transform: translateX(var(--base-tx)) translateY(var(--base-ty)) rotate(var(--base-rot));
  z-index: 13;
}
.fanned-card[data-index="4"] {
  --base-tx: 70px;
  --base-ty: 5px;
  --base-rot: 2deg;
  transform: translateX(var(--base-tx)) translateY(var(--base-ty)) rotate(var(--base-rot));
  z-index: 14;
}
.fanned-card[data-index="5"] {
  --base-tx: 205px;
  --base-ty: 15px;
  --base-rot: 8deg;
  transform: translateX(var(--base-tx)) translateY(var(--base-ty)) rotate(var(--base-rot));
  z-index: 15;
}
.fanned-card[data-index="6"] {
  --base-tx: 340px;
  --base-ty: 35px;
  --base-rot: 14deg;
  transform: translateX(var(--base-tx)) translateY(var(--base-ty)) rotate(var(--base-rot));
  z-index: 16;
}
.fanned-card[data-index="7"] {
  --base-tx: 480px;
  --base-ty: 60px;
  --base-rot: 20deg;
  transform: translateX(var(--base-tx)) translateY(var(--base-ty)) rotate(var(--base-rot));
  z-index: 17;
}

/* Hovered Card State */
.fanned-card.hovered {
  transform: scale(1.18) rotate(0deg) translateY(-50px) !important;
  z-index: 100 !important;
  border-color: #ffffff;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.6), 
              0 0 30px rgba(30, 94, 255, 0.45);
}
.fanned-card.hovered .fanned-card-img {
  transform: scale(1.05);
}

/* Sibling Spreading States (Dynamic shift during hover) */
/* Left side siblings shifting left */
.fanned-card.sibling-left-1 {
  transform: translateX(calc(var(--base-tx) - 90px)) translateY(calc(var(--base-ty) + 12px)) rotate(calc(var(--base-rot) - 8deg)) !important;
  z-index: 9;
}
.fanned-card.sibling-left-2 {
  transform: translateX(calc(var(--base-tx) - 55px)) translateY(calc(var(--base-ty) + 6px)) rotate(calc(var(--base-rot) - 5deg)) !important;
  z-index: 8;
}
.fanned-card.sibling-left-far {
  transform: translateX(calc(var(--base-tx) - 25px)) translateY(calc(var(--base-ty) + 2px)) rotate(calc(var(--base-rot) - 2deg)) !important;
  z-index: 7;
}

/* Right side siblings shifting right */
.fanned-card.sibling-right-1 {
  transform: translateX(calc(var(--base-tx) + 90px)) translateY(calc(var(--base-ty) + 12px)) rotate(calc(var(--base-rot) + 8deg)) !important;
  z-index: 9;
}
.fanned-card.sibling-right-2 {
  transform: translateX(calc(var(--base-tx) + 55px)) translateY(calc(var(--base-ty) + 6px)) rotate(calc(var(--base-rot) + 5deg)) !important;
  z-index: 8;
}
.fanned-card.sibling-right-far {
  transform: translateX(calc(var(--base-tx) + 25px)) translateY(calc(var(--base-ty) + 2px)) rotate(calc(var(--base-rot) + 2deg)) !important;
  z-index: 7;
}

/* Floating Speech Tags */
.floating-speech-tag {
  position: absolute;
  padding: 6px 14px;
  border-radius: 999px;
  color: #ffffff;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.05em;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.45);
  pointer-events: none;
  z-index: 25;
  animation: float-tag 4s ease-in-out infinite;
  white-space: nowrap;
}

.floating-speech-tag::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 50%;
  transform: translateX(-50%);
  border-width: 5px 5px 0;
  border-style: solid;
  border-color: currentColor transparent;
  display: block;
  width: 0;
}

.floating-speech-tag.tag-blue {
  background-color: var(--color-primary-container);
  color: #ffffff;
  filter: drop-shadow(0 0 8px rgba(30, 94, 255, 0.3));
}
.floating-speech-tag.tag-blue::after {
  color: var(--color-primary-container);
}

.floating-speech-tag.tag-green {
  background-color: #10b981;
  color: #ffffff;
  filter: drop-shadow(0 0 8px rgba(16, 185, 129, 0.3));
}
.floating-speech-tag.tag-green::after {
  color: #10b981;
}

.floating-speech-tag.tag-purple {
  background-color: #8b5cf6;
  color: #ffffff;
  filter: drop-shadow(0 0 8px rgba(139, 92, 246, 0.3));
}
.floating-speech-tag.tag-purple::after {
  color: #8b5cf6;
}

@keyframes float-tag {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

/* Mobile Carousel Controls (Hidden on Desktop) */
.portfolio-mobile-controls {
  display: none;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 1.5rem;
  margin-bottom: 1rem;
}

.carousel-control-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.75);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.carousel-control-btn:hover, .carousel-control-btn:active {
  background: rgba(30, 94, 255, 0.08);
  border-color: #1e5eff;
  color: var(--color-primary);
  box-shadow: 0 0 15px rgba(30, 94, 255, 0.4);
  transform: scale(1.05);
}

.carousel-control-btn svg {
  transition: transform 0.25s ease;
}

.carousel-control-btn.prev:hover svg {
  transform: translateX(-2px);
}

.carousel-control-btn.next:hover svg {
  transform: translateX(2px);
}

/* Lightbox Modal Styles */
.lightbox-modal {
  display: none;
  position: fixed;
  inset: 0;
  background-color: rgba(6, 12, 18, 0.85);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  z-index: 9999;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.lightbox-modal.active {
  display: flex;
  opacity: 1;
}

.lightbox-close {
  position: absolute;
  top: 2rem;
  right: 2rem;
  font-size: 3rem;
  color: rgba(255, 255, 255, 0.7);
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.25s ease, transform 0.25s ease;
  z-index: 10000;
}
.lightbox-close:hover {
  color: var(--color-primary-container);
  transform: rotate(90deg);
}

.lightbox-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(24, 32, 40, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #ffffff;
  font-size: 1.5rem;
  padding: 1rem 1.25rem;
  border-radius: var(--rounded-full);
  cursor: pointer;
  transition: all 0.25s ease;
  z-index: 10000;
}
.lightbox-arrow:hover {
  background-color: var(--color-primary-container);
  border-color: var(--color-primary-container);
  box-shadow: 0 0 15px rgba(30, 94, 255, 0.4);
}

.lightbox-prev {
  left: 3rem;
}
.lightbox-next {
  right: 3rem;
}

.lightbox-content {
  max-width: 80%;
  max-height: 80%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.lightbox-main-img {
  max-width: 100%;
  max-height: 70vh;
  object-fit: contain;
  border-radius: var(--rounded-md);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  transform: scale(0.95);
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.lightbox-modal.active .lightbox-main-img {
  transform: scale(1);
}

.lightbox-caption {
  font-family: 'Space Grotesk', sans-serif;
  color: #ffffff;
  font-size: 1.25rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* ==========================================================================
   INTERACTIVE STEPPER FORM SECTION
   ========================================================================== */
.interactive-form-section {
  position: relative;
  padding-top: 2rem;
  padding-bottom: 2rem;
  z-index: 2;
  display: flex;
  justify-content: center;
}

.interactive-form-container {
  width: 100%;
  max-width: 1200px;
  padding: 4rem 3rem;
  min-height: 480px;
  position: relative;
  box-sizing: border-box;
}

.form-header {
  text-align: center;
  margin-bottom: 3rem;
}

.form-section-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 36px;
  font-weight: 700;
  color: var(--color-text-bright, #ffffff);
  margin-top: 0.5rem;
  margin-bottom: 0.75rem;
  letter-spacing: -0.01em;
}

.form-section-subtitle {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  color: var(--color-on-surface-variant);
  max-width: 600px;
  margin: 0 auto;
}

/* Stepper HUD progress */
.stepper-hud {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  max-width: 600px;
  margin: 0 auto 3.5rem auto;
}

.stepper-step {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  opacity: 0.35;
  transition: all 0.3s ease;
}

.stepper-step.active {
  opacity: 1;
}

.stepper-step.completed {
  opacity: 0.75;
}

.stepper-step.completed .step-num {
  background-color: rgba(30, 94, 255, 0.2);
  border-color: #1e5eff;
  color: #1e5eff;
}

.step-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  font-weight: 700;
  width: 28px;
  height: 28px;
  border-radius: var(--rounded-md);
  border: 1px solid var(--color-outline);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.stepper-step.active .step-num {
  background-color: #1e5eff;
  border-color: #1e5eff;
  color: #ffffff;
  box-shadow: 0 0 10px rgba(30, 94, 255, 0.4);
}

.step-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
}

.stepper-connector {
  flex-grow: 1;
  max-width: 80px;
  height: 1px;
  background-color: var(--color-outline-variant);
  opacity: 0.3;
}

/* Form steps and visibility transitions */
.form-step {
  display: none;
  opacity: 0;
  transform: translateY(15px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.form-step.active {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

.step-question {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 22px;
  font-weight: 600;
  color: var(--color-text-bright, #ffffff);
  text-align: center;
  margin-bottom: 2.5rem;
}

/* Option Cards (Radio & Checkboxes) */
.option-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  max-width: 900px;
  margin: 0 auto 3rem auto;
}

.option-grid-checkboxes {
  grid-template-columns: repeat(3, 1fr);
  max-width: 900px;
}

.option-card {
  position: relative;
  cursor: pointer;
  display: block;
}

.option-card input[type="radio"],
.option-card input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.option-card-content {
  background: var(--option-bg, rgba(255, 255, 255, 0.03));
  border: 1px solid var(--option-border, rgba(255, 255, 255, 0.08));
  border-radius: var(--rounded-md);
  padding: 2rem 1.5rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  min-height: 120px;
  justify-content: center;
  box-sizing: border-box;
}

.option-icon {
  font-size: 32px;
  filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.1));
  transition: transform 0.3s ease;
}

.option-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 15px;
  font-weight: 500;
  color: var(--color-text-bright, #ffffff);
  line-height: 1.3;
}

/* Option Card Active/Hover states */
.option-card:hover .option-card-content {
  background: var(--option-bg-hover, rgba(255, 255, 255, 0.06));
  border-color: rgba(30, 94, 255, 0.35);
  box-shadow: 0 5px 15px rgba(30, 94, 255, 0.1);
}

.option-card:hover .option-icon {
  transform: scale(1.15) translateY(-2px);
}

.option-card input:checked + .option-card-content {
  background: rgba(30, 94, 255, 0.08);
  border-color: #1e5eff;
  box-shadow: 0 0 20px rgba(30, 94, 255, 0.25), inset 0 0 10px rgba(30, 94, 255, 0.1);
}

.option-card input:checked + .option-card-content .option-title {
  color: #1e5eff;
  font-weight: 600;
}

/* Step Action Buttons Container */
.step-actions {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 2rem;
}

/* Step 3 input fields design */
.input-form-fields {
  max-width: 500px;
  margin: 0 auto 3rem auto;
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.form-group-glow {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.input-label-hud {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 500;
  color: var(--color-outline);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.form-group-glow input {
  background: var(--input-bg, rgba(255, 255, 255, 0.03));
  border: 1px solid var(--input-border, rgba(255, 255, 255, 0.1));
  border-radius: var(--rounded-md);
  padding: 1rem 1.25rem;
  color: var(--color-on-surface);
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  transition: all 0.3s ease;
  width: 100%;
  box-sizing: border-box;
}

.form-group-glow input:focus {
  outline: none;
  background: rgba(12, 20, 28, 0.5);
  border-color: #1e5eff;
  box-shadow: 0 0 15px rgba(30, 94, 255, 0.3), inset 0 0 5px rgba(30, 94, 255, 0.1);
}

.form-group-glow input::placeholder {
  color: var(--input-placeholder, rgba(255, 255, 255, 0.25));
}

/* SUCCESS SCREEN HUD */
.success-screen-hud {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 3rem 1.5rem;
  animation: fade-in 0.5s ease forwards;
}

.success-icon-wrapper {
  position: relative;
  width: 100px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1e5eff;
  margin-bottom: 2rem;
}

.success-hud-ring {
  position: absolute;
  inset: -5px;
  border-radius: var(--rounded-full);
  border: 2px solid transparent;
  border-top-color: #1e5eff;
  border-bottom-color: rgba(30, 94, 255, 0.2);
  animation: spin 3s linear infinite;
}

.success-check {
  filter: drop-shadow(0 0 8px rgba(30, 94, 255, 0.6));
}

.success-title-hud {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 24px;
  font-weight: 700;
  color: var(--color-text-bright, #ffffff);
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

.success-desc-hud {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  color: var(--color-on-surface-variant);
  max-width: 480px;
  line-height: 1.6;
  margin-bottom: 2.5rem;
}

@keyframes fade-in {
  from {
    opacity: 0;
    transform: scale(0.96);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Responsive adjustments for Form */
@media (max-width: 992px) {
  .option-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .option-grid-checkboxes {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .interactive-form-section {
    padding-top: 1rem;
  }
}

@media (max-width: 576px) {
  .interactive-form-container {
    padding: 2.5rem 1.25rem;
  }
  .option-grid,
  .option-grid-checkboxes {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .stepper-hud {
    flex-wrap: wrap;
    gap: 1rem;
  }
  .stepper-connector {
    display: none;
  }
  .form-section-title {
    font-size: 28px;
  }
}

/* ==========================================================================
   WORDPRESS BLOG SECTION
   ========================================================================== */
.blog-section {
  position: relative;
  padding: 3rem 0 2rem;
  z-index: 2;
  margin: 0 calc(-1 * var(--spacing-grid-margin));
}

.blog-container {
  display: flex;
  flex-direction: column;
  padding: 4rem 3rem 1.5rem;
  width: 100%;
  box-sizing: border-box;
}

.blog-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.blog-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 36px;
  font-weight: 700;
  color: var(--color-text-bright, #ffffff);
  margin-top: 0.5rem;
  margin-bottom: 0.75rem;
  letter-spacing: -0.01em;
}

.blog-subtitle {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  color: var(--color-on-surface-variant);
  max-width: 600px;
  margin: 0 auto;
}

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

.blog-loading, .blog-error {
  grid-column: 1 / -1;
  text-align: center;
  font-family: 'JetBrains Mono', monospace;
  font-size: 14px;
  color: var(--color-outline);
  padding: 4rem 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

/* Blog Card System */
.blog-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 0 !important; /* Override standard glass-panel padding to allow image to touch edges */
  overflow: hidden;
  border-radius: var(--rounded-lg);
  border: 1px solid var(--glass-border);
  background: var(--glass-bg);
  transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), border-color 0.3s ease, box-shadow 0.3s ease;
}

.blog-card-image-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.blog-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.blog-card-category {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 10;
  background: rgba(12, 20, 28, 0.85);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(30, 94, 255, 0.3);
  padding: 3px 8px;
  border-radius: var(--rounded-sm);
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  font-weight: 600;
  color: var(--color-primary);
  letter-spacing: 0.05em;
  pointer-events: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.blog-card-content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.blog-card-date {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--color-outline);
  margin-bottom: 0.75rem;
}

.blog-card-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--color-text-bright, #ffffff);
  margin-bottom: 0.75rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color 0.25s ease;
}

.blog-card-excerpt {
  font-family: 'Inter', sans-serif;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--color-on-surface-variant);
  margin-bottom: 1.5rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  flex-grow: 1;
}

.blog-card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  font-weight: 500;
  color: var(--color-primary);
  text-decoration: none;
  transition: all 0.25s ease;
  width: fit-content;
  margin-top: auto;
}

.blog-card-link:hover {
  color: #ffffff;
}

.blog-card-link .arrow-icon {
  transition: transform 0.25s ease;
}

.blog-card-link:hover .arrow-icon {
  transform: translateX(4px);
}

/* Hover effects */
.blog-card:hover {
  transform: translateY(-4px);
  border-color: rgba(30, 94, 255, 0.45);
  box-shadow: 0 10px 25px rgba(30, 94, 255, 0.2), 0 0 15px rgba(30, 94, 255, 0.1);
}

.blog-card:hover .blog-card-img {
  transform: scale(1.05);
}

.blog-card:hover .blog-card-title {
  color: var(--color-primary);
}

.blog-footer {
  display: flex;
  justify-content: center;
  margin-top: 1rem;
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }
}

@media (max-width: 600px) {
  .blog-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .blog-container {
    padding: 3rem 1.5rem 1.5rem;
  }
  .blog-title {
    font-size: 28px;
  }
}

/* ==========================================================================
   MAIN CONTENT WRAPPER FOR REVEAL EFFECT
   ========================================================================== */
.main-wrapper {
  position: relative;
  z-index: 10;
  background-color: var(--color-background-dark);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7);
  overflow: hidden;
  border-bottom-left-radius: 48px;
  border-bottom-right-radius: 48px;
  transition: border-radius 0.3s ease;
}

@media (max-width: 768px) {
  .main-wrapper {
    border-bottom-left-radius: 28px;
    border-bottom-right-radius: 28px;
  }
}

/* ==========================================================================
   FOOTER (Revealed on Scroll)
   ========================================================================== */
.footer {
  position: relative;
  z-index: 1;
  background: linear-gradient(180deg, #0c141c 0%, #1e1140 25%, #3d1478 60%, #1e5eff 100%);
  color: #ffffff;
  padding: 3rem var(--spacing-grid-margin) 3rem;
  margin: 0 calc(-1 * var(--spacing-grid-margin));
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 1.5rem; /* Reducido para subir los enlaces y redes */
  border-top: none;
}

@media (min-height: 600px) and (min-width: 768px) {
  .footer {
    position: sticky;
    bottom: 0;
  }
}

/* Footer Reveal Content Area */
.footer-reveal-content {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 3rem 1.5rem 1rem; /* Reducido verticalmente */
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  min-height: 180px; /* Reducido */
  z-index: 2;
}

.footer-bg-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 16vw;
  font-weight: 800;
  text-transform: uppercase;
  color: rgba(182, 196, 255, 0.04);
  letter-spacing: 0.05em;
  white-space: nowrap;
  user-select: none;
  pointer-events: none;
  z-index: 0;
  filter: blur(1px);
}

.footer-reveal-logo {
  height: 64px;
  width: auto;
  object-fit: contain;
  margin-bottom: 1.25rem;
  z-index: 1;
  filter: drop-shadow(0 0 12px rgba(30, 94, 255, 0.35)) drop-shadow(0 0 25px rgba(255, 255, 255, 0.2));
  transition: transform 0.3s ease;
}
.footer-reveal-logo:hover {
  transform: scale(1.05);
}

.footer-brand-desc {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.8);
  max-width: 650px;
  margin: 0 auto;
  z-index: 1;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

/* Footer Traditional content customized for dark gradient */
.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 3rem;
  position: relative;
  z-index: 2;
  width: 100%;
}

.footer-logo-row {
  display: flex;
  justify-content: flex-start;
  margin-bottom: 0.5rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  height: 48px;
  transition: opacity 0.25s ease;
}

.footer-logo:hover {
  opacity: 0.85;
}

.footer-logo .logo-img {
  height: 100%;
  width: auto;
  object-fit: contain;
  display: block;
}

.footer-top-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

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

.footer-link {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition: color 0.2s ease;
}
.footer-link:hover {
  color: var(--color-primary);
}

.footer-socials {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.socials-label {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.1em;
}

.social-icons-wrapper {
  display: flex;
  gap: 0.75rem;
}

.social-icon-link {
  width: 36px;
  height: 36px;
  border-radius: var(--rounded-full);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
  background: rgba(255, 255, 255, 0.02);
}
.social-icon-link:hover {
  color: var(--color-primary-container);
  border-color: var(--color-primary-container);
  box-shadow: 0 0 15px rgba(30, 94, 255, 0.4);
  transform: translateY(-2px);
}

.footer-bottom-row {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-tagline-wrapper {
  background-color: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 0.5rem 1rem;
  border-radius: var(--rounded-md);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-left: 2px solid var(--color-primary-container);
}

.footer-tagline {
  font-size: 13px;
  color: #ffffff;
}

.footer-copyright {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
}

/* ==========================================================================
   DYNAMIC KEYFRAME ANIMATIONS
   ========================================================================== */
@keyframes pulse-glow {
  0%, 100% {
    opacity: 0.6;
    box-shadow: 0 0 6px var(--color-primary-container);
  }
  50% {
    opacity: 1;
    box-shadow: 0 0 14px var(--color-primary-container);
  }
}

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

@keyframes flow-line {
  0% {
    left: 0%;
  }
  100% {
    left: 100%;
  }
}

/* ==========================================================================
   RESPONSIVE LAYOUTS (MOBILE & TABLET COLLAPSE)
   ========================================================================== */

/* Tablet view (Max Width 1024px) */
@media (max-width: 1024px) {
  :root {
    --spacing-grid-margin: 2rem;
  }
  
  .hero-content {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .hero-graphic-container {
    justify-content: center;
  }
  
  .hud-stats-group {
    position: relative;
    top: auto;
    right: auto;
    bottom: auto;
    transform: none;
    margin-top: 2.5rem;
    width: 100%;
    justify-content: center;
  }
  
  .hero-ticker-container {
    position: relative;
    top: 0;
    transform: none;
    max-width: 100%;
    margin-bottom: 2rem;
    margin-right: 0;
    width: 100%;
  }
  
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  /* Tablet Fan Scale & Adaptation */
  .fanned-cards-wrapper {
    height: 400px;
    max-width: 850px;
  }
  .fanned-card {
    width: 170px;
    height: 225px;
    border-width: 3px;
    border-radius: 18px;
  }
  .fanned-card-inner {
    border-radius: 15px;
  }
  .fanned-card[data-index="0"] { --base-tx: -350px; --base-ty: 45px; --base-rot: -20deg; }
  .fanned-card[data-index="1"] { --base-tx: -250px; --base-ty: 25px; --base-rot: -14deg; }
  .fanned-card[data-index="2"] { --base-tx: -150px; --base-ty: 10px; --base-rot: -8deg; }
  .fanned-card[data-index="3"] { --base-tx: -50px; --base-ty: 3px; --base-rot: -2deg; }
  .fanned-card[data-index="4"] { --base-tx: 50px; --base-ty: 3px; --base-rot: 2deg; }
  .fanned-card[data-index="5"] { --base-tx: 150px; --base-ty: 10px; --base-rot: 8deg; }
  .fanned-card[data-index="6"] { --base-tx: 250px; --base-ty: 25px; --base-rot: 14deg; }
  .fanned-card[data-index="7"] { --base-tx: 350px; --base-ty: 45px; --base-rot: 20deg; }

  .fanned-card.sibling-left-1 { transform: translateX(calc(var(--base-tx) - 50px)) translateY(calc(var(--base-ty) + 8px)) rotate(calc(var(--base-rot) - 5deg)) !important; }
  .fanned-card.sibling-left-2 { transform: translateX(calc(var(--base-tx) - 30px)) translateY(calc(var(--base-ty) + 4px)) rotate(calc(var(--base-rot) - 3deg)) !important; }
  .fanned-card.sibling-left-far { transform: translateX(calc(var(--base-tx) - 15px)) translateY(calc(var(--base-ty) + 2px)) rotate(calc(var(--base-rot) - 1deg)) !important; }

  .fanned-card.sibling-right-1 { transform: translateX(calc(var(--base-tx) + 50px)) translateY(calc(var(--base-ty) + 8px)) rotate(calc(var(--base-rot) + 5deg)) !important; }
  .fanned-card.sibling-right-2 { transform: translateX(calc(var(--base-tx) + 30px)) translateY(calc(var(--base-ty) + 4px)) rotate(calc(var(--base-rot) + 3deg)) !important; }
  .fanned-card.sibling-right-far { transform: translateX(calc(var(--base-tx) + 15px)) translateY(calc(var(--base-ty) + 2px)) rotate(calc(var(--base-rot) + 1deg)) !important; }
  .instagram-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Mobile view (Max Width 768px) */
@media (max-width: 768px) {
  :root {
    --spacing-grid-margin: 1rem;
    --spacing-section-gap: 4rem;
  }
  
  .header {
    top: 1rem;
  }
  
  .nav-capsule {
    display: none; /* Hide top links on mobile, or could integrate hamburger */
  }
  
  .nav-container {
    justify-content: space-between;
    width: 100%;
    max-width: none;
    padding: 0.35rem 0.5rem 0.35rem 1rem;
  }
  
  .btn-contact-nav {
    display: none !important;
  }
  
  .menu-toggle {
    display: flex !important;
  }
  
  .hero-section {
    background-image: linear-gradient(rgba(12, 20, 28, 0.85), rgba(12, 20, 28, 0.85)), url('assets/banner_slide.jpg');
    background-position: center center;
    border-bottom-left-radius: 28px;
    border-bottom-right-radius: 28px;
  }
  
  .hero-video-overlay {
    background: linear-gradient(rgba(12, 20, 28, 0.85), rgba(12, 20, 28, 0.85));
  }

  .hero-title {
    font-size: 42px;
    color: #ffffff;
  }
  
  .hero-description {
    font-size: 16px;
    color: var(--color-on-surface-variant);
  }

  .btn-secondary {
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.3);
  }
  .btn-secondary:hover {
    color: #1e5eff;
    border-color: #1e5eff;
  }

  .hud-stats-group {
    position: relative;
    top: auto;
    right: auto;
    bottom: auto;
    transform: none;
    margin-top: 2rem;
    width: 100%;
    display: flex;
    flex-direction: row; /* Horizontal en móvil */
    justify-content: space-between;
    gap: 0.5rem; /* Espaciado compacto */
  }
  
  .hud-stat-item {
    flex: 1; /* Ocupar espacio equitativo */
    min-width: 0; /* Permitir encogimiento */
    width: auto; /* Anular ancho fijo */
    max-width: none; /* Anular máximo anterior */
    padding: 0.6rem 0.5rem; /* Padding compacto */
    gap: 0.4rem; /* Distancia icono-texto compacta */
    background: rgba(12, 20, 28, 0.6);
    border-color: rgba(255, 255, 255, 0.1);
  }

  .hud-stat-icon {
    width: 14px;
    height: 14px;
  }

  .hud-stat-number {
    font-size: 15px; /* Más pequeño para móviles */
    color: #ffffff;
    line-height: 1.1;
  }

  .hud-stat-label {
    font-size: 7.5px; /* Más pequeño para móviles */
    white-space: normal; /* Permitir que el texto salte de línea */
    line-height: 1.15;
    color: #5a6b7c;
  }
  
  .services-header {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .services-desc-area {
    padding-left: 0;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
  }
  
  .tech-ribbon {
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: center;
  }
  
  .portfolio-header {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  /* Mobile Swipeable Card Deck Adaptation */
  .fanned-portfolio-container {
    overflow-x: auto;
    overflow-y: hidden;
    padding: 2rem 1.5rem;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    width: 100vw;
    margin-left: calc(-1 * var(--spacing-grid-margin));
    margin-right: calc(-1 * var(--spacing-grid-margin));
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
  }
  .fanned-portfolio-container::-webkit-scrollbar {
    display: none; /* Chrome, Safari and Opera */
  }
  .portfolio-mobile-controls {
    display: flex;
  }
  .fanned-cards-wrapper {
    display: flex;
    flex-direction: row;
    position: relative;
    height: auto;
    width: max-content;
    margin: 0;
    gap: 1.25rem;
    padding: 0 1.5rem;
  }
  .fanned-card {
    position: relative;
    flex: 0 0 240px;
    height: 310px;
    margin: 0 !important;
    transform: none !important;
    z-index: 1 !important;
    scroll-snap-align: center;
    border-width: 3px;
    border-radius: 20px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.45);
  }
  .fanned-card-inner {
    border-radius: 17px;
  }
  .fanned-card.hovered {
    transform: none !important;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.45) !important;
  }
  .floating-speech-tag {
    display: none;
  }
  .lightbox-arrow {
    display: none;
  }
  .lightbox-close {
    top: 1rem;
    right: 1rem;
    font-size: 2.5rem;
  }
  .lightbox-content {
    max-width: 90%;
  }
  
  .instagram-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
  }
  .instagram-feed-container {
    padding: 2.5rem 1.25rem;
  }
  .instagram-footer {
    justify-content: center;
  }
  .instagram-footer .btn-secondary {
    width: 100%;
    justify-content: center;
  }
  
  .footer-logo-row {
    justify-content: center;
    margin-bottom: 1.5rem;
  }

  .footer-top-row {
    flex-direction: column;
    gap: 2rem;
    align-items: center;
  }
  
  .footer-menu {
    flex-direction: column;
    gap: 1.25rem;
    align-items: center;
  }
  
  .footer-bottom-row {
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
  }

  /* Reveal Content Mobile Adjustments */
  .footer-reveal-content {
    padding: 2.5rem 1rem 1rem;
    min-height: auto;
  }
  .footer-reveal-logo {
    height: 48px;
    margin-bottom: 0.75rem;
  }
  .footer-brand-desc {
    font-size: 14px;
    line-height: 1.5;
  }
  .footer-bg-text {
    font-size: 24vw;
  }
}

/* ==========================================================================
   8b. DETAILED ABOUT ME SECTION (Alvaro Sierra Bio, Timeline, & Skills)
   ========================================================================== */
.about-detail-section {
  position: relative;
  padding: var(--spacing-section-gap) 0;
  z-index: 2;
  border-top: 1px solid var(--color-outline-variant);
}

/* Introduction Grid Layout */
.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 4rem;
  align-items: flex-start;
  margin-bottom: var(--spacing-section-gap);
}

/* Portrait Area with Scanlines and brackets */
.about-portrait-area {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.hud-avatar-frame {
  position: relative;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  padding: 10px;
  background: rgba(12, 20, 28, 0.4);
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: 0 0 25px rgba(30, 94, 255, 0.2);
}

.hud-avatar-frame::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  padding: 2px;
  background: conic-gradient(from 0deg, transparent 50%, var(--color-primary-container) 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: spin 6s linear infinite;
  pointer-events: none;
}

.avatar-glow-ring {
  position: absolute;
  width: calc(100% - 20px);
  height: calc(100% - 20px);
  border-radius: 50%;
  border: 1px dashed rgba(30, 94, 255, 0.4);
  animation: spin 20s linear infinite reverse;
  pointer-events: none;
}

.avatar-scanline {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 10px;
  background: linear-gradient(180deg, transparent 0%, rgba(30, 94, 255, 0.2) 50%, transparent 100%);
  animation: scan 4s linear infinite;
  pointer-events: none;
  z-index: 5;
}

@keyframes scan {
  0% { top: -10px; }
  100% { top: 290px; }
}

.avatar-img {
  width: calc(100% - 24px);
  height: calc(100% - 24px);
  border-radius: 50%;
  object-fit: cover;
  z-index: 2;
  filter: grayscale(20%) brightness(95%);
}

.hud-avatar-label {
  position: absolute;
  bottom: 12px;
  z-index: 6;
  background: rgba(12, 20, 28, 0.85);
  backdrop-filter: blur(4px);
  border: 1.5px solid var(--color-primary-container);
  padding: 3px 10px;
  border-radius: var(--rounded-sm);
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  color: var(--color-primary);
  letter-spacing: 0.1em;
  font-weight: 700;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.about-side-stats {
  width: 100%;
  max-width: 320px;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  padding: 1.5rem 1.75rem;
}

.side-stat-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  border-bottom: 1px solid var(--color-outline-variant);
  padding-bottom: 0.75rem;
}

.side-stat-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.side-stat-title {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  text-transform: uppercase;
  color: var(--color-outline);
  letter-spacing: 0.05em;
}

.side-stat-val {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 15px;
  font-weight: 500;
  color: var(--color-text-bright);
}

/* Bio Text Area */
.about-text-area {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.about-lead {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 20px;
  line-height: 1.5;
  color: var(--color-primary);
  margin-top: 0.5rem;
  margin-bottom: 1.5rem;
  font-weight: 500;
}

.about-story-paragraphs {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--color-on-surface-variant);
  margin-bottom: 2.5rem;
}

.about-story-paragraphs strong {
  color: var(--color-text-bright);
  font-weight: 600;
}

.about-contact-quick {
  width: 100%;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.quick-contact-title {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 600;
  color: var(--color-primary);
  letter-spacing: 0.1em;
  margin-bottom: 0.25rem;
}

.quick-contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.quick-contact-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.quick-icon {
  font-size: 16px;
}

.quick-text {
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  color: var(--color-on-surface);
}

/* Skills Dashboard */
.skills-dashboard-container {
  margin-bottom: var(--spacing-section-gap);
}

.dashboard-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 26px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  color: var(--color-text-bright);
  margin-bottom: 2.5rem;
  text-align: center;
  position: relative;
}

.dashboard-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 2px;
  background-color: var(--color-primary-container);
}

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

.skill-card {
  display: flex;
  flex-direction: column;
  padding: 2rem 1.5rem;
  gap: 0.75rem;
}

.skill-number {
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  font-weight: 700;
  color: var(--color-primary-container);
}

.skill-name {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: var(--color-text-bright);
}

.skill-desc {
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--color-on-surface-variant);
  flex-grow: 1;
}

.skill-meter {
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--rounded-full);
  overflow: hidden;
  margin-top: 0.5rem;
}

.skill-progress {
  height: 100%;
  background: linear-gradient(90deg, var(--color-primary) 0%, var(--color-primary-container) 100%);
  border-radius: var(--rounded-full);
  box-shadow: 0 0 8px var(--color-primary-container);
}

/* Timeline Layout */
.timeline-container {
  max-width: 900px;
  margin: 0 auto;
}

.high-tech-timeline {
  position: relative;
  width: 100%;
  padding: 2rem 0;
}

.timeline-laser-line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  background: linear-gradient(180deg, 
    transparent 0%, 
    var(--color-primary-container) 10%, 
    var(--color-primary) 50%, 
    var(--color-primary-container) 90%, 
    transparent 100%);
  box-shadow: 0 0 10px var(--color-primary-container);
}

.timeline-node {
  position: relative;
  width: 50%;
  padding: 1.5rem 3rem;
  box-sizing: border-box;
}

.timeline-node.left-align {
  left: 0;
  text-align: right;
}

.timeline-node.right-align {
  left: 50%;
  text-align: left;
}

.timeline-marker {
  position: absolute;
  top: calc(1.5rem + 25px);
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--color-background-dark);
  border: 2px solid var(--color-primary-container);
  z-index: 5;
}

.timeline-node.left-align .timeline-marker {
  right: -7px;
}

.timeline-node.right-align .timeline-marker {
  left: -7px;
}

.marker-glow {
  position: absolute;
  inset: 2px;
  border-radius: 50%;
  background: var(--color-primary-container);
  box-shadow: 0 0 10px var(--color-primary-container);
  animation: pulse-glow 2s infinite ease-in-out;
}

.timeline-card {
  padding: 1.5rem 2rem !important;
  display: inline-block;
  max-width: 100%;
}

.node-year {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 700;
  color: var(--color-primary-container);
  letter-spacing: 0.1em;
  display: inline-block;
  margin-bottom: 0.5rem;
}

.node-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: var(--color-text-bright);
  margin-bottom: 0.5rem;
}

.node-desc {
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--color-on-surface-variant);
}

/* Light Theme Component Adjustments for About Section */
body.light-theme .about-detail-section {
  border-color: var(--color-outline-variant);
}

body.light-theme .hud-avatar-frame {
  background: rgba(255, 255, 255, 0.75);
  box-shadow: 0 0 25px rgba(30, 94, 255, 0.1);
}

body.light-theme .hud-avatar-label {
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06);
}

body.light-theme .skill-meter {
  background: rgba(0, 0, 0, 0.05);
}

body.light-theme .timeline-marker {
  background: #f8fafc;
}

/* Tablet & Mobile styles for About Detailed Section */
@media (max-width: 992px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .skills-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .hud-avatar-frame {
    width: 240px;
    height: 240px;
  }
  
  @keyframes scan {
    0% { top: -10px; }
    100% { top: 250px; }
  }
  
  .skills-grid {
    grid-template-columns: 1fr;
  }
  
  /* Make timeline full width and single column on mobile */
  .timeline-laser-line {
    left: 20px;
  }
  
  .timeline-node {
    width: 100%;
    padding: 1rem 1rem 1rem 3.5rem;
    text-align: left !important;
  }
  
  .timeline-node.right-align {
    left: 0;
  }
  
  .timeline-node.left-align .timeline-marker {
    left: 13px;
    right: auto;
  }

  .timeline-node.right-align .timeline-marker {
    left: 13px;
  }
  
  .timeline-marker {
    top: calc(1rem + 25px);
  }
  
  .quick-contact-grid {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }
}

/* ========================================================================== */

/* ==========================================================================
   9. WHATSAPP FLOATING WIDGET STYLES (Futuristic & Bright Blue)
   ========================================================================== */
.whatsapp-widget {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 1100;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  font-family: 'Inter', sans-serif;
}

.whatsapp-main-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(12, 20, 28, 0.75);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1.5px solid var(--color-primary-container);
  color: var(--color-primary-container);
  box-shadow: 0 0 15px var(--glow-electric-blue-strong);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
}

.whatsapp-main-button:hover {
  transform: scale(1.1) translateY(-2px);
  box-shadow: 0 0 25px rgba(30, 94, 255, 0.8);
  border-color: #5185ff;
  color: #5185ff;
}

.whatsapp-icon {
  fill: currentColor;
  transition: transform 0.3s ease;
}

.whatsapp-mobile-text {
  display: none;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.02em;
}

/* Glassmorphic Bubble */
.whatsapp-bubble {
  position: absolute;
  bottom: 75px;
  right: 0;
  width: 290px;
  background: rgba(12, 20, 28, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--color-outline-variant);
  border-radius: var(--rounded-lg);
  padding: 1.25rem 1.5rem;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5), 0 0 15px rgba(30, 94, 255, 0.15);
  transform: translateY(15px);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.whatsapp-bubble.active {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

.whatsapp-bubble-text {
  font-size: 14px;
  color: #ffffff;
  line-height: 1.4;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 500;
}

.whatsapp-bubble-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  font-weight: 600;
  color: var(--color-primary-container);
  text-decoration: none;
  transition: color 0.25s ease;
  margin-top: 0.25rem;
}

.whatsapp-bubble-cta:hover {
  color: #5185ff;
}

.whatsapp-bubble-close {
  position: absolute;
  top: 0.5rem;
  right: 0.75rem;
  background: none;
  border: none;
  color: var(--color-outline);
  font-size: 1.25rem;
  cursor: pointer;
  transition: color 0.25s ease;
}

.whatsapp-bubble-close:hover {
  color: #ffffff;
}

/* Mobile Styling */
@media (max-width: 768px) {
  .whatsapp-widget {
    bottom: 1.5rem;
    right: 50%;
    transform: translateX(50%);
    left: auto;
    align-items: center;
    width: 100%;
    max-width: max-content;
    flex-direction: row;
    gap: 0.75rem;
  }

  .whatsapp-main-button {
    width: auto;
    height: auto;
    border-radius: var(--rounded-full);
    padding: 0.75rem 1.5rem;
    gap: 0.6rem;
    box-shadow: 0 8px 25px rgba(30, 94, 255, 0.4);
  }

  .whatsapp-mobile-text {
    display: inline;
  }

  .whatsapp-bubble {
    display: none !important;
  }
}


/* ==========================================================================
   10. THEME TOGGLE BUTTON & LIGHT MODE STYLES
   ========================================================================== */

/* Theme Toggle Button Style */
.theme-toggle-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(12, 20, 28, 0.75);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1.5px solid var(--color-outline-variant);
  color: var(--color-outline);
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  margin-bottom: 1rem;
  position: relative;
  z-index: 1105;
}

.theme-toggle-btn:hover {
  transform: scale(1.1) translateY(-2px);
  border-color: var(--color-primary-container);
  color: #f59e0b; /* Golden warm glow for the lightbulb on hover! */
  box-shadow: 0 0 25px rgba(245, 158, 11, 0.6);
}

.theme-toggle-btn .theme-icon {
  fill: none;
  stroke: currentColor;
  transition: all 0.3s ease;
}

.theme-toggle-btn:active {
  transform: scale(0.95);
}

/* Light Theme Variable Overrides */
body.light-theme {
  --color-background-dark: #f8fafc; /* Cool white / light slate */
  --color-surface-dim: #f1f5f9;
  --color-surface-bright: #ffffff;
  --color-surface-lowest: #ffffff;
  --color-surface-low: #f8fafc;
  --color-surface: #ffffff;
  --color-surface-high: #e2e8f0;
  --color-surface-highest: #cbd5e1;
  --color-on-surface: #0f172a; /* Deep slate blue for high readability */
  --color-on-surface-variant: #334155;
  --color-outline: #64748b;
  --color-outline-variant: #cbd5e1;
  
  --color-primary: #0053eb; /* Slightly deeper blue for light mode contrast */
  --color-primary-container: #1e5eff;
  --color-on-primary-container: #ffffff;
  
  --color-secondary: #475569;
  --color-on-secondary: #ffffff;
  --color-secondary-container: #e2e8f0;
  
  --color-tertiary: #0f172a;
  --color-on-tertiary: #ffffff;
  
  --glow-electric-blue: rgba(30, 94, 255, 0.08);
  --glow-electric-blue-strong: rgba(30, 94, 255, 0.2);
  --glass-bg: rgba(255, 255, 255, 0.7);
  --glass-bg-hover: rgba(255, 255, 255, 0.88);
  --glass-border: rgba(30, 94, 255, 0.12);
  --glass-border-active: #0053eb;
  
  /* Additional text & input theme variables */
  --color-text-bright: #0c141c;
  --input-bg: rgba(15, 23, 42, 0.03);
  --input-border: rgba(15, 23, 42, 0.08);
  --input-placeholder: rgba(15, 23, 42, 0.4);
  --option-bg: rgba(15, 23, 42, 0.02);
  --option-border: rgba(15, 23, 42, 0.06);
  --option-bg-hover: rgba(15, 23, 42, 0.05);
}

/* Specific Light Theme Component Adjustments */
body.light-theme .theme-toggle-btn {
  background: rgba(255, 255, 255, 0.85);
  border-color: var(--color-outline-variant);
  color: #f59e0b; /* Yellow bulb in light theme! */
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

body.light-theme .theme-toggle-btn:hover {
  background: #ffffff;
  border-color: var(--color-primary-container);
  box-shadow: 0 0 20px rgba(30, 94, 255, 0.25);
  color: var(--color-primary-container);
}

body.light-theme .whatsapp-main-button {
  background: rgba(255, 255, 255, 0.85);
  border-color: var(--color-primary);
  color: var(--color-primary);
  box-shadow: 0 4px 20px rgba(30, 94, 255, 0.15);
}

body.light-theme .whatsapp-main-button:hover {
  background: #ffffff;
  border-color: #0053eb;
  color: #0053eb;
  box-shadow: 0 6px 25px rgba(30, 94, 255, 0.3);
}

body.light-theme .whatsapp-bubble {
  background: rgba(255, 255, 255, 0.95);
  border-color: var(--color-outline-variant);
  color: #0c141c;
  box-shadow: 0 15px 35px rgba(15, 23, 42, 0.15), 0 0 15px rgba(30, 94, 255, 0.08);
}

body.light-theme .whatsapp-bubble-text {
  color: #0c141c;
}

body.light-theme .whatsapp-bubble-close {
  color: #64748b;
}

body.light-theme .whatsapp-bubble-close:hover {
  color: #0c141c;
}

body.light-theme .fanned-card {
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.12);
  border-color: #ffffff;
}

body.light-theme .fanned-card.hovered {
  border-color: #ffffff;
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.22), 0 0 25px rgba(30, 94, 255, 0.35);
}

/* Override btn-outline-glow in light mode to be a premium dark button with soft glow */
body.light-theme .btn-outline-glow {
  background: #0c141c;
  color: #ffffff;
  border-color: rgba(30, 94, 255, 0.3);
  box-shadow: 0 4px 15px rgba(30, 94, 255, 0.2);
}

body.light-theme .btn-outline-glow:hover {
  background: #111e2b;
  border-color: #1e5eff;
  box-shadow: 0 0 20px rgba(30, 94, 255, 0.4);
  color: #ffffff;
  transform: translateY(-2px);
}

body.light-theme .fanned-card {
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.12);
  border-color: #ffffff;
}

body.light-theme .fanned-card.hovered {
  border-color: #ffffff;
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.22), 0 0 25px rgba(30, 94, 255, 0.35);
}

/* Override carousel controls in light theme to be dark circles with white icons */
body.light-theme .carousel-control-btn {
  background: #0c141c;
  border-color: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

body.light-theme .carousel-control-btn:hover,
body.light-theme .carousel-control-btn:active {
  background: #1e5eff;
  border-color: #1e5eff;
  color: #ffffff;
  box-shadow: 0 0 15px rgba(30, 94, 255, 0.4);
}

/* Secondary Button general override in light theme */
body.light-theme .btn-secondary {
  color: #0c141c;
  border-color: rgba(12, 20, 28, 0.35);
}

body.light-theme .btn-secondary:hover,
body.light-theme .btn-secondary:active {
  color: #000000;
  border-color: #000000;
  background: rgba(0, 0, 0, 0.05);
}

/* Light Theme Transition Smoothing */
body, .main-wrapper, .glass-panel, .option-card-content, .form-group-glow input, .btn-secondary, .btn-outline-glow, .carousel-control-btn, .section-title, .service-card-title, .form-section-title, .blog-title, .blog-card-title, .step-question, .option-title, .theme-toggle-btn, .whatsapp-main-button, .whatsapp-bubble {
  transition: background-color 0.4s cubic-bezier(0.16, 1, 0.3, 1), 
              border-color 0.4s cubic-bezier(0.16, 1, 0.3, 1), 
              color 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Ensure background grid overlay matches light theme */
body.light-theme::before {
  background-image: 
    linear-gradient(to right, rgba(30, 94, 255, 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(30, 94, 255, 0.05) 1px, transparent 1px);
}

/* Interactive focus glow adjustments in light theme */
body.light-theme .form-group-glow input:focus {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 0 15px rgba(30, 94, 255, 0.2);
}

/* Tablet & Mobile responsive behavior for theme toggle button */
@media (max-width: 768px) {
  .theme-toggle-btn {
    width: 50px;
    height: 50px;
    margin-bottom: 0;
  }
  
  body.light-theme .btn-secondary {
    color: #0c141c;
    border-color: rgba(12, 20, 28, 0.35);
  }
  body.light-theme .btn-secondary:hover,
  body.light-theme .btn-secondary:active {
    color: #000000;
    border-color: #000000;
    background: rgba(0, 0, 0, 0.05);
  }

  body.light-theme .hud-stat-number {
    color: var(--color-on-surface);
  }

  body.light-theme .hud-stat-item {
    background: rgba(255, 255, 255, 0.8);
    border-color: rgba(15, 23, 42, 0.1);
  }
}

/* --- HAMBURGER MENU & FULL-SCREEN OVERLAY --- */
.menu-toggle {
  display: none; /* Hidden on desktop */
  background: rgba(30, 94, 255, 0.07);
  border: 1px solid rgba(30, 94, 255, 0.15);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  position: relative;
  cursor: pointer;
  z-index: 1005;
  transition: all 0.3s ease;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
}

.menu-toggle:hover {
  background: rgba(30, 94, 255, 0.15);
  transform: scale(1.05);
}

.hamburger-bar {
  display: block;
  width: 18px;
  height: 2px;
  background-color: #1a2530;
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* Full-Screen Menu Overlay */
.full-screen-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  background: rgba(8, 14, 22, 0.98);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.4s;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
}

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

/* Close Button */
.menu-close {
  position: absolute;
  top: 2rem;
  right: 2rem;
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.6);
  font-size: 2.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.menu-close:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.05);
  transform: rotate(90deg);
}

/* Menu Content & Links */
.menu-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3.5rem;
  width: 100%;
  max-width: 480px;
  padding: 2rem;
  z-index: 5;
}

.menu-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  width: 100%;
}

.menu-link-item {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2.25rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  letter-spacing: -0.02em;
}

.menu-link-item::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 50%;
  width: 0;
  height: 2px;
  background: #1e5eff;
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.menu-link-item:hover {
  color: #ffffff;
  transform: translateY(-2px);
}

.menu-link-item:hover::after {
  width: 40px;
}

.menu-link-item.active {
  color: #1e5eff;
}

.menu-link-item.active::after {
  width: 40px;
  background: #1e5eff;
  box-shadow: 0 0 10px #1e5eff, 0 0 20px #1e5eff;
  animation: led-underline-pulse 1s infinite alternate ease-in-out;
}

@keyframes led-underline-pulse {
  0% {
    box-shadow: 0 0 4px rgba(30, 94, 255, 0.4);
    opacity: 0.7;
  }
  100% {
    box-shadow: 0 0 12px rgba(30, 94, 255, 1), 0 0 25px rgba(30, 94, 255, 0.7);
    opacity: 1;
  }
}

.menu-contact-wrapper {
  width: 100%;
  display: flex;
  justify-content: center;
}

.menu-contact-btn {
  padding: 0.9rem 2.2rem !important;
  font-size: 1.05rem !important;
  border-radius: 50px !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.6rem !important;
  background: #1e5eff !important;
  border: 1px solid #1e5eff !important;
  color: #ffffff !important;
  box-shadow: 0 0 25px rgba(30, 94, 255, 0.4) !important;
}

.menu-contact-btn:hover {
  background: #0f4ee6 !important;
  box-shadow: 0 0 35px rgba(30, 94, 255, 0.6) !important;
}

/* Light Theme Adapt */
body.light-theme .full-screen-menu {
  background: rgba(255, 255, 255, 0.98);
}
body.light-theme .menu-close {
  color: rgba(12, 20, 28, 0.6);
  border-color: rgba(0, 0, 0, 0.05);
}
body.light-theme .menu-close:hover {
  color: #0c141c;
  background: rgba(0, 0, 0, 0.05);
}
body.light-theme .menu-link-item {
  color: rgba(12, 20, 28, 0.8);
}
body.light-theme .menu-link-item:hover {
  color: #0c141c;
}

/* Decorative Glows for Menu */
.menu-glow {
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.15;
  pointer-events: none;
  z-index: 1;
}

.menu-glow.glow-1 {
  background: #1e5eff;
  top: 10%;
  left: 10%;
}

.menu-glow.glow-2 {
  background: #ff007f;
  bottom: 10%;
  right: 10%;
}

/* ==========================================================================
   MUGS ATTACK CTA BANNER STYLES
   ========================================================================== */
:root {
  --color-neon-pink: #ff007f;
  --glow-neon-pink: rgba(255, 0, 127, 0.35);
  --glow-neon-pink-strong: rgba(255, 0, 127, 0.7);
}

.mugs-attack-section {
  padding: 4rem 0;
  position: relative;
  z-index: 3;
}

.mugs-attack-container {
  max-width: 100%;
  margin: 0 auto;
}

.mugs-attack-banner {
  min-height: 420px;
  display: flex;
  align-items: center;
  position: relative;
  border-radius: var(--rounded-lg);
  border: 1.5px solid var(--color-neon-pink) !important;
  box-shadow: 
    0 0 15px var(--glow-neon-pink),
    0 0 30px rgba(138, 43, 226, 0.15),
    inset 0 0 15px rgba(255, 0, 127, 0.1) !important;
  background: 
    linear-gradient(90deg, rgba(8, 14, 22, 0.98) 0%, rgba(8, 14, 22, 0.85) 45%, rgba(8, 14, 22, 0.25) 75%, rgba(8, 14, 22, 0.15) 100%), 
    url('assets/banner-mugs-attack.jpg') no-repeat center center / cover !important;
  overflow: hidden;
  padding: 3rem 4rem;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.mugs-attack-banner:hover {
  box-shadow: 
    0 0 25px var(--glow-neon-pink-strong),
    0 0 50px rgba(138, 43, 226, 0.25),
    inset 0 0 20px rgba(255, 0, 127, 0.2) !important;
  transform: translateY(-2px);
}

.mugs-particles-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.mugs-banner-content {
  position: relative;
  z-index: 2;
  max-width: 55%;
  display: flex;
  flex-direction: column;
  gap: var(--spacing-element-gap);
}

.mugs-banner-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.neon-pink-dot {
  background-color: var(--color-neon-pink);
  box-shadow: 0 0 8px var(--color-neon-pink);
}

.neon-pink-tag-text {
  color: var(--color-neon-pink);
  text-shadow: 0 0 5px rgba(255, 0, 127, 0.4);
}

.mugs-banner-title {
  font-size: 2.5rem;
  line-height: 1.1;
  font-weight: 700;
  color: #ffffff;
  text-transform: uppercase;
  margin: 0;
  letter-spacing: -0.01em;
}

.mugs-banner-subtitle {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--color-neon-pink);
  margin-top: -0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-shadow: 0 0 8px rgba(255, 0, 127, 0.35);
}

.mugs-banner-description {
  font-size: 1rem;
  color: var(--color-on-surface-variant);
  line-height: 1.6;
  margin: 0;
}

.mugs-banner-actions {
  margin-top: 0.5rem;
}

.btn-neon-pink {
  background: var(--color-neon-pink) !important;
  border-color: var(--color-neon-pink) !important;
  color: #ffffff !important;
  box-shadow: 0 0 15px var(--glow-neon-pink) !important;
  transition: all 0.3s ease !important;
}

.btn-neon-pink:hover {
  background: #ff2d8d !important;
  box-shadow: 0 0 25px var(--glow-neon-pink-strong) !important;
  transform: translateY(-2px);
}

.neon-pink-brackets::before,
.neon-pink-brackets::after {
  border-color: var(--color-neon-pink) !important;
  filter: drop-shadow(0 0 2px var(--color-neon-pink));
}

/* Responsive Styles for Mugs Attack Banner */
@media (max-width: 992px) {
  .mugs-banner-content {
    max-width: 70%;
  }
  .mugs-attack-banner {
    padding: 3rem;
  }
}

@media (max-width: 768px) {
  .mugs-attack-banner {
    min-height: auto;
    padding: 2.5rem 1.5rem;
    background: 
      linear-gradient(180deg, rgba(8, 14, 22, 0.95) 0%, rgba(8, 14, 22, 0.85) 60%, rgba(8, 14, 22, 0.7) 100%), 
      url('assets/banner-mugs-attack.jpg') no-repeat center center / cover !important;
    align-items: flex-start;
  }
  .mugs-banner-content {
    max-width: 100%;
  }
  .mugs-banner-title {
    font-size: 2rem;
  }
  .mugs-banner-subtitle {
    font-size: 1.25rem;
  }
}

/* Light Theme Adaptability */
body.light-theme .mugs-attack-banner {
  background: 
    linear-gradient(90deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.85) 45%, rgba(255, 255, 255, 0.3) 75%, rgba(255, 255, 255, 0.15) 100%), 
    url('assets/banner-mugs-attack.jpg') no-repeat center center / cover !important;
  border-color: var(--color-neon-pink) !important;
  box-shadow: 
    0 10px 25px rgba(255, 0, 127, 0.15),
    0 0 15px rgba(255, 0, 127, 0.1) !important;
}

body.light-theme .mugs-attack-banner:hover {
  box-shadow: 
    0 12px 30px rgba(255, 0, 127, 0.25),
    0 0 20px rgba(255, 0, 127, 0.15) !important;
}

body.light-theme .mugs-banner-title {
  color: #0c141c;
}

body.light-theme .mugs-banner-description {
  color: #323a42;
}

@media (max-width: 768px) {
  body.light-theme .mugs-attack-banner {
    background: 
      linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0.88) 60%, rgba(255, 255, 255, 0.75) 100%), 
      url('assets/banner-mugs-attack.jpg') no-repeat center center / cover !important;
  }
}

/* ==========================================================================
   HOSTING & DOMINIO CTA BANNER STYLES
   ========================================================================== */
.hosting-dominio-section {
  padding: 4rem 0 0 0;
  position: relative;
  z-index: 3;
}

.hosting-dominio-container {
  max-width: 100%;
  margin: 0 auto;
}

.hosting-dominio-banner {
  min-height: 420px;
  display: flex;
  align-items: center;
  position: relative;
  border-radius: var(--rounded-lg);
  border: 1.5px solid #673de6 !important;
  box-shadow: 
    0 0 15px rgba(103, 61, 230, 0.35),
    0 0 30px rgba(138, 43, 226, 0.15),
    inset 0 0 15px rgba(103, 61, 230, 0.1) !important;
  background: 
    linear-gradient(90deg, rgba(8, 14, 22, 0.98) 0%, rgba(8, 14, 22, 0.85) 45%, rgba(8, 14, 22, 0.25) 75%, rgba(8, 14, 22, 0.15) 100%), 
    url('assets/banner-cta-hosting-dominio.jpg') no-repeat center center / cover !important;
  overflow: hidden;
  padding: 3rem 4rem;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.hosting-dominio-banner:hover {
  box-shadow: 
    0 0 25px rgba(103, 61, 230, 0.65),
    0 0 50px rgba(138, 43, 226, 0.25),
    inset 0 0 20px rgba(103, 61, 230, 0.2) !important;
  transform: translateY(-2px);
}

.hosting-particles-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.hosting-banner-content {
  position: relative;
  z-index: 2;
  max-width: 55%;
  display: flex;
  flex-direction: column;
  gap: var(--spacing-element-gap);
}

.hosting-banner-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.neon-purple-dot {
  background-color: #8c52ff;
  box-shadow: 0 0 8px #8c52ff;
}

.neon-purple-tag-text {
  color: #b9c6e8;
  text-shadow: 0 0 5px rgba(140, 82, 255, 0.4);
}

.hosting-banner-title {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.1;
  color: var(--color-text-bright);
  margin: 0;
  letter-spacing: -0.02em;
}

.hosting-banner-subtitle {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.5rem;
  font-weight: 500;
  color: #8c52ff;
  margin-top: -0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-shadow: 0 0 8px rgba(140, 82, 255, 0.35);
}

.hosting-banner-description {
  font-size: 1rem;
  color: var(--color-on-surface-variant);
  line-height: 1.6;
  margin: 0;
}

.hosting-banner-actions {
  margin-top: 0.5rem;
}

.btn-neon-purple {
  background: #673de6 !important;
  border-color: #673de6 !important;
  color: #ffffff !important;
  box-shadow: 0 0 15px rgba(103, 61, 230, 0.35) !important;
  transition: all 0.3s ease !important;
}

.btn-neon-purple:hover {
  background: #8c52ff !important;
  box-shadow: 0 0 25px rgba(140, 82, 255, 0.65) !important;
  transform: translateY(-2px);
}

.neon-purple-brackets::before,
.neon-purple-brackets::after {
  border-color: #673de6 !important;
  filter: drop-shadow(0 0 2px #673de6);
}

/* Light theme adaptations */
body.light-theme .hosting-dominio-banner {
  background: 
    linear-gradient(90deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.85) 45%, rgba(255, 255, 255, 0.3) 75%, rgba(255, 255, 255, 0.15) 100%), 
    url('assets/banner-cta-hosting-dominio.jpg') no-repeat center center / cover !important;
  border-color: #673de6 !important;
  box-shadow: 
    0 10px 25px rgba(103, 61, 230, 0.15),
    0 0 15px rgba(103, 61, 230, 0.1) !important;
}

body.light-theme .hosting-dominio-banner:hover {
  box-shadow: 
    0 12px 30px rgba(103, 61, 230, 0.25),
    0 0 20px rgba(103, 61, 230, 0.15) !important;
}

body.light-theme .hosting-banner-title {
  color: #0c141c;
}

body.light-theme .hosting-banner-description {
  color: #323a42;
}

/* Responsive Styles for Hosting Banner */
@media (max-width: 992px) {
  .hosting-banner-content {
    max-width: 70%;
  }
  .hosting-banner-title {
    font-size: 2rem;
  }
  .hosting-banner-subtitle {
    font-size: 1.2rem;
  }
}

@media (max-width: 768px) {
  .hosting-dominio-banner {
    padding: 3rem 2rem;
    min-height: auto;
  }
  .hosting-banner-content {
    max-width: 100%;
    text-align: left;
    align-items: flex-start;
  }
  .hosting-banner-tag {
    justify-content: flex-start;
  }
  body.light-theme .hosting-dominio-banner {
    background: 
      linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0.88) 60%, rgba(255, 255, 255, 0.75) 100%), 
      url('assets/banner-cta-hosting-dominio.jpg') no-repeat center center / cover !important;
  }
}
