/* ==========================================================================
   DYNAMIC ENERGY - Minimalist White Theme Single-Screen Landing Page
   No Scroll (100vh), Pure White Background, Restored Header Badge Color & Red Main Title
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Space+Grotesk:wght@500;600;700&display=swap');

:root {
  /* White Theme Colors */
  --bg-white: #FFFFFF;
  --bg-subtle: #F8FAFC;
  --color-navy: #0A3967;
  --color-navy-dark: #041B33;
  --color-cyan: #00A3E0;
  --color-blue: #005B9E;
  --color-red: #E30613;
  --color-text-main: #0F172A;
  --color-text-sub: #475569;

  /* Card System */
  --card-bg: rgba(255, 255, 255, 0.9);
  --card-border: rgba(10, 57, 103, 0.12);
  --card-shadow: 0 20px 45px rgba(10, 57, 103, 0.08), 0 1px 3px rgba(0, 0, 0, 0.04);

  /* Fonts */
  --font-main: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-heading: 'Space Grotesk', var(--font-main);
  
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  --transition: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html, body {
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  font-family: var(--font-main);
  background-color: var(--bg-white);
  color: var(--color-text-main);
  -webkit-font-smoothing: antialiased;
  position: relative;
}

/* --- Subtle Particles Canvas Background --- */
#energyCanvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
}

.ambient-orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(100px);
  z-index: 1;
  pointer-events: none;
  opacity: 0.22;
  animation: floatOrb 18s ease-in-out infinite alternate;
}

.orb-1 {
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, var(--color-cyan) 0%, rgba(0, 91, 158, 0.08) 70%);
  top: -150px;
  left: -100px;
}

.orb-2 {
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, var(--color-red) 0%, transparent 70%);
  bottom: -150px;
  right: -100px;
  animation-delay: -6s;
}

@keyframes floatOrb {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(40px, 30px) scale(1.05); }
  100% { transform: translate(-30px, 40px) scale(0.95); }
}

/* --- Viewport Layout Container --- */
.app-viewport {
  position: relative;
  z-index: 2;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  max-width: 1100px;
  margin: 0 auto;
  padding: 1.2rem 1.5rem;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 1rem;
  box-sizing: border-box;
}

/* --- Header Section --- */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 0.5rem 0;
}

.logo-box {
  display: flex;
  align-items: center;
  transition: var(--transition);
}

.logo-box:hover {
  transform: scale(1.02);
}

.logo-box img {
  height: 60px;
  width: auto;
  display: block;
}

/* Original Header Status Badge (Navy Blue Text preserved) */
.header-status {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.45rem 1.1rem;
  background: rgba(10, 57, 103, 0.05);
  border: 1px solid rgba(10, 57, 103, 0.15);
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--color-navy);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background-color: var(--color-cyan);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--color-cyan);
  animation: pulse 1.8s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.9); box-shadow: 0 0 0 0 rgba(0, 163, 224, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(0, 163, 224, 0); }
  100% { transform: scale(0.9); box-shadow: 0 0 0 0 rgba(0, 163, 224, 0); }
}

/* --- Centered Minimalist Hero Card --- */
main {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
}

.hero-card {
  width: 100%;
  max-width: 800px;
  background: var(--card-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 2.2rem 2.5rem;
  box-shadow: var(--card-shadow);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  position: relative;
  overflow: hidden;
}

.hero-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--color-cyan), var(--color-navy), var(--color-red));
}

/* Main Title in Red */
.construction-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--color-red);
  letter-spacing: -0.5px;
}

/* --- Countdown Box --- */
.countdown-box {
  width: 100%;
  max-width: 620px;
  background: var(--bg-subtle);
  border: 1px solid rgba(10, 57, 103, 0.1);
  border-radius: var(--radius-md);
  padding: 1.2rem 1.6rem;
}

.timer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.8rem;
  margin-bottom: 0.9rem;
}

.time-unit {
  background: #FFFFFF;
  border: 1px solid rgba(10, 57, 103, 0.08);
  border-radius: var(--radius-sm);
  padding: 0.8rem 0.3rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.time-num {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 3vw, 2.5rem);
  font-weight: 800;
  color: var(--color-navy);
  line-height: 1;
}

.time-lbl {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--color-text-sub);
  font-weight: 600;
  margin-top: 0.3rem;
}

/* Progress Bar */
.progress-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.progress-header {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--color-text-sub);
}

.progress-track {
  height: 8px;
  background: rgba(10, 57, 103, 0.08);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  width: 85%;
  background: linear-gradient(90deg, var(--color-navy), var(--color-cyan), var(--color-red));
  border-radius: var(--radius-full);
}

/* --- Inline Form & Contact Row --- */
.notify-form {
  width: 100%;
  max-width: 560px;
  display: flex;
  gap: 0.6rem;
}

.notify-input {
  flex: 1;
  padding: 0.85rem 1.2rem;
  background: #FFFFFF;
  border: 1px solid rgba(10, 57, 103, 0.2);
  border-radius: var(--radius-sm);
  color: var(--color-text-main);
  font-family: var(--font-main);
  font-size: 0.95rem;
  outline: none;
  transition: var(--transition);
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.03);
}

.notify-input:focus {
  border-color: var(--color-cyan);
  box-shadow: 0 0 0 3px rgba(0, 163, 224, 0.2);
}

.btn-primary {
  padding: 0.85rem 1.6rem;
  background: linear-gradient(135deg, var(--color-navy) 0%, var(--color-blue) 100%);
  border: none;
  border-radius: var(--radius-sm);
  color: #FFFFFF;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(10, 57, 103, 0.25);
}

.btn-primary:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, var(--color-blue) 0%, var(--color-cyan) 100%);
  box-shadow: 0 6px 20px rgba(0, 163, 224, 0.35);
}

.form-feedback {
  font-size: 0.85rem;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  display: none;
  width: 100%;
  max-width: 560px;
}

.form-feedback.success {
  display: block;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #059669;
}

/* Contact Row */
.contact-row-deck {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.6rem;
  padding-top: 0.8rem;
  border-top: 1px dashed rgba(10, 57, 103, 0.12);
  width: 100%;
}

.contact-item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: var(--color-navy);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--transition);
}

.contact-item:hover {
  color: var(--color-cyan);
}

.copy-mini {
  background: rgba(10, 57, 103, 0.08);
  border: none;
  color: var(--color-navy);
  padding: 0.25rem 0.55rem;
  border-radius: 4px;
  font-size: 0.75rem;
  cursor: pointer;
  font-family: var(--font-main);
  transition: var(--transition);
}

.copy-mini:hover {
  background: var(--color-navy);
  color: #FFFFFF;
}

/* --- Floating WhatsApp Widget --- */
.whatsapp-float {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  width: 54px;
  height: 54px;
  background: #25D366;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
  z-index: 100;
  text-decoration: none;
  transition: var(--transition);
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.6);
}

/* --- Footer Bar --- */
footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 0.5rem;
  border-top: 1px solid rgba(10, 57, 103, 0.1);
  font-size: 0.85rem;
  color: var(--color-text-sub);
}

.footer-slogan {
  color: var(--color-navy);
  font-style: italic;
  font-weight: 600;
}

/* --- Responsive Adjustments --- */
@media (max-width: 768px) {
  html, body {
    overflow-y: auto;
    height: auto;
    min-height: 100vh;
  }

  .app-viewport {
    height: auto;
    min-height: 100vh;
    padding: 1rem;
  }

  .hero-card {
    padding: 1.6rem 1rem;
  }

  .notify-form {
    flex-direction: column;
  }

  .btn-primary {
    width: 100%;
    justify-content: center;
  }

  .contact-row-deck {
    flex-direction: column;
    gap: 0.6rem;
  }
}
