/* =========================================================
   ANMOL YAAN LMS
   GLOBAL STYLE SHEET
   ========================================================= */

/* ---------- GOOGLE FONT ---------- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Poppins:wght@500;600;700;800&display=swap');

/* ---------- ROOT ---------- */
:root {
    --primary: #5546e8;
    --primary-dark: #4034c7;
    --primary-light: #eeeaff;

    --secondary: #06b6d4;
    --success: #16a34a;
    --danger: #ef4444;
    --warning: #f59e0b;

    --dark: #111827;
    --dark-2: #1f2937;
    --text: #374151;
    --muted: #6b7280;

    --white: #ffffff;
    --light: #f7f8fc;
    --light-blue: #f0f6ff;

    --border: #e5e7eb;

    --shadow-sm: 0 4px 15px rgba(17, 24, 39, 0.06);
    --shadow: 0 12px 35px rgba(17, 24, 39, 0.10);
    --shadow-lg: 0 20px 60px rgba(17, 24, 39, 0.15);

    --radius-sm: 8px;
    --radius: 14px;
    --radius-lg: 22px;
    --radius-xl: 30px;

    --container: 1200px;

    --transition: all 0.3s ease;
}

/* ---------- RESET ---------- */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text);
    background: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

button,
input,
textarea,
select {
    font-family: inherit;
}

button {
    cursor: pointer;
    border: none;
}

ul,
ol {
    list-style: none;
}

/* ---------- CONTAINER ---------- */

.container {
    width: min(var(--container), calc(100% - 40px));
    margin: auto;
}

/* ---------- SECTION ---------- */

.section {
    padding: 90px 0;
}

.section-sm {
    padding: 60px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 15px;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 14px;
}

.section-title h2 {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(30px, 4vw, 46px);
    line-height: 1.2;
    color: var(--dark);
    margin-bottom: 14px;
}

.section-title p {
    max-width: 700px;
    margin: auto;
    color: var(--muted);
    font-size: 16px;
}

/* =========================================================
   HEADER
   ========================================================= */

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(229, 231, 235, 0.8);
    transition: var(--transition);
}

.site-header.scrolled {
    box-shadow: var(--shadow-sm);
}

/* ---------- NAVBAR ---------- */

.navbar {
    height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

/* ---------- LOGO ---------- */

.logo {
    display: flex;
    align-items: center;
    gap: 11px;
    font-family: 'Poppins', sans-serif;
    font-size: 23px;
    font-weight: 800;
    color: var(--dark);
    white-space: nowrap;
}

.logo-icon {
    width: 43px;
    height: 43px;
    border-radius: 13px;
    display: grid;
    place-items: center;
    color: white;
    font-size: 16px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary), #2878ff);
    box-shadow: 0 8px 20px rgba(85, 70, 232, 0.25);
}

/* ---------- NAV LINKS ---------- */

.nav-menu {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-link {
    position: relative;
    font-size: 15px;
    font-weight: 600;
    color: var(--text);
    padding: 27px 0;
    transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
}

.nav-link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 17px;
    width: 0;
    height: 2px;
    border-radius: 10px;
    background: var(--primary);
    transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* ---------- NAV ACTIONS ---------- */

.nav-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-icon-btn {
    width: 42px;
    height: 42px;
    border: 1px solid var(--border);
    background: var(--white);
    border-radius: 12px;
    display: grid;
    place-items: center;
    color: var(--dark);
    transition: var(--transition);
}

.nav-icon-btn:hover {
    color: var(--primary);
    border-color: var(--primary);
    transform: translateY(-2px);
}

.cart-count {
    position: absolute;
    margin-top: -27px;
    margin-left: 27px;
    width: 19px;
    height: 19px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--danger);
    color: white;
    font-size: 10px;
    font-weight: 700;
}

/* ---------- MOBILE MENU ---------- */

.menu-toggle {
    display: none;
    width: 43px;
    height: 43px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: white;
    font-size: 20px;
}

/* =========================================================
   BUTTONS
   ========================================================= */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 13px 22px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 700;
    transition: var(--transition);
    cursor: pointer;
}

.btn-primary {
    color: white;
    background: linear-gradient(135deg, var(--primary), #7059ff);
    box-shadow: 0 8px 20px rgba(85, 70, 232, 0.25);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 13px 30px rgba(85, 70, 232, 0.35);
}

.btn-outline {
    color: var(--primary);
    border: 1px solid #d9d5ff;
    background: white;
}

.btn-outline:hover {
    color: white;
    background: var(--primary);
    border-color: var(--primary);
    transform: translateY(-2px);
}

.btn-dark {
    background: var(--dark);
    color: white;
}

.btn-dark:hover {
    background: var(--primary);
    transform: translateY(-2px);
}

.btn-success {
    background: var(--success);
    color: white;
}

.btn-danger {
    background: var(--danger);
    color: white;
}

/* =========================================================
   HERO
   ========================================================= */

.hero {
    position: relative;
    min-height: 680px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background:
        radial-gradient(circle at 10% 20%, rgba(85,70,232,.12), transparent 35%),
        radial-gradient(circle at 90% 20%, rgba(6,182,212,.12), transparent 35%),
        linear-gradient(180deg, #fafbff 0%, #ffffff 100%);
}

.hero::before {
    content: '';
    position: absolute;
    width: 450px;
    height: 450px;
    border-radius: 50%;
    background: rgba(85, 70, 232, 0.07);
    filter: blur(20px);
    right: -150px;
    top: -150px;
    animation: float 7s ease-in-out infinite;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    gap: 70px;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: #eeecff;
    color: var(--primary);
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 22px;
}

.hero h1 {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(43px, 6vw, 72px);
    line-height: 1.06;
    letter-spacing: -2px;
    color: var(--dark);
    margin-bottom: 22px;
}

.hero h1 span {
    color: var(--primary);
}

.hero-description {
    max-width: 650px;
    color: var(--muted);
    font-size: 17px;
    line-height: 1.8;
    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

/* ---------- HERO VISUAL ---------- */

.hero-visual {
    position: relative;
}

.hero-card {
    position: relative;
    min-height: 470px;
    border-radius: 30px;
    padding: 35px;
    overflow: hidden;
    color: white;
    background: linear-gradient(145deg, #121831, #242052);
    box-shadow: var(--shadow-lg);
    animation: heroFloat 6s ease-in-out infinite;
}

.hero-card::before,
.hero-card::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    background: rgba(112, 89, 255, 0.15);
}

.hero-card::before {
    width: 300px;
    height: 300px;
    right: -100px;
    top: -100px;
}

.hero-card::after {
    width: 180px;
    height: 180px;
    left: -90px;
    bottom: -80px;
}

.hero-course-icon {
    width: 100px;
    height: 100px;
    margin: 35px auto;
    border-radius: 25px;
    display: grid;
    place-items: center;
    font-size: 30px;
    font-weight: 800;
    background: linear-gradient(135deg, #6047f5, #7a5cff);
    box-shadow: 0 15px 35px rgba(0,0,0,.25);
}

.hero-card h3 {
    position: relative;
    z-index: 2;
    text-align: center;
    font-family: 'Poppins', sans-serif;
    font-size: 32px;
}

.hero-card p {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #aab1c7;
    margin-top: 8px;
}

.hero-pill {
    position: relative;
    z-index: 2;
    width: fit-content;
    margin: 35px auto 0;
    padding: 10px 18px;
    border-radius: 50px;
    background: linear-gradient(90deg, #5c49ef, #08b8d0);
    font-size: 13px;
    font-weight: 700;
}

/* =========================================================
   COURSE CARDS
   ========================================================= */

.course-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.course-card {
    position: relative;
    overflow: hidden;
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.course-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: #d9d5ff;
}

.course-image {
    position: relative;
    height: 220px;
    overflow: hidden;
    background: var(--light-blue);
}

.course-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}

.course-card:hover .course-image img {
    transform: scale(1.07);
}

.course-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    padding: 6px 11px;
    border-radius: 8px;
    background: var(--primary);
    color: white;
    font-size: 11px;
    font-weight: 700;
}

.course-content {
    padding: 22px;
}

.course-category {
    color: var(--primary);
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 8px;
}

.course-title {
    font-family: 'Poppins', sans-serif;
    font-size: 20px;
    line-height: 1.35;
    color: var(--dark);
    margin-bottom: 10px;
}

.course-description {
    color: var(--muted);
    font-size: 14px;
    margin-bottom: 15px;
}

.course-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    color: var(--muted);
    font-size: 12px;
    margin-bottom: 18px;
}

.course-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.course-price {
    color: var(--dark);
    font-size: 21px;
    font-weight: 800;
}

.old-price {
    color: #9ca3af;
    font-size: 13px;
    text-decoration: line-through;
    margin-left: 5px;
}

/* =========================================================
   CATEGORY CARDS
   ========================================================= */

.category-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.category-card {
    padding: 30px 20px;
    text-align: center;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: white;
    transition: var(--transition);
}

.category-card:hover {
    transform: translateY(-6px);
    border-color: var(--primary);
    box-shadow: var(--shadow);
}

.category-icon {
    width: 65px;
    height: 65px;
    margin: auto auto 15px;
    border-radius: 18px;
    display: grid;
    place-items: center;
    background: var(--primary-light);
    color: var(--primary);
    font-size: 25px;
}

.category-card h3 {
    color: var(--dark);
    font-family: 'Poppins', sans-serif;
    font-size: 17px;
}

/* =========================================================
   FEATURES
   ========================================================= */

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.feature-card {
    padding: 30px;
    border-radius: var(--radius-lg);
    background: white;
    border: 1px solid var(--border);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.feature-icon {
    width: 58px;
    height: 58px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    color: var(--primary);
    background: var(--primary-light);
    font-size: 24px;
    margin-bottom: 20px;
}

.feature-card h3 {
    color: var(--dark);
    font-family: 'Poppins', sans-serif;
    margin-bottom: 10px;
}

.feature-card p {
    color: var(--muted);
    font-size: 14px;
}

/* =========================================================
   PAGE HERO
   ========================================================= */

.page-hero {
    padding: 90px 0;
    text-align: center;
    background:
        radial-gradient(circle at 20% 20%, rgba(85,70,232,.10), transparent 30%),
        radial-gradient(circle at 80% 20%, rgba(6,182,212,.10), transparent 30%),
        var(--light);
}

.page-hero h1 {
    font-family: 'Poppins', sans-serif;
    color: var(--dark);
    font-size: clamp(36px, 5vw, 58px);
    margin-bottom: 12px;
}

.page-hero p {
    color: var(--muted);
    max-width: 650px;
    margin: auto;
}

/* =========================================================
   BREADCRUMB
   ========================================================= */

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 25px;
    color: var(--muted);
    font-size: 13px;
}

.breadcrumb a:hover {
    color: var(--primary);
}

.breadcrumb span:last-child {
    color: var(--dark);
    font-weight: 600;
}

/* =========================================================
   COURSE DETAILS
   ========================================================= */

.course-detail-grid {
    display: grid;
    grid-template-columns: 1.5fr .7fr;
    gap: 40px;
    align-items: start;
}

.course-detail-image {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: var(--radius-lg);
}

.course-detail-title {
    font-family: 'Poppins', sans-serif;
    color: var(--dark);
    font-size: clamp(30px, 4vw, 48px);
    line-height: 1.2;
    margin-bottom: 15px;
}

.course-detail-card {
    position: sticky;
    top: 100px;
    padding: 25px;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: white;
    box-shadow: var(--shadow);
}

.detail-price {
    font-size: 32px;
    font-weight: 800;
    color: var(--dark);
}

.detail-list {
    margin: 20px 0;
}

.detail-list li {
    display: flex;
    gap: 10px;
    padding: 10px 0;
    color: var(--text);
    border-bottom: 1px solid var(--border);
}

.detail-list li:last-child {
    border-bottom: none;
}

/* =========================================================
   LESSON / LMS
   ========================================================= */

.lesson-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    min-height: 650px;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: white;
}

.lesson-sidebar {
    background: #11162d;
    color: white;
    padding: 25px;
}

.lesson-sidebar h3 {
    font-family: 'Poppins', sans-serif;
    margin-bottom: 20px;
}

.lesson-list li a {
    display: block;
    padding: 12px;
    border-radius: 9px;
    color: #aeb5c9;
    font-size: 13px;
    margin-bottom: 5px;
    transition: var(--transition);
}

.lesson-list li a:hover,
.lesson-list li a.active {
    background: rgba(255,255,255,.08);
    color: white;
}

.lesson-content {
    padding: 35px;
}

.video-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: var(--radius);
    background: #050505;
}

.video-wrapper iframe,
.video-wrapper video {
    width: 100%;
    height: 100%;
    border: none;
}

/* =========================================================
   CART
   ========================================================= */

.cart-layout {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 30px;
    align-items: start;
}

.cart-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: white;
    margin-bottom: 15px;
}

.cart-item-image {
    width: 110px;
    height: 80px;
    object-fit: cover;
    border-radius: 10px;
}

.cart-summary {
    position: sticky;
    top: 100px;
    padding: 25px;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: white;
    box-shadow: var(--shadow-sm);
}

.summary-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
}

.summary-total {
    display: flex;
    justify-content: space-between;
    font-size: 21px;
    font-weight: 800;
    color: var(--dark);
    padding-top: 18px;
}

/* =========================================================
   FORMS
   ========================================================= */

.form-container {
    max-width: 550px;
    margin: auto;
}

.form-card {
    padding: 35px;
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

.form-group {
    margin-bottom: 18px;
}

.form-label {
    display: block;
    color: var(--dark);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 7px;
}

.form-control {
    width: 100%;
    padding: 13px 15px;
    border: 1px solid var(--border);
    border-radius: 11px;
    outline: none;
    background: white;
    color: var(--dark);
    font-size: 14px;
    transition: var(--transition);
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(85,70,232,.10);
}

textarea.form-control {
    min-height: 130px;
    resize: vertical;
}

/* =========================================================
   ALERTS
   ========================================================= */

.alert {
    padding: 14px 17px;
    border-radius: 11px;
    font-size: 14px;
    margin-bottom: 20px;
}

.alert-success {
    background: #ecfdf3;
    color: #15803d;
}

.alert-danger {
    background: #fef2f2;
    color: #dc2626;
}

.alert-warning {
    background: #fffbeb;
    color: #b45309;
}

/* =========================================================
   PROFILE / DASHBOARD
   ========================================================= */

.dashboard-grid {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 25px;
}

.dashboard-sidebar {
    padding: 20px;
    border-radius: var(--radius-lg);
    background: #11162d;
    color: white;
}

.dashboard-menu a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 13px;
    border-radius: 10px;
    color: #aeb5c9;
    margin-bottom: 5px;
    transition: var(--transition);
}

.dashboard-menu a:hover,
.dashboard-menu a.active {
    color: white;
    background: rgba(255,255,255,.09);
}

.dashboard-content {
    min-width: 0;
}

/* =========================================================
   STATS
   ========================================================= */

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.stat-card {
    padding: 22px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: white;
}

.stat-number {
    font-family: 'Poppins', sans-serif;
    font-size: 30px;
    font-weight: 800;
    color: var(--dark);
}

.stat-label {
    color: var(--muted);
    font-size: 13px;
}

/* =========================================================
   FOOTER
   ========================================================= */

.site-footer {
    background: #101528;
    color: white;
    padding: 70px 0 25px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr repeat(3, 1fr);
    gap: 45px;
}

.footer-brand p {
    max-width: 350px;
    color: #9ba4bb;
    margin-top: 15px;
    font-size: 14px;
}

.footer-title {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    margin-bottom: 18px;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #9ba4bb;
    font-size: 14px;
    transition: var(--transition);
}

.footer-links a:hover {
    color: white;
    padding-left: 4px;
}

.footer-bottom {
    margin-top: 50px;
    padding-top: 22px;
    border-top: 1px solid rgba(255,255,255,.08);
    text-align: center;
    color: #7f889d;
    font-size: 13px;
}

/* =========================================================
   WHATSAPP FLOATING BUTTON
   ========================================================= */

.whatsapp-btn {
    position: fixed;
    right: 25px;
    bottom: 25px;
    z-index: 999;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #22c55e;
    color: white;
    font-size: 25px;
    box-shadow: 0 10px 30px rgba(34,197,94,.35);
    transition: var(--transition);
}

.whatsapp-btn:hover {
    transform: scale(1.1);
}

/* =========================================================
   LOADING
   ========================================================= */

.page-loader {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: grid;
    place-items: center;
    background: white;
    transition: opacity .4s ease, visibility .4s ease;
}

.page-loader.hide {
    opacity: 0;
    visibility: hidden;
}

.loader {
    width: 48px;
    height: 48px;
    border: 4px solid #e5e7eb;
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* =========================================================
   ANIMATIONS
   ========================================================= */

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity .7s ease, transform .7s ease;
}

.reveal.show {
    opacity: 1;
    transform: translateY(0);
}

.fade-in {
    animation: fadeIn .7s ease both;
}

.slide-up {
    animation: slideUp .7s ease both;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-18px);
    }
}

@keyframes heroFloat {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-10px) rotate(.4deg);
    }
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* =========================================================
   EMPTY STATE
   ========================================================= */

.empty-state {
    padding: 70px 20px;
    text-align: center;
    border: 1px dashed var(--border);
    border-radius: var(--radius-lg);
    background: var(--light);
}

.empty-icon {
    font-size: 50px;
    margin-bottom: 15px;
}

.empty-state h3 {
    color: var(--dark);
    margin-bottom: 7px;
}

.empty-state p {
    color: var(--muted);
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1100px) {

    .hero-grid {
        gap: 40px;
    }

    .course-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .category-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 850px) {

    .navbar {
        height: 70px;
    }

    .menu-toggle {
        display: grid;
        place-items: center;
    }

    .nav-menu {
        position: absolute;
        top: 70px;
        left: 20px;
        right: 20px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 15px;
        background: white;
        border: 1px solid var(--border);
        border-radius: 15px;
        box-shadow: var(--shadow-lg);
    }

    .nav-menu.open {
        display: flex;
        animation: slideUp .25s ease;
    }

    .nav-link {
        padding: 13px;
    }

    .nav-link::after {
        display: none;
    }

    .hero {
        min-height: auto;
        padding: 80px 0;
    }

    .hero-grid {
        grid-template-columns: 1fr;
    }

    .hero-content {
        text-align: center;
    }

    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons {
        justify-content: center;
    }

    .course-detail-grid {
        grid-template-columns: 1fr;
    }

    .course-detail-card {
        position: static;
    }

    .lesson-layout {
        grid-template-columns: 1fr;
    }

    .lesson-sidebar {
        order: 2;
    }

    .cart-layout {
        grid-template-columns: 1fr;
    }

    .cart-summary {
        position: static;
    }

    .dashboard-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {

    .container {
        width: min(var(--container), calc(100% - 28px));
    }

    .section {
        padding: 65px 0;
    }

    .hero h1 {
        font-size: 43px;
        letter-spacing: -1px;
    }

    .hero-card {
        min-height: 400px;
        padding: 25px;
    }

    .course-grid,
    .category-grid,
    .feature-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .cart-item {
        align-items: flex-start;
    }

    .cart-item-image {
        width: 85px;
        height: 65px;
    }

    .form-card {
        padding: 25px 18px;
    }

    .whatsapp-btn {
        right: 18px;
        bottom: 18px;
    }
}

/* =========================================================
   ACCESSIBILITY
   ========================================================= */

:focus-visible {
    outline: 3px solid rgba(85, 70, 232, .35);
    outline-offset: 3px;
}

/* =========================================================
   END
   ========================================================= */