/* ═══════════════════════════════════════════════════════
   BecomingYou — Global CSS
   Theme: Light Premium | Coral + Gold
═══════════════════════════════════════════════════════ */

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

:root {
  --bg:           #FFFFFF;
  --surface:      #FFFFFF;
  --surface2:     #F8FAFC;
  --border:       #E2E8F0;
  --border2:      #CBD5E1;
  --primary:      #1A1A2E; /* Deep Indigo */
  --primary-lt:   #2A2A4A;
  --primary-glow: rgba(26, 26, 46, 0.08);
  --gold:         #8E4585; /* Plum Purple */
  --gold-lt:      #A85A9D;
  --text:         #1A1A2E;
  --text-muted:   #475569;
  --text-faint:   #94A3B8;
  --success:      #10b981;
  --danger:       #ef4444;
  --warning:      #8E4585;
  --info:         #18a0fb;
  --radius:       6px;
  --radius-lg:    12px;
  --shadow:       0 2px 12px rgba(11, 32, 59, 0.05);
  --shadow-lg:    0 8px 24px rgba(11, 32, 59, 0.08);
  --trans:        .25s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Inter', sans-serif;
  color: var(--text);
}

a { color: var(--primary); text-decoration: none; transition: color var(--trans); }
a:hover { color: var(--primary-lt); }
img { max-width: 100%; display: block; }
input, textarea, select, button { font-family: 'Inter', sans-serif; }

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--border2); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--primary); }

/* ══════════════════════════════════
   NAVBAR (EXACT MATCH)
══════════════════════════════════ */
.navbar {
  position: sticky; top: 0; z-index: 100;
  background: #8E4585; /* Plum Purple */
  border-bottom: none;
  box-shadow: 0 4px 12px rgba(26, 26, 46, 0.04);
  padding: 0 4rem;
  height: 80px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 2rem;
  transition: all var(--trans);
}
.navbar-brand {
  font-family: 'PT Serif', serif;
  font-size: 1.6rem; font-weight: 700;
  color: #FFFFFF;
  white-space: nowrap;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.navbar-brand-icon {
  width: 24px; height: 24px;
  background: var(--primary);
  border-radius: 50%;
  position: relative;
  overflow: hidden;
}
.navbar-brand-icon::after {
  content: ''; position: absolute;
  top: 4px; left: 4px; right: 4px; bottom: 4px;
  background: var(--gold); border-radius: 50%;
}
.navbar-menu {
  display: flex;
  align-items: center;
  flex: 1;
  justify-content: space-between;
  gap: 2rem;
}
.navbar-overlay {
  display: none;
}
.navbar-nav {
  display: flex; align-items: center; gap: 1.5rem;
  list-style: none;
  flex: 1;
  justify-content: center;
  margin: 0;
}
.navbar-nav a {
  color: #FFFFFF;
  font-size: 0.95rem; font-weight: 600;
  transition: all 0.3s ease;
  text-decoration: none;
  white-space: nowrap;
}
.navbar-nav a:hover {
  color: #1A1A2E; /* Deep Indigo */
}
.navbar-actions { display: flex; align-items: center; gap: 1rem; }
.navbar-actions a.sign-in {
  color: var(--gold); font-size: 0.85rem; font-weight: 700;
  text-decoration: none;
}

.mobile-menu-btn {
  display: none;
  font-size: 1.8rem;
  cursor: pointer;
  color: #FFFFFF;
}

@media (max-width: 900px) {
  .mobile-menu-btn {
    display: block;
    z-index: 10001;
  }
  .navbar {
    padding: 1rem 1.5rem;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .navbar-overlay {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(26, 26, 46, 0.45);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 9998;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
  }
  .navbar.nav-open .navbar-overlay {
    opacity: 1;
    pointer-events: auto;
  }
  .navbar-menu {
    position: fixed;
    top: 0;
    left: -320px;
    width: 280px;
    height: 100vh;
    background: #4a1942; /* Deep Plum theme brand background */
    z-index: 9999;
    transition: left 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    padding: 5rem 1.5rem 3rem;
    gap: 2rem;
    align-items: flex-start;
    justify-content: flex-start;
    box-shadow: 4px 0 24px rgba(0,0,0,0.25);
  }
  .navbar.nav-open .navbar-menu {
    left: 0;
  }
  .navbar-nav {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.25rem;
    width: 100%;
    margin: 0;
    flex: none;
  }
  .navbar-nav li {
    width: 100%;
    list-style: none;
  }
  .navbar-nav a {
    font-size: 1.15rem;
    font-weight: 600;
    color: #FFFFFF;
    display: block;
    padding: 0.75rem 0.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  }
  .navbar-nav a:hover {
    color: var(--gold, #D4AF37);
    padding-left: 0.5rem;
    background: rgba(255, 255, 255, 0.03);
  }
  .navbar-actions {
    display: flex;
    flex-direction: column;
    width: 100%;
    margin-top: auto;
    gap: 1rem;
  }
  .navbar-actions .btn {
    width: 100%;
    text-align: center;
    padding: 0.85rem;
    justify-content: center;
    border-radius: 8px;
    border: 2px solid #FFFFFF !important;
    color: #FFFFFF !important;
  }
}

/* ══════════════════════════════════
   BUTTONS
══════════════════════════════════ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .65rem 1.35rem;
  border-radius: 4px; border: none; cursor: pointer;
  font-size: .875rem; font-weight: 600;
  transition: all var(--trans); text-decoration: none;
  white-space: nowrap; line-height: 1;
}
.btn-primary {
  background: var(--primary);
  color: #fff;
}
.btn-primary:hover {
  box-shadow: 0 4px 32px var(--primary-glow);
  color: #fff;
}
.btn-gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-lt));
  color: #000;
}
.btn-gold:hover { transform: translateY(-2px); filter: brightness(1.1); color: #000; }
.btn-outline {
  background: transparent;
  border: 1px solid var(--border2);
  color: var(--text-muted);
}
.btn-outline:hover { border-color: var(--primary-lt); color: var(--primary-lt); background: var(--primary-glow); }
.btn-ghost { background: var(--surface2); color: var(--text-muted); }
.btn-ghost:hover { color: var(--text); background: var(--border2); }
.btn-danger { background: var(--danger); color: #fff; }
.btn-danger:hover { background: #dc2626; transform: translateY(-1px); color: #fff; }
.btn-success { background: var(--success); color: #fff; }
.btn-sm { padding: .4rem 1rem; font-size: .8125rem; }
.btn-lg { padding: .85rem 2rem; font-size: 1rem; }
.btn-block { width: 100%; }
.btn:disabled { opacity: .5; cursor: not-allowed; transform: none !important; }

/* ══════════════════════════════════
   CARDS
══════════════════════════════════ */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color var(--trans), transform var(--trans), box-shadow var(--trans);
}
.card:hover { border-color: var(--border2); }
.card-hover:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}
.card-body { padding: 1.5rem; }
.card-header {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem;
}
.card-footer {
  padding: 1rem 1.5rem;
  border-top: 1px solid var(--border);
  background: var(--surface2);
}
.card-img {
  width: 100%; aspect-ratio: 16/9; object-fit: cover;
  background: var(--surface2);
}
.card-img-placeholder {
  width: 100%; aspect-ratio: 16/9;
  background: linear-gradient(135deg, var(--surface2), var(--border));
  display: flex; align-items: center; justify-content: center;
  font-size: 3rem; color: var(--text-faint);
}

/* ══════════════════════════════════
   GRID
══════════════════════════════════ */
.container { max-width: 1280px; margin: 0 auto; padding: 0 1.5rem; }
.container-sm { max-width: 640px; margin: 0 auto; padding: 0 1.5rem; }
.container-md { max-width: 900px; margin: 0 auto; padding: 0 1.5rem; }
.grid { display: grid; gap: 1.5rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-auto { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.grid-auto-lg { grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); }

/* ══════════════════════════════════
   FORMS
══════════════════════════════════ */
.form-group { margin-bottom: 1.25rem; }
.form-label {
  display: block; margin-bottom: .5rem;
  font-size: .875rem; font-weight: 600; color: var(--text-muted);
  text-transform: uppercase; letter-spacing: .05em;
}
.form-control {
  width: 100%; padding: .75rem 1rem;
  background: var(--surface2); border: 1px solid var(--border2);
  border-radius: var(--radius); color: var(--text);
  font-size: .9375rem; transition: border-color var(--trans), box-shadow var(--trans);
}
.form-control:focus {
  outline: none; border-color: var(--primary-lt);
  box-shadow: 0 0 0 3px var(--primary-glow);
}
.form-control::placeholder { color: var(--text-faint); }
textarea.form-control { resize: vertical; min-height: 120px; }
.form-hint { margin-top: .35rem; font-size: .8125rem; color: var(--text-faint); }
.form-error { margin-top: .35rem; font-size: .8125rem; color: var(--danger); }

/* ══════════════════════════════════
   ALERTS / FLASH
══════════════════════════════════ */
.alert {
  padding: .85rem 1.25rem;
  border-radius: var(--radius);
  font-size: .9rem; font-weight: 500;
  margin-bottom: 1rem;
  display: flex; align-items: flex-start; gap: .75rem;
  animation: slideDown .3s ease;
}
@keyframes slideDown { from { opacity:0; transform:translateY(-8px);} to { opacity:1; transform:translateY(0);} }
.alert-success { background: rgba(16,185,129,.15); border: 1px solid rgba(16,185,129,.3); color: #6ee7b7; }
.alert-error   { background: rgba(239,68,68,.15);  border: 1px solid rgba(239,68,68,.3);  color: #fca5a5; }
.alert-info    { background: rgba(59,130,246,.15); border: 1px solid rgba(59,130,246,.3); color: #93c5fd; }
.alert-warning { background: rgba(245,158,11,.15); border: 1px solid rgba(245,158,11,.3); color: #fcd34d; }

/* ══════════════════════════════════
   BADGES
══════════════════════════════════ */
.badge {
  display: inline-block; padding: .2rem .65rem;
  border-radius: 100px; font-size: .75rem; font-weight: 700;
  letter-spacing: .03em; text-transform: uppercase;
}
.badge-primary  { background: var(--primary-glow); color: var(--primary-lt); border: 1px solid var(--primary); }
.badge-gold     { background: rgba(245,158,11,.15); color: var(--gold-lt); border: 1px solid var(--gold); }
.badge-success  { background: rgba(16,185,129,.15); color: #6ee7b7; border: 1px solid rgba(16,185,129,.4); }
.badge-danger   { background: rgba(239,68,68,.15);  color: #fca5a5; border: 1px solid rgba(239,68,68,.4); }
.badge-muted    { background: var(--surface2); color: var(--text-muted); border: 1px solid var(--border2); }

/* ══════════════════════════════════
   TABLE
══════════════════════════════════ */
.table-wrap { overflow-x: auto; }
.table {
  width: 100%; border-collapse: collapse; font-size: .875rem;
}
.table th {
  padding: .85rem 1rem; text-align: left;
  font-size: .75rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .05em; color: var(--text-faint);
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}
.table td {
  padding: 1rem; border-bottom: 1px solid var(--border);
  color: var(--text-muted); vertical-align: middle;
}
.table tr:last-child td { border-bottom: none; }
.table tr:hover td { background: var(--surface2); color: var(--text); }

/* ══════════════════════════════════
   STAT CARDS
══════════════════════════════════ */
.stat-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 1.5rem;
  display: flex; align-items: center; gap: 1.25rem;
  transition: border-color var(--trans), transform var(--trans);
}
.stat-card:hover { border-color: var(--primary); transform: translateY(-2px); }
.stat-icon {
  width: 56px; height: 56px; border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; flex-shrink: 0;
}
.stat-icon.purple { background: var(--primary-glow); color: var(--primary-lt); }
.stat-icon.gold   { background: rgba(245,158,11,.15); color: var(--gold-lt); }
.stat-icon.green  { background: rgba(16,185,129,.15); color: #6ee7b7; }
.stat-icon.blue   { background: rgba(59,130,246,.15); color: #93c5fd; }
.stat-value { font-size: 1.875rem; font-weight: 800; line-height: 1; }
.stat-label { font-size: .8125rem; color: var(--text-muted); margin-top: .25rem; }

/* ══════════════════════════════════
   PAGE HEADER
══════════════════════════════════ */
.page-header {
  padding: 3rem 0 2rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 2.5rem;
}
.page-title {
  font-size: 2rem; font-weight: 800;
  background: linear-gradient(135deg, var(--text), var(--text-muted));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.page-subtitle { color: var(--text-muted); margin-top: .5rem; }

/* ══════════════════════════════════
   SECTION
══════════════════════════════════ */
.section { padding: 4rem 0; }
.section-sm { padding: 2rem 0; }
.section-title {
  font-size: 1.75rem; font-weight: 800; margin-bottom: .5rem;
}
.section-sub { color: var(--text-muted); margin-bottom: 2.5rem; }

/* ══════════════════════════════════
   HERO
══════════════════════════════════ */
.hero {
  min-height: 85vh;
  display: flex; align-items: center; justify-content: center;
  background: radial-gradient(ellipse 70% 60% at 50% -10%, rgba(124,58,237,.28), transparent),
              radial-gradient(ellipse 50% 40% at 50% 60%, rgba(245,158,11,.12), transparent),
              var(--bg);
  position: relative; overflow: hidden;
  padding: 5rem 0;
}
.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='%23ffffff' fill-opacity='0.02'%3E%3Ccircle cx='30' cy='30' r='1'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}
.hero-content {
  position: relative; z-index: 1;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero-tag {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .45rem 1.15rem; border-radius: 100px;
  background: rgba(124,58,237,.15); border: 1px solid rgba(124,58,237,.35);
  font-size: .8125rem; font-weight: 600; color: var(--primary-lt);
  margin-bottom: 1.75rem;
  animation: fadeInUp 0.8s ease forwards;
}
.hero-title {
  font-family: 'Kugile', 'Playfair Display', serif;
  font-size: clamp(2.8rem, 6.5vw, 4.8rem);
  font-weight: 700; line-height: 1.15; margin-bottom: 1.5rem;
  animation: fadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.hero-title span {
  background: linear-gradient(135deg, var(--primary-lt), var(--gold));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-desc {
  font-size: 1.15rem; color: var(--text-muted); margin-bottom: 2.75rem; max-width: 620px;
  line-height: 1.7;
  animation: fadeInUp 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.hero-actions {
  display: flex; gap: 1.25rem; flex-wrap: wrap; justify-content: center;
  animation: fadeInUp 1.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.hero-stats {
  display: flex; gap: 3.5rem; margin-top: 4.5rem; flex-wrap: wrap; justify-content: center;
  animation: fadeInUp 1.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  border-top: 1px solid var(--border);
  padding-top: 2.5rem;
  width: 100%;
}
.hero-stat-num { font-size: 2.25rem; font-weight: 800; }
.hero-stat-lbl { font-size: .8125rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.05em; margin-top: 0.25rem; }

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ══════════════════════════════════
   PRODUCT / COURSE CARD
══════════════════════════════════ */
.item-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); overflow: hidden;
  transition: all var(--trans);
  display: flex; flex-direction: column;
}
.item-card:hover { border-color: var(--primary); transform: translateY(-4px); box-shadow: 0 8px 40px rgba(124,58,237,.2); }
.item-card-img {
  aspect-ratio: 16/9; object-fit: cover; width: 100%;
  background: linear-gradient(135deg, var(--surface2), var(--border));
}
.item-card-img-placeholder {
  aspect-ratio: 16/9; width: 100%;
  background: linear-gradient(135deg, #1a1a2e, #16213e);
  display: flex; align-items: center; justify-content: center;
  font-size: 3rem;
}
.item-card-body { padding: 1.25rem; flex: 1; display: flex; flex-direction: column; }
.item-card-title { font-size: 1.0625rem; font-weight: 700; margin-bottom: .5rem; color: var(--text); }
.item-card-desc { font-size: .875rem; color: var(--text-muted); flex: 1; margin-bottom: 1rem;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.item-card-price { font-size: 1.25rem; font-weight: 800; color: var(--gold); }
.item-card-footer { padding: 1rem 1.25rem; border-top: 1px solid var(--border); display: flex; gap: .5rem; }

/* ══════════════════════════════════
   CART
══════════════════════════════════ */
.cart-row {
  display: flex; align-items: center; gap: 1rem;
  padding: 1.25rem 0; border-bottom: 1px solid var(--border);
}
.cart-row:last-child { border-bottom: none; }
.cart-img {
  width: 72px; height: 72px; border-radius: var(--radius);
  object-fit: cover; background: var(--surface2); flex-shrink: 0;
}
.cart-info { flex: 1; min-width: 0; }
.cart-name { font-weight: 700; margin-bottom: .25rem; }
.cart-price { font-size: .875rem; color: var(--text-muted); }
.cart-subtotal { font-size: 1.0625rem; font-weight: 700; color: var(--gold); white-space: nowrap; }
.cart-summary { background: var(--surface2); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.5rem; }
.cart-summary-row { display: flex; justify-content: space-between; padding: .6rem 0; font-size: .9375rem; }
.cart-summary-row.total { border-top: 1px solid var(--border); margin-top: .5rem; padding-top: 1rem; font-size: 1.25rem; font-weight: 800; }

/* ══════════════════════════════════
   SIDEBAR LAYOUT
══════════════════════════════════ */
.layout-sidebar { display: grid; grid-template-columns: 260px 1fr; gap: 2rem; align-items: start; min-height: calc(100vh - 68px); }
.sidebar { background: var(--surface); border-right: 1px solid var(--border); min-height: calc(100vh - 68px); padding: 2rem 0; }
.sidebar-nav { list-style: none; }
.sidebar-nav a {
  display: flex; align-items: center; gap: .75rem;
  padding: .75rem 1.5rem; color: var(--text-muted);
  font-size: .9rem; font-weight: 500;
  transition: all var(--trans); border-right: 3px solid transparent;
}
.sidebar-nav a:hover { color: var(--text); background: var(--surface2); }
.sidebar-nav a.active { color: var(--primary-lt); background: rgba(124,58,237,.1); border-right-color: var(--primary); }
.sidebar-content { padding: 2rem 2rem 2rem 0; }
.admin-layout { display: grid; grid-template-columns: 240px 1fr; min-height: 100vh; }
.admin-sidebar { background: var(--surface); border-right: 1px solid var(--border); padding: 0; position: sticky; top: 0; height: 100vh; overflow-y: auto; }
.admin-sidebar-brand {
  padding: 1.5rem 1.5rem 1rem;
  font-family: 'Kugile', 'Playfair Display', serif; font-size: 1.25rem; font-weight: 700;
  background: linear-gradient(135deg, var(--primary-lt), var(--gold));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
  border-bottom: 1px solid var(--border); margin-bottom: .5rem;
}
.admin-sidebar-section { padding: .75rem 1rem .25rem; font-size: .7rem; text-transform: uppercase; letter-spacing: .1em; color: var(--text-faint); font-weight: 700; }
.admin-sidebar-nav { list-style: none; }
.admin-sidebar-nav a {
  display: flex; align-items: center; gap: .75rem;
  padding: .65rem 1.5rem; color: var(--text-muted);
  font-size: .875rem; font-weight: 500;
  transition: all var(--trans);
  border-left: 3px solid transparent;
}
.admin-sidebar-nav a:hover { color: var(--text); background: var(--surface2); }
.admin-sidebar-nav a.active { color: var(--primary-lt); background: rgba(124,58,237,.1); border-left-color: var(--primary); }
.admin-main { padding: 2rem; overflow-x: hidden; background: var(--bg); }

/* ══════════════════════════════════
   AUTH
══════════════════════════════════ */
.auth-wrap {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  background: radial-gradient(ellipse 70% 70% at 50% 0%, rgba(124,58,237,.2), transparent), var(--bg);
  padding: 2rem 1rem;
}
.auth-card { width: 100%; max-width: 440px; }
.auth-logo {
  text-align: center; margin-bottom: 2rem;
  font-family: 'Kugile', 'Playfair Display', serif; font-size: 2rem; font-weight: 700;
  background: linear-gradient(135deg, var(--primary-lt), var(--gold));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.auth-title { font-size: 1.5rem; font-weight: 800; margin-bottom: .25rem; }
.auth-sub { color: var(--text-muted); font-size: .9rem; margin-bottom: 2rem; }
.auth-divider { text-align: center; color: var(--text-faint); font-size: .8125rem; margin: 1.25rem 0; position: relative; }
.auth-divider::before { content: ''; position: absolute; left: 0; top: 50%; height: 1px; width: calc(50% - 1.5rem); background: var(--border2); }
.auth-divider::after { content: ''; position: absolute; right: 0; top: 50%; height: 1px; width: calc(50% - 1.5rem); background: var(--border2); }

/* ══════════════════════════════════
   FOOTER
══════════════════════════════════ */
.footer {
  background: var(--surface); border-top: 1px solid var(--border);
  padding: 3rem 0 2rem; margin-top: auto;
}
.footer-brand {
  font-family: 'Kugile', 'Playfair Display', serif; font-size: 1.5rem; font-weight: 700;
  background: linear-gradient(135deg, var(--primary-lt), var(--gold));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text; margin-bottom: .75rem;
}
.footer-desc { color: var(--text-muted); font-size: .875rem; max-width: 340px; }
.footer-copy { padding-top: 2rem; margin-top: 2rem; border-top: 1px solid var(--border); text-align: center; color: var(--text-faint); font-size: .8125rem; }

/* ══════════════════════════════════
   UTILITY
══════════════════════════════════ */
.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.gap-1 { gap: .5rem; }
.gap-2 { gap: 1rem; }
.gap-3 { gap: 1.5rem; }
.gap-4 { gap: 2rem; }
.flex-wrap { flex-wrap: wrap; }
.flex-1 { flex: 1; }
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-muted { color: var(--text-muted); }
.text-faint { color: var(--text-faint); }
.text-gold { color: var(--gold); }
.text-primary { color: var(--primary-lt); }
.text-success { color: var(--success); }
.text-danger { color: var(--danger); }
.text-sm { font-size: .875rem; }
.text-xs { font-size: .75rem; }
.text-lg { font-size: 1.125rem; }
.text-xl { font-size: 1.25rem; }
.font-bold { font-weight: 700; }
.font-semibold { font-weight: 600; }
.w-full { width: 100%; }
.mt-1 { margin-top: .5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-1 { margin-bottom: .5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.p-2 { padding: 1rem; }
.p-3 { padding: 1.5rem; }
.py-2 { padding-top: 1rem; padding-bottom: 1rem; }
.py-3 { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.px-3 { padding-left: 1.5rem; padding-right: 1.5rem; }
.rounded { border-radius: var(--radius); }
.rounded-lg { border-radius: var(--radius-lg); }
.divider { height: 1px; background: var(--border); margin: 1.5rem 0; }
.empty-state { text-align: center; padding: 4rem 2rem; color: var(--text-muted); }
.empty-state-icon { font-size: 3.5rem; margin-bottom: 1rem; opacity: .5; }
.empty-state-title { font-size: 1.25rem; font-weight: 700; margin-bottom: .5rem; }
.truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ══════════════════════════════════
   PREMIUM LANDING COMPONENTS
   ══════════════════════════════════ */
.feature-card {
  background: linear-gradient(135deg, var(--surface), var(--surface2));
  border: 1px solid var(--border);
  padding: 2.25rem 2rem;
  border-radius: var(--radius-lg);
  transition: all var(--trans);
}
.feature-card:hover {
  border-color: var(--primary);
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(124, 58, 237, 0.15);
}
.feature-icon {
  width: 48px; height: 48px; border-radius: var(--radius);
  background: var(--primary-glow); color: var(--primary-lt);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; margin-bottom: 1.5rem;
}
.testimonial-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  position: relative;
  display: flex; flex-direction: column; gap: 1rem;
  transition: all var(--trans);
}
.testimonial-card:hover {
  border-color: var(--border2);
  transform: translateY(-3px);
}
.testimonial-quote {
  font-style: italic; color: var(--text); font-size: 0.95rem;
  line-height: 1.6;
}
.testimonial-user {
  display: flex; align-items: center; gap: 1rem; margin-top: auto;
}
.testimonial-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--border2); display: flex; align-items: center;
  justify-content: center; font-weight: 700; color: var(--gold-lt);
  font-size: .875rem; border: 1px solid var(--border);
}
.faq-accordion {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  margin-bottom: 1rem;
  overflow: hidden;
}
.faq-header {
  padding: 1.25rem 1.5rem;
  font-weight: 600; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center;
  user-select: none; transition: background var(--trans);
}
.faq-header:hover {
  background: var(--surface2);
}
.faq-body {
  padding: 0 1.5rem 1.25rem;
  color: var(--text-muted);
  font-size: .9rem;
}

/* ══════════════════════════════════
   TOAST CLOSE BUTTON
══════════════════════════════════ */
.alert-close { margin-left: auto; cursor: pointer; opacity: .7; transition: opacity var(--trans); font-size: 1.25rem; line-height: 1; background: none; border: none; color: inherit; flex-shrink: 0; }
.alert-close:hover { opacity: 1; }

/* ══════════════════════════════════
   RESPONSIVE
══════════════════════════════════ */
@media (max-width: 1024px) {
  .admin-layout { grid-template-columns: 1fr; }
  .admin-sidebar { display: none; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .layout-sidebar { grid-template-columns: 1fr; }
  .sidebar { display: none; }
  .sidebar-content { padding: 1.5rem 0; }
  .navbar { padding: 0 1rem; }
  .hero-grid { grid-template-columns: 1fr; gap: 3rem; text-align: center; }
  .hero-content { display: flex; flex-direction: column; align-items: center; }
  .hero-title { font-size: 2.25rem; }
  .hero-stats { gap: 1.5rem; justify-content: center; }
  .hero-actions { justify-content: center; }
  .container { padding: 0 1rem; }
  .admin-main { padding: 1rem; }
  .grid-4 { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .btn-lg { padding: .75rem 1.5rem; }
  .hero { min-height: 80vh; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }
}

/* ══════════════════════════════════
   PREMIUM GLASSMORPHIC DESIGN SYSTEM
   ══════════════════════════════════ */
.glass-card {
  background: rgba(15, 15, 26, 0.45);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.04);
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.glass-card:hover {
  border-color: rgba(124, 58, 237, 0.35);
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(124, 58, 237, 0.12);
  background: rgba(15, 15, 26, 0.65);
}

.text-gradient {
  background: linear-gradient(135deg, #a855f7 0%, #fbbf24 50%, #ec4899 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-gradient-purple {
  background: linear-gradient(135deg, var(--primary-lt) 0%, #818cf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

.glow-overlay {
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 1200px;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.7;
}

.glow-spot-1 {
  position: absolute;
  top: -10%; left: 20%;
  width: 450px; height: 450px;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.22) 0%, rgba(124, 58, 237, 0) 70%);
  filter: blur(40px);
}

.glow-spot-2 {
  position: absolute;
  top: 30%; right: 15%;
  width: 450px; height: 450px;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.09) 0%, rgba(245, 158, 11, 0) 70%);
  filter: blur(40px);
}

.hero-stats-glass {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-lg);
  padding: 2rem 3rem;
  width: 100%;
  margin-top: 4rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  align-items: center;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.05);
}

@media (max-width: 768px) {
  .hero-stats-glass {
    grid-template-columns: 1fr;
    padding: 1.5rem;
    gap: 1.5rem;
  }
}

.badge-premium {
  background: rgba(124,58,237, 0.08);
  border: 1px solid rgba(124,58,237, 0.25);
  color: var(--primary-lt);
  padding: 0.35rem 0.85rem;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  box-shadow: 0 2px 10px rgba(124,58,237,0.1);
}

.badge-premium-gold {
  background: rgba(245, 158, 11, 0.06);
  border: 1px solid rgba(245, 158, 11, 0.25);
  color: var(--gold-lt);
  padding: 0.35rem 0.85rem;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  box-shadow: 0 2px 10px rgba(245,158,11,0.08);
}

/* Navbar action buttons contrast overrides */
.navbar-actions .btn-outline {
  border-color: rgba(255, 255, 255, 0.3) !important;
  color: #FFFFFF !important;
}
.navbar-actions .btn-outline:hover {
  background: rgba(255, 255, 255, 0.1) !important;
  border-color: #FFFFFF !important;
  color: #FFFFFF !important;
}
.navbar-actions .btn-ghost {
  color: rgba(255, 255, 255, 0.9) !important;
  background: rgba(255, 255, 255, 0.1) !important;
}
.navbar-actions .btn-ghost:hover {
  color: #FFFFFF !important;
  background: rgba(255, 255, 255, 0.2) !important;
}
.navbar-actions .btn-primary {
  background: #FFFFFF !important;
  color: #8E4585 !important;
  box-shadow: none !important;
}
.navbar-actions .btn-primary:hover {
  background: rgba(255, 255, 255, 0.95) !important;
  transform: translateY(-1px) !important;
  color: #8E4585 !important;
}
