:root {
  --primary-blue: #001229;
  --secondary-blue: #001C3D;
  --accent-gold: #D4AF37;
  --accent-gold-glow: rgba(212, 175, 55, 0.4);
  --white: #FFFFFF;
  --off-white: #F8FAFC;
  --glass: rgba(255, 255, 255, 0.03);
  --glass-border: rgba(255, 255, 255, 0.1);
  --glass-dark: rgba(0, 18, 41, 0.8);
  --text-main: #1A1A1A;
  --text-muted: #64748B;
  --transition-smooth: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  --container-width: 1200px;
}

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

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

body {
  font-family: 'Inter', sans-serif;
  color: var(--text-main);
  background-color: var(--off-white);
  line-height: 1.6;
  overflow-x: hidden;
  width: 100%;
  -webkit-text-size-adjust: 100%;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

html {
  overflow-x: hidden;
  width: 100%;
}

h1,
h2,
h3,
h4 {
  font-family: 'Outfit', sans-serif;
  text-transform: uppercase;
  letter-spacing: -0.02em;
}

/* Animated Background */
.bg-circles {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  overflow: hidden;
  background: radial-gradient(circle at top right, #001C3D, #000914);
}

.circle {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.15;
}

.circle-1 {
  width: 600px;
  height: 600px;
  background: var(--accent-gold);
  top: -200px;
  right: -100px;
}

.circle-2 {
  width: 500px;
  height: 500px;
  background: #0047AB;
  bottom: -100px;
  left: -100px;
}

/* Background Logo Parallax */
.bg-logo-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 1; /* Behind content but above the deep gradient */
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.bg-logo {
  width: 90vw;
  max-width: 800px;
  opacity: 0.15;
  filter: blur(4px);
  transform: translate(0, 0); 
  /* Smooths out mobile sensor noise */
  transition: transform 0.15s ease-out;
}

/* Layout */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 120px 0;
  position: relative;
  z-index: 10;
  /* Ensure all sections are above bg-circles */
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 20px 0;
  background: rgba(0, 18, 41, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 1000;
  border-bottom: 1px solid var(--glass-border);
  transition: var(--transition-smooth);
}

.header.scrolled {
  padding: 12px 0;
  background: rgba(0, 9, 20, 0.95);
}

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

.logo-img {
  height: 50px;
  transition: var(--transition-smooth);
}

.nav {
  display: flex;
  gap: 40px;
  align-items: center;
}

.nav-link {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: var(--transition-smooth);
}

.nav-link:hover {
  color: var(--accent-gold);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1100;
  padding: 10px;
}

.mobile-menu-toggle span {
  display: block;
  width: 28px;
  height: 2px;
  background: white;
  transition: var(--transition-smooth);
}

.mobile-menu-toggle.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}


/* Hero */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  color: white;
  padding-top: 100px;
}

.hero-content {
  position: relative;
  z-index: 20;
  max-width: 900px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid var(--accent-gold);
  color: var(--accent-gold);
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 24px;
  opacity: 0;
}

.hero-title {
  font-size: clamp(3.5rem, 8vw, 6.5rem);
  line-height: 1.1;
  font-weight: 900;
  margin-bottom: 24px;
  background: linear-gradient(to bottom, #fff, #a5a5a5);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  opacity: 0;
}

.hero-date {
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  font-weight: 400;
  margin-bottom: 32px;
  color: var(--accent-gold);
  opacity: 0;
}

.hero-text {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.7);
  max-width: 650px;
  margin-bottom: 56px;
  line-height: 1.6;
  opacity: 0;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  position: relative;
  z-index: 30;
  opacity: 0;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 18px 36px;
  border-radius: 12px;
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  transition: var(--transition-smooth);
  cursor: pointer;
}

.btn-primary {
  background: var(--accent-gold);
  color: var(--primary-blue);
  box-shadow: 0 10px 30px var(--accent-gold-glow);
}

.btn-primary:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 40px var(--accent-gold-glow);
  background: #e5be47;
}

.btn-gold {
  background: var(--accent-gold);
  color: var(--primary-blue);
}

.btn-outline {
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
  backdrop-filter: blur(10px);
}

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

.btn-student {
  background: linear-gradient(135deg, #FFD700, #D4AF37);
  color: var(--primary-blue);
  border: none;
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.4);
  animation: pulse-gold 2s infinite;
}

.btn-student:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 0 30px rgba(212, 175, 55, 0.6);
}

@keyframes pulse-gold {
  0% { box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.7); }
  70% { box-shadow: 0 0 0 15px rgba(212, 175, 55, 0); }
  100% { box-shadow: 0 0 0 0 rgba(212, 175, 55, 0); }
}

/* Sections */
.section-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  margin-bottom: 60px;
  color: white;
  line-height: 1;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.section-title span {
  color: var(--accent-gold);
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 80px;
}

/* Pricing Grid - Glassmorphism */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.pricing-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 48px;
  border-radius: 32px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
  color: white;
  z-index: 15;
  display: flex;
  flex-direction: column;
}

/* Subtle background glow for all cards */
.pricing-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.05) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.6s ease;
  z-index: -1;
  pointer-events: none;
}

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

.pricing-card:hover {
  transform: translateY(-16px);
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.15), 0 0 20px rgba(212, 175, 55, 0.1);
  border-color: rgba(212, 175, 55, 0.5);
  background: rgba(255, 255, 255, 0.08);
}

.pricing-card.featured {
  background: linear-gradient(135deg, rgba(0, 28, 61, 0.9), rgba(0, 18, 41, 0.95));
  border: 2px solid var(--accent-gold);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2), inset 0 0 20px rgba(212, 175, 55, 0.05);
}

.pricing-card.featured::before {
  opacity: 0.5;
}

.pricing-card.featured:hover {
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.3), 0 0 30px rgba(212, 175, 55, 0.2);
}

.pricing-card.featured .plan-price {
  color: var(--accent-gold);
}

/* Plan Icons */
.plan-icon-wrapper {
  width: 64px;
  height: 64px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  color: var(--accent-gold);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.pricing-card.featured .plan-icon-wrapper {
  background: rgba(212, 175, 55, 0.15);
  border-color: rgba(212, 175, 55, 0.3);
}

.plan-icon {
  width: 32px;
  height: 32px;
  min-width: 32px;
  max-width: 32px;
  flex-shrink: 0;
}

.tag {
  background: var(--accent-gold);
  color: var(--primary-blue);
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 800;
  position: absolute;
  top: 32px;
  right: 32px;
  box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
}

.plan-name {
  font-size: 1.5rem;
  margin-bottom: 12px;
}

.plan-price {
  font-size: 3.5rem;
  font-weight: 900;
  margin-bottom: 32px;
  color: var(--white);
  line-height: 1;
}

.plan-price span {
  font-size: 1.1rem;
  font-weight: 400;
  opacity: 0.6;
  color: white;
}

.plan-divider {
  height: 1px;
  background: linear-gradient(to right, rgba(255, 255, 255, 0.15), transparent);
  margin-bottom: 32px;
}

.plan-features {
  list-style: none;
  margin-bottom: 48px;
  flex-grow: 1;
}

.plan-features li {
  margin-bottom: 16px;
  opacity: 0.9;
  display: flex;
  align-items: center;
  gap: 12px;
}

.check-icon {
  width: 20px;
  height: 20px;
  min-width: 20px;
  max-width: 20px;
  color: var(--accent-gold);
  flex-shrink: 0;
}

.pricing-card .btn {
  width: 100%;
  margin-top: auto;
}

/* Contest Section */
.contest {
  background: var(--primary-blue);
  color: white;
  border-radius: 64px;
  margin: 0 24px;
}

.contest-container {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 80px;
  align-items: center;
}

.contest-image {
  display: flex;
  justify-content: center;
  align-items: center;
}

.floating-logo {
  max-width: 100%;
  height: auto;
  max-height: 400px;
  filter: drop-shadow(0 0 30px rgba(212, 175, 55, 0.3));
  transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.floating-logo:hover {
  transform: scale(1.1) rotate(5deg);
}

.contest .section-title {
  color: white;
}

.contest-prizes {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 48px;
}

.contest-prizes li {
  background: rgba(255, 255, 255, 0.05);
  padding: 24px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: var(--transition-smooth);
}

.contest-prizes li:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--accent-gold);
}

.contest-rules {
  background: var(--accent-gold);
  color: var(--primary-blue);
  padding: 40px;
  border-radius: 32px;
}

.deadline {
  font-weight: 900;
  font-size: 1.5rem;
  margin-top: 24px;
  display: block;
}

/* Winners Styles */
.winner-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.winner-username {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 1.3rem;
  color: var(--accent-gold);
}

.winner-prize {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.9);
}

.success-message {
  text-align: center;
}

.success-message h4 {
  font-size: 2rem;
  margin-bottom: 8px;
}

/* Benefits */
.benefits-intro {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.85);
  text-align: center;
  max-width: 700px;
  margin: 0 auto 64px;
  line-height: 1.7;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.benefit-item {
  padding: 64px 40px;
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 40px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: white;
  transition: var(--transition-smooth);
}

.benefit-item:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--accent-gold);
  transform: translateY(-8px);
}

.benefit-item h3 {
  font-size: 1.4rem;
  color: var(--accent-gold);
  margin-bottom: 16px;
}

.benefit-item p {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.7;
}

.benefit-icon {
  font-size: 4rem;
  margin-bottom: 32px;
  display: block;
}

/* Experiencia Ápice */
.experience-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.exp-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 32px;
  overflow: hidden;
  border: 1px solid var(--glass-border);
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
}

.exp-card:hover {
  transform: translateY(-8px);
  border-color: var(--accent-gold);
  background: rgba(255, 255, 255, 0.06);
}

.exp-image-placeholder {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.1));
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--glass-border);
}

.exp-content {
  padding: 32px;
  text-align: left;
}

.exp-content h3 {
  color: var(--accent-gold);
  font-size: 1.4rem;
  margin-bottom: 16px;
}

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

/* Instalaciones */
.facilities-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, 250px);
  gap: 24px;
}

.facility-item {
  position: relative;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 32px;
  overflow: hidden;
  border: 1px solid var(--glass-border);
  transition: var(--transition-smooth);
}

.facility-item.large {
  grid-row: span 2;
}

.facility-item:hover {
  border-color: var(--accent-gold);
  transform: scale(1.02);
}

.facility-image-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.1));
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 0;
  left: 0;
}

.facility-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 40px 24px 24px;
  background: linear-gradient(to top, rgba(0, 9, 20, 0.9), transparent);
  pointer-events: none;
}

.facility-overlay h3 {
  color: white;
  font-size: 1.25rem;
  margin: 0;
}

/* Floating WhatsApp */
.floating-wa {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background-color: #25D366;
  color: white;
  border-radius: 50%;
  box-shadow: 0 10px 20px rgba(37, 211, 102, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.floating-wa svg {
  width: 32px;
  height: 32px;
}

.floating-wa:hover {
  transform: scale(1.1) translateY(-4px);
  box-shadow: 0 15px 25px rgba(37, 211, 102, 0.4);
}
/* Footer */
.footer {
  background: #000914;
  color: white;
  padding: 100px 0 40px;
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  margin-bottom: 80px;
}

.footer-logo {
  height: 60px;
  margin-bottom: 32px;
}

.footer-bottom {
  text-align: center;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.85rem;
}


.footer-contact h4 {
  color: var(--accent-gold);
  margin-bottom: 24px;
}

.footer-contact a {
  color: white;
  text-decoration: none;
  font-size: 1.5rem;
  display: block;
  margin-bottom: 12px;
  transition: var(--transition-smooth);
}

.footer-contact a:hover {
  color: var(--accent-gold);
  transform: translateX(8px);
}

/* Team Section */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.team-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 32px;
  overflow: hidden;
  border: 1px solid var(--glass-border);
  transition: var(--transition-smooth);
}

.team-card:hover {
  transform: translateY(-12px);
  border-color: var(--accent-gold);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.team-photo-placeholder {
  width: 100%;
  aspect-ratio: 1 / 1;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.1));
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--glass-border);
}

.placeholder-text {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.2);
  text-transform: uppercase;
  letter-spacing: 0.2em;
}

.team-info {
  padding: 32px;
  text-align: center;
}

.team-name {
  font-size: 1.25rem;
  color: var(--accent-gold);
  margin-bottom: 12px;
}

.team-desc {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.5;
}

/* Reveal Animations Classes */
.reveal-item {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.reveal-item.active {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 1100px) {
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

  .container {
    padding: 0 20px;
  }

  .nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    height: 100vh;
    background: var(--primary-blue);
    flex-direction: column;
    justify-content: center;
    gap: 32px;
    transition: var(--transition-smooth);
    z-index: 1050;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(20px);
  }

  .nav.active {
    right: 0;
  }

  .mobile-menu-toggle {
    display: flex;
  }

  .hero-title {
    font-size: clamp(2.5rem, 12vw, 3.5rem);
  }

  .hero-date {
    font-size: 1.25rem;
    margin-bottom: 24px;
  }

  .section-title {
    font-size: 2.25rem;
    margin-bottom: 40px;
  }

  .pricing-grid,
  .benefits-grid,
  .contest-container,
  .footer-content,
  .team-grid,
  .experience-grid,
  .facilities-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .facilities-grid {
    grid-template-rows: auto;
  }

  .facility-item { 
    height: 250px; 
  }
  
  .facility-item.large { 
    grid-row: auto; 
  }

  .pricing-card,
  .team-card,
  .benefit-item {
    padding: 32px 24px;
  }

  .plan-price {
    font-size: 2.75rem;
  }

  .contest {
    border-radius: 32px;
    margin: 0 10px;
  }

  .contest-container {
    gap: 40px;
  }

  .contest-image {
    order: -1;
  }

  .floating-logo {
    max-height: 150px;
  }

}


/* Dynamic Content Refinements */
.content-slider {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.slide-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 1s ease-in-out;
}

.team-photo-container {
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
  border-bottom: 2px solid var(--accent-gold);
}

.team-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.team-card:hover .team-photo {
  transform: scale(1.1);
}

.facility-image-placeholder, .exp-image-placeholder {
  position: relative;
  overflow: hidden;
  background: #000;
}
