/* ==========================================================================
   CINEMATIC COMING SOON LANDING PAGE
   Powered by apexcreator.ai & 3D Robot Companion
   ========================================================================== */

:root {
  /* Colors */
  --bg-dark: #030712;
  --bg-deep: #070c1e;

  --cyan-primary: #00f2fe;
  --cyan-glow: rgba(0, 242, 254, 0.45);
  --blue-primary: #38bdf8;
  --magenta-primary: #ff2a85;
  --magenta-glow: rgba(255, 42, 133, 0.4);

  --text-white: #ffffff;
  --text-primary: #f1f5f9;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;

  /* Typography */
  --font-display: 'Syne', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Spacing Scale */
  --container-max: 1100px;
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 36px;
  --space-2xl: 60px;
  --space-3xl: 80px;

  /* Border Radii */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-pill: 9999px;

  /* Motion Easings */
  --ease-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Base Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-dark);
  color: var(--text-primary);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body.cinematic-theme {
  min-height: 100vh;
  position: relative;
  background: radial-gradient(circle at 50% 15%, #0c1432 0%, #030712 65%);
  overflow-x: hidden;
}

/* Background Canvas */
#bgCanvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

/* Atmospheric Overlays */
.noise-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 99;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

.ambient-glow {
  position: fixed;
  width: 650px;
  height: 650px;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: 2;
  opacity: 0.45;
}

.cyan-spot {
  top: -150px;
  left: 20%;
  background: radial-gradient(circle, rgba(0, 242, 254, 0.3) 0%, transparent 70%);
}

.magenta-spot {
  top: 45%;
  right: -100px;
  background: radial-gradient(circle, rgba(255, 42, 133, 0.25) 0%, transparent 70%);
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--space-lg);
  padding-right: var(--space-lg);
  position: relative;
}

.text-white { color: var(--text-white); }
.text-cyan { color: var(--cyan-primary); }
.mono { font-family: var(--font-mono); }
.hidden { display: none !important; }

/* ==========================================================================
   Hero Section (Refined Proportions)
   ========================================================================== */
.hero-section {
  position: relative;
  padding-top: 80px;
  padding-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
}

.hero-container-centered {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 820px;
  margin: 0 auto;
}

.reveal-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 5px 14px;
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: var(--text-secondary);
  margin-bottom: var(--space-md);
  backdrop-filter: blur(8px);
}

.badge-dot {
  width: 6px;
  height: 6px;
  background: var(--magenta-primary);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--magenta-primary);
}

.badge-label {
  color: var(--text-white);
  font-weight: 700;
}

.badge-date {
  color: var(--cyan-primary);
}

/* Scaled to be smaller and elegant */
.hero-heading {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.8vw, 3.1rem);
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.015em;
  text-transform: uppercase;
  margin-bottom: var(--space-md);
}

.heading-line {
  display: block;
}

.highlight-shimmer {
  text-shadow: 0 0 30px var(--cyan-glow);
}

.gradient-title {
  background: linear-gradient(135deg, #ffffff 0%, var(--cyan-primary) 50%, var(--blue-primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

/* Scaled down subtext */
.hero-description {
  font-size: clamp(0.95rem, 1.2vw, 1.06rem);
  line-height: 1.65;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

/* ==========================================================================
   Countdown Section (OUT OF THE CARD, Seamless)
   ========================================================================== */
.countdown-section {
  position: relative;
  z-index: 10;
  padding: 30px 0 50px;
}

.countdown-container-open {
  max-width: 900px;
}

.countdown-open-layout {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

/* Calendar Bot Wrapper */
.calendar-bot-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
}

.cal-bot-aura {
  position: absolute;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 242, 254, 0.22) 0%, transparent 70%);
  filter: blur(40px);
  pointer-events: none;
}

.calendar-bot-img {
  max-width: 280px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.85)) drop-shadow(0 0 20px var(--cyan-glow));
  animation: calendar-float 5s ease-in-out infinite;
  transition: transform 0.3s var(--ease-bounce);
  cursor: pointer;
}

.calendar-bot-img:hover {
  transform: scale(1.05) rotate(2deg);
}

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

/* Countdown Display Block (Standalone) */
.countdown-display-block {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.countdown-digits-grid {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}

.digit-box {
  background: rgba(8, 14, 34, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(0, 242, 254, 0.28);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 72px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition: transform 0.2s var(--ease-expo);
}

.digit-box:hover {
  transform: translateY(-2px);
  border-color: var(--cyan-primary);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), 0 0 18px var(--cyan-glow);
}

.digit-number {
  font-family: var(--font-mono);
  font-size: 2rem;
  font-weight: 800;
  color: var(--text-white);
  line-height: 1;
  text-shadow: 0 0 16px rgba(255, 255, 255, 0.3);
}

.digit-unit {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-top: 6px;
}

.digit-colon {
  font-family: var(--font-mono);
  font-size: 1.6rem;
  font-weight: 700;
  color: rgba(0, 242, 254, 0.45);
}

.ms-box {
  border-color: rgba(255, 42, 133, 0.35);
}

.ms-digit {
  color: var(--magenta-primary);
  font-size: 1.6rem;
}

/* ==========================================================================
   POWERED BY APEXCREATOR.AI SECTION (OUT OF THE CARD, Seamless)
   ========================================================================== */
.powered-by-section {
  position: relative;
  z-index: 10;
  padding: 40px 0 70px;
}

.powered-container-open {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 800px;
}

/* The Peeking Robot sitting seamlessly */
.peeking-robot-anchor {
  position: relative;
  display: flex;
  justify-content: center;
  margin-bottom: -15px;
  z-index: 15;
}

.peeking-robot-img {
  max-width: 260px;
  height: auto;
  filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.9)) drop-shadow(0 0 20px var(--cyan-glow));
  transition: transform 0.3s var(--ease-bounce);
  cursor: pointer;
}

.peeking-robot-img:hover {
  transform: translateY(-6px) scale(1.05);
}

.powered-open-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Prominent Powered By Text */
.powered-signature-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.sig-prefix {
  font-family: var(--font-mono);
  font-size: clamp(0.95rem, 1.8vw, 1.25rem);
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--text-secondary);
}

.sig-brand-link {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.5vw, 3.6rem);
  font-weight: 900;
  text-decoration: none;
  letter-spacing: -0.02em;
  line-height: 1;
  transition: transform 0.2s var(--ease-expo);
}

.sig-brand-link:hover {
  transform: scale(1.02);
}

.sig-brand-apex {
  color: var(--text-white);
  text-shadow: 0 0 30px rgba(255, 255, 255, 0.3);
}

.sig-brand-ai {
  color: var(--cyan-primary);
  text-shadow: 0 0 35px var(--cyan-glow);
}

/* Clear Description */
.powered-explanation {
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: var(--space-xl);
}

/* Action Button */
.powered-actions {
  display: flex;
  align-items: center;
  justify-content: center;
}

.apex-portal-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--cyan-primary), var(--blue-primary));
  color: #030712;
  font-family: var(--font-mono);
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  text-decoration: none;
  padding: 13px 28px;
  border-radius: var(--radius-pill);
  box-shadow: 0 0 20px var(--cyan-glow);
  transition: all 0.2s var(--ease-expo);
}

.apex-portal-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 32px var(--cyan-glow);
}

/* Audio Toast */
.audio-toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: rgba(7, 12, 28, 0.95);
  border: 1px solid var(--cyan-primary);
  color: var(--text-white);
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  z-index: 260;
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: all 0.3s var(--ease-expo);
  box-shadow: 0 0 20px var(--cyan-glow);
}

.audio-toast.show {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  position: relative;
  z-index: 10;
  padding: var(--space-xl) 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: var(--bg-dark);
}

.footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  font-size: 0.75rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
}

.footer-left-col {
  display: flex;
  align-items: center;
  gap: 10px;
}

.f-powered a {
  color: var(--cyan-primary);
  text-decoration: none;
  font-weight: 700;
}

.footer-links {
  display: flex;
  gap: 16px;
}

.f-link {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.2s;
}

.f-link:hover {
  color: var(--cyan-primary);
}

/* ==========================================================================
   Responsive Queries
   ========================================================================== */
@media (max-width: 768px) {
  .hero-section {
    padding-top: 50px;
  }

  .countdown-open-layout {
    flex-direction: column;
    gap: 20px;
  }

  .digit-box {
    min-width: 58px;
    padding: 10px 12px;
  }

  .digit-number {
    font-size: 1.5rem;
  }

  .calendar-bot-img {
    max-width: 220px;
  }

  .peeking-robot-img {
    max-width: 210px;
  }

  .footer-content {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }

  .footer-left-col {
    flex-direction: column;
    gap: 4px;
  }

  .f-divider {
    display: none;
  }
}
