/* ─── Google Fonts ──────────────────────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Inter:wght@400;500;600&display=swap');

/* ─── Reset & Base ──────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: 'Inter', sans-serif; color: #1e293b; background: #f8fafc; line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* ─── Variables ─────────────────────────────────────────────────────────────── */
:root {
  --primary:       #3b4fd8;
  --primary-dark:  #2d3db8;
  --primary-light: #eef0fd;
  --accent:        #06b6d4;
  --success:       #22c55e;
  --warning:       #f59e0b;
  --danger:        #ef4444;
  --text:          #1e293b;
  --text-muted:    #64748b;
  --border:        #e2e8f0;
  --bg:            #f8fafc;
  --white:         #ffffff;
  --shadow-sm:     0 1px 3px rgba(0,0,0,0.08);
  --shadow-md:     0 4px 16px rgba(0,0,0,0.08);
  --shadow-lg:     0 12px 40px rgba(0,0,0,0.12);
  --radius:        16px;
  --radius-sm:     10px;
  --radius-lg:     24px;
}

/* ─── Container ─────────────────────────────────────────────────────────────── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ─── Header ────────────────────────────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  padding: 0;
}
.site-header .container {
  display: flex; align-items: center; gap: 24px;
  height: 68px;
}
.logo { display: flex; align-items: center; gap: 10px; }
.logo-icon {
  width: 40px; height: 40px; border-radius: 10px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.logo-icon svg { width: 20px; height: 20px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.logo-text { display: flex; flex-direction: column; line-height: 1.2; }
.logo-name { font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 800; font-size: 17px; color: var(--text); }
.logo-name span { color: var(--primary); }
.logo-sub { font-size: 11px; color: var(--text-muted); font-weight: 500; }
.nav-links { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav-links a {
  font-size: 14px; font-weight: 500; color: var(--text-muted);
  padding: 6px 14px; border-radius: 8px; transition: all .2s;
}
.nav-links a:hover { color: var(--primary); background: var(--primary-light); }
.header-right { display: flex; align-items: center; gap: 10px; }

/* ─── Buttons ───────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700; font-size: 14px; cursor: pointer;
  border: none; border-radius: 10px; padding: 10px 20px;
  transition: all .2s; white-space: nowrap; text-decoration: none;
}
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-1px); box-shadow: 0 4px 16px rgba(59,79,216,0.35); }
.btn-ghost { background: transparent; color: var(--text); border: 1.5px solid var(--border); }
.btn-ghost:hover { background: var(--bg); border-color: var(--primary); color: var(--primary); }
.btn-outline { background: transparent; color: var(--primary); border: 1.5px solid var(--primary); }
.btn-outline:hover { background: var(--primary-light); }
.btn-danger { background: #fef2f2; color: var(--danger); border: 1px solid #fecaca; }
.btn-danger:hover { background: #fee2e2; }
.btn-sm { padding: 6px 14px; font-size: 13px; border-radius: 8px; }
.btn-lg { padding: 14px 28px; font-size: 15px; border-radius: 12px; }

/* ─── Badges ────────────────────────────────────────────────────────────────── */
.badge {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 12px; font-weight: 600; padding: 3px 10px; border-radius: 20px;
}
.badge-green   { background: #dcfce7; color: #166534; }
.badge-blue    { background: #dbeafe; color: #1e40af; }
.badge-purple  { background: #f3e8ff; color: #6b21a8; }
.badge-orange  { background: #ffedd5; color: #9a3412; }
.badge-teal    { background: #ccfbf1; color: #134e4a; }
.badge-red     { background: #fee2e2; color: #991b1b; }
.badge-indigo  { background: #e0e7ff; color: #3730a3; }
.badge-pink    { background: #fce7f3; color: #9d174d; }
.badge-active  { background: #dcfce7; color: #166534; }
.badge-inactive{ background: #f1f5f9; color: #64748b; }

/* ─── Hero ──────────────────────────────────────────────────────────────────── */
.hero {
  background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 50%, #0c1445 100%);
  color: #fff; padding: 100px 0 80px; position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 60% 50%, rgba(59,79,216,0.3) 0%, transparent 70%);
}
.hero .container { position: relative; z-index: 1; text-align: center; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.9); font-size: 13px; font-weight: 600;
  padding: 6px 16px; border-radius: 20px; margin-bottom: 28px;
  backdrop-filter: blur(8px);
}
.hero h1 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(36px, 6vw, 64px); font-weight: 800; line-height: 1.1;
  margin-bottom: 20px; color: #fff;
}
.text-gradient {
  background: linear-gradient(135deg, #60a5fa, #a78bfa, #06b6d4);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero p { font-size: 18px; color: rgba(255,255,255,0.75); max-width: 560px; margin: 0 auto 36px; }
.hero-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 56px; }
.hero-stats {
  display: flex; gap: 48px; justify-content: center; flex-wrap: wrap;
  border-top: 1px solid rgba(255,255,255,0.1); padding-top: 36px;
}
.hero-stat-val { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 32px; font-weight: 800; color: #fff; }
.hero-stat-label { font-size: 13px; color: rgba(255,255,255,0.55); font-weight: 500; margin-top: 2px; }

/* ─── Features Strip ────────────────────────────────────────────────────────── */
.features-strip { background: #fff; padding: 48px 0; border-bottom: 1px solid var(--border); }
.features-strip .container { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 32px; }
.feature-item { display: flex; align-items: flex-start; gap: 16px; }
.feature-icon { width: 48px; height: 48px; border-radius: 12px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.feature-icon svg { width: 24px; height: 24px; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.feature-title { font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 700; font-size: 15px; margin-bottom: 4px; }
.feature-desc { font-size: 13px; color: var(--text-muted); line-height: 1.5; }

/* ─── Section ───────────────────────────────────────────────────────────────── */
.programs-section { padding: 80px 0; }
.section-header { text-align: center; margin-bottom: 48px; }
.section-badge {
  display: inline-block; background: var(--primary-light); color: var(--primary);
  font-size: 12px; font-weight: 700; padding: 4px 14px; border-radius: 20px;
  text-transform: uppercase; letter-spacing: .5px; margin-bottom: 14px;
}
.section-title { font-family: 'Plus Jakarta Sans', sans-serif; font-size: clamp(26px, 4vw, 40px); font-weight: 800; color: var(--text); margin-bottom: 12px; }
.section-desc { font-size: 16px; color: var(--text-muted); max-width: 520px; margin: 0 auto; }

/* ─── Programs Grid ─────────────────────────────────────────────────────────── */
.programs-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.program-card {
  background: #fff; border-radius: var(--radius); padding: 24px;
  border: 1.5px solid var(--border); transition: all .25s;
  display: flex; flex-direction: column; gap: 14px;
}
.program-card:hover { border-color: var(--primary); box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.program-card-header { display: flex; align-items: center; gap: 14px; }
.program-icon {
  width: 56px; height: 56px; border-radius: 14px;
  background: var(--bg); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0; overflow: hidden; padding: 6px;
}
.program-icon img { width: 100%; height: 100%; object-fit: contain; }
.program-name { font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 700; font-size: 16px; margin-bottom: 5px; }
.program-desc { font-size: 13px; color: var(--text-muted); line-height: 1.55; flex: 1; }
.program-size { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--text-muted); font-weight: 500; }
.program-size svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 2; }
.download-btn { width: 100%; justify-content: center; margin-top: auto; }

/* ─── Trust Banner ──────────────────────────────────────────────────────────── */
.trust-banner {
  background: linear-gradient(135deg, var(--primary), #1e1b4b);
  color: #fff; padding: 64px 0; text-align: center;
}
.trust-banner h2 { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 28px; font-weight: 800; margin-bottom: 12px; }
.trust-banner p { font-size: 16px; color: rgba(255,255,255,0.75); max-width: 560px; margin: 0 auto 20px; }

/* ─── Footer ────────────────────────────────────────────────────────────────── */
.site-footer { background: #0f172a; color: rgba(255,255,255,0.7); padding: 60px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-brand-desc { font-size: 13px; color: rgba(255,255,255,0.45); margin-top: 14px; line-height: 1.6; max-width: 280px; }
.footer-col-title { font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 700; font-size: 13px; color: rgba(255,255,255,0.9); text-transform: uppercase; letter-spacing: .5px; margin-bottom: 16px; }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: 13px; color: rgba(255,255,255,0.5); transition: color .2s; }
.footer-links a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding-top: 24px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.footer-bottom p { font-size: 12px; color: rgba(255,255,255,0.35); }

/* ─── Legal Pages ───────────────────────────────────────────────────────────── */
.legal-page { padding: 60px 0 80px; }
.legal-header { display: flex; align-items: center; gap: 20px; margin-bottom: 48px; padding-bottom: 32px; border-bottom: 1px solid var(--border); }
.legal-icon {
  width: 60px; height: 60px; border-radius: 16px;
  background: var(--primary-light); display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.legal-icon svg { width: 28px; height: 28px; fill: none; stroke: var(--primary); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.legal-title { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 32px; font-weight: 800; }
.legal-date { font-size: 14px; color: var(--text-muted); margin-top: 4px; }
.legal-section { background: #fff; border-radius: var(--radius); padding: 28px 32px; margin-bottom: 16px; border: 1px solid var(--border); }
.legal-section h2 { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 18px; font-weight: 700; margin-bottom: 12px; color: var(--text); }
.legal-section p { font-size: 14px; color: var(--text-muted); line-height: 1.7; }
.legal-section ul { margin-top: 10px; padding-left: 20px; list-style: disc; }
.legal-section ul li { font-size: 14px; color: var(--text-muted); margin-bottom: 6px; }

/* ─── Contact ───────────────────────────────────────────────────────────────── */
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 32px; }
.contact-info { display: flex; flex-direction: column; gap: 16px; }
.contact-card {
  background: #fff; border-radius: var(--radius-sm); padding: 20px;
  border: 1px solid var(--border); display: flex; align-items: flex-start; gap: 14px;
}
.contact-card-icon {
  width: 44px; height: 44px; border-radius: 10px;
  background: var(--primary-light); display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.contact-card-icon svg { width: 20px; height: 20px; fill: none; stroke: var(--primary); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.contact-card-title { font-weight: 600; font-size: 13px; color: var(--text-muted); margin-bottom: 2px; }
.contact-card-val { font-weight: 700; font-size: 14px; color: var(--text); }
.contact-card-sub { font-size: 12px; color: var(--text-muted); margin-top: 2px; }
.contact-form-card { background: #fff; border-radius: var(--radius); padding: 32px; border: 1px solid var(--border); }

/* ─── Forms ─────────────────────────────────────────────────────────────────── */
.form-group { margin-bottom: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.label { display: block; font-size: 13px; font-weight: 600; color: var(--text); margin-bottom: 6px; }
.input {
  width: 100%; padding: 10px 14px; border: 1.5px solid var(--border);
  border-radius: 10px; font-size: 14px; font-family: 'Inter', sans-serif;
  color: var(--text); background: #fff; transition: border-color .2s, box-shadow .2s;
  outline: none;
}
.input:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(59,79,216,0.1); }
textarea.input { min-height: 120px; resize: vertical; }
select.input { cursor: pointer; }
.password-wrapper { position: relative; }
.password-toggle {
  position: absolute; right: 12px; top: 50%; transform: translateY(-50%);
  background: none; border: none; cursor: pointer; color: var(--text-muted); padding: 4px;
}
.password-toggle svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ─── Admin Login ───────────────────────────────────────────────────────────── */
.admin-login-page {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 100%); padding: 24px;
}
.login-card { background: #fff; border-radius: 24px; width: 100%; max-width: 420px; overflow: hidden; box-shadow: 0 24px 80px rgba(0,0,0,0.35); }
.login-card-top { height: 6px; background: linear-gradient(90deg, var(--primary), var(--accent)); }
.login-card-body { padding: 36px; }
.login-logo { text-align: center; margin-bottom: 28px; }
.login-logo-icon {
  width: 60px; height: 60px; border-radius: 16px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  display: flex; align-items: center; justify-content: center; margin: 0 auto 12px;
}
.login-logo-icon svg { width: 28px; height: 28px; }
.login-title { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 22px; font-weight: 800; color: var(--text); }
.login-title span { color: var(--primary); }
.login-subtitle { font-size: 13px; color: var(--text-muted); margin-top: 4px; }
.login-security {
  display: flex; align-items: center; gap: 8px;
  background: #f0fdf4; border: 1px solid #bbf7d0; border-radius: 10px;
  padding: 10px 14px; margin-bottom: 24px;
}
.login-security svg { width: 16px; height: 16px; fill: none; stroke: #16a34a; stroke-width: 2; flex-shrink: 0; stroke-linecap: round; stroke-linejoin: round; }
.login-security p { font-size: 12px; color: #166534; font-weight: 500; }
.error-msg { display: none; background: #fef2f2; border: 1px solid #fecaca; color: #dc2626; font-size: 13px; font-weight: 500; padding: 10px 14px; border-radius: 10px; margin-bottom: 18px; }
.login-card-footer { padding: 16px 36px; background: var(--bg); border-top: 1px solid var(--border); text-align: center; font-size: 12px; color: var(--text-muted); }

/* ─── Admin Dashboard ───────────────────────────────────────────────────────── */
.admin-page { min-height: 100vh; background: var(--bg); }
.admin-header {
  background: linear-gradient(135deg, #0f172a, #1e1b4b);
  padding: 0; position: sticky; top: 0; z-index: 100;
}
.admin-header .container { display: flex; align-items: center; gap: 12px; height: 60px; }
.admin-header-left { display: flex; align-items: center; gap: 10px; flex: 1; }
.admin-header-title { font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 800; font-size: 16px; color: #fff; }
.admin-header-sub { font-size: 12px; color: rgba(255,255,255,0.4); margin-left: 4px; }
.admin-header-right { display: flex; align-items: center; gap: 8px; }
.admin-content { padding: 32px 0 60px; }
.admin-page-title { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 26px; font-weight: 800; margin-bottom: 4px; }
.admin-page-sub { font-size: 14px; color: var(--text-muted); margin-bottom: 28px; }

/* Stats cards */
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; margin-bottom: 28px; }
.stat-card { background: #fff; border-radius: var(--radius-sm); padding: 20px; border: 1px solid var(--border); display: flex; align-items: center; gap: 14px; }
.stat-icon { width: 48px; height: 48px; border-radius: 12px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.stat-icon svg { width: 22px; height: 22px; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.stat-val { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 26px; font-weight: 800; color: var(--text); }
.stat-label { font-size: 12px; color: var(--text-muted); font-weight: 500; }

/* Tabs */
.tabs { display: flex; gap: 4px; background: #fff; border-radius: 12px; padding: 4px; border: 1px solid var(--border); margin-bottom: 20px; width: fit-content; }
.tab-btn {
  display: flex; align-items: center; gap: 6px;
  padding: 8px 18px; border-radius: 9px; font-size: 13px; font-weight: 600;
  cursor: pointer; border: none; background: transparent; color: var(--text-muted); transition: all .2s;
}
.tab-btn svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.tab-btn.active { background: var(--primary); color: #fff; }
.tab-btn:hover:not(.active) { background: var(--bg); color: var(--text); }
.tab-content { display: none; }
.tab-content.active { display: block; }

/* Section toolbar */
.section-toolbar { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-bottom: 16px; }
.section-toolbar h2 { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 18px; font-weight: 800; }

/* Programs admin grid */
.programs-admin-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 20px; }
.program-admin-card { background: #fff; border-radius: var(--radius-sm); padding: 22px; border: 1.5px solid var(--border); display: flex; flex-direction: column; gap: 14px; }
.program-admin-header { display: flex; align-items: center; justify-content: space-between; }
.program-admin-info { display: flex; align-items: center; gap: 12px; }
.program-admin-icon { width: 44px; height: 44px; border-radius: 10px; background: var(--bg); border: 1px solid var(--border); overflow: hidden; padding: 4px; flex-shrink: 0; }
.program-admin-icon img { width: 100%; height: 100%; object-fit: contain; }
.program-admin-name { font-weight: 700; font-size: 14px; }
.program-admin-cat { font-size: 12px; color: var(--text-muted); }
.program-original-url { font-size: 11px; color: var(--text-muted); background: var(--bg); padding: 6px 10px; border-radius: 7px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* Toggle */
.toggle-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.toggle-label { font-size: 13px; font-weight: 600; }
.toggle-label.on { color: #16a34a; }
.toggle-label.off { color: var(--text-muted); }
.toggle { position: relative; display: inline-block; width: 44px; height: 24px; flex-shrink: 0; }
.toggle input { opacity: 0; width: 0; height: 0; }
.toggle-slider {
  position: absolute; cursor: pointer; inset: 0;
  background: #cbd5e1; border-radius: 24px; transition: .3s;
}
.toggle-slider::before {
  content: ''; position: absolute; width: 18px; height: 18px;
  left: 3px; bottom: 3px; background: #fff; border-radius: 50%; transition: .3s;
  box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}
.toggle input:checked + .toggle-slider { background: var(--success); }
.toggle input:checked + .toggle-slider::before { transform: translateX(20px); }
.save-btn-row { display: flex; justify-content: flex-end; }

/* Table */
.table-card { background: #fff; border-radius: var(--radius-sm); border: 1px solid var(--border); overflow: hidden; }
.table-card table { width: 100%; border-collapse: collapse; }
.table-card th { background: var(--bg); font-size: 12px; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: .4px; padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--border); }
.table-card td { padding: 12px 16px; font-size: 13px; border-bottom: 1px solid #f1f5f9; vertical-align: middle; }
.table-card tr:last-child td { border-bottom: none; }
.table-card tr:hover td { background: #fafafa; }
.table-footer { padding: 10px 16px; font-size: 12px; color: var(--text-muted); background: var(--bg); border-top: 1px solid var(--border); }
.empty-state { text-align: center; color: var(--text-muted); padding: 32px; font-size: 14px; }

/* Bar chart */
.bar-chart { display: flex; flex-direction: column; gap: 14px; }
.bar-item {}
.bar-header { display: flex; justify-content: space-between; margin-bottom: 5px; }
.bar-name { font-size: 13px; font-weight: 600; display: flex; align-items: center; gap: 6px; }
.bar-rank { width: 20px; height: 20px; border-radius: 50%; background: var(--primary-light); color: var(--primary); font-size: 11px; font-weight: 700; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.bar-count { font-size: 12px; color: var(--text-muted); font-weight: 500; }
.bar-track { background: var(--bg); border-radius: 4px; height: 8px; overflow: hidden; }
.bar-fill { height: 100%; background: linear-gradient(90deg, var(--primary), var(--accent)); border-radius: 4px; transition: width .6s ease; }
.clicks-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 24px; }

/* ─── Spinner ───────────────────────────────────────────────────────────────── */
.spinner {
  width: 20px; height: 20px; border-radius: 50%;
  border: 2.5px solid rgba(255,255,255,0.3);
  border-top-color: #fff; animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ─── Toast ─────────────────────────────────────────────────────────────────── */
.toast { position: fixed; bottom: 24px; right: 24px; z-index: 9999; display: flex; flex-direction: column; gap: 8px; }
.toast-item {
  display: flex; align-items: center; gap: 8px;
  background: #fff; border-radius: 10px; padding: 12px 18px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15); font-size: 14px; font-weight: 500;
  border-left: 3px solid var(--success); animation: slideIn .3s ease;
}
.toast-item.error { border-left-color: var(--danger); }
@keyframes slideIn { from { opacity:0; transform: translateX(20px); } to { opacity:1; transform: translateX(0); } }
@keyframes fadeOut { to { opacity:0; transform: translateX(20px); } }

/* ─── Modal ─────────────────────────────────────────────────────────────────── */
.modal-overlay {
  display: none; position: fixed; inset: 0; z-index: 1000;
  background: rgba(0,0,0,0.5); backdrop-filter: blur(4px);
  align-items: center; justify-content: center;
}
.modal-overlay.open { display: flex; }
.modal-box { background: #fff; border-radius: 24px; padding: 36px; max-width: 420px; width: 90%; text-align: center; box-shadow: 0 24px 80px rgba(0,0,0,0.25); }

/* ─── Responsive ────────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .hero { padding: 64px 0 56px; }
  .hero h1 { font-size: 32px; }
  .hero-stats { gap: 28px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .contact-grid { grid-template-columns: 1fr; }
  .clicks-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .programs-admin-grid { grid-template-columns: 1fr; }
  .tabs { width: 100%; overflow-x: auto; }
}
@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .hero-btns { flex-direction: column; align-items: center; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
}
