/*
 Theme Name:   Al-Fikr Child
 Theme URI:    https://alfikracademy.com/
 Description:  قالب ابن مخصص لأكاديمية الفكر (نسخة مطورة من Eduma)
 Author:       Al-Fikr Academy Team
 Author URI:   https://alfikracademy.com/
 Template:     eduma
 Version:      1.0
  License: GNU General Public License v2 or later
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
  Text Domain: alfikr-child
*/

/* Loading screen container */
#loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #ffffff; /* your original white background */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

/* SVG text stroke animation */
.loading-text text {
    font-size: 52px;
    font-family: 'Poppins', sans-serif; /* Changed to Poppins */
    stroke: #000000;        /* black stroke */
    stroke-width: 0.5px;
    fill: transparent;      /* start transparent */
    stroke-dasharray: 500;
    stroke-dashoffset: 500;
    animation: drawText 3s linear forwards;
}

/* Stroke animation keyframes */
@keyframes drawText {
    to {
        stroke-dashoffset: 0;
        fill: #A0BC3B; /* black fill */
    }
}

* Responsive adjustments */
@media (max-width: 768px) {
    .loading-text {
        font-size: 48px; /* Reduce size on tablets */
    }
}

@media (max-width: 480px) {
    .loading-text {
        font-size: 32px; /* Further reduce on mobile */
    }
}
/* ============================================================
   [1] RESET & BASE
   ============================================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', 'Cairo', 'Tajawal', sans-serif;
    background: #0F1A2C;
    color: #fff;
    direction: ltr;
    padding-top: 80px;
}

/* ============================================================
   [2] ANIMATED BACKGROUND
   ============================================================ */
.bg-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: linear-gradient(135deg, #0F1A2C, #1A2F4A, #2A1F4A);
    animation: gradientBG 20s ease infinite;
    background-size: 400% 400%;
}

@keyframes gradientBG {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* ============================================================
   [3] PROGRESS BAR
   ============================================================ */
.progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 4px;
    background: linear-gradient(90deg, #C9A84C, #FDCB6E);
    z-index: 9999;
    width: 0%;
    transition: width 0.2s ease;
}

/* ============================================================
   [4] BACK TO TOP
   ============================================================ */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #C9A84C;
    color: #fff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
    border: none;
    box-shadow: 0 4px 20px rgba(201, 168, 76, 0.3);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(201, 168, 76, 0.4);
}

/* ============================================================
   [5] NAVBAR
   ============================================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999;
    padding: 0 25px;
    background: rgba(15, 26, 44, 0.75) !important;
    backdrop-filter: blur(15px) !important;
    -webkit-backdrop-filter: blur(15px) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    height: 70px;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(15, 26, 44, 0.92) !important;
    backdrop-filter: blur(20px) !important;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.nav-container {
    max-width: 1300px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo a {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.nav-logo i {
    color: #C9A84C;
    font-size: 22px;
}

.nav-logo .logo-text {
    font-size: 20px;
    font-weight: 900;
    color: #fff;
}

.nav-logo .highlight {
    background: linear-gradient(135deg, #C9A84C, #FDCB6E);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-logo .logo-sub {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.35);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 25px;
    margin: 0;
}

.nav-menu li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    padding: 5px 0;
    border-bottom: 2px solid transparent;
}

.nav-menu li a:hover,
.nav-menu li a.active {
    color: #C9A84C;
    border-bottom-color: #C9A84C;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-search {
    background: rgba(255, 255, 255, 0.05);
    padding: 6px 14px;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #fff;
    outline: none;
    width: 140px;
    transition: 0.3s;
    font-size: 13px;
    font-family: 'Inter', sans-serif;
}

.nav-search:focus {
    border-color: #C9A84C;
    width: 180px;
}

.nav-actions .glass-btn {
    padding: 8px 20px;
    font-size: 14px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
}

.login-btn {
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: #fff !important;
    box-shadow: none !important;
}

.login-btn:hover {
    background: rgba(255, 255, 255, 0.1) !important;
    transform: translateY(-2px);
}

.signup-btn {
    background: linear-gradient(135deg, #C9A84C, #b8963e) !important;
    color: #1A2A3A !important;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.hamburger span {
    width: 28px;
    height: 3px;
    background: #fff;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* ============================================================
   [6] HERO - FULL PAGE SLIDER
   ============================================================ */
.hero-slider-section {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.hero-full {
    padding: 0 40px;
}

/* [6.1] Animated Background */
.hero-bg-animation {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(-45deg, #1a365d, #2a4a7f, #c9a84c, #4a6fa5);
    background-size: 400% 400%;
    animation: gradientMove 15s ease infinite;
    z-index: 1;
}

@keyframes gradientMove {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* [6.2] Slider - Full Background */
.hero-slider-full {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
}

.hero-slider-full .hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.hero-slider-full .hero-slide.active {
    opacity: 1;
}

.hero-slider-full .hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.5) saturate(1.1);
}

.hero-slider-full .slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26, 54, 93, 0.6), rgba(0, 0, 0, 0.4));
    z-index: 1;
}

/* [6.3] Glass Content - Left Side */
.hero-content-left {
    position: relative;
    z-index: 10;
    max-width: 600px;
    margin: 0;
    padding: 40px 35px;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
    text-align: left;
}

/* ============================================================
   [7] HERO - LTR OVERRIDES
   ============================================================ */
.hero-ltr {
    direction: ltr !important;
    text-align: left !important;
}

.hero-skills-ltr {
    direction: ltr !important;
    text-align: left !important;
}

.hero-skills-ltr .skill-item {
    direction: ltr !important;
    text-align: left !important;
    justify-content: flex-start !important;
}

.hero-skills-ltr .skill-item i {
    margin-left: 0;
    margin-right: 10px;
}

.hero-bonus-ltr {
    direction: ltr !important;
    justify-content: flex-start !important;
}

.hero-stats-ltr {
    direction: ltr !important;
    justify-content: flex-start !important;
    gap: 20px;
}

.hero-buttons-ltr {
    direction: ltr !important;
    justify-content: flex-start !important;
}

/* ============================================================
   [8] HERO - CONTENT STYLES
   ============================================================ */
.hero-title {
    font-size: 42px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
    line-height: 1.2;
}

.hero-title .gradient-text {
    background: linear-gradient(135deg, #c9a84c, #f5d97e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 15px;
}

.hero-skills-ltr {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px 15px;
    text-align: left;
    margin: 10px 0 8px;
}

.skill-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.85);
    background: rgba(255, 255, 255, 0.05);
    padding: 5px 12px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.04);
    transition: all 0.3s ease;
}

.skill-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(4px);
}

.skill-item i {
    color: #C9A84C;
    font-size: 14px;
    min-width: 22px;
    text-align: center;
}

.hero-bonus-ltr {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 6px;
    margin: 8px 0 14px;
}

.bonus-tag {
    background: rgba(201, 168, 76, 0.12);
    border: 1px solid rgba(201, 168, 76, 0.15);
    padding: 3px 12px;
    border-radius: 30px;
    font-size: 11px;
    font-weight: 600;
    color: #C9A84C;
    transition: all 0.3s ease;
}

.bonus-tag:hover {
    background: rgba(201, 168, 76, 0.2);
    transform: translateY(-2px);
}

.hero-stats-ltr {
    display: flex;
    justify-content: flex-start;
    gap: 20px;
    margin-bottom: 14px;
    flex-wrap: wrap;
}

.hero-stats-ltr .stat-item {
    background: rgba(255, 255, 255, 0.06);
    padding: 3px 16px;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    align-items: center;
    gap: 6px;
}

.hero-stats-ltr .stat-number {
    font-size: 18px;
    font-weight: 700;
    color: #c9a84c;
}

.hero-stats-ltr .stat-label {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
}

.hero-buttons-ltr {
    display: flex;
    justify-content: flex-start;
    gap: 12px;
    flex-wrap: wrap;
}

.hero-cta-secondary {
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    box-shadow: none !important;
    color: #fff !important;
}

.hero-cta-secondary:hover {
    background: rgba(255, 255, 255, 0.18) !important;
    transform: translateY(-3px);
}

/* ============================================================
   [9] BUTTONS
   ============================================================ */
.glass-btn {
    display: inline-block;
    background: linear-gradient(135deg, #C9A84C, #b8963e);
    color: #1A2A3A;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 8px 30px rgba(201, 168, 76, 0.25);
}

.glass-btn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 40px rgba(201, 168, 76, 0.35);
}

.pulse-btn {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(201, 168, 76, 0.4);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(201, 168, 76, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(201, 168, 76, 0);
    }
}

/* ============================================================
   [10] FLOATING WORDS - RIGHT SIDE (MIDDLE)
   ============================================================ */
.hero-floating-words-right {
    position: absolute;
    right: 8%;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    display: flex;
    flex-direction: column;
    gap: 16px;
    pointer-events: none;
}

.floating-word {
    font-size: 28px;
    font-weight: 700;
    letter-spacing: 2px;
    opacity: 0;
    transform: translateX(30px);
    animation: floatWordNeon 12s ease-in-out infinite;
    white-space: nowrap;
}

.floating-word:nth-child(1) {
    animation-delay: 0s;
}

.floating-word:nth-child(2) {
    animation-delay: 4s;
}

.floating-word:nth-child(3) {
    animation-delay: 8s;
}

/* [10.1] NEON TEXT EFFECT */
.neon-text {
    color: #C9A84C;
    text-shadow:
        0 0 7px rgba(201, 168, 76, 0.6),
        0 0 10px rgba(201, 168, 76, 0.4),
        0 0 21px rgba(201, 168, 76, 0.3),
        0 0 42px rgba(201, 168, 76, 0.2),
        0 0 82px rgba(201, 168, 76, 0.1);
    transition: all 0.3s ease;
}

@keyframes floatWordNeon {
    0% {
        opacity: 0;
        transform: translateX(40px) scale(0.9);
    }
    10% {
        opacity: 1;
        transform: translateX(0) scale(1);
        text-shadow:
            0 0 7px rgba(201, 168, 76, 0.8),
            0 0 10px rgba(201, 168, 76, 0.6),
            0 0 21px rgba(201, 168, 76, 0.4),
            0 0 42px rgba(201, 168, 76, 0.3),
            0 0 82px rgba(201, 168, 76, 0.2);
    }
    25% {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
    35% {
        opacity: 0;
        transform: translateX(-20px) scale(0.95);
        text-shadow: none;
    }
    100% {
        opacity: 0;
        transform: translateX(-20px) scale(0.95);
        text-shadow: none;
    }
}

/* ============================================================
   [11] ABOUT - MESSAGE SECTION
   ============================================================ */
.message-section {
    padding: 60px 20px;
    background: rgba(0, 0, 0, 0.15);
}

.message-content {
    max-width: 1000px;
    margin: 0 auto;
    padding: 50px 40px;
    text-align: center;
}

.message-icon {
    font-size: 48px;
    color: #C9A84C;
    margin-bottom: 15px;
}

.message-title {
    font-size: 32px;
    font-weight: 900;
    color: #fff;
    margin-bottom: 8px;
}

.message-subtitle {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 35px;
}

.message-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 25px;
    text-align: left;
    margin-bottom: 35px;
}

.feature-item {
    display: flex;
    gap: 15px;
    align-items: flex-start;
    padding: 15px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: all 0.3s ease;
}

.feature-item:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-3px);
}

.feature-item i {
    font-size: 28px;
    min-width: 40px;
    padding-top: 3px;
}

.feature-item h4 {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 4px;
}

.feature-item p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.5;
}

.message-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.message-note {
    font-size: 14px;
    color: rgba(201, 168, 76, 0.8);
    font-weight: 600;
    animation: pulseText 2s infinite;
}

@keyframes pulseText {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

/* ============================================================
   [12] LEVELS
   ============================================================ */
.levels-section {
    padding: 60px 20px;
    background: rgba(0, 0, 0, 0.1);
}

.levels-section .container {
    max-width: 1300px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    color: #fff;
    font-size: 32px;
    font-weight: 900;
    margin-bottom: 8px;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: #C9A84C;
    margin: 15px auto 0;
    border-radius: 2px;
}

.section-subtitle {
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 18px;
    margin-bottom: 30px;
}

.levels-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 10px;
}

.level-card {
    background: rgba(255, 255, 255, 0.04);
    border: 2px solid rgba(255, 255, 255, 0.06);
    border-radius: 14px;
    padding: 14px 10px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    color: #fff;
    position: relative;
}

.level-card:hover {
    transform: translateY(-6px);
    border-color: rgba(201, 168, 76, 0.3);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.level-card.active {
    border-color: #C9A84C;
    background: rgba(201, 168, 76, 0.08);
    box-shadow: 0 0 30px rgba(201, 168, 76, 0.05);
}

.level-card .level-number {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.15);
    font-weight: 700;
    position: absolute;
    top: 6px;
    left: 10px;
}

.level-card .level-icon {
    font-size: 24px;
    display: block;
    margin-bottom: 4px;
}

.level-card .level-name {
    font-weight: 700;
    font-size: 14px;
}

.level-card .level-sub {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.35);
}

.level-card .level-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin: 4px 0;
}

.level-card .level-lessons {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.2);
    margin-top: 4px;
}

/* ============================================================
   [13] GLASS CARD
   ============================================================ */
.glass-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    border-radius: 18px;
    padding: 25px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.glass-card:hover {
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

/* ============================================================
   [14] COURSE CARD
   ============================================================ */
.course-card {
    padding: 28px;
}

.level-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.level-header .big-icon {
    font-size: 38px;
}

.level-header .info h2 {
    font-size: 22px;
    font-weight: 900;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    color: #fff;
}

.level-header .info h2 .badge-level {
    font-size: 11px;
    font-weight: 700;
    padding: 2px 14px;
    border-radius: 30px;
    background: rgba(201, 168, 76, 0.12);
}

.level-header .info p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
}

/* [14.1] Video */
.video-thumbnail {
    width: 100%;
    height: 180px;
    background: linear-gradient(135deg, #4A90D9, #6C5CE7);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    cursor: pointer;
    transition: all 0.4s ease;
}

.video-thumbnail:hover {
    transform: scale(1.01);
    box-shadow: 0 10px 40px rgba(74, 144, 217, 0.2);
}

.video-thumbnail i {
    font-size: 48px;
    color: #fff;
    opacity: 0.9;
    transition: 0.3s;
}

.video-thumbnail:hover i {
    transform: scale(1.1);
}

.video-thumbnail .play-badge {
    position: absolute;
    top: 10px;
    right: 14px;
    background: rgba(255, 107, 107, 0.85);
    padding: 2px 12px;
    border-radius: 30px;
    font-size: 10px;
    font-weight: 700;
    color: #fff;
}

.video-thumbnail .duration-badge {
    position: absolute;
    bottom: 10px;
    right: 14px;
    background: rgba(0, 0, 0, 0.5);
    padding: 2px 10px;
    border-radius: 20px;
    font-size: 11px;
    color: #fff;
}

/* [14.2] Meta */
.course-meta {
    display: flex;
    gap: 10px;
    margin: 12px 0 14px;
    flex-wrap: wrap;
}

.course-meta span {
    background: rgba(255, 255, 255, 0.04);
    padding: 3px 12px;
    border-radius: 30px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.8);
}

.course-meta i {
    color: #FDCB6E;
    margin-left: 4px;
}

.course-meta .teacher {
    color: #4A90D9;
    font-weight: 700;
}

/* [14.3] Stats */
.stats {
    display: flex;
    gap: 8px;
    margin: 14px 0 18px;
    flex-wrap: wrap;
}

.stat-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    padding: 8px 14px;
    border-radius: 10px;
    text-align: center;
    flex: 1;
    min-width: 60px;
    transition: all 0.3s ease;
}

.stat-item:hover {
    background: rgba(255, 255, 255, 0.06);
    transform: translateY(-2px);
}

.stat-item i {
    font-size: 16px;
    color: #4A90D9;
    display: block;
    margin-bottom: 2px;
}

.stat-item .number {
    font-size: 14px;
    font-weight: 700;
    color: #fff;
}

.stat-item .label {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.4);
}

/* [14.4] Payment */
.payment-section {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.price {
    font-size: 28px;
    font-weight: 900;
    background: linear-gradient(135deg, #FDCB6E, #FF6B6B);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.price small {
    font-size: 13px;
    font-weight: 400;
    -webkit-text-fill-color: rgba(255, 255, 255, 0.3);
}

.btn-pay {
    background: linear-gradient(135deg, #C9A84C, #b8963e);
    color: #1A2A3A;
    font-size: 16px;
    font-weight: 700;
    padding: 11px 32px;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.4s ease;
    font-family: 'Inter', sans-serif;
    box-shadow: 0 8px 30px rgba(201, 168, 76, 0.2);
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-pay:hover {
    transform: scale(1.04);
    box-shadow: 0 12px 40px rgba(201, 168, 76, 0.35);
}

.btn-pay i {
    font-size: 16px;
}

.secure-badge {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.25);
    margin-top: 4px;
}

.secure-badge i {
    color: #00D2D3;
}

/* ============================================================
   [15] SIDEBAR
   ============================================================ */
.sidebar {
    position: sticky;
    top: 80px;
    align-self: flex-start;
    max-height: calc(100vh - 100px);
    overflow-y: auto;
}

.sidebar-card {
    padding: 20px 18px;
}

.sidebar-card h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #C9A84C;
}

.module-sidebar {
    margin-bottom: 4px;
    border-radius: 8px;
    overflow: hidden;
}

.module-header {
    background: rgba(255, 255, 255, 0.03);
    padding: 8px 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.04);
}

.module-header:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(201, 168, 76, 0.12);
}

.module-header .title {
    font-weight: 700;
    font-size: 12.5px;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 6px;
}

.module-header .title i {
    color: #C9A84C;
    font-size: 12px;
}

.module-header .badge {
    background: rgba(201, 168, 76, 0.1);
    color: #C9A84C;
    padding: 1px 8px;
    border-radius: 20px;
    font-size: 9px;
    font-weight: 700;
}

.module-header .arrow {
    color: rgba(255, 255, 255, 0.2);
    transition: 0.3s;
    font-size: 11px;
}

.module-sidebar.active .module-header .arrow {
    transform: rotate(180deg);
}

.module-sidebar.active .module-header {
    border-color: rgba(201, 168, 76, 0.15);
    background: rgba(201, 168, 76, 0.04);
}

.module-lessons {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
    padding-right: 6px;
}

.module-sidebar.active .module-lessons {
    max-height: 400px;
}

.lesson-item {
    padding: 4px 12px 4px 6px;
    display: flex;
    align-items: center;
    gap: 6px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 11.5px;
    border-radius: 5px;
    margin: 2px 0;
    transition: all 0.2s ease;
    cursor: pointer;
}

.lesson-item:hover {
    background: rgba(255, 255, 255, 0.04);
    color: #fff;
}

.lesson-item i {
    color: #C9A84C;
    font-size: 10px;
    opacity: 0.4;
}

.lesson-item .lesson-number {
    color: rgba(255, 255, 255, 0.12);
    font-size: 9px;
    font-weight: 700;
    min-width: 18px;
}

/* ============================================================
   [16] FOOTER
   ============================================================ */
.site-footer {
    background: rgba(15, 26, 44, 0.8);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    padding: 25px 0;
    text-align: center;
    color: rgba(255, 255, 255, 0.15);
    font-size: 12px;
    margin-top: 8px;
}

.site-footer p i {
    color: #C9A84C;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
    margin-top: 10px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.25);
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 12px;
}

.footer-links a:hover {
    color: #C9A84C;
}

/* ============================================================
   [17] ANIMATIONS
   ============================================================ */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeIn 0.8s ease forwards;
}

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

.slide-in {
    opacity: 0;
    transform: translateX(-30px);
    animation: slideIn 0.8s ease forwards;
}

@keyframes slideIn {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ============================================================
   [18] MAIN CONTENT GRID
   ============================================================ */
.main-container {
    display: grid;
    grid-template-columns: 2fr 1.1fr;
    gap: 28px;
    max-width: 1300px;
    margin: 10px auto 30px;
    padding: 0 25px;
    min-height: 70vh;
}

.main-content {
    flex: 2;
    min-width: 0;
}

/* ============================================================
   [19] RESPONSIVE - HERO & FLOATING WORDS
   ============================================================ */
/* ---------- Large Screens (1200px - 1400px) ---------- */
@media (max-width: 1400px) {
    .floating-word {
        font-size: 22px;
    }
    .hero-floating-words-right {
        right: 4%;
    }
    .hero-content-left {
        max-width: 520px;
        padding: 35px 30px;
    }
}

/* ---------- Medium Screens (992px - 1200px) ---------- */
@media (max-width: 1200px) {
    .floating-word {
        font-size: 18px;
    }
    .hero-floating-words-right {
        right: 3%;
        gap: 12px;
    }
    .hero-content-left {
        max-width: 460px;
        padding: 30px 25px;
    }
    .hero-title {
        font-size: 34px;
    }
    .hero-skills-ltr {
        grid-template-columns: 1fr;
        gap: 4px;
    }
    .skill-item {
        font-size: 12px;
        padding: 4px 10px;
    }
}

/* ---------- Tablet (768px - 992px) ---------- */
@media (max-width: 992px) {
    .hero-full {
        padding: 0 20px;
        justify-content: flex-start;
    }
    .hero-content-left {
        max-width: 420px;
        padding: 25px 20px;
    }
    .hero-title {
        font-size: 28px;
    }
    .hero-subtitle {
        font-size: 15px;
    }
    .floating-word {
        font-size: 14px;
    }
    .hero-floating-words-right {
        right: 2%;
        gap: 8px;
    }
    .hero-stats-ltr {
        gap: 10px;
    }
    .hero-stats-ltr .stat-number {
        font-size: 15px;
    }
    .hero-stats-ltr .stat-label {
        font-size: 10px;
    }
    .bonus-tag {
        font-size: 9px;
        padding: 2px 8px;
    }
    .glass-btn {
        padding: 8px 18px;
        font-size: 12px;
    }
}

/* ---------- Mobile Large (576px - 768px) ---------- */
@media (max-width: 768px) {
    body {
        padding-top: 60px;
    }
    .navbar {
        padding: 0 12px;
        height: 60px;
    }
    .nav-logo .logo-text {
        font-size: 16px;
    }
    .nav-logo .logo-sub {
        font-size: 9px;
    }
    .nav-logo i {
        font-size: 18px;
    }
    .nav-menu {
        position: absolute;
        top: 60px;
        left: 0;
        right: 0;
        flex-direction: column;
        background: rgba(15, 26, 44, 0.97);
        backdrop-filter: blur(20px);
        padding: 20px;
        gap: 12px;
        clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
        transition: all 0.4s ease;
        text-align: center;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        border-radius: 0 0 20px 20px;
    }
    .nav-menu.active {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    }
    .hamburger {
        display: flex;
    }
    .nav-actions .login-btn,
    .nav-actions .signup-btn {
        display: none;
    }
    .nav-search {
        width: 80px;
        font-size: 10px;
        padding: 4px 10px;
    }
    .nav-search:focus {
        width: 100px;
    }

    .hero-full {
        padding: 0 12px;
        justify-content: center;
    }
    .hero-slider-full {
        opacity: 0.25;
    }
    .hero-content-left {
        max-width: 100%;
        margin: 0;
        padding: 20px 16px;
        background: rgba(0, 0, 0, 0.8);
        border-radius: 16px;
    }
    .hero-title {
        font-size: 24px;
    }
    .hero-subtitle {
        font-size: 14px;
        margin-bottom: 10px;
    }
    .hero-skills-ltr {
        grid-template-columns: 1fr;
        gap: 3px;
        margin: 6px 0;
    }
    .skill-item {
        font-size: 11px;
        padding: 3px 8px;
        gap: 4px;
    }
    .skill-item i {
        font-size: 12px;
        min-width: 18px;
    }
    .hero-bonus-ltr {
        gap: 4px;
        margin: 5px 0 10px;
    }
    .bonus-tag {
        font-size: 8px;
        padding: 2px 8px;
    }
    .hero-stats-ltr {
        gap: 6px;
        margin-bottom: 10px;
    }
    .hero-stats-ltr .stat-item {
        padding: 2px 10px;
    }
    .hero-stats-ltr .stat-number {
        font-size: 14px;
    }
    .hero-stats-ltr .stat-label {
        font-size: 9px;
    }
    .hero-buttons-ltr {
        gap: 8px;
    }
    .glass-btn {
        padding: 8px 16px;
        font-size: 11px;
    }
    .hero-floating-words-right {
        display: none;
    }

    .message-content {
        padding: 25px 15px;
    }
    .message-title {
        font-size: 20px;
    }
    .message-subtitle {
        font-size: 14px;
        margin-bottom: 20px;
    }
    .message-features {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    .feature-item {
        padding: 10px;
    }
    .feature-item i {
        font-size: 20px;
        min-width: 30px;
    }
    .feature-item h4 {
        font-size: 14px;
    }
    .feature-item p {
        font-size: 12px;
    }

    .levels-section {
        padding: 30px 10px;
    }
    .section-title {
        font-size: 20px;
    }
    .section-subtitle {
        font-size: 14px;
        margin-bottom: 15px;
    }
    .levels-grid {
        grid-template-columns: repeat(5, 1fr);
        gap: 4px;
    }
    .level-card {
        padding: 8px 4px;
        border-radius: 10px;
    }
    .level-card .level-number {
        font-size: 7px;
        top: 3px;
        left: 5px;
    }
    .level-card .level-icon {
        font-size: 14px;
        margin-bottom: 2px;
    }
    .level-card .level-name {
        font-size: 9px;
    }
    .level-card .level-sub {
        font-size: 7px;
    }
    .level-card .level-dot {
        width: 5px;
        height: 5px;
        margin: 2px 0;
    }
    .level-card .level-lessons {
        font-size: 7px;
    }

    .main-container {
        padding: 0 10px;
        gap: 12px;
        margin: 5px auto 15px;
    }
    .course-card {
        padding: 14px 12px;
        border-radius: 14px;
    }
    .level-header .big-icon {
        font-size: 28px;
    }
    .level-header .info h2 {
        font-size: 16px;
    }
    .level-header .info p {
        font-size: 12px;
    }
    .video-thumbnail {
        height: 100px;
    }
    .video-thumbnail i {
        font-size: 28px;
    }
    .video-thumbnail .play-badge,
    .video-thumbnail .duration-badge {
        font-size: 8px;
        padding: 1px 8px;
    }
    .course-meta span {
        font-size: 10px;
        padding: 2px 8px;
    }
    .stats .stat-item {
        padding: 4px 8px;
        min-width: 40px;
    }
    .stats .stat-item .number {
        font-size: 12px;
    }
    .stats .stat-item .label {
        font-size: 8px;
    }
    .payment-section {
        flex-direction: column;
        text-align: center;
    }
    .price {
        font-size: 20px;
    }
    .btn-pay {
        width: 100%;
        justify-content: center;
        padding: 8px 16px;
        font-size: 13px;
    }

    .sidebar-card {
        padding: 14px 12px;
    }
    .sidebar-card h3 {
        font-size: 14px;
    }
    .module-header {
        padding: 6px 10px;
    }
    .module-header .title {
        font-size: 11px;
    }
    .module-header .badge {
        font-size: 7px;
        padding: 1px 6px;
    }
    .lesson-item {
        font-size: 10px;
        padding: 3px 8px;
    }

    .site-footer {
        padding: 15px 0;
        font-size: 10px;
    }
    .footer-links {
        gap: 12px;
    }
    .footer-links a {
        font-size: 10px;
    }
}

/* ---------- Mobile Small (up to 480px) ---------- */
@media (max-width: 480px) {
    .hero-content-left {
        padding: 14px 12px;
        border-radius: 12px;
    }
    .hero-title {
        font-size: 18px;
    }
    .hero-subtitle {
        font-size: 12px;
        margin-bottom: 8px;
    }
    .skill-item {
        font-size: 10px;
        padding: 2px 6px;
    }
    .skill-item i {
        font-size: 10px;
        min-width: 16px;
    }
    .bonus-tag {
        font-size: 7px;
        padding: 1px 6px;
    }
    .hero-stats-ltr .stat-item {
        padding: 1px 8px;
    }
    .hero-stats-ltr .stat-number {
        font-size: 12px;
    }
    .hero-stats-ltr .stat-label {
        font-size: 8px;
    }
    .glass-btn {
        padding: 6px 12px;
        font-size: 10px;
    }
    .hero-buttons-ltr {
        gap: 6px;
    }

    .levels-grid {
        grid-template-columns: repeat(5, 1fr);
        gap: 3px;
    }
    .level-card {
        padding: 5px 2px;
        border-radius: 6px;
    }
    .level-card .level-icon {
        font-size: 11px;
    }
    .level-card .level-name {
        font-size: 7px;
    }
    .level-card .level-sub {
        font-size: 6px;
    }
    .level-card .level-lessons {
        font-size: 6px;
    }

    .section-title {
        font-size: 18px;
    }
    .section-title::after {
        width: 40px;
        height: 3px;
    }

    .course-card {
        padding: 10px 8px;
    }
    .level-header .big-icon {
        font-size: 22px;
    }
    .level-header .info h2 {
        font-size: 14px;
    }
    .level-header .info p {
        font-size: 10px;
    }
    .video-thumbnail {
        height: 70px;
    }
    .video-thumbnail i {
        font-size: 20px;
    }
    .course-meta span {
        font-size: 8px;
        padding: 1px 6px;
    }
    .stats .stat-item {
        padding: 3px 6px;
        min-width: 30px;
    }
    .stats .stat-item .number {
        font-size: 10px;
    }
    .stats .stat-item .label {
        font-size: 7px;
    }
    .price {
        font-size: 16px;
    }
    .btn-pay {
        font-size: 11px;
        padding: 6px 12px;
    }
}

/* ============================================================
   [20] RESPONSIVE - MAIN & SIDEBAR
   ============================================================ */
@media (max-width: 1024px) {
    .main-container {
        grid-template-columns: 1fr;
    }
    .sidebar {
        position: relative;
        top: 0;
        max-width: 100%;
        max-height: none;
        overflow-y: visible;
    }
}

@media (max-width: 768px) {
    .message-content {
        padding: 30px 20px;
    }
    .message-title {
        font-size: 24px;
    }
    .message-features {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    .feature-item {
        padding: 12px;
    }

    .levels-section {
        padding: 30px 10px;
    }
    .section-title {
        font-size: 24px;
    }
    .levels-grid {
        grid-template-columns: repeat(5, 1fr);
        gap: 6px;
    }
    .level-card {
        padding: 10px 6px;
    }
    .level-card .level-icon {
        font-size: 18px;
    }
    .level-card .level-name {
        font-size: 11px;
    }
    .level-card .level-sub {
        font-size: 8px;
    }

    .main-container {
        padding: 0 10px;
        gap: 15px;
    }
    .course-card {
        padding: 14px 12px;
    }
    .video-thumbnail {
        height: 110px;
    }
    .video-thumbnail i {
        font-size: 30px;
    }
    .level-header .big-icon {
        font-size: 26px;
    }
    .level-header .info h2 {
        font-size: 17px;
    }

    .payment-section {
        flex-direction: column;
        text-align: center;
    }
    .btn-pay {
        width: 100%;
        justify-content: center;
        padding: 10px 16px;
        font-size: 14px;
    }
    .price {
        font-size: 22px;
    }
}

@media (max-width: 480px) {
    .levels-grid {
        grid-template-columns: repeat(5, 1fr);
        gap: 4px;
    }
    .level-card .level-name {
        font-size: 9px;
    }
    .level-card .level-icon {
        font-size: 14px;
    }
    .stat-item {
        min-width: 45px;
        padding: 5px 8px;
    }
    .stat-item .number {
        font-size: 12px;
    }
}