/* -------------------------------------------------------------
   PioneeringEconomist — Minimal Coming Soon Page Styles
   Sleek Glassmorphism Design & Dark / Light Theme Support
   ------------------------------------------------------------- */

/* Dark Theme Variables (Default) */
[data-theme="dark"] {
  --bg-color: #0b1120;
  --text-dark: #f8fafc;
  --text-muted: #94a3b8;

  --card-bg: #0e172a;
  --card-border: rgba(212, 132, 89, 0.25);
  --card-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);

  --copper-color: #d48459;
  --badge-bg: rgba(212, 132, 89, 0.12);
  --badge-border: rgba(212, 132, 89, 0.35);
  --badge-text: #e09f67;

  --gradient-word: linear-gradient(135deg, #e09f67 10%, #38bdf8 90%);
  --orb-1-color: #d48459;
  --orb-2-color: #1e3a8a;

  --glass-bg: rgba(15, 23, 42, 0.65);
  --glass-border: rgba(255, 255, 255, 0.12);
  --toggle-thumb-bg: linear-gradient(135deg, #d48459, #e09f67);
  --toggle-thumb-shadow: 0 0 14px rgba(212, 132, 89, 0.5);
  --icon-active: #ffffff;
  --icon-inactive: #64748b;
}

/* Light Theme Variables */
[data-theme="light"] {
  --bg-color: #f6f8fc;
  --text-dark: #0f172a;
  --text-muted: #475569;

  --card-bg: #ffffff;
  --card-border: rgba(0, 0, 0, 0.05);
  --card-shadow: 0 20px 50px rgba(15, 23, 42, 0.08), 0 4px 12px rgba(0, 0, 0, 0.03);

  --copper-color: #c87d55;
  --badge-bg: rgba(232, 220, 210, 0.4);
  --badge-border: rgba(200, 125, 85, 0.35);
  --badge-text: #a45c36;

  --gradient-word: linear-gradient(135deg, #b86a3d 10%, #4895ef 90%);
  --orb-1-color: #e09f67;
  --orb-2-color: #38bdf8;

  --glass-bg: rgba(255, 255, 255, 0.75);
  --glass-border: rgba(200, 125, 85, 0.3);
  --toggle-thumb-bg: linear-gradient(135deg, #0f172a, #1e3a8a);
  --toggle-thumb-shadow: 0 0 14px rgba(30, 58, 138, 0.3);
  --icon-active: #ffffff;
  --icon-inactive: #94a3b8;
}

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

html, body {
  width: 100%;
  height: 100%;
  overflow: hidden;
  font-family: 'Inter', -apple-system, sans-serif;
  background-color: var(--bg-color);
  color: var(--text-dark);
  -webkit-font-smoothing: antialiased;
  transition: background-color 0.4s ease, color 0.4s ease;
}

/* Canvas & Orbs */
.network-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
  opacity: 0.55;
}

.glow-orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(140px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.22;
}

.orb-1 {
  top: -15%;
  right: 20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--orb-1-color), transparent 70%);
}

.orb-2 {
  bottom: -15%;
  left: 15%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--orb-2-color), transparent 70%);
}

/* Header & Ultra-Sleek Glassmorphism Theme Toggle */
.minimal-header {
  position: fixed;
  top: 1.8rem;
  right: 2.2rem;
  z-index: 9999;
}

.glass-theme-toggle {
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  padding: 5px;
  border-radius: 9999px;
  cursor: pointer;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.glass-theme-toggle:hover {
  transform: translateY(-2px);
  border-color: var(--copper-color);
  box-shadow: 0 10px 35px rgba(212, 132, 89, 0.25);
}

.toggle-track {
  position: relative;
  width: 68px;
  height: 32px;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 7px;
}

.toggle-thumb {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--toggle-thumb-bg);
  box-shadow: var(--toggle-thumb-shadow);
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  z-index: 1;
}

[data-theme="light"] .toggle-thumb {
  transform: translateX(36px);
}

.toggle-icon {
  width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  transition: color 0.3s ease;
}

.toggle-icon svg {
  width: 15px;
  height: 15px;
}

.icon-moon {
  color: var(--icon-active);
}

.icon-sun {
  color: var(--icon-inactive);
}

[data-theme="light"] .icon-moon {
  color: var(--icon-inactive);
}

[data-theme="light"] .icon-sun {
  color: var(--icon-active);
}

/* Minimal Stage */
.minimal-stage {
  position: relative;
  z-index: 1;
  width: 100vw;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.minimal-container {
  max-width: 820px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* Status Badge */
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.45rem 1.25rem;
  background: var(--badge-bg);
  border: 1px solid var(--badge-border);
  border-radius: 9999px;
  margin-bottom: 2.2rem;
  backdrop-filter: blur(8px);
  box-shadow: 0 2px 10px rgba(200, 125, 85, 0.08);
}

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

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

.badge-text {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--badge-text);
}

/* Logo Card */
.logo-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 2.2rem 3rem;
  box-shadow: var(--card-shadow);
  margin-bottom: 2.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.4s ease;
}

.logo-card:hover {
  transform: translateY(-4px);
}

.brand-logo-img {
  max-width: 380px;
  width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 520px) {
  .logo-card {
    padding: 1.5rem 2rem;
    margin-bottom: 2rem;
  }
  .brand-logo-img {
    max-width: 280px;
  }
}

/* Headline */
.main-headline {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  font-weight: 800;
  line-height: 1.2;
  color: var(--text-dark);
  letter-spacing: -0.03em;
  margin-bottom: 1.4rem;
}

.gradient-word {
  background: var(--gradient-word);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Subtitle */
.subtitle {
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  color: var(--text-muted);
  max-width: 680px;
  line-height: 1.6;
  font-weight: 400;
}
