:root {
--primary-gold: #FFD700;
--secondary-gold: #ffae00;
--dark-gold: #B8860B;
--light-gold: #FFF8DC;
--cream: #FFFEF7;
  --dark-primary: #0D1117;
  --dark-secondary: #161B22;
  --dark-tertiary: #21262D;
  --dark-card: #1C2128;
  --dark-border: #30363D;
  --dark-text: #F0F6FC;
  --dark-text-secondary: #8B949E;
  --dark-text-muted: #656D76;
--gray-text: #6B7280;
--white: #FFFFFF;

/* Gradientes */
  --gradient-primary: linear-gradient(135deg, #FFD700 0%, #FFA500 50%, #FF8C00 100%);
  --gradient-warm: linear-gradient(135deg, #FFBF00 0%, #FFD700 100%);
  --gradient-dark: linear-gradient(135deg, #0D1117 0%, #161B22 50%, #21262D 100%);
  --gradient-card: linear-gradient(135deg, rgba(255, 215, 0, 0.1) 0%, rgba(255, 165, 0, 0.05) 100%);
  --gradient-glow: radial-gradient(circle, rgba(255, 215, 0, 0.4), transparent 70%);
  
  /* Shadows*/
  --shadow-soft: 0 2px 10px rgba(255, 215, 0, 0.1);
  --shadow-medium: 0 8px 30px rgba(255, 215, 0, 0.2);
  --shadow-heavy: 0 20px 60px rgba(0, 0, 0, 0.4);
  --shadow-glow: 0 0 30px rgba(255, 215, 0, 0.3);
  --shadow-text: 0 2px 8px rgba(0, 0, 0, 0.3);
  
  /* Animation Variables */
  --animation-speed-fast: 0.2s;
  --animation-speed-medium: 0.4s;
  --animation-speed-slow: 0.8s;
  --easing-smooth: cubic-bezier(0.23, 1, 0.32, 1);
  --easing-bounce: cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

* {
margin: 0;
padding: 0;
box-sizing: border-box;
}

html {
scroll-behavior: smooth;
}

body {
font-family: 'Poppins', sans-serif;
background: linear-gradient(135deg, var(--cream) 0%, var(--light-gold) 100%);
color: var(--dark-text);
line-height: 1.6;
overflow-x: hidden;
}


/* Animated Background */
.animated-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  background: var(--gradient-dark);
  overflow: hidden;
}

/* Desactiva animaciones en móviles */
@media (max-width: 768px) {
  .floating-shape,
  .bg-pattern,
  .particle {
    animation: none !important;
    transform: none !important;
  }
  
  /* Reduce animaciones a lo esencial */
  .modern-card:hover {
    transform: translateY(-5px) !important; /* En lugar de -15px scale(1.02) */
  }
}

.shape-1 {
  width: 300px;
  height: 300px;
  top: 10%;
  left: 5%;
  animation-delay: 0s;
}

.shape-2 {
  width: 200px;
  height: 200px;
  top: 50%;
  right: 10%;
  animation-delay: -8s;
}

.shape-3 {
  width: 150px;
  height: 150px;
  top: 30%;
  left: 50%;
  animation-delay: -16s;
}

.shape-4 {
  width: 250px;
  height: 250px;
  bottom: 20%;
  left: 15%;
  animation-delay: -24s;
}

.shape-5 {
  width: 180px;
  height: 180px;
  top: 5%;
  right: 25%;
  animation-delay: -12s;
}

.shape-6 {
  width: 120px;
  height: 120px;
  bottom: 40%;
  right: 5%;
  animation-delay: -20s;
}

@keyframes floatAdvanced {
  0% {
    transform: translateY(0px) translateX(0px) rotate(0deg) scale(1);
    opacity: 0.03;
  }
  25% {
    transform: translateY(-50px) translateX(30px) rotate(90deg) scale(1.1);
    opacity: 0.05;
  }
  50% {
    transform: translateY(-20px) translateX(-40px) rotate(180deg) scale(0.9);
    opacity: 0.02;
  }
  75% {
    transform: translateY(30px) translateX(20px) rotate(270deg) scale(1.2);
    opacity: 0.04;
  }
  100% {
    transform: translateY(0px) translateX(0px) rotate(360deg) scale(1);
    opacity: 0.03;
  }
}

/*  Navbar */
.navbar {
  background: rgba(13, 17, 23, 0.9);
  backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--dark-border);
  padding: 1rem 0;
  transition: all var(--animation-speed-medium) var(--easing-smooth);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-soft);
}

.navbar.scrolled {
  background: rgba(13, 17, 23, 0.95);
  box-shadow: var(--shadow-medium);
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(255, 215, 0, 0.2);
}

.navbar-brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  transition: all var(--animation-speed-medium) var(--easing-smooth);
  position: relative;
}

.navbar-brand::before {
  content: '';
  position: absolute;
  top: -5px;
  left: -5px;
  right: -5px;
  bottom: -5px;
  background: var(--gradient-primary);
  border-radius: 12px;
  opacity: 0;
  transition: all var(--animation-speed-medium) var(--easing-smooth);
  z-index: -1;
  filter: blur(10px);
}

.navbar-brand:hover::before {
  opacity: 0.2;
}

.logo-wrapper {
  position: relative;
  margin-right: 12px;
}

.logo-img {
  height: 45px;
  transition: all var(--animation-speed-medium) var(--easing-bounce);
  filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.3));
}

.navbar-brand:hover .logo-img {
  transform: scale(1.1) rotate(5deg);
  filter: drop-shadow(0 0 20px rgba(255, 215, 0, 0.6));
}

.brand-text {
  font-weight: 800;
  font-size: 1.6rem;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-decoration: none;
  position: relative;
  letter-spacing: -0.5px;
}

.brand-text::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  transition: width var(--animation-speed-medium) var(--easing-smooth);
}

.navbar-brand:hover .brand-text::after {
  width: 100%;
}

.nav-link-custom {
  color: var(--dark-text) !important;
  font-weight: 500;
  margin: 0 0.5rem;
  padding: 0.75rem 1.25rem !important;
  border-radius: 12px;
  transition: all var(--animation-speed-medium) var(--easing-smooth);
  position: relative;
  overflow: hidden;
  font-size: 0.95rem;
}

.nav-link-custom::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--gradient-primary);
  transition: left var(--animation-speed-medium) var(--easing-smooth);
  z-index: -1;
}

.nav-link-custom::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--primary-gold);
  transition: all var(--animation-speed-medium) var(--easing-smooth);
  transform: translateX(-50%);
}

.nav-link-custom:hover {
  color: white !important;
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

.nav-link-custom:hover::before {
  left: 0;
}

.nav-link-custom:hover::after {
  width: 80%;
}

/*hero */
.hero {
position: relative;
overflow: visible;
min-height: 100vh;
}

.hero-particles {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: 1;
}

.particle {
position: absolute;
width: 4px;
height: 4px;
background: var(--primary-gold);
border-radius: 50%;
animation: particles 15s infinite linear;
opacity: 0.6;
}

.particle:nth-child(1) {
top: 20%;
left: 20%;
animation-delay: 0s;
}

.particle:nth-child(2) {
top: 60%;
left: 80%;
animation-delay: -3s;
}

.particle:nth-child(3) {
top: 80%;
left: 40%;
animation-delay: -6s;
}

.particle:nth-child(4) {
top: 30%;
left: 70%;
animation-delay: -9s;
}

.particle:nth-child(5) {
top: 70%;
left: 10%;
animation-delay: -12s;
}

@keyframes particles {
0% {
transform: translateY(0px) scale(1);
opacity: 0.6;
}
50% {
transform: translateY(-100px) scale(1.2);
opacity: 1;
}
100% {
transform: translateY(-200px) scale(0.8);
opacity: 0;
}
}

.hero-content {
position: relative;
z-index: 10;
}

.hero-title {
display: block !important;
visibility: visible !important;
position: relative !important;
z-index: 10 !important;
opacity: 1 !important;
}
.animate-slide-up {
opacity: 1 !important;
transform: translateY(0) !important;
animation: none !important;
}
.hero-badge {
display: inline-flex;
align-items: center;
gap: 8px;
padding: 8px 16px;
background: rgba(255, 215, 0, 0.1);
border: 1px solid rgba(255, 215, 0, 0.3);
border-radius: 30px;
font-size: 0.9rem;
font-weight: 500;
color: var(--dark-gold);
margin-bottom: 1.5rem;
backdrop-filter: blur(10px);
}

.hero-title {
font-size: 3.5rem;
font-weight: 800;
color: var(--dark-text);
margin-bottom: 1.5rem;
line-height: 1.2;
}

.gradient-text {
background: var(--gradient-primary);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
position: relative;
}

.hero-subtitle {
font-size: 1.2rem;
color: var(--gray-text);
margin-bottom: 2rem;
font-weight: 400;
line-height: 1.7;
max-width: 90%;
}

.hero-buttons {
display: flex;
gap: 1rem;
margin-bottom: 3rem;
flex-wrap: wrap;
}

.btn-primary-enhanced {
display: inline-flex;
align-items: center;
gap: 8px;
padding: 14px 28px;
background: var(--gradient-primary);
border: none;
border-radius: 50px;
color: white;
font-weight: 600;
font-size: 1rem;
text-decoration: none;
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
box-shadow: var(--shadow-light);
position: relative;
overflow: hidden;
}

.btn-primary-enhanced::before {
content: '';
position: absolute;
top: 0;
left: -100%;
width: 100%;
height: 100%;
background: linear-gradient(135deg, #FFA500 0%, #FFD700 100%);
transition: left 0.3s ease;
z-index: -1;
}

.btn-primary-enhanced:hover {
transform: translateY(-3px);
box-shadow: var(--shadow-medium);
color: white;
}

.btn-primary-enhanced:hover::before {
left: 0;
}

.btn-outline-enhanced {
display: inline-flex;
align-items: center;
gap: 8px;
padding: 12px 26px;
border: 2px solid var(--primary-gold);
border-radius: 50px;
color: var(--primary-gold);
font-weight: 600;
font-size: 1rem;
text-decoration: none;
background: transparent;
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
backdrop-filter: blur(10px);
}

.btn-outline-enhanced:hover {
background: var(--primary-gold);
color: white;
transform: translateY(-2px);
box-shadow: var(--shadow-light);
}

.hero-stats {
display: flex;
gap: 2rem;
margin-top: 2rem;
}

.hero-stats .stat-item {
text-align: center;
}

.hero-stats .stat-number {
font-size: 1.8rem;
font-weight: 700;
color: var(--dark-gold);
display: block;
line-height: 1;
}

.hero-stats .stat-label {
font-size: 0.9rem;
color: var(--gray-text);
margin-top: 4px;
}

/* Code Window */
.hero-visual {
position: relative;
z-index: 2;
}

.code-window {
background: #1e1e1e;
border-radius: 12px;
overflow: hidden;
box-shadow: var(--shadow-heavy);
transform: perspective(1000px) rotateY(-5deg);
transition: all 0.3s ease;
border: 1px solid rgba(255, 215, 0, 0.2);
}

.code-window:hover {
transform: perspective(1000px) rotateY(0deg);
box-shadow: 0 25px 80px rgba(0, 0, 0, 0.4);
}

.window-header {
background: #2d2d2d;
padding: 12px 16px;
display: flex;
align-items: center;
justify-content: space-between;
border-bottom: 1px solid #404040;
}

.window-controls {
display: flex;
gap: 8px;
}

.control {
width: 12px;
height: 12px;
border-radius: 50%;
}

.control.red { background: #ff5f57; }
.control.yellow { background: #ffbd2e; }
.control.green { background: #28ca42; }

.window-title {
color: #cccccc;
font-size: 0.9rem;
font-weight: 500;
}

.code-content {
padding: 20px;
font-family: 'Monaco', 'Menlo', monospace;
font-size: 14px;
line-height: 1.6;
}

.code-line {
margin-bottom: 8px;
white-space: nowrap;
}

.code-indent {
margin-left: 20px;
}

.code-keyword { color: #569cd6; }
.code-variable { color: #9cdcfe; }
.code-function { color: #dcdcaa; }
.code-string { color: #ce9178; }
.code-operator { color: #d4d4d4; }
.code-bracket { color: #ffd700; }
.code-semicolon { color: #d4d4d4; }

/* Features Section */
.features {
  padding: 140px 0;
  position: relative;
  background: var(--dark-secondary);
}

.section-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  opacity: 0.5;
}

.bg-pattern {
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(circle at 25% 25%, rgba(255, 215, 0, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 75% 75%, rgba(255, 165, 0, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 50% 50%, rgba(255, 140, 0, 0.05) 0%, transparent 50%);
  animation: patternFloat 30s ease-in-out infinite;
}

@keyframes patternFloat {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  50% { transform: translate(10px, -10px) rotate(1deg); }
}

.section-header {
  position: relative;
  z-index: 2;
  margin-bottom: 6rem;
  text-align: center;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  background: rgba(255, 215, 0, 0.15);
  border: 1px solid rgba(255, 215, 0, 0.3);
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary-gold);
  margin-bottom: 2rem;
  backdrop-filter: blur(10px);
  animation: badgeGlow 4s ease-in-out infinite;
}

@keyframes badgeGlow {
  0%, 100% { 
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.2);
  }
  50% { 
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.4);
  }
}

.section-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 800;
  color: var(--dark-text);
  margin-bottom: 2rem;
  line-height: 1.2;
  letter-spacing: -1px;
}

.section-description {
  font-size: 1.2rem;
  color: var(--dark-text-secondary);
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.8;
}


.features-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
gap: 2rem;
position: relative;
z-index: 2;
}

.modern-card {
  background: rgba(28, 33, 40, 0.8);
  backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid var(--dark-border);
  border-radius: 24px;
  padding: 3rem;
  text-align: center;
  transition: all var(--animation-speed-slow) var(--easing-smooth);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-medium);
}

.modern-card::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: conic-gradient(from 0deg, transparent, var(--primary-gold), transparent);
  opacity: 0;
  transition: all var(--animation-speed-slow) var(--easing-smooth);
  animation: borderRotate 6s linear infinite;
  border-radius: 26px;
  z-index: -1;
}

.modern-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--dark-card);
  border-radius: 24px;
  z-index: -1;
}


@keyframes borderRotate {
  100% { transform: rotate(360deg); }
}

.modern-card:hover::before {
  opacity: 0.8;
}

.modern-card:hover {
  transform: translateY(-15px) scale(1.02);
  box-shadow: var(--shadow-heavy);
  border-color: rgba(255, 215, 0, 0.4);
}

.feature-icon-wrapper {
  position: relative;
  display: inline-block;
  margin-bottom: 2rem;
}

.feature-icon {
  width: 90px;
  height: 90px;
  background: var(--gradient-primary);
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  color: white;
  position: relative;
  z-index: 2;
  transition: all var(--animation-speed-medium) var(--easing-bounce);
  box-shadow: var(--shadow-medium);
}

.feature-icon::before {
  content: '';
  position: absolute;
  top: -5px;
  left: -5px;
  right: -5px;
  bottom: -5px;
  background: var(--gradient-warm);
  border-radius: 29px;
  z-index: -1;
  opacity: 0;
  transition: all var(--animation-speed-medium) var(--easing-smooth);
  filter: blur(10px);
}

.icon-background {
position: absolute;
top: -10px;
left: -10px;
width: 100px;
height: 100px;
background: linear-gradient(135deg, rgba(255, 215, 0, 0.3), rgba(255, 165, 0, 0.3));
border-radius: 25px;
z-index: 1;
transition: all 0.3s ease;
opacity: 0;
}

.modern-card:hover .feature-icon {
transform: scale(1.1) rotate(5deg);
}

.modern-card:hover .icon-background {
opacity: 1;
transform: scale(1.2) rotate(-5deg);
}

.feature-card h4 {
font-size: 1.4rem;
font-weight: 600;
margin-bottom: 1rem;
color: var(--dark-text);
}

.feature-card p {
color: var(--gray-text);
line-height: 1.6;
font-size: 1rem;
}

.card-glow {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
width: 0;
height: 0;
background: radial-gradient(circle, rgba(255, 215, 0, 0.4), transparent 70%);
transition: all 0.6s ease;
z-index: 1;
}

.modern-card:hover .card-glow {
width: 300px;
height: 300px;
}



/* CTA Section */
.cta-section {
  padding: 140px 0;
  background: var(--dark-primary);
  position: relative;
  overflow: hidden;
}

.cta-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.cta-pattern {
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(circle at 30% 20%, rgba(255, 215, 0, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 70% 80%, rgba(255, 165, 0, 0.12) 0%, transparent 50%),
    radial-gradient(circle at 50% 50%, rgba(255, 140, 0, 0.08) 0%, transparent 50%);
  animation: ctaFloat 25s ease-in-out infinite;
}

@keyframes ctaFloat {
  0%, 100% { transform: scale(1) rotate(0deg); }
  50% { transform: scale(1.1) rotate(2deg); }
}

.cta-content {
  text-align: center;
  position: relative;
  z-index: 2;
  color: var(--dark-text);
}

.cta-icon {
  width: 100px;
  height: 100px;
  background: var(--gradient-primary);
  border-radius: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: white;
  margin: 0 auto 2.5rem;
  position: relative;
  box-shadow: var(--shadow-heavy);
  animation: ctaPulse 3s ease-in-out infinite;
}

.cta-icon::before {
  content: '';
  position: absolute;
  top: -10px;
  left: -10px;
  right: -10px;
  bottom: -10px;
  background: var(--gradient-primary);
  border-radius: 38px;
  z-index: -1;
  opacity: 0.3;
  filter: blur(20px);
  animation: ctaPulse 3s ease-in-out infinite;
}

@keyframes ctaPulse {
  0%, 100% { 
    transform: scale(1);
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.4);
  }
  50% { 
    transform: scale(1.1);
    box-shadow: 0 0 50px rgba(255, 215, 0, 0.6);
  }
}

.cta-content h2 {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 800;
  margin-bottom: 2rem;
  line-height: 1.2;
  letter-spacing: -1px;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.cta-content p {
  font-size: 1.25rem;
  margin-bottom: 3rem;
  color: var(--dark-text-secondary);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

.btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  padding: 18px 36px;
  background: var(--gradient-primary);
  border: none;
  border-radius: 50px;
  color: white;
  font-weight: 700;
  font-size: 1.15rem;
  text-decoration: none;
  transition: all var(--animation-speed-medium) var(--easing-bounce);
  box-shadow: var(--shadow-heavy);
  position: relative;
  overflow: hidden;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.btn-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #857b05 0%, #cdad4e 100%);
  transition: left var(--animation-speed-medium) var(--easing-smooth);
  z-index: -1;
}

.btn-cta::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.4), transparent 70%);
  transition: all var(--animation-speed-fast) var(--easing-smooth);
  transform: translate(-50%, -50%);
  border-radius: 50%;
}

.btn-cta:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 20px 60px rgba(255, 215, 0, 0.4);
  color: white;
}

.btn-cta:hover::before {
  left: 0;
}

.btn-cta:hover::after {
  width: 300px;
  height: 300px;
}

/* Footer */
.footer {
  background: var(--dark-primary);
  color: var(--dark-text);
  padding: 5rem 0 0;
  position: relative;
  overflow: hidden;
}

.footer-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.footer-pattern {
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(circle at 20% 20%, rgba(255, 215, 0, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(255, 165, 0, 0.03) 0%, transparent 50%);
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 4rem;
  margin-bottom: 3rem;
  position: relative;
  z-index: 2;
}

.main-section .footer-logo {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 2rem;
}

.footer-logo img {
  height: 45px;
  filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.3));
  transition: all var(--animation-speed-medium) var(--easing-smooth);
}

.footer-logo:hover img {
  filter: drop-shadow(0 0 20px rgba(255, 215, 0, 0.6));
  transform: scale(1.1);
}

.footer-logo span {
  font-size: 1.6rem;
  font-weight: 800;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.5px;
}

.main-section p {
  color: var(--dark-text-secondary);
  line-height: 1.7;
  margin-bottom: 2.5rem;
  font-size: 1.05rem;
}

.social-links {
  display: flex;
  gap: 1.5rem;
}

.social-link {
  width: 50px;
  height: 50px;
  background: rgba(255, 215, 0, 0.1);
  border: 1px solid rgba(255, 215, 0, 0.2);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-gold);
  text-decoration: none;
  transition: all var(--animation-speed-medium) var(--easing-bounce);
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}

.social-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient-primary);
  opacity: 0;
  transition: opacity var(--animation-speed-medium) var(--easing-smooth);
  z-index: -1;
}

.social-link:hover {
  color: white;
  transform: translateY(-5px) scale(1.1);
  box-shadow: var(--shadow-glow);
  border-color: transparent;
}

.footer-section h5 {
color: var(--primary-gold);
margin-bottom: 1.5rem;
font-weight: 600;
font-size: 1.1rem;
}

.footer-section a {
color: rgba(255, 255, 255, 0.7);
text-decoration: none;
display: flex;
align-items: center;
gap: 8px;
margin-bottom: 0.75rem;
padding: 0.25rem 0;
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.footer-section a:hover {
color: var(--primary-gold);
transform: translateX(5px);
}

.footer-bottom {
border-top: 1px solid rgba(255, 255, 255, 0.1);
padding: 2rem 0;
position: relative;
z-index: 2;
}

.footer-bottom-content {
display: flex;
justify-content: space-between;
align-items: center;
}

.footer-bottom p {
  color: var(--dark-text-muted);
  margin: 0;
  font-size: 0.95rem;
}

.footer-bottom .fas.fa-heart {
  color: #ff4757;
  animation: heartbeat 2s ease-in-out infinite;
  margin: 0 5px;
}



@keyframes heartbeat {
  0%, 50%, 100% { transform: scale(1); }
  25%, 75% { transform: scale(1.2); }
}

.back-to-top {
  width: 50px;
  height: 50px;
  background: var(--gradient-primary);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-decoration: none;
  transition: all var(--animation-speed-medium) var(--easing-bounce);
  box-shadow: var(--shadow-medium);
}

.back-to-top:hover {
  transform: translateY(-5px) scale(1.1);
  color: white;
  box-shadow: var(--shadow-glow);
}


/* Animations */
.animate-slide-up {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(60px);
  transition: all var(--animation-speed-slow) var(--easing-smooth);
}

.animate-on-scroll.animate-visible {
  opacity: 1;
  transform: translateY(0);
}

.animate-fade-in {
  opacity: 0;
  animation: fadeIn var(--animation-speed-slow) var(--easing-smooth) forwards;
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

.animate-float {
  animation: heroFloat 8s ease-in-out infinite;
}

@keyframes heroFloat {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-25px) rotate(2deg); }
}

.animate-scale-in {
  opacity: 0;
  transform: scale(0.8);
  animation: scaleIn var(--animation-speed-medium) var(--easing-bounce) forwards;
}

@keyframes scaleIn {
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.animate-slide-left {
  opacity: 0;
  transform: translateX(-50px);
  animation: slideLeft var(--animation-speed-medium) var(--easing-smooth) forwards;
}

@keyframes slideLeft {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.animate-slide-right {
  opacity: 0;
  transform: translateX(50px);
  animation: slideRight var(--animation-speed-medium) var(--easing-smooth) forwards;
}

@keyframes slideRight {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Loading States */
body:not(.loaded) {
  overflow: hidden;
}

body:not(.loaded) .animate-slide-up,
body:not(.loaded) .animate-on-scroll {
  opacity: 0;
  transform: translateY(60px);
}

body.loaded .animate-slide-up,
body.loaded .animate-on-scroll {
  opacity: 1;
  transform: translateY(0);
}

/* Intersection Observer Animations */
.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s var(--easing-smooth);
}

.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: all 0.8s var(--easing-smooth);
}

.fade-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.fade-in-right {
  opacity: 0;
  transform: translateX(30px);
  transition: all 0.8s var(--easing-smooth);
}

.fade-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Mobile Responsive */
@media (max-width: 1200px) {
  .footer-content {
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
  }

  .hero-title {
    font-size: clamp(2.8rem, 5vw, 4rem);
  }
}

@media (max-width: 992px) {
  .hero {
    min-height: 90vh;
    padding: 3rem 0;
  }

  .row.min-vh-100 {
    min-height: auto !important;
  }

  .hero-title {
    font-size: clamp(2.5rem, 6vw, 3.5rem) !important;
    line-height: 1.1;
    margin-bottom: 1.5rem;
  }

  .section-title {
    font-size: clamp(2rem, 4vw, 2.8rem);
  }

  .features-grid {
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
  }

  .modern-card {
    padding: 2.5rem;
  }
}

@media (max-width: 768px) {
  .hero {
    padding: 2rem 0;
    text-align: center;
  }

  .col-lg-6.hero-content {
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
    padding: 1rem;
  }

  .hero-title {
    font-size: clamp(2rem, 8vw, 3rem) !important;
    line-height: 1.1 !important;
    margin-bottom: 1.5rem !important;
    text-align: center !important;
  }

  .hero-subtitle {
    font-size: 1.1rem;
    max-width: 100%;
    margin-bottom: 2rem;
  }

  .hero-buttons {
    justify-content: center;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
  }

  .hero-buttons .btn-primary-enhanced,
  .hero-buttons .btn-outline-enhanced {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }

  .hero-stats {
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
  }

  .code-window {
    transform: none;
    margin-top: 2rem;
  }

  .features-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .modern-card {
    padding: 2rem;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    text-align: center;
  }

  .social-links {
    justify-content: center;
  }

  .footer-bottom-content {
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
  }
}

@media (max-width: 576px) {
  .hero {
    padding: 1.5rem 0;
  }

  .hero-title {
    font-size: clamp(1.8rem, 8vw, 2.5rem) !important;
    line-height: 1.1 !important;
    margin-bottom: 1rem !important;
    padding: 0 1rem !important;
  }

  .hero-subtitle {
    font-size: 1rem;
    padding: 0 1rem;
    margin-bottom: 1.5rem;
  }

  .hero-stats {
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
  }

  .modern-card {
    padding: 1.5rem;
  }

  .feature-icon {
    width: 70px;
    height: 70px;
    font-size: 1.8rem;
  }

  .section-title {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
  }

  .cta-content h2 {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
  }

  .btn-cta {
    padding: 16px 28px;
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: clamp(1.6rem, 8vw, 2.2rem) !important;
    padding: 0 0.5rem !important;
  }

  .hero-subtitle {
    font-size: 0.95rem;
    padding: 0 0.5rem;
  }

  .hero-buttons .btn-primary-enhanced,
  .hero-buttons .btn-outline-enhanced {
    padding: 14px 24px;
    font-size: 0.95rem;
  }
}

/* Performance Optimizations */
* {
  will-change: auto;
}

.animate-on-scroll,
.modern-card,
.btn-primary-enhanced,
.btn-outline-enhanced {
  will-change: transform, opacity;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
@media (max-width: 768px) {
  .navbar,
  .modern-card,
  .social-link {
    backdrop-filter: none !important;
    background: rgba(13, 17, 23, 0.95) !important; /* Color sólido */
  }
}

@media (max-width: 768px) {
  * {
    will-change: auto !important; /* Quita will-change en móviles */
  }
}
@media (max-width: 768px) {
  .modern-card,
  .btn-primary-enhanced,
  .feature-icon {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1) !important; /* Sombra simple */
  }
  
  .modern-card:hover {
    box-shadow: 0 6px 16px rgba(0,0,0,0.15) !important;
  }
}



/* Hamburger personalizado */
.navbar-toggler.custom-toggler {
  border: none;
  width: 35px;
  height: 40px;
  position: relative;
}

.navbar-toggler.custom-toggler span {
  display: block;
  width: 100%;
  height: 5px;
  background-color: #e2a218;
  margin: 5px 0;
  transition: all 0.3s ease-in-out;
}

/* Animación al abrir el menu */
.navbar-toggler.collapsed span:nth-child(1) {
  transform: rotate(0) translate(0, 0);
}

.navbar-toggler.collapsed span:nth-child(2) {
  opacity: 1;
}

.navbar-toggler.collapsed span:nth-child(3) {
  transform: rotate(0) translate(0, 0);
}

.navbar-toggler:not(.collapsed) span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.navbar-toggler:not(.collapsed) span:nth-child(2) {
  opacity: 0;
}

.navbar-toggler:not(.collapsed) span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}


