/* 
  PEIMA Portal - Centered Minimalist Animated Coming Soon Page
  Punjab Education Initiatives Management Authority
  Brand Colors: Primary Green (#12633f), Dark Green (#062d1d), Gold (#f6b817), Sky Teal (#13b7d6)
*/

@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@300;400;500;600;700;800&family=Plus+Jakarta+Sans:ital,wght@0,300..800;1,300..800&display=swap');

:root {
  --primary: #12633f;
  --primary-light: #1da368;
  --primary-dark: #093b25;
  --bg-dark: #04180f;
  --bg-card: rgba(8, 38, 25, 0.8);
  --bg-card-hover: rgba(14, 56, 38, 0.95);
  --border-light: rgba(52, 211, 153, 0.22);
  --border-glow: rgba(246, 184, 23, 0.45);
  --accent-gold: #f6b817;
  --accent-gold-glow: rgba(246, 184, 23, 0.35);
  --accent-sky: #13b7d6;
  --accent-mint: #34d399;
  --text-main: #f0fdf4;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  --glass-bg: rgba(255, 255, 255, 0.04);
  --glass-border: rgba(255, 255, 255, 0.12);
  --shadow-glow: 0 25px 70px -10px rgba(18, 99, 63, 0.55);
  --shadow-gold: 0 12px 35px -10px rgba(246, 184, 23, 0.4);
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-theme="light"] {
  --bg-dark: #f0faf4;
  --bg-card: rgba(255, 255, 255, 0.9);
  --bg-card-hover: rgba(255, 255, 255, 0.98);
  --border-light: rgba(18, 99, 63, 0.2);
  --border-glow: rgba(18, 99, 63, 0.4);
  --text-main: #062d1d;
  --text-muted: #475569;
  --text-dim: #64748b;
  --glass-bg: rgba(18, 99, 63, 0.04);
  --glass-border: rgba(18, 99, 63, 0.15);
  --shadow-glow: 0 25px 70px -10px rgba(18, 99, 63, 0.18);
}

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

html, body {
  height: 100%;
}

body {
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: 'Plus Jakarta Sans', 'Manrope', sans-serif;
  overflow-x: hidden;
  position: relative;
  line-height: 1.6;
}

/* Background Canvas & Interactive Glows */
#particle-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.cursor-glow {
  position: fixed;
  width: 450px;
  height: 450px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(19, 183, 214, 0.15) 0%, rgba(18, 99, 63, 0.08) 50%, transparent 70%);
  pointer-events: none;
  z-index: 1;
  transform: translate(-50%, -50%);
  transition: transform 0.1s ease-out;
  opacity: 0.85;
}

.glow-orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: 0;
  animation: floatOrb 12s infinite alternate ease-in-out;
}

.glow-orb-1 {
  width: 550px;
  height: 550px;
  top: -120px;
  left: -120px;
  background: rgba(18, 99, 63, 0.4);
}

.glow-orb-2 {
  width: 480px;
  height: 480px;
  bottom: -80px;
  right: -80px;
  background: rgba(246, 184, 23, 0.22);
  animation-delay: -5s;
}

@keyframes floatOrb {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(50px, 70px) scale(1.1); }
  100% { transform: translate(-40px, 40px) scale(0.95); }
}

/* Page Layout */
.app-wrapper {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
}

/* Header Navbar */
.navbar {
  padding: 20px 0;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--glass-border);
  background: rgba(4, 24, 15, 0.75);
}

[data-theme="light"] .navbar {
  background: rgba(240, 250, 244, 0.88);
}

.nav-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-wrapper {
  display: flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
}

.brand-logo-frame {
  position: relative;
  width: 54px;
  height: 54px;
  background: #ffffff;
  border-radius: 14px;
  padding: 4px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25), 0 0 0 2px rgba(246, 184, 23, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.brand-wrapper:hover .brand-logo-frame {
  transform: scale(1.06) rotate(-3deg);
  box-shadow: 0 12px 30px rgba(18, 99, 63, 0.4), 0 0 0 3px var(--accent-gold);
}

.brand-logo-frame img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

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

.brand-title {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: var(--text-main);
  line-height: 1.1;
}

.brand-title span {
  color: var(--accent-gold);
}

.brand-subtitle {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--accent-mint);
}

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

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: rgba(18, 99, 63, 0.25);
  border: 1px solid var(--border-light);
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent-mint);
}

.status-dot {
  width: 8px;
  height: 8px;
  background-color: var(--accent-gold);
  border-radius: 50%;
  position: relative;
}

.status-dot::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: var(--accent-gold);
  opacity: 0.6;
  animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
  0% { transform: scale(0.8); opacity: 0.8; }
  100% { transform: scale(2.2); opacity: 0; }
}

.theme-toggle {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  color: var(--text-main);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  cursor: pointer;
  display: grid;
  place-items: center;
  font-size: 1.1rem;
  transition: var(--transition);
}

.theme-toggle:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: rotate(15deg);
}

/* Centered Hero Stage */
.hero-stage {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 0;
  text-align: center;
}

.hero-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 60px 48px;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow: var(--shadow-glow), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  max-width: 800px;
  width: 100%;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  animation: cardEntrance 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes cardEntrance {
  0% { opacity: 0; transform: translateY(25px) scale(0.97); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

.hero-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -50%;
  width: 200%;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--accent-gold), var(--accent-mint), transparent);
  animation: shineLine 4s infinite linear;
}

@keyframes shineLine {
  0% { transform: translateX(-50%); }
  100% { transform: translateX(50%); }
}

.center-logo-badge {
  width: 100px;
  height: 100px;
  background: #ffffff;
  border-radius: 26px;
  padding: 12px;
  margin: 0 auto 30px;
  box-shadow: 0 15px 35px rgba(18, 99, 63, 0.35), 0 0 0 3px var(--accent-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  animation: floatLogo 4s infinite ease-in-out;
}

@keyframes floatLogo {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.center-logo-badge img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 22px;
  background: linear-gradient(90deg, rgba(18, 99, 63, 0.35) 0%, rgba(246, 184, 23, 0.2) 100%);
  border: 1px solid rgba(246, 184, 23, 0.4);
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent-gold);
  margin-bottom: 24px;
  box-shadow: 0 0 20px rgba(246, 184, 23, 0.2);
}

.main-heading {
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -1px;
}

.gradient-text {
  background: linear-gradient(135deg, #ffffff 0%, var(--accent-mint) 50%, var(--accent-gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

[data-theme="light"] .gradient-text {
  background: linear-gradient(135deg, #062d1d 0%, #12633f 50%, #b88300 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.sub-heading {
  max-width: 620px;
  margin: 0 auto 40px;
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--text-muted);
  font-weight: 400;
  line-height: 1.65;
}

/* Action Buttons / Redirect Section */
.action-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 18px 38px;
  border-radius: 50px;
  font-size: 1.05rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  border: none;
  outline: none;
}

.btn-portal {
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
  color: #ffffff;
  box-shadow: 0 12px 30px rgba(18, 99, 63, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.2) inset;
}

.btn-portal:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 18px 40px rgba(18, 99, 63, 0.6), 0 0 25px rgba(52, 211, 153, 0.5);
  color: #ffffff;
}

.btn-jobs {
  background: linear-gradient(135deg, #fcd34d 0%, var(--accent-gold) 100%);
  color: #062d1d;
  box-shadow: var(--shadow-gold);
}

.btn-jobs:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 18px 40px rgba(246, 184, 23, 0.5);
  color: #062d1d;
}

/* Footer */
.footer {
  border-top: 1px solid var(--glass-border);
  padding: 24px 0;
  background: rgba(2, 12, 7, 0.85);
  backdrop-filter: blur(10px);
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-dim);
}

.footer a {
  color: var(--accent-gold);
  text-decoration: none;
  font-weight: 600;
}

.footer a:hover {
  text-decoration: underline;
}
