/* ============================================================
   COMING SOON – EPX Group & SIT Group of Technocrat
   style.css | Premium, Modern, Animated Styling
   ============================================================ */

/* ── 1. RESET & VARIABLE DEFINITIONS ── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --primary-blue: #0f4c81;
  /* Classic premium blue */
  --accent-cyan: #00d2ff;
  /* Vibrant cyan */
  --soft-cyan: #e6f9ff;
  --dark-blue: #0b2240;
  /* Premium deep blue for text */
  --muted-blue: #6c8ca3;
  /* Muted blue for copy */
  --glass-bg: rgba(255, 255, 255, 0.45);
  --glass-border: rgba(255, 255, 255, 0.65);
  --white: #ffffff;

  --font-family: 'Poppins', sans-serif;
  --transition-smooth: cubic-bezier(0.4, 0, 0.2, 1);
}

html,
body {
  width: 100%;
  height: 100%;
  overflow-x: hidden;
  font-family: var(--font-family);
  background-color: #f3f8fc;
  color: var(--dark-blue);
  -webkit-font-smoothing: antialiased;
}

/* ── 2. GRADIENT BACKGROUND & ANIMATED CIRCLES ── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse at 80% 10%, rgba(0, 210, 255, 0.15) 0%, transparent 65%),
    radial-gradient(ellipse at 10% 90%, rgba(15, 76, 129, 0.1) 0%, transparent 65%),
    linear-gradient(135deg, #f5fafe 0%, #e8f3fc 50%, #f5fafe 100%);
  z-index: -2;
  animation: bgPulse 15s ease-in-out infinite alternate;
  background-size: 200% 200%;
}

@keyframes bgPulse {
  0% {
    background-position: 0% 50%;
  }

  100% {
    background-position: 100% 50%;
  }
}

/* Floating blur circles */
.bg-shapes {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  overflow: hidden;
}

.shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.7;
  animation: floatShape 25s infinite ease-in-out;
}

.shape-1 {
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(15, 76, 129, 0.2), transparent 70%);
  top: -50px;
  left: 10%;
  animation-duration: 20s;
}

.shape-2 {
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(0, 210, 255, 0.18), transparent 70%);
  bottom: -100px;
  right: 5%;
  animation-duration: 28s;
  animation-delay: -5s;
}

.shape-3 {
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(15, 76, 129, 0.12), transparent 70%);
  top: 40%;
  right: 20%;
  animation-duration: 22s;
  animation-delay: -10s;
}

.shape-4 {
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(0, 210, 255, 0.15), transparent 70%);
  bottom: 30%;
  left: -50px;
  animation-duration: 26s;
  animation-delay: -15s;
}

@keyframes floatShape {

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

  50% {
    transform: translateY(-40px) scale(1.08);
  }
}

/* ── 3. STARS / SPARKLING BACKGROUND ── */
.stars-container {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
}

.star {
  position: absolute;
  width: 4px;
  height: 4px;
  background-color: var(--accent-cyan);
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(0, 210, 255, 0.8);
  animation: starSparkle 4s infinite ease-in-out;
}

.star-1 {
  top: 15%;
  left: 25%;
  animation-delay: 0s;
}

.star-2 {
  top: 35%;
  right: 18%;
  animation-delay: 1s;
  width: 6px;
  height: 6px;
}

.star-3 {
  bottom: 30%;
  left: 15%;
  animation-delay: 2s;
}

.star-4 {
  bottom: 15%;
  right: 28%;
  animation-delay: 3s;
}

.star-5 {
  top: 60%;
  left: 40%;
  animation-delay: 1.5s;
  width: 5px;
  height: 5px;
}

@keyframes starSparkle {

  0%,
  100% {
    transform: scale(0.5);
    opacity: 0.2;
  }

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

/* ── 4. FLYING PAPER PLANES ── */
.planes-container {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
}

.plane {
  position: absolute;
  color: rgba(15, 76, 129, 0.15);
  transition: transform 0.5s ease;
}

.plane-1 {
  width: 50px;
  height: 50px;
  left: 8%;
  bottom: 25%;
  animation: planeFlyOne 22s infinite linear;
}

.plane-2 {
  width: 38px;
  height: 38px;
  right: 12%;
  top: 15%;
  animation: planeFlyTwo 26s infinite linear;
}

.plane-3 {
  width: 30px;
  height: 30px;
  left: 45%;
  top: 8%;
  animation: planeFlyThree 30s infinite linear;
}

@keyframes planeFlyOne {
  0% {
    transform: translate(0, 100px) rotate(15deg) scale(0.8);
    opacity: 0;
  }

  10% {
    opacity: 0.8;
  }

  90% {
    opacity: 0.8;
  }

  100% {
    transform: translate(250px, -350px) rotate(25deg) scale(1.1);
    opacity: 0;
  }
}

@keyframes planeFlyTwo {
  0% {
    transform: translate(150px, 350px) rotate(-10deg) scale(0.7);
    opacity: 0;
  }

  15% {
    opacity: 0.7;
  }

  85% {
    opacity: 0.7;
  }

  100% {
    transform: translate(-250px, -250px) rotate(-25deg) scale(1);
    opacity: 0;
  }
}

@keyframes planeFlyThree {
  0% {
    transform: translate(-200px, 400px) rotate(35deg) scale(0.6);
    opacity: 0;
  }

  20% {
    opacity: 0.6;
  }

  80% {
    opacity: 0.6;
  }

  100% {
    transform: translate(200px, -150px) rotate(45deg) scale(0.9);
    opacity: 0;
  }
}

/* ── 5. PAGE LAYOUT & GLASSMOPRHISM CARD ── */
.page-wrapper {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 3.5rem 1.25rem 7.5rem;
  /* Space at bottom for waves */
  position: relative;
  z-index: 2;
}

.glass-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 2.5rem;
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  box-shadow:
    0 25px 60px rgba(15, 76, 129, 0.08),
    0 1px 3px rgba(255, 255, 255, 0.6) inset,
    0 0 40px rgba(0, 210, 255, 0.03);
  width: 100%;
  max-width: 720px;
  padding: 4rem 3.5rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.8rem;
  position: relative;
}

/* Border Glow Accent */
.glass-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 2.5rem;
  padding: 1.5px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.8), rgba(0, 210, 255, 0.4), rgba(15, 76, 129, 0.2), rgba(255, 255, 255, 0.8));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

/* ── 6. LOGOS HEADER ── */
.logos-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  width: 100%;
  flex-wrap: wrap;
}

.logo-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand-logo {
  height: 150px;
  max-width: 180px;
  object-fit: contain;
  filter: drop-shadow(0 4px 10px rgba(15, 76, 129, 0.08));
  transition: transform 0.4s var(--transition-smooth), filter 0.4s var(--transition-smooth);
}

.brand-logo:hover {
  transform: scale(1.05);
  filter: drop-shadow(0 8px 20px rgba(15, 76, 129, 0.15));
}

.logo-divider {
  width: 1.5px;
  height: 48px;
  background: linear-gradient(to bottom, transparent, rgba(15, 76, 129, 0.25), transparent);
}

/* Dual float animations for logos */
.logo-float-1 {
  animation: logoFloatY 5s ease-in-out infinite;
}

.logo-float-2 {
  animation: logoFloatY 5s ease-in-out infinite;
  animation-delay: -2.5s;
}

@keyframes logoFloatY {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-5px);
  }
}

/* ── 7. HERO CONTENT ── */
.content-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  width: 100%;
}

/* Launch Status Badge */
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(15, 76, 129, 0.08);
  border: 1px solid rgba(15, 76, 129, 0.15);
  padding: 0.45rem 1.25rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--primary-blue);
  letter-spacing: 0.08em;
  backdrop-filter: blur(5px);
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background-color: var(--accent-cyan);
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(0, 210, 255, 0.7);
  animation: pulseDotEffect 2s infinite;
}

@keyframes pulseDotEffect {
  0% {
    box-shadow: 0 0 0 0 rgba(0, 210, 255, 0.7);
  }

  70% {
    box-shadow: 0 0 0 8px rgba(0, 210, 255, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(0, 210, 255, 0);
  }
}

/* Heading with soft 3D/text shadow and gradient */
.main-title {
  font-size: clamp(2.6rem, 6.8vw, 4.4rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--dark-blue);
  text-shadow: 0 4px 20px rgba(15, 76, 129, 0.08);
}

.gradient-text {
  background: linear-gradient(135deg, var(--primary-blue) 20%, var(--accent-cyan) 80%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  position: relative;
  filter: drop-shadow(0 2px 8px rgba(0, 210, 255, 0.15));
}

.subtitle {
  font-size: clamp(0.95rem, 2vw, 1.15rem);
  color: var(--muted-blue);
  max-width: 480px;
  line-height: 1.6;
}

/* ── 8. COUNTDOWN TIMER ── */
.countdown-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin: 1rem 0;
  width: 100%;
}

.countdown-box {
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 1.25rem;
  width: 85px;
  height: 90px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  box-shadow: 0 8px 20px rgba(15, 76, 129, 0.03);
  transition: transform 0.3s var(--transition-smooth), box-shadow 0.3s var(--transition-smooth), border-color 0.3s;
}

.countdown-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 25px rgba(15, 76, 129, 0.08);
  border-color: rgba(0, 210, 255, 0.4);
}

.countdown-num {
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary-blue);
  line-height: 1.1;
}

.countdown-label {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--muted-blue);
  text-transform: uppercase;
  margin-top: 0.25rem;
  letter-spacing: 0.05em;
}

/* ── 9. ANIMATED LAUNCH PROGRESS BAR ── */
.loader-container {
  width: 100%;
  max-width: 420px;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-top: 0.5rem;
}

.progress-bar {
  width: 100%;
  height: 6px;
  background: rgba(15, 76, 129, 0.08);
  border-radius: 999px;
  overflow: hidden;
  position: relative;
}

.progress-line {
  width: 85%;
  /* Fixed target progress */
  height: 100%;
  background: linear-gradient(to right, var(--primary-blue), var(--accent-cyan));
  border-radius: 999px;
  position: absolute;
  left: 0;
  animation: progressPulseLine 2.5s infinite ease-in-out;
}

@keyframes progressPulseLine {

  0%,
  100% {
    opacity: 0.95;
  }

  50% {
    opacity: 0.7;
  }
}

.loader-info {
  display: flex;
  justify-content: space-between;
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--muted-blue);
  padding: 0 0.25rem;
}

.progress-percent {
  color: var(--primary-blue);
  font-weight: 700;
}

/* ── 10. CALL TO ACTION ── */
.cta-container {
  margin-top: 0.5rem;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 1rem 2.4rem;
  background: linear-gradient(135deg, var(--primary-blue) 0%, #175d99 100%);
  color: var(--white);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 999px;
  box-shadow: 0 10px 30px rgba(15, 76, 129, 0.25), 0 0 15px rgba(0, 210, 255, 0.1);
  transition: transform 0.3s var(--transition-smooth), box-shadow 0.3s var(--transition-smooth);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

/* Shimmer overlay effect */
.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg,
      transparent 0%,
      rgba(255, 255, 255, 0.2) 50%,
      transparent 100%);
  transition: none;
  z-index: -1;
}

.btn-primary:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 35px rgba(15, 76, 129, 0.38), 0 0 20px rgba(0, 210, 255, 0.2);
}

.btn-primary:hover::before {
  left: 100%;
  transition: left 0.8s ease-in-out;
}

.btn-primary:active {
  transform: translateY(-1px);
}

/* ── 11. FOOTER ── */
.footer-section {
  width: 100%;
  border-top: 1px solid rgba(15, 76, 129, 0.08);
  padding-top: 1.8rem;
  margin-top: 0.5rem;
}

.copyright {
  font-size: 0.78rem;
  color: var(--muted-blue);
  letter-spacing: 0.02em;
}

/* ── 12. BOTTOM WAVES/CLOUDS ── */
.waves-container {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  z-index: 1;
}

.waves {
  position: relative;
  width: 100%;
  height: 12vh;
  min-height: 80px;
  max-height: 150px;
}

/* Wave Animation */
.parallax-waves>use {
  animation: moveWave 25s cubic-bezier(.55, .5, .45, .5) infinite;
}

.parallax-waves>use:nth-child(1) {
  animation-delay: -2s;
  animation-duration: 7s;
}

.parallax-waves>use:nth-child(2) {
  animation-delay: -3s;
  animation-duration: 10s;
}

.parallax-waves>use:nth-child(3) {
  animation-delay: -4s;
  animation-duration: 13s;
}

.parallax-waves>use:nth-child(4) {
  animation-delay: -5s;
  animation-duration: 20s;
}

@keyframes moveWave {
  0% {
    transform: translate3d(-90px, 0, 0);
  }

  100% {
    transform: translate3d(85px, 0, 0);
  }
}

/* ── 13. IN-VIEW FADE-UP ANIMATION ── */
.fade-up {
  opacity: 0;
  transform: translateY(35px);
  animation: fadeUpAnim 1s var(--transition-smooth) forwards;
  animation-delay: 0.1s;
}

@keyframes fadeUpAnim {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ── 14. RESPONSIVE MEDIA QUERIES ── */

@media (max-width: 768px) {
  .glass-card {
    padding: 3rem 2rem;
    gap: 2.2rem;
  }

  .brand-logo {
    height: 54px;
    max-width: 150px;
  }

  .logo-divider {
    height: 40px;
  }

  .countdown-box {
    width: 75px;
    height: 80px;
  }

  .countdown-num {
    font-size: 1.7rem;
  }
}

@media (max-width: 480px) {
  .page-wrapper {
    padding: 2.5rem 1rem 6.5rem;
  }

  .glass-card {
    border-radius: 1.8rem;
    padding: 2.5rem 1.25rem;
    gap: 1.8rem;
  }

  .logos-header {
    flex-direction: column;
    gap: 1rem;
  }

  .logo-divider {
    width: 60px;
    height: 1.5px;
    background: linear-gradient(to right, transparent, rgba(15, 76, 129, 0.25), transparent);
  }

  .brand-logo {
    height: 48px;
    max-width: 140px;
  }

  .countdown-container {
    gap: 0.5rem;
  }

  .countdown-box {
    width: 65px;
    height: 70px;
    border-radius: 0.75rem;
  }

  .countdown-num {
    font-size: 1.35rem;
  }

  .countdown-label {
    font-size: 0.6rem;
  }

  .btn-primary {
    padding: 0.85rem 2rem;
    font-size: 0.9rem;
  }

  .waves {
    height: 8vh;
    min-height: 60px;
  }
}

/* Very Small Mobile */
@media (max-width: 350px) {
  .countdown-container {
    flex-wrap: wrap;
    gap: 0.4rem;
  }

  .countdown-box {
    width: 58px;
    height: 62px;
  }
}

/* Reduced Motion preferences */
@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-delay: 0s !important;
    animation-duration: 0s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0s !important;
    scroll-behavior: auto !important;
  }
}