/* ============================================================
   ProductCEO Academy — Global Design System
   Font: Outfit (headings) + DM Sans (body)
   Theme: Deep Cosmos — midnight navy, electric cyan, molten gold
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,400&family=Space+Grotesk:wght@300;400;500;600;700&display=swap');

/* ─── CSS Variables ───────────────────────────────────────── */
:root {
  --midnight:   #050B18;
  --navy:       #0A1628;
  --navy-light: #0F2044;
  --navy-card:  #0D1B36;
  --border:     rgba(0,212,255,0.12);
  --cyan:       #00D4FF;
  --cyan-dim:   rgba(0,212,255,0.15);
  --cyan-glow:  0 0 30px rgba(0,212,255,0.4);
  --gold:       #FFB830;
  --gold-dim:   rgba(255,184,48,0.15);
  --coral:      #FF6B35;
  --violet:     #7C3AED;
  --green:      #10B981;
  --text:       #E8F0FE;
  --text-muted: #7A9CC6;
  --text-dim:   #4A6A9A;
  --white:      #FFFFFF;
  --radius-sm:  8px;
  --radius:     14px;
  --radius-lg:  20px;
  --radius-xl:  28px;
  --font-head:  'Outfit', 'Space Grotesk', sans-serif;
  --font-body:  'DM Sans', 'Space Grotesk', sans-serif;
  --shadow:     0 4px 24px rgba(0,0,0,0.4);
  --shadow-lg:  0 16px 64px rgba(0,0,0,0.6);
  --transition: 0.28s cubic-bezier(0.4,0,0.2,1);
  --nav-h:      72px;
}

/* ─── Reset & Base ────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  background: var(--midnight);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
}
::selection { background: var(--cyan-dim); color: var(--cyan); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--cyan); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--white); }

/* ─── Scrollbar ───────────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--navy); }
::-webkit-scrollbar-thumb { background: var(--navy-light); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--cyan-dim); }

/* ─── Typography ──────────────────────────────────────────── */
h1,h2,h3,h4,h5,h6 { font-family: var(--font-head); line-height: 1.15; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.4rem, 5vw, 4.2rem); font-weight: 700; }
h2 { font-size: clamp(1.8rem, 3.5vw, 3rem); font-weight: 600; }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.9rem); font-weight: 600; }
h4 { font-size: 1.2rem; font-weight: 600; }
p  { color: var(--text-muted); line-height: 1.75; }
.lead { font-size: 1.15rem; color: var(--text); opacity: 0.85; }

/* ─── Layout ──────────────────────────────────────────────── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.container-wide { max-width: 1440px; margin: 0 auto; padding: 0 40px; }
section { padding: 80px 0; }
.section-header { text-align: center; margin-bottom: 56px; }
.section-label {
  display: inline-block; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--cyan); padding: 6px 16px;
  background: var(--cyan-dim); border-radius: 20px; border: 1px solid var(--border);
  margin-bottom: 16px;
}

/* ─── Navigation ──────────────────────────────────────────── */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--nav-h); display: flex; align-items: center;
  background: rgba(5,11,24,0.85); backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}
.navbar.scrolled { background: rgba(5,11,24,0.97); box-shadow: 0 4px 32px rgba(0,0,0,0.5); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.nav-logo { display: flex; align-items: center; gap: 12px; }
.nav-logo-icon {
  width: 40px; height: 40px; border-radius: 10px;
  background: linear-gradient(135deg, var(--cyan), var(--violet));
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; font-weight: 800; color: var(--white);
  font-family: var(--font-head);
}
.nav-logo-text { font-family: var(--font-head); font-size: 1.2rem; font-weight: 700; color: var(--white); }
.nav-logo-text span { color: var(--cyan); }
.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; }
.nav-links a {
  padding: 8px 14px; border-radius: var(--radius-sm); font-size: 0.9rem; font-weight: 500;
  color: var(--text-muted); transition: var(--transition);
}
.nav-links a:hover, .nav-links a.active { color: var(--white); background: var(--navy-light); }
.nav-cta { display: flex; align-items: center; gap: 10px; }
.btn-nav-login {
  padding: 8px 18px; border-radius: var(--radius-sm); font-size: 0.875rem; font-weight: 500;
  border: 1px solid var(--border); color: var(--text); transition: var(--transition);
}
.btn-nav-login:hover { border-color: var(--cyan); color: var(--cyan); }
.btn-nav-signup {
  padding: 8px 20px; border-radius: var(--radius-sm); font-size: 0.875rem; font-weight: 600;
  background: linear-gradient(135deg, var(--cyan), #0099CC); color: var(--midnight);
  transition: var(--transition);
}
.btn-nav-signup:hover { transform: translateY(-1px); box-shadow: var(--cyan-glow); }
.nav-hamburger {
  display: none; flex-direction: column; gap: 5px; cursor: pointer;
  padding: 8px; border-radius: var(--radius-sm);
}
.nav-hamburger span { display: block; width: 22px; height: 2px; background: var(--text); transition: var(--transition); border-radius: 2px; }
.nav-mobile {
  display: none; position: fixed; top: var(--nav-h); left: 0; right: 0; bottom: 0;
  background: var(--midnight); z-index: 999; padding: 24px;
  flex-direction: column; gap: 8px; overflow-y: auto;
}
.nav-mobile.open { display: flex; }
.nav-mobile a { padding: 14px 16px; border-radius: var(--radius); font-size: 1rem; color: var(--text); display: block; border: 1px solid var(--border); }
.nav-mobile a:hover { background: var(--navy-card); color: var(--cyan); }

/* ─── Buttons ─────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 12px 28px;
  border-radius: var(--radius); font-family: var(--font-body); font-size: 0.95rem;
  font-weight: 600; cursor: pointer; border: none; transition: var(--transition);
  text-decoration: none; white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--cyan) 0%, #0099CC 100%);
  color: var(--midnight);
  box-shadow: 0 4px 20px rgba(0,212,255,0.3);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(0,212,255,0.5); color: var(--midnight); }
.btn-gold {
  background: linear-gradient(135deg, var(--gold) 0%, #E5960A 100%);
  color: var(--midnight); box-shadow: 0 4px 20px rgba(255,184,48,0.3);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(255,184,48,0.5); color: var(--midnight); }
.btn-outline {
  background: transparent; color: var(--cyan);
  border: 1.5px solid var(--cyan);
}
.btn-outline:hover { background: var(--cyan-dim); color: var(--cyan); transform: translateY(-2px); }
.btn-ghost {
  background: var(--navy-light); color: var(--text);
  border: 1px solid var(--border);
}
.btn-ghost:hover { background: var(--navy-card); border-color: var(--cyan); color: var(--cyan); }
.btn-sm { padding: 8px 18px; font-size: 0.85rem; }
.btn-lg { padding: 16px 36px; font-size: 1.05rem; }
.btn-icon { padding: 10px; }
.btn-full { width: 100%; justify-content: center; }
.btn-danger { background: rgba(239,68,68,0.15); color: #EF4444; border: 1px solid rgba(239,68,68,0.3); }
.btn-danger:hover { background: rgba(239,68,68,0.25); }

/* ─── Cards ───────────────────────────────────────────────── */
.card {
  background: var(--navy-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); overflow: hidden; transition: var(--transition);
}
.card:hover { border-color: rgba(0,212,255,0.25); transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card-body { padding: 24px; }
.card-glass {
  background: rgba(13,27,54,0.7); backdrop-filter: blur(16px);
  border: 1px solid var(--border); border-radius: var(--radius-lg);
}

/* ─── Course Card ─────────────────────────────────────────── */
.course-card { background: var(--navy-card); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; transition: var(--transition); }
.course-card:hover { border-color: rgba(0,212,255,0.3); transform: translateY(-6px); box-shadow: 0 20px 60px rgba(0,0,0,0.5); }
.course-thumb { position: relative; padding-top: 56.25%; overflow: hidden; }
.course-thumb img { position: absolute; top:0;left:0;width:100%;height:100%; object-fit: cover; transition: transform 0.5s ease; }
.course-card:hover .course-thumb img { transform: scale(1.05); }
.course-badge {
  position: absolute; top: 12px; left: 12px; padding: 4px 10px;
  border-radius: 20px; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.05em;
  text-transform: uppercase;
}
.badge-free { background: rgba(16,185,129,0.9); color: #fff; }
.badge-paid { background: rgba(255,184,48,0.9); color: var(--midnight); }
.badge-featured { background: linear-gradient(135deg,var(--violet),var(--cyan)); color: #fff; }
.course-meta { padding: 18px 18px 20px; }
.course-cat { font-size: 0.75rem; font-weight: 600; color: var(--cyan); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 8px; }
.course-title { font-size: 1rem; font-weight: 600; color: var(--white); line-height: 1.4; margin-bottom: 10px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.course-coach { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.coach-avatar-sm { width: 24px; height: 24px; border-radius: 50%; object-fit: cover; }
.coach-name-sm { font-size: 0.8rem; color: var(--text-muted); }
.course-stats { display: flex; gap: 14px; }
.stat-item { display: flex; align-items: center; gap: 5px; font-size: 0.78rem; color: var(--text-dim); }
.stat-item i { font-size: 0.72rem; color: var(--cyan); }
.course-footer { padding: 14px 18px; border-top: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; }
.price-free { font-size: 1rem; font-weight: 700; color: var(--green); }
.price-paid { font-size: 1rem; font-weight: 700; color: var(--gold); }
.stars { color: var(--gold); font-size: 0.8rem; display: flex; align-items: center; gap: 3px; }
.stars span { color: var(--text-muted); font-size: 0.75rem; margin-left: 4px; }

/* ─── Forms ───────────────────────────────────────────────── */
.form-group { margin-bottom: 20px; }
.form-label { display: block; font-size: 0.875rem; font-weight: 500; color: var(--text); margin-bottom: 8px; }
.form-label span { color: var(--coral); }
.form-control {
  width: 100%; padding: 12px 16px; border-radius: var(--radius); font-family: var(--font-body);
  font-size: 0.95rem; color: var(--text); background: var(--navy-light);
  border: 1.5px solid var(--border); transition: var(--transition); outline: none;
}
.form-control:focus { border-color: var(--cyan); background: rgba(0,212,255,0.05); box-shadow: 0 0 0 3px rgba(0,212,255,0.1); }
.form-control::placeholder { color: var(--text-dim); }
textarea.form-control { resize: vertical; min-height: 120px; }
select.form-control { cursor: pointer; }
.form-hint { font-size: 0.8rem; color: var(--text-dim); margin-top: 6px; }
.form-error { font-size: 0.8rem; color: #EF4444; margin-top: 6px; }
.input-icon { position: relative; }
.input-icon i { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--text-dim); }
.input-icon .form-control { padding-left: 42px; }

/* ─── Alerts ──────────────────────────────────────────────── */
.alert { padding: 14px 18px; border-radius: var(--radius); margin-bottom: 16px; font-size: 0.9rem; display: flex; align-items: flex-start; gap: 10px; }
.alert-success { background: rgba(16,185,129,0.12); border: 1px solid rgba(16,185,129,0.3); color: #10B981; }
.alert-error   { background: rgba(239,68,68,0.12);  border: 1px solid rgba(239,68,68,0.3);  color: #EF4444; }
.alert-info    { background: var(--cyan-dim);        border: 1px solid var(--border);        color: var(--cyan); }
.alert-warn    { background: var(--gold-dim);        border: 1px solid rgba(255,184,48,0.3); color: var(--gold); }

/* ─── Badges & Tags ───────────────────────────────────────── */
.badge { display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px; border-radius: 20px; font-size: 0.75rem; font-weight: 600; }
.badge-cyan   { background: var(--cyan-dim);  color: var(--cyan);  border: 1px solid var(--border); }
.badge-gold   { background: var(--gold-dim);  color: var(--gold);  border: 1px solid rgba(255,184,48,0.2); }
.badge-green  { background: rgba(16,185,129,0.12); color: #10B981; border: 1px solid rgba(16,185,129,0.2); }
.badge-violet { background: rgba(124,58,237,0.15); color: #A78BFA; border: 1px solid rgba(124,58,237,0.2); }

/* ─── Avatar ──────────────────────────────────────────────── */
.avatar { border-radius: 50%; object-fit: cover; }
.avatar-sm  { width: 32px;  height: 32px; }
.avatar-md  { width: 48px;  height: 48px; }
.avatar-lg  { width: 72px;  height: 72px; }
.avatar-xl  { width: 96px;  height: 96px; }
.avatar-placeholder {
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--violet), var(--cyan));
  color: white; font-weight: 700; font-family: var(--font-head);
}

/* ─── Gradient Accents ────────────────────────────────────── */
.gradient-text { background: linear-gradient(135deg, var(--cyan) 0%, var(--violet) 50%, var(--gold) 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.gradient-cyan-violet { background: linear-gradient(135deg, var(--cyan), var(--violet)); }
.gradient-gold-coral  { background: linear-gradient(135deg, var(--gold), var(--coral)); }

/* ─── Divider ─────────────────────────────────────────────── */
.divider { height: 1px; background: var(--border); margin: 32px 0; }

/* ─── Progress Bar ────────────────────────────────────────── */
.progress-wrap { height: 6px; background: var(--navy-light); border-radius: 3px; overflow: hidden; }
.progress-bar  { height: 100%; background: linear-gradient(90deg, var(--cyan), var(--violet)); border-radius: 3px; transition: width 0.6s ease; }

/* ─── Star Rating ─────────────────────────────────────────── */
.rating-stars i { color: var(--gold); font-size: 0.85rem; }
.rating-stars i.empty { color: var(--navy-light); }

/* ─── Page Hero ───────────────────────────────────────────── */
.page-hero {
  padding: calc(var(--nav-h) + 60px) 0 80px;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(0,212,255,0.08) 0%, transparent 70%);
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute; inset: 0;
  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='%2300D4FF' 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");
  pointer-events: none;
}

/* ─── Floating orbs background ───────────────────────────── */
.orbs { position: absolute; inset: 0; pointer-events: none; overflow: hidden; z-index: 0; }
.orb {
  position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0.12;
  animation: orb-float 12s ease-in-out infinite alternate;
}
.orb-1 { width: 500px; height: 500px; background: var(--cyan);   top: -100px; left: -100px; animation-delay: 0s; }
.orb-2 { width: 400px; height: 400px; background: var(--violet); top: 50%;    right: -80px; animation-delay: 3s; }
.orb-3 { width: 300px; height: 300px; background: var(--gold);   bottom: -60px; left: 40%; animation-delay: 6s; }

@keyframes orb-float {
  0%   { transform: translate(0, 0) scale(1); }
  100% { transform: translate(30px, -40px) scale(1.08); }
}

/* ─── Grid layouts ────────────────────────────────────────── */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.grid-auto { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; }

/* ─── Stats ───────────────────────────────────────────────── */
.stat-card {
  padding: 28px 24px; background: var(--navy-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); text-align: center; transition: var(--transition);
}
.stat-card:hover { border-color: var(--cyan); transform: translateY(-4px); }
.stat-number { font-family: var(--font-head); font-size: 2.4rem; font-weight: 700; color: var(--white); }
.stat-number span { color: var(--cyan); }
.stat-label { font-size: 0.85rem; color: var(--text-muted); margin-top: 6px; }

/* ─── Testimonial ─────────────────────────────────────────── */
.testimonial-card {
  padding: 28px; background: var(--navy-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); position: relative;
}
.testimonial-card::before {
  content: '"'; position: absolute; top: 16px; right: 20px;
  font-size: 5rem; font-family: serif; color: var(--cyan); opacity: 0.15; line-height: 1;
}
.testimonial-quote { font-size: 0.95rem; color: var(--text); line-height: 1.7; margin-bottom: 20px; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-info .name { font-weight: 600; color: var(--white); font-size: 0.9rem; }
.testimonial-info .role { font-size: 0.8rem; color: var(--text-muted); }

/* ─── Dashboard Sidebar ───────────────────────────────────── */
.dashboard-layout { display: flex; min-height: calc(100vh - var(--nav-h)); padding-top: var(--nav-h); }
.sidebar {
  width: 260px; flex-shrink: 0; background: var(--navy); border-right: 1px solid var(--border);
  padding: 24px 0; position: sticky; top: var(--nav-h); height: calc(100vh - var(--nav-h));
  overflow-y: auto; transition: var(--transition);
}
.sidebar-label { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; color: var(--text-dim); padding: 16px 20px 8px; }
.sidebar-link {
  display: flex; align-items: center; gap: 12px; padding: 11px 20px;
  color: var(--text-muted); font-size: 0.9rem; font-weight: 500; transition: var(--transition);
  border-left: 3px solid transparent; margin: 1px 0;
}
.sidebar-link i { width: 18px; text-align: center; }
.sidebar-link:hover { color: var(--white); background: var(--navy-light); border-left-color: var(--cyan); }
.sidebar-link.active { color: var(--cyan); background: var(--cyan-dim); border-left-color: var(--cyan); }
.dashboard-main { flex: 1; padding: 32px; overflow-y: auto; }
.dash-title { font-size: 1.6rem; font-weight: 700; color: var(--white); margin-bottom: 8px; }
.dash-subtitle { color: var(--text-muted); font-size: 0.9rem; }

/* ─── Table ───────────────────────────────────────────────── */
.table-wrap { overflow-x: auto; border-radius: var(--radius-lg); border: 1px solid var(--border); }
table { width: 100%; border-collapse: collapse; }
thead th { padding: 14px 18px; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-dim); background: var(--navy); border-bottom: 1px solid var(--border); white-space: nowrap; }
tbody td { padding: 14px 18px; font-size: 0.88rem; color: var(--text); border-bottom: 1px solid var(--border); }
tbody tr:last-child td { border-bottom: none; }
tbody tr:hover { background: var(--navy-light); }

/* ─── Modal ───────────────────────────────────────────────── */
.modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.75); backdrop-filter: blur(6px); z-index: 2000; display: flex; align-items: center; justify-content: center; padding: 20px; opacity: 0; pointer-events: none; transition: var(--transition); }
.modal-overlay.open { opacity: 1; pointer-events: all; }
.modal { background: var(--navy-card); border: 1px solid var(--border); border-radius: var(--radius-xl); max-width: 560px; width: 100%; max-height: 90vh; overflow-y: auto; transform: scale(0.95); transition: var(--transition); }
.modal-overlay.open .modal { transform: scale(1); }
.modal-header { padding: 24px 28px; border-bottom: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; }
.modal-title { font-size: 1.2rem; font-weight: 700; color: var(--white); }
.modal-close { width: 32px; height: 32px; border-radius: 8px; background: var(--navy-light); border: none; cursor: pointer; color: var(--text-muted); display: flex; align-items: center; justify-content: center; transition: var(--transition); }
.modal-close:hover { background: var(--border); color: var(--white); }
.modal-body { padding: 28px; }
.modal-footer { padding: 20px 28px; border-top: 1px solid var(--border); display: flex; gap: 12px; justify-content: flex-end; }

/* ─── Video Player ────────────────────────────────────────── */
.video-player-wrap { position: relative; padding-top: 56.25%; background: #000; border-radius: var(--radius); overflow: hidden; }
.video-player-wrap iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: none; }

/* ─── Bookmark Button ─────────────────────────────────────── */
.btn-bookmark { padding: 8px 16px; border-radius: var(--radius-sm); font-size: 0.85rem; font-weight: 600; cursor: pointer; border: 1.5px solid var(--border); background: transparent; color: var(--text-muted); transition: var(--transition); display: inline-flex; align-items: center; gap: 7px; }
.btn-bookmark:hover, .btn-bookmark.bookmarked { border-color: var(--gold); color: var(--gold); background: var(--gold-dim); }
.btn-bookmark.bookmarked i { color: var(--gold); }

/* ─── Toast Notification ──────────────────────────────────── */
.toast-container { position: fixed; bottom: 24px; right: 24px; z-index: 9999; display: flex; flex-direction: column; gap: 10px; }
.toast {
  padding: 14px 20px; border-radius: var(--radius); min-width: 280px; max-width: 380px;
  display: flex; align-items: center; gap: 12px; font-size: 0.9rem; font-weight: 500;
  backdrop-filter: blur(16px); animation: toast-in 0.3s ease;
  box-shadow: var(--shadow-lg);
}
.toast-success { background: rgba(16,185,129,0.9); color: #fff; }
.toast-error   { background: rgba(239,68,68,0.9);  color: #fff; }
.toast-info    { background: rgba(0,212,255,0.9);   color: var(--midnight); }

@keyframes toast-in { from { opacity:0; transform: translateX(100%); } to { opacity:1; transform: translateX(0); } }

/* ─── Footer ──────────────────────────────────────────────── */
.footer { background: var(--navy); border-top: 1px solid var(--border); padding: 64px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-brand .logo-text { font-family: var(--font-head); font-size: 1.4rem; font-weight: 700; color: var(--white); margin-bottom: 12px; }
.footer-brand .logo-text span { color: var(--cyan); }
.footer-brand p { font-size: 0.88rem; color: var(--text-muted); line-height: 1.7; max-width: 280px; }
.footer-social { display: flex; gap: 10px; margin-top: 20px; }
.social-btn { width: 36px; height: 36px; border-radius: 8px; background: var(--navy-light); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; color: var(--text-muted); font-size: 0.85rem; transition: var(--transition); }
.social-btn:hover { background: var(--cyan-dim); color: var(--cyan); border-color: var(--cyan); }
.footer-col h5 { font-size: 0.85rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text); margin-bottom: 16px; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: 0.875rem; color: var(--text-muted); transition: var(--transition); }
.footer-links a:hover { color: var(--cyan); padding-left: 4px; }
.footer-bottom { padding-top: 32px; border-top: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; }
.footer-bottom p { font-size: 0.8rem; color: var(--text-dim); }

/* ─── Misc Utilities ──────────────────────────────────────── */
.text-center  { text-align: center; }
.text-right   { text-align: right; }
.text-cyan    { color: var(--cyan) !important; }
.text-gold    { color: var(--gold) !important; }
.text-muted   { color: var(--text-muted) !important; }
.text-white   { color: var(--white) !important; }
.text-green   { color: var(--green) !important; }
.text-red     { color: #EF4444 !important; }
.fw-bold      { font-weight: 700; }
.fw-600       { font-weight: 600; }
.mt-1  { margin-top:  8px; } .mt-2 { margin-top: 16px; } .mt-3 { margin-top: 24px; }
.mb-1  { margin-bottom: 8px; } .mb-2 { margin-bottom: 16px; } .mb-3 { margin-bottom: 24px; }
.mb-4  { margin-bottom: 32px; } .mb-5 { margin-bottom: 48px; }
.gap-8  { gap: 8px; }  .gap-12 { gap: 12px; } .gap-16 { gap: 16px; } .gap-24 { gap: 24px; }
.flex   { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between{ display: flex; align-items: center; justify-content: space-between; }
.flex-wrap   { flex-wrap: wrap; }
.items-center{ align-items: center; }
.d-none { display: none !important; }
.rounded { border-radius: var(--radius); }
.w-100  { width: 100%; }
.py-80  { padding: 80px 0; }
.py-40  { padding: 40px 0; }

/* ─── Loading Spinner ─────────────────────────────────────── */
.spinner { width: 36px; height: 36px; border: 3px solid var(--border); border-top-color: var(--cyan); border-radius: 50%; animation: spin 0.8s linear infinite; }
.spinner-sm { width: 20px; height: 20px; border-width: 2px; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ─── Skeleton Loading ────────────────────────────────────── */
.skeleton { background: linear-gradient(90deg, var(--navy-card) 25%, var(--navy-light) 50%, var(--navy-card) 75%); background-size: 200% 100%; animation: shimmer 1.5s infinite; border-radius: var(--radius-sm); }
@keyframes shimmer { 0% {background-position:200% 0} 100% {background-position:-200% 0} }

/* ─── Responsive ──────────────────────────────────────────── */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .container-wide { padding: 0 24px; }
}
@media (max-width: 768px) {
  section { padding: 56px 0; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .nav-links, .nav-cta { display: none; }
  .nav-hamburger { display: flex; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .sidebar { width: 100%; position: relative; height: auto; }
  .dashboard-layout { flex-direction: column; }
  .dashboard-main { padding: 20px 16px; }
  .modal { margin: 12px; max-width: 100%; }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.6rem; }
}
@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .btn-lg { padding: 14px 24px; font-size: 0.95rem; }
  section { padding: 40px 0; }
}

/* ─── Print ───────────────────────────────────────────────── */
@media print {
  .navbar, .sidebar, .footer { display: none; }
  body { background: #fff; color: #000; }
}