/* ═══════════════════════════════════════════════════════
   KemisPay Launch Day Countdown — Additional Styles
   ═══════════════════════════════════════════════════════ */

/* Launch hero overrides (no navbar on this page) */
.launch-hero {
  min-height: 100vh;
  padding: 80px 0 100px;
  text-align: center;
}

.launch-hero-content {
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 1000px;
}

.launch-hero-text {
  max-width: 900px;
  margin: 0 auto;
}

.launch-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 20px;
  text-decoration: none;
}

.launch-logo-icon {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.launch-logo-icon svg {
  width: 100%;
  height: 100%;
}

.launch-logo-text {
  font-family: var(--font-logotype);
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.04em;
  color: var(--white);
}

.launch-logo-text .wm-pay {
  color: var(--green);
}

.launch-title {
  margin-bottom: 16px;
}

/* Footer logo */
.launch-footer-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 48px 0 24px;
}

.launch-footer-logo-icon {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.launch-footer-logo-icon svg {
  width: 100%;
  height: 100%;
}

.launch-footer-logo-text {
  font-family: var(--font-logotype);
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -0.04em;
  color: var(--white);
}

.launch-footer-logo-text .wm-pay {
  color: var(--green);
}

.launch-subtitle {
  margin-bottom: 40px;
  color: rgba(255, 255, 255, 0.85);
}

/* Date bubble */
.launch-date-bubble {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 24px;
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px) saturate(180%);
  -webkit-backdrop-filter: blur(12px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.02em;
  color: var(--white);
  box-shadow: 0 4px 16px rgba(9, 26, 56, 0.1);
  animation: bubble-glow 3.2s ease-in-out infinite;
}

/* Sheen that sweeps across the bubble */
.launch-date-bubble::before {
  content: "";
  position: absolute;
  top: 0;
  left: -80%;
  width: 55%;
  height: 100%;
  background: linear-gradient(
    105deg,
    transparent,
    rgba(255, 255, 255, 0.45) 50%,
    transparent
  );
  transform: skewX(-20deg);
  animation: bubble-shine 3.2s ease-in-out infinite;
  pointer-events: none;
}

.launch-date-bubble-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 12px rgba(0, 214, 127, 0.6);
  animation: bubble-dot-pulse 2s ease-in-out infinite;
}

@keyframes bubble-shine {
  0% {
    left: -80%;
  }
  55%,
  100% {
    left: 130%;
  }
}

@keyframes bubble-glow {
  0%,
  100% {
    box-shadow: 0 4px 16px rgba(9, 26, 56, 0.1), 0 0 0 rgba(255, 255, 255, 0);
    border-color: rgba(255, 255, 255, 0.2);
  }
  50% {
    box-shadow: 0 4px 20px rgba(9, 26, 56, 0.14), 0 0 26px rgba(255, 255, 255, 0.28);
    border-color: rgba(255, 255, 255, 0.38);
  }
}

@keyframes bubble-dot-pulse {
  0%,
  100% {
    box-shadow: 0 0 12px rgba(0, 214, 127, 0.6);
    transform: scale(1);
  }
  50% {
    box-shadow: 0 0 18px rgba(0, 214, 127, 0.95);
    transform: scale(1.15);
  }
}

@media (prefers-reduced-motion: reduce) {
  .launch-date-bubble,
  .launch-date-bubble::before,
  .launch-date-bubble-dot {
    animation: none;
  }
}

/* Countdown */
.countdown {
  margin-bottom: 40px;
}

.countdown-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  max-width: 720px;
  margin: 0 auto;
}

.countdown-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-lg);
  padding: 24px 16px;
  box-shadow:
    0 8px 32px rgba(9, 26, 56, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transition: transform 300ms var(--ease-out), box-shadow 300ms var(--ease-out);
  position: relative;
  overflow: hidden;
}

.countdown-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.15) 0%,
    rgba(255, 255, 255, 0) 60%
  );
  pointer-events: none;
}

.countdown-card:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow:
    0 16px 48px rgba(9, 26, 56, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.countdown-card--seconds {
  border-color: rgba(0, 214, 127, 0.4);
  box-shadow:
    0 8px 32px rgba(9, 26, 56, 0.15),
    0 0 0 1px rgba(0, 214, 127, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.countdown-card--seconds .countdown-digit {
  color: var(--green);
  text-shadow: 0 0 30px rgba(0, 214, 127, 0.35);
}

.countdown-digit {
  font-family: var(--font-mono);
  font-weight: 800;
  font-size: clamp(48px, 9vw, 112px);
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--white);
  display: block;
  min-width: 1.2ch;
  z-index: 1;
  font-variant-numeric: tabular-nums;
}

.countdown-label {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 12px;
  z-index: 1;
}

/* Live message (hidden until countdown expires) */
.launch-live-message {
  display: none;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(28px, 4vw, 44px);
  color: var(--green);
  text-shadow: 0 0 30px rgba(0, 214, 127, 0.4);
  margin-bottom: 32px;
  animation: pulseLive 1.5s ease-in-out infinite;
}

.launch-live-message.visible {
  display: block;
}

@keyframes pulseLive {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.85;
    transform: scale(1.02);
  }
}

/* CTAs and trust on hero */
.launch-ctas {
  justify-content: center;
  margin-bottom: 32px;
}

.launch-trust {
  justify-content: center;
}

.launch-trust .trust-text {
  max-width: 420px;
  text-align: center;
  line-height: 1.6;
}

/* Soft launch explainer */
.launch-info {
  padding: 100px 0 80px;
  background: var(--white);
}

.launch-info-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 1100px;
  margin: 0 auto;
}

.launch-info-card {
  background: var(--white);
  border: 1px solid var(--mist);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
  transition: transform 300ms var(--ease-out), box-shadow 300ms var(--ease-out), border-color 300ms var(--ease-out);
}

.launch-info-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--sky);
}

.launch-info-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(23, 96, 244, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  margin-bottom: 18px;
}

.launch-info-icon svg {
  width: 24px;
  height: 24px;
}

.launch-info-card h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  color: var(--charcoal);
  margin-bottom: 10px;
  line-height: 1.35;
}

.launch-info-card p {
  font-size: 14px;
  color: var(--slate);
  line-height: 1.6;
}

/* Feedback callout */
/* Thank you section */
.launch-thanks {
  padding: 0 0 100px;
  background: var(--white);
}

.launch-thanks-card {
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
  padding: 64px 48px;
  background: var(--navy);
  border-radius: var(--radius-xl);
  color: var(--white);
  box-shadow: var(--shadow-xl);
  position: relative;
  overflow: hidden;
}

.launch-thanks-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(23, 96, 244, 0.35) 0%,
    rgba(9, 26, 56, 0) 70%
  );
  pointer-events: none;
}

.launch-thanks-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(28px, 4vw, 42px);
  color: var(--white);
  margin-bottom: 16px;
  letter-spacing: -0.025em;
  position: relative;
  z-index: 1;
}

.launch-thanks-desc {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.7;
  margin-bottom: 32px;
  position: relative;
  z-index: 1;
}

.launch-thanks-card .btn-primary {
  position: relative;
  z-index: 1;
  background: var(--green);
  color: var(--navy);
  box-shadow: 0 4px 14px rgba(0, 214, 127, 0.3);
}

.launch-thanks-card .btn-primary:hover {
  background: var(--green-deep);
  box-shadow: 0 6px 20px rgba(0, 214, 127, 0.4);
}

/* Entrance animations — applied via JS after reduced-motion check */
.launch-anim {
  opacity: 0;
  transform: translateY(24px);
}

.launch-anim.no-motion {
  opacity: 1;
  transform: none;
}

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

}

@media (max-width: 768px) {
  .launch-hero {
    padding: 80px 0 80px;
  }

  .countdown-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .countdown-card {
    padding: 20px 12px;
  }

  .countdown-digit {
    font-size: clamp(40px, 14vw, 72px);
  }

  .countdown-label {
    font-size: 11px;
    margin-top: 8px;
  }

  .launch-ctas {
    flex-direction: column;
    align-items: center;
  }

  .launch-ctas .btn-lg {
    width: 100%;
    max-width: 320px;
    justify-content: center;
  }

  .launch-info-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
  }

  .launch-thanks-card {
    padding: 48px 28px;
  }
}

@media (max-width: 480px) {
  .countdown-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .countdown-card {
    padding: 16px 10px;
    border-radius: var(--radius-md);
  }

  .countdown-digit {
    font-size: clamp(36px, 16vw, 64px);
  }

  .countdown-label {
    font-size: 10px;
  }

  .launch-thanks-card {
    padding: 40px 24px;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .launch-anim {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .countdown-card:hover,
  .launch-info-card:hover {
    transform: none;
  }

  .launch-live-message {
    animation: none;
  }
}
