/* ==========================================================================
   QubitRx — Coming Soon Page Styles
   Theme: Luminous White Background with Saffron, Ochre & Earthy Reddish-Orange
   ========================================================================== */

:root {
  /* Core Backgrounds */
  --bg-pure: #ffffff;
  --bg-warm-canvas: #faf8f5;
  --bg-card: #ffffff;
  --bg-card-subtle: #fcfaf7;
  --bg-card-hover: #f9f5ee;

  /* Borders */
  --border-light: rgba(198, 138, 76, 0.18);
  --border-accent: rgba(200, 75, 49, 0.25);
  --border-saffron: rgba(255, 153, 51, 0.35);

  /* Primary Palette: Ochre, Saffron, Earthy Reddish-Orange */
  --color-saffron: #ff9933;
  --color-saffron-deep: #f2780c;
  --color-ochre: #c68a4c;
  --color-ochre-gold: #dca362;
  --color-ochre-dark: #a96e2b;
  --color-earthy-orange: #c84b31;
  --color-terracotta: #b73e25;
  --color-brick: #9e301b;

  /* Deep High-Contrast Typography */
  --text-primary: #17212f;
  --text-secondary: #4b586d;
  --text-muted: #738499;

  /* Status and Accents */
  --color-emerald: #15803d;

  /* Typography */
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Radii */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-xl: 32px;

  /* Shadows */
  --shadow-warm-subtle: 0 10px 30px -10px rgba(198, 138, 76, 0.12), 0 4px 12px rgba(0, 0, 0, 0.03);
  --shadow-card: 0 25px 50px -15px rgba(200, 75, 49, 0.1), 0 8px 20px -6px rgba(198, 138, 76, 0.08);
  --shadow-button: 0 6px 20px rgba(200, 75, 49, 0.28);

  --transition-smooth: all 0.25s 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;
  color-scheme: light;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-pure);
  background-image: 
    radial-gradient(at 15% 10%, rgba(255, 153, 51, 0.07) 0px, transparent 55%),
    radial-gradient(at 85% 20%, rgba(198, 138, 76, 0.08) 0px, transparent 60%),
    radial-gradient(at 50% 85%, rgba(200, 75, 49, 0.06) 0px, transparent 65%);
  color: var(--text-primary);
  min-height: 100vh;
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
}

/* Soft Ambient Lighting */
.ambient-glow {
  position: fixed;
  border-radius: 50%;
  filter: blur(140px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.7;
}

.glow-cyan {
  width: 550px;
  height: 550px;
  top: -120px;
  left: -120px;
  background: radial-gradient(circle, rgba(255, 153, 51, 0.14) 0%, rgba(242, 120, 12, 0.04) 70%, transparent 100%);
  animation: floatSlow 20s ease-in-out infinite alternate;
}

.glow-bronze {
  width: 600px;
  height: 600px;
  bottom: 0;
  right: -150px;
  background: radial-gradient(circle, rgba(200, 75, 49, 0.12) 0%, rgba(198, 138, 76, 0.04) 70%, transparent 100%);
  animation: floatSlow 24s ease-in-out infinite alternate-reverse;
}

.glow-blue {
  width: 450px;
  height: 450px;
  top: 35%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(220, 163, 98, 0.1) 0%, transparent 70%);
}

.ambient-grid {
  position: fixed;
  inset: 0;
  background-image: 
    linear-gradient(to right, rgba(198, 138, 76, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(198, 138, 76, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 0;
}

@keyframes floatSlow {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(25px, 35px) scale(1.06); }
  100% { transform: translate(-20px, 15px) scale(0.95); }
}

/* ==========================================================================
   Header Styles
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  background: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid rgba(198, 138, 76, 0.18);
  padding: 1rem 1.75rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
  transition: var(--transition-smooth);
}

.brand-link:hover {
  transform: translateY(-1px);
}

.brand-logo {
  height: 46px;
  width: auto;
  max-width: 170px;
  object-fit: contain;
}

.brand-meta {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  line-height: 1.1;
}

.brand-title span {
  background: linear-gradient(135deg, var(--color-saffron) 0%, var(--color-earthy-orange) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.brand-tagline {
  font-size: 0.72rem;
  color: var(--color-ochre-dark);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.header-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  border-radius: 9999px;
  background: rgba(255, 153, 51, 0.09);
  border: 1px solid rgba(255, 153, 51, 0.35);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--color-earthy-orange);
}

.pulse-indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--color-saffron-deep);
  box-shadow: 0 0 10px var(--color-saffron);
  animation: pulseBeacon 2s infinite;
}

@keyframes pulseBeacon {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(242, 120, 12, 0.6);
  }
  70% {
    transform: scale(1.15);
    box-shadow: 0 0 0 8px rgba(242, 120, 12, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(242, 120, 12, 0);
  }
}

/* ==========================================================================
   Main Hero Section
   ========================================================================== */
.main-content {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3.5rem 1.25rem 4.5rem;
}

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

/* Announcement Pill */
.announcement-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 20px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(255, 153, 51, 0.12), rgba(198, 138, 76, 0.15));
  border: 1px solid rgba(198, 138, 76, 0.3);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-earthy-orange);
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 14px rgba(198, 138, 76, 0.08);
}

.pill-sparkle {
  color: var(--color-saffron-deep);
  font-size: 1rem;
}

/* Typography */
.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.4rem, 5.5vw, 4.1rem);
  font-weight: 800;
  line-height: 1.16;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
  color: var(--text-primary);
}

.gradient-text {
  background: linear-gradient(135deg, var(--color-saffron-deep) 0%, var(--color-earthy-orange) 50%, var(--color-ochre) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.hero-description {
  font-size: clamp(1.05rem, 2vw, 1.22rem);
  color: var(--text-secondary);
  max-width: 720px;
  margin: 0 auto 3rem;
  font-weight: 450;
  line-height: 1.65;
}

/* ==========================================================================
   Media Showcase (Video & Logo Frame)
   ========================================================================== */
.media-showcase-wrapper {
  width: 100%;
  max-width: 860px;
  margin: 0 auto 3.5rem;
  perspective: 1000px;
}

.media-card-frame {
  position: relative;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(198, 138, 76, 0.28);
  box-shadow: 
    0 25px 60px -15px rgba(200, 75, 49, 0.12),
    0 10px 30px -5px rgba(198, 138, 76, 0.1),
    0 1px 3px rgba(0, 0, 0, 0.04);
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.media-card-frame:hover {
  border-color: rgba(200, 75, 49, 0.45);
  box-shadow: 
    0 32px 75px -15px rgba(200, 75, 49, 0.18),
    0 12px 35px -5px rgba(255, 153, 51, 0.15);
}

/* Top Earthy Saffron Highlight Bar */
.card-glow-reflection {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-saffron), var(--color-earthy-orange), var(--color-ochre));
  opacity: 0.95;
  z-index: 10;
}

/* Video Styling */
.video-container {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

#heroVideo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #ffffff;
  display: block;
}

/* Custom Controls Bar */
.video-controls-overlay {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(198, 138, 76, 0.3);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 6px 14px;
  border-radius: 999px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  z-index: 10;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.ctrl-btn {
  background: transparent;
  border: none;
  color: var(--text-primary);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.ctrl-btn:hover {
  background: rgba(255, 153, 51, 0.15);
  color: var(--color-earthy-orange);
}

.ctrl-btn:active {
  transform: scale(0.96);
}

.ctrl-label {
  display: inline-block;
}

/* Card Narrative Footer */
.media-card-footer {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 1.25rem 1.75rem;
  background: var(--bg-card-subtle);
  border-top: 1px solid rgba(198, 138, 76, 0.18);
  text-align: left;
}

.logo-preview-badge {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5px;
  border: 1px solid rgba(198, 138, 76, 0.25);
  box-shadow: 0 4px 12px rgba(198, 138, 76, 0.1);
}

.badge-emblem {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.caption-text {
  display: flex;
  flex-direction: column;
}

.caption-text strong {
  font-family: var(--font-heading);
  font-size: 0.98rem;
  color: var(--color-earthy-orange);
  letter-spacing: 0.01em;
}

.caption-text span {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

/* ==========================================================================
   Notify & Early Access Form
   ========================================================================== */
.notify-card {
  width: 100%;
  max-width: 640px;
  margin: 0 auto 4rem;
  background: #ffffff;
  border: 1px solid rgba(198, 138, 76, 0.24);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2.25rem;
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
}

.notify-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-saffron), var(--color-earthy-orange), var(--color-ochre));
}

.notify-header h3 {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.notify-header p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: 1.75rem;
}

.notify-form {
  width: 100%;
}

.input-group {
  display: flex;
  gap: 10px;
  background: #ffffff;
  border: 1.5px solid rgba(198, 138, 76, 0.3);
  border-radius: 999px;
  padding: 6px 8px 6px 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
  transition: var(--transition-smooth);
}

.input-group:focus-within {
  border-color: var(--color-earthy-orange);
  box-shadow: 0 0 0 3px rgba(200, 75, 49, 0.15), 0 4px 12px rgba(0, 0, 0, 0.03);
}

.input-group input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  font-family: var(--font-body);
  font-size: 0.98rem;
  color: var(--text-primary);
}

.input-group input::placeholder {
  color: var(--text-muted);
}

.submit-btn {
  background: linear-gradient(135deg, var(--color-saffron) 0%, var(--color-earthy-orange) 100%);
  color: #ffffff;
  border: none;
  outline: none;
  border-radius: 999px;
  padding: 11px 24px;
  font-family: var(--font-body);
  font-size: 0.94rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  box-shadow: var(--shadow-button);
  transition: var(--transition-smooth);
  flex-shrink: 0;
}

.submit-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(200, 75, 49, 0.36);
  filter: brightness(1.05);
}

.submit-btn:active {
  transform: translateY(0);
}

.privacy-note {
  margin-top: 1.1rem;
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* ==========================================================================
   Feature Highlights Grid
   ========================================================================== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  width: 100%;
  margin-bottom: 2rem;
  text-align: left;
}

.feature-card {
  background: #ffffff;
  border: 1px solid rgba(198, 138, 76, 0.2);
  border-radius: var(--radius-md);
  padding: 2rem 1.75rem;
  box-shadow: 0 10px 25px -5px rgba(198, 138, 76, 0.08);
  transition: var(--transition-smooth);
}

.feature-card:hover {
  border-color: rgba(200, 75, 49, 0.4);
  transform: translateY(-4px);
  box-shadow: 0 18px 35px -8px rgba(200, 75, 49, 0.12);
}

.feature-icon-box {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

/* Icon Gradients: Saffron, Ochre & Earthy Orange */
.cyan-gradient {
  background: linear-gradient(135deg, rgba(255, 153, 51, 0.15) 0%, rgba(242, 120, 12, 0.05) 100%);
  color: var(--color-saffron-deep);
  border: 1px solid rgba(255, 153, 51, 0.35);
}

.bronze-gradient {
  background: linear-gradient(135deg, rgba(200, 75, 49, 0.15) 0%, rgba(183, 62, 37, 0.05) 100%);
  color: var(--color-earthy-orange);
  border: 1px solid rgba(200, 75, 49, 0.35);
}

.blue-gradient {
  background: linear-gradient(135deg, rgba(198, 138, 76, 0.15) 0%, rgba(169, 110, 43, 0.05) 100%);
  color: var(--color-ochre-dark);
  border: 1px solid rgba(198, 138, 76, 0.35);
}

.feature-card h4 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.feature-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  border-top: 1px solid rgba(198, 138, 76, 0.2);
  background: #ffffff;
  padding: 1.75rem 1.5rem;
  position: relative;
  z-index: 10;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.footer-logo {
  height: 30px;
  width: auto;
  object-fit: contain;
}

.footer-developer {
  display: flex;
  align-items: center;
  font-size: 0.88rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.dev-link {
  color: #eab308; /* Yellow text as requested */
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
  margin-left: 4px;
  transition: var(--transition-smooth);
}

.dev-link:hover {
  color: #ca8a04;
  text-shadow: 0 0 10px rgba(234, 179, 8, 0.45);
}

.footer-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--color-earthy-orange);
  font-weight: 600;
  font-size: 0.86rem;
  text-decoration: none;
  transition: var(--transition-smooth);
}

.footer-link:hover {
  color: var(--color-saffron-deep);
}

/* ==========================================================================
   Toast Notification
   ========================================================================== */
.toast-notification {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: #ffffff;
  border: 1.5px solid var(--color-earthy-orange);
  box-shadow: 0 20px 40px rgba(200, 75, 49, 0.18), 0 4px 16px rgba(0, 0, 0, 0.08);
  border-radius: var(--radius-md);
  padding: 14px 20px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  max-width: 380px;
  z-index: 999;
  transform: translateY(120%);
  opacity: 0;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
}

.toast-notification.active {
  transform: translateY(0);
  opacity: 1;
}

.toast-icon {
  width: 24px;
  height: 24px;
  background: var(--color-earthy-orange);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.toast-body strong {
  display: block;
  font-size: 0.92rem;
  color: var(--text-primary);
  margin-bottom: 2px;
}

.toast-body p {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.35;
}

/* ==========================================================================
   Responsive Adaptations
   ========================================================================== */
@media (max-width: 768px) {
  .site-header {
    padding: 0.85rem 1rem;
  }

  .header-status {
    font-size: 0.74rem;
    padding: 5px 12px;
  }

  .main-content {
    padding: 2.25rem 1rem 3.5rem;
  }

  .notify-card {
    padding: 1.75rem 1.25rem;
  }

  .input-group {
    flex-direction: column;
    border-radius: var(--radius-md);
    padding: 12px;
  }

  .input-group input {
    padding: 6px 0;
  }

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

  .footer-container {
    flex-direction: column;
    text-align: center;
    justify-content: center;
  }

  .video-controls-overlay {
    bottom: 8px;
    padding: 4px 8px;
    gap: 4px;
  }

  .ctrl-label {
    display: none;
  }

  .ctrl-btn {
    padding: 6px;
  }
}
