/* =========================================
   LearnHub LMS - Main Stylesheet
   Modern Dark Theme with Purple Accent
   ========================================= */

@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;500;600;700;800&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;1,9..40,300&display=swap');

/* ---- CSS Variables ---- */
:root {
    --accent: #818cf8;
    --accent-dark: #6366f1;
    --accent-light: #a5b4fc;
    --accent-glow: rgba(99, 102, 241, 0.25);

    --bg-base: #0a0a0f;
    --bg-surface: #111118;
    --bg-card: #16161f;
    --bg-elevated: #1e1e2a;
    --bg-hover: #252535;

    --border: rgba(255,255,255,0.07);
    --border-accent: rgba(99,102,241,0.4);

    --text-primary: #f1f1f5;
    --text-secondary: #9ca3af;
    --text-muted: #6b7280;

    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    --info: #06b6d4;

    --radius: 12px;
    --radius-lg: 18px;
    --radius-sm: 8px;
    --shadow: 0 4px 24px rgba(0,0,0,0.4);
    --shadow-card: 0 8px 32px rgba(0,0,0,0.5);

    --font-display: 'Syne', sans-serif;
    --font-body: 'DM Sans', sans-serif;

    --nav-height: 65px;
}

/* ---- Base ---- */
* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    background-color: var(--bg-base);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 0.95rem;
    line-height: 1.65;
    padding-top: var(--nav-height);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6, .navbar-brand {
    font-family: var(--font-display);
    font-weight: 700;
    color: var(--text-primary);
}

a { text-decoration: none; color: var(--accent-light); transition: color 0.2s; }
a:hover { color: var(--accent); }

/* ---- Scrollbar ---- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-surface); }
::-webkit-scrollbar-thumb { background: var(--bg-elevated); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--accent-dark); }

/* ---- Navbar ---- */
.lms-navbar {
    background: rgba(10, 10, 15, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    height: var(--nav-height);
    padding: 0;
    z-index: 1050;
    transition: background 0.3s;
}

.lms-navbar.scrolled {
    background: rgba(10,10,15,0.98);
    border-bottom-color: var(--border-accent);
}

/* Brand */
.navbar-brand {
    color: var(--text-primary) !important;
    font-size: 1.35rem;
    letter-spacing: -0.5px;
}
.brand-icon { color: var(--accent); margin-right: 6px; }
.brand-accent { color: var(--accent); }

/* Search */
.navbar-search { max-width: 380px; width: 100%; }
.search-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}
.search-icon {
    position: absolute;
    left: 12px;
    color: var(--text-muted);
    font-size: 0.85rem;
}
.search-input {
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    color: var(--text-primary);
    padding: 0.45rem 2.5rem 0.45rem 2.2rem;
    border-radius: 10px;
    font-size: 0.875rem;
    width: 100%;
    transition: all 0.2s;
}
.search-input:focus {
    background: var(--bg-hover);
    border-color: var(--border-accent);
    box-shadow: 0 0 0 3px var(--accent-glow);
    outline: none;
    color: var(--text-primary);
}
.search-input::placeholder { color: var(--text-muted); }
.search-shortcut {
    position: absolute;
    right: 10px;
    background: var(--bg-base);
    border: 1px solid var(--border);
    color: var(--text-muted);
    font-size: 0.7rem;
    padding: 1px 5px;
    border-radius: 4px;
}

/* Nav links */
.navbar-nav .nav-link {
    color: var(--text-secondary) !important;
    font-size: 0.875rem;
    font-weight: 500;
    padding: 0.4rem 0.75rem !important;
    border-radius: var(--radius-sm);
    transition: all 0.2s;
}
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--text-primary) !important;
    background: var(--bg-elevated);
}
.navbar-nav .nav-link.active { color: var(--accent-light) !important; }

/* Avatar */
.avatar-sm {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-dark), #8b5cf6);
    color: #fff;
    font-size: 0.8rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
}
.avatar-lg {
    width: 80px; height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-dark), #8b5cf6);
    color: #fff;
    font-size: 1.8rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
}

/* Notification badge */
.notification-badge {
    position: absolute;
    top: 2px; right: 2px;
    background: var(--danger);
    color: #fff;
    font-size: 0.6rem;
    font-weight: 700;
    width: 16px; height: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

/* Dropdown */
.lms-dropdown {
    background: var(--bg-card) !important;
    border: 1px solid var(--border) !important;
    border-radius: var(--radius) !important;
    min-width: 220px;
    box-shadow: var(--shadow-card) !important;
}
.lms-dropdown .dropdown-item {
    color: var(--text-secondary);
    font-size: 0.875rem;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm);
    margin: 1px 4px;
    transition: all 0.15s;
}
.lms-dropdown .dropdown-item:hover {
    background: var(--bg-elevated);
    color: var(--text-primary);
}
.dropdown-header-user { border-radius: var(--radius-sm); }
.badge-role {
    display: inline-block;
    background: var(--accent-glow);
    color: var(--accent-light);
    border: 1px solid var(--border-accent);
    font-size: 0.68rem;
    font-weight: 600;
    padding: 1px 8px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Notification dropdown */
.notification-dropdown {
    width: 320px;
    background: var(--bg-card) !important;
    border: 1px solid var(--border) !important;
    border-radius: var(--radius) !important;
    overflow: hidden;
}
.notification-header {
    background: var(--bg-elevated);
    border-bottom: 1px solid var(--border);
}
.notification-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 16px;
    color: var(--text-secondary);
    transition: background 0.15s;
    border-bottom: 1px solid var(--border);
}
.notification-item:hover { background: var(--bg-elevated); color: var(--text-primary); }
.notification-item.unread { background: rgba(99,102,241,0.05); }
.notif-icon {
    width: 36px; height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.notif-title { font-size: 0.85rem; font-weight: 500; color: var(--text-primary); }
.notif-time { font-size: 0.78rem; color: var(--text-muted); }

/* ---- Buttons ---- */
.btn-accent {
    background: var(--accent-dark);
    color: #fff;
    border: none;
    font-weight: 600;
    font-family: var(--font-display);
    border-radius: 10px;
    transition: all 0.2s;
}
.btn-accent:hover {
    background: var(--accent);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px var(--accent-glow);
}
.btn-outline-accent {
    border: 1px solid var(--border-accent);
    color: var(--accent-light);
    background: transparent;
    font-weight: 600;
    font-family: var(--font-display);
    border-radius: 10px;
    transition: all 0.2s;
}
.btn-outline-accent:hover {
    background: var(--accent-glow);
    border-color: var(--accent);
    color: var(--text-primary);
}
.btn-glass {
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--border);
    color: var(--text-primary);
    border-radius: 10px;
    font-weight: 500;
    transition: all 0.2s;
}
.btn-glass:hover {
    background: var(--bg-elevated);
    color: var(--text-primary);
    border-color: var(--border-accent);
}

/* ---- Cards ---- */
.lms-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}
.lms-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-card);
    border-color: var(--border-accent);
}
.lms-card-flat {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
}
.lms-surface {
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
}

/* ---- Course Cards ---- */
.course-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
}
.course-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.6);
    border-color: var(--border-accent);
}
.course-thumb {
    position: relative;
    height: 180px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--bg-elevated), var(--bg-hover));
}
.course-thumb-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}
.course-card:hover .course-thumb-img { transform: scale(1.05); }
.course-thumb-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--accent);
    background: linear-gradient(135deg, var(--bg-elevated), rgba(99,102,241,0.1));
}
.course-badge {
    position: absolute;
    top: 12px; left: 12px;
    background: rgba(10,10,15,0.85);
    backdrop-filter: blur(8px);
    border: 1px solid var(--border);
    color: var(--text-secondary);
    font-size: 0.7rem;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.course-price-badge {
    position: absolute;
    top: 12px; right: 12px;
    background: var(--accent-dark);
    color: #fff;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
    font-family: var(--font-display);
}
.course-body { padding: 1.25rem; flex: 1; display: flex; flex-direction: column; }
.course-category {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: var(--accent-light);
    margin-bottom: 0.5rem;
}
.course-title {
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.4;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-family: var(--font-display);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.course-instructor { font-size: 0.8rem; color: var(--text-muted); margin-bottom: 0.75rem; }
.course-meta {
    display: flex;
    gap: 12px;
    margin-bottom: 0.75rem;
    flex-wrap: wrap;
}
.course-meta-item {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.78rem;
    color: var(--text-muted);
}
.course-footer {
    margin-top: auto;
    padding-top: 0.75rem;
    border-top: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.stars { color: #f59e0b; font-size: 0.8rem; }
.rating-text { font-size: 0.78rem; color: var(--text-muted); }

/* ---- Hero Section ---- */
.lms-hero {
    position: relative;
    padding: 100px 0 80px;
    overflow: hidden;
}
.hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 50% -10%, rgba(99,102,241,0.15) 0%, transparent 70%),
        radial-gradient(ellipse 50% 40% at 80% 60%, rgba(139,92,246,0.1) 0%, transparent 60%);
    pointer-events: none;
}
.hero-grid-lines {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(99,102,241,0.1);
    border: 1px solid var(--border-accent);
    color: var(--accent-light);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.82rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    animation: fadeInDown 0.6s ease;
}
.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -1.5px;
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.6s ease 0.1s both;
}
.hero-title .highlight {
    background: linear-gradient(135deg, var(--accent), #a78bfa, #60a5fa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 540px;
    margin-bottom: 2rem;
    animation: fadeInUp 0.6s ease 0.2s both;
}
.hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    animation: fadeInUp 0.6s ease 0.3s both;
}
.hero-stats {
    display: flex;
    gap: 32px;
    margin-top: 3rem;
    flex-wrap: wrap;
    animation: fadeInUp 0.6s ease 0.4s both;
}
.hero-stat-num {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--text-primary);
    font-family: var(--font-display);
    line-height: 1;
}
.hero-stat-label { font-size: 0.8rem; color: var(--text-muted); margin-top: 2px; }

/* Hero floating card */
.hero-visual {
    position: relative;
    animation: floatY 6s ease-in-out infinite;
}
.hero-float-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.25rem;
    box-shadow: var(--shadow-card);
    backdrop-filter: blur(10px);
}
.progress-ring {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: conic-gradient(var(--accent-dark) 72%, var(--bg-elevated) 0);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    margin: auto;
}
.progress-ring::before {
    content: '';
    position: absolute;
    width: 90px; height: 90px;
    background: var(--bg-card);
    border-radius: 50%;
}
.progress-ring-label {
    position: relative;
    z-index: 1;
    text-align: center;
}

/* ---- Dashboard ---- */
.stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    position: relative;
    overflow: hidden;
    transition: all 0.25s;
}
.stat-card:hover { border-color: var(--border-accent); transform: translateY(-2px); }
.stat-card::after {
    content: '';
    position: absolute;
    top: -30px; right: -30px;
    width: 100px; height: 100px;
    border-radius: 50%;
    opacity: 0.06;
}
.stat-card.purple::after { background: var(--accent-dark); }
.stat-card.cyan::after { background: var(--info); }
.stat-card.green::after { background: var(--success); }
.stat-card.amber::after { background: var(--warning); }
.stat-icon {
    width: 44px; height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    margin-bottom: 1rem;
}
.stat-value {
    font-size: 2rem;
    font-weight: 800;
    line-height: 1;
    font-family: var(--font-display);
}
.stat-label { font-size: 0.82rem; color: var(--text-muted); margin-top: 4px; }
.stat-change { font-size: 0.78rem; font-weight: 500; margin-top: 8px; }
.stat-change.up { color: var(--success); }
.stat-change.down { color: var(--danger); }

/* Sidebar */
.lms-sidebar {
    position: sticky;
    top: calc(var(--nav-height) + 16px);
    height: calc(100vh - var(--nav-height) - 32px);
    overflow-y: auto;
}

/* ---- Course Detail ---- */
.course-hero {
    background: var(--bg-surface);
    border-bottom: 1px solid var(--border);
    padding: 60px 0 40px;
    position: relative;
    overflow: hidden;
}
.course-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 60% 100% at 0% 50%, rgba(99,102,241,0.1), transparent);
}
.course-meta-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    color: var(--text-muted);
    font-size: 0.8rem;
    padding: 4px 12px;
    border-radius: 20px;
}

/* ---- Progress Bar ---- */
.lms-progress {
    height: 6px;
    background: var(--bg-elevated);
    border-radius: 3px;
    overflow: hidden;
}
.lms-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--accent-dark), var(--accent-light));
    border-radius: 3px;
    transition: width 0.6s ease;
}

/* ---- Accordion (Curriculum) ---- */
.curriculum-section {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-bottom: 8px;
    overflow: hidden;
}
.curriculum-header {
    background: var(--bg-elevated);
    padding: 1rem 1.25rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: background 0.2s;
    user-select: none;
}
.curriculum-header:hover { background: var(--bg-hover); }
.curriculum-lessons { background: var(--bg-card); }
.lesson-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0.75rem 1.25rem;
    border-top: 1px solid var(--border);
    transition: background 0.15s;
    cursor: pointer;
}
.lesson-item:hover { background: var(--bg-elevated); }
.lesson-icon {
    width: 32px; height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    flex-shrink: 0;
}
.lesson-item.completed .lesson-icon { background: rgba(16,185,129,0.15); color: var(--success); }
.lesson-item.active .lesson-icon { background: var(--accent-glow); color: var(--accent-light); }
.lesson-item:not(.completed):not(.active) .lesson-icon { background: var(--bg-hover); color: var(--text-muted); }

/* ---- Forms ---- */
.lms-form-control {
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    color: var(--text-primary);
    border-radius: 10px;
    padding: 0.625rem 1rem;
    font-family: var(--font-body);
    transition: all 0.2s;
}
.lms-form-control:focus {
    background: var(--bg-hover);
    border-color: var(--border-accent);
    box-shadow: 0 0 0 3px var(--accent-glow);
    color: var(--text-primary);
    outline: none;
}
.lms-form-control::placeholder { color: var(--text-muted); }
.lms-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 0.4rem;
    display: block;
}

/* Auth Pages */
.auth-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: var(--nav-height) 0 40px;
    background:
        radial-gradient(ellipse 70% 50% at 30% 30%, rgba(99,102,241,0.12) 0%, transparent 60%),
        radial-gradient(ellipse 50% 40% at 70% 80%, rgba(139,92,246,0.08) 0%, transparent 60%);
}
.auth-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    max-width: 460px;
    width: 100%;
    box-shadow: var(--shadow-card);
}
.auth-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 1.5rem 0;
    color: var(--text-muted);
    font-size: 0.82rem;
}
.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border);
}

/* ---- Sections ---- */
.section-label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--accent-light);
    margin-bottom: 0.5rem;
}
.section-title {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 800;
    letter-spacing: -0.5px;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

/* ---- Category Pills ---- */
.category-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    color: var(--text-secondary);
    padding: 8px 16px;
    border-radius: 10px;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}
.category-pill:hover,
.category-pill.active {
    background: var(--accent-glow);
    border-color: var(--border-accent);
    color: var(--text-primary);
}
.category-pill .cat-icon {
    width: 28px; height: 28px;
    border-radius: 7px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
}

/* ---- Alert / Toast ---- */
.lms-alert {
    border-radius: 10px;
    border: 1px solid;
    padding: 0.85rem 1rem;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    gap: 10px;
}
.lms-alert.success { background: rgba(16,185,129,0.1); border-color: rgba(16,185,129,0.3); color: #6ee7b7; }
.lms-alert.danger { background: rgba(239,68,68,0.1); border-color: rgba(239,68,68,0.3); color: #fca5a5; }
.lms-alert.info { background: rgba(6,182,212,0.1); border-color: rgba(6,182,212,0.3); color: #67e8f9; }

/* ---- Table ---- */
.lms-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}
.lms-table thead th {
    background: var(--bg-elevated);
    color: var(--text-muted);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--border);
}
.lms-table tbody td {
    padding: 0.875rem 1rem;
    border-bottom: 1px solid var(--border);
    color: var(--text-secondary);
    font-size: 0.875rem;
    vertical-align: middle;
}
.lms-table tbody tr:hover td { background: var(--bg-elevated); }
.lms-table tbody tr:last-child td { border-bottom: none; }

/* ---- Footer ---- */
.lms-footer {
    background: var(--bg-surface);
    border-top: 1px solid var(--border);
    margin-top: auto;
}
.footer-links li { margin-bottom: 0.5rem; }
.footer-links a { color: var(--text-muted); font-size: 0.875rem; transition: color 0.2s; }
.footer-links a:hover { color: var(--accent-light); }
.social-btn {
    width: 36px; height: 36px;
    border-radius: 8px;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    color: var(--text-muted);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    transition: all 0.2s;
}
.social-btn:hover { background: var(--accent-glow); border-color: var(--border-accent); color: var(--text-primary); }
.newsletter-input .form-control {
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    color: var(--text-primary);
    border-radius: 10px 0 0 10px;
}
.newsletter-input .form-control:focus { border-color: var(--border-accent); box-shadow: none; }
.newsletter-input .btn-accent { border-radius: 0 10px 10px 0; }

/* ---- Utilities ---- */
.text-accent { color: var(--accent-light) !important; }
.text-muted-lms { color: var(--text-muted) !important; }
.bg-card { background: var(--bg-card) !important; }
.bg-elevated { background: var(--bg-elevated) !important; }
.border-subtle { border-color: var(--border) !important; }
.rounded-lms { border-radius: var(--radius) !important; }
.rounded-lg-lms { border-radius: var(--radius-lg) !important; }
.divider { height: 1px; background: var(--border); margin: 1.5rem 0; }

/* ---- Animations ---- */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes floatY {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}
@keyframes pulse-ring {
    0% { box-shadow: 0 0 0 0 var(--accent-glow); }
    70% { box-shadow: 0 0 0 10px rgba(99,102,241,0); }
    100% { box-shadow: 0 0 0 0 rgba(99,102,241,0); }
}
.animate-fade-up { animation: fadeInUp 0.5s ease both; }
.animate-float { animation: floatY 6s ease-in-out infinite; }
.pulse-ring { animation: pulse-ring 2s infinite; }

/* Stagger delays */
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }

/* ---- Responsive ---- */
@media (max-width: 768px) {
    .hero-stats { gap: 20px; }
    .hero-visual { display: none; }
    .auth-card { padding: 1.75rem 1.25rem; }
    .search-shortcut { display: none; }
}