/* ============================================================
   EduVerse Tech Solutions — Complete Website Stylesheet
   Theme: Modern Glassmorphism with Premium Gradients
   Features: 3D animations, glassmorphism, role-based dashboards
   File: css/style.css  |  Structure: website/css/
   ============================================================ */

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

/* ===== MODERN COLOR PALETTE ===== */
:root {
  --primary: #2563eb;
  --primary-dark: #0b2f86;
  --primary-soft: #dbeafe;
  --primary-light: #eff6ff;
  --dark: #0b1026;
  --navy: #07112f;
  --heading: #111827;
  --text: #1f2937;
  --muted: #64748b;
  --faint: #94a3b8;
  --success: #16a34a;
  --success-soft: #dcfce7;
  --danger: #dc2626;
  --danger-soft: #ffe4e6;
  --warning: #f59e0b;
  --warning-soft: #fff7ed;
  --info: #475569;
  --info-soft: #f1f5f9;
  --purple: #7c3aed;
  --purple-soft: #f3e8ff;
  --teal: #0891b2;
  --teal-soft: #cffafe;
  --orange: #ea580c;
  --orange-soft: #ffedd5;
  --bg: #f4f7fb;
  --card: #ffffff;
  --line: #dbe7ff;
  --field: #f8fbff;
  --disabled: #e5e7eb;
  --premium-gradient: linear-gradient(135deg, #07112f 0%, #123b9f 50%, #2563eb 100%);
  --soft-gradient: linear-gradient(135deg, #ffffff 0%, #f8fbff 100%);
  --hero-gradient: linear-gradient(135deg, #1a1a2e 0%, #16213e 40%, #0f3460 100%);
  --modern-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
  --warm-gradient: linear-gradient(135deg, #ffecd2 0%, #fcb69f 100%);
  --cool-gradient: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
  --shadow-sm: 0 1px 2px rgba(11,16,38,0.05);
  --shadow-md: 0 4px 12px rgba(11,16,38,0.08);
  --shadow-lg: 0 10px 40px rgba(11,16,38,0.12);
  --shadow-xl: 0 20px 60px rgba(11,16,38,0.15);
  --shadow-3d: 0 25px 50px -12px rgba(37,99,235,0.25);
  --shadow-float: 0 30px 60px -15px rgba(37,99,235,0.2);
  --shadow-glow: 0 0 40px rgba(37,99,235,0.3);
  --glass: rgba(255,255,255,0.7);
  --glass-border: rgba(255,255,255,0.3);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-2xl: 32px;
  --radius-full: 9999px;
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.23, 1, 0.32, 1);
  --transition-bounce: 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; -webkit-font-smoothing: antialiased; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
}
::selection { background: var(--primary-soft); color: var(--primary-dark); }
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--primary-soft); border-radius: var(--radius-full); }
::-webkit-scrollbar-thumb:hover { background: var(--primary); }

/* ===== SCROLL MANAGEMENT ===== */
html { scroll-padding-top: 80px; }
.page-section {
  display: none;
  animation: fadeIn 0.5s ease-out;
}
.page-section.active {
  display: block;
}
section[id] {
  scroll-margin-top: 80px;
}

/* ===== ANIMATED BACKGROUND ===== */
.bg-animated {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: -3;
  background: var(--bg);
  overflow: hidden;
}
.bg-animated::before {
  content: '';
  position: absolute;
  top: -50%; left: -50%;
  width: 200%; height: 200%;
  background:
    radial-gradient(ellipse 600px 600px at 20% 30%, rgba(37,99,235,0.08) 0%, transparent 60%),
    radial-gradient(ellipse 500px 500px at 80% 20%, rgba(124,58,237,0.06) 0%, transparent 60%),
    radial-gradient(ellipse 400px 400px at 50% 80%, rgba(8,145,178,0.05) 0%, transparent 60%),
    radial-gradient(ellipse 300px 300px at 70% 60%, rgba(234,88,12,0.04) 0%, transparent 60%);
  animation: bgFloat 20s ease-in-out infinite;
}
@keyframes bgFloat {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  25% { transform: translate(2%, 1%) rotate(1deg); }
  50% { transform: translate(-1%, 2%) rotate(-1deg); }
  75% { transform: translate(1%, -1%) rotate(0.5deg); }
}

/* ===== VIDEO BACKGROUND ===== */
.video-bg {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: -3;
  opacity: 0.08;
  pointer-events: none;
}

.orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(80px);
  z-index: -2;
  pointer-events: none;
  opacity: 0.5;
}
.orb-1 { width: 400px; height: 400px; background: rgba(37,99,235,0.15); top: 10%; left: -5%; animation: orbFloat1 15s ease-in-out infinite; }
.orb-2 { width: 350px; height: 350px; background: rgba(124,58,237,0.1); top: 50%; right: -5%; animation: orbFloat2 18s ease-in-out infinite; }
.orb-3 { width: 300px; height: 300px; background: rgba(8,145,178,0.12); bottom: 10%; left: 30%; animation: orbFloat3 20s ease-in-out infinite; }
@keyframes orbFloat1 { 0%, 100% { transform: translate(0, 0) scale(1); } 50% { transform: translate(50px, 30px) scale(1.1); } }
@keyframes orbFloat2 { 0%, 100% { transform: translate(0, 0) scale(1); } 50% { transform: translate(-40px, 60px) scale(0.9); } }
@keyframes orbFloat3 { 0%, 100% { transform: translate(0, 0) scale(1); } 50% { transform: translate(30px, -40px) scale(1.05); } }

.particles {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}
.particle {
  position: absolute;
  width: 6px; height: 6px;
  background: var(--primary);
  border-radius: 50%;
  opacity: 0.2;
  animation: particleFloat 12s ease-in-out infinite;
}
@keyframes particleFloat {
  0%, 100% { transform: translateY(0) translateX(0) scale(1); opacity: 0.2; }
  25% { transform: translateY(-80px) translateX(40px) scale(1.2); opacity: 0.4; }
  50% { transform: translateY(-40px) translateX(-20px) scale(0.8); opacity: 0.15; }
  75% { transform: translateY(-100px) translateX(30px) scale(1.1); opacity: 0.35; }
}

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  z-index: 1000;
  padding: 0.75rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(219,231,255,0.5);
  transition: all var(--transition-normal);
}
.navbar.scrolled {
  background: rgba(255,255,255,0.95);
  box-shadow: var(--shadow-md);
  padding: 0.5rem 2rem;
}
.logo-box {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--heading);
}
.company-logo {
  width: 44px;
  height: 44px;
  object-fit: contain;
  border-radius: var(--radius-md);
  transition: transform var(--transition-bounce);
}
.logo-box:hover .company-logo {
  transform: rotateY(15deg) scale(1.05);
}
.logo-fallback {
  width: 44px;
  height: 44px;
  background: var(--premium-gradient);
  border-radius: var(--radius-md);
  display: grid;
  place-items: center;
  color: white;
  font-weight: 800;
  font-size: 1.3rem;
  font-family: 'Playfair Display', serif;
  box-shadow: 0 4px 15px rgba(37,99,235,0.3);
  transition: transform var(--transition-bounce);
}
.logo-box:hover .logo-fallback { transform: rotateY(15deg) scale(1.05); }
.logo-box h3 { font-size: 1.1rem; font-weight: 700; color: var(--navy); line-height: 1.2; }
.logo-box span { font-size: 0.7rem; color: var(--muted); font-weight: 500; }
.nav-links { display: flex; align-items: center; gap: 0.25rem; }
.nav-links a {
  color: var(--text);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
  transition: all var(--transition-fast);
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 2px; left: 50%;
  width: 0; height: 2px;
  background: var(--primary);
  border-radius: var(--radius-full);
  transition: all var(--transition-normal);
  transform: translateX(-50%);
}
.nav-links a:hover { color: var(--primary); background: var(--primary-light); }
.nav-links a:hover::after { width: 60%; }
.nav-links a.active { color: var(--primary); background: var(--primary-soft); }
.nav-cta { display: flex; align-items: center; gap: 0.75rem; }
.menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--heading);
  padding: 0.5rem;
  border-radius: var(--radius-md);
  transition: background var(--transition-fast);
}
.menu-btn:hover { background: var(--primary-light); }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}
.btn::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s;
}
.btn:hover::before { left: 100%; }
.btn-primary { background: var(--premium-gradient); color: white; box-shadow: 0 4px 15px rgba(37,99,235,0.3); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(37,99,235,0.4); }
.btn-soft { background: var(--primary-light); color: var(--primary); border: 1px solid var(--line); }
.btn-soft:hover { background: var(--primary-soft); transform: translateY(-2px); }
.btn-white { background: white; color: var(--primary); border: 1px solid var(--line); }
.btn-white:hover { background: var(--primary-light); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--muted); border: 1px solid var(--disabled); }
.btn-ghost:hover { background: var(--field); color: var(--text); }
.btn-danger { background: var(--danger); color: white; }
.btn-danger:hover { background: #b91c1c; }
.btn-success { background: var(--success); color: white; }
.btn-success:hover { background: #15803d; }
.btn-glow { animation: btnGlow 2s ease-in-out infinite; }
@keyframes btnGlow {
  0%, 100% { box-shadow: 0 4px 15px rgba(37,99,235,0.3); }
  50% { box-shadow: 0 4px 25px rgba(37,99,235,0.5), 0 0 20px rgba(37,99,235,0.2); }
}
.full-btn { width: 100%; }

/* ===== HERO - MODERN GLASSMORPHISM DESIGN ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 8rem 2rem 4rem;
  overflow: hidden;
  background: linear-gradient(135deg, #0f0f23 0%, #1a1a3e 30%, #16213e 60%, #0f3460 100%);
}
.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background:
    radial-gradient(ellipse 800px 800px at 20% 50%, rgba(102,126,234,0.2) 0%, transparent 60%),
    radial-gradient(ellipse 600px 600px at 80% 30%, rgba(118,75,162,0.15) 0%, transparent 60%),
    radial-gradient(ellipse 500px 500px at 50% 80%, rgba(240,147,251,0.1) 0%, transparent 60%),
    url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  z-index: 0;
}
.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.hero-copy { color: white; }
.eyebrow {
  display: inline-block;
  padding: 0.4rem 1rem;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1.5rem;
  animation: fadeInUp 0.8s ease-out;
}
.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 1.5rem;
  text-shadow: 0 4px 20px rgba(0,0,0,0.2);
  animation: fadeInUp 0.8s ease-out 0.1s both;
}
.hero h1 span {
  background: linear-gradient(135deg, #60a5fa, #c4b5fd, #f093fb);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero p {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.85);
  max-width: 520px;
  margin-bottom: 2rem;
  line-height: 1.7;
  animation: fadeInUp 0.8s ease-out 0.2s both;
}
.hero-actions {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
  animation: fadeInUp 0.8s ease-out 0.3s both;
  flex-wrap: wrap;
}
.hero-points {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease-out 0.4s both;
}
.hero-points span {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.8);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

/* ===== HERO VISUAL - MODERN GLASS CARD ===== */
.hero-visual {
  position: relative;
  perspective: 1000px;
  animation: fadeInUp 0.8s ease-out 0.3s both;
}
.hero-card-3d {
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius-xl);
  padding: 2rem;
  transform-style: preserve-3d;
  transition: transform var(--transition-slow);
  position: relative;
  overflow: hidden;
}
.hero-card-3d::before {
  content: '';
  position: absolute;
  top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.1) 0%, transparent 50%);
  pointer-events: none;
}
.hero-card-3d:hover { transform: rotateY(-5deg) rotateX(5deg) translateZ(20px); }
.price-chip {
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  text-align: center;
  margin-bottom: 1.5rem;
}
.price-chip small { display: block; font-size: 0.8rem; color: rgba(255,255,255,0.7); margin-bottom: 0.5rem; }
.price-chip strong { font-size: 2.5rem; font-weight: 800; color: white; display: block; line-height: 1; }
.price-chip strong del { font-size: 1.2rem; color: rgba(255,255,255,0.5); font-weight: 500; margin-right: 0.5rem; }
.price-chip span { font-size: 0.85rem; color: rgba(255,255,255,0.7); }
.solution-stack { display: flex; flex-direction: column; gap: 0.75rem; }
.stack-card {
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: white;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  transition: all var(--transition-normal);
  cursor: pointer;
}
.stack-card:hover { background: rgba(255,255,255,0.2); transform: translateX(8px); }
.stack-card.blue { border-left: 3px solid #60a5fa; }
.stack-card.green { border-left: 3px solid #34d399; }
.stack-card.yellow { border-left: 3px solid #fbbf24; }
.stack-card.red { border-left: 3px solid #f87171; }
.stack-card.dark { border-left: 3px solid #a78bfa; }

/* ===== SECTIONS ===== */
.section { padding: 5rem 2rem; max-width: 1400px; margin: 0 auto; position: relative; }
.section-alt { background: white; position: relative; }
.section-alt::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background:
    radial-gradient(ellipse 500px 500px at 10% 20%, rgba(37,99,235,0.04) 0%, transparent 60%),
    radial-gradient(ellipse 400px 400px at 90% 80%, rgba(124,58,237,0.03) 0%, transparent 60%);
  pointer-events: none;
}
.title { text-align: center; margin-bottom: 3rem; position: relative; }
.title span {
  display: inline-block;
  padding: 0.35rem 1rem;
  background: var(--primary-soft);
  color: var(--primary);
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1rem;
}
.title h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  color: var(--heading);
  margin-bottom: 0.75rem;
}
.title p { color: var(--muted); font-size: 1.05rem; max-width: 600px; margin: 0 auto; }

/* ===== GRIDS ===== */
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.5rem; }
.compact-grid { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }

/* ===== 3D CARDS ===== */
.card-3d {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 2rem;
  position: relative;
  overflow: hidden;
  transform-style: preserve-3d;
  transition: all var(--transition-slow);
  box-shadow: var(--shadow-sm);
}
.card-3d::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 4px;
  background: var(--premium-gradient);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-slow);
}
.card-3d:hover { transform: translateY(-8px) rotateX(2deg); box-shadow: var(--shadow-xl), var(--shadow-glow); border-color: var(--primary-soft); }
.card-3d:hover::before { transform: scaleX(1); }
.card-3d .card-icon {
  width: 56px; height: 56px;
  background: var(--primary-light);
  border-radius: var(--radius-lg);
  display: grid;
  place-items: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
  transition: all var(--transition-bounce);
}
.card-3d:hover .card-icon { transform: scale(1.1) rotate(-5deg); background: var(--premium-gradient); box-shadow: 0 8px 20px rgba(37,99,235,0.3); }
.card-3d h3 { font-size: 1.15rem; font-weight: 700; color: var(--heading); margin-bottom: 0.5rem; }
.card-3d p { color: var(--muted); font-size: 0.9rem; line-height: 1.6; }

.tilt-card { transform-style: preserve-3d; perspective: 1000px; }
.tilt-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.4), transparent);
  transform: translateX(-110%);
  transition: 0.75s;
  pointer-events: none;
}
.tilt-card:hover::after { transform: translateX(110%); }

/* ===== PRODUCT CARDS ===== */
.product-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 2rem;
  transition: all var(--transition-slow);
  position: relative;
  overflow: hidden;
  cursor: pointer;
}
.product-card::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 100px; height: 100px;
  background: var(--primary-soft);
  border-radius: 50%;
  transform: translate(50%, -50%);
  opacity: 0.5;
  transition: all var(--transition-slow);
}
.product-card:hover { transform: translateY(-10px) scale(1.02); box-shadow: var(--shadow-xl); border-color: var(--primary-soft); }
.product-card:hover::before { transform: translate(30%, -30%) scale(1.5); opacity: 0.3; }
.product-card .card-icon {
  width: 60px; height: 60px;
  background: var(--premium-gradient);
  border-radius: var(--radius-lg);
  display: grid;
  place-items: center;
  font-size: 1.75rem;
  margin-bottom: 1.25rem;
  color: white;
  box-shadow: 0 8px 20px rgba(37,99,235,0.3);
  transition: transform var(--transition-bounce);
}
.product-card:hover .card-icon { transform: rotateY(180deg) scale(1.1); }
.product-card h3 { font-size: 1.2rem; font-weight: 700; color: var(--heading); margin-bottom: 0.5rem; }
.product-card .subtitle { font-size: 0.85rem; font-weight: 600; color: var(--primary); margin-bottom: 0.5rem; }
.product-card p { color: var(--muted); font-size: 0.9rem; margin-bottom: 0.75rem; }
.product-card .deep-info { color: var(--faint); font-size: 0.8rem; line-height: 1.5; margin-bottom: 1rem; }
.product-card button {
  width: 100%;
  padding: 0.75rem;
  background: var(--primary-light);
  color: var(--primary);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all var(--transition-normal);
}
.product-card button:hover {
  background: var(--premium-gradient);
  color: white;
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(37,99,235,0.3);
}
.price-tag {
  margin: 1rem 0;
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.price-tag del {
  font-size: 1rem;
  color: var(--faint);
  font-weight: 500;
}
.price-tag strong {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary);
}
.price-tag span {
  font-size: 0.8rem;
  color: var(--muted);
}

/* ===== MODULE CARDS ===== */
.module-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  transition: all var(--transition-normal);
  cursor: pointer;
}
.module-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: var(--primary-soft); }
.module-card .card-icon {
  width: 48px; height: 48px;
  background: var(--primary-light);
  border-radius: var(--radius-md);
  display: grid;
  place-items: center;
  font-size: 1.3rem;
  margin-bottom: 1rem;
}
.module-card h3 { font-size: 1rem; font-weight: 600; color: var(--heading); margin-bottom: 0.25rem; }
.module-card .category { font-size: 0.75rem; font-weight: 600; color: var(--primary); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 0.5rem; }
.module-card p { color: var(--muted); font-size: 0.85rem; }

/* ===== CUSTOMER / SCHOOL CARDS ===== */
.customer-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  text-align: center;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}
.customer-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.customer-card .school-icon {
  width: 60px; height: 60px;
  background: var(--primary-light);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 1.75rem;
  margin: 0 auto 1rem;
  transition: transform var(--transition-bounce);
}
.customer-card:hover .school-icon { transform: scale(1.1) rotate(10deg); }
.customer-card h3 { font-size: 1rem; font-weight: 600; color: var(--heading); margin-bottom: 0.25rem; }
.customer-card p { color: var(--muted); font-size: 0.85rem; }
.customer-logo {
  width: 64px;
  height: 64px;
  object-fit: contain;
  border-radius: var(--radius-md);
  margin: 0 auto 1rem;
  background: white;
  padding: 4px;
  box-shadow: var(--shadow-sm);
}
.customer-logo-placeholder {
  width: 64px;
  height: 64px;
  background: var(--primary-light);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 1.75rem;
  margin: 0 auto 1rem;
}
.customer-card.premium {
  border: 2px solid #f59e0b;
  box-shadow: 0 0 20px rgba(245,158,11,0.15);
}
.customer-card.premium::before {
  content: '\2B50';
  position: absolute;
  top: 8px; right: 8px;
  font-size: 1.2rem;
  animation: pulse 2s infinite;
}
.customer-rank { font-size: 1.5rem; font-weight: 800; margin-bottom: 0.5rem; }
.verified-badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background: var(--success-soft);
  color: var(--success);
  border-radius: var(--radius-full);
  font-size: 0.7rem;
  font-weight: 600;
  margin-top: 0.5rem;
}
.top-badge {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  background: var(--warning-soft);
  color: var(--warning);
  border-radius: var(--radius-full);
  font-size: 0.7rem;
  font-weight: 700;
  margin-top: 0.3rem;
}

/* ===== PRICING ===== */
.pricing-section {
  background: var(--hero-gradient);
  position: relative;
  overflow: hidden;
}
.pricing-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.pricing-section .title h2,
.pricing-section .title p { color: white; }
.pricing-section .title span { background: rgba(255,255,255,0.15); color: white; }
.pricing-card {
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius-xl);
  padding: 3rem 2rem;
  max-width: 450px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  transform-style: preserve-3d;
  transition: transform var(--transition-slow);
}
.pricing-card:hover { transform: translateY(-10px) rotateX(5deg); }
.pricing-badge {
  position: absolute;
  top: -12px; left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #f59e0b, #ea580c);
  color: white;
  padding: 0.4rem 1.25rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 15px rgba(245,158,11,0.4);
  animation: pulseBadge 2s ease-in-out infinite;
}
@keyframes pulseBadge {
  0%, 100% { transform: translateX(-50%) scale(1); }
  50% { transform: translateX(-50%) scale(1.05); }
}
.pricing-card h3 { font-size: 1.5rem; color: white; margin-bottom: 1rem; }
.price-line { margin: 1.5rem 0; }
.price-line del { font-size: 1.5rem; color: rgba(255,255,255,0.5); margin-right: 0.5rem; }
.price-line strong { font-size: 3.5rem; font-weight: 800; color: white; line-height: 1; }
.pricing-card > p { color: rgba(255,255,255,0.7); margin-bottom: 2rem; }
.pricing-features {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2rem;
  text-align: left;
}
.pricing-features span {
  color: rgba(255,255,255,0.9);
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* ===== DEMO SECTION ===== */
.demo-section { background: var(--primary-light); }
.demo-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 3rem;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: center;
  box-shadow: var(--shadow-lg);
  transition: all var(--transition-slow);
}
.demo-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-xl); }
.demo-card h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  color: var(--heading);
  margin-bottom: 0.75rem;
}
.demo-card p { color: var(--muted); max-width: 500px; }

/* ===== PORTAL / LOGIN ===== */
.portal {
  background: var(--hero-gradient);
  padding: 5rem 2rem;
  position: relative;
}
.portal::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.portal .title h2, .portal .title p { color: white; }
.portal .title span { background: rgba(255,255,255,0.15); color: white; }
.auth-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.auth-card {
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: var(--radius-xl);
  padding: 2rem;
  box-shadow: var(--shadow-xl);
  transition: transform var(--transition-slow);
}
.auth-card:hover { transform: translateY(-5px); }
.auth-head {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.auth-head span {
  width: 48px; height: 48px;
  background: var(--primary-light);
  border-radius: var(--radius-lg);
  display: grid;
  place-items: center;
  font-size: 1.5rem;
}
.auth-head h3 { font-size: 1.1rem; font-weight: 700; color: var(--heading); }
.auth-head p { color: var(--muted); font-size: 0.85rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.auth-card label {
  display: block;
  margin-bottom: 1rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--heading);
}
.auth-card label input,
.auth-card label select,
.auth-card label textarea {
  width: 100%;
  margin-top: 0.4rem;
  padding: 0.75rem 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--field);
  color: var(--text);
  font-size: 0.9rem;
  transition: all var(--transition-fast);
  font-family: inherit;
}
.auth-card label input:focus,
.auth-card label select:focus,
.auth-card label textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-soft);
}
.auth-card label textarea { min-height: 80px; resize: vertical; }

/* ===== DASHBOARD ===== */
.dashboard { max-width: 1200px; margin: 0 auto; position: relative; z-index: 1; }
.profile {
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: var(--radius-xl);
  padding: 2rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-lg);
  flex-wrap: wrap;
}

/* ===== AVATAR - 250x250 CENTERED ===== */
.avatar {
  width: 250px;
  height: 250px;
  background: var(--premium-gradient);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: white;
  font-weight: 700;
  font-size: 4rem;
  margin: 0 auto;
  box-shadow: 0 10px 40px rgba(37,99,235,0.3);
  overflow: hidden;
  border: 4px solid rgba(255,255,255,0.3);
  flex-shrink: 0;
}
.avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Profile info next to avatar */
.profile-info {
  flex: 1;
  min-width: 250px;
}
.profile-info h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--heading);
  margin-bottom: 0.25rem;
}
.profile-info p {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 0.25rem;
}

.verified-badge {
  margin-left: auto;
  padding: 0.35rem 1rem;
  background: var(--success-soft);
  color: var(--success);
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
}
.portal-menu {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}
.portal-menu button {
  padding: 0.6rem 1.25rem;
  background: rgba(255,255,255,0.15);
  color: white;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition-fast);
}
.portal-menu button:hover,
.portal-menu button.active { background: white; color: var(--primary); }
.portal-tab { display: none; }
.portal-tab.active { display: block; }
.portal-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); gap: 1.5rem; }
.portal-card {
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: var(--radius-xl);
  padding: 1.5rem;
  box-shadow: var(--shadow-md);
}
.portal-card h3 { font-size: 1.1rem; font-weight: 700; color: var(--heading); margin-bottom: 1rem; }

/* ===== ROLE-BASED DASHBOARD SECTIONS ===== */
.role-dashboard {
  display: none;
}
.role-dashboard.active {
  display: block;
}

.role-dashboard h2 {
  color: white;
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  text-align: center;
}

.role-dashboard .dashboard-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.role-dashboard .dashboard-card {
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: var(--radius-xl);
  padding: 2rem;
  box-shadow: var(--shadow-lg);
  transition: all var(--transition-slow);
}
.role-dashboard .dashboard-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
}
.role-dashboard .dashboard-card .card-icon {
  width: 56px;
  height: 56px;
  background: var(--primary-light);
  border-radius: var(--radius-lg);
  display: grid;
  place-items: center;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}
.role-dashboard .dashboard-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--heading);
  margin-bottom: 0.5rem;
}
.role-dashboard .dashboard-card p {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

/* Admin specific styles */
.admin-dashboard .dashboard-card .card-icon { background: var(--warning-soft); }
.jobseeker-dashboard .dashboard-card .card-icon { background: var(--success-soft); }
.customer-dashboard .dashboard-card .card-icon { background: var(--primary-light); }

/* ===== TRACKING / STATUS ===== */
.track-card {
  background: var(--field);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 1rem;
  margin-bottom: 0.75rem;
  transition: all var(--transition-fast);
}
.track-card:hover { border-color: var(--primary-soft); transform: translateX(5px); }
.track-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 0.5rem; }
.track-header h3 { font-size: 0.95rem; font-weight: 700; color: var(--heading); }
.track-status {
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-full);
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: capitalize;
}
.track-status.order_placed,
.track-status.demo_booked,
.track-status.application_submitted { background: var(--info-soft); color: var(--info); }
.track-status.initiated,
.track-status.under_review,
.track-status.shortlisted { background: var(--warning-soft); color: var(--warning); }
.track-status.admin_approved,
.track-status.interview_scheduled,
.track-status.selected,
.track-status.delivered,
.track-status.verified { background: var(--success-soft); color: var(--success); }
.track-status.rejected,
.track-status.blocked,
.track-status.failed { background: var(--danger-soft); color: var(--danger); }

.road { height: 4px; background: var(--line); border-radius: var(--radius-full); margin-bottom: 1rem; position: relative; overflow: hidden; }
.road span { position: absolute; top: -10px; animation: busRun 4s linear infinite; font-size: 1.2rem; }
@keyframes busRun { 0% { left: -30px; } 100% { left: calc(100% + 30px); } }

.status-steps { display: flex; flex-wrap: wrap; gap: 0.4rem; margin: 0.75rem 0; }
.status-steps .step {
  padding: 0.25rem 0.6rem;
  background: var(--disabled);
  color: var(--muted);
  border-radius: var(--radius-full);
  font-size: 0.7rem;
  font-weight: 500;
  text-transform: capitalize;
}
.status-steps .step.active { background: var(--success-soft); color: var(--success); }
.status-steps .step.current { background: var(--primary-soft); color: var(--primary); font-weight: 700; }

.check-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin: 1rem 0;
}
.check-list label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--text);
  cursor: pointer;
}
.check-list input[type="checkbox"] { width: 18px; height: 18px; accent-color: var(--primary); }

/* ===== LOGIN TYPE SELECTOR ===== */
.login-type-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-bottom: 2rem; }
.login-type-card {
  background: var(--field);
  border: 2px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}
.login-type-card:hover { border-color: var(--primary-soft); transform: translateY(-3px); box-shadow: var(--shadow-md); }
.login-type-card.active { border-color: var(--primary); background: var(--primary-light); box-shadow: var(--shadow-lg); }
.login-type-card .type-icon { font-size: 2rem; margin-bottom: 0.75rem; display: block; }
.login-type-card h4 { font-size: 0.95rem; font-weight: 600; color: var(--heading); margin-bottom: 0.25rem; }
.login-type-card p { font-size: 0.75rem; color: var(--muted); }
.login-type-card .lock-icon { position: absolute; top: 8px; right: 8px; font-size: 0.85rem; opacity: 0.5; }

/* ===== LOCATION ===== */
.location-section { background: white; }
.map-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.map-card iframe, .map-card #googleMap { width: 100%; height: 400px; border: none; }

/* ===== FOOTER ===== */
.site-footer {
  background: var(--navy);
  color: white;
  padding: 4rem 2rem 1.5rem;
}
.footer-grid {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1.5fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}
.footer-grid h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 1rem; color: white; }
.footer-grid h4 {
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: rgba(255,255,255,0.8);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.footer-grid p,
.footer-grid a {
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
  text-decoration: none;
  display: block;
  margin-bottom: 0.5rem;
  transition: color var(--transition-fast);
}
.footer-grid a:hover { color: white; }
.footer-bottom {
  max-width: 1400px;
  margin: 0 auto;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-bottom p { color: rgba(255,255,255,0.5); font-size: 0.85rem; }
.footer-bottom a {
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  font-size: 0.85rem;
  transition: color var(--transition-fast);
}
.footer-bottom a:hover { color: white; }

/* ===== QUICK ACTIONS ===== */
.quick-actions {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  z-index: 999;
}
.quick-actions a {
  width: 50px; height: 50px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 1.3rem;
  text-decoration: none;
  box-shadow: var(--shadow-lg);
  transition: all var(--transition-bounce);
  position: relative;
}
.quick-actions a:hover { transform: scale(1.15) translateY(-3px); box-shadow: var(--shadow-xl); }
.quick-actions a:first-child { background: #25d366; color: white; border-color: #25d366; }
.quick-actions a:first-child:hover { background: #128c7e; }
.quick-actions a:nth-child(2) { background: var(--primary); color: white; border-color: var(--primary); }
.quick-actions a:nth-child(3) { background: var(--card); color: var(--danger); }
.quick-actions a:nth-child(4) { background: var(--card); color: var(--warning); }

.ai-agent {
  position: fixed;
  bottom: 2rem;
  left: 2rem;
  width: 56px; height: 56px;
  background: var(--premium-gradient);
  color: white;
  border: none;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  box-shadow: var(--shadow-xl), var(--shadow-glow);
  z-index: 999;
  transition: all var(--transition-bounce);
  display: grid;
  place-items: center;
}
.ai-agent:hover { transform: scale(1.1) rotate(10deg); }

/* ===== TOAST ===== */
#toastRoot {
  position: fixed;
  top: 100px;
  right: 2rem;
  z-index: 10000;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  pointer-events: none;
}
.toast {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1rem 1.5rem;
  box-shadow: var(--shadow-xl);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 300px;
  max-width: 400px;
  pointer-events: all;
  animation: toastIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  overflow: hidden;
}
.toast::before {
  content: '';
  position: absolute;
  left: 0; top: 0;
  width: 4px; height: 100%;
}
.toast.success::before { background: var(--success); }
.toast.error::before { background: var(--danger); }
.toast.warning::before { background: var(--warning); }
.toast.info::before { background: var(--primary); }
.toast-icon { font-size: 1.3rem; flex-shrink: 0; }
.toast-content h4 { font-size: 0.9rem; font-weight: 600; color: var(--heading); margin-bottom: 0.2rem; }
.toast-content p { font-size: 0.85rem; color: var(--muted); }
.toast-close {
  margin-left: auto;
  background: none;
  border: none;
  font-size: 1.2rem;
  color: var(--faint);
  cursor: pointer;
  padding: 0.25rem;
  line-height: 1;
  transition: color var(--transition-fast);
}
.toast-close:hover { color: var(--danger); }
@keyframes toastIn { from { opacity: 0; transform: translateX(30px) scale(0.9); } to { opacity: 1; transform: translateX(0) scale(1); } }

/* ===== MODAL ===== */
.modal {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(11,16,38,0.6);
  backdrop-filter: blur(8px);
  z-index: 10001;
  justify-content: center;
  align-items: center;
  padding: 2rem;
}
.modal.active { display: flex; }
.modal-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  max-width: 450px;
  width: 100%;
  text-align: center;
  box-shadow: var(--shadow-xl);
  animation: modalIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
}
@keyframes modalIn { from { opacity: 0; transform: translateY(30px) scale(0.95); } to { opacity: 1; transform: translateY(0) scale(1); } }
.modal-icon { font-size: 3rem; margin-bottom: 1rem; display: block; }
.modal-card h2 { font-size: 1.4rem; font-weight: 700; color: var(--heading); margin-bottom: 0.75rem; }
.modal-card p { color: var(--muted); margin-bottom: 1.5rem; }
.lang-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.75rem; }
.lang-grid button {
  padding: 0.75rem;
  background: var(--field);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  transition: all var(--transition-fast);
}
.lang-grid button:hover { background: var(--primary); color: white; border-color: var(--primary); transform: translateY(-2px); }

/* ===== PRODUCT MODAL ===== */
.product-modal-card { max-width: 600px; text-align: left; }
.product-modal-card .pm-icon { font-size: 3rem; margin-bottom: 1rem; }
.product-modal-card .pm-title { font-family: 'Playfair Display', serif; font-size: 1.5rem; color: var(--heading); margin-bottom: 0.5rem; }
.product-modal-card .pm-subtitle { color: var(--primary); font-weight: 600; font-size: 0.9rem; margin-bottom: 1rem; }
.product-modal-card .pm-desc { color: var(--text); font-size: 0.95rem; line-height: 1.6; margin-bottom: 1rem; }
.product-modal-card .pm-uses { color: var(--muted); font-size: 0.85rem; margin-bottom: 1rem; padding: 1rem; background: var(--primary-light); border-radius: var(--radius-md); }
.product-modal-card .pm-benefits { color: var(--muted); font-size: 0.85rem; margin-bottom: 1rem; padding: 1rem; background: var(--success-soft); border-radius: var(--radius-md); }
.product-modal-card .pm-price { font-size: 1.5rem; font-weight: 700; color: var(--primary); margin-bottom: 1rem; }
.product-modal-card .pm-price .old-price { text-decoration: line-through; color: var(--faint); font-size: 1rem; margin-right: 0.5rem; }
.product-modal-card .pm-docs { margin-bottom: 1.5rem; }
.product-modal-card .pm-docs a { color: var(--primary); font-weight: 600; text-decoration: none; }
.product-modal-card .pm-docs a:hover { text-decoration: underline; }

/* ===== CAREER MODAL - MODERN 5D GLASSMORPHISM UI ===== */
.career-modal-card {
  max-width: 750px;
  text-align: left;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(30px) saturate(180%);
  -webkit-backdrop-filter: blur(30px) saturate(180%);
  border: 1px solid rgba(255,255,255,0.4);
  box-shadow:
    0 25px 50px -12px rgba(37,99,235,0.25),
    0 0 80px rgba(37,99,235,0.1),
    inset 0 1px 0 rgba(255,255,255,0.6);
  transform-style: preserve-3d;
  perspective: 1000px;
}
.career-modal-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 5px;
  background: var(--premium-gradient);
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}
.career-modal-card h2 {
  text-align: center;
  margin-bottom: 1.5rem;
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  background: var(--premium-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Career Form - Modern 5D UI */
.career-form-5d {
  position: relative;
}
.career-form-5d .form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.career-form-5d label {
  display: block;
  margin-bottom: 0.75rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--heading);
  position: relative;
}
.career-form-5d label input,
.career-form-5d label select,
.career-form-5d label textarea {
  width: 100%;
  margin-top: 0.4rem;
  padding: 0.85rem 1rem;
  border: 2px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--field);
  color: var(--text);
  font-size: 0.9rem;
  font-family: inherit;
  transition: all var(--transition-normal);
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.03);
}
.career-form-5d label input:focus,
.career-form-5d label select:focus,
.career-form-5d label textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow:
    0 0 0 4px var(--primary-soft),
    0 4px 12px rgba(37,99,235,0.15);
  transform: translateY(-2px);
}
.career-form-5d label textarea {
  min-height: 100px;
  resize: vertical;
}
.career-form-5d label.full-width {
  grid-column: 1 / -1;
}

/* File Upload Styling */
.career-form-5d label input[type="file"] {
  padding: 0.5rem;
  cursor: pointer;
}
.career-form-5d label input[type="file"]::file-selector-button {
  padding: 0.5rem 1rem;
  background: var(--primary-light);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  color: var(--primary);
  font-weight: 500;
  cursor: pointer;
  margin-right: 0.75rem;
  transition: all var(--transition-fast);
}
.career-form-5d label input[type="file"]::file-selector-button:hover {
  background: var(--primary);
  color: white;
}

/* Submit Button 5D */
.career-submit-btn {
  width: 100%;
  padding: 1rem;
  background: var(--premium-gradient);
  color: white;
  border: none;
  border-radius: var(--radius-md);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition-slow);
  box-shadow: 0 4px 15px rgba(37,99,235,0.3);
  margin-top: 1rem;
  position: relative;
  overflow: hidden;
}
.career-submit-btn::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s;
}
.career-submit-btn:hover::before { left: 100%; }
.career-submit-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(37,99,235,0.4);
}
.career-submit-btn:active {
  transform: translateY(0);
}

/* Photo Preview - Centered */
.photo-preview {
  width: 250px;
  height: 250px;
  background: var(--field);
  border: 2px dashed var(--line);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 3rem;
  margin: 0.5rem auto 1rem;
  overflow: hidden;
  transition: all var(--transition-normal);
}
.photo-preview:hover {
  border-color: var(--primary);
  box-shadow: 0 0 20px rgba(37,99,235,0.2);
}
.photo-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.photo-preview-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}
.resume-placeholder {
  text-align: center;
  padding: 1.5rem;
  background: var(--field);
  border: 2px dashed var(--line);
  border-radius: var(--radius-md);
  margin-bottom: 1rem;
  transition: all var(--transition-normal);
}
.resume-placeholder:hover {
  border-color: var(--primary);
  background: var(--primary-light);
}
.resume-placeholder b { display: block; color: var(--muted); margin-bottom: 0.25rem; }
.resume-placeholder span { font-size: 0.8rem; color: var(--faint); }
.resume-info {
  text-align: center;
  padding: 1rem;
  background: var(--success-soft);
  border-radius: var(--radius-md);
}
.resume-info b { display: block; color: var(--success); margin-bottom: 0.25rem; }
.resume-info span { display: block; font-size: 0.8rem; color: var(--muted); }

/* ===== SECURITY OVERLAY ===== */
#security-overlay {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(7,17,47,0.97);
  backdrop-filter: blur(20px);
  z-index: 99999;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  text-align: center;
  padding: 2rem;
}
#security-overlay.active { display: flex; }
#security-overlay .lock-icon { font-size: 5rem; margin-bottom: 1.5rem; animation: lockShake 0.6s ease-in-out; }
@keyframes lockShake {
  0%, 100% { transform: translateX(0) rotate(0); }
  20% { transform: translateX(-10px) rotate(-5deg); }
  40% { transform: translateX(10px) rotate(5deg); }
  60% { transform: translateX(-5px) rotate(-3deg); }
  80% { transform: translateX(5px) rotate(3deg); }
}
#security-overlay h2 { font-family: 'Playfair Display', serif; font-size: 2rem; color: var(--danger); margin-bottom: 1rem; }
#security-overlay p { color: var(--faint); max-width: 500px; margin-bottom: 2rem; line-height: 1.7; }
#security-overlay .close-btn {
  padding: 0.9rem 2.5rem;
  background: var(--premium-gradient);
  color: white;
  border: none;
  border-radius: var(--radius-full);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-normal);
  box-shadow: 0 4px 15px rgba(37,99,235,0.3);
}
#security-overlay .close-btn:hover { transform: scale(1.05); box-shadow: 0 8px 25px rgba(37,99,235,0.4); }

/* ===== INSPECT WARNING ===== */
#inspectWarning {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(7,17,47,0.95);
  backdrop-filter: blur(20px);
  z-index: 99998;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  text-align: center;
  padding: 2rem;
}
#inspectWarning.active { display: flex; }
#inspectWarning .lock-icon { font-size: 4rem; margin-bottom: 1rem; }
#inspectWarning h2 { font-family: 'Playfair Display', serif; font-size: 1.8rem; color: var(--danger); margin-bottom: 0.75rem; }
#inspectWarning p { color: var(--faint); max-width: 500px; margin-bottom: 1.5rem; }

/* ===== COOKIE BANNER ===== */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0;
  width: 100%;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(20px);
  border-top: 1px solid var(--line);
  padding: 1.25rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  z-index: 9998;
  transform: translateY(100%);
  transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}
.cookie-banner.show { transform: translateY(0); }
.cookie-banner p { color: var(--muted); font-size: 0.9rem; flex: 1; }
.cookie-banner a { color: var(--primary); font-weight: 600; }
.cookie-btns { display: flex; gap: 0.75rem; flex-shrink: 0; }
.cookie-btns button {
  padding: 0.6rem 1.5rem;
  border-radius: var(--radius-full);
  border: none;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
}
.cookie-btns .accept {
  background: var(--premium-gradient);
  color: white;
  box-shadow: 0 2px 10px rgba(37,99,235,0.3);
}
.cookie-btns .accept:hover { transform: translateY(-2px); box-shadow: 0 4px 15px rgba(37,99,235,0.4); }
.cookie-btns .decline { background: transparent; color: var(--muted); border: 1px solid var(--line); }
.cookie-btns .decline:hover { background: var(--field); color: var(--text); }

/* ===== JS DISABLED WARNING ===== */
.js-warning {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: var(--navy);
  z-index: 100000;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  text-align: center;
  padding: 2rem;
}
.no-js .js-warning { display: flex; }
.js-warning-icon { font-size: 4rem; margin-bottom: 1.5rem; }
.js-warning h2 { font-family: 'Playfair Display', serif; font-size: 1.8rem; color: white; margin-bottom: 1rem; }
.js-warning p { color: var(--faint); max-width: 450px; margin-bottom: 2rem; line-height: 1.7; }
.js-warning-btn {
  padding: 0.9rem 2rem;
  background: var(--premium-gradient);
  color: white;
  border: none;
  border-radius: var(--radius-full);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all var(--transition-normal);
  box-shadow: 0 4px 15px rgba(37,99,235,0.3);
}
.js-warning-btn:hover { transform: scale(1.05); box-shadow: 0 8px 25px rgba(37,99,235,0.4); }

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes scaleIn { from { opacity: 0; transform: scale(0.9); } to { opacity: 1; transform: scale(1); } }
@keyframes slideInRight { from { opacity: 0; transform: translateX(30px); } to { opacity: 1; transform: translateX(0); } }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.5; } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes spin { to { transform: rotate(360deg); } }

.reveal { opacity: 0; transform: translateY(35px); transition: all 0.85s cubic-bezier(0.23, 1, 0.32, 1); }
.reveal.active { opacity: 1; transform: translateY(0); }

.hidden { display: none !important; }

/* ===== STATS COUNTER ===== */
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; max-width: 1000px; margin: 0 auto; }
.stat-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 2rem;
  text-align: center;
  transition: all var(--transition-slow);
}
.stat-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.stat-card .stat-number { font-size: 2.5rem; font-weight: 800; color: var(--primary); line-height: 1; margin-bottom: 0.5rem; }
.stat-card .stat-label { font-size: 0.85rem; color: var(--muted); font-weight: 500; }

/* ===== LOADING ===== */
.loading-box { text-align: center; padding: 3rem; }
.spinner {
  width: 40px; height: 40px;
  border: 3px solid var(--primary-soft);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin: 0 auto 1rem;
}
.empty-state { text-align: center; padding: 3rem; color: var(--muted); font-size: 0.95rem; }
.error-box { text-align: center; padding: 2rem; color: var(--danger); background: var(--danger-soft); border-radius: var(--radius-lg); }
.error-text { color: var(--danger); font-size: 0.9rem; }
.admin-note { background: var(--warning-soft); color: var(--warning); padding: 0.75rem; border-radius: var(--radius-md); font-size: 0.85rem; margin-top: 0.5rem; }

/* ===== CAREER CARDS ===== */
.career-card {
  background: var(--field);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 1rem;
  margin-bottom: 0.75rem;
}
.career-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 0.5rem; }
.career-header h3 { font-size: 0.95rem; font-weight: 700; }
.career-status {
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-full);
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: capitalize;
}

/* ===== REQUEST CARDS ===== */
.request-3d-card { margin-bottom: 1rem; }
.request-chip {
  display: inline-block;
  padding: 0.35rem 0.75rem;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 500;
  margin: 0.25rem;
}
.status-badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
}
.status-badge.submitted { background: var(--info-soft); color: var(--info); }
.status-badge.approved { background: var(--success-soft); color: var(--success); }
.status-badge.rejected { background: var(--danger-soft); color: var(--danger); }
.track-id { font-family: monospace; font-weight: 700; color: var(--primary); }

/* ===== LANGUAGE MODAL ===== */
.lang-modal-box {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  max-width: 450px;
  width: 100%;
  text-align: center;
  box-shadow: var(--shadow-xl);
}
.lang-modal-box h2 { font-family: 'Playfair Display', serif; font-size: 1.5rem; color: var(--heading); margin-bottom: 0.5rem; }
.lang-modal-box > p { color: var(--muted); margin-bottom: 1.5rem; }
.lang-options { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.75rem; }
.lang-btn {
  padding: 1rem;
  background: var(--field);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-fast);
  text-align: center;
}
.lang-btn:hover { background: var(--primary); color: white; border-color: var(--primary); transform: translateY(-2px); }
.lang-flag { font-size: 1.5rem; display: block; margin-bottom: 0.5rem; }
.lang-name { font-size: 0.85rem; font-weight: 600; }

/* ===== PRODUCT ACTIONS ===== */
.product-actions { display: flex; gap: 0.5rem; margin-top: 1rem; }
.product-actions button { flex: 1; }
.btn-explore {
  padding: 0.65rem;
  background: var(--primary-light);
  color: var(--primary);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.8rem;
  cursor: pointer;
  transition: all var(--transition-fast);
}
.btn-explore:hover { background: var(--primary); color: white; }
.btn-whatsapp {
  padding: 0.65rem;
  background: #dcf8c6;
  color: #075e54;
  border: 1px solid #c5e1a5;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.8rem;
  cursor: pointer;
  transition: all var(--transition-fast);
}
.btn-whatsapp:hover { background: #25d366; color: white; }
.btn-inquiry {
  padding: 0.65rem 1rem;
  background: var(--primary-light);
  color: var(--primary);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all var(--transition-fast);
  margin-top: 0.75rem;
}
.btn-inquiry:hover { background: var(--primary); color: white; }

/* ===== SEC MODAL (Security) ===== */
.sec-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(11,16,38,0.7);
  backdrop-filter: blur(8px);
  z-index: 100000;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2rem;
}
.sec-modal-box {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  max-width: 420px;
  width: 100%;
  text-align: center;
  box-shadow: var(--shadow-xl);
  animation: modalIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.sec-modal-icon { font-size: 3.5rem; margin-bottom: 1rem; }
.sec-modal-box h2 { font-size: 1.3rem; font-weight: 700; color: var(--heading); margin-bottom: 0.75rem; }
.sec-modal-box p { color: var(--muted); margin-bottom: 1.5rem; font-size: 0.9rem; }
.sec-modal-btn {
  padding: 0.75rem 2rem;
  background: var(--premium-gradient);
  color: white;
  border: none;
  border-radius: var(--radius-full);
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-normal);
}
.sec-modal-btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }

/* ===== SCHOOL LOGO STYLES ===== */
.school-logo-img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  border-radius: var(--radius-md);
  margin: 0 auto 0.75rem;
  background: white;
  padding: 4px;
  box-shadow: var(--shadow-sm);
}
.school-logo-fallback {
  width: 64px;
  height: 64px;
  background: var(--primary-light);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 1.75rem;
  margin: 0 auto 0.75rem;
}

/* ===== SCHOOL CODE & YEAR ===== */
.school-code {
  font-size: 0.8rem;
  color: var(--primary);
  font-weight: 600;
  font-family: monospace;
  margin-bottom: 0.25rem;
}
.school-year {
  font-size: 0.75rem;
  color: var(--muted);
  margin-bottom: 0.5rem;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1100px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; gap: 3rem; }
  .hero-copy p { margin: 0 auto 2rem; }
  .hero-actions { justify-content: center; }
  .hero-points { justify-content: center; }
  .hero-visual { order: -1; max-width: 500px; margin: 0 auto; }
  .auth-wrap { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .form-grid { grid-template-columns: 1fr; }
  .demo-card { grid-template-columns: 1fr; text-align: center; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .login-type-grid { grid-template-columns: 1fr; }
  .career-form-5d .form-grid { grid-template-columns: 1fr; }
  .avatar { width: 180px; height: 180px; font-size: 3rem; }
  .photo-preview { width: 180px; height: 180px; }
  .profile { flex-direction: column; text-align: center; }
  .verified-badge { margin-left: 0; }
  .role-dashboard .dashboard-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .navbar { padding: 0.75rem 1rem; }
  .nav-links {
    display: none;
    position: absolute;
    top: 70px; left: 0;
    width: 100%;
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 1rem;
    gap: 0.25rem;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-lg);
  }
  .nav-links.active { display: flex; }
  .nav-cta { display: none; }
  .menu-btn { display: block; }
  .hero { padding-top: 6rem; min-height: auto; padding-bottom: 3rem; }
  .hero h1 { font-size: 2rem; }
  .section { padding: 3rem 1rem; }
  .grid { grid-template-columns: 1fr; }
  .compact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; text-align: center; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .quick-actions { bottom: 1rem; right: 1rem; }
  .ai-agent { bottom: 1rem; left: 1rem; }
  .portal-grid { grid-template-columns: 1fr; }
  .cookie-banner { flex-direction: column; text-align: center; padding: 1rem; }
  .cookie-btns { width: 100%; }
  .cookie-btns button { flex: 1; }
  #toastRoot { left: 1rem; right: 1rem; top: auto; bottom: 100px; }
  .toast { min-width: auto; max-width: 100%; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .avatar { width: 150px; height: 150px; font-size: 2.5rem; }
  .photo-preview { width: 150px; height: 150px; }
  .career-modal-card { max-width: 95vw; padding: 1.5rem; }
  .role-dashboard .dashboard-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 1.75rem; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .btn { width: 100%; }
  .price-line strong { font-size: 2.5rem; }
  .lang-grid { grid-template-columns: 1fr; }
  .lang-options { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; }
  .section { padding: 3rem 1rem; }
  .card-3d { padding: 1.5rem; }
  .product-card { padding: 1.5rem; }
  .auth-card { padding: 1.5rem; }
  .portal-card { padding: 1.25rem; }
  .modal-card { padding: 2rem 1.5rem; margin: 1rem; }
  .career-modal-card { max-height: 85vh; padding: 1.25rem; }
  .school-logo-img,
  .school-logo-fallback { width: 48px; height: 48px; }
  .avatar { width: 120px; height: 120px; font-size: 2rem; }
  .photo-preview { width: 120px; height: 120px; }
}

/* ===== LANDSCAPE MOBILE ===== */
@media (max-height: 500px) and (orientation: landscape) {
  .hero { min-height: auto; padding-top: 5rem; padding-bottom: 2rem; }
  .hero h1 { font-size: 1.5rem; }
  .modal-card { max-height: 90vh; overflow-y: auto; }
  .career-modal-card { max-height: 85vh; }
}

/* ===== LARGE SCREENS ===== */
@media (min-width: 1920px) {
  html { font-size: 18px; }
  .section { max-width: 1600px; }
  .hero-inner { max-width: 1600px; }
  .footer-grid { max-width: 1600px; }
}

/* ===== REDUCED MOTION ===== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .particle { animation: none; }
}

/* ===== DARK MODE ===== */
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b1026;
    --card: #111827;
    --text: #f1f5f9;
    --heading: #ffffff;
    --muted: #94a3b8;
    --faint: #64748b;
    --line: #1e3a5f;
    --field: #1a2744;
  }
  body { background: var(--bg); color: var(--text); }
  .navbar { background: rgba(11, 16, 38, 0.85); border-bottom-color: rgba(30, 58, 95, 0.5); }
  .navbar.scrolled { background: rgba(11, 16, 38, 0.95); }
}

/* ===== PRINT ===== */
@media print {
  body { background: white; color: black; -webkit-user-select: text; user-select: text; }
  .bg-animated, .particles, .orb, .navbar, .quick-actions, .ai-agent, .cookie-banner,
  #security-overlay, #toastRoot, .modal, .video-bg { display: none !important; }
  .card-3d, .product-card, .module-card, .customer-card { border: 1px solid #ddd; box-shadow: none; background: white; }
  .hero { background: white; color: black; min-height: auto; padding: 2rem 1rem; }
  .hero h1, .hero p { color: black; }
  .page-section { display: block !important; }
}
