/* reset & variables */
:root {
  --bg-dark: #0a0a16;
  --bg-primary: #12102a;
  --bg-secondary: #1a1738;

  --primary: #00f2fe;
  --secondary: #4facfe;
  --accent: #fe0979;
  --accent-2: #8a2387;
  --cyan: #00ffcc;
  --orange: #ff9900;
  --green: #27c93f;

  --text-main: #ffffff;
  --text-muted: #a0a5b8;

  --glass-bg: rgba(255, 255, 255, 0.03);
  --glass-border: rgba(255, 255, 255, 0.08);
  --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);

  --font-main: 'Outfit', sans-serif;
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-dark);
  color: var(--text-main);
  overflow-x: hidden;
  position: relative;
}

/* Utilities */
.glass {
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
}

.glass-micro {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 8px;
}

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

.mt-20 {
  margin-top: 20px;
}

/* 3D Background */
.background-3d {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  overflow: hidden;
  background: radial-gradient(circle at center, var(--bg-primary) 0%, var(--bg-dark) 100%);
}

.grid-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 50px 50px;
  transform: perspective(500px) rotateX(60deg) translateY(-100px) translateZ(-200px);
  animation: gridMove 20s linear infinite;
  transform-origin: center top;
}

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

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

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  z-index: 1;
  opacity: 0.6;
}

.orb-1 {
  width: 400px;
  height: 400px;
  background: var(--accent-2);
  top: -100px;
  left: -100px;
  animation: float 10s ease-in-out infinite alternate;
}

.orb-2 {
  width: 500px;
  height: 500px;
  background: rgba(0, 242, 254, 0.3);
  bottom: 10vh;
  right: -150px;
  animation: float 12s ease-in-out infinite alternate-reverse;
}

.orb-3 {
  width: 300px;
  height: 300px;
  background: rgba(254, 9, 121, 0.2);
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: pulse 8s ease-in-out infinite alternate;
}

@keyframes float {
  0% {
    transform: translate(0, 0);
  }

  100% {
    transform: translate(50px, 50px);
  }
}

@keyframes pulse {
  0% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.5;
  }

  100% {
    transform: translate(-50%, -50%) scale(1.2);
    opacity: 0.8;
  }
}

/* Animations */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

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

.delay-1 {
  transition-delay: 0.2s;
}

.delay-2 {
  transition-delay: 0.4s;
}

.delay-3 {
  transition-delay: 0.6s;
}

/* 3D Cards */
.card-3d {
  transform-style: preserve-3d;
  transition: transform 0.1s ease, box-shadow 0.3s ease;
  will-change: transform;
}

/* Navbar */
.navbar {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 1200px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 30px;
  border-radius: 50px;
  z-index: 1000;
  transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  
  /* Upgraded Glassmorphism */
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.01) 100%);
  backdrop-filter: blur(24px) saturate(160%);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-top: 1px solid rgba(255, 255, 255, 0.25);
  border-left: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.navbar.scrolled {
  width: 100%;
  top: 0;
  border-radius: 0;
  border-left: none;
  border-right: none;
  border-top: none;
  padding: 15px 5%;
  background: rgba(10, 10, 22, 0.85);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.7);
}

.nav-logo-img {
  height: 60px;
  /* Tamaño del logo en la barra de navegación */
  width: auto;
  object-fit: contain;
  transition: transform 0.3s ease;
  filter: drop-shadow(0 0 10px rgba(0, 242, 254, 0.3));
  /* Resplandor al logo */
}

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

.nav-links {
  display: flex;
  list-style: none;
  gap: 30px;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-main);
  font-size: 0.95rem;
  font-weight: 500;
  position: relative;
  transition: color 0.3s;
}

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

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--primary);
  transition: width 0.3s ease;
  border-radius: 2px;
}

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

.menu-btn {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5vw;
  padding: 100px 5% 50px;
  position: relative;
  overflow: hidden;
}

#hero-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  /* Que no bloquee clicks */
}

.hero-content {
  width: 100%;
  max-width: 550px;
  position: relative;
  z-index: 2;
  /* Sobre el canvas */
}

.hero-visual {
  width: 100%;
  max-width: 600px;
  display: flex;
  justify-content: center;
  perspective: 1000px;
  position: relative;
  z-index: 2;
  /* Sobre el canvas */
}

.badge-glass {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 242, 254, 0.1);
  border: 1px solid rgba(0, 242, 254, 0.3);
  padding: 6px 16px;
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 25px;
  backdrop-filter: blur(4px);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.star-badge {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(254, 9, 121, 0.1);
}

.glitch-title {
  font-size: 4rem;
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 20px;
}

.hero-description {
  font-size: 1.15rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 40px;
}

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

.btn {
  text-decoration: none;
  padding: 14px 28px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
}

.primary-btn {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff;
}

.glow-effect:hover {
  box-shadow: 0 0 25px rgba(0, 242, 254, 0.6);
  transform: translateY(-3px);
}

.secondary-btn {
  color: var(--text-main);
}

.secondary-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-3px);
}

/* Hero Visual Combo (Código + App) */
.hero-visual {
  flex: 1;
  display: flex;
  justify-content: center;
  perspective: 1000px;
}

.hero-visual-combo {
  position: relative;
  width: 100%;
  max-width: 500px;
  height: 350px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.browser-window {
  width: 360px;
  position: absolute;
  left: -20px;
  top: 15px;
  z-index: 2;
  border-radius: 12px;
  background: var(--bg-primary);
  border: 1px solid rgba(0, 242, 254, 0.3);
  animation: float-slow 7s ease-in-out infinite alternate;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
  overflow: hidden;
}

.browser-header {
  background: rgba(15, 15, 25, 0.95);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 10px 15px;
  display: flex;
  align-items: center;
  gap: 15px;
}

.url-bar {
  flex: 1;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  padding: 5px 15px;
  font-size: 0.75rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
}

.url-bar i {
  color: #27c93f;
  font-size: 0.7rem;
}

.browser-body {
  padding: 15px;
  background: var(--bg-primary);
}

.web-hero-wire {
  background: rgba(255, 255, 255, 0.03);
  border: 1px dashed rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
}

.web-hero-wire i {
  font-size: 2rem;
  color: rgba(255, 255, 255, 0.1);
}

.wire-lines {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.w-line {
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
  width: 80%;
}

.w-line.title {
  width: 50%;
  height: 8px;
  background: rgba(0, 242, 254, 0.3);
}

.w-line.short {
  width: 30%;
  background: rgba(254, 9, 121, 0.3);
  margin-top: 5px;
  height: 10px;
  border-radius: 5px;
}

.web-stats-row {
  display: flex;
  gap: 10px;
}

.web-stat-box {
  flex: 1;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  padding: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.web-stat-box i {
  font-size: 1.2rem;
}

.web-stat-box small {
  font-size: 0.7rem;
  color: var(--text-muted);
}

.web-stat-box strong {
  font-size: 0.95rem;
  color: var(--text-main);
}

.app-mockup {
  width: 220px;
  position: absolute;
  right: 20px;
  bottom: 0;
  z-index: 3;
  padding: 25px 20px;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(254, 9, 121, 0.15), rgba(0, 242, 254, 0.1));
  border: 1px solid rgba(254, 9, 121, 0.3);
  backdrop-filter: blur(20px);
  animation: float-fast 5s ease-in-out infinite alternate;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
  text-align: center;
}

.app-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 25px;
  color: var(--text-main);
  font-weight: 600;
  font-size: 0.9rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 10px;
}

.app-stat {
  background: rgba(255, 255, 255, 0.05);
  padding: 15px;
  border-radius: 10px;
  color: var(--green);
  font-size: 1.2rem;
  font-weight: bold;
  margin-bottom: 20px;
  border: 1px solid rgba(39, 201, 63, 0.2);
}

.app-btn {
  background: var(--primary);
  color: #000;
  padding: 12px;
  border-radius: 8px;
  font-weight: bold;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

/* Paneles Flotantes Adicionales */
.float-panel {
  position: absolute;
  padding: 15px 20px;
  border-radius: 12px;
  background: rgba(15, 15, 25, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  gap: 15px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
  z-index: 4;
  backdrop-filter: blur(10px);
  transition: transform 0.3s;
}

.float-panel:hover {
  transform: scale(1.05) translateZ(20px) !important;
  z-index: 10;
  border-color: var(--primary);
  cursor: pointer;
}

.float-panel .panel-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.2rem;
}

.float-panel .panel-icon.whatsapp {
  color: #25D366;
  background: rgba(37, 211, 102, 0.15);
  border: 1px solid rgba(37, 211, 102, 0.4);
}

.float-panel .panel-icon.blue {
  color: #00f2fe;
  background: rgba(0, 242, 254, 0.15);
  border: 1px solid rgba(0, 242, 254, 0.4);
}

.float-panel .panel-icon.orange {
  color: #ff9900;
  background: rgba(255, 153, 0, 0.15);
  border: 1px solid rgba(255, 153, 0, 0.4);
}

.float-panel .panel-info {
  display: flex;
  flex-direction: column;
}

.float-panel .panel-info span {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 2px;
}

.float-panel .panel-info strong {
  font-size: 1.1rem;
  color: var(--text-main);
}

/* SEO Circle */
.top-center {
  flex-direction: column;
  gap: 8px;
  padding: 15px;
}

.score-circle {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 4px solid #27c93f;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #27c93f;
  font-weight: 800;
  font-size: 1.2rem;
  box-shadow: 0 0 15px rgba(39, 201, 63, 0.3);
}

/* Positioning */
.top-left {
  left: -90px;
  top: 10px;
  animation: float-fast 4s ease-in-out infinite alternate-reverse;
}

.bottom-left {
  left: -70px;
  bottom: 0px;
  animation: float-slow 6s ease-in-out infinite alternate;
}

.top-right {
  right: -50px;
  top: -30px;
  animation: float-fast 5s ease-in-out infinite alternate-reverse;
}

.top-center {
  left: 60px;
  top: -60px;
  animation: float-slow 7s ease-in-out infinite alternate;
}

@keyframes float-slow {
  0% {
    transform: translateY(0px) rotateY(-5deg);
  }

  100% {
    transform: translateY(-15px) rotateY(0deg);
  }
}

@keyframes float-fast {
  0% {
    transform: translateY(0px) rotateY(5deg);
  }

  100% {
    transform: translateY(-20px) rotateY(15deg);
  }
}

/* Sections Global */
.section {
  padding: 100px 5%;
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

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

.section-header h2 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 15px;
}

.section-desc {
  color: var(--text-muted);
  max-width: 600px;
  margin: 15px auto 0;
  line-height: 1.6;
}

.subtitle {
  font-size: 1.2rem;
  font-weight: 600;
}

.bg-highlight {
  background: linear-gradient(0deg, rgba(255, 255, 255, 0.02) 0%, transparent 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* Tech Stack Marquee */
.tech-marquee {
  padding: 40px 0;
  background: linear-gradient(90deg, transparent, rgba(0, 242, 254, 0.05), transparent);

  overflow: hidden;
  display: flex;
  white-space: nowrap;
  margin-top: -30px;
  position: relative;
}

/* Fading edges */
.tech-marquee::before,
.tech-marquee::after {
  content: '';
  position: absolute;
  top: 0;
  width: 15vh;
  max-width: 150px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.tech-marquee::before {
  left: 0;
  background: linear-gradient(90deg, var(--bg-dark) 0%, transparent 100%);
}

.tech-marquee::after {
  right: 0;
  background: linear-gradient(270deg, var(--bg-dark) 0%, transparent 100%);
}

.marquee-content {
  display: inline-block;
  animation: marquee 35s linear infinite;
}

.marquee-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 12px 25px;
  border-radius: 50px;
  margin: 0 15px;
  transition: all 0.3s ease;
  backdrop-filter: blur(5px);
  cursor: pointer;
}

.marquee-badge:hover {
  background: rgba(0, 242, 254, 0.1);
  border-color: rgba(0, 242, 254, 0.5);
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 242, 254, 0.2);
}

.marquee-badge i {
  color: var(--primary);
  font-size: 1.25rem;
}

@keyframes marquee {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

/* Cards Grid (4 y 6 items) */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  perspective: 1000px;
}

.cards-grid-4 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  perspective: 1000px;
}

.service-card {
  padding: 40px;
  border-radius: 20px;
  transition: transform 0.3s ease;
}

.service-card h3 {
  font-size: 1.5rem;
  margin: 20px 0 15px;
}

.service-card p {
  color: var(--text-muted);
  line-height: 1.6;
}

.service-card i {
  font-size: 2.5rem;
}

.blue-icon {
  color: var(--primary);
}

.pink-icon {
  color: var(--accent);
}

.purple-icon {
  color: var(--accent-2);
}

.cyan-icon {
  color: var(--cyan);
}

/* Pricing Section */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  align-items: stretch;
  margin-top: 40px;
  perspective: 1000px;
}

.pricing-card {
  padding: 40px 30px;
  border-radius: 20px;
  text-align: center;
  position: relative;
  display: flex;
  flex-direction: column;
}

.pricing-card.popular {
  border: 1px solid var(--primary);
  box-shadow: 0 0 30px rgba(0, 242, 254, 0.15);
  z-index: 2;
}

.popular-badge {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff;
  padding: 5px 15px;
  border-radius: 20px;
  font-weight: bold;
  font-size: 0.85rem;
  letter-spacing: 1px;
}

.plan-name {
  font-size: 1.4rem;
  margin-bottom: 5px;
  color: var(--text-main);
}

.plan-price {
  font-size: 2.8rem;
  font-weight: 900;
  color: var(--text-main);
  margin-bottom: 25px;
}

.plan-price span {
  font-size: 1.2rem;
  color: var(--text-muted);
  font-weight: normal;
}

.plan-features {
  list-style: none;
  margin-bottom: 30px;
  text-align: left;
  flex-grow: 1;
}

.plan-features li {
  margin-bottom: 15px;
  color: var(--text-muted);
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.95rem;
}

.plan-features i {
  color: var(--primary);
  margin-top: 4px;
}

.plan-features strong {
  color: var(--text-main);
}

.pricing-btn {
  margin-top: auto;
  padding: 15px;
  border-radius: 12px;
  font-weight: 600;
  text-decoration: none;
  display: flex;
  justify-content: center;
  transition: all 0.3s ease;
}

.btn-outline {
  border: 1px solid var(--primary);
  color: var(--primary);
}

.btn-outline:hover {
  background: rgba(0, 242, 254, 0.1);
}

/* Beneficios adicionales */
.benefit-card {
  padding: 40px 30px;
  border-radius: 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.benefit-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), transparent);
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s ease;
}

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

.icon-3d-wrapper {
  width: 80px;
  height: 80px;
  margin: 0 auto 25px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 2rem;
  background: var(--bg-primary);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transform: translateZ(30px);
}

.blue-glow {
  color: var(--primary);
  box-shadow: 0 0 20px rgba(0, 242, 254, 0.4), inset 0 0 20px rgba(0, 242, 254, 0.2);
}

.purple-glow {
  color: var(--accent-2);
  box-shadow: 0 0 20px rgba(138, 35, 135, 0.4), inset 0 0 20px rgba(138, 35, 135, 0.2);
}

.pink-glow {
  color: var(--accent);
  box-shadow: 0 0 20px rgba(254, 9, 121, 0.4), inset 0 0 20px rgba(254, 9, 121, 0.2);
}

.cyan-glow {
  color: var(--cyan);
  box-shadow: 0 0 20px rgba(0, 255, 204, 0.4), inset 0 0 20px rgba(0, 255, 204, 0.2);
}

.orange-glow {
  color: var(--orange);
  box-shadow: 0 0 20px rgba(255, 153, 0, 0.4), inset 0 0 20px rgba(255, 153, 0, 0.2);
}

.green-glow {
  color: var(--green);
  box-shadow: 0 0 20px rgba(39, 201, 63, 0.4), inset 0 0 20px rgba(39, 201, 63, 0.2);
}

.benefit-card h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  transform: translateZ(20px);
}

.benefit-card p {
  color: var(--text-muted);
  line-height: 1.6;
  transform: translateZ(10px);
}

/* Servicios MVP */
.services-container {
  display: flex;
  align-items: center;
  gap: 60px;
}

.services-info {
  flex: 1.2;
}

.services-info h2 {
  font-size: 3rem;
  margin-bottom: 10px;
}

.services-info h3 {
  font-size: 1.8rem;
  margin-bottom: 25px;
}

.services-info p {
  color: var(--text-muted);
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 30px;
}

.feature-list {
  list-style: none;
}

.feature-list li {
  margin-bottom: 15px;
  font-size: 1.1rem;
  display: flex;
  align-items: flex-start;
  gap: 15px;
  line-height: 1.5;
  color: var(--text-muted);
}

.feature-list strong {
  color: var(--text-main);
}

.feature-list i {
  color: var(--primary);
  background: rgba(0, 242, 254, 0.1);
  padding: 10px;
  border-radius: 50%;
  font-size: 1rem;
  margin-top: 2px;
}

.services-visual {
  flex: 0.8;
  border-radius: 50%;
  width: 400px;
  height: 400px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  border: 1px solid rgba(0, 242, 254, 0.2);
}

.glass-orb-container {
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.01));
  backdrop-filter: blur(10px);
  box-shadow: 0 0 40px rgba(0, 242, 254, 0.2), inset 0 0 40px rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: center;
  align-items: center;
  animation: rotateOrb 15s linear infinite;
}

.inner-orb {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  font-size: 3rem;
  color: var(--primary);
  animation: counterRotateOrb 15s linear infinite;
}

.cross {
  font-size: 2rem;
  color: var(--accent);
}

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

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

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

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

/* Stats Counters */
.stats-section {
  padding-top: 0;
}

.stats-container {
  display: flex;
  justify-content: space-around;
  padding: 40px 20px;
  border-radius: 20px;
  text-align: center;
  flex-wrap: wrap;
  gap: 20px;
}

.stat-item h3 {
  font-size: 3.5rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline;
}

.stat-item .plus {
  font-size: 2rem;
  color: var(--primary);
  font-weight: bold;
}

.stat-item p {
  color: var(--text-muted);
  font-size: 1.1rem;
  margin-top: 10px;
  font-weight: 500;
}

/* Galeria */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}

.gallery-item {
  height: 360px;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(20, 20, 30, 0.9) 0%, rgba(10, 10, 15, 0.95) 100%);
  border: 1px solid rgba(255, 255, 255, 0.05);
  overflow: hidden;
  position: relative;
  transition: all 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
  display: flex;
  flex-direction: column;
}

.gallery-item:hover {
  transform: translateY(-10px);
  border-color: var(--primary);
  box-shadow: 0 15px 30px rgba(0, 242, 254, 0.15);
}

.gallery-visual {
  height: 55%;
  width: 100%;
  position: relative;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.gallery-visual::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at center, rgba(0, 242, 254, 0.15) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.5s ease;
  z-index: 2;
  /* Sobre la foto */
  pointer-events: none;
}

.gallery-item:hover .gallery-visual::before {
  opacity: 1;
}

.portfolio-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
  z-index: 1;
}

.gallery-item:hover .portfolio-img {
  transform: scale(1.1);
}

.gallery-content {
  padding: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  z-index: 2;
  background: linear-gradient(0deg, rgba(0, 242, 254, 0.03), transparent);
}

.gallery-content h3 {
  font-size: 1.3rem;
  color: var(--text-main);
  margin-bottom: 10px;
  transition: color 0.3s ease;
}

.gallery-item:hover .gallery-content h3 {
  color: var(--primary);
}

.gallery-content p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Feature tags */
.g-tags {
  display: flex;
  gap: 10px;
  margin-top: auto;
  padding-top: 15px;
}

.g-tags span {
  font-size: 0.75rem;
  padding: 4px 12px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-muted);
  font-weight: 500;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Colores específicos para cada tarjeta */
.item-vet:hover {
  border-color: var(--accent);
  box-shadow: 0 15px 30px rgba(254, 9, 121, 0.15);
}

.item-vet:hover .gallery-visual::before {
  background: radial-gradient(circle at center, rgba(254, 9, 121, 0.15) 0%, transparent 60%);
}

.item-vet:hover .gallery-visual i {
  color: var(--accent);
  text-shadow: 0 0 20px rgba(254, 9, 121, 0.5);
}

.item-vet:hover .gallery-content h3 {
  color: var(--accent);
}

.item-bi:hover {
  border-color: var(--green);
  box-shadow: 0 15px 30px rgba(39, 201, 63, 0.15);
}

.item-bi:hover .gallery-visual::before {
  background: radial-gradient(circle at center, rgba(39, 201, 63, 0.15) 0%, transparent 60%);
}

.item-bi:hover .gallery-visual i {
  color: var(--green);
  text-shadow: 0 0 20px rgba(39, 201, 63, 0.5);
}

.item-bi:hover .gallery-content h3 {
  color: var(--green);
}

/* Testimonios 3 Grid */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.testimonial-card {
  padding: 40px;
  border-radius: 20px;
  text-align: left;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 30px;
}

.quote-icon {
  font-size: 2rem;
  color: rgba(255, 255, 255, 0.1);
  margin-bottom: -10px;
}

.testimonial-text {
  font-size: 1.15rem;
  font-style: italic;
  line-height: 1.7;
  z-index: 2;
  position: relative;
}

.client-info {
  display: flex;
  align-items: center;
  gap: 15px;
}

.client-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 2px solid var(--primary);
  background-size: cover;
  background-position: center;
}

.a-1 {
  background-image: radial-gradient(circle, #ffbd2e, #ff5f56);
}

.a-2 {
  background-image: radial-gradient(circle, #00f2fe, #4facfe);
}

.a-3 {
  background-image: radial-gradient(circle, #fe0979, #8a2387);
}

.client-info h4 {
  font-size: 1.1rem;
  margin-bottom: 3px;
}

.client-info span {
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* CTA Banner */
.cta-banner {
  padding: 80px 40px;
  border-radius: 30px;
  text-align: center;
  background: linear-gradient(135deg, rgba(18, 16, 42, 0.9), rgba(26, 23, 56, 0.9));
  border: 1px solid rgba(0, 242, 254, 0.3);
  box-shadow: 0 0 50px rgba(0, 242, 254, 0.1);
}

.cta-content h2 {
  font-size: 2.8rem;
  margin-bottom: 20px;
}

.cta-content p {
  font-size: 1.2rem;
  color: var(--text-muted);
  max-width: 700px;
  margin: 0 auto 40px;
  line-height: 1.6;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.cta-btn {
  font-size: 1.2rem;
  padding: 18px 40px;
}

/* Footer */
.footer {
  margin-top: 50px;
  border-bottom: none;
  border-left: none;
  border-right: none;
  border-radius: 40px 40px 0 0;
  padding: 80px 5% 30px;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  max-width: 1400px;
  margin: 0 auto 60px;
}

.footer-brand p {
  color: var(--text-muted);
  margin: 20px 0;
  line-height: 1.7;
  max-width: 400px;
}

.social-links {
  display: flex;
  gap: 15px;
}

.social-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--text-main);
  text-decoration: none;
  transition: all 0.3s;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-btn:hover {
  background: var(--primary);
  color: #000;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 242, 254, 0.4);
}

.footer-contact h3,
.footer-links h3 {
  font-size: 1.3rem;
  margin-bottom: 25px;
  color: var(--text-main);
}

.contact-list,
.footer-links ul {
  list-style: none;
}

.contact-list li {
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 15px;
}

.contact-icon {
  width: 35px;
  height: 35px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--primary);
}

.contact-list a,
.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.3s;
}

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

.footer-links li {
  margin-bottom: 12px;
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 1024px) {
  .cards-grid-4 {
    grid-template-columns: 1fr 1fr;
  }

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

@media (max-width: 992px) {
  .hero {
    flex-direction: column;
    text-align: center;
    padding-top: 150px;
  }

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

  .hero-visual-combo {
    transform: scale(0.99);
    /* Ajustado: un poco más grande */
    margin-top: 40px;
  }

  .glitch-title {
    font-size: 3rem;
  }

  .services-container {
    flex-direction: column-reverse;
  }

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

  .glass-orb-container {
    width: 220px;
    height: 220px;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 95%; /* Just below the navbar */
    left: 5%;
    width: 90%;
    background: linear-gradient(135deg, rgba(15, 15, 30, 0.95), rgba(10, 10, 22, 0.98));
    backdrop-filter: blur(24px) saturate(150%);
    -webkit-backdrop-filter: blur(24px);
    padding: 30px 20px;
    gap: 20px;
    text-align: center;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.8);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-15px) scale(0.98);
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    z-index: 999;
  }

  .nav-links.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
  }

  .nav-links li {
    width: 100%;
  }

  .nav-links a {
    display: inline-block;
    width: 100%;
    padding: 10px;
    font-size: 1.15rem;
    font-weight: 600;
  }

  .navbar.scrolled .nav-links {
    top: 100%;
    left: 0;
    width: 100%;
    border-radius: 0 0 20px 20px;
    border: none;
    border-top: 1px solid rgba(255,255,255,0.05);
  }

  .menu-btn {
    display: block;
    cursor: pointer;
    font-size: 1.8rem;
    z-index: 1001;
    color: var(--primary);
    transition: transform 0.3s;
  }
  
  .menu-btn:active {
    transform: scale(0.9);
  }

  .hero-visual-combo {
    transform: scale(0.85);
    /* Ajustado: tamaño al límite en celular regular */
    margin-top: 20px;
    margin-bottom: 20px;
  }

  .browser-window {
    left: -0px;
  }

  .app-mockup {
    right: -50px;
  }

  .top-left {
    top: 100px;
  }

  .top-center {
    left: -50px;
  }

  .glitch-title {
    font-size: 2.2rem;
  }

  .section {
    padding: 60px 5%;
  }

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

  .cta-buttons {
    flex-direction: column;
  }

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

  .stats-container {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .hero-visual-combo {
    transform: scale(0.75);
    /* Escala ajustada: tamaño máximo posible en celulares chicos */
    margin-top: 10px;
    margin-bottom: 10px;
  }


}