:root {
  color-scheme: dark;
  --bg: #071218;
  --surface: rgba(17, 37, 58, 0.86);
  --surface-soft: rgba(22, 50, 85, 0.78);
  --accent: #2ad7a5;
  --accent-2: #faa41b;
  --text: #f6fbff;
  --muted: #a3b9ce;
  --border: rgba(255, 255, 255, 0.08);
  --shadow: 0 40px 120px rgba(0, 0, 0, 0.24);
  --radius: 28px;
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html, body {
  margin: 0;
  min-height: 100%;
  font-family: 'Inter', sans-serif;
  background: radial-gradient(circle at top, rgba(42, 215, 165, 0.14), transparent 28%),
    radial-gradient(circle at left, rgba(250, 164, 27, 0.12), transparent 22%),
    linear-gradient(180deg, #07141f 0%, #0f1f33 55%, #0a1622 100%);
  color: var(--text);
}

body {
  overflow-x: hidden;
}

.page-shell {
  width: min(1200px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 2rem 0 4rem;
  position: relative;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.6s ease;
}

body.loaded .page-shell {
  opacity: 1;
  pointer-events: auto;
}

.splash-screen {
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at center, rgba(42, 215, 165, 0.22), transparent 35%),
    linear-gradient(135deg, rgba(7, 18, 32, 0.98), rgba(12, 37, 59, 0.98));
  display: grid;
  place-items: center;
  z-index: 9999;
  overflow: hidden;
}

.splash-screen.hidden {
  opacity: 0;
  pointer-events: none;
}

.splash-content {
  text-align: center;
  color: #f6fbff;
  animation: splashEnter 1.2s ease both, splashPulse 2.4s ease-in-out infinite 0.5s;
}

.splash-logo {
  width: 140px;
  height: 140px;
  object-fit: contain;
  border-radius: 24px;
  border: 1px solid rgba(255,255,255,0.16);
  background: rgba(255,255,255,0.06);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.24);
  margin-bottom: 1.5rem;
}

.splash-content h1 {
  margin: 0;
  font-size: clamp(2.25rem, 4vw, 3.4rem);
  letter-spacing: 0.04em;
}

.splash-content p {
  margin: 0.75rem auto 0;
  max-width: 320px;
  color: rgba(246, 251, 255, 0.78);
  font-size: 1rem;
  letter-spacing: 0.12em;
}

@keyframes splashEnter {
  0% { opacity: 0; transform: translateY(32px) scale(0.92); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes splashPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.03); }
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem 1.5rem;
  margin-bottom: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  backdrop-filter: blur(18px);
  background: rgba(6, 16, 30, 0.75);
  transition: var(--transition-smooth);
  position: sticky;
  top: 1rem;
  z-index: 50;
}

.topbar:hover {
  border-color: rgba(42, 215, 165, 0.15);
  background: rgba(6, 16, 30, 0.85);
  box-shadow: 0 8px 32px rgba(42, 215, 165, 0.08);
}

.brand {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.brand-logo {
  width: 3.2rem;
  height: 3.2rem;
  border-radius: 24px;
  object-fit: contain;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.2);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: var(--transition-smooth);
}

.brand-logo:hover {
  transform: scale(1.08) rotateZ(2deg);
  box-shadow: 0 20px 50px rgba(42, 215, 165, 0.15);
}

.brand-name {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.brand-subtitle {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 500;
}

.nav-links {
  display: flex;
  gap: 1.25rem;
  align-items: center;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  transition: var(--transition-smooth);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
}

.nav-links a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-links a:hover {
  color: var(--text);
  background: rgba(42, 215, 165, 0.08);
}

.hero {
  display: grid;
  grid-template-columns: 1.15fr 0.95fr;
  align-items: center;
  gap: 2rem;
  min-height: 720px;
}

.hero-copy {
  max-width: 600px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1rem;
  border-radius: 999px;
  background: rgba(42, 215, 165, 0.12);
  color: #b8fff4;
  font-weight: 700;
  margin-bottom: 1.5rem;
  transition: var(--transition-smooth);
}

.eyebrow:hover {
  background: rgba(42, 215, 165, 0.18);
  transform: translateX(4px);
}

.eyebrow-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #2ad7a5;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.2); }
}

.hero h1 {
  margin: 0;
  font-size: clamp(3rem, 4vw, 4.75rem);
  line-height: 0.95;
  letter-spacing: -0.05em;
  animation: heroFadeIn 0.8s ease-out;
}

@keyframes heroFadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero p {
  margin: 1.75rem 0;
  max-width: 560px;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.8;
  animation: heroFadeIn 0.8s ease-out 0.1s both;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
  animation: heroFadeIn 0.8s ease-out 0.2s both;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-width: 160px;
  padding: 1rem 1.4rem;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.button::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--x, 0) var(--y, 0), rgba(255,255,255,0.3), transparent 50%);
  opacity: 0;
  transition: opacity 0.3s;
}

.button:hover {
  transform: translateY(-2px);
}

.primary {
  color: #071218;
  background: linear-gradient(135deg, #2ad7a5, #1cdbe9);
  box-shadow: 0 18px 40px rgba(42, 215, 165, 0.24);
}

.primary:hover {
  box-shadow: 0 24px 50px rgba(42, 215, 165, 0.32);
}

.ghost {
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.13);
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
}

.ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.22);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  animation: slideInUp 0.6s ease both;
}

.stat:nth-child(2) {
  animation-delay: 0.1s;
}

.stat:nth-child(3) {
  animation-delay: 0.2s;
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.stat-value {
  font-size: 1.8rem;
  font-weight: 800;
  background: linear-gradient(135deg, #2ad7a5, #1cdbe9);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hero-highlights {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.hero-highlights div {
  padding: 1rem 1.15rem;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}

.hero-highlights strong, .hero-highlights span {
  display: block;
  font-size: 1.1rem;
  font-weight: 700;
}

.hero-highlights small {
  color: var(--muted);
}

.hero-visual {
  position: relative;
  min-height: 560px;
  display: grid;
  place-items: center;
}

.device-shell {
  width: min(520px, 100%);
  aspect-ratio: 1 / 1.16;
  border-radius: 42px;
  background: linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.02));
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: var(--shadow);
  transform-style: preserve-3d;
  transform: perspective(1200px) rotateY(-18deg) rotateX(8deg);
  animation: deviceFloat 3s ease-in-out infinite;
}

@keyframes deviceFloat {
  0%, 100% {
    transform: perspective(1200px) rotateY(-18deg) rotateX(8deg) translateY(0);
  }
  50% {
    transform: perspective(1200px) rotateY(-18deg) rotateX(8deg) translateY(-10px);
  }
}

.device-screen {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 38px;
  padding: 2rem;
  display: grid;
  gap: 1rem;
  background: linear-gradient(180deg, rgba(7,20,30,0.9), rgba(10,29,45,0.93));
  overflow: hidden;
}

.program-icon {
  width: 72px;
  height: 72px;
  border-radius: 22px;
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 1.75rem;
  font-weight: 700;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.2);
}

.math { background: #1cb4ff; grid-area: 1 / 1; }
.science { background: #8c6cff; justify-self: end; grid-area: 1 / 3; }
.english { background: #faa41b; justify-self: center; grid-area: 2 / 2; }

.device-content {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
}

.content-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 22px;
  padding: 1.1rem 1.25rem;
  color: var(--text);
  font-weight: 600;
}

.floating-badges {
  position: absolute;
  left: 50%;
  bottom: -1rem;
  width: calc(100% - 3rem);
  display: flex;
  justify-content: space-between;
  transform: translateX(-50%);
  gap: 1rem;
  animation: badgesSlideIn 0.8s ease-out 0.4s both;
}

@keyframes badgesSlideIn {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}

.floating-badges span {
  flex: 1;
  text-align: center;
  padding: 0.9rem 1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.95rem;
  color: var(--text);
  backdrop-filter: blur(10px);
  transition: var(--transition-smooth);
}

.floating-badges span:hover {
  background: rgba(42, 215, 165, 0.12);
  border-color: rgba(42, 215, 165, 0.25);
  transform: translateY(-4px);
}

.section-header {
  margin-bottom: 3rem;
}

.section-header p {
  color: var(--accent);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 0 0.75rem;
  font-size: 0.9rem;
}

.section-header h2 {
  font-size: clamp(2.2rem, 3vw, 3rem);
  margin: 0;
  letter-spacing: -0.02em;
}

.section-subtitle {
  margin-top: 1rem;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.6;
  max-width: 600px;
}

.program-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

.program-card {
  padding: 2rem;
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255,255,255,0.07), rgba(255,255,255,0.03));
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 24px 72px rgba(0, 0, 0, 0.18);
  position: relative;
  overflow: hidden;
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.program-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(255,255,255,0.14), transparent 34%);
  opacity: 0.55;
}

.program-card:hover {
  transform: translateY(-8px);
  border-color: rgba(42, 215, 165, 0.25);
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.25), 0 0 30px rgba(42, 215, 165, 0.1);
}

.program-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
}

.program-icon-bg {
  font-size: 2.5rem;
  line-height: 1;
}

.program-card h3 {
  margin-top: 0;
  margin-bottom: 1rem;
  font-size: 1.4rem;
  color: var(--text);
  position: relative;
  z-index: 1;
}

.program-card p {
  margin: 0 0 1.5rem;
  color: var(--muted);
  line-height: 1.8;
  position: relative;
  z-index: 1;
  flex-grow: 1;
}

.program-features {
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.program-features li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.program-features li::before {
  content: '✓';
  color: var(--accent);
  font-weight: 800;
  flex-shrink: 0;
}

.badge {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(42, 215, 165, 0.9), rgba(28, 235, 233, 0.7));
  color: #071218;
  font-weight: 800;
}

.blue { border-color: rgba(71, 135, 255, 0.18); }
.green { border-color: rgba(46, 212, 156, 0.25); }
.orange { border-color: rgba(250, 164, 27, 0.25); }
.purple { border-color: rgba(135, 96, 241, 0.22); }

.features {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2rem;
  margin: 4rem 0;
}

.feature-copy .section-label {
  color: var(--accent);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.feature-copy p {
  color: var(--muted);
  line-height: 1.8;
  margin-top: 1.25rem;
  max-width: 540px;
}

.feature-cards {
  display: grid;
  gap: 1.25rem;
}

.feature-box {
  padding: 1.75rem;
  border-radius: 28px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.16);
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.feature-box::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(42, 215, 165, 0.05), rgba(28, 219, 233, 0.03));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.feature-box:hover {
  border-color: rgba(42, 215, 165, 0.2);
  box-shadow: 0 32px 60px rgba(0, 0, 0, 0.22), 0 0 20px rgba(42, 215, 165, 0.08);
  transform: translateY(-4px);
}

.feature-box:hover::before {
  opacity: 1;
}

.feature-box h4 {
  margin: 0 0 0.85rem;
  font-size: 1.2rem;
  position: relative;
  z-index: 1;
}

.feature-box p {
  margin: 0;
  color: var(--muted);
  line-height: 1.9;
  position: relative;
  z-index: 1;
}

.contact {
  padding: 3rem 0 0;
}

.contact .section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.contact .section-header p {
  color: var(--accent);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 0 0.75rem;
}

.contact .section-header h2 {
  font-size: clamp(2rem, 3vw, 2.8rem);
  margin: 0;
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
  align-items: start;
}

.contact-info {
  display: grid;
  gap: 1.5rem;
}

.contact-info .contact-card {
  padding: 2rem;
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(42, 215, 165, 0.08), rgba(28, 219, 233, 0.06));
  border: 1px solid rgba(42, 215, 165, 0.18);
  transition: all 0.3s ease;
}

.contact-info .contact-card:hover {
  border-color: rgba(42, 215, 165, 0.35);
  background: linear-gradient(135deg, rgba(42, 215, 165, 0.12), rgba(28, 219, 233, 0.1));
  transform: translateY(-4px);
  box-shadow: 0 24px 60px rgba(42, 215, 165, 0.15);
}

.contact-icon {
  display: inline-block;
  font-size: 2.2rem;
  margin-bottom: 1rem;
}

.contact-info h3 {
  margin: 0 0 0.5rem;
  font-size: 1.2rem;
  color: var(--text);
}

.contact-label {
  margin: 0.5rem 0;
  color: var(--muted);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
}

.contact-value {
  display: inline-block;
  margin: 0.75rem 0;
  color: var(--accent);
  font-weight: 700;
  font-size: 1.1rem;
  text-decoration: none;
  transition: color 0.24s ease;
}

.contact-value:hover {
  color: #1cdbe9;
}

.contact-desc {
  margin: 0.75rem 0 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

.contact-cta {
  padding: 2.5rem;
  border-radius: 28px;
  background: linear-gradient(135deg, rgba(255,255,255,0.08), rgba(255,255,255,0.04));
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.contact-cta h3 {
  margin: 0 0 1rem;
  font-size: 1.6rem;
  color: var(--text);
}

.contact-cta p {
  margin: 0 0 2rem;
  color: var(--muted);
  line-height: 1.8;
  font-size: 1rem;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.cta-buttons .button {
  flex: 1;
  display: inline-flex;
  gap: 0.6rem;
  justify-content: center;
  align-items: center;
  font-size: 1rem;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.info-label {
  margin: 0;
  color: var(--muted);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.info-value {
  margin: 0;
  color: var(--accent);
  font-weight: 700;
  font-size: 1.05rem;
}

@media (max-width: 1024px) {
  .contact-wrapper {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 640px) {
  .cta-buttons {
    flex-direction: column;
  }
  
  .info-grid {
    grid-template-columns: 1fr;
  }
}

.contact-list {
  display: none;
}

.whatsapp-button {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 3.2rem;
  height: 3.2rem;
  border-radius: 50%;
  background: linear-gradient(135deg, #25d366, #1fad52);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 16px 48px rgba(37, 211, 102, 0.28);
  transition: transform 0.24s ease, box-shadow 0.24s ease;
  z-index: 100;
}

.whatsapp-button:hover {
  transform: translateY(-4px) scale(1.08);
  box-shadow: 0 22px 60px rgba(37, 211, 102, 0.36);
}

.apply-section {
  padding: 4rem 0;
  background: linear-gradient(135deg, rgba(42, 215, 165, 0.06), rgba(250, 164, 27, 0.04));
  margin: 4rem auto 0;
  border-radius: 32px;
  max-width: 1200px;
  width: calc(100% - 2rem);
}

.apply-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  padding: 3rem;
  background: rgba(17, 37, 58, 0.6);
  border-radius: 24px;
  border: 1px solid rgba(42, 215, 165, 0.15);
  backdrop-filter: blur(20px);
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.2);
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease;
}

.apply-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.apply-content {
  flex: 1;
}

.apply-content .section-label {
  color: var(--accent);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 0 0.75rem;
  font-size: 0.9rem;
}

.apply-content h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin: 0 0 1rem;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
}

.apply-content p {
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1.6;
  margin: 0;
}

.apply-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1.25rem 2rem;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: var(--bg);
  text-decoration: none;
  border-radius: 16px;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  box-shadow: 0 8px 24px rgba(42, 215, 165, 0.3);
  border: none;
  cursor: pointer;
}

.apply-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(42, 215, 165, 0.4);
  background: linear-gradient(135deg, var(--accent-2), var(--accent));
}

.apply-btn svg {
  transition: transform 0.3s ease;
}

.apply-btn:hover svg {
  transform: translateX(2px);
}

.footer {
  margin-top: 6rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(6, 16, 30, 0.5), rgba(7, 14, 24, 0.8));
  padding: 4rem 0 2rem;
  position: relative;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(42, 215, 165, 0.3), transparent);
}

.footer-content {
  width: min(1200px, calc(100% - 2rem));
  margin: 0 auto 3rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 3rem;
}

.footer-section h4 {
  margin: 0 0 1rem;
  font-size: 1.1rem;
  color: var(--text);
  letter-spacing: 0.03em;
}

.footer-section p {
  margin: 0.5rem 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.footer-section ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-section ul li {
  margin: 0.6rem 0;
}

.footer-section a {
  color: var(--accent);
  text-decoration: none;
  transition: var(--transition-smooth);
  font-weight: 500;
  position: relative;
}

.footer-section a::before {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
}

.footer-section a:hover::before {
  transform: scaleX(1);
  transform-origin: left;
}

.footer-section a:hover {
  color: #1cdbe9;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  width: min(1200px, calc(100% - 2rem));
  margin: 0 auto;
}

.footer-bottom p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .footer-content {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

.whatsapp-button:active {
  transform: translateY(-2px) scale(1.04);
}

.whatsapp-button svg {
  width: 24px;
  height: 24px;
}

@media (max-width: 640px) {
  .whatsapp-button {
    bottom: 1.5rem;
    right: 1.5rem;
    width: 2.8rem;
    height: 2.8rem;
  }

  .whatsapp-button svg {
    width: 20px;
    height: 20px;
  }
}

@media (max-width: 1024px) {
  .hero,
  .features {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    order: -1;
  }
  
  .hero-stats {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .contact-wrapper {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 720px) {
  .page-shell {
    width: min(100%, calc(100% - 1.5rem));
    padding: 1.5rem 0 3rem;
  }

  .topbar {
    flex-direction: column;
    align-items: flex-start;
    position: relative;
    top: auto;
  }

  .nav-links {
    flex-wrap: wrap;
    gap: 0.75rem;
    width: 100%;
  }

  .nav-links a {
    flex: 1;
    text-align: center;
    min-width: 100px;
  }

  .hero-highlights {
    grid-template-columns: 1fr;
  }

  .program-grid {
    grid-template-columns: 1fr;
  }
  
  .hero-stats {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .stat-value {
    font-size: 1.4rem;
  }
  
  .cta-buttons {
    flex-direction: column;
  }
  
  .info-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .apply-section {
    width: calc(100% - 1rem);
    padding: 2rem 0;
    margin: 2rem auto 0;
  }
  
  .apply-card {
    flex-direction: column;
    text-align: center;
    gap: 2rem;
    padding: 2rem;
  }
  
  .apply-content h2 {
    font-size: 1.8rem;
  }
}
