/* ===== VARIABLES CSS ===== */
:root {
  /* Colores corporativos de TypingSoft */
  --primary-blue: #0000A1;
  --secondary-cyan: #2AD0D0;
  --accent-blue: #135F94;

  /* Gradientes */
  --gradient-primary: linear-gradient(135deg, var(--primary-blue) 0%, var(--accent-blue) 100%);
  --gradient-secondary: linear-gradient(135deg, var(--secondary-cyan) 0%, var(--accent-blue) 100%);
  --gradient-hero: linear-gradient(135deg, #000428 0%, #004e92 100%);

  /* Colores adicionales */
  --white: #FFFFFF;
  --black: #000000;
  --dark-bg: #0A0A0A;
  --light-bg: #F8F9FA;
  --text-primary: #FFFFFF;
  --text-secondary: #B8BCC8;
  --text-dark: #2D3748;

  /* Tipografías */
  --font-primary: 'Orbitron', monospace;
  --font-secondary: 'Rajdhani', sans-serif;

  /* Espaciado */
  --section-padding: 120px 0;
  --container-padding: 0 20px;
  --border-radius: 12px;

  /* Sombras */
  --shadow-primary: 0 10px 40px rgba(0, 0, 161, 0.3);
  --shadow-secondary: 0 10px 40px rgba(42, 208, 208, 0.3);
  --shadow-dark: 0 20px 60px rgba(0, 0, 0, 0.5);

  /* Transiciones */
  --transition-fast: 0.3s ease;
  --transition-slow: 0.6s ease;
}

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

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

body {
  font-family: var(--font-secondary);
  background: var(--dark-bg);
  color: var(--text-primary);
  overflow-x: hidden !important;
  overflow-y: auto;
  width: 100vw;
  max-width: 100vw;
  min-width: 100vw;
  position: relative;
  line-height: 1.6;
}

.container {
  max-width: 1200px;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
  margin: 0 auto;
  padding: var(--container-padding);
  overflow-x: hidden;
}

/* ===== PRELOADER ===== */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  min-width: 100vw;
  max-width: 100vw;
  height: 100vh;
  min-height: 100vh;
  max-height: 100vh;
  background: linear-gradient(45deg, var(--dark-bg), var(--primary-blue));
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10000;
  transition: opacity 0.8s ease;
  overflow: hidden;
}

.loader {
  text-align: center;
}

.preloader-logo {
  margin-bottom: 30px;
}

.preloader-logo-image {
  height: 80px;
  width: auto;
  animation: preloaderLogoFloat 2s ease-in-out infinite alternate;
  filter: drop-shadow(0 0 20px rgba(42, 208, 208, 0.6));
}

@keyframes preloaderLogoFloat {
  0% {
    transform: translateY(0px) scale(1);
    filter: drop-shadow(0 0 20px rgba(42, 208, 208, 0.6));
  }

  100% {
    transform: translateY(-10px) scale(1.05);
    filter: drop-shadow(0 0 30px rgba(42, 208, 208, 0.9));
  }
}

.loader-cube {
  width: 60px;
  height: 60px;
  position: relative;
  margin: 0 auto 30px;
  transform-style: preserve-3d;
  animation: cubeRotate 2s infinite linear;
}

.face {
  position: absolute;
  width: 60px;
  height: 60px;
  background: var(--gradient-primary);
  border: 2px solid var(--secondary-cyan);
  opacity: 0.8;
}

.face-front {
  transform: rotateY(0deg) translateZ(30px);
}

.face-back {
  transform: rotateY(180deg) translateZ(30px);
}

.face-right {
  transform: rotateY(90deg) translateZ(30px);
}

.face-left {
  transform: rotateY(-90deg) translateZ(30px);
}

.face-top {
  transform: rotateX(90deg) translateZ(30px);
}

.face-bottom {
  transform: rotateX(-90deg) translateZ(30px);
}

@keyframes cubeRotate {
  0% {
    transform: rotateX(0deg) rotateY(0deg);
  }

  100% {
    transform: rotateX(360deg) rotateY(360deg);
  }
}

.loading-text {
  font-family: var(--font-primary);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--secondary-cyan);
  letter-spacing: 3px;
  animation: pulse 1.5s infinite;
}

@keyframes pulse {

  0%,
  100% {
    opacity: 0.6;
  }

  50% {
    opacity: 1;
  }
}

/* ===== 3D BACKGROUND CANVAS ===== */
#bg-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background: linear-gradient(45deg, #000428, #004e92);
}

/* ===== NAVEGACIÓN ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(42, 208, 208, 0.1);
  z-index: 1000;
  transition: all var(--transition-fast);
}

.navbar.scrolled {
  background: rgba(0, 0, 0, 0.95);
  box-shadow: var(--shadow-dark);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.nav-logo {
  display: flex;
  align-items: center;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 12px;
  transition: all var(--transition-fast);
}

.logo-container:hover {
  transform: scale(1.05);
}

.logo-image {
  height: 40px;
  width: auto;
  filter: drop-shadow(0 0 10px rgba(42, 208, 208, 0.3));
  transition: all var(--transition-fast);
}

.logo-image:hover {
  filter: drop-shadow(0 0 20px rgba(42, 208, 208, 0.6));
  transform: rotate(5deg);
}

.logo-text-container {
  display: flex;
  flex-direction: column;
}

.logo-text {
  font-family: var(--font-primary);
  font-size: 1.8rem;
  font-weight: 900;
  background: var(--gradient-secondary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.logo-subtitle {
  font-size: 0.7rem;
  color: var(--text-secondary);
  letter-spacing: 2px;
  margin-top: -5px;
}

.nav-menu {
  display: flex;
  gap: 40px;
}

.nav-link {
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 1px;
  position: relative;
  transition: all var(--transition-fast);
}

.nav-link:hover {
  color: var(--secondary-cyan);
  transform: translateY(-2px);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-secondary);
  transition: width var(--transition-fast);
}

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

.nav-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.bar {
  width: 25px;
  height: 3px;
  background: var(--secondary-cyan);
  margin: 3px 0;
  transition: var(--transition-fast);
}

/* ===== HERO SECTION ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  padding: 120px 20px 80px;
  background: var(--gradient-hero);
  overflow: hidden;
}

.hero-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  text-align: center;
  z-index: 2;
}

.hero-title {
  font-family: var(--font-primary);
  font-size: clamp(2.5rem, 8vw, 5rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 30px;
}

.title-line {
  display: block;
  opacity: 0;
  transform: translateY(100px);
  animation: slideUpFade 1s ease forwards;
}

.title-line:nth-child(1) {
  animation-delay: 0.2s;
}

.title-line:nth-child(2) {
  animation-delay: 0.4s;
  background: var(--gradient-secondary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.title-line:nth-child(3) {
  animation-delay: 0.6s;
}

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

.hero-subtitle {
  font-size: 1.5rem;
  color: var(--text-secondary);
  margin-bottom: 50px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 60px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

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

.stat-number {
  display: block;
  font-family: var(--font-primary);
  font-size: 3rem;
  font-weight: 900;
  color: var(--secondary-cyan);
  line-height: 1;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--text-secondary);
  letter-spacing: 2px;
  margin-top: 5px;
}

.hero-actions {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===== BOTONES ===== */
.btn {
  padding: 15px 30px;
  border: none;
  border-radius: var(--border-radius);
  font-family: var(--font-secondary);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all var(--transition-fast);
  position: relative;
  overflow: hidden;
  text-decoration: none;
  display: inline-block;
  text-align: center;
}

.btn-primary {
  background: var(--gradient-primary);
  color: var(--white);
  box-shadow: var(--shadow-primary);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 50px rgba(0, 0, 161, 0.4);
}

.btn-secondary {
  background: transparent;
  color: var(--secondary-cyan);
  border: 2px solid var(--secondary-cyan);
}

.btn-secondary:hover {
  background: var(--secondary-cyan);
  color: var(--dark-bg);
  transform: translateY(-3px);
}

.btn-full {
  width: 100%;
}

/* ===== FLOATING ELEMENTS ===== */
.hero-visual {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.floating-elements {
  position: relative;
  width: 100%;
  height: 100%;
}

.floating-cube,
.floating-sphere {
  position: absolute;
  background: var(--gradient-secondary);
  border-radius: 8px;
  opacity: 0.1;
  animation: float 6s ease-in-out infinite;
}

.floating-sphere {
  border-radius: 50%;
}

.cube-1 {
  width: 60px;
  height: 60px;
  top: 20%;
  left: 10%;
  animation-delay: 0s;
}

.cube-2 {
  width: 40px;
  height: 40px;
  top: 60%;
  right: 15%;
  animation-delay: 2s;
}

.cube-3 {
  width: 80px;
  height: 80px;
  bottom: 30%;
  left: 20%;
  animation-delay: 4s;
}

.sphere-1 {
  width: 30px;
  height: 30px;
  top: 30%;
  right: 25%;
  animation-delay: 1s;
}

.sphere-2 {
  width: 50px;
  height: 50px;
  bottom: 20%;
  right: 10%;
  animation-delay: 3s;
}

@keyframes float {

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

  50% {
    transform: translateY(-20px) rotate(180deg);
  }
}

/* ===== SCROLL INDICATOR ===== */
.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  animation: bounce 2s infinite;
}

.scroll-arrow {
  width: 2px;
  height: 40px;
  background: var(--secondary-cyan);
  margin: 0 auto 10px;
  position: relative;
}

.scroll-arrow::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: -4px;
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--secondary-cyan);
  border-bottom: 2px solid var(--secondary-cyan);
  transform: rotate(45deg);
}

.scroll-indicator span {
  font-size: 0.8rem;
  color: var(--text-secondary);
  letter-spacing: 2px;
}

@keyframes bounce {

  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateX(-50%) translateY(0);
  }

  40% {
    transform: translateX(-50%) translateY(-10px);
  }

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

/* ===== SECCIONES GENERALES ===== */
section {
  padding: var(--section-padding);
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: 80px;
}

.section-subtitle {
  font-size: 0.9rem;
  color: var(--secondary-cyan);
  letter-spacing: 3px;
  font-weight: 600;
  margin-bottom: 10px;
  display: block;
}

.section-title {
  font-family: var(--font-primary);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 900;
  margin-bottom: 20px;
  background: var(--gradient-secondary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-description {
  font-size: 1.2rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.8;
}

/* ===== SERVICES SECTION - REAL WHEEL ===== */
.services {
  background: linear-gradient(135deg, var(--dark-bg) 0%, #1a1a2e 100%);
  min-height: 100vh;
  position: relative;
  padding: 80px 0;
}

.scroll-wheel-indicator {
  text-align: center;
  margin-bottom: 20px;
  opacity: 0.8;
}

.wheel-icon {
  font-size: 2rem;
  animation: bounce 2s infinite;
  margin-bottom: 10px;
  display: block;
}

.scroll-wheel-indicator span {
  color: var(--text-secondary);
  font-size: 0.9rem;
  letter-spacing: 1px;
}

/* Main Services Layout */
.services-layout {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 60px;
  align-items: center;
  min-height: 70vh;
  padding: 60px 0;
}

/* Content Area (Left Side) */
.service-content-area {
  position: relative;
  height: 500px;
  overflow: hidden;
}

.service-content-item {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transform: translateX(-50px);
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.service-content-item.active {
  opacity: 1;
  transform: translateX(0);
}

.service-content-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(42, 208, 208, 0.2);
  border-radius: 20px;
  padding: 30px;
  height: 100%;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
}

.service-content-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--gradient-primary);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
}

.service-content-card:hover::before {
  opacity: 0.1;
}

.service-badge {
  display: inline-block;
  background: var(--gradient-primary);
  color: var(--white);
  padding: 6px 12px;
  border-radius: 15px;
  font-size: 0.7rem;
  font-weight: 600;
  margin-bottom: 15px;
}

.service-title {
  font-family: var(--font-primary);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 15px;
  background: var(--gradient-primary);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.service-description {
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 20px;
  font-size: 1rem;
}

.service-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 10px;
  margin-bottom: 20px;
}

.feature-tag {
  background: rgba(42, 208, 208, 0.1);
  border: 1px solid rgba(42, 208, 208, 0.3);
  color: var(--secondary-cyan);
  padding: 8px 12px;
  border-radius: 12px;
  font-size: 0.9rem;
  text-align: center;
  transition: all 0.3s ease;
}

.feature-tag:hover {
  background: rgba(42, 208, 208, 0.2);
  transform: translateY(-2px);
}

.service-stats {
  display: flex;
  gap: 40px;
}

.stat {
  text-align: center;
}

.stat-number {
  display: block;
  font-family: var(--font-primary);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--secondary-cyan);
  line-height: 1;
}

.stat-label {
  color: var(--text-secondary);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Wheel Area (Right Side) */
.wheel-area {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}

.services-wheel {
  width: 300px;
  height: 300px;
  position: relative;
  border-radius: 50%;
  background: linear-gradient(45deg, rgba(42, 208, 208, 0.1), rgba(0, 0, 161, 0.1));
  border: 3px solid rgba(42, 208, 208, 0.3);
  box-shadow:
    0 0 50px rgba(42, 208, 208, 0.2),
    inset 0 0 50px rgba(42, 208, 208, 0.1);
  transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  transform-style: preserve-3d;
  /* Asegurar que el pointer se vea correctamente */
  overflow: visible;
}

/* Wheel Center - Dinámico, sigue al elemento activo */
.wheel-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 85px;
  /* Reducido de 100px a 85px */
  height: 85px;
  /* Reducido de 100px a 85px */
  background: radial-gradient(circle, var(--primary-blue), var(--secondary-cyan));
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 20;
  /* Mayor z-index para que esté siempre arriba */
  box-shadow: 0 0 30px rgba(42, 208, 208, 0.5);
  /* Permitir transformaciones suaves */
  transition: none;
  /* GSAP maneja las transiciones */
  transform-origin: center;
  pointer-events: none;
  /* No interfiere con clicks */
}

.wheel-logo {
  width: 30px;
  /* Reducido de 35px a 30px */
  height: 35px;
  /* Reducido de 40px a 35px */
  margin-bottom: 3px;
  /* Reducido de 5px a 3px */
}

.center-text {
  color: var(--white);
  font-size: 0.6rem;
  /* Reducido de 0.7rem a 0.6rem */
  font-weight: 600;
  letter-spacing: 1px;
}

/* Wheel Segments */
.wheel-segment {
  position: absolute;
  width: 150px;
  height: 150px;
  top: 0;
  left: 50%;
  transform-origin: bottom center;
  transform: translateX(-50%) rotate(var(--rotation));
  clip-path: polygon(40% 0%, 60% 0%, 100% 100%, 0% 100%);
  background: rgba(42, 208, 208, 0.1);
  border: 1px solid rgba(42, 208, 208, 0.3);
  transition: all 0.3s ease;
  cursor: pointer;
}

.wheel-segment:hover {
  background: rgba(42, 208, 208, 0.2);
  transform: translateX(-50%) rotate(var(--rotation)) scale(1.05);
}

.wheel-segment.active {
  background: rgba(42, 208, 208, 0.3);
  border-color: var(--secondary-cyan);
  box-shadow: 0 0 20px rgba(42, 208, 208, 0.4);
}

.segment-content {
  position: absolute;
  top: 30px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  color: var(--white);
  /* El texto ya no se rota con el segmento - efecto giroscopio */
  transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.segment-icon {
  font-size: 2rem;
  margin-bottom: 10px;
  /* Mantener el icono siempre legible */
  transition: all 0.3s ease;
}

.segment-text {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 1px;
  line-height: 1.2;
  /* Texto siempre horizontal para máxima legibilidad */
  transition: all 0.3s ease;
}

/* Wheel Pointer - Posicionado y animado */
.wheel-pointer {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translateX(-50%) translateY(-50%);
  transform-origin: center;
  width: 0;
  height: 0;
  border-top: 15px solid transparent;
  border-bottom: 15px solid transparent;
  border-left: 30px solid var(--secondary-cyan);
  filter: drop-shadow(0 0 10px rgba(42, 208, 208, 0.5));
  z-index: 15;
  transition: filter 0.3s ease;
  /* Posición inicial: apuntar al primer segmento (derecha) */
  transform: translateX(-50%) translateY(-50%) translateX(175px) rotate(90deg);
}

/* Hover effect para la flecha */
.wheel-pointer:hover {
  filter: drop-shadow(0 0 20px rgba(42, 208, 208, 0.8));
}

/* Progress Dots */
.wheel-progress {
  display: flex;
  justify-content: center;
}

.progress-dots {
  display: flex;
  gap: 15px;
}

.progress-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(42, 208, 208, 0.3);
  border: 2px solid rgba(42, 208, 208, 0.5);
  cursor: pointer;
  transition: all 0.3s ease;
}

.progress-dot.active {
  background: var(--secondary-cyan);
  border-color: var(--secondary-cyan);
  box-shadow: 0 0 15px rgba(42, 208, 208, 0.5);
}

.progress-dot:hover {
  transform: scale(1.2);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .services-layout {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .services-wheel {
    width: 300px;
    height: 300px;
  }

  .wheel-center {
    width: 100px;
    height: 100px;
  }
}

@media (max-width: 768px) {
  .service-content-card {
    padding: 30px 20px;
  }

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


  .wheel-area {
    gap: 15px;
    width: 100vw;
    max-width: 100vw;
    min-width: 0;
    padding: 0;
  }

  .services-wheel {
    width: 180px;
    height: 180px;
    min-width: 0;
    max-width: 90vw;
    margin: 0 auto;
    position: relative;
    left: unset;
    transform: none;
  }

  .wheel-center {
    width: 60px;
    height: 60px;
    font-size: 0.5rem;
  }

  .wheel-segment {
    width: 90px;
    height: 90px;
    top: 0;
    left: 50%;
    clip-path: polygon(40% 0%, 60% 0%, 100% 100%, 0% 100%);
    font-size: 0.7rem;
  }

  .segment-content {
    top: 10px;
    font-size: 0.7rem;
  }

  .segment-icon {
    font-size: 1.2rem;
    margin-bottom: 5px;
  }

  .wheel-pointer {
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
    border-left: 12px solid var(--secondary-cyan);
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%) translateX(0px) rotate(90deg) !important;
    /* Cruceta pegada al borde de la ruleta */
  }

  .progress-dot {
    width: 8px;
    height: 8px;
    gap: 8px;
  }

  .service-features {
    grid-template-columns: 1fr;
  }
}

/* ===== INNOVATION SECTION ===== */
.innovation {
  background: linear-gradient(135deg, #0f0f23 0%, var(--dark-bg) 100%);
}

.service-features-large {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 30px;
}

.feature-tag {
  background: rgba(42, 208, 208, 0.1);
  border: 1px solid rgba(42, 208, 208, 0.3);
  color: var(--secondary-cyan);
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

.feature-tag:hover {
  background: rgba(42, 208, 208, 0.2);
  transform: translateY(-2px);
}

.service-stats {
  display: flex;
  gap: 40px;
}

.stat {
  text-align: center;
}

.stat-number {
  display: block;
  font-family: var(--font-primary);
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--secondary-cyan);
  line-height: 1;
}

.stat-label {
  color: var(--text-secondary);
  font-size: 0.9rem;
  letter-spacing: 1px;
  margin-top: 5px;
}

/* ===== WHEEL PROGRESS ===== */
.wheel-progress {
  position: fixed;
  right: 40px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 100;
}

.progress-dots {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 20px;
}

.progress-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(42, 208, 208, 0.3);
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
}

.progress-dot::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 6px;
  height: 6px;
  background: var(--secondary-cyan);
  border-radius: 50%;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.progress-dot.active::after {
  opacity: 1;
}

.progress-dot:hover {
  background: rgba(42, 208, 208, 0.5);
  transform: scale(1.2);
}

.progress-bar {
  width: 2px;
  height: 100px;
  background: rgba(42, 208, 208, 0.2);
  position: relative;
}

.progress-fill {
  width: 100%;
  background: var(--gradient-secondary);
  transition: height 0.8s ease;
  height: 25%;
}

/* ===== CURRENT SERVICE INFO ===== */
.current-service-info {
  position: fixed;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  z-index: 100;
}

.service-counter {
  font-family: var(--font-primary);
  font-size: 1.2rem;
  color: var(--secondary-cyan);
  margin-right: 20px;
}

.service-name {
  color: var(--text-primary);
  font-weight: 600;
  letter-spacing: 1px;
}

/* ===== CONTINUE SCROLL INDICATOR ===== */
.continue-scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.continue-scroll-indicator.show {
  opacity: 1;
}

.continue-arrow {
  font-size: 2rem;
  color: var(--secondary-cyan);
  animation: bounce 2s infinite;
  margin-bottom: 10px;
}

.continue-scroll-indicator span {
  color: var(--text-secondary);
  font-size: 0.9rem;
  letter-spacing: 1px;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1024px) {
  .service-wheel-card {
    grid-template-columns: 1fr;
    text-align: center;
    max-width: 700px;
    padding: 40px 30px;
  }

  .service-title-large {
    font-size: 2rem;
  }

  .icon-3d-large {
    font-size: 4rem;
  }
}

@media (max-width: 768px) {
  .services {
    min-height: unset;
    padding: 20px 0 10px 0;
    height: auto;
    box-sizing: border-box;
  }

  .service-wheel-card {
    padding: 30px 20px;
    max-width: 90%;
  }

  .service-title-large {
    font-size: 1.8rem;
  }

  .service-description-large {
    font-size: 1rem;
  }

  .wheel-progress {
    right: 20px;
  }

  .current-service-info {
    bottom: 20px;
  }

  .service-stats {
    gap: 20px;
  }

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

/* ===== INNOVATION SECTION ===== */
.innovation {
  background: linear-gradient(135deg, #0f0f23 0%, var(--dark-bg) 100%);
}

.innovation-content {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: flex-start;
  min-height: 80vh;
}

.innovation-text {
  z-index: 10;
  position: relative;
}

.innovation-description {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 30px;
  line-height: 1.8;
}

.innovation-features {
  display: grid;
  gap: 20px;
  margin-bottom: 40px;
  z-index: 10;
  position: relative;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 25px;
  border-radius: 15px;
  background: linear-gradient(135deg, rgba(42, 208, 208, 0.2), rgba(0, 0, 161, 0.15));
  border: 2px solid rgba(42, 208, 208, 0.4);
  transition: all 0.3s ease;
  backdrop-filter: blur(15px);
  cursor: pointer;
  box-shadow: 0 8px 32px rgba(42, 208, 208, 0.1);
}

.feature-item:hover {
  background: linear-gradient(135deg, rgba(42, 208, 208, 0.3), rgba(0, 0, 161, 0.25));
  transform: translateY(-8px) translateX(8px);
  box-shadow:
    0 20px 40px rgba(42, 208, 208, 0.3),
    0 0 0 3px rgba(42, 208, 208, 0.5);
  border-color: rgba(42, 208, 208, 0.8);
}

.feature-icon {
  font-size: 2.8rem;
  flex-shrink: 0;
  background: linear-gradient(45deg, var(--secondary-cyan), var(--primary-blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 15px rgba(42, 208, 208, 0.6));
}

.feature-content h4 {
  font-family: var(--font-primary);
  font-size: 1.2rem;
  margin-bottom: 8px;
  color: var(--secondary-cyan);
  font-weight: 700;
  letter-spacing: 0.5px;
  text-shadow: 0 0 10px rgba(42, 208, 208, 0.3);
}

.feature-content p {
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
  font-size: 0.95rem;
}

/* ===== INTERACTIVE PHONE ===== */
.innovation-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  perspective: 1000px;
}

.phone-container {
  position: relative;
  transform-style: preserve-3d;
  animation: phoneFloat 6s ease-in-out infinite;
}

.phone-frame {
  width: 260px;
  height: 520px;
  background: linear-gradient(145deg, #1a1a1a, #2d2d2d);
  border-radius: 35px;
  padding: 15px;
  box-shadow:
    0 20px 40px rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(255, 255, 255, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  position: relative;
  transform: rotateY(8deg) rotateX(3deg);
  transition: transform 0.3s ease;
  z-index: 5;
}

.phone-frame:hover {
  transform: rotateY(0deg) rotateX(0deg) scale(1.02);
}

.phone-screen {
  width: 100%;
  height: 100%;
  background: #000;
  border-radius: 25px;
  overflow: hidden;
  position: relative;
}

.phone-speaker {
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: #333;
  border-radius: 2px;
}

.phone-home-btn {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 4px;
  background: #333;
  border-radius: 2px;
}

.phone-volume-up,
.phone-volume-down {
  position: absolute;
  left: -2px;
  width: 4px;
  height: 30px;
  background: #2d2d2d;
  border-radius: 2px;
}

.phone-volume-up {
  top: 120px;
}

.phone-volume-down {
  top: 160px;
}

.phone-power {
  position: absolute;
  right: -2px;
  top: 100px;
  width: 4px;
  height: 40px;
  background: #2d2d2d;
  border-radius: 2px;
}

.phone-reflection {
  position: absolute;
  bottom: -20px;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, transparent, rgba(42, 208, 208, 0.1));
  transform: scaleY(0.3) rotateX(180deg);
  opacity: 0.3;
  filter: blur(2px);
}

/* App Screens */
.app-screen {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.5s ease;
}

.app-screen.active {
  opacity: 1;
  transform: translateY(0);
}

/* Loading Screen */
.loading-screen {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.loading-content {
  color: white;
}

.app-logo {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(10px);
}

.app-logo-img {
  width: 50px;
  height: 50px;
}

.app-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 8px;
  font-family: 'Orbitron', sans-serif;
}

.app-subtitle {
  font-size: 14px;
  opacity: 0.8;
  margin-bottom: 30px;
}

.start-app-btn {
  background: linear-gradient(45deg, var(--secondary-cyan), var(--primary-blue));
  border: none;
  padding: 15px 30px;
  border-radius: 25px;
  color: white;
  font-weight: 600;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  font-size: 16px;
}

.start-app-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(42, 208, 208, 0.3);
}

.btn-glow {
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.5s ease;
}

.start-app-btn:hover .btn-glow {
  left: 100%;
}

/* Taxi App Interface */
.taxi-app {
  background: #f8f9fa;
  color: #333;
}

.status-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 15px;
  background: rgba(0, 0, 0, 0.9);
  color: white;
  font-size: 12px;
}

.status-icons {
  display: flex;
  gap: 8px;
  align-items: center;
}

.app-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 15px;
  background: white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.user-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.user-avatar {
  width: 40px;
  height: 40px;
  background: var(--primary-blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 600;
  font-size: 14px;
}

.user-details {
  display: flex;
  flex-direction: column;
}

.greeting {
  font-weight: 600;
  font-size: 16px;
}

.location {
  font-size: 12px;
  color: #666;
}

.notification-badge {
  width: 24px;
  height: 24px;
  background: #ff4757;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 12px;
  font-weight: 600;
}

.map-container {
  height: 200px;
  background: linear-gradient(45deg, #a8e6cf, #88d8c0);
  position: relative;
  margin: 0 15px;
  border-radius: 15px;
  overflow: hidden;
}

.map-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.location-pin {
  position: absolute;
  background: white;
  padding: 5px 10px;
  border-radius: 20px;
  font-size: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  gap: 5px;
}

.location-pin.pickup {
  top: 20px;
  left: 20px;
  background: var(--secondary-cyan);
  color: white;
}

.location-pin.destination {
  bottom: 20px;
  right: 20px;
  background: var(--primary-blue);
  color: white;
}

.taxi-icon {
  position: absolute;
  top: 50%;
  left: 30%;
  transform: translate(-50%, -50%);
  font-size: 24px;
  animation: taxiMove 3s ease-in-out infinite;
}

.route-line {
  position: absolute;
  top: 40px;
  left: 60px;
  width: 140px;
  height: 2px;
  background: repeating-linear-gradient(90deg,
      var(--primary-blue),
      var(--primary-blue) 10px,
      transparent 10px,
      transparent 20px);
  transform: rotate(25deg);
  animation: routeFlow 2s linear infinite;
}

.trip-info {
  padding: 20px 15px;
}

.trip-details {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 15px;
  margin-bottom: 20px;
}

.trip-item {
  text-align: center;
  padding: 15px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.trip-label {
  display: block;
  font-size: 11px;
  color: #666;
  margin-bottom: 5px;
}

.trip-value {
  display: block;
  font-weight: 600;
  color: var(--primary-blue);
  font-size: 14px;
}

.action-buttons {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.action-btn {
  padding: 15px;
  border: none;
  border-radius: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 14px;
}

.action-btn.primary {
  background: var(--primary-blue);
  color: white;
}

.action-btn.secondary {
  background: white;
  color: var(--primary-blue);
  border: 2px solid var(--primary-blue);
}

.action-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.bottom-nav {
  display: flex;
  justify-content: space-around;
  padding: 15px 0;
  background: white;
  border-top: 1px solid #eee;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
}

.nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  padding: 5px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.nav-item.active {
  color: var(--primary-blue);
}

.nav-item:hover {
  transform: scale(1.1);
}

.nav-icon {
  font-size: 18px;
}

.nav-item span {
  font-size: 10px;
  font-weight: 500;
}

/* Animations */
@keyframes phoneFloat {

  0%,
  100% {
    transform: rotateY(10deg) rotateX(5deg) translateY(0px);
  }

  50% {
    transform: rotateY(10deg) rotateX(5deg) translateY(-10px);
  }
}

@keyframes taxiMove {

  0%,
  100% {
    transform: translate(-50%, -50%) scale(1);
  }

  50% {
    transform: translate(-50%, -50%) scale(1.1);
  }
}

@keyframes routeFlow {
  0% {
    background-position: 0 0;
  }

  100% {
    background-position: 20px 0;
  }
}

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

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

.about-description {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 40px;
  line-height: 1.8;
}

.company-values {
  display: grid;
  gap: 20px;
}

.value-item {
  padding: 20px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: var(--border-radius);
  border-left: 4px solid var(--secondary-cyan);
}

.value-item h4 {
  font-family: var(--font-primary);
  margin-bottom: 10px;
  color: var(--white);
}

.value-item p {
  color: var(--text-secondary);
}

.about-stats {
  display: grid;
  gap: 30px;
}

.stat-card {
  background: var(--gradient-primary);
  padding: 30px 20px;
  border-radius: var(--border-radius);
  text-align: center;
  box-shadow: var(--shadow-primary);
  transition: transform var(--transition-fast);
}

.stat-card:hover {
  transform: translateY(-5px) scale(1.05);
}

.stat-card .stat-icon {
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.stat-card .stat-number {
  font-family: var(--font-primary);
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--white);
  display: block;
  line-height: 1;
}

.stat-card .stat-label {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
  letter-spacing: 1px;
  margin-top: 5px;
}

/* ===== CONTACT SECTION ===== */
.contact {
  background: linear-gradient(135deg, #1a1a2e 0%, var(--dark-bg) 100%);
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.contact-description {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 40px;
  line-height: 1.8;
}

.contact-methods {
  display: grid;
  gap: 30px;
}

.contact-method {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: var(--border-radius);
  transition: all var(--transition-fast);
}

.contact-method:hover {
  background: rgba(42, 208, 208, 0.05);
  transform: translateX(10px);
}

.method-icon {
  font-size: 2rem;
  flex-shrink: 0;
}

.method-info h4 {
  font-family: var(--font-primary);
  margin-bottom: 5px;
  color: var(--secondary-cyan);
}

.method-info p {
  color: var(--text-secondary);
}

/* ===== FORMULARIO ===== */
.contact-form {
  background: rgba(255, 255, 255, 0.05);
  padding: 40px;
  border-radius: var(--border-radius);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(42, 208, 208, 0.1);
}

.form {
  display: grid;
  gap: 20px;
}

.form-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

.form-group:last-of-type {
  grid-template-columns: 1fr;
}

.form-input,
.form-select,
.form-textarea {
  padding: 15px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(42, 208, 208, 0.2);
  border-radius: var(--border-radius);
  color: var(--white);
  font-family: var(--font-secondary);
  font-size: 1rem;
  transition: all var(--transition-fast);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--secondary-cyan);
  box-shadow: 0 0 20px rgba(42, 208, 208, 0.2);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--text-secondary);
}

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

/* ===== FOOTER ===== */
.footer {
  background: var(--black);
  border-top: 1px solid rgba(42, 208, 208, 0.1);
  padding: 60px 0 20px;
}

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

.footer-main {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
  flex-wrap: wrap;
  gap: 30px;
}

.footer-logo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-logo-container {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
}

.footer-logo-image {
  height: 60px;
  width: auto;
  filter: drop-shadow(0 0 15px rgba(42, 208, 208, 0.4));
  transition: all var(--transition-slow);
  animation: logoGlow 3s ease-in-out infinite alternate;
}

@keyframes logoGlow {
  0% {
    filter: drop-shadow(0 0 15px rgba(42, 208, 208, 0.4));
  }

  100% {
    filter: drop-shadow(0 0 25px rgba(42, 208, 208, 0.7));
  }
}

@keyframes logoFlash {
  0% {
    filter: drop-shadow(0 0 15px rgba(42, 208, 208, 0.4));
    transform: scale(1);
  }

  50% {
    filter: drop-shadow(0 0 40px rgba(42, 208, 208, 1)) drop-shadow(0 0 60px rgba(0, 0, 161, 0.8));
    transform: scale(1.1);
  }

  100% {
    filter: drop-shadow(0 0 15px rgba(42, 208, 208, 0.4));
    transform: scale(1);
  }
}

.footer-logo-image:hover {
  transform: scale(1.1) rotate(3deg);
  filter: drop-shadow(0 0 30px rgba(42, 208, 208, 0.8));
}

.footer-logo .logo-text {
  font-family: var(--font-primary);
  font-size: 2rem;
  font-weight: 900;
  background: var(--gradient-secondary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer-description {
  color: var(--text-secondary);
  margin-top: 10px;
  max-width: 300px;
}

.footer-social {
  display: flex;
  gap: 20px;
}

.social-link {
  display: inline-block;
  width: 50px;
  height: 50px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  text-decoration: none;
  font-size: 1.5rem;
  transition: all var(--transition-fast);
}

.social-link:hover {
  transform: translateY(-5px) scale(1.1);
  box-shadow: var(--shadow-primary);
}

.footer-bottom {
  padding-top: 20px;
  border-top: 1px solid rgba(42, 208, 208, 0.1);
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1024px) {

  .innovation-content,
  .about-content,
  .contact-content {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .tech-sphere {
    width: 250px;
    height: 250px;
  }

  .orbit-1 {
    width: 270px;
    height: 270px;
    top: -10px;
    left: -10px;
  }

  .orbit-2 {
    width: 300px;
    height: 300px;
    top: -25px;
    left: -25px;
  }

  .orbit-3 {
    width: 330px;
    height: 330px;
    top: -40px;
    left: -40px;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    left: -100%;
    top: 80px;
    flex-direction: column;
    background: rgba(0, 0, 0, 0.95);
    width: 100%;
    text-align: center;
    transition: 0.3s;
    padding: 30px 0;
    backdrop-filter: blur(20px);
  }

  .nav-menu.active {
    left: 0;
  }

  .nav-toggle {
    display: flex;
  }

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

  .hero-stats {
    gap: 30px;
  }

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

  .btn {
    width: 100%;
    max-width: 300px;
  }

  .form-group {
    grid-template-columns: 1fr;
  }

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

  .contact-form {
    padding: 30px 20px;
  }
}

@media (max-width: 480px) {
  :root {
    --section-padding: 80px 0;
  }

  .nav-container {
    padding: 0 15px;
  }

  .hero {
    padding: 100px 15px 60px;
  }

  .container {
    padding: 0 15px;
  }

  .tech-sphere {
    width: 200px;
    height: 200px;
  }

  .orbit-1 {
    width: 220px;
    height: 220px;
    top: -10px;
    left: -10px;
  }

  .orbit-2 {
    width: 250px;
    height: 250px;
    top: -25px;
    left: -25px;
  }

  .orbit-3 {
    width: 280px;
    height: 280px;
    top: -40px;
    left: -40px;
  }
}

/* ===== ANIMACIONES AOS PERSONALIZADAS ===== */
[data-aos="fade-up"] {
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.8s ease;
}

[data-aos="fade-up"].aos-animate {
  transform: translateY(0);
  opacity: 1;
}

[data-aos="fade-right"] {
  transform: translateX(-100px);
  opacity: 0;
  transition: all 0.8s ease;
}

[data-aos="fade-right"].aos-animate {
  transform: translateX(0);
  opacity: 1;
}

[data-aos="fade-left"] {
  transform: translateX(100px);
  opacity: 0;
  transition: all 0.8s ease;
}

[data-aos="fade-left"].aos-animate {
  transform: translateX(0);
  opacity: 1;
}

/* ===== EFECTOS ADICIONALES ===== */
.glitch {
  animation: glitch 2s infinite;
}

@keyframes glitch {

  0%,
  100% {
    transform: translate(0);
  }

  20% {
    transform: translate(-2px, 2px);
  }

  40% {
    transform: translate(-2px, -2px);
  }

  60% {
    transform: translate(2px, 2px);
  }

  80% {
    transform: translate(2px, -2px);
  }
}

.parallax {
  transform: translateZ(0);
  transition: transform 0.1s ease-out;
}

/* ===== SCROLL SMOOTH ===== */
html {
  scroll-behavior: smooth;
}

/* ===== SELECTION ===== */
::selection {
  background: var(--secondary-cyan);
  color: var(--dark-bg);
}

::-moz-selection {
  background: var(--secondary-cyan);
  color: var(--dark-bg);
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--dark-bg);
}

::-webkit-scrollbar-thumb {
  background: var(--gradient-secondary);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--secondary-cyan);
}

/* ===== PHONE RESPONSIVE STYLES ===== */
@media (max-width: 768px) {
  .phone-frame {
    width: 240px;
    height: 480px;
    transform: rotateY(0deg) rotateX(0deg);
  }

  .phone-container {
    animation: none;
  }

  .app-title {
    font-size: 20px;
  }

  .start-app-btn {
    padding: 12px 25px;
    font-size: 14px;
  }

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

  .action-buttons {
    gap: 8px;
  }

  .action-btn {
    padding: 12px;
    font-size: 13px;
  }

  .map-container {
    height: 160px;
  }

  .innovation-content {
    flex-direction: column;
    gap: 40px;
  }
}

@media (max-width: 480px) {
  .phone-frame {
    width: 200px;
    height: 400px;
  }

  .app-logo {
    width: 60px;
    height: 60px;
  }

  .app-logo-img {
    width: 35px;
    height: 35px;
  }

  .app-title {
    font-size: 18px;
  }

  .status-bar {
    padding: 6px 12px;
    font-size: 11px;
  }

  .app-header {
    padding: 15px 12px;
  }

  .user-avatar {
    width: 35px;
    height: 35px;
    font-size: 12px;
  }

  .greeting {
    font-size: 14px;
  }

  .trip-info {
    padding: 15px 12px;
  }
}

/* ===== SPLINE 3D OBJECT SECTION ===== */
.spline-section {
  position: relative;
  height: 100vh;
  background: linear-gradient(135deg, #000428 0%, #004e92 50%, #000428 100%);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.spline-container {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.spline-object {
  width: 100%;
  height: 100%;
  opacity: 0;
  transform: translateX(-100vw) scale(0.8);
  transition: all 1.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.spline-object.animate-in {
  opacity: 1;
  transform: translateX(0) scale(1);
}

.spline-object.animate-out {
  opacity: 0.7;
  transform: translateX(100vw) scale(0.8);
}

.spline-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  z-index: 10;
  pointer-events: none;
  opacity: 0;
  transition: opacity 1s ease;
}

.spline-overlay.show {
  opacity: 1;
}

.spline-title {
  font-family: var(--font-primary);
  font-size: 3rem;
  font-weight: 900;
  color: var(--white);
  margin-bottom: 1rem;
  text-shadow: 0 0 30px rgba(255, 255, 255, 0.5);
  letter-spacing: 3px;
  background: var(--gradient-secondary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.spline-subtitle {
  font-family: var(--font-secondary);
  font-size: 1.3rem;
  color: var(--text-secondary);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
  font-weight: 300;
  letter-spacing: 1px;
}

/* Responsive */
@media (max-width: 768px) {
  .spline-section {
    height: 80vh;
  }

  .spline-title {
    font-size: 2rem;
    letter-spacing: 2px;
  }

  .spline-subtitle {
    font-size: 1rem;
  }

  .spline-object {
    transform: translateX(-50vw) scale(0.9);
  }

  .spline-object.animate-out {
    transform: translateX(50vw) scale(0.9);
  }
}

/* ===== NAVEGACIÓN SMOOTH SCROLL =====*/
.nav-link {
  position: relative;
  transition: all 0.3s ease;
}

.nav-link.active {
  color: var(--secondary-cyan);
  text-shadow: 0 0 10px rgba(42, 208, 208, 0.5);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--secondary-cyan), var(--primary-blue));
  border-radius: 1px;
  animation: navUnderline 0.3s ease;
}

@keyframes navUnderline {
  from {
    width: 0%;
    opacity: 0;
  }

  to {
    width: 100%;
    opacity: 1;
  }
}

/* Animaciones para notificaciones de navegación */
@keyframes navSlideIn {
  from {
    transform: translateX(-50%) translateY(-20px);
    opacity: 0;
  }

  to {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
  }
}

@keyframes navSlideOut {
  from {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
  }

  to {
    transform: translateX(-50%) translateY(-20px);
    opacity: 0;
  }
}

/* Efecto hover mejorado para nav links */
.nav-link:hover {
  color: var(--secondary-cyan);
  transform: translateY(-2px);
  text-shadow: 0 2px 8px rgba(42, 208, 208, 0.3);
}

/* Responsive para navegación */
@media (max-width: 768px) {
  .nav-link.active::after {
    bottom: -3px;
    height: 1px;
  }
}