/* ============================================================
   SPAA ALUMNI PORTAL — GLOBAL DESIGN SYSTEM
   Inspired by Google Antigravity
   ============================================================ */

/* ── Fonts ── */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,500;0,600;1,500&display=swap');

/* ── Design Tokens — DESIGN.md Light Mode ── */
:root {
  /* Surfaces — warm off-white (DESIGN.md "Surface Light: #FAF8F5") */
  --bg-base:        #FAF8F5;
  --bg-surface-1:   #FFFFFF;
  --bg-surface-2:   #F5F0EA;
  --bg-surface-3:   #EDE8DF;
  --bg-glass:       rgba(255, 255, 255, 0.85);
  --bg-glass-light: rgba(193, 122, 86, 0.05);

  /* Brand — Sand & Terracotta (DESIGN.md accents) */
  --accent-sand:    #C17A56;   /* deeper terracotta reads better on light */
  --accent-sand-dk: #A0623F;
  --accent-terra:   #D4A574;   /* sand for lighter moments */
  --accent-blue:    #C17A56;   /* alias */
  --accent-violet:  #A0623F;
  --accent-cyan:    #2563EB;
  --accent-green:   #059669;
  --accent-amber:   #D97706;
  --accent-red:     #DC2626;

  /* Gradients — muted, warm */
  --grad-primary:   linear-gradient(135deg, #C17A56 0%, #A0623F 100%);
  --grad-aurora:    linear-gradient(135deg, #FAF8F5 0%, #F5F0EA 50%, #FAF8F5 100%);
  --grad-card:      linear-gradient(145deg, rgba(193,122,86,0.05) 0%, rgba(160,98,63,0.03) 100%);
  --grad-hero:      radial-gradient(ellipse 80% 60% at 50% -10%, rgba(193,122,86,0.12) 0%, transparent 70%);
  --grad-glow-blue: radial-gradient(ellipse 40% 40% at 50% 50%, rgba(193,122,86,0.08) 0%, transparent 70%);

  /* Text — dark on light (DESIGN.md light text values inverted) */
  --text-primary:   #1A1A1A;
  --text-secondary: #5A5A5A;
  --text-muted:     #8B8B8B;
  --text-accent:    #C17A56;

  /* Borders — warm subtle */
  --border-subtle:  rgba(26, 26, 26, 0.08);
  --border-medium:  rgba(26, 26, 26, 0.14);
  --border-strong:  rgba(26, 26, 26, 0.28);
  --border-glass:   rgba(193, 122, 86, 0.12);

  /* Typography — DESIGN.md spec */
  --font-body:      'Inter', system-ui, -apple-system, sans-serif;
  --font-heading:   'Playfair Display', 'Georgia', serif;

  /* Sizing — DESIGN.md border-radius scale */
  --nav-h:          64px;
  --radius-sm:      4px;
  --radius-md:      8px;
  --radius-lg:      8px;
  --radius-xl:      12px;
  --radius-full:    9999px;

  /* Shadows — light, warm */
  --shadow-sm:      0 1px 4px rgba(26,26,26,0.08);
  --shadow-md:      0 4px 16px rgba(26,26,26,0.10);
  --shadow-lg:      0 8px 24px rgba(26,26,26,0.12);
  --shadow-glow:    0 0 20px rgba(193,122,86,0.15);
  --shadow-glow-v:  0 0 20px rgba(160,98,63,0.12);
  --shadow-card:    0 1px 4px rgba(26,26,26,0.08), 0 0 0 1px rgba(26,26,26,0.06);

  /* Transitions */
  --ease-out:       cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out:    cubic-bezier(0.45, 0, 0.55, 1);
  --dur-fast:       150ms;
  --dur-normal:     250ms;
  --dur-slow:       400ms;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  background-color: var(--bg-base);
  color: var(--text-primary);
  line-height: 1.75;           /* DESIGN.md: body line-height 1.75 */
  font-size: 17px;             /* DESIGN.md: body 17px */
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
ul, ol { list-style: none; }
input, textarea, select { font-family: inherit; }

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-surface-1); }
::-webkit-scrollbar-thumb { background: rgba(26,26,26,0.15); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--accent-sand); }

/* ── Selection ── */
::selection { background: rgba(212,165,116,0.25); color: var(--text-primary); }


/* ── Typography ── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 500;            /* DESIGN.md: display weight 500, never bold */
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--text-primary);
}
h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); }  /* DESIGN.md: H1 = 40px */
h2 { font-size: clamp(1.6rem, 3vw, 1.75rem); } /* DESIGN.md: H2 = 28px */
h3 { font-size: 1.25rem; font-family: var(--font-body); font-weight: 600; } /* DESIGN.md: H3 Inter 600 */
h4 { font-size: 1.05rem; font-family: var(--font-body); font-weight: 600; }
p { color: var(--text-secondary); line-height: 1.75; }

/* Sand accent text — replaces gradient-text */
.gradient-text {
  color: var(--accent-sand);
  background: none;
  -webkit-text-fill-color: var(--accent-sand);
}

/* ── Layout ── */
  .container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
  }
  .hero-container {
    width: 100%;
    max-width: 1500px;
    margin: 0 auto;
    padding: 0 32px;
  }
  .container-narrow { max-width: 860px; margin: 0 auto; padding: 0 24px; }
.section { padding: 100px 0; }
.section-sm { padding: 60px 0; }

/* ── Navigation ── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: background var(--dur-normal) var(--ease-out),
              border-color var(--dur-normal) var(--ease-out),
              backdrop-filter var(--dur-normal) var(--ease-out);
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(250, 248, 245, 0.95);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border-bottom-color: rgba(26,26,26,0.10);
  box-shadow: 0 1px 0 rgba(26,26,26,0.10);
}

.nav-inner {
  width: 100%;
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  flex-shrink: 0;
}
.nav-logo-badge {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: var(--grad-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  font-weight: 800;
  color: #fff;
  box-shadow: var(--shadow-glow);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
}
.nav-link {
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color var(--dur-fast), background var(--dur-fast);
}
.nav-link:hover { color: var(--text-primary); background: var(--bg-glass-light); }
.nav-link.active { color: var(--accent-blue); }

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

/* ── Nav Dropdown ── */
.nav-dropdown-wrapper {
  position: relative;
  display: inline-block;
}
.nav-dropdown-toggle {
  display: flex; align-items: center; gap: 8px;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  transition: background var(--dur-fast);
  color: var(--text-secondary);
  font-weight: 500;
}
.nav-dropdown-toggle:hover {
  background: var(--bg-glass-light);
  color: var(--text-primary);
}
.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 8px;
  background: var(--bg-surface-1);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  min-width: 180px;
  padding: 8px 0;
  display: none;
  z-index: 100;
}
.nav-dropdown-menu::before {
  content: '';
  position: absolute;
  top: -10px;
  left: 0;
  right: 0;
  height: 10px;
}
.nav-dropdown-wrapper:hover .nav-dropdown-menu,
.nav-dropdown-wrapper:focus-within .nav-dropdown-menu {
  display: block;
}
.nav-dropdown-item {
  display: block;
  padding: 8px 16px;
  color: var(--text-secondary);
  font-size: 0.9rem;
  text-decoration: none;
  transition: background var(--dur-fast);
}
.nav-dropdown-item:hover {
  background: rgba(79,142,247,0.08);
  color: var(--accent-blue);
}

.nav-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }

#notif-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 8px;
  background: var(--bg-surface-1);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  min-width: 300px;
  padding: 12px 0;
  display: none;
  z-index: 100;
  text-align: left;
}
#notif-dropdown.open {
  display: block;
  animation: fadeInUp 0.2s ease;
}
.notif-header {
  padding: 0 16px 12px;
  border-bottom: 1px solid var(--border-subtle);
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
}
.notif-item {
  padding: 10px 16px;
  font-size: 0.85rem;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border-subtle);
}
.notif-item:last-child {
  border-bottom: none;
}
.notif-item.unread {
  background: rgba(79, 142, 247, 0.05);
  color: var(--text-primary);
  font-weight: 500;
}
.notif-empty {
  padding: 20px 16px;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  background: var(--bg-glass-light);
  border: 1px solid var(--border-subtle);
  cursor: pointer;
}
.nav-hamburger span {
  width: 18px; height: 2px;
  background: var(--text-secondary);
  border-radius: 2px;
  transition: all var(--dur-normal) var(--ease-out);
}
.nav-hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Menu */
.nav-mobile {
  position: fixed;
  top: var(--nav-h);
  left: 0; right: 0;
  background: rgba(250, 248, 245, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  box-shadow: 0 8px 32px rgba(15,23,42,0.10);
  padding: 20px 24px 32px;
  transform: translateY(-110%);
  opacity: 0;
  transition: transform var(--dur-normal) var(--ease-out),
              opacity var(--dur-normal);
  z-index: 999;
}
.nav-mobile.open { transform: translateY(0); opacity: 1; }
.nav-mobile-links { display: flex; flex-direction: column; gap: 4px; }
.nav-mobile-link {
  padding: 12px 16px;
  border-radius: var(--radius-md);
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color var(--dur-fast), background var(--dur-fast);
  display: block;
}
.nav-mobile-link:hover { color: var(--text-primary); background: var(--bg-glass-light); }
.nav-mobile-actions { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--border-subtle); display: flex; flex-direction: column; gap: 10px; }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-size: 0.925rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: all var(--dur-normal) var(--ease-out);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}
.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0);
  transition: background var(--dur-fast);
}
.btn:hover::after { background: rgba(255,255,255,0.06); }
.btn:active::after { background: rgba(255,255,255,0.12); }

.btn-primary {
  background: var(--grad-primary);
  color: #fff;
  box-shadow: 0 0 0 0 rgba(212,165,116,0);
}
.btn-primary:hover {
  box-shadow: 0 0 24px rgba(212,165,116,0.30);
  transform: translateY(-1px);
}
.btn-primary:active { transform: translateY(0); }

.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid var(--border-medium);   /* stronger border for light bg */
}
.btn-ghost:hover {
  color: var(--text-primary);
  border-color: var(--border-strong);
  background: var(--bg-surface-3);
}

.btn-outline {
  background: transparent;
  color: var(--accent-blue);
  border: 1px solid var(--border-medium);
}
.btn-outline:hover {
  background: rgba(193,122,86,0.05);
  border-color: var(--border-strong);
}

.btn-danger {
  background: rgba(220,38,38,0.08);
  color: var(--accent-red);
  border: 1px solid rgba(220,38,38,0.22);
}
.btn-danger:hover { background: rgba(220,38,38,0.15); }

.btn-success {
  background: rgba(5,150,105,0.08);
  color: var(--accent-green);
  border: 1px solid rgba(5,150,105,0.22);
}
.btn-success:hover { background: rgba(5,150,105,0.15); }

.btn-sm { padding: 8px 16px; font-size: 0.85rem; }
.btn-lg { padding: 16px 36px; font-size: 1.05rem; border-radius: var(--radius-md); }
.btn-block { width: 100%; }
.btn-icon { width: 40px; height: 40px; padding: 0; border-radius: var(--radius-sm); }

/* ── Cards ── */
.card {
  background: var(--bg-glass);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 28px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: transform var(--dur-normal) var(--ease-out),
              border-color var(--dur-normal),
              box-shadow var(--dur-normal);
}
.card:hover {
  transform: translateY(-4px);
  border-color: var(--border-medium);
  box-shadow: var(--shadow-card), var(--shadow-glow);
}
.card-flat { transition: none; }
.card-flat:hover { transform: none; box-shadow: none; }

.card-gradient {
  background: var(--grad-card);
  border-color: var(--border-subtle);
}

/* ── Badges ── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.03em;
}
.badge-blue   { background: rgba(193,122,86,0.07); color: var(--accent-blue); border: 1px solid rgba(212,165,116,0.16); }
.badge-violet { background: rgba(193,122,86,0.10); color: var(--accent-violet); border: 1px solid rgba(124,58,237,0.20); }
.badge-green  { background: rgba(16,185,129,0.15); color: var(--accent-green); border: 1px solid rgba(16,185,129,0.25); }
.badge-amber  { background: rgba(245,158,11,0.15); color: var(--accent-amber); border: 1px solid rgba(245,158,11,0.25); }
.badge-red    { background: rgba(239,68,68,0.15); color: var(--accent-red); border: 1px solid rgba(239,68,68,0.25); }
.badge-muted  { background: var(--bg-glass-light); color: var(--text-muted); border: 1px solid var(--border-subtle); }

.badge-dot::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

/* ── Forms ── */
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-label { font-size: 0.875rem; font-weight: 500; color: var(--text-secondary); }
.form-required::after { content: ' *'; color: var(--accent-red); }

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 12px 16px;
  background: var(--bg-surface-2);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-size: 0.925rem;
  outline: none;
  transition: border-color var(--dur-fast), box-shadow var(--dur-fast), background var(--dur-fast);
  appearance: none;
}
.form-input::placeholder,
.form-textarea::placeholder { color: var(--text-muted); }
.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--accent-blue);
  box-shadow: 0 0 0 3px rgba(193,122,86,0.07);
  background: var(--bg-surface-3);
}
.form-textarea { resize: vertical; min-height: 120px; }
.form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%237B8DB8' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
  cursor: pointer;
}
.form-hint { font-size: 0.8rem; color: var(--text-muted); }
.form-error { font-size: 0.8rem; color: var(--accent-red); }
.form-input.error { border-color: var(--accent-red); box-shadow: 0 0 0 3px rgba(239,68,68,0.15); }

/* Grid form */
.form-grid { display: grid; gap: 20px; }
.form-grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 640px) { .form-grid-2 { grid-template-columns: 1fr; } }

/* ── Divider ── */
.divider { border: none; border-top: 1px solid var(--border-subtle); margin: 0; }
.divider-label {
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--text-muted);
  font-size: 0.85rem;
}
.divider-label::before, .divider-label::after {
  content: '';
  flex: 1;
  border-top: 1px solid var(--border-subtle);
}

/* ── Section Headers ── */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  background: rgba(193,122,86,0.06);
  border: 1px solid rgba(193,122,86,0.09);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-blue);
  margin-bottom: 20px;
}
.section-header { margin-bottom: 60px; }
.section-header-center { text-align: center; }
.section-subtitle { font-size: 1.1rem; max-width: 620px; margin-top: 12px; }
.section-header-center .section-subtitle { margin: 12px auto 0; }

/* ── Hero ── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding-top: var(--nav-h);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
.hero-aurora {
  position: absolute;
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 120%;
  height: 70%;
  background: radial-gradient(ellipse at 50% 0%, rgba(37,99,235,0.14) 0%, rgba(193,122,86,0.08) 40%, transparent 70%);
  filter: blur(60px);
  animation: aurora 8s ease-in-out infinite alternate;
}
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  animation: float 10s ease-in-out infinite;
}
.hero-orb-1 {
  width: 400px; height: 400px;
  top: 10%; left: -10%;
  background: radial-gradient(circle, rgba(212,165,116,0.08) 0%, transparent 70%);
}
.hero-orb-2 {
  width: 500px; height: 500px;
  bottom: -10%; right: -10%;
  background: radial-gradient(circle, rgba(124,58,237,0.08) 0%, transparent 70%);
  animation-delay: -4s;
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(37,99,235,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37,99,235,0.06) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black, transparent);
}

  .hero-inner {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
    align-items: center;
    position: relative;
    z-index: 1;
    margin-bottom: 64px;
  }
  @media (min-width: 992px) {
    .hero-inner {
      grid-template-columns: 1fr 2.33fr;
      gap: 64px;
    }
  }
  
  .hero-slider {
    position: relative;
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    overflow: hidden;
    animation: fadeInUp 0.8s var(--ease-out) 0.3s both;
  }
  .hero-slider .slider-wrapper {
    margin: 0; /* Override any previous margins */
    box-shadow: none; /* Shadow handled by parent */
  }

  .hero-content { position: relative; z-index: 1; }
  .hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  background: rgba(193,122,86,0.06);
  border: 1px solid rgba(37,99,235,0.2);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent-blue);
  margin-bottom: 28px;
  animation: fadeInUp 0.8s var(--ease-out) both;
}
  .hero h1 {
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    line-height: 1.2;
    text-align: justify;
    animation: fadeInUp 0.8s var(--ease-out) 0.1s both;
    margin-bottom: 20px;
  }
  .hero-desc {
    font-size: 1.05rem;
    line-height: 1.6;
    color: var(--text-secondary);
    max-width: 100%;
    margin-bottom: 32px;
    text-align: justify;
    animation: fadeInUp 0.8s var(--ease-out) 0.2s both;
  }
  .hero-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s var(--ease-out) 0.3s both;
  }

/* ── Stat Bar ── */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border-subtle);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-top: 48px;
}
.stat-item {
  background: var(--bg-surface-1);
  padding: 20px 24px;
  text-align: center;
}
.stat-value {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  background: var(--grad-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 6px;
}
.stat-label { font-size: 0.875rem; color: var(--text-muted); font-weight: 500; }

/* ── Feature Grid ── */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature-card {
  background: var(--bg-surface-1);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all var(--dur-normal) var(--ease-out);
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--grad-primary);
  opacity: 0;
  transition: opacity var(--dur-normal);
}
.feature-card:hover { transform: translateY(-6px); border-color: var(--border-medium); box-shadow: var(--shadow-card); }
.feature-card:hover::before { opacity: 1; }

.feature-icon {
  width: 52px; height: 52px;
  border-radius: var(--radius-md);
  background: rgba(193,122,86,0.06);
  border: 1px solid rgba(193,122,86,0.09);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 20px;
}
.feature-icon.violet { background: rgba(139,92,246,0.1); border-color: rgba(193,122,86,0.12); }
.feature-icon.cyan   { background: rgba(34,211,238,0.1); border-color: rgba(34,211,238,0.2); }
.feature-icon.green  { background: rgba(16,185,129,0.1); border-color: rgba(16,185,129,0.2); }
.feature-icon.amber  { background: rgba(245,158,11,0.1); border-color: rgba(245,158,11,0.2); }

.feature-card h3 { font-size: 1.15rem; margin-bottom: 10px; }
.feature-card p { font-size: 0.9rem; }

/* ── Member Avatar ── */
.avatar {
  border-radius: 50%;
  object-fit: cover;
  background: var(--bg-surface-3);
  flex-shrink: 0;
}
.avatar-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--grad-primary);
  color: #fff;
  font-weight: 700;
  flex-shrink: 0;
  user-select: none;
}
.avatar-sm { width: 32px; height: 32px; font-size: 0.8rem; }
.avatar-md { width: 44px; height: 44px; font-size: 1.1rem; }
.avatar-lg { width: 64px; height: 64px; font-size: 1.5rem; }

.avatar-zoom-container {
  width: 110px;
  height: 110px;
  margin: 0 auto 16px auto;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid var(--border-subtle);
  position: relative;
  cursor: pointer;
}
.avatar-zoom-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s var(--ease-out);
}
.avatar-zoom-container:hover img {
  transform: scale(1.15);
}
.avatar-xl { width: 100px; height: 100px; font-size: 1.8rem; }

/* ── Announcement/Post Cards ── */
.post-card {
  background: var(--bg-surface-1);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: border-color var(--dur-normal);
}
.post-card:hover { border-color: var(--border-medium); }
.post-card.announcement {
  border-color: rgba(212,165,116,0.20);
  background: linear-gradient(135deg, rgba(37,99,235,0.05) 0%, var(--bg-surface-1) 100%);
}

.post-header { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 16px; }
.post-meta { flex: 1; }
.post-author { font-weight: 600; font-size: 0.95rem; color: var(--text-primary); }
.post-time { font-size: 0.8rem; color: var(--text-muted); margin-top: 2px; }
.post-body { color: var(--text-secondary); font-size: 0.95rem; line-height: 1.7; margin-bottom: 16px; }
.post-actions { display: flex; align-items: center; gap: 12px; padding-top: 12px; border-top: 1px solid var(--border-subtle); }
.post-action-btn {
  display: flex; align-items: center; gap: 6px;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  color: var(--text-muted);
  background: transparent;
  border: 1px solid transparent;
  transition: all var(--dur-fast);
}
.post-action-btn:hover { color: var(--accent-blue); background: rgba(193,122,86,0.05); border-color: var(--border-subtle); }

/* ── Member Card (Directory) ── */
.members-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}
.member-card {
  background: var(--bg-surface-1);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 16px;
  text-align: center;
  transition: all var(--dur-normal) var(--ease-out);
}
.member-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-medium);
  box-shadow: var(--shadow-card);
}
.member-card-avatar {
  width: 80px; height: 80px;
  margin: 0 auto 16px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--grad-primary);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem;
  font-weight: 700;
  color: #fff;
  border: 3px solid var(--border-subtle);
}
.member-card-name { font-size: 1.05rem; font-weight: 600; margin-bottom: 4px; }
.member-card-batch { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 12px; }
.member-card-info { font-size: 0.85rem; color: var(--text-secondary); line-height: 1.6; }
.member-card-info a { color: var(--accent-blue); }
.member-card-info a:hover { text-decoration: underline; }

/* ── Committee Card ── */
.committee-card {
  background: var(--bg-surface-1);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 32px 24px;
  text-align: center;
  transition: all var(--dur-normal) var(--ease-out);
  position: relative;
  overflow: hidden;
}
.committee-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 120px;
  background: var(--grad-aurora);
  opacity: 0.5;
}
.committee-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-medium);
  box-shadow: var(--shadow-card), var(--shadow-glow);
}
.committee-card-photo {
  width: 90px; height: 90px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 20px;
  border: 3px solid var(--border-medium);
  position: relative;
  z-index: 1;
  background: var(--grad-primary);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem;
  font-weight: 700;
  color: #fff;
}
.committee-card-position {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-blue);
  margin-bottom: 8px;
  position: relative; z-index: 1;
}
.committee-card-name { font-size: 1.1rem; font-weight: 700; margin-bottom: 6px; position: relative; z-index: 1; }
.committee-card-contact { font-size: 0.85rem; color: var(--text-muted); position: relative; z-index: 1; }
.committee-card-term { font-size: 0.78rem; color: var(--text-muted); margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--border-subtle); position: relative; z-index: 1; }

/* ── Committee Preview Grid (Homepage Compact Version) ── */
.committee-preview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 32px;
}
.committee-preview-grid .committee-card {
  padding: 20px 16px;
  border-radius: var(--radius-lg);
}
.committee-preview-grid .committee-card::before {
  height: 90px;
}
.committee-preview-grid .committee-card-photo {
  width: 70px;
  height: 70px;
  margin: 0 auto 12px;
  font-size: 1.4rem;
}
.committee-preview-grid .committee-card-position {
  font-size: 0.72rem;
  margin-bottom: 6px;
}
.committee-preview-grid .committee-card-name {
  font-size: 1rem;
  margin-bottom: 4px;
}
.committee-preview-grid .committee-card-contact {
  font-size: 0.8rem;
}
.committee-preview-grid .committee-card-term {
  margin-top: 10px;
  padding-top: 10px;
  font-size: 0.75rem;
}

/* ── Election Cards ── */
.candidate-card {
  background: var(--bg-surface-1);
  border: 2px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 24px;
  cursor: pointer;
  transition: all var(--dur-normal) var(--ease-out);
  position: relative;
}
.candidate-card:hover { border-color: var(--border-medium); transform: translateY(-2px); }
.candidate-card.selected {
  border-color: var(--accent-blue);
  background: rgba(37,99,235,0.05);
  box-shadow: 0 0 0 3px rgba(193,122,86,0.07), var(--shadow-glow);
}
.candidate-card .check-ring {
  position: absolute;
  top: 16px; right: 16px;
  width: 24px; height: 24px;
  border-radius: 50%;
  border: 2px solid var(--border-medium);
  background: transparent;
  display: flex; align-items: center; justify-content: center;
  transition: all var(--dur-normal);
}
.candidate-card.selected .check-ring {
  border-color: var(--accent-blue);
  background: var(--accent-blue);
}
.candidate-card.selected .check-ring::after {
  content: '✓';
  font-size: 0.75rem;
  color: #fff;
  font-weight: 700;
}

/* ── Progress / Vote bar ── */
.vote-bar-wrap { display: flex; align-items: center; gap: 12px; }
.vote-bar-bg {
  flex: 1;
  height: 8px;
  background: var(--bg-surface-3);
  border-radius: var(--radius-full);
  overflow: hidden;
}
.vote-bar-fill {
  height: 100%;
  background: var(--grad-primary);
  border-radius: var(--radius-full);
  transition: width 1s var(--ease-out);
}
.vote-pct { font-size: 0.85rem; font-weight: 600; color: var(--accent-blue); min-width: 40px; text-align: right; }

/* ── Alert / Toast ── */
.alert {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 20px;
  border-radius: var(--radius-md);
  border: 1px solid;
  font-size: 0.9rem;
}
.alert-icon { font-size: 1.1rem; flex-shrink: 0; margin-top: 1px; }
.alert-blue   { background: rgba(193,122,86,0.05); border-color: rgba(212,165,116,0.16); color: var(--accent-blue); }
.alert-green  { background: rgba(16,185,129,0.08); border-color: rgba(16,185,129,0.25); color: var(--accent-green); }
.alert-amber  { background: rgba(245,158,11,0.08); border-color: rgba(245,158,11,0.25); color: var(--accent-amber); }
.alert-red    { background: rgba(239,68,68,0.08);  border-color: rgba(239,68,68,0.25);  color: var(--accent-red); }
.alert-body { color: var(--text-secondary); font-size: 0.875rem; }
.alert-body strong { color: var(--text-primary); }

/* ── Footer ── */
.footer {
  background: var(--bg-surface-1);
  border-top: 1px solid var(--border-subtle);
  padding: 60px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand-name { font-family: var(--font-heading); font-size: 1.2rem; font-weight: 700; margin-bottom: 12px; }
.footer-brand-desc { font-size: 0.875rem; color: var(--text-muted); line-height: 1.7; }
.footer-heading { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 16px; }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-link { font-size: 0.875rem; color: var(--text-muted); transition: color var(--dur-fast); }
.footer-link:hover { color: var(--accent-blue); }
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 32px;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.825rem;
  color: var(--text-muted);
  flex-wrap: wrap;
  gap: 12px;
}

/* ── Dashboard Layout ── */
.dashboard-layout {
  display: flex;
  min-height: 100vh;
  padding-top: var(--nav-h);
}

.sidebar {
  width: 260px;
  flex-shrink: 0;
  background: var(--bg-surface-1);
  border-right: 1px solid var(--border-subtle);
  position: sticky;
  top: var(--nav-h);
  height: calc(100vh - var(--nav-h));
  overflow-y: auto;
  padding: 24px 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.sidebar-section { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted); padding: 16px 12px 8px; }
.sidebar-link {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: all var(--dur-fast);
  cursor: pointer;
}
.sidebar-link .icon { font-size: 1.1rem; width: 20px; text-align: center; }
.sidebar-link:hover { color: var(--text-primary); background: var(--bg-glass-light); }
.sidebar-link.active { color: var(--accent-blue); background: rgba(193,122,86,0.05); }
.sidebar-badge {
  margin-left: auto;
  background: var(--accent-blue);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  min-width: 20px;
  text-align: center;
}

.main-content {
  flex: 1;
  padding: 40px 48px;
  overflow-y: auto;
}

/* ── Tables ── */
.table-wrap { overflow-x: auto; border-radius: var(--radius-lg); border: 1px solid var(--border-subtle); }
.data-table { width: 100%; border-collapse: collapse; }
.data-table th {
  padding: 14px 20px;
  text-align: left;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  background: var(--bg-surface-2);
  border-bottom: 1px solid var(--border-subtle);
  white-space: nowrap;
}
.data-table td {
  padding: 16px 20px;
  font-size: 0.9rem;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border-subtle);
  vertical-align: middle;
}
.data-table tbody tr:last-child td { border-bottom: none; }
.data-table tbody tr { transition: background var(--dur-fast); }
.data-table tbody tr:hover { background: var(--bg-glass-light); }
.data-table td strong { color: var(--text-primary); font-weight: 600; }

/* ── Pagination ── */
.pagination { display: flex; align-items: center; gap: 6px; justify-content: center; }
.page-btn {
  width: 36px; height: 36px;
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.875rem;
  font-weight: 500;
  background: var(--bg-surface-2);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  transition: all var(--dur-fast);
  cursor: pointer;
}
.page-btn:hover { color: var(--accent-blue); border-color: var(--border-medium); }
.page-btn.active { background: var(--accent-blue); border-color: var(--accent-blue); color: #fff; }
.page-btn:disabled { opacity: 0.4; cursor: not-allowed; }

/* ── Tabs ── */
.tabs { display: flex; gap: 4px; background: var(--bg-surface-2); border-radius: var(--radius-md); padding: 4px; }
.tab-btn {
  flex: 1;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  background: transparent;
  transition: all var(--dur-fast);
  cursor: pointer;
  text-align: center;
}
.tab-btn:hover { color: var(--text-primary); }
.tab-btn.active { background: var(--bg-surface-3); color: var(--text-primary); box-shadow: var(--shadow-sm); }

/* ── Modal ── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--dur-normal);
}
.modal-overlay.open { opacity: 1; pointer-events: auto; }
.modal {
  background: var(--bg-surface-2);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-xl);
  padding: 36px;
  max-width: 560px;
  width: 100%;
  box-shadow: var(--shadow-lg), var(--shadow-glow);
  transform: scale(0.95) translateY(10px);
  transition: transform var(--dur-normal) var(--ease-out);
}
.modal-overlay.open .modal { transform: scale(1) translateY(0); }
.modal-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.modal-title { font-size: 1.3rem; font-weight: 700; }
.modal-close {
  width: 32px; height: 32px;
  border-radius: var(--radius-sm);
  background: var(--bg-glass-light);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  font-size: 1.1rem;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: all var(--dur-fast);
}
.modal-close:hover { color: var(--text-primary); border-color: var(--border-medium); }
.modal-footer { display: flex; justify-content: flex-end; gap: 12px; margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--border-subtle); }

/* ── Breadcrumb ── */
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 0.875rem; color: var(--text-muted); margin-bottom: 28px; }
.breadcrumb-sep { opacity: 0.4; }
.breadcrumb a { color: var(--text-muted); transition: color var(--dur-fast); }
.breadcrumb a:hover { color: var(--accent-blue); }
.breadcrumb-current { color: var(--text-secondary); }

/* ── Notification dot ── */
.notif-dot {
  position: relative;
  display: inline-flex;
}
.notif-dot::after {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent-blue);
  border: 2px solid var(--bg-base);
}

/* ── Search bar ── */
.search-wrap {
  position: relative;
  display: flex;
  align-items: center;
}
.search-icon { position: absolute; left: 14px; font-size: 1rem; color: var(--text-muted); pointer-events: none; }
.search-input {
  width: 100%;
  padding: 12px 16px 12px 44px;
  background: var(--bg-surface-2);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-size: 0.925rem;
  outline: none;
  transition: border-color var(--dur-fast), box-shadow var(--dur-fast);
}
.search-input::placeholder { color: var(--text-muted); }
.search-input:focus { border-color: var(--accent-blue); box-shadow: 0 0 0 3px rgba(193,122,86,0.07); }

/* ── Timeline (election stages) ── */
.timeline { position: relative; padding-left: 32px; }
.timeline::before {
  content: '';
  position: absolute;
  left: 10px; top: 0; bottom: 0;
  width: 2px;
  background: var(--border-subtle);
}
.timeline-item { position: relative; padding-bottom: 28px; }
.timeline-dot {
  position: absolute;
  left: -28px; top: 4px;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--bg-surface-2);
  border: 2px solid var(--border-medium);
  display: flex; align-items: center; justify-content: center;
}
.timeline-dot.active { background: var(--accent-blue); border-color: var(--accent-blue); box-shadow: 0 0 10px rgba(212,165,116,0.30); }
.timeline-dot.done { background: var(--accent-green); border-color: var(--accent-green); }
.timeline-title { font-size: 0.95rem; font-weight: 600; color: var(--text-primary); margin-bottom: 4px; }
.timeline-desc { font-size: 0.85rem; color: var(--text-muted); }

/* ── Utility classes ── */
.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.gap-2 { gap: 8px; }
.gap-3 { gap: 12px; }
.gap-4 { gap: 16px; }
.gap-6 { gap: 24px; }
.gap-8 { gap: 32px; }
.flex-1 { flex: 1; }
.flex-wrap { flex-wrap: wrap; }

.mt-2 { margin-top: 8px; }
.mt-4 { margin-top: 16px; }
.mt-6 { margin-top: 24px; }
.mt-8 { margin-top: 32px; }
.mb-2 { margin-bottom: 8px; }
.mb-4 { margin-bottom: 16px; }
.mb-6 { margin-bottom: 24px; }
.mb-8 { margin-bottom: 32px; }

.text-sm  { font-size: 0.875rem; }
.text-xs  { font-size: 0.78rem; }
.text-muted { color: var(--text-muted); }
.text-secondary { color: var(--text-secondary); }
.text-accent { color: var(--accent-blue); }
.text-green  { color: var(--accent-green); }
.text-red    { color: var(--accent-red); }
.text-amber  { color: var(--accent-amber); }
.text-right  { text-align: right; }
.text-center { text-align: center; }
.font-semibold { font-weight: 600; }
.font-bold     { font-weight: 700; }
.uppercase { text-transform: uppercase; letter-spacing: 0.06em; }

.w-full { width: 100%; }
.overflow-hidden { overflow: hidden; }
.relative { position: relative; }
.hidden { display: none !important; }

/* ── Animations ── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes aurora {
  from { transform: translateX(-50%) scale(1); opacity: 0.7; }
  to   { transform: translateX(-50%) scale(1.1); opacity: 1; }
}
@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  33% { transform: translateY(-20px) rotate(2deg); }
  66% { transform: translateY(10px) rotate(-2deg); }
}
@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(212,165,116,0); }
  50% { box-shadow: 0 0 30px rgba(212,165,116,0.20); }
}
@keyframes spin {
  to { transform: rotate(360deg); }
}
@keyframes shimmer {
  from { background-position: -200% 0; }
  to   { background-position: 200% 0; }
}

.animate-fade-in-up { animation: fadeInUp 0.8s var(--ease-out) both; }
.animate-fade-in    { animation: fadeIn 0.6s var(--ease-out) both; }
.animate-float      { animation: float 6s ease-in-out infinite; }
.animate-pulse-glow { animation: pulse-glow 2s ease-in-out infinite; }

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* Skeleton loading */
.skeleton {
  background: linear-gradient(90deg, var(--bg-surface-2) 25%, var(--bg-surface-3) 50%, var(--bg-surface-2) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: var(--radius-sm);
}

/* ── Page Header ── */
.page-header {
  background: var(--bg-surface-1);
  border-bottom: 1px solid var(--border-subtle);
  padding: 48px 0;
  margin-bottom: 60px;
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: var(--grad-hero);
  pointer-events: none;
}
.page-header-inner { position: relative; z-index: 1; }
.page-header h1 { font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: 10px; }
.page-header p  { font-size: 1rem; }

/* ── CTA Section ── */
.cta-section {
  position: relative;
  text-align: center;
  padding: 100px 0;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 600px; height: 400px;
  background: radial-gradient(ellipse, rgba(193,122,86,0.07) 0%, transparent 70%);
  pointer-events: none;
}
.cta-section h2 { margin-bottom: 20px; }
.cta-section p  { max-width: 520px; margin: 0 auto 36px; font-size: 1.1rem; }
.cta-section .actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ── Slider ── */
.slider-wrapper {
  position: relative;
  width: 100%;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  background: var(--bg-surface-2);
}
.slider-container {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -ms-overflow-style: none; /* IE and Edge */
  scrollbar-width: none; /* Firefox */
}
.slider-container::-webkit-scrollbar {
  display: none;
}
  .slide-item {
    flex: 0 0 100%;
    scroll-snap-align: start;
    position: relative;
    aspect-ratio: 16 / 9;
  }
.slide-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  }
  .slide-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 100px 40px 40px;
    background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.7) 40%, rgba(0,0,0,0) 100%);
    color: #ffffff;
    pointer-events: none;
  }
  .slide-title {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 12px;
    color: #ffffff;
    text-shadow: 0 4px 12px rgba(0,0,0,0.8);
  }
  .slide-desc {
    font-size: 1.1rem;
    opacity: 1;
    color: #f8fafc;
    text-shadow: 0 2px 6px rgba(0,0,0,0.8);
    max-width: 800px;
  }
.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.3);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--dur-fast);
  z-index: 10;
}
.slider-btn:hover:not(.disabled) {
  background: rgba(255,255,255,0.3);
  transform: translateY(-50%) scale(1.05);
}
.slider-btn.disabled {
  opacity: 0.3;
  cursor: not-allowed;
}
.slider-prev {
  left: 20px;
}
.slider-next {
  right: 20px;
}
.slider-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}
.slider-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: all var(--dur-fast);
}
.slider-dot.active {
  background: white;
  transform: scale(1.3);
}

@media (max-width: 768px) {
  .slide-item {
    aspect-ratio: 16 / 9;
  }
  .slide-caption {
    padding: 30px 20px 20px;
  }
  .slide-title {
    font-size: 1.3rem;
  }
  .slider-btn {
    width: 36px;
    height: 36px;
  }
  .slider-prev {
    left: 10px;
  }
  .slider-next {
    right: 10px;
  }
  .slide-caption { padding: 60px 24px 24px; }
  .slide-title { font-size: 1.5rem; }
  .slide-desc { font-size: 0.95rem; }
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-bar { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .main-content { padding: 32px 24px; }
}

@media (max-width: 768px) {
  .nav-links, .nav-actions { display: none; }
  .nav-hamburger { display: flex; }
  .features-grid { grid-template-columns: 1fr; }
  .section { padding: 60px 0; }
  .section-header { margin-bottom: 40px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .sidebar { display: none; }
  .main-content { padding: 24px 16px; }
  h1 { font-size: 2.2rem; }
  h2 { font-size: 1.8rem; }
  .dashboard-layout { flex-direction: column; }
  .form-grid-2 { grid-template-columns: 1fr; }
  .page-header { padding: 32px 0; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .stats-bar { grid-template-columns: 1fr 1fr; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .btn-lg { width: 100%; }
}
