/* ============================================
   TONED LINDA - Feminine Flat Design
   Primary: Baby Pink #F9A8D4
   ============================================ */

:root {
    --pink-50: #fdf2f8;
    --pink-100: #fce7f3;
    --pink-200: #fbcfe8;
    --pink-300: #f9a8d4;
    --pink-400: #f472b6;
    --pink-500: #ec4899;
    --pink-600: #db2777;
    --pink-700: #be185d;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
    --white: #ffffff;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.08);
    --shadow-lg: 0 8px 32px rgba(0,0,0,0.10);
    --shadow-xl: 0 16px 48px rgba(0,0,0,0.12);
    --shadow-pink: 0 4px 24px rgba(244,114,182,0.20);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', -apple-system, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    color: var(--gray-700);
    background: var(--white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

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

a { text-decoration: none; color: inherit; transition: all 0.3s ease; }
img { max-width: 100%; height: auto; }

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.95rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-primary {
    background: var(--pink-400);
    color: var(--white);
    box-shadow: var(--shadow-pink);
}
.btn-primary:hover {
    background: var(--pink-500);
    transform: translateY(-2px);
    box-shadow: 0 6px 28px rgba(244,114,182,0.30);
}

.btn-secondary {
    background: var(--white);
    color: var(--pink-500);
    border: 2px solid var(--pink-200);
    box-shadow: var(--shadow-sm);
}
.btn-secondary:hover {
    background: var(--pink-50);
    border-color: var(--pink-400);
}

.btn-outline-sm, .btn-primary-sm {
    padding: 8px 20px;
    font-size: 0.85rem;
    border-radius: var(--radius-sm);
    font-weight: 500;
}
.btn-outline-sm {
    border: 1.5px solid var(--pink-300);
    color: var(--pink-500);
}
.btn-outline-sm:hover { background: var(--pink-50); }
.btn-primary-sm {
    background: var(--pink-400);
    color: var(--white);
    box-shadow: var(--shadow-pink);
}
.btn-primary-sm:hover { background: var(--pink-500); }

.btn-sm { padding: 8px 18px; font-size: 0.85rem; }
.btn-danger { background: #fee2e2; color: #dc2626; }
.btn-danger:hover { background: #fecaca; }
.btn-success { background: #d1fae5; color: #059669; }
.btn-success:hover { background: #a7f3d0; }

.btn-block { display: block; width: 100%; text-align: center; justify-content: center; }

/* ============================================
   NAVBAR
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(12px);
    box-shadow: var(--shadow-sm);
    padding: 0;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.logo {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--gray-800);
    display: flex;
    align-items: center;
    gap: 8px;
}
.logo-icon { color: var(--pink-400); font-size: 1.1rem; }

.nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
}
.nav-links a {
    padding: 8px 16px;
    color: var(--gray-600);
    font-size: 0.9rem;
    font-weight: 500;
    border-radius: var(--radius-sm);
}
.nav-links a:hover { color: var(--pink-500); background: var(--pink-50); }

.nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.3rem;
    color: var(--gray-700);
    cursor: pointer;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--pink-50);
    padding-top: 72px;
}

.hero-orbit-container {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-orbit {
    position: relative;
    width: 700px;
    height: 700px;
    animation: orbitSpin 30s linear infinite;
}

@keyframes orbitSpin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.orbit-image {
    position: absolute;
    width: 110px;
    height: 110px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: var(--shadow-lg);
    border: 4px solid var(--white);
    animation: orbitCounterSpin 30s linear infinite;
}

@keyframes orbitCounterSpin {
    from { transform: rotate(0deg); }
    to { transform: rotate(-360deg); }
}

.orbit-image:nth-child(1) { top: 0; left: 50%; transform: translateX(-50%); }
.orbit-image:nth-child(2) { top: 14%; right: 5%; }
.orbit-image:nth-child(3) { bottom: 14%; right: 5%; }
.orbit-image:nth-child(4) { bottom: 0; left: 50%; transform: translateX(-50%); }
.orbit-image:nth-child(5) { bottom: 14%; left: 5%; }
.orbit-image:nth-child(6) { top: 14%; left: 5%; }

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 560px;
    padding: 48px;
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(16px);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
}

.hero-badge {
    display: inline-block;
    padding: 6px 16px;
    background: var(--pink-100);
    color: var(--pink-600);
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.hero-content h1 {
    font-family: var(--font-display);
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--gray-900);
    line-height: 1.2;
    margin-bottom: 16px;
}

.hero-content h1 span { color: var(--pink-500); }

.hero-content p {
    color: var(--gray-500);
    font-size: 1.05rem;
    margin-bottom: 32px;
    line-height: 1.7;
}

.hero-form {
    display: flex;
    gap: 12px;
    max-width: 440px;
    margin: 0 auto;
}

.hero-form input[type="email"] {
    flex: 1;
    padding: 14px 20px;
    border: 2px solid var(--pink-200);
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    font-family: var(--font-body);
    outline: none;
    transition: border-color 0.3s;
    background: var(--white);
}
.hero-form input[type="email"]:focus { border-color: var(--pink-400); }
.hero-form input[type="email"]::placeholder { color: var(--gray-400); }

.hero-form button {
    white-space: nowrap;
    padding: 14px 28px;
}

.hero-form-note {
    font-size: 0.8rem;
    color: var(--gray-400);
    margin-top: 12px;
}

.hero-form-note i { color: var(--pink-400); }

/* ============================================
   SECTIONS
   ============================================ */
.section { padding: 100px 0; }
.section-light { background: var(--white); }
.section-tinted { background: var(--pink-50); }

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 60px;
}

.section-header h2 {
    font-family: var(--font-display);
    font-size: 2.2rem;
    color: var(--gray-900);
    margin-bottom: 16px;
}
.section-header h2 span { color: var(--pink-500); }
.section-header p { color: var(--gray-500); font-size: 1rem; }

/* ============================================
   FEATURES
   ============================================ */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.feature-card {
    background: var(--white);
    padding: 40px 32px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: all 0.3s ease;
}
.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--pink-100);
    color: var(--pink-500);
    border-radius: var(--radius-md);
    font-size: 1.5rem;
    margin: 0 auto 20px;
}

.feature-card h3 {
    font-family: var(--font-display);
    font-size: 1.2rem;
    color: var(--gray-800);
    margin-bottom: 12px;
}
.feature-card p { color: var(--gray-500); font-size: 0.9rem; line-height: 1.7; }

/* ============================================
   COURSE CARDS
   ============================================ */
.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 32px;
}

.course-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}
.course-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.course-thumb {
    width: 100%;
    height: auto;
    display: block;
    background: var(--pink-100);
}

.course-info { padding: 28px; }

.course-info h3 {
    font-family: var(--font-display);
    font-size: 1.2rem;
    color: var(--gray-800);
    margin-bottom: 8px;
}
.course-info p {
    color: var(--gray-500);
    font-size: 0.9rem;
    margin-bottom: 20px;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.course-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.course-price {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--pink-500);
}

/* ============================================
   FORMS
   ============================================ */
.form-group { margin-bottom: 20px; }

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--gray-700);
    margin-bottom: 6px;
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--gray-800);
    background: var(--white);
    outline: none;
    transition: border-color 0.3s;
}
.form-control:focus { border-color: var(--pink-400); }

textarea.form-control { resize: vertical; min-height: 100px; }

select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%239ca3af' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 40px;
}

/* ============================================
   AUTH PAGES
   ============================================ */
.auth-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--pink-50);
    padding: 80px 24px 40px;
}

.auth-card {
    width: 100%;
    max-width: 440px;
    background: var(--white);
    padding: 48px 40px;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
}

.auth-card h2 {
    font-family: var(--font-display);
    font-size: 1.8rem;
    color: var(--gray-900);
    margin-bottom: 8px;
    text-align: center;
}

.auth-card .subtitle {
    text-align: center;
    color: var(--gray-500);
    font-size: 0.9rem;
    margin-bottom: 32px;
}

.auth-footer {
    text-align: center;
    margin-top: 24px;
    font-size: 0.9rem;
    color: var(--gray-500);
}
.auth-footer a { color: var(--pink-500); font-weight: 500; }
.auth-footer a:hover { text-decoration: underline; }

/* ============================================
   ALERTS
   ============================================ */
.alert {
    padding: 14px 20px;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    margin-bottom: 24px;
}
.alert-success { background: #d1fae5; color: #065f46; }
.alert-error { background: #fee2e2; color: #991b1b; }
.alert-info { background: var(--pink-100); color: var(--pink-700); }

/* ============================================
   ADMIN DASHBOARD
   ============================================ */
.dashboard-layout {
    display: flex;
    min-height: 100vh;
    padding-top: 72px;
}

.sidebar {
    width: 260px;
    background: var(--white);
    border-right: 1px solid var(--gray-200);
    padding: 32px 0;
    position: fixed;
    top: 72px;
    bottom: 0;
    overflow-y: auto;
}

.sidebar-menu { list-style: none; padding: 0 12px; }

.sidebar-menu li a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    color: var(--gray-600);
    font-size: 0.9rem;
    font-weight: 500;
    border-radius: var(--radius-sm);
    margin-bottom: 4px;
}
.sidebar-menu li a:hover,
.sidebar-menu li a.active {
    background: var(--pink-50);
    color: var(--pink-600);
}
.sidebar-menu li a i { width: 20px; text-align: center; }

.dashboard-main {
    flex: 1;
    margin-left: 260px;
    padding: 32px 40px;
    background: var(--gray-50);
    min-height: calc(100vh - 72px);
}

.page-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 32px;
}

.page-header h1 {
    font-family: var(--font-display);
    font-size: 1.8rem;
    color: var(--gray-900);
}

/* Stats Cards */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 40px;
}

.stat-card {
    background: var(--white);
    padding: 28px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}
.stat-card .stat-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    font-size: 1.2rem;
    margin-bottom: 16px;
}
.stat-card .stat-icon.pink { background: var(--pink-100); color: var(--pink-500); }
.stat-card .stat-icon.green { background: #d1fae5; color: #059669; }
.stat-card .stat-icon.blue { background: #dbeafe; color: #2563eb; }
.stat-card .stat-icon.purple { background: #ede9fe; color: #7c3aed; }

.stat-card .stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--gray-900);
    line-height: 1;
    margin-bottom: 4px;
}
.stat-card .stat-label {
    font-size: 0.85rem;
    color: var(--gray-500);
}

/* Tables */
.data-table {
    width: 100%;
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.data-table table {
    width: 100%;
    border-collapse: collapse;
}

.data-table th {
    text-align: left;
    padding: 16px 20px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: var(--gray-50);
    border-bottom: 1px solid var(--gray-200);
}

.data-table td {
    padding: 16px 20px;
    font-size: 0.9rem;
    color: var(--gray-700);
    border-bottom: 1px solid var(--gray-100);
}
.data-table tr:last-child td { border-bottom: none; }
.data-table tr:hover td { background: var(--pink-50); }

.badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}
.badge-success { background: #d1fae5; color: #065f46; }
.badge-warning { background: #fef3c7; color: #92400e; }
.badge-danger { background: #fee2e2; color: #991b1b; }
.badge-pink { background: var(--pink-100); color: var(--pink-600); }

/* ============================================
   ADMIN FORM CARD
   ============================================ */
.form-card {
    background: var(--white);
    padding: 36px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    max-width: 700px;
}
.form-card h2 {
    font-family: var(--font-display);
    font-size: 1.4rem;
    color: var(--gray-900);
    margin-bottom: 28px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

/* ============================================
   LEARNER - COURSE VIEW
   ============================================ */
.course-header-section {
    background: var(--pink-50);
    padding: 120px 0 60px;
}

.course-header-content h1 {
    font-family: var(--font-display);
    font-size: 2.4rem;
    color: var(--gray-900);
    margin-bottom: 16px;
}
.course-header-content p {
    color: var(--gray-500);
    font-size: 1.05rem;
    max-width: 600px;
    line-height: 1.7;
}

.course-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 40px;
    padding: 40px 0 80px;
}

.topic-list { list-style: none; }

.topic-item {
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    margin-bottom: 16px;
    overflow: hidden;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}
.topic-item:hover { box-shadow: var(--shadow-md); }
.topic-item.active { border-color: var(--pink-400); }
.topic-item.locked { opacity: 0.6; }

.topic-item-header {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 24px;
    cursor: pointer;
}

.topic-number {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--pink-100);
    color: var(--pink-600);
    border-radius: 50%;
    font-weight: 700;
    font-size: 0.85rem;
    flex-shrink: 0;
}
.topic-item.completed .topic-number {
    background: #d1fae5;
    color: #059669;
}

.topic-title { font-weight: 500; color: var(--gray-800); flex: 1; }

.topic-status { font-size: 0.8rem; color: var(--gray-400); }
.topic-item.completed .topic-status { color: #059669; }

.course-sidebar-card {
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    padding: 28px;
    position: sticky;
    top: 104px;
}
.course-sidebar-card h3 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    color: var(--gray-800);
    margin-bottom: 20px;
}

.progress-bar-container {
    background: var(--gray-200);
    border-radius: 10px;
    height: 10px;
    overflow: hidden;
    margin-bottom: 8px;
}
.progress-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--pink-400), var(--pink-500));
    border-radius: 10px;
    transition: width 0.5s ease;
}

.progress-text {
    font-size: 0.85rem;
    color: var(--gray-500);
    margin-bottom: 24px;
}

/* Video Player */
.video-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    background: var(--gray-900);
    border-radius: var(--radius-md);
    overflow: hidden;
    margin-bottom: 24px;
}
.video-container iframe,
.video-container video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Assignment */
.assignment-card {
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    padding: 36px;
    margin-top: 24px;
}
.assignment-card h3 {
    font-family: var(--font-display);
    font-size: 1.3rem;
    color: var(--gray-900);
    margin-bottom: 8px;
}
.assignment-card .subtitle {
    color: var(--gray-500);
    font-size: 0.9rem;
    margin-bottom: 28px;
}

.question-block {
    margin-bottom: 28px;
    padding: 24px;
    background: var(--gray-50);
    border-radius: var(--radius-sm);
}
.question-block p {
    font-weight: 500;
    color: var(--gray-800);
    margin-bottom: 16px;
}

.option-label {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: background 0.2s;
    margin-bottom: 6px;
    font-size: 0.9rem;
    color: var(--gray-700);
}
.option-label:hover { background: var(--pink-50); }
.option-label input[type="radio"] { accent-color: var(--pink-500); }

/* ============================================
   NOTIFICATIONS DROPDOWN
   ============================================ */
.notification-dot {
    width: 8px;
    height: 8px;
    background: #ef4444;
    border-radius: 50%;
    display: inline-block;
    margin-left: 4px;
}

/* ============================================
   TESTIMONIALS SLIDER
   ============================================ */
.testimonials-slider {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 60px;
}

.slider-track {
    display: flex;
    overflow: hidden;
    border-radius: var(--radius-xl);
}

.testimonial-slide {
    min-width: 100%;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.testimonial-card {
    display: grid;
    grid-template-columns: 280px 1fr;
    background: var(--white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--pink-100);
}

.testimonial-image-wrap {
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.testimonial-image-wrap::after {
    content: '\f065';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    bottom: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(4px);
    border-radius: 50%;
    color: var(--pink-500);
    font-size: 0.8rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.testimonial-image-wrap:hover::after {
    opacity: 1;
}

.testimonial-img {
    width: 100%;
    height: 100%;
    min-height: 340px;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.testimonial-image-wrap:hover .testimonial-img {
    transform: scale(1.05);
}

.testimonial-body {
    padding: 40px 36px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.testimonial-stars {
    display: flex;
    gap: 3px;
    color: #fbbf24;
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.testimonial-text {
    font-size: 1.05rem;
    color: var(--gray-600);
    line-height: 1.8;
    font-style: italic;
    margin-bottom: 28px;
    position: relative;
    padding-left: 20px;
    border-left: 3px solid var(--pink-300);
}

.testimonial-author strong {
    display: block;
    font-family: var(--font-display);
    font-size: 1.1rem;
    color: var(--gray-800);
    margin-bottom: 4px;
}

.testimonial-author span {
    font-size: 0.85rem;
    color: var(--pink-500);
    font-weight: 500;
}

/* Slider Arrow Controls */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px solid var(--pink-200);
    background: var(--white);
    color: var(--pink-500);
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
    box-shadow: var(--shadow-md);
}

.slider-arrow:hover {
    background: var(--pink-400);
    color: var(--white);
    border-color: var(--pink-400);
    transform: translateY(-50%) scale(1.1);
}

.slider-prev { left: 0; }
.slider-next { right: 0; }

/* Slider Dots */
.slider-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 32px;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--pink-200);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.slider-dot.active {
    background: var(--pink-500);
    transform: scale(1.2);
}

.slider-dot:hover {
    background: var(--pink-400);
}

/* ============================================
   IMAGE LIGHTBOX
   ============================================ */
.lightbox-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.92);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 40px;
    cursor: zoom-out;
    animation: fadeIn 0.3s ease;
}

.lightbox-overlay.active {
    display: flex;
}

.lightbox-image {
    max-width: 90vw;
    max-height: 90vh;
    object-fit: contain;
    border-radius: var(--radius-md);
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
    animation: scaleIn 0.3s ease;
}

.lightbox-close {
    position: absolute;
    top: 24px;
    right: 24px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(8px);
    border: none;
    color: var(--white);
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.lightbox-close:hover {
    background: rgba(255,255,255,0.3);
    transform: rotate(90deg);
}

/* ============================================
   SUCCESS VIDEO POPUP
   ============================================ */
.video-popup-overlay {
    position: fixed;
    inset: 0;
    z-index: 9998;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
    animation: fadeIn 0.3s ease;
}

.video-popup-overlay.active {
    display: flex;
}

.video-popup-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    width: 100%;
    max-width: 600px;
    overflow: hidden;
    box-shadow: 0 24px 80px rgba(0,0,0,0.3);
    position: relative;
    animation: slideUp 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.video-popup-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--gray-100);
    border: none;
    color: var(--gray-600);
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
}

.video-popup-close:hover {
    background: var(--pink-100);
    color: var(--pink-600);
    transform: rotate(90deg);
}

.video-popup-header {
    text-align: center;
    padding: 40px 36px 24px;
}

.video-popup-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #d1fae5, #a7f3d0);
    color: #059669;
    border-radius: 50%;
    font-size: 1.8rem;
    margin: 0 auto 16px;
    animation: popIn 0.5s ease 0.2s both;
}

.video-popup-header h3 {
    font-family: var(--font-display);
    font-size: 1.6rem;
    color: var(--gray-900);
    margin-bottom: 8px;
}

.video-popup-header p {
    color: var(--gray-500);
    font-size: 0.95rem;
    line-height: 1.6;
}

.video-popup-player {
    padding: 0 28px 28px;
}

.video-popup-player video {
    width: 100%;
    border-radius: var(--radius-md);
    background: var(--gray-900);
    max-height: 340px;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes scaleIn {
    from { transform: scale(0.8); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

@keyframes slideUp {
    from { transform: translateY(40px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

@keyframes popIn {
    from { transform: scale(0); }
    to { transform: scale(1); }
}

/* ============================================
   PAGE-LEVEL
   ============================================ */
.page-wrapper { padding-top: 72px; }

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--pink-400), var(--pink-600));
    padding: 80px 0;
    text-align: center;
}
.cta-section h2 {
    font-family: var(--font-display);
    font-size: 2.2rem;
    color: var(--white);
    margin-bottom: 16px;
}
.cta-section p {
    color: rgba(255,255,255,0.85);
    font-size: 1.05rem;
    margin-bottom: 32px;
}
.cta-section .btn {
    background: var(--white);
    color: var(--pink-600);
    font-weight: 600;
}
.cta-section .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(0,0,0,0.15);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--gray-900);
    color: var(--gray-400);
    padding: 64px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid var(--gray-700);
}

.footer-brand h3 {
    color: var(--white);
    font-family: var(--font-display);
    font-size: 1.3rem;
    margin-bottom: 16px;
}
.footer-brand h3 i { color: var(--pink-400); }
.footer-brand p { line-height: 1.7; font-size: 0.9rem; }

.footer-links h4,
.footer-contact h4 {
    color: var(--white);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 16px;
}

.footer-links a {
    display: block;
    color: var(--gray-400);
    font-size: 0.9rem;
    padding: 4px 0;
}
.footer-links a:hover { color: var(--pink-300); }

.footer-contact p { font-size: 0.9rem; margin-bottom: 16px; }
.footer-contact i { color: var(--pink-400); margin-right: 8px; }

.social-links { display: flex; gap: 12px; }
.social-links a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gray-800);
    border-radius: 50%;
    color: var(--gray-400);
    font-size: 1rem;
}
.social-links a:hover { background: var(--pink-500); color: var(--white); }

.footer-bottom {
    text-align: center;
    padding: 24px 0;
    font-size: 0.85rem;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .course-layout { grid-template-columns: 1fr; }
    .dashboard-main { margin-left: 0; }
    .sidebar { display: none; }
}

@media (max-width: 768px) {
    .nav-toggle { display: block; }
    .nav-links {
        display: none;
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 16px;
        box-shadow: var(--shadow-md);
    }
    .nav-links.open { display: flex; }

    .hero-orbit { width: 400px; height: 400px; }
    .orbit-image { width: 70px; height: 70px; }
    .hero-content { padding: 32px 24px; margin: 0 16px; }
    .hero-content h1 { font-size: 2rem; }
    .hero-form { flex-direction: column; }

    .features-grid { grid-template-columns: 1fr; }
    .courses-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .stats-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }

    .section { padding: 60px 0; }
    .section-header h2 { font-size: 1.8rem; }

    /* Testimonials responsive */
    .testimonials-slider { padding: 0 50px; }
    .testimonial-card { grid-template-columns: 1fr; }
    .testimonial-img { min-height: 250px; }
    .testimonial-body { padding: 28px 24px; }
    .slider-arrow { width: 40px; height: 40px; font-size: 0.85rem; }
    .video-popup-header { padding: 32px 24px 16px; }
    .video-popup-header h3 { font-size: 1.3rem; }
    .video-popup-player { padding: 0 16px 16px; }
}

/* ============================================
   UTILITY
   ============================================ */
.text-center { text-align: center; }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.gap-12 { gap: 12px; }
.d-flex { display: flex; align-items: center; }
.ml-auto { margin-left: auto; }

.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: var(--gray-400);
}
.empty-state i {
    font-size: 3rem;
    margin-bottom: 16px;
    color: var(--pink-200);
}
.empty-state p { font-size: 1rem; }

.action-links { display: flex; gap: 8px; }
.action-links a {
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 500;
}
.action-edit { background: var(--pink-100); color: var(--pink-600); }
.action-edit:hover { background: var(--pink-200); }
.action-delete { background: #fee2e2; color: #dc2626; }
.action-delete:hover { background: #fecaca; }
.action-view { background: #dbeafe; color: #2563eb; }
.action-view:hover { background: #bfdbfe; }

/* ============================================
   UPSELL CARDS
   ============================================ */
.upsell-section {
    margin-top: 24px;
}

.upsell-card {
    display: flex;
    align-items: center;
    gap: 14px;
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    padding: 14px;
    margin-bottom: 12px;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    text-decoration: none;
}

.upsell-card:hover {
    border-color: var(--pink-300);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.upsell-card-img {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-sm);
    object-fit: cover;
    flex-shrink: 0;
}

.upsell-card-placeholder {
    background: var(--pink-100);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--pink-400);
    font-size: 1.2rem;
}

.upsell-card-body {
    flex: 1;
    min-width: 0;
}

.upsell-card-body h4 {
    font-family: var(--font-display);
    font-size: 0.95rem;
    color: var(--gray-800);
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.upsell-card-price {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--pink-500);
}

/* Utilities */
.flex-between {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.forgot-link {
    font-size: 0.8rem;
    color: var(--pink-500);
    font-weight: 500;
}
.forgot-link:hover {
    text-decoration: underline;
}

