/* ============================================
   Pfleva — Coming Soon Landing Page
   Redesign: Light Mode "Clean Healthcare"
   Brand Colors: Soft Medical Blue #2563EB & Mint #10B981
   ============================================ */

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

/* ---------- CSS Custom Properties ---------- */
:root {
  --blue-primary: #2563EB;
  --blue-light: #60A5FA;
  --blue-dark: #1D4ED8;
  --emerald: #10B981;
  --mint: #A7F3D0;
  
  --bg-primary: #f2f7f5;
  --bg-secondary: #F1F5F9;
  --bg-card: #FFFFFF;
  
  --text-primary: #0F172A;
  --text-secondary: #475569;
  --text-muted: #94A3B8;
  
  --border-subtle: #E2E8F0;
  --border-focus: #93C5FD;
  
  --gradient-brand: linear-gradient(135deg, var(--blue-primary) 0%, var(--emerald) 100%);
  --gradient-logo: linear-gradient(135deg, #4DB8A4 0%, #8DB858 100%);
  --shadow-soft: 0 10px 40px -10px rgba(37, 99, 235, 0.08);
  --shadow-hover: 0 20px 40px -10px rgba(37, 99, 235, 0.15);
  
  --radius-sm: 12px;
  --radius-md: 24px;
  --radius-lg: 32px;
  
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  min-height: 100vh;
  overflow-x: hidden;
  line-height: 1.6;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1; /* Pushes footer to the bottom */
}

/* ---------- Animated Background ---------- */
.bg-glow {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.bg-glow::before,
.bg-glow::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  animation: float 15s ease-in-out infinite alternate;
}

.bg-glow::before {
  width: 700px;
  height: 700px;
  background: rgba(37, 99, 235, 0.05); /* Soft blue */
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
}

.bg-glow::after {
  width: 600px;
  height: 600px;
  background: rgba(16, 185, 129, 0.05); /* Soft mint */
  bottom: -150px;
  right: -100px;
  animation-delay: -5s;
}

@keyframes float {
  0% { transform: translateY(0) scale(1) translateX(-50%); }
  100% { transform: translateY(-50px) scale(1.05) translateX(-48%); }
}

/* ---------- Noise Overlay ---------- */
.noise-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.015; /* Very subtle noise for light mode */
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='1'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 256px 256px;
}

/* ---------- Container ---------- */
.container {
  position: relative;
  z-index: 2;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Top Banner ---------- */
.top-banner {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  overflow: hidden;
  z-index: 2;
  padding: 30px 24px 0;
  display: flex;
  justify-content: center;
}

.banner-wrapper {
  position: relative;
  width: 100%;
  max-width: 800px;
  padding: 20px;
  animation: fadeInUp 1s ease-out 0.1s both;
}

.banner-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-sm);
}

/* .banner-content removed */

.header-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--border-subtle);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  animation: fadeInDown 0.8s ease-out;
}

.header-badge .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--blue-primary);
  animation: pulseLight 2s ease-in-out infinite;
}

@keyframes pulseLight {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.4); }
  50% { opacity: 0.7; box-shadow: 0 0 0 6px rgba(37, 99, 235, 0); }
}

/* ---------- Hero Section ---------- */
.hero {
  padding: 0 0 80px;
  text-align: center;
  position: relative;
}

.hero h1 {
  display: none;
}

.status-badge-container {
  margin-top: -70px;
  margin-bottom: 28px;
  position: relative;
  z-index: 10;
  animation: fadeInUp 1s ease-out 0.3s both;
}

.hero-text-group {
  margin-bottom: 2.5rem;
  text-align: center;
  animation: fadeInUp 1s ease-out 0.4s both;
}

.hero-headline {
  font-size: 2.5rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.hero-subline {
  font-size: 1.2rem;
  font-weight: 400;
  color: #64748b;
  line-height: 1.6;
  max-width: 550px;
  margin: 0 auto;
}

/* ---------- Footer ---------- */
.footer {
  padding: 40px 0 30px;
  text-align: center;
}

.footer-row {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

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

.footer-row a:hover {
  color: var(--blue-primary);
}

/* Floating Logo Bottom Right */
.floating-logo {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 56px;
  height: auto;
  opacity: 0.5;
  transition: var(--transition);
  pointer-events: none;
}

/* ---------- Animations ---------- */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ---------- Responsive ---------- */
@media (max-width: 768px) {
  .banner-wrapper {
    padding: 10px;
  }
}
