:root {
  --bg: #030b18;
  --bg-soft: #071a33;
  --panel: rgba(10, 29, 56, 0.72);
  --panel-strong: rgba(9, 21, 41, 0.88);
  --text: #e6f5ff;
  --muted: #9ec1d9;
  --cyan: #2ee6ff;
  --cyan-soft: #90f7ff;
  --yellow: #ffd55a;
  --blue-line: rgba(108, 198, 255, 0.16);
}

* {
  scroll-behavior: smooth;
}

html {
  overflow-x: hidden;
}

body {
  font-family: "Outfit", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(46, 230, 255, 0.12), transparent 26%),
    radial-gradient(circle at top right, rgba(255, 213, 90, 0.08), transparent 22%),
    linear-gradient(180deg, #020817 0%, #071225 42%, #05101f 100%);
  color: var(--text);
  overflow-x: hidden;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

section[id],
[id] {
  scroll-margin-top: 6.8rem;
}

body.page-loaded {
  opacity: 1;
  transform: none;
}

body.page-leaving {
  opacity: 0;
  transform: translateY(12px);
}

h1,
h2,
h3,
h4,
.display-font {
  font-family: "Space Grotesk", sans-serif;
}

a,
button,
input,
select,
textarea {
  transition: all 0.25s ease;
}

img {
  max-width: 100%;
}

.selection-cyan::selection,
body::selection {
  background: rgba(46, 230, 255, 0.28);
}

.text-gradient {
  background: linear-gradient(90deg, #ffffff 0%, var(--cyan-soft) 50%, var(--yellow) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.section-padding {
  padding: 5.5rem 0;
}

.section-heading {
  max-width: 44rem;
}

.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid rgba(46, 230, 255, 0.18);
  background: rgba(255, 255, 255, 0.05);
  color: var(--cyan-soft);
  padding: 0.55rem 1rem;
  border-radius: 999px;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.glass-panel {
  background: linear-gradient(180deg, rgba(9, 25, 49, 0.72), rgba(5, 16, 31, 0.92));
  border: 1px solid rgba(160, 233, 255, 0.14);
  box-shadow:
    0 22px 60px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.glass-card {
  position: relative;
  overflow: hidden;
  border-radius: 1.5rem;
  background: linear-gradient(180deg, rgba(12, 32, 60, 0.72), rgba(4, 15, 29, 0.95));
  border: 1px solid rgba(146, 220, 255, 0.14);
  box-shadow:
    0 18px 44px rgba(1, 8, 20, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(14px);
}

.glass-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(46, 230, 255, 0.14), transparent 40%, rgba(255, 213, 90, 0.09));
  pointer-events: none;
}

.glow-ring {
  position: relative;
}

.glow-ring::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(46, 230, 255, 0.4), rgba(255, 213, 90, 0.22), rgba(255, 255, 255, 0.08));
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.primary-btn,
.secondary-btn,
.ghost-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  border-radius: 999px;
  padding: 0.95rem 1.45rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.primary-btn {
  color: #02111f;
  background: linear-gradient(90deg, var(--yellow), #ffe891);
  box-shadow: 0 18px 44px rgba(255, 213, 90, 0.2);
}

.primary-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 46px rgba(255, 213, 90, 0.3);
}

.secondary-btn {
  color: var(--text);
  border: 1px solid rgba(142, 235, 255, 0.18);
  background: rgba(255, 255, 255, 0.05);
}

.secondary-btn:hover,
.ghost-btn:hover {
  background: rgba(46, 230, 255, 0.12);
  border-color: rgba(46, 230, 255, 0.35);
  transform: translateY(-2px);
}

.ghost-btn {
  color: var(--cyan-soft);
  border: 1px dashed rgba(46, 230, 255, 0.3);
  background: transparent;
}

.nav-shell {
  border-bottom: 1px solid rgba(138, 225, 255, 0.08);
  background: rgba(2, 10, 24, 0.72);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: background 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.nav-shell.is-scrolled {
  background: rgba(2, 10, 24, 0.97);
  border-bottom-color: rgba(46, 230, 255, 0.22);
  box-shadow:
    0 1px 0 rgba(46, 230, 255, 0.12),
    0 4px 24px rgba(46, 230, 255, 0.07),
    0 18px 48px rgba(2, 8, 20, 0.55);
}

.nav-link {
  position: relative;
  color: rgba(230, 245, 255, 0.84);
}

.nav-link:hover,
.nav-link.is-active {
  color: #fff;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.4rem;
  width: 100%;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--cyan), var(--yellow));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.nav-link:hover::after,
.nav-link.is-active::after {
  transform: scaleX(1);
}

.mobile-nav {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.mobile-nav.is-open {
  max-height: 26rem;
}

.hero-shell,
.page-hero {
  position: relative;
  overflow: hidden;
}

.hero-shell::before,
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(3, 11, 24, 0.6), rgba(3, 11, 24, 0.82)),
    radial-gradient(circle at 18% 22%, rgba(46, 230, 255, 0.15), transparent 22%),
    radial-gradient(circle at 82% 14%, rgba(255, 213, 90, 0.09), transparent 18%);
  pointer-events: none;
}

.grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(149, 228, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(149, 228, 255, 0.06) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(circle at center, black 50%, transparent 100%);
  opacity: 0.45;
  pointer-events: none;
}

.orb {
  position: absolute;
  border-radius: 999px;
  filter: blur(12px);
  opacity: 0.7;
  animation: float 8s ease-in-out infinite;
}

.orb-cyan {
  background: rgba(46, 230, 255, 0.3);
}

.orb-yellow {
  background: rgba(255, 213, 90, 0.24);
}

.hero-particle {
  position: absolute;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 0 16px rgba(46, 230, 255, 0.7);
  animation: particleFloat linear infinite;
}

.feature-icon,
.service-icon,
.course-icon {
  width: 3.25rem;
  height: 3.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 1.1rem;
  background: linear-gradient(135deg, rgba(46, 230, 255, 0.18), rgba(255, 213, 90, 0.16));
  border: 1px solid rgba(163, 233, 255, 0.18);
  color: var(--yellow);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.hover-lift:hover {
  transform: translateY(-8px);
  border-color: rgba(46, 230, 255, 0.28);
  box-shadow:
    0 22px 52px rgba(0, 0, 0, 0.36),
    0 0 0 1px rgba(46, 230, 255, 0.08),
    0 0 36px rgba(46, 230, 255, 0.12);
}

.image-frame {
  position: relative;
  overflow: hidden;
  border-radius: 1.6rem;
  border: 1px solid rgba(150, 226, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
}

.image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.image-frame:hover img {
  transform: scale(1.06);
}

.counter-number {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(2rem, 6vw, 3rem);
  line-height: 1;
}

.typing-cursor::after {
  content: "|";
  margin-left: 0.16rem;
  color: var(--yellow);
  animation: blink 0.9s step-end infinite;
}

.timeline-track {
  position: relative;
}

.timeline-track::before {
  content: "";
  position: absolute;
  left: 1rem;
  top: 0.8rem;
  bottom: 0.8rem;
  width: 2px;
  background: linear-gradient(180deg, rgba(46, 230, 255, 0.65), rgba(255, 213, 90, 0.2));
}

.timeline-dot {
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--cyan), var(--yellow));
  box-shadow: 0 0 22px rgba(46, 230, 255, 0.36);
  flex: 0 0 auto;
}

.faq-item {
  border: 1px solid rgba(155, 229, 255, 0.14);
  border-radius: 1.25rem;
  background: rgba(255, 255, 255, 0.04);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.faq-item.is-open .faq-answer {
  max-height: 16rem;
}

.faq-item.is-open .faq-plus {
  transform: rotate(45deg);
}

.faq-plus {
  transition: transform 0.25s ease;
}

.swiper-pagination-bullet {
  background: rgba(255, 255, 255, 0.45) !important;
}

.swiper-pagination-bullet-active {
  background: var(--yellow) !important;
}

.testimonial-card {
  height: auto;
}

.masonry-item {
  break-inside: avoid;
  margin-bottom: 1.5rem;
}

.gallery-card {
  cursor: pointer;
}

.gallery-card .overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 1.1rem;
  background: linear-gradient(180deg, transparent 30%, rgba(3, 11, 24, 0.85));
  opacity: 0;
  transition: opacity 0.28s ease;
}

.gallery-card:hover .overlay {
  opacity: 1;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(2, 8, 17, 0.92);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-content {
  width: min(100%, 70rem);
}

.lightbox img {
  width: 100%;
  max-height: 82vh;
  object-fit: contain;
  border-radius: 1.5rem;
  border: 1px solid rgba(151, 230, 255, 0.14);
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  border-radius: 1rem;
  border: 1px solid rgba(156, 227, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
  padding: 0.95rem 1rem;
  color: var(--text);
  outline: none;
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: rgba(230, 245, 255, 0.45);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: rgba(46, 230, 255, 0.5);
  box-shadow: 0 0 0 4px rgba(46, 230, 255, 0.1);
}

.form-select option {
  color: #04111d;
}

.floating-socials,
.floating-utilities {
  position: fixed;
  right: 1rem;
  z-index: 45;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.floating-socials {
  top: 40%;
}

.floating-utilities {
  bottom: 1rem;
}

.floating-btn {
  width: 3.25rem;
  height: 3.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(6, 22, 45, 0.88);
  border: 1px solid rgba(156, 227, 255, 0.14);
  color: #fff;
  box-shadow: 0 18px 32px rgba(0, 0, 0, 0.22);
}

.floating-btn:hover {
  transform: translateY(-3px);
  background: rgba(46, 230, 255, 0.16);
}

.floating-btn.whatsapp {
  background: linear-gradient(135deg, #22d96e, #0db050);
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow:
    0 8px 24px rgba(13, 176, 80, 0.45),
    0 0 0 0 rgba(34, 217, 110, 0.5);
  animation: whatsappPulse 2.2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.floating-btn.whatsapp:hover {
  background: linear-gradient(135deg, #2df07e, #13c45e);
  transform: translateY(-4px) scale(1.04);
  box-shadow:
    0 14px 36px rgba(13, 176, 80, 0.55),
    0 0 0 0 rgba(34, 217, 110, 0);
}

.whatsapp-sticky {
  width: auto;
  min-width: 3.25rem;
  padding: 0 1.1rem 0 0.9rem;
  gap: 0.65rem;
  font-size: 1.15rem;
  border-radius: 999px;
}

.whatsapp-sticky-text {
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.back-top {
  opacity: 0;
  visibility: hidden;
}

.back-top.is-visible {
  opacity: 1;
  visibility: visible;
}

.footer-grid {
  border-top: 1px solid rgba(156, 227, 255, 0.1);
}

.youtube-frame iframe {
  width: 100%;
  min-height: 19rem;
  border: 0;
  border-radius: 1.4rem;
}

.page-banner {
  min-height: 58vh;
}

.brand-badge {
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.06);
  border-radius: 999px;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-18px);
  }
}

@keyframes particleFloat {
  from {
    transform: translateY(0) scale(1);
    opacity: 0.18;
  }
  50% {
    opacity: 0.7;
  }
  to {
    transform: translateY(-110px) scale(1.7);
    opacity: 0;
  }
}

@keyframes blink {
  50% {
    opacity: 0;
  }
}

@keyframes whatsappPulse {
  0% {
    box-shadow:
      0 8px 24px rgba(13, 176, 80, 0.45),
      0 0 0 0 rgba(34, 217, 110, 0.55);
  }
  60% {
    box-shadow:
      0 8px 24px rgba(13, 176, 80, 0.4),
      0 0 0 18px rgba(34, 217, 110, 0);
  }
  100% {
    box-shadow:
      0 8px 24px rgba(13, 176, 80, 0.45),
      0 0 0 0 rgba(34, 217, 110, 0);
  }
}

@media (max-width: 1024px) {
  .floating-socials {
    display: none;
  }
}

@media (max-width: 640px) {
  .section-padding {
    padding: 4.4rem 0;
  }

  .timeline-track::before {
    left: 0.9rem;
  }

  .floating-utilities,
  .floating-socials {
    right: 0.8rem;
  }

  .whatsapp-sticky {
    padding: 0 0.85rem 0 0.75rem;
    gap: 0.5rem;
  }

  .whatsapp-sticky-text {
    font-size: 0.8rem;
  }
}
