/* =========================================
   HelloWorklife - Coming Soon | Light Theme
   ========================================= */

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

/* ---------- CSS Variables ---------- */
:root {
  --teal-dark:   #0e7fc0;
  --teal-mid:    #29ABE2;
  --teal-light:  #6DCEF5;
  --teal-pale:   #b3e5fa;
  --text-dark:   #0a4f78;
  --text-mid:    #1a7aaa;
  --text-light:  #60bae0;
  --white:       #ffffff;
  --bg-white:    rgba(255, 255, 255, 0.82);
  --bg-glass:    rgba(255, 255, 255, 0.65);
  --border:      rgba(255, 255, 255, 0.9);
  --shadow-soft: 0 8px 40px rgba(41, 171, 226, 0.12);
  --shadow-box:  0 20px 60px rgba(41, 171, 226, 0.18);
  --radius-lg:   20px;
  --radius-md:   14px;
  --transition:  all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Outfit', sans-serif;
  min-height: 100vh;
  overflow: hidden;
  position: relative;
  background: #cceeff;
}

/* ============================================
   BACKGROUND — Misty Forest Image
============================================ */
.bg-layer {
  position: fixed;
  inset: 0;
  z-index: 0;
  background-image: url('../images/bg.png');
  background-size: cover;
  background-position: center bottom;
  background-repeat: no-repeat;
}

/* Soft white overlay on top for readability */
.bg-overlay {
  position: fixed;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    180deg,
    rgba(255,255,255,0.60) 0%,
    rgba(220,245,255,0.30) 40%,
    rgba(180,235,255,0.20) 100%
  );
}

/* ============================================
   MAIN WRAPPER
============================================ */
.main-wrapper {
  position: relative;
  z-index: 10;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 100px 24px 40px;
  text-align: center;
}

/* ============================================
   NAVBAR
============================================ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 48px;
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255,255,255,0.7);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.logo-img {
  height: 44px;
  width: auto;
  display: block;
  object-fit: contain;
}

.nav-badge {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--teal-mid);
  border: 1.5px solid var(--teal-pale);
  padding: 5px 14px;
  border-radius: 50px;
  background: rgba(255,255,255,0.7);
}

/* ============================================
   HERO SECTION
============================================ */
.hero-section {
  max-width: 700px;
  width: 100%;
}

/* Eyebrow */
.eyebrow-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--teal-mid);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 3.5px;
  text-transform: uppercase;
  margin-bottom: 24px;
  animation: fadeInDown 0.7s ease both;
}

.eyebrow-dot {
  width: 6px; height: 6px;
  background: var(--teal-mid);
  border-radius: 50%;
  animation: pulse 2s ease infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50%       { transform: scale(1.5); opacity: 0.5; }
}

/* Main Heading */
.hero-heading {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2rem, 6vw, 3.5rem);
  font-weight: 700;
  letter-spacing: 6px;
  text-transform: uppercase;
  color: var(--teal-dark);
  margin-bottom: 16px;
  line-height: 1.2;
  animation: fadeInUp 0.8s ease 0.1s both;
}

/* Sub Text */
.hero-sub {
  font-size: 0.95rem;
  font-weight: 300;
  color: var(--text-mid);
  letter-spacing: 1px;
  margin-bottom: 52px;
  animation: fadeInUp 0.8s ease 0.2s both;
}

/* ============================================
   COUNTDOWN TIMER
============================================ */
.countdown-wrap {
  animation: fadeInUp 0.8s ease 0.3s both;
}

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

.countdown-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.countdown-box {
  background: var(--bg-glass);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  width: 120px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-box), inset 0 1px 0 rgba(255,255,255,0.9);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

/* top shine */
.countdown-box::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 50%;
  background: linear-gradient(180deg, rgba(255,255,255,0.6) 0%, transparent 100%);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  pointer-events: none;
}

.countdown-box:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 60px rgba(45,106,106,0.22);
}

.countdown-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 3rem;
  font-weight: 700;
  color: var(--teal-dark);
  line-height: 1;
  position: relative;
  z-index: 1;
}

.countdown-unit {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text-light);
}

/* Separator */
.countdown-sep {
  font-size: 2.5rem;
  font-weight: 300;
  color: var(--teal-pale);
  align-self: flex-start;
  margin-top: 36px;
  line-height: 1;
}

/* ============================================
   FOOTER
============================================ */
.footer-text {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--text-light);
  letter-spacing: 1px;
  white-space: nowrap;
  animation: fadeInUp 0.8s ease 0.5s both;
}

.footer-text a {
  color: var(--teal-mid);
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition);
}

.footer-text a:hover { color: var(--teal-dark); }

/* ============================================
   FLIP ANIMATION
============================================ */
@keyframes flipDown {
  0%   { transform: rotateX(-90deg); opacity: 0; }
  60%  { transform: rotateX(5deg); }
  100% { transform: rotateX(0deg); opacity: 1; }
}

.flip-animate { animation: flipDown 0.3s ease both; }

/* ============================================
   KEYFRAMES
============================================ */
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-16px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ============================================
   RESPONSIVE
============================================ */
@media (max-width: 768px) {
  .navbar { padding: 16px 24px; }

  .countdown-box {
    width: 90px;
    height: 90px;
  }

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

  .countdown-sep {
    font-size: 1.8rem;
    margin-top: 26px;
  }

  .hero-heading { letter-spacing: 3px; }
}

@media (max-width: 480px) {
  body { overflow: auto; }

  .main-wrapper { padding: 90px 16px 60px; }

  .countdown-box {
    width: 76px;
    height: 76px;
  }

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

  .countdown-grid { gap: 6px; }

  .countdown-sep {
    font-size: 1.4rem;
    margin-top: 20px;
  }

  .nav-badge { display: none; }

  .footer-text { white-space: normal; text-align: center; width: 90%; }
}

@media (max-width: 360px) {
  .countdown-sep { display: none; }
  .countdown-grid { gap: 10px; }
}

/* ============================================
   SCROLLBAR
============================================ */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: #e0f0f0; }
::-webkit-scrollbar-thumb { background: var(--teal-pale); border-radius: 100px; }
