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

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

:root {
    --brand:       #7c3aed;
    --brand-light: #ede9fe;
    --brand-dark:  #5b21b6;
    --green:       #059669;
    --green-light: #d1fae5;
    --black:       #0f172a;
    --dark:        #1e293b;
    --muted:       #64748b;
    --border:      #e2e8f0;
    --light:       #f8fafc;
    --white:       #ffffff;
    --radius:      10px;
    --radius-lg:   16px;
    --shadow-sm:   0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.05);
    --shadow:      0 4px 16px rgba(0,0,0,.08);
    --shadow-lg:   0 10px 40px rgba(0,0,0,.12);
}

body { font-family: 'Inter', sans-serif; color: var(--black); background: var(--white); -webkit-font-smoothing: antialiased; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
input, textarea, select, button { font-family: inherit; }


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


.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 6px;
    padding: 10px 20px; border-radius: var(--radius); font-size: 14px;
    font-weight: 600; cursor: pointer; border: none; transition: all .18s ease;
    white-space: nowrap;
}
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-dark); transform: translateY(-1px); box-shadow: 0 4px 12px rgba(124,58,237,.3); }
.btn-outline { background: transparent; border: 1.5px solid var(--border); color: var(--black); }
.btn-outline:hover { border-color: var(--brand); color: var(--brand); }
.btn-ghost { background: transparent; color: var(--white); border: 1.5px solid rgba(255,255,255,.3); }
.btn-ghost:hover { background: rgba(255,255,255,.1); }
.btn-dark { background: var(--black); color: #fff; }
.btn-dark:hover { background: var(--dark); }
.btn-green { background: var(--green); color: #fff; }
.btn-green:hover { background: #047857; }
.btn-lg { padding: 14px 28px; font-size: 15px; }
.btn-sm { padding: 7px 14px; font-size: 12px; }


.navbar {
    position: sticky; top: 0; z-index: 200;
    background: var(--white); border-bottom: 1px solid var(--border);
    height: 64px; display: flex; align-items: center;
}
.navbar .nav-inner {
    max-width: 1400px; margin: 0 auto; padding: 0 24px;
    width: 100%; display: flex; align-items: center; gap: 16px;
}
.navbar .logo {
    font-size: 20px; font-weight: 800; color: var(--black);
    flex-shrink: 0; letter-spacing: -.5px;
}
.navbar .logo span { color: var(--brand); }
.nav-search {
    flex: 1; max-width: 520px;
    display: flex; align-items: center;
    background: var(--light); border: 1.5px solid var(--border);
    border-radius: 24px; padding: 0 16px; gap: 8px; height: 40px;
    transition: border-color .2s;
}
.nav-search:focus-within { border-color: var(--brand); background: #fff; }
.nav-search input { flex: 1; border: none; background: transparent; font-size: 14px; outline: none; color: var(--black); }
.nav-search button { background: none; border: none; cursor: pointer; color: var(--muted); font-size: 16px; padding: 0; }
.nav-links { display: flex; gap: 4px; list-style: none; }
.nav-links a {
    padding: 6px 12px; border-radius: 8px; font-size: 14px;
    font-weight: 500; color: var(--muted); transition: all .15s;
}
.nav-links a:hover, .nav-links a.active { color: var(--black); background: var(--light); }
.nav-right { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.cart-btn {
    display: flex; align-items: center; gap: 6px; padding: 6px 14px;
    border-radius: 8px; font-size: 14px; font-weight: 500; color: var(--black);
    background: var(--light); border: 1.5px solid var(--border); transition: all .15s;
    position: relative;
}
.cart-btn:hover { border-color: var(--brand); color: var(--brand); }
.cart-badge {
    position: absolute; top: -6px; right: -6px;
    background: var(--brand); color: #fff; border-radius: 50%;
    width: 18px; height: 18px; font-size: 10px; font-weight: 700;
    display: flex; align-items: center; justify-content: center;
}
.avatar-btn {
    width: 36px; height: 36px; border-radius: 50%;
    background: var(--brand); color: #fff; font-weight: 700;
    font-size: 14px; display: flex; align-items: center; justify-content: center;
    cursor: pointer; flex-shrink: 0;
}


.hero-wrap { background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 50%, #312e81 100%); }
.hero {
    max-width: 1200px; margin: 0 auto; padding: 80px 24px;
    display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: center;
}
.hero-badge {
    display: inline-flex; align-items: center; gap: 6px;
    background: rgba(124,58,237,.25); border: 1px solid rgba(124,58,237,.4);
    color: #c4b5fd; border-radius: 20px; padding: 5px 14px;
    font-size: 12px; font-weight: 600; margin-bottom: 20px;
}
.hero h1 { font-size: 48px; font-weight: 900; line-height: 1.1; color: #fff; margin-bottom: 16px; letter-spacing: -.5px; }
.hero h1 em { font-style: normal; color: #a78bfa; }
.hero p { font-size: 16px; color: #94a3b8; line-height: 1.7; margin-bottom: 32px; max-width: 440px; }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 32px; margin-top: 40px; }
.hero-stat-val { font-size: 22px; font-weight: 800; color: #fff; }
.hero-stat-label { font-size: 12px; color: #64748b; margin-top: 2px; }
.hero-visual { position: relative; }
.hero-card {
    background: rgba(255,255,255,.05); backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius-lg);
    overflow: hidden;
}
.hero-card-img { width: 100%; height: 220px; background: linear-gradient(135deg,#4f46e5,#7c3aed); display: flex; align-items: center; justify-content: center; font-size: 64px; }
.hero-card-body { padding: 20px; }
.hero-card-body h3 { font-size: 15px; font-weight: 700; color: #fff; margin-bottom: 8px; }
.hero-card-body p { font-size: 12px; color: #94a3b8; }
.floating-badge {
    position: absolute; background: #fff; border-radius: 12px;
    padding: 10px 14px; box-shadow: var(--shadow-lg);
    display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 600;
}
.floating-badge.top-left { top: -16px; left: -16px; }
.floating-badge.bottom-right { bottom: -16px; right: -16px; }


.section { padding: 72px 0; }
.section-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 36px; }
.section-header h2 { font-size: 28px; font-weight: 800; letter-spacing: -.3px; }
.section-header p { font-size: 14px; color: var(--muted); margin-top: 6px; }
.see-all { font-size: 14px; font-weight: 600; color: var(--brand); display: flex; align-items: center; gap: 4px; }
.see-all:hover { text-decoration: underline; }


.courses-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(272px, 1fr)); gap: 24px; }
.course-card {
    background: var(--white); border-radius: var(--radius-lg);
    border: 1px solid var(--border); overflow: hidden;
    transition: all .2s ease; cursor: pointer;
}
.course-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }
.course-thumb {
    position: relative; width: 100%; height: 168px;
    background: linear-gradient(135deg,#e0e7ff,#ede9fe);
    overflow: hidden;
}
.course-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.course-card:hover .course-thumb img { transform: scale(1.04); }
.course-thumb .placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-size: 48px; }
.course-thumb .badge {
    position: absolute; top: 10px; left: 10px;
    background: var(--brand); color: #fff;
    font-size: 10px; font-weight: 700; padding: 3px 8px; border-radius: 6px;
    text-transform: uppercase; letter-spacing: .5px;
}
.course-body { padding: 16px; }
.course-category { font-size: 11px; font-weight: 600; color: var(--brand); text-transform: uppercase; letter-spacing: .5px; margin-bottom: 6px; }
.course-title { font-size: 15px; font-weight: 700; line-height: 1.4; margin-bottom: 8px; color: var(--black); }
.course-instructor { font-size: 12px; color: var(--muted); margin-bottom: 10px; }
.course-rating { display: flex; align-items: center; gap: 5px; margin-bottom: 12px; }
.course-rating .stars { color: #f59e0b; font-size: 12px; }
.course-rating .val { font-size: 12px; font-weight: 700; color: #92400e; }
.course-rating .count { font-size: 11px; color: var(--muted); }
.course-footer { display: flex; justify-content: space-between; align-items: center; padding-top: 12px; border-top: 1px solid var(--border); }
.price-now { font-size: 18px; font-weight: 800; color: var(--black); }
.price-was { font-size: 12px; color: var(--muted); text-decoration: line-through; margin-left: 6px; }
.btn-cart {
    background: var(--brand); color: #fff; border: none; border-radius: 8px;
    padding: 7px 14px; font-size: 12px; font-weight: 600; cursor: pointer; transition: all .15s;
}
.btn-cart:hover { background: var(--brand-dark); }


.category-pills { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 32px; }
.pill {
    padding: 8px 18px; border-radius: 24px; font-size: 13px; font-weight: 500;
    border: 1.5px solid var(--border); color: var(--muted); cursor: pointer; transition: all .15s;
}
.pill:hover, .pill.active { background: var(--brand); color: #fff; border-color: var(--brand); }


.features-band { background: var(--light); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 40px 0; }
.features-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 32px; }
.feature-item { display: flex; align-items: flex-start; gap: 14px; }
.feature-icon {
    width: 44px; height: 44px; border-radius: 12px;
    background: var(--brand-light); display: flex; align-items: center; justify-content: center;
    font-size: 20px; flex-shrink: 0;
}
.feature-title { font-size: 14px; font-weight: 700; margin-bottom: 3px; }
.feature-desc { font-size: 12px; color: var(--muted); line-height: 1.5; }


.biz-section { background: var(--dark); padding: 80px 0; }
.biz-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.biz-label { font-size: 11px; font-weight: 700; color: #a78bfa; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 12px; }
.biz-inner h2 { font-size: 36px; font-weight: 800; color: #fff; line-height: 1.2; margin-bottom: 16px; }
.biz-inner p { font-size: 14px; color: #94a3b8; line-height: 1.7; margin-bottom: 28px; }
.biz-ctas { display: flex; gap: 12px; }
.biz-logos { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; }
.biz-logo {
    background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08);
    border-radius: 10px; padding: 16px; text-align: center;
    font-size: 13px; font-weight: 600; color: #cbd5e1;
    transition: all .2s;
}
.biz-logo:hover { background: rgba(124,58,237,.2); border-color: rgba(124,58,237,.4); color: #fff; }


.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px,1fr)); gap: 24px; }
.t-card {
    background: var(--white); border: 1px solid var(--border);
    border-radius: var(--radius-lg); padding: 28px;
    transition: box-shadow .2s;
}
.t-card:hover { box-shadow: var(--shadow); }
.t-stars { color: #f59e0b; font-size: 14px; margin-bottom: 14px; letter-spacing: 2px; }
.t-quote { font-size: 16px; font-weight: 700; color: var(--black); margin-bottom: 12px; line-height: 1.4; }
.t-text { font-size: 13px; color: var(--muted); line-height: 1.7; margin-bottom: 20px; }
.t-author { display: flex; align-items: center; gap: 12px; }
.t-avatar-img { width: 40px; height: 40px; border-radius: 50%; background: var(--brand-light); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 14px; color: var(--brand); flex-shrink: 0; }
.t-name { font-size: 14px; font-weight: 700; }
.t-role { font-size: 12px; color: var(--brand); font-weight: 500; }


.cta-banner {
    background: linear-gradient(135deg, var(--brand) 0%, #5b21b6 100%);
    border-radius: var(--radius-lg); padding: 60px 48px;
    display: flex; align-items: center; justify-content: space-between; gap: 32px;
    margin: 0 24px;
}
.cta-banner h2 { font-size: 32px; font-weight: 800; color: #fff; margin-bottom: 8px; }
.cta-banner p { font-size: 15px; color: rgba(255,255,255,.75); }
.btn-white { background: #fff; color: var(--brand); font-weight: 700; }
.btn-white:hover { background: #f5f3ff; }


footer { background: #0f172a; color: #cbd5e1; padding: 64px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-brand .logo { font-size: 22px; font-weight: 800; color: #fff; margin-bottom: 12px; }
.footer-brand .logo span { color: #a78bfa; }
.footer-brand p { font-size: 13px; line-height: 1.7; color: #64748b; max-width: 240px; }
.footer-col h4 { font-size: 13px; font-weight: 700; color: #fff; margin-bottom: 16px; text-transform: uppercase; letter-spacing: .5px; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { font-size: 13px; color: #64748b; transition: color .15s; }
.footer-col ul li a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid #1e293b; padding-top: 24px; display: flex; justify-content: space-between; align-items: center; font-size: 12px; color: #475569; }
.social-links { display: flex; gap: 12px; margin-top: 20px; }
.social-link { width: 34px; height: 34px; border-radius: 8px; background: #1e293b; display: flex; align-items: center; justify-content: center; font-size: 14px; transition: background .15s; }
.social-link:hover { background: var(--brand); }


.newsletter-form { display: flex; gap: 8px; margin-top: 16px; }
.newsletter-form input {
    flex: 1; padding: 10px 14px; border: 1.5px solid #1e293b;
    border-radius: 8px; background: #1e293b; color: #fff; font-size: 13px; outline: none;
}
.newsletter-form input::placeholder { color: #475569; }
.newsletter-form input:focus { border-color: var(--brand); }
.newsletter-form button { background: var(--brand); color: #fff; border: none; border-radius: 8px; padding: 10px 16px; font-size: 13px; font-weight: 600; cursor: pointer; }


.course-hero { background: var(--dark); padding: 48px 0; }
.course-hero h1 { font-size: 32px; font-weight: 800; color: #fff; line-height: 1.25; margin-bottom: 12px; }
.course-hero p { font-size: 15px; color: #94a3b8; max-width: 680px; line-height: 1.7; }
.course-meta-row { display: flex; align-items: center; gap: 20px; margin-top: 16px; flex-wrap: wrap; }
.course-meta-row span { font-size: 13px; color: #94a3b8; display: flex; align-items: center; gap: 4px; }
.course-layout { display: grid; grid-template-columns: 1fr 360px; gap: 32px; max-width: 1200px; margin: 0 auto; padding: 40px 24px; align-items: start; }
.enroll-card { position: sticky; top: 80px; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.enroll-price { padding: 20px 24px 0; }
.enroll-price .price-main { font-size: 30px; font-weight: 900; }
.enroll-price .price-orig { font-size: 14px; color: var(--muted); text-decoration: line-through; margin-left: 8px; }
.enroll-actions { padding: 16px 24px; }
.enroll-actions .btn { width: 100%; margin-bottom: 10px; }
.enroll-features { padding: 16px 24px; border-top: 1px solid var(--border); }
.enroll-feature { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--muted); margin-bottom: 10px; }
.curriculum-section { margin-bottom: 32px; }
.curriculum-section h2 { font-size: 20px; font-weight: 700; margin-bottom: 16px; }
.topic-block { border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; margin-bottom: 8px; }
.topic-header { padding: 14px 18px; background: var(--light); font-weight: 600; font-size: 14px; display: flex; justify-content: space-between; cursor: pointer; user-select: none; }
.topic-header:hover { background: #f1f5f9; }
.lesson-item { display: flex; align-items: center; gap: 10px; padding: 12px 18px; border-top: 1px solid var(--border); font-size: 13px; }
.lesson-item:hover { background: var(--light); }
.lesson-icon { font-size: 14px; }


.auth-wrap {
    min-height: 100vh; display: flex;
    background: linear-gradient(135deg, #f8fafc 0%, #ede9fe 100%);
}
.auth-left {
    flex: 1; background: linear-gradient(135deg, var(--brand) 0%, #5b21b6 100%);
    display: flex; flex-direction: column; justify-content: center; padding: 60px;
    display: none;
}
@media (min-width: 900px) { .auth-left { display: flex; } }
.auth-left h2 { font-size: 36px; font-weight: 800; color: #fff; line-height: 1.2; margin-bottom: 16px; }
.auth-left p { font-size: 15px; color: rgba(255,255,255,.75); line-height: 1.7; }
.auth-right { flex: 1; display: flex; align-items: center; justify-content: center; padding: 40px 20px; }
.auth-card { background: #fff; border-radius: var(--radius-lg); padding: 40px; width: 100%; max-width: 440px; box-shadow: var(--shadow-lg); }
.auth-card .logo { font-size: 22px; font-weight: 800; margin-bottom: 28px; display: block; }
.auth-card .logo span { color: var(--brand); }
.auth-card h1 { font-size: 24px; font-weight: 800; margin-bottom: 6px; }
.auth-card .subtitle { font-size: 14px; color: var(--muted); margin-bottom: 28px; }
.form-group { margin-bottom: 16px; }
.form-group label { font-size: 13px; font-weight: 600; display: block; margin-bottom: 6px; color: var(--dark); }
.form-group input, .form-group select, .form-group textarea {
    width: 100%; padding: 11px 14px; border: 1.5px solid var(--border);
    border-radius: var(--radius); font-size: 14px; outline: none; transition: border-color .2s;
    background: var(--white);
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(124,58,237,.1); }
.form-group textarea { resize: vertical; }
.alert { padding: 12px 16px; border-radius: var(--radius); font-size: 13px; margin-bottom: 16px; }
.alert-error { background: #fef2f2; color: #dc2626; border: 1px solid #fecaca; }
.alert-success { background: #f0fdf4; color: #16a34a; border: 1px solid #bbf7d0; }
.alert-info { background: #eff6ff; color: #2563eb; border: 1px solid #bfdbfe; }


.dash-hero { background: linear-gradient(135deg, var(--dark) 0%, #1e1b4b 100%); padding: 40px 0; }
.dash-hero-inner { max-width: 1200px; margin: 0 auto; padding: 0 24px; display: flex; justify-content: space-between; align-items: center; }
.dash-greeting h1 { font-size: 24px; font-weight: 800; color: #fff; margin-bottom: 4px; }
.dash-greeting p { font-size: 14px; color: #94a3b8; }
.dash-stats { display: flex; gap: 24px; }
.dash-stat { text-align: center; }
.dash-stat-val { font-size: 26px; font-weight: 800; color: #fff; }
.dash-stat-label { font-size: 11px; color: #64748b; margin-top: 2px; }
.dash-tabs { border-bottom: 1px solid var(--border); background: #fff; }
.dash-tabs-inner { max-width: 1200px; margin: 0 auto; padding: 0 24px; display: flex; }
.dash-tab { padding: 16px 20px; font-size: 14px; font-weight: 600; color: var(--muted); border-bottom: 2px solid transparent; cursor: pointer; transition: all .15s; white-space: nowrap; }
.dash-tab:hover { color: var(--black); }
.dash-tab.active { color: var(--brand); border-bottom-color: var(--brand); }
.dash-content { max-width: 1200px; margin: 0 auto; padding: 36px 24px; }
.progress-bar-wrap { background: #e5e7eb; border-radius: 4px; height: 5px; margin: 8px 0 4px; }
.progress-bar { background: var(--brand); height: 5px; border-radius: 4px; transition: width .4s; }


.cart-wrap { max-width: 1000px; margin: 0 auto; padding: 48px 24px; }
.cart-item { display: flex; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--border); align-items: center; }
.cart-item-thumb { width: 88px; height: 64px; border-radius: 8px; background: var(--light); overflow: hidden; flex-shrink: 0; }
.cart-item-thumb img { width: 100%; height: 100%; object-fit: cover; }
.order-summary-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 24px; position: sticky; top: 80px; }


.admin-wrap { display: flex; min-height: 100vh; }
.admin-sidebar {
    width: 240px; background: #0f172a; flex-shrink: 0;
    position: fixed; top: 0; left: 0; height: 100vh;
    overflow-y: auto; display: flex; flex-direction: column;
}
.admin-main { margin-left: 240px; flex: 1; background: #f8fafc; min-height: 100vh; }
.sidebar-logo { padding: 20px 20px 16px; border-bottom: 1px solid #1e293b; }
.sidebar-logo .logo { font-size: 18px; font-weight: 800; color: #fff; }
.sidebar-logo .logo span { color: #a78bfa; }
.sidebar-logo .role-badge { font-size: 10px; color: #475569; margin-top: 2px; text-transform: uppercase; letter-spacing: .5px; }
.sidebar-section-label { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: #334155; padding: 16px 20px 6px; }
.sidebar-nav a {
    display: flex; align-items: center; gap: 10px; padding: 10px 20px;
    font-size: 13px; font-weight: 500; color: #64748b; transition: all .15s;
    border-left: 3px solid transparent;
}
.sidebar-nav a:hover { color: #e2e8f0; background: #1e293b; }
.sidebar-nav a.active { color: #fff; background: rgba(124,58,237,.15); border-left-color: #7c3aed; }
.sidebar-nav a .icon { font-size: 16px; width: 20px; text-align: center; }
.sidebar-footer { margin-top: auto; padding: 16px 20px; border-top: 1px solid #1e293b; }
.admin-topbar { background: #fff; border-bottom: 1px solid var(--border); padding: 0 32px; height: 60px; display: flex; align-items: center; justify-content: space-between; position: sticky; top: 0; z-index: 100; }
.admin-topbar h2 { font-size: 16px; font-weight: 700; }
.admin-page { padding: 32px; }
.stat-card-admin {
    background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg);
    padding: 24px; transition: all .2s;
}
.stat-card-admin:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.stat-icon { font-size: 28px; margin-bottom: 12px; }
.stat-value { font-size: 28px; font-weight: 800; color: var(--black); }
.stat-label { font-size: 13px; color: var(--muted); margin-top: 4px; }
.stat-change { font-size: 12px; color: var(--green); font-weight: 600; margin-top: 4px; }
.admin-table-wrap { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; }
.admin-table { width: 100%; border-collapse: collapse; }
.admin-table thead tr { background: var(--light); }
.admin-table th { padding: 12px 20px; text-align: left; font-size: 11px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .5px; }
.admin-table td { padding: 14px 20px; font-size: 13px; border-top: 1px solid var(--border); }
.admin-table tr:hover td { background: #fafafa; }
.status-badge { display: inline-flex; align-items: center; padding: 3px 10px; border-radius: 20px; font-size: 11px; font-weight: 600; }
.status-green { background: #f0fdf4; color: #16a34a; }
.status-yellow { background: #fefce8; color: #ca8a04; }
.status-red { background: #fef2f2; color: #dc2626; }
.admin-search { display: flex; gap: 10px; margin-bottom: 20px; }
.admin-search input { padding: 10px 14px; border: 1.5px solid var(--border); border-radius: var(--radius); font-size: 13px; width: 300px; outline: none; }
.admin-search input:focus { border-color: var(--brand); }


.lesson-wrap { display: grid; grid-template-columns: 1fr 320px; height: calc(100vh - 64px); }
.lesson-main { overflow-y: auto; }
.lesson-video-area { background: #000; }
.lesson-content { padding: 32px; max-width: 820px; }
.lesson-sidebar { border-left: 1px solid var(--border); overflow-y: auto; background: #fff; }
.lesson-sidebar-header { padding: 16px 20px; border-bottom: 1px solid var(--border); font-size: 14px; font-weight: 700; position: sticky; top: 0; background: #fff; z-index: 1; }
.lesson-topic-label { padding: 10px 20px; font-size: 11px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .5px; background: var(--light); border-bottom: 1px solid var(--border); }
.lesson-item-link { display: flex; align-items: center; gap: 10px; padding: 12px 20px; font-size: 13px; color: var(--black); border-bottom: 1px solid var(--border); transition: background .15s; }
.lesson-item-link:hover { background: var(--light); }
.lesson-item-link.active { background: #ede9fe; border-left: 3px solid var(--brand); color: var(--brand); font-weight: 600; }
.lesson-nav { display: flex; gap: 12px; margin-bottom: 28px; }


@media (max-width: 1024px) {
    .course-layout { grid-template-columns: 1fr; }
    .enroll-card { position: static; }
    .biz-inner { grid-template-columns: 1fr; }
    .features-grid { grid-template-columns: repeat(2,1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
    .hero { grid-template-columns: 1fr; padding: 48px 20px; }
    .hero h1 { font-size: 32px; }
    .hero-visual { display: none; }
    .nav-search { display: none; }
    .features-grid { grid-template-columns: 1fr; }
    .courses-grid { grid-template-columns: 1fr 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .admin-sidebar { width: 200px; }
    .admin-main { margin-left: 200px; }
    .dash-hero-inner { flex-direction: column; gap: 20px; }
    .lesson-wrap { grid-template-columns: 1fr; }
    .lesson-sidebar { display: none; }
    .cta-banner { flex-direction: column; margin: 0 16px; }
}
@media (max-width: 480px) {
    .courses-grid { grid-template-columns: 1fr; }
}




.hp-container { max-width:1200px; margin:0 auto; padding:0 24px; }
.hp-section { padding:88px 0; }
.hp-section-head { text-align:center; margin-bottom:52px; }
.hp-section-label { display:inline-block; font-size:12px; font-weight:700; text-transform:uppercase; letter-spacing:1.5px; color:var(--brand); background:var(--brand-light); padding:5px 14px; border-radius:20px; margin-bottom:14px; }
.hp-section-head h2 { font-size:36px; font-weight:900; color:#0f172a; letter-spacing:-.5px; margin-bottom:10px; }
.hp-section-head p { font-size:16px; color:#64748b; max-width:520px; margin:0 auto; line-height:1.6; }
.hp-see-all { font-size:14px; font-weight:600; color:var(--brand); display:inline-flex; align-items:center; gap:4px; white-space:nowrap; }
.hp-see-all:hover { text-decoration:underline; }


.hp-btn { display:inline-flex; align-items:center; gap:6px; padding:13px 26px; border-radius:10px; font-size:15px; font-weight:700; cursor:pointer; border:none; transition:all .18s; text-decoration:none; }
.hp-btn-lg { padding:16px 32px; font-size:16px; }
.hp-btn-primary { background:var(--brand); color:#fff; box-shadow:0 4px 14px rgba(124,58,237,.35); }
.hp-btn-primary:hover { background:#5b21b6; transform:translateY(-2px); box-shadow:0 8px 20px rgba(124,58,237,.4); }
.hp-btn-ghost { background:rgba(255,255,255,.12); color:#fff; border:1.5px solid rgba(255,255,255,.3); backdrop-filter:blur(4px); }
.hp-btn-ghost:hover { background:rgba(255,255,255,.2); }
.hp-btn-white { background:#fff; color:var(--brand); font-weight:800; }
.hp-btn-white:hover { background:#f5f3ff; }
.hp-btn-outline-white { background:transparent; color:#fff; border:2px solid rgba(255,255,255,.4); }
.hp-btn-outline-white:hover { background:rgba(255,255,255,.1); border-color:rgba(255,255,255,.7); }


.hp-hero {
    background: linear-gradient(135deg, #0f0c29 0%, #1a1040 40%, #24243e 100%);
    position:relative; overflow:hidden; padding-bottom:0;
}
.hp-hero::before {
    content:''; position:absolute; top:0; left:0; right:0; bottom:0;
    background: radial-gradient(ellipse at 70% 50%, rgba(124,58,237,.25) 0%, transparent 60%),
                radial-gradient(ellipse at 20% 80%, rgba(79,70,229,.2) 0%, transparent 50%);
    pointer-events:none;
}
.hp-hero-inner {
    max-width:1200px; margin:0 auto; padding:80px 24px 72px;
    display:grid; grid-template-columns:1fr 1fr; gap:64px; align-items:center; position:relative; z-index:1;
}
.hp-hero-pill {
    display:inline-flex; align-items:center; gap:6px;
    background:rgba(124,58,237,.2); border:1px solid rgba(124,58,237,.4);
    color:#c4b5fd; border-radius:24px; padding:6px 16px;
    font-size:13px; font-weight:600; margin-bottom:22px;
    backdrop-filter:blur(8px);
}
.hp-hero-text h1 {
    font-size:52px; font-weight:900; line-height:1.08;
    color:#fff; letter-spacing:-.8px; margin-bottom:18px;
}
.hp-accent { color:#a78bfa; }
.hp-hero-text p { font-size:17px; color:#94a3b8; line-height:1.7; margin-bottom:32px; max-width:460px; }
.hp-hero-actions { display:flex; gap:12px; flex-wrap:wrap; margin-bottom:36px; }
.hp-hero-trust { display:flex; align-items:center; gap:14px; }
.hp-trust-avs { display:flex; }
.hp-trust-av { width:34px; height:34px; border-radius:50%; border:2.5px solid #1a1040; margin-left:-10px; display:flex; align-items:center; justify-content:center; font-size:11px; font-weight:700; color:#fff; }
.hp-trust-avs .hp-trust-av:first-child { margin-left:0; }
.hp-trust-stars { color:#f59e0b; font-size:13px; margin-bottom:2px; }
.hp-trust-label { font-size:12px; color:#64748b; }
.hp-trust-label strong { color:#e2e8f0; }


.hp-hero-visual { position:relative; display:flex; align-items:center; justify-content:center; }
.hp-course-mock {
    background:#fff; border-radius:20px; overflow:hidden;
    box-shadow:0 32px 64px rgba(0,0,0,.5), 0 0 0 1px rgba(255,255,255,.1);
    width:100%; max-width:380px; position:relative; z-index:2;
    animation: floatY 4s ease-in-out infinite;
}
@keyframes floatY { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-10px)} }
.hp-mock-video {
    background:linear-gradient(135deg,#1e1b4b,#4c1d95);
    height:200px; display:flex; flex-direction:column;
    align-items:center; justify-content:center; position:relative;
}
.hp-mock-play {
    width:56px; height:56px; background:rgba(255,255,255,.2);
    border:2px solid rgba(255,255,255,.4); border-radius:50%;
    display:flex; align-items:center; justify-content:center;
    font-size:22px; color:#fff; cursor:pointer;
    backdrop-filter:blur(8px);
    box-shadow:0 0 0 12px rgba(255,255,255,.05);
}
.hp-mock-progress { position:absolute; bottom:0; left:0; right:0; height:4px; background:rgba(255,255,255,.15); }
.hp-mock-bar { height:4px; width:42%; background:var(--brand); border-radius:2px; }
.hp-mock-body { padding:20px; }
.hp-mock-tag { font-size:11px; font-weight:700; color:var(--brand); text-transform:uppercase; letter-spacing:.5px; margin-bottom:8px; }
.hp-mock-title { font-size:15px; font-weight:700; color:#0f172a; line-height:1.4; margin-bottom:10px; }
.hp-mock-meta { font-size:12px; color:#64748b; margin-bottom:12px; }
.hp-mock-meta span { color:#f59e0b; }
.hp-mock-instructor { display:flex; align-items:center; gap:8px; font-size:12px; color:#64748b; }
.hp-mock-av { width:26px; height:26px; border-radius:50%; background:var(--brand); color:#fff; font-size:11px; font-weight:700; display:flex; align-items:center; justify-content:center; flex-shrink:0; }


.hp-chip {
    position:absolute; background:#fff; border-radius:14px;
    padding:10px 14px; box-shadow:0 8px 32px rgba(0,0,0,.35);
    display:flex; align-items:center; gap:10px;
    z-index:3; animation:floatY 4s ease-in-out infinite;
}
.hp-chip-tl { top:20px; left:-24px; animation-delay:-.5s; }
.hp-chip-br { bottom:20px; right:-24px; animation-delay:-1.5s; }
.hp-chip-tr { top:50%; right:-28px; animation-delay:-2s; transform:translateY(-50%); }
.hp-chip span { font-size:20px; }
.hp-chip-title { font-size:13px; font-weight:800; color:#0f172a; }
.hp-chip-sub { font-size:10px; color:#64748b; margin-top:1px; }
.hp-blob { position:absolute; border-radius:50%; filter:blur(60px); pointer-events:none; }
.hp-blob-1 { width:300px; height:300px; background:rgba(124,58,237,.3); top:-40px; right:-60px; z-index:0; }
.hp-blob-2 { width:200px; height:200px; background:rgba(79,70,229,.25); bottom:0; left:-30px; z-index:0; }


.hp-scroll-hint {
    display:flex; align-items:center; justify-content:center; gap:12px;
    padding:20px; font-size:11px; color:rgba(255,255,255,.3); text-transform:uppercase; letter-spacing:1px;
}
.hp-scroll-line { height:1px; width:48px; background:rgba(255,255,255,.1); }


.hp-stats-band { background:#fff; border-bottom:1px solid #e2e8f0; padding:36px 0; }
.hp-stats-inner { max-width:1100px; margin:0 auto; padding:0 24px; display:flex; align-items:center; justify-content:space-between; }
.hp-stat-item { text-align:center; }
.hp-stat-num { font-size:34px; font-weight:900; color:#0f172a; letter-spacing:-.5px; line-height:1; margin-bottom:5px; }
.hp-stat-num span { font-size:22px; color:var(--brand); }
.hp-stat-lbl { font-size:13px; color:#64748b; font-weight:500; }
.hp-stat-div { width:1px; height:44px; background:#e2e8f0; }


.hp-cats-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:16px; }
.hp-cat-card {
    background:var(--cat-bg, #f8fafc);
    border:1.5px solid transparent;
    border-radius:16px; padding:24px 22px;
    display:flex; flex-direction:column; gap:6px;
    text-decoration:none; transition:all .2s; position:relative; overflow:hidden;
}
.hp-cat-card:hover { border-color:var(--cat-color); box-shadow:0 8px 24px rgba(0,0,0,.1); transform:translateY(-3px); }
.hp-cat-icon { font-size:32px; margin-bottom:4px; }
.hp-cat-name { font-size:16px; font-weight:800; color:#0f172a; }
.hp-cat-sub { font-size:12px; color:#64748b; line-height:1.4; }
.hp-cat-arrow {
    position:absolute; right:18px; top:50%; transform:translateY(-50%);
    width:32px; height:32px; border-radius:50%;
    background:var(--cat-color); color:#fff;
    display:flex; align-items:center; justify-content:center;
    font-size:14px; font-weight:700; opacity:0; transition:opacity .2s;
}
.hp-cat-card:hover .hp-cat-arrow { opacity:1; }


.hp-hiw { background:#f8fafc; position:relative; }
.hp-hiw-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:24px; position:relative; z-index:1; }
.hp-hiw-card {
    background:#fff; border:1px solid #e2e8f0;
    border-radius:16px; padding:28px 22px;
    text-align:center; transition:all .2s; position:relative; overflow:hidden;
}
.hp-hiw-card::before { content:''; position:absolute; top:0; left:0; right:0; height:3px; background:var(--brand); opacity:0; transition:opacity .2s; }
.hp-hiw-card:hover { box-shadow:0 12px 32px rgba(0,0,0,.1); transform:translateY(-4px); border-color:transparent; }
.hp-hiw-card:hover::before { opacity:1; }
.hp-hiw-num { font-size:11px; font-weight:800; color:var(--brand); text-transform:uppercase; letter-spacing:1.5px; margin-bottom:14px; background:var(--brand-light); display:inline-block; padding:4px 10px; border-radius:20px; }
.hp-hiw-icon { font-size:36px; margin-bottom:14px; display:block; }
.hp-hiw-title { font-size:16px; font-weight:800; color:#0f172a; margin-bottom:8px; }
.hp-hiw-desc { font-size:13px; color:#64748b; line-height:1.6; }
.hp-hiw-line {
    display:none; 
}


.hp-courses-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:22px; }
.hp-course-card { background:#fff; border:1px solid #e2e8f0; border-radius:14px; overflow:hidden; text-decoration:none; display:block; transition:all .2s; }
.hp-course-card:hover { transform:translateY(-5px); box-shadow:0 16px 40px rgba(0,0,0,.12); border-color:transparent; }
.hp-course-thumb { position:relative; height:165px; background:linear-gradient(135deg,#e0e7ff,#ede9fe); overflow:hidden; }
.hp-course-thumb img { width:100%; height:100%; object-fit:cover; transition:transform .3s; }
.hp-course-card:hover .hp-course-thumb img { transform:scale(1.05); }
.hp-course-placeholder { width:100%; height:100%; display:flex; align-items:center; justify-content:center; font-size:48px; }
.hp-course-badge { position:absolute; top:10px; left:10px; background:var(--brand); color:#fff; font-size:10px; font-weight:700; padding:3px 10px; border-radius:20px; text-transform:uppercase; letter-spacing:.5px; }
.hp-course-overlay { position:absolute; inset:0; background:rgba(124,58,237,.85); display:flex; align-items:center; justify-content:center; color:#fff; font-size:14px; font-weight:700; opacity:0; transition:opacity .2s; }
.hp-course-card:hover .hp-course-overlay { opacity:1; }
.hp-course-body { padding:16px; }
.hp-course-cat { font-size:10px; font-weight:700; color:var(--brand); text-transform:uppercase; letter-spacing:.5px; margin-bottom:5px; }
.hp-course-title { font-size:14px; font-weight:700; color:#0f172a; line-height:1.4; margin-bottom:5px; }
.hp-course-by { font-size:12px; color:#94a3b8; margin-bottom:8px; }
.hp-course-rating { display:flex; align-items:center; gap:4px; margin-bottom:12px; }
.hp-stars { color:#f59e0b; font-size:11px; }
.hp-rating-val { font-size:12px; font-weight:700; color:#92400e; }
.hp-rating-count { font-size:11px; color:#94a3b8; }
.hp-course-footer { display:flex; justify-content:space-between; align-items:center; padding-top:10px; border-top:1px solid #f1f5f9; }
.hp-price-now { font-size:17px; font-weight:900; color:#0f172a; }
.hp-price-was { font-size:11px; color:#94a3b8; text-decoration:line-through; margin-left:5px; }
.hp-btn-cart { background:var(--brand); color:#fff; border:none; border-radius:8px; padding:7px 13px; font-size:12px; font-weight:700; cursor:pointer; transition:all .15s; }
.hp-btn-cart:hover { background:#5b21b6; }


.hp-biz {
    background:linear-gradient(135deg,#1e1b4b 0%,#312e81 50%,#1e1b4b 100%);
    padding:88px 0; position:relative; overflow:hidden;
}
.hp-biz::before { content:''; position:absolute; top:-100px; right:-100px; width:500px; height:500px; background:radial-gradient(circle,rgba(124,58,237,.3) 0%,transparent 70%); pointer-events:none; }
.hp-biz-inner { display:grid; grid-template-columns:1fr 1fr; gap:64px; align-items:center; position:relative; z-index:1; }
.hp-biz-label { font-size:11px; font-weight:700; color:#a78bfa; text-transform:uppercase; letter-spacing:1.5px; margin-bottom:14px; }
.hp-biz-left h2 { font-size:36px; font-weight:900; color:#fff; line-height:1.2; margin-bottom:16px; letter-spacing:-.3px; }
.hp-biz-left p { font-size:15px; color:#94a3b8; line-height:1.7; margin-bottom:24px; }
.hp-biz-list { list-style:none; margin-bottom:28px; }
.hp-biz-list li { font-size:14px; color:#e2e8f0; padding:5px 0; }
.hp-biz-list li::before { display:none; } 
.hp-biz-actions { display:flex; gap:12px; flex-wrap:wrap; }
.hp-biz-card { background:rgba(255,255,255,.06); border:1px solid rgba(255,255,255,.1); border-radius:20px; padding:28px; backdrop-filter:blur(12px); }
.hp-biz-card-head { font-size:12px; color:#94a3b8; font-weight:600; text-transform:uppercase; letter-spacing:.5px; margin-bottom:16px; }
.hp-biz-logos { display:grid; grid-template-columns:1fr 1fr 1fr; gap:10px; margin-bottom:24px; }
.hp-biz-logo { background:rgba(255,255,255,.07); border:1px solid rgba(255,255,255,.08); border-radius:10px; padding:12px; text-align:center; font-size:12px; font-weight:600; color:#cbd5e1; transition:all .2s; }
.hp-biz-logo:hover { background:rgba(124,58,237,.25); color:#fff; }
.hp-biz-quote { border-top:1px solid rgba(255,255,255,.1); padding-top:18px; }
.hp-biz-q-text { font-size:14px; color:#e2e8f0; line-height:1.6; font-style:italic; margin-bottom:8px; }
.hp-biz-q-author { font-size:12px; color:#a78bfa; font-weight:600; }


.hp-testi-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:24px; }
.hp-testi-card {
    background:#fff; border:1px solid #e2e8f0; border-radius:20px;
    padding:28px; transition:all .2s; position:relative;
}
.hp-testi-card:hover { box-shadow:0 12px 32px rgba(0,0,0,.1); transform:translateY(-4px); border-color:var(--brand-light); }
.hp-testi-card::before { content:'\201C'; font-size:80px; line-height:1; color:#ede9fe; position:absolute; top:16px; right:24px; font-family:Georgia,serif; }
.hp-testi-top { display:flex; align-items:center; justify-content:space-between; margin-bottom:14px; }
.hp-testi-stars { color:#f59e0b; font-size:15px; letter-spacing:2px; }
.hp-testi-verified { font-size:11px; font-weight:600; color:#059669; background:#ecfdf5; padding:3px 8px; border-radius:20px; }
.hp-testi-quote { font-size:16px; font-weight:800; color:#0f172a; line-height:1.4; margin-bottom:12px; }
.hp-testi-text { font-size:13px; color:#64748b; line-height:1.7; margin-bottom:22px; }
.hp-testi-author { display:flex; align-items:center; gap:12px; border-top:1px solid #f1f5f9; padding-top:18px; }
.hp-testi-av { width:42px; height:42px; border-radius:50%; display:flex; align-items:center; justify-content:center; font-weight:800; font-size:16px; color:#fff; flex-shrink:0; }
.hp-testi-name { font-size:14px; font-weight:700; color:#0f172a; }
.hp-testi-role { font-size:12px; color:var(--brand); font-weight:500; margin-top:2px; }


.hp-cta { padding:88px 0; background:#fff; }
.hp-cta-inner {
    background:linear-gradient(135deg,var(--brand) 0%,#4f46e5 60%,#7c3aed 100%);
    border-radius:24px; padding:72px 64px; text-align:center;
    position:relative; overflow:hidden;
    box-shadow:0 24px 64px rgba(124,58,237,.35);
}
.hp-cta-blob { position:absolute; border-radius:50%; filter:blur(80px); pointer-events:none; }
.hp-cta-blob-1 { width:300px; height:300px; background:rgba(255,255,255,.12); top:-80px; left:-80px; }
.hp-cta-blob-2 { width:250px; height:250px; background:rgba(255,255,255,.08); bottom:-60px; right:-60px; }
.hp-cta-content { position:relative; z-index:1; }
.hp-cta-badge { display:inline-block; background:rgba(255,255,255,.15); border:1px solid rgba(255,255,255,.25); color:#fff; font-size:12px; font-weight:700; padding:5px 14px; border-radius:20px; margin-bottom:20px; }
.hp-cta-inner h2 { font-size:42px; font-weight:900; color:#fff; letter-spacing:-.5px; margin-bottom:14px; }
.hp-cta-inner p { font-size:17px; color:rgba(255,255,255,.8); max-width:520px; margin:0 auto 36px; line-height:1.6; }
.hp-cta-actions { display:flex; gap:14px; justify-content:center; flex-wrap:wrap; margin-bottom:24px; }
.hp-cta-note { font-size:13px; color:rgba(255,255,255,.6); }


@media (max-width:1024px) {
    .hp-hero-inner { grid-template-columns:1fr; }
    .hp-hero-visual { display:none; }
    .hp-cats-grid { grid-template-columns:repeat(2,1fr); }
    .hp-hiw-grid { grid-template-columns:repeat(2,1fr); }
    .hp-courses-grid { grid-template-columns:repeat(2,1fr); }
    .hp-biz-inner { grid-template-columns:1fr; }
    .hp-testi-grid { grid-template-columns:1fr 1fr; }
    .hp-cta-inner { padding:48px 32px; }
}
@media (max-width:640px) {
    .hp-hero-text h1 { font-size:34px; }
    .hp-cats-grid { grid-template-columns:1fr 1fr; }
    .hp-hiw-grid { grid-template-columns:1fr 1fr; }
    .hp-courses-grid { grid-template-columns:1fr; }
    .hp-testi-grid { grid-template-columns:1fr; }
    .hp-stats-inner { flex-wrap:wrap; gap:24px; justify-content:center; }
    .hp-stat-div { display:none; }
    .hp-cta-inner h2 { font-size:28px; }
    .hp-section { padding:56px 0; }
}