/* ==========================================================================
   NGO Site - Launching Soon Page Stylesheet
   Modern, responsive, high-aesthetic Vanilla CSS design
   ========================================================================== */

/* Design Tokens & Theme Variables */
:root {
  --font-primary: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-secondary: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Brand Palette from Logo */
  --color-emerald-deep: #0e2b24;
  --color-emerald-dark: #18574d;
  --color-emerald-main: #288961;
  --color-emerald-light: #5fb66a;
  --color-orange-warm: #f4924c;
  --color-orange-coral: #ec7a4b;
  --color-gold-amber: #f8c266;

  /* Ambient & Background Tones */
  --bg-dark: #071512;
  --bg-gradient: radial-gradient(circle at 50% 20%, #102d26 0%, #081714 60%, #040d0b 100%);
  
  /* Glass Surface */
  --surface-glass: rgba(14, 43, 36, 0.55);
  --surface-glass-border: rgba(95, 182, 106, 0.18);
  --surface-glass-glow: rgba(40, 137, 97, 0.15);
  
  /* Typography Colors */
  --text-primary: #f2fbf7;
  --text-secondary: #a3c2b8;
  --text-muted: #6e8e84;

  /* Transitions */
  --transition-smooth: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  min-height: 100vh;
  width: 100%;
  background: var(--bg-dark);
  background-image: var(--bg-gradient);
  color: var(--text-primary);
  font-family: var(--font-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow-x: hidden;
  line-height: 1.6;
}

/* Subtle Geometric Pattern Overlay */
.bg-pattern {
  position: fixed;
  inset: 0;
  background-image: 
    radial-gradient(rgba(95, 182, 106, 0.06) 1px, transparent 1px),
    radial-gradient(rgba(244, 146, 76, 0.04) 1px, transparent 1px);
  background-size: 40px 40px, 60px 60px;
  background-position: 0 0, 20px 20px;
  pointer-events: none;
  z-index: 0;
}

/* Ambient Glowing Orbs */
.glow-orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.6;
  animation: floatOrb 14s ease-in-out infinite alternate;
}

.glow-top-left {
  top: -10vw;
  left: -10vw;
  width: 45vw;
  height: 45vw;
  max-width: 550px;
  max-height: 550px;
  background: radial-gradient(circle, rgba(40, 137, 97, 0.45) 0%, rgba(24, 87, 77, 0.1) 70%, transparent 100%);
}

.glow-bottom-right {
  bottom: -10vw;
  right: -10vw;
  width: 45vw;
  height: 45vw;
  max-width: 550px;
  max-height: 550px;
  background: radial-gradient(circle, rgba(244, 146, 76, 0.3) 0%, rgba(248, 194, 102, 0.1) 70%, transparent 100%);
  animation-delay: -7s;
}

.glow-center {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 35vw;
  height: 35vw;
  max-width: 400px;
  max-height: 400px;
  background: radial-gradient(circle, rgba(95, 182, 106, 0.15) 0%, transparent 80%);
  opacity: 0.4;
}

/* Layout Wrapper */
.page-wrapper {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 680px;
  padding: 2.5rem 1.5rem;
  margin: auto;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Glassmorphic Launch Card */
.launch-card {
  width: 100%;
  background: var(--surface-glass);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border: 1px solid var(--surface-glass-border);
  border-radius: 28px;
  padding: clamp(2.2rem, 6vw, 3.8rem) clamp(1.8rem, 5vw, 3.2rem);
  text-align: center;
  box-shadow: 
    0 20px 50px rgba(0, 0, 0, 0.45),
    0 0 40px var(--surface-glass-glow),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  overflow: hidden;
  animation: cardEntrance 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  transition: var(--transition-smooth);
}

.launch-card:hover {
  border-color: rgba(95, 182, 106, 0.32);
  box-shadow: 
    0 24px 60px rgba(0, 0, 0, 0.5),
    0 0 50px rgba(40, 137, 97, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

/* Status Badge */
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.45rem 1.1rem;
  border-radius: 999px;
  background: rgba(40, 137, 97, 0.16);
  border: 1px solid rgba(95, 182, 106, 0.28);
  font-family: var(--font-secondary);
  font-size: clamp(0.78rem, 2vw, 0.85rem);
  font-weight: 600;
  color: var(--color-emerald-light);
  letter-spacing: 0.03em;
  margin-bottom: 2rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

/* Pulse Dot */
.pulse-indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--color-emerald-light);
  box-shadow: 0 0 10px var(--color-emerald-light);
  position: relative;
}

.pulse-indicator::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: var(--color-emerald-light);
  opacity: 0.4;
  animation: pulseEffect 2s ease-out infinite;
}

/* Logo Section */
.logo-container {
  position: relative;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 1.35rem;
  cursor: default;
}

.logo-glow {
  position: absolute;
  width: 140%;
  height: 140%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(244, 146, 76, 0.22) 0%, rgba(40, 137, 97, 0.18) 50%, transparent 75%);
  filter: blur(28px);
  z-index: 0;
  pointer-events: none;
  animation: breathingGlow 5s ease-in-out infinite alternate;
}

.brand-logo {
  position: relative;
  z-index: 1;
  width: clamp(130px, 26vw, 175px);
  height: auto;
  aspect-ratio: 635.68 / 640.05;
  filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.35));
  transition: transform 0.45s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.brand-logo:hover {
  transform: scale(1.05) rotate(1deg);
}

/* Site Brand Name */
.site-name {
  font-family: var(--font-primary);
  font-size: clamp(1.2rem, 3.8vw, 1.65rem);
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #ffffff;
  margin-bottom: 1.5rem;
  position: relative;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
}

.site-name::after {
  content: '';
  width: 44px;
  height: 2px;
  background: linear-gradient(90deg, var(--color-orange-warm), var(--color-emerald-light));
  margin-top: 0.55rem;
  border-radius: 999px;
  opacity: 0.85;
}

/* Content & Typography */
.content-section {
  max-width: 520px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.headline {
  font-family: var(--font-primary);
  font-size: clamp(2.3rem, 7vw, 3.4rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--text-primary);
}

.gradient-text {
  background: linear-gradient(135deg, var(--color-orange-warm) 0%, var(--color-gold-amber) 50%, var(--color-emerald-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.description {
  font-family: var(--font-secondary);
  font-size: clamp(0.95rem, 2.5vw, 1.08rem);
  font-weight: 400;
  color: var(--text-secondary);
  line-height: 1.65;
  max-width: 480px;
}

/* Progress Accent Bar */
.progress-accent {
  width: 100%;
  max-width: 220px;
  height: 3px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  margin: 2.2rem 0 1.8rem;
  position: relative;
  overflow: hidden;
}

.progress-bar-glow {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 45%;
  background: linear-gradient(90deg, transparent, var(--color-orange-warm), var(--color-emerald-light), transparent);
  border-radius: 999px;
  animation: progressSlide 2.6s ease-in-out infinite;
}

/* Footer Area */
.footer-area {
  margin-top: 0.5rem;
}

.footer-text {
  font-family: var(--font-secondary);
  font-size: clamp(0.78rem, 1.8vw, 0.85rem);
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

/* Keyframe Animations */
@keyframes cardEntrance {
  0% {
    opacity: 0;
    transform: translateY(30px) scale(0.98);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes floatOrb {
  0% {
    transform: translate(0, 0) scale(1);
  }
  100% {
    transform: translate(30px, -25px) scale(1.08);
  }
}

@keyframes breathingGlow {
  0% {
    opacity: 0.5;
    transform: scale(0.95);
  }
  100% {
    opacity: 0.85;
    transform: scale(1.1);
  }
}

@keyframes pulseEffect {
  0% {
    transform: scale(1);
    opacity: 0.7;
  }
  100% {
    transform: scale(2.8);
    opacity: 0;
  }
}

@keyframes progressSlide {
  0% {
    left: -50%;
  }
  100% {
    left: 110%;
  }
}

/* Mobile & Tablet Optimizations */
@media (max-width: 640px) {
  .page-wrapper {
    padding: 1.5rem 1rem;
  }

  .launch-card {
    border-radius: 22px;
    padding: 2.2rem 1.4rem;
  }

  .status-badge {
    margin-bottom: 1.4rem;
  }

  .logo-container {
    margin-bottom: 1.1rem;
  }

  .site-name {
    margin-bottom: 1.3rem;
  }

  .progress-accent {
    margin: 1.8rem 0 1.4rem;
  }
}

@media (max-height: 700px) and (orientation: landscape) {
  .page-wrapper {
    padding: 1rem;
  }

  .launch-card {
    padding: 1.5rem 2rem;
  }

  .brand-logo {
    width: 90px;
  }

  .status-badge {
    margin-bottom: 0.6rem;
  }

  .logo-container {
    margin-bottom: 0.7rem;
  }

  .site-name {
    margin-bottom: 0.8rem;
  }

  .progress-accent {
    margin: 0.8rem 0;
  }
}

/* Accessibility & Preferences */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
