:root {
  --primary-dark: #071426;
  --navy: #0B1F3A;
  --deep-blue: #0B2B52;
  --sky-blue: #1E9BFF;
  --electric-cyan: #4ADFFF;
  --gold: #F6B940;
  --cream: #FFF8EA;
  --white: #FFFFFF;
  --success-green: #20B26B;
  --coral: #FF6B4A;
  --header-height: 86px;
  --page-pad-x: clamp(1rem, 4vw, 4.8rem);
  --sphere-size: clamp(21rem, 42vw, 38rem);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  scroll-behavior: smooth;
}

body {
  min-height: 100%;
  margin: 0;
  color: var(--white);
  background:
    radial-gradient(circle at 76% 18%, rgba(30, 155, 255, 0.24), transparent 30rem),
    radial-gradient(circle at 18% 80%, rgba(246, 185, 64, 0.12), transparent 25rem),
    linear-gradient(135deg, var(--primary-dark) 0%, var(--navy) 47%, #04101f 100%);
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow-x: hidden;
}

button,
a {
  font: inherit;
}

button {
  border: 0;
  cursor: pointer;
}

.site-shell {
  position: relative;
  min-height: 100svh;
  isolation: isolate;
  overflow: hidden;
}

/* Ambient background layers */
.ambient {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  overflow: hidden;
}

.ambient::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.26;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 74px 74px;
  mask-image: radial-gradient(circle at 50% 42%, black, transparent 74%);
}

.glow,
.particle,
.stroke,
.speech-bubble {
  position: absolute;
  display: block;
}

.glow {
  width: 25rem;
  aspect-ratio: 1;
  border-radius: 999px;
  filter: blur(28px);
  opacity: 0.5;
}

.glow-one {
  top: 10%;
  right: 8%;
  background: rgba(74, 223, 255, 0.2);
  animation: pulseGlow 7s ease-in-out infinite;
}

.glow-two {
  bottom: -7rem;
  left: 7%;
  background: rgba(246, 185, 64, 0.13);
  animation: pulseGlow 9s ease-in-out infinite reverse;
}

.glow-three {
  top: 50%;
  right: 34%;
  width: 17rem;
  background: rgba(255, 107, 74, 0.09);
  animation: drift 11s ease-in-out infinite;
}

.particle {
  width: 0.48rem;
  height: 0.48rem;
  border-radius: 999px;
  background: var(--electric-cyan);
  box-shadow: 0 0 24px rgba(74, 223, 255, 0.9);
  opacity: 0.64;
  animation: floatParticle 12s ease-in-out infinite;
}

.particle-one {
  top: 20%;
  left: 8%;
}

.particle-two {
  top: 72%;
  left: 44%;
  animation-delay: -3s;
}

.particle-three {
  top: 34%;
  right: 6%;
  background: var(--gold);
  box-shadow: 0 0 22px rgba(246, 185, 64, 0.8);
  animation-delay: -7s;
}

.particle-four {
  right: 28%;
  bottom: 12%;
  animation-delay: -5s;
}

.stroke {
  width: 10rem;
  height: 3.8rem;
  border: 2px solid rgba(255, 248, 234, 0.16);
  border-color: rgba(255, 248, 234, 0.22) transparent transparent transparent;
  border-radius: 50%;
  transform: rotate(-10deg);
  animation: sketchFloat 8s ease-in-out infinite;
}

.stroke-one {
  left: 5%;
  bottom: 18%;
}

.stroke-two {
  top: 18%;
  right: 38%;
  border-color: rgba(74, 223, 255, 0.22) transparent transparent transparent;
  transform: rotate(18deg);
  animation-delay: -4s;
}

.speech-bubble {
  padding: 0.52rem 0.82rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px 999px 999px 0.35rem;
  color: rgba(255, 255, 255, 0.78);
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(14px);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  animation: bubbleRise 9s ease-in-out infinite;
}

.bubble-one {
  top: 18%;
  right: 10%;
  left: auto;
}

.bubble-two {
  top: 62%;
  right: 6%;
  animation-delay: -3s;
}

/* Top mini header */
.topbar {
  position: relative;
  z-index: 10;
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem var(--page-pad-x) 0;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 0.78rem;
  color: var(--white);
  text-decoration: none;
}

.brand-logo {
  display: block;
  width: auto;
  height: 3.35rem;
  object-fit: contain;
  mix-blend-mode: lighten;
  filter: drop-shadow(0 8px 18px rgba(246, 185, 64, 0.18));
}

.brand-mark strong,
.brand-mark small {
  display: block;
}

.brand-mark strong {
  font-family: "Poppins", sans-serif;
  font-size: clamp(1rem, 1.8vw, 1.18rem);
  line-height: 1.05;
}

.brand-mark small {
  margin-top: 0.15rem;
  color: rgba(255, 248, 234, 0.72);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.topbar-status {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  padding: 0.5rem 1rem;
  border: 1px solid rgba(74, 223, 255, 0.22);
  border-radius: 999px;
  color: var(--electric-cyan);
  background: rgba(7, 20, 38, 0.58);
  box-shadow: inset 0 0 20px rgba(74, 223, 255, 0.08);
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.whatsapp-link,
.sticky-whatsapp {
  color: var(--primary-dark);
  background: linear-gradient(135deg, var(--success-green), #7cf5ae);
  box-shadow: 0 14px 34px rgba(32, 178, 107, 0.24);
}

.whatsapp-link {
  min-height: 2.75rem;
  padding: 0 1.1rem;
  border-radius: 999px;
  font-weight: 900;
}

/* Full-screen hero section */
.hero {
  min-height: calc(100svh - var(--header-height));
  display: grid;
  grid-template-columns: minmax(0, 52%) minmax(0, 48%);
  align-items: center;
  gap: clamp(1.2rem, 3vw, 3rem);
  padding: clamp(1.5rem, 3.5vw, 3.4rem) var(--page-pad-x) 1.5rem;
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 52rem;
}

.badge,
.eyebrow,
.highlight-line,
.countdown-topline,
.time-label {
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0 0 1.2rem;
  padding: 0.55rem 0.85rem;
  border: 1px solid rgba(74, 223, 255, 0.24);
  border-radius: 999px;
  color: var(--cream);
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(18px);
  box-shadow: inset 0 0 20px rgba(74, 223, 255, 0.05);
  font-size: clamp(0.72rem, 1.2vw, 0.82rem);
  font-weight: 900;
}

.badge span {
  width: 0.58rem;
  height: 0.58rem;
  border-radius: 999px;
  background: var(--gold);
  box-shadow: 0 0 18px rgba(246, 185, 64, 0.9);
}

.eyebrow {
  margin: 0 0 0.8rem;
  color: var(--electric-cyan);
  font-size: clamp(0.72rem, 1.2vw, 0.9rem);
  font-weight: 900;
}

h1 {
  max-width: 11ch;
  margin: 0;
  color: var(--white);
  font-family: "Poppins", sans-serif;
  font-size: clamp(3.2rem, 7.1vw, 6.9rem);
  font-weight: 900;
  line-height: 0.91;
  text-wrap: balance;
}

.highlight-line {
  max-width: 44rem;
  margin: 1.2rem 0 0;
  color: var(--gold);
  font-size: clamp(1rem, 2vw, 1.42rem);
  font-weight: 900;
  line-height: 1.38;
  text-shadow: 0 0 28px rgba(246, 185, 64, 0.2);
}

.support-copy {
  max-width: 47rem;
  margin: 1.2rem 0 0;
  color: rgba(255, 248, 234, 0.77);
  font-size: clamp(0.98rem, 1.35vw, 1.08rem);
  line-height: 1.75;
}

/* Countdown block */
.countdown-panel {
  position: relative;
  z-index: 1;
  max-width: 45rem;
  margin-top: 1.7rem;
}

.countdown-topline {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.8rem;
  color: rgba(255, 248, 234, 0.6);
  font-size: 0.75rem;
  font-weight: 900;
}

.countdown-topline strong {
  color: var(--cream);
}

.countdown-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
}

.time-box {
  position: relative;
  min-height: 6.35rem;
  display: grid;
  align-content: center;
  justify-items: start;
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 1.35rem;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.035)),
    rgba(7, 20, 38, 0.38);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 18px 44px rgba(0, 0, 0, 0.18);
  overflow: hidden;
}

.time-box::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 2px;
  background: linear-gradient(90deg, var(--sky-blue), var(--electric-cyan), var(--gold));
  opacity: 0.8;
}

.time-value {
  color: var(--white);
  font-family: "Poppins", sans-serif;
  font-size: clamp(2rem, 4.2vw, 3.15rem);
  font-weight: 900;
  line-height: 0.92;
  letter-spacing: -0.05em;
  transform-origin: center;
}

.time-value.is-flipping {
  animation: numberFlip 460ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.time-label {
  margin-top: 0.5rem;
  color: rgba(255, 248, 234, 0.6);
  font-size: 0.68rem;
  font-weight: 900;
}

.live-message {
  display: none;
  margin: 0;
  padding: 1rem 1.1rem;
  border: 1px solid rgba(32, 178, 107, 0.35);
  border-radius: 1.1rem;
  color: var(--white);
  background: rgba(32, 178, 107, 0.14);
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  font-weight: 900;
}

.countdown-panel.is-live .countdown-grid,
.countdown-panel.is-live .countdown-topline {
  display: none;
}

.countdown-panel.is-live .live-message {
  display: block;
}

/* Primary calls to action */
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 1.5rem;
}

.btn {
  min-height: 3.55rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 1.35rem;
  border-radius: 999px;
  font-weight: 900;
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: var(--primary-dark);
  background: linear-gradient(135deg, var(--gold), #ffe8a6 52%, var(--electric-cyan));
  box-shadow: 0 16px 38px rgba(246, 185, 64, 0.22);
  animation: ctaGlow 2.8s ease-in-out infinite;
}

.btn-secondary {
  border: 1px solid rgba(74, 223, 255, 0.35);
  color: var(--white);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: inset 0 0 26px rgba(74, 223, 255, 0.08);
}

.btn-secondary:hover {
  border-color: rgba(74, 223, 255, 0.78);
  box-shadow: inset 0 0 30px rgba(74, 223, 255, 0.13), 0 12px 32px rgba(30, 155, 255, 0.14);
}

/* Animated spoken English word sphere */
.hero-visual {
  position: relative;
  z-index: 1;
  display: grid;
  min-height: min(42rem, 64svh);
  place-items: center;
  overflow: hidden;
}

.sphere-stage {
  position: relative;
  width: var(--sphere-size);
  height: var(--sphere-size);
  transform-style: preserve-3d;
  perspective: 1000px;
}

.sphere-stage::before {
  content: "";
  position: absolute;
  inset: 11%;
  border-radius: 999px;
  background:
    radial-gradient(circle at 35% 32%, rgba(255, 255, 255, 0.2), transparent 16%),
    radial-gradient(circle, rgba(30, 155, 255, 0.16), rgba(74, 223, 255, 0.05) 42%, transparent 67%);
  box-shadow: 0 0 82px rgba(30, 155, 255, 0.2), inset 0 0 60px rgba(74, 223, 255, 0.06);
  opacity: 0.9;
  animation: pulseCore 5s ease-in-out infinite;
}

.word-sphere {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
}

.word-sphere span {
  position: absolute;
  top: 50%;
  left: 50%;
  display: inline-block;
  padding: 0.18rem 0.45rem;
  border-radius: 999px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.04);
  text-shadow: 0 0 18px currentColor;
  white-space: nowrap;
  font-family: "Poppins", sans-serif;
  font-weight: 800;
  letter-spacing: -0.02em;
  will-change: transform, opacity, filter;
  user-select: none;
}

.sphere-core {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  width: clamp(8.5rem, 16vw, 12.5rem);
  height: clamp(8.5rem, 16vw, 12.5rem);
  display: grid;
  place-items: center;
  align-content: center;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background:
    radial-gradient(circle at 34% 24%, rgba(255, 255, 255, 0.28), transparent 18%),
    linear-gradient(145deg, rgba(30, 155, 255, 0.32), rgba(7, 20, 38, 0.7));
  box-shadow: inset 0 0 44px rgba(255, 255, 255, 0.08), 0 0 58px rgba(74, 223, 255, 0.16);
  text-align: center;
}

.sphere-core span {
  color: var(--gold);
  font-family: "Poppins", sans-serif;
  font-size: clamp(1.35rem, 2.5vw, 2rem);
  font-weight: 900;
  line-height: 1;
}

.sphere-core strong {
  max-width: 8rem;
  margin-top: 0.35rem;
  color: rgba(255, 248, 234, 0.78);
  font-size: clamp(0.72rem, 1.1vw, 0.85rem);
  letter-spacing: 0.08em;
  line-height: 1.25;
  text-transform: uppercase;
}

.orbit-ring {
  position: absolute;
  inset: 8%;
  border: 1px solid rgba(74, 223, 255, 0.18);
  border-radius: 999px;
  transform-style: preserve-3d;
  animation: ringRotate 18s linear infinite;
}

.ring-one {
  transform: rotateX(68deg) rotateZ(15deg);
}

.ring-two {
  inset: 17%;
  border-color: rgba(246, 185, 64, 0.2);
  transform: rotateY(62deg) rotateZ(-12deg);
  animation-duration: 24s;
  animation-direction: reverse;
}

.ring-three {
  inset: 26%;
  border-color: rgba(255, 255, 255, 0.13);
  transform: rotateX(26deg) rotateY(54deg);
  animation-duration: 20s;
}

/* Bottom trust strip */
.trust-strip {
  width: min(calc(100% - (var(--page-pad-x) * 2)), 72rem);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin: 0 auto 0.9rem;
}

.trust-strip span {
  min-height: 2.5rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.52rem 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  color: rgba(255, 248, 234, 0.76);
  background: rgba(255, 255, 255, 0.055);
  backdrop-filter: blur(16px);
  font-size: 0.82rem;
  font-weight: 800;
}

.trust-strip strong {
  color: var(--gold);
}

/* Footer microcopy */
.micro-footer {
  display: flex;
  justify-content: center;
  gap: 1rem;
  padding: 0 1rem 1.1rem;
  color: rgba(255, 248, 234, 0.5);
  font-size: 0.78rem;
  text-align: center;
}

.micro-footer p {
  margin: 0;
}

.sticky-whatsapp {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 30;
  display: none;
  min-height: 3.35rem;
  padding: 0 1.2rem;
  border-radius: 999px;
  font-weight: 900;
}

@keyframes pulseGlow {
  0%,
  100% {
    transform: scale(0.92);
    opacity: 0.36;
  }

  50% {
    transform: scale(1.08);
    opacity: 0.64;
  }
}

@keyframes drift {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }

  50% {
    transform: translate3d(-2rem, 1.2rem, 0);
  }
}

@keyframes floatParticle {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }

  50% {
    transform: translate3d(1.2rem, -2.4rem, 0) scale(1.4);
  }
}

@keyframes sketchFloat {
  0%,
  100% {
    opacity: 0.38;
    transform: translate3d(0, 0, 0) rotate(-10deg);
  }

  50% {
    opacity: 0.75;
    transform: translate3d(0.8rem, -0.8rem, 0) rotate(4deg);
  }
}

@keyframes bubbleRise {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
    opacity: 0.44;
  }

  50% {
    transform: translate3d(0.6rem, -1.1rem, 0);
    opacity: 0.9;
  }
}

@keyframes ctaGlow {
  0%,
  100% {
    box-shadow: 0 16px 38px rgba(246, 185, 64, 0.22), 0 0 0 rgba(74, 223, 255, 0);
  }

  50% {
    box-shadow: 0 16px 42px rgba(246, 185, 64, 0.28), 0 0 28px rgba(74, 223, 255, 0.16);
  }
}

@keyframes pulseCore {
  0%,
  100% {
    transform: scale(0.96);
    opacity: 0.72;
  }

  50% {
    transform: scale(1.04);
    opacity: 1;
  }
}

@keyframes ringRotate {
  from {
    rotate: 0deg;
  }

  to {
    rotate: 360deg;
  }
}

@keyframes numberFlip {
  0% {
    transform: translateY(0) scale(1);
    filter: blur(0);
  }

  45% {
    transform: translateY(-0.18rem) scale(1.12);
    filter: blur(1px);
  }

  100% {
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

@media (max-width: 1100px) {
  :root {
    --sphere-size: clamp(20rem, 46vw, 31rem);
  }

  .hero {
    grid-template-columns: minmax(0, 54%) minmax(0, 46%);
  }

  h1 {
    font-size: clamp(3rem, 7.8vw, 5.2rem);
  }

  .speech-bubble {
    display: none;
  }
}

@media (max-width: 860px) {
  :root {
    --header-height: auto;
    --sphere-size: min(76vw, 31rem);
  }

  .site-shell {
    overflow: visible;
  }

  .topbar {
    min-height: auto;
    padding-top: 1rem;
  }

  .topbar-status {
    position: static;
    transform: none;
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    padding-top: 2.8rem;
    text-align: center;
  }

  .hero-copy {
    max-width: 44rem;
    margin: 0 auto;
  }

  .badge,
  .countdown-topline,
  .cta-row {
    justify-content: center;
  }

  h1 {
    max-width: 12ch;
    margin-inline: auto;
  }

  .highlight-line,
  .support-copy,
  .countdown-panel {
    margin-inline: auto;
  }

  .hero-visual {
    min-height: auto;
    padding: 1.2rem 0 0.5rem;
  }

  .micro-footer {
    flex-direction: column;
    gap: 0.35rem;
    padding-bottom: 5.3rem;
  }

  .sticky-whatsapp {
    left: 1rem;
    right: 1rem;
    display: inline-flex;
    justify-content: center;
  }
}

@media (max-width: 620px) {
  :root {
    --page-pad-x: 1rem;
  }

  body {
    background:
      radial-gradient(circle at 70% 24%, rgba(30, 155, 255, 0.2), transparent 20rem),
      radial-gradient(circle at 18% 76%, rgba(246, 185, 64, 0.12), transparent 20rem),
      linear-gradient(140deg, var(--primary-dark), #06182d 62%, #030912);
  }

  .topbar {
    align-items: flex-start;
  }

  .brand-mark {
    gap: 0.62rem;
  }

  .brand-logo {
    height: 2.85rem;
  }

  .brand-mark small,
  .topbar-status {
    display: none;
  }

  .whatsapp-link {
    min-height: 2.55rem;
    padding-inline: 0.9rem;
    font-size: 0.82rem;
  }

  .hero {
    padding-top: 2rem;
  }

  h1 {
    font-size: clamp(2.75rem, 16vw, 4.5rem);
    letter-spacing: -0.07em;
  }

  .support-copy {
    font-size: 0.96rem;
    line-height: 1.65;
  }

  .countdown-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .time-box {
    min-height: 5.9rem;
    align-items: center;
    justify-items: center;
    text-align: center;
  }

  .cta-row {
    display: grid;
    grid-template-columns: 1fr;
  }

  .btn {
    width: 100%;
  }

  .sphere-stage {
    margin-top: 0.25rem;
  }

  .sphere-core {
    width: 8rem;
    height: 8rem;
  }

  .word-sphere span {
    padding: 0.12rem 0.3rem;
  }

  .speech-bubble,
  .stroke-two,
  .particle-four {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}
