/* ═══════════════════════════════════════════════════════
   Sendrya Digital Academy — Premium CSS
   Color: Navy #0a1628 / Gold #c9a227 / White
   Font: Inter (UI) + Playfair Display (Headings)
   ═══════════════════════════════════════════════════════ */

:root {
    --navy-900: #050d1a;
    --navy-800: #0a1628;
    --navy-700: #0f2038;
    --navy-600: #162d4d;
    --navy-500: #1e3a5f;
    --gold-400: #e8d48b;
    --gold-500: #c9a227;
    --gold-600: #b8921f;
    --gold-700: #9a7a1a;
    --white: #ffffff;
    --white-90: rgba(255,255,255,0.9);
    --white-70: rgba(255,255,255,0.7);
    --white-50: rgba(255,255,255,0.5);
    --white-20: rgba(255,255,255,0.2);
    --white-10: rgba(255,255,255,0.1);
    --white-05: rgba(255,255,255,0.05);
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --radius: 12px;
    --radius-lg: 20px;
    --radius-full: 9999px;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 40px rgba(0,0,0,0.15);
    --shadow-gold: 0 4px 30px rgba(201,162,39,0.3);
    --transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
}

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

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--gray-800);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

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

.gold { color: var(--gold-500); }
.text-white { color: var(--white); }
.text-white-muted { color: var(--white-70); }
.required { color: #ef4444; }
.optional { color: var(--gray-500); font-weight: 400; font-size: 0.85em; }

/* ─── Navigation ─────────────────────────────────── */
.nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    padding: 16px 0;
    transition: var(--transition);
    background: transparent;
}
.nav.scrolled {
    background: rgba(10,22,40,0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 10px 0;
    box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}
.nav-container {
    max-width: 1200px; margin: 0 auto; padding: 0 24px;
    display: flex; align-items: center; justify-content: space-between;
}
.nav-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo-icon {
    width: 40px; height: 40px;
    background: linear-gradient(135deg, var(--gold-500), var(--gold-400));
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    font-family: 'Playfair Display', serif;
    font-weight: 800; font-size: 22px; color: var(--navy-800);
}
.logo-text {
    font-size: 18px; font-weight: 700; color: var(--white);
    letter-spacing: -0.3px;
}
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a {
    text-decoration: none; color: var(--white-70);
    font-size: 14px; font-weight: 500;
    transition: var(--transition);
}
.nav-links a:hover { color: var(--white); }
.nav-cta {
    background: linear-gradient(135deg, var(--gold-500), var(--gold-600)) !important;
    color: var(--navy-800) !important;
    padding: 10px 24px !important;
    border-radius: var(--radius-full) !important;
    font-weight: 600 !important;
}
.nav-cta:hover { box-shadow: var(--shadow-gold); transform: translateY(-1px); }
.nav-toggle {
    display: none; background: none; border: none; cursor: pointer;
    flex-direction: column; gap: 5px; padding: 4px;
}
.nav-toggle span {
    display: block; width: 24px; height: 2px;
    background: var(--white); border-radius: 2px;
    transition: var(--transition);
}

/* ─── Hero ────────────────────────────────────────── */
.hero {
    position: relative; min-height: 100vh;
    display: flex; align-items: center; justify-content: center;
    overflow: hidden;
}
.hero-bg {
    position: absolute; inset: 0; z-index: 0;
}
.hero-gradient {
    position: absolute; inset: 0;
    background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-700) 50%, var(--navy-600) 100%);
}
.hero-particles {
    position: absolute; inset: 0;
    background-image: radial-gradient(circle at 20% 50%, rgba(201,162,39,0.08) 0%, transparent 50%),
                      radial-gradient(circle at 80% 20%, rgba(201,162,39,0.05) 0%, transparent 40%),
                      radial-gradient(circle at 50% 80%, rgba(30,58,95,0.4) 0%, transparent 50%);
}
.hero-content {
    position: relative; z-index: 1;
    text-align: center; padding: 120px 24px 80px;
    max-width: 900px;
}
.hero-badge {
    display: inline-flex; align-items: center; gap: 8px;
    background: var(--white-10);
    border: 1px solid var(--white-20);
    backdrop-filter: blur(10px);
    padding: 8px 20px;
    border-radius: var(--radius-full);
    font-size: 13px; font-weight: 500;
    color: var(--gold-400);
    margin-bottom: 32px;
}
.badge-dot {
    width: 8px; height: 8px;
    background: #10b981;
    border-radius: 50%;
    animation: pulse-dot 2s ease infinite;
}
@keyframes pulse-dot {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}
.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    color: var(--white);
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -1px;
}
.text-gradient {
    background: linear-gradient(135deg, var(--gold-400), var(--gold-500), var(--gold-400));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--white-70);
    margin-bottom: 40px;
    line-height: 1.7;
}
.hero-subtitle strong { color: var(--gold-400); font-weight: 600; }
.hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-bottom: 60px; }
.hero-stats {
    display: flex; align-items: center; justify-content: center;
    gap: 32px; flex-wrap: wrap;
}
.stat { text-align: center; }
.stat-value {
    display: block;
    font-family: 'Playfair Display', serif;
    font-size: 2rem; font-weight: 700;
    color: var(--gold-400);
}
.stat-label { font-size: 0.85rem; color: var(--white-50); margin-top: 4px; }
.stat-divider { width: 1px; height: 40px; background: var(--white-20); }

.hero-scroll {
    position: absolute; bottom: 32px; left: 50%;
    transform: translateX(-50%);
    display: flex; flex-direction: column; align-items: center; gap: 8px;
    color: var(--white-50); font-size: 12px; letter-spacing: 2px;
    text-transform: uppercase;
}
.scroll-line {
    width: 1px; height: 40px;
    background: linear-gradient(to bottom, var(--white-50), transparent);
    animation: scroll-anim 2s ease infinite;
}
@keyframes scroll-anim {
    0% { opacity: 0; transform: scaleY(0); transform-origin: top; }
    50% { opacity: 1; transform: scaleY(1); transform-origin: top; }
    100% { opacity: 0; transform: scaleY(1); transform-origin: bottom; }
}

/* ─── Buttons ─────────────────────────────────────── */
.btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 12px 28px;
    border-radius: var(--radius-full);
    font-size: 15px; font-weight: 600;
    text-decoration: none; border: none; cursor: pointer;
    transition: var(--transition);
    line-height: 1.4;
}
.btn-primary {
    background: linear-gradient(135deg, var(--gold-500), var(--gold-600));
    color: var(--navy-800);
}
.btn-primary:hover {
    box-shadow: var(--shadow-gold);
    transform: translateY(-2px);
}
.btn-outline {
    background: transparent;
    border: 1.5px solid var(--white-20);
    color: var(--white);
}
.btn-outline:hover {
    background: var(--white-10);
    border-color: var(--white-50);
}
.btn-lg { padding: 16px 36px; font-size: 16px; }
.btn-full { width: 100%; justify-content: center; }

/* ─── Urgency Banner ─────────────────────────────── */
.urgency-banner {
    background: linear-gradient(90deg, var(--gold-700), var(--gold-500), var(--gold-700));
    padding: 14px 0;
}
.urgency-content {
    display: flex; align-items: center; justify-content: center; gap: 10px;
    font-size: 15px; color: var(--navy-800); font-weight: 500;
    text-align: center;
}
.urgency-icon { font-size: 18px; }

/* ─── Sections ────────────────────────────────────── */
.section { padding: 100px 0; }
.section-light { background: var(--white); }
.section-dark { background: var(--navy-800); }
.section-gradient {
    background: linear-gradient(135deg, var(--navy-900), var(--navy-700));
}
.section-header { text-align: center; margin-bottom: 64px; }
.section-tag {
    display: inline-block;
    font-size: 13px; font-weight: 600;
    text-transform: uppercase; letter-spacing: 3px;
    color: var(--gold-500);
    margin-bottom: 16px;
}
.section-tag-light { color: var(--gold-400); }
.section-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 16px;
}
.section-dark .section-title { color: var(--white); }
.section-desc {
    font-size: 1.1rem; color: var(--gray-500);
    max-width: 600px; margin: 0 auto;
}

/* ─── Modules Grid ────────────────────────────────── */
.modules-grid {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.module-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    transition: var(--transition);
    position: relative; overflow: hidden;
}
.module-card::before {
    content: '';
    position: absolute; top: 0; left: 0; right: 0; height: 3px;
    background: linear-gradient(90deg, var(--gold-500), var(--gold-400));
    opacity: 0; transition: var(--transition);
}
.module-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--gold-500);
}
.module-card:hover::before { opacity: 1; }
.module-icon {
    width: 56px; height: 56px;
    background: linear-gradient(135deg, var(--navy-800), var(--navy-700));
    border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 20px; color: var(--gold-400);
}
.module-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem; font-weight: 700;
    margin-bottom: 12px; color: var(--navy-800);
}
.module-card p { font-size: 0.95rem; color: var(--gray-500); line-height: 1.6; }
.module-duration {
    display: inline-block; margin-top: 16px;
    font-size: 0.8rem; font-weight: 600;
    color: var(--gold-600);
    background: rgba(201,162,39,0.1);
    padding: 4px 12px; border-radius: var(--radius-full);
}

/* ─── Advantages ──────────────────────────────────── */
.advantages-grid {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.advantage-card {
    background: var(--white-05);
    border: 1px solid var(--white-10);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    transition: var(--transition);
}
.advantage-card:hover {
    background: var(--white-10);
    border-color: var(--gold-500);
    transform: translateY(-4px);
}
.advantage-number {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem; font-weight: 800;
    color: var(--gold-500); opacity: 0.3;
    margin-bottom: 12px; line-height: 1;
}
.advantage-card:hover .advantage-number { opacity: 0.7; }
.advantage-card h3 {
    font-size: 1.15rem; font-weight: 700;
    color: var(--white); margin-bottom: 12px;
}
.advantage-card p {
    font-size: 0.95rem; color: var(--white-70);
    line-height: 1.6;
}

/* ─── Process Timeline ────────────────────────────── */
.process-timeline {
    max-width: 700px; margin: 0 auto;
    position: relative;
}
.process-timeline::before {
    content: '';
    position: absolute; left: 28px; top: 0; bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--gold-500), var(--gold-400), transparent);
}
.process-step {
    display: flex; gap: 24px; align-items: flex-start;
    margin-bottom: 40px; position: relative;
}
.process-step:last-child { margin-bottom: 0; }
.step-number {
    width: 56px; height: 56px; flex-shrink: 0;
    background: linear-gradient(135deg, var(--gold-500), var(--gold-600));
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem; font-weight: 800;
    color: var(--navy-800);
    position: relative; z-index: 1;
}
.step-content { padding-top: 10px; }
.step-content h3 {
    font-size: 1.15rem; font-weight: 700;
    color: var(--navy-800); margin-bottom: 6px;
}
.step-content p { font-size: 0.95rem; color: var(--gray-500); }

/* ─── Testimonials ────────────────────────────────── */
.testimonials-grid {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.testimonial-card {
    background: var(--white-05);
    border: 1px solid var(--white-10);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: var(--transition);
}
.testimonial-card:hover {
    background: var(--white-10);
    border-color: var(--white-20);
    transform: translateY(-4px);
}
.testimonial-stars {
    color: var(--gold-400); font-size: 1.1rem;
    margin-bottom: 16px; letter-spacing: 2px;
}
.testimonial-content {
    font-size: 0.95rem; color: var(--white-70);
    line-height: 1.7; margin-bottom: 24px;
    font-style: italic;
}
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.author-avatar {
    width: 44px; height: 44px;
    background: linear-gradient(135deg, var(--gold-500), var(--gold-600));
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: 1.1rem; color: var(--navy-800);
}
.author-name { font-size: 0.95rem; font-weight: 600; color: var(--white); }
.author-role { font-size: 0.8rem; color: var(--white-50); }

/* ─── Reassurance ─────────────────────────────────── */
.reassurance-grid {
    display: grid; grid-template-columns: repeat(4, 1fr);
    gap: 32px; text-align: center;
}
.reassurance-item { padding: 24px; }
.reassurance-icon { font-size: 2.5rem; margin-bottom: 12px; }
.reassurance-value {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem; font-weight: 800;
    color: var(--navy-800); margin-bottom: 8px;
}
.reassurance-label {
    font-size: 0.9rem; color: var(--gray-500);
    font-weight: 500;
}

/* ─── Form ────────────────────────────────────────── */
.form-container {
    max-width: 720px; margin: 0 auto;
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 48px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { margin-bottom: 20px; }
.form-group label {
    display: block; font-size: 0.9rem; font-weight: 600;
    color: var(--gray-700); margin-bottom: 8px;
}
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%; padding: 14px 16px;
    border: 1.5px solid var(--gray-200);
    border-radius: var(--radius);
    font-size: 0.95rem; font-family: inherit;
    color: var(--gray-800);
    background: var(--gray-50);
    transition: var(--transition);
    outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--gold-500);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(201,162,39,0.15);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--gray-300); }
.form-group select { cursor: pointer; }
.form-group textarea { resize: vertical; min-height: 100px; }
.form-checkbox {
    display: flex; align-items: flex-start; gap: 10px;
}
.form-checkbox input[type="checkbox"] {
    width: 18px; height: 18px; margin-top: 2px;
    accent-color: var(--gold-500); cursor: pointer;
    flex-shrink: 0;
}
.form-checkbox label {
    font-size: 0.85rem; color: var(--gray-500); font-weight: 400; margin-bottom: 0;
}
.link-gold { color: var(--gold-600); text-decoration: underline; }
.form-error {
    color: #ef4444; font-size: 0.85rem; margin-top: 8px;
    display: none;
}
.form-error.visible { display: block; }

/* Success state */
.form-success {
    text-align: center; padding: 40px 20px;
}
.success-icon {
    width: 80px; height: 80px; margin: 0 auto 24px;
    background: linear-gradient(135deg, #10b981, #059669);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 2rem; color: white; font-weight: 700;
}
.form-success h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem; color: var(--navy-800);
    margin-bottom: 12px;
}
.form-success p { color: var(--gray-500); margin-bottom: 16px; }
.referral-info strong {
    background: var(--gray-100); padding: 4px 12px;
    border-radius: 6px; font-family: monospace;
    color: var(--gold-600); font-size: 1rem;
}
.referral-note { font-size: 0.85rem; }
.form-success .btn-outline {
    color: var(--navy-800);
    border-color: var(--navy-800);
    margin-top: 8px;
}

/* ─── Footer ──────────────────────────────────────── */
.footer {
    background: var(--navy-900); padding: 60px 0 30px;
    border-top: 1px solid var(--white-10);
}
.footer-content {
    display: flex; align-items: center;
    justify-content: space-between;
    margin-bottom: 40px;
}
.footer-brand { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.footer-tagline {
    width: 100%; margin-top: 8px;
    font-size: 0.9rem; color: var(--white-50);
}
.footer-links { display: flex; gap: 28px; }
.footer-links a {
    text-decoration: none; color: var(--white-50);
    font-size: 0.9rem; transition: var(--transition);
}
.footer-links a:hover { color: var(--gold-400); }
.footer-bottom {
    border-top: 1px solid var(--white-10);
    padding-top: 24px; text-align: center;
}
.footer-bottom p { font-size: 0.8rem; color: var(--white-30, rgba(255,255,255,0.3)); }

/* ─── Animations ──────────────────────────────────── */
.animate-fade-up {
    opacity: 0; transform: translateY(30px);
    animation: fadeUp 0.8s ease forwards;
}
.delay-1 { animation-delay: 0.15s; }
.delay-2 { animation-delay: 0.3s; }
.delay-3 { animation-delay: 0.45s; }
.delay-4 { animation-delay: 0.6s; }

@keyframes fadeUp {
    to { opacity: 1; transform: translateY(0); }
}

[data-scroll] {
    opacity: 0; transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
[data-scroll].visible {
    opacity: 1; transform: translateY(0);
}

/* ─── Toast Notification ──────────────────────────── */
.toast {
    position: fixed; top: 100px; right: 24px; z-index: 9999;
    padding: 16px 24px; border-radius: var(--radius);
    color: white; font-weight: 500; font-size: 0.95rem;
    box-shadow: var(--shadow-lg);
    transform: translateX(120%);
    transition: transform 0.4s cubic-bezier(0.4,0,0.2,1);
}
.toast.show { transform: translateX(0); }
.toast.success { background: #059669; }
.toast.error { background: #dc2626; }

/* ─── Mobile Responsive ───────────────────────────── */
@media (max-width: 1024px) {
    .modules-grid, .advantages-grid, .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .reassurance-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .nav-links { 
        display: none; position: fixed;
        top: 0; left: 0; right: 0; bottom: 0;
        background: rgba(10,22,40,0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center; align-items: center;
        gap: 24px;
    }
    .nav-links.open { display: flex; }
    .nav-links a { font-size: 1.2rem; color: var(--white); }
    .nav-toggle { display: flex; }
    .nav-toggle.open span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    .nav-toggle.open span:nth-child(2) { opacity: 0; }
    .nav-toggle.open span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }
    
    .hero-content { padding: 100px 20px 60px; }
    .hero-stats { gap: 20px; }
    .stat-value { font-size: 1.5rem; }
    .stat-divider { display: none; }
    .hero-scroll { display: none; }
    
    .section { padding: 70px 0; }
    .section-header { margin-bottom: 40px; }
    
    .modules-grid, .advantages-grid, .testimonials-grid {
        grid-template-columns: 1fr;
    }
    .reassurance-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
    .reassurance-value { font-size: 1.6rem; }
    
    .form-container { padding: 28px 20px; }
    .form-grid { grid-template-columns: 1fr; gap: 0; }
    
    .hero-actions { flex-direction: column; align-items: center; }
    .btn-lg { padding: 14px 28px; font-size: 15px; }
    
    .footer-content { flex-direction: column; gap: 24px; text-align: center; }
    .footer-brand { justify-content: center; }
    .footer-tagline { text-align: center; }
    .footer-links { flex-wrap: wrap; justify-content: center; }
}

@media (max-width: 480px) {
    .reassurance-grid { grid-template-columns: 1fr; }
    .hero-badge { font-size: 11px; padding: 6px 14px; }
}

/* ─── Admin Styles ────────────────────────────────── */
.admin-layout {
    min-height: 100vh;
    background: var(--gray-50);
}
.admin-sidebar {
    position: fixed; top: 0; left: 0; bottom: 0;
    width: 260px; background: var(--navy-800);
    padding: 24px 0; z-index: 100;
    overflow-y: auto;
}
.admin-sidebar .nav-logo {
    padding: 0 24px; margin-bottom: 32px;
}
.admin-nav { list-style: none; }
.admin-nav a {
    display: flex; align-items: center; gap: 12px;
    padding: 12px 24px;
    color: var(--white-70); text-decoration: none;
    font-size: 0.95rem; font-weight: 500;
    transition: var(--transition);
}
.admin-nav a:hover, .admin-nav a.active {
    color: var(--white); background: var(--white-05);
}
.admin-nav a.active { border-right: 3px solid var(--gold-500); }
.admin-nav svg {
    width: 20px; height: 20px; stroke: currentColor;
    fill: none; stroke-width: 1.5;
}

.admin-main {
    margin-left: 260px; padding: 32px;
    min-height: 100vh;
}
.admin-header {
    display: flex; align-items: center;
    justify-content: space-between;
    margin-bottom: 32px;
}
.admin-header h1 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem; font-weight: 700;
    color: var(--navy-800);
}

/* Stats Cards */
.stats-grid {
    display: grid; grid-template-columns: repeat(5, 1fr);
    gap: 16px; margin-bottom: 32px;
}
.stat-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 24px;
    border: 1px solid var(--gray-200);
}
.stat-card .label {
    font-size: 0.8rem; font-weight: 600;
    text-transform: uppercase; letter-spacing: 1px;
    color: var(--gray-500); margin-bottom: 8px;
}
.stat-card .value {
    font-family: 'Playfair Display', serif;
    font-size: 2rem; font-weight: 700;
    color: var(--navy-800);
}
.stat-card .sub {
    font-size: 0.8rem; color: var(--gray-500); margin-top: 4px;
}

/* Admin Table */
.admin-card {
    background: var(--white);
    border-radius: var(--radius);
    border: 1px solid var(--gray-200);
    overflow: hidden;
}
.admin-card-header {
    padding: 20px 24px;
    border-bottom: 1px solid var(--gray-200);
    display: flex; align-items: center;
    justify-content: space-between;
}
.admin-card-header h2 {
    font-size: 1.1rem; font-weight: 700; color: var(--navy-800);
}
.admin-table {
    width: 100%; border-collapse: collapse;
}
.admin-table th {
    text-align: left; padding: 12px 20px;
    font-size: 0.8rem; font-weight: 600;
    text-transform: uppercase; letter-spacing: 1px;
    color: var(--gray-500);
    background: var(--gray-50);
    border-bottom: 1px solid var(--gray-200);
}
.admin-table td {
    padding: 14px 20px; font-size: 0.9rem;
    border-bottom: 1px solid var(--gray-100);
    color: var(--gray-700);
}
.admin-table tr:hover td { background: var(--gray-50); }

.status-badge {
    display: inline-block; padding: 4px 12px;
    border-radius: var(--radius-full);
    font-size: 0.75rem; font-weight: 600;
}
.status-new { background: #dbeafe; color: #1d4ed8; }
.status-reviewing { background: #fef3c7; color: #b45309; }
.status-accepted { background: #d1fae5; color: #065f46; }
.status-rejected { background: #fee2e2; color: #991b1b; }

/* Admin Filters */
.admin-filters {
    display: flex; gap: 12px; margin-bottom: 24px;
    flex-wrap: wrap;
}
.filter-btn {
    padding: 8px 20px; border-radius: var(--radius-full);
    font-size: 0.85rem; font-weight: 500;
    border: 1.5px solid var(--gray-200);
    background: var(--white); color: var(--gray-600);
    cursor: pointer; transition: var(--transition);
    text-decoration: none;
}
.filter-btn:hover, .filter-btn.active {
    border-color: var(--gold-500);
    background: rgba(201,162,39,0.1);
    color: var(--gold-600);
}
.search-input {
    padding: 8px 16px; border-radius: var(--radius-full);
    border: 1.5px solid var(--gray-200);
    font-size: 0.85rem; outline: none;
    transition: var(--transition);
    min-width: 240px;
}
.search-input:focus { border-color: var(--gold-500); }

/* Admin Detail Modal */
.modal-overlay {
    position: fixed; inset: 0; z-index: 9999;
    background: rgba(0,0,0,0.5); backdrop-filter: blur(4px);
    display: none; align-items: center; justify-content: center;
}
.modal-overlay.open { display: flex; }
.modal {
    background: var(--white);
    border-radius: var(--radius-lg);
    max-width: 600px; width: 90%;
    max-height: 85vh; overflow-y: auto;
    padding: 36px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}
.modal h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem; margin-bottom: 24px;
}
.modal-field { margin-bottom: 16px; }
.modal-field .field-label {
    font-size: 0.8rem; font-weight: 600;
    text-transform: uppercase; letter-spacing: 1px;
    color: var(--gray-500); margin-bottom: 4px;
}
.modal-field .field-value {
    font-size: 0.95rem; color: var(--gray-800);
}
.modal-actions {
    display: flex; gap: 8px; margin-top: 24px; flex-wrap: wrap;
}
.modal-actions .btn {
    padding: 10px 20px; font-size: 0.85rem;
}
.btn-success { background: #059669; color: white; }
.btn-warning { background: #f59e0b; color: white; }
.btn-danger { background: #dc2626; color: white; }
.btn-secondary { background: var(--gray-200); color: var(--gray-700); }

/* Chart container */
.chart-container {
    background: var(--white);
    border-radius: var(--radius);
    border: 1px solid var(--gray-200);
    padding: 24px;
    margin-bottom: 32px;
}
.chart-container h3 {
    font-size: 1rem; font-weight: 700;
    color: var(--navy-800); margin-bottom: 16px;
}

/* Admin Settings */
.settings-grid {
    display: grid; grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}
.setting-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    padding: 28px;
}
.setting-card h3 {
    font-size: 1rem; font-weight: 700;
    color: var(--navy-800); margin-bottom: 16px;
}
.toggle-switch {
    position: relative; display: inline-block;
    width: 48px; height: 26px;
}
.toggle-switch input { opacity: 0; width: 0; height: 0; }
.toggle-slider {
    position: absolute; inset: 0; cursor: pointer;
    background: var(--gray-300); border-radius: 26px;
    transition: var(--transition);
}
.toggle-slider::before {
    content: '';
    position: absolute; height: 20px; width: 20px;
    left: 3px; bottom: 3px;
    background: white; border-radius: 50%;
    transition: var(--transition);
}
.toggle-switch input:checked + .toggle-slider { background: var(--gold-500); }
.toggle-switch input:checked + .toggle-slider::before { transform: translateX(22px); }

/* Admin responsive */
@media (max-width: 1024px) {
    .stats-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
    .admin-sidebar { display: none; }
    .admin-main { margin-left: 0; padding: 16px; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .settings-grid { grid-template-columns: 1fr; }
    .admin-table { font-size: 0.8rem; }
    .admin-table th, .admin-table td { padding: 10px 12px; }
}

/* ─── Candidate Space ─────────────────────────────── */
.auth-page {
    min-height: 100vh; display: flex;
    align-items: center; justify-content: center;
    background: linear-gradient(135deg, var(--navy-900), var(--navy-700));
    padding: 24px;
}
.auth-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 48px;
    max-width: 440px; width: 100%;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    text-align: center;
}
.auth-card h1 {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem; margin-bottom: 8px;
}
.auth-card p { color: var(--gray-500); margin-bottom: 28px; }
.auth-card .form-group { text-align: left; }
.auth-card .btn { margin-top: 8px; }
.flash-error {
    background: #fee2e2; color: #991b1b;
    padding: 10px 16px; border-radius: var(--radius);
    font-size: 0.9rem; margin-bottom: 16px;
}

.candidate-dashboard {
    max-width: 700px; margin: 0 auto; padding: 24px;
}
.candidate-status-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px; text-align: center;
    border: 1px solid var(--gray-200);
    box-shadow: var(--shadow-md);
    margin-bottom: 24px;
}
.candidate-status-card h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem; margin-bottom: 24px;
}
.status-display {
    display: inline-block;
    padding: 10px 28px;
    border-radius: var(--radius-full);
    font-size: 1rem; font-weight: 700;
    color: white;
    margin-bottom: 16px;
}
.candidate-info {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 32px;
    border: 1px solid var(--gray-200);
}
.candidate-info h3 { margin-bottom: 16px; }
.info-row {
    display: flex; justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid var(--gray-100);
}
.info-row:last-child { border-bottom: none; }
.info-label { font-weight: 600; color: var(--gray-500); font-size: 0.9rem; }
.info-value { color: var(--gray-800); font-size: 0.9rem; }

/* Maintenance Page */
.maintenance-page {
    min-height: 100vh; display: flex;
    align-items: center; justify-content: center;
    background: linear-gradient(135deg, var(--navy-900), var(--navy-700));
    text-align: center; padding: 24px;
}
.maintenance-content h1 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem; color: var(--white); margin-bottom: 16px;
}
.maintenance-content p {
    color: var(--white-70); font-size: 1.1rem;
}
.maintenance-icon { font-size: 4rem; margin-bottom: 24px; }

/* Admin mobile menu */
.admin-mobile-toggle {
    display: none; position: fixed;
    top: 16px; left: 16px; z-index: 200;
    background: var(--navy-800); color: white;
    border: none; padding: 10px; border-radius: 8px;
    cursor: pointer;
}
@media (max-width: 768px) {
    .admin-mobile-toggle { display: block; }
    .admin-sidebar.open { display: block; z-index: 150; }
}
