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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: url('Nacos.jpeg') no-repeat center center;
    background-size: cover;
    background-color: #010f05;
    background-attachment: fixed;
    min-height: 100vh;
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    background: rgba(0, 20, 5, 0.72);
    z-index: 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    position: relative;
    z-index: 1;
}

.header {
    text-align: center;
    color: white;
    margin-bottom: 50px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.4);
}

.header h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.level-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

/* Glassmorphism cards */
.card, .course-card {
    background: rgba(0, 80, 30, 0.25);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(100, 220, 120, 0.3);
    border-radius: 20px;
    padding: 20px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
}

.card:hover, .course-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
    background: rgba(0, 100, 40, 0.35);
}

.card-icon, .course-icon {
    font-size: 4rem;
    margin-bottom: 20px;
}

.card h2, .course-card h3 {
    color: #ffffff;
    margin-bottom: 15px;
    text-shadow: 0 1px 6px rgba(0,0,0,0.3);
}

.card p, .questions-count {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 20px;
}

.select-btn, .start-btn {
    background: rgba(0, 150, 60, 0.45);
    color: white;
    border: 1px solid rgba(100, 220, 120, 0.5);
    padding: 12px 30px;
    border-radius: 25px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s;
    backdrop-filter: blur(8px);
}

.select-btn:hover, .start-btn:hover {
    background: rgba(0, 180, 70, 0.65);
    box-shadow: 0 4px 20px rgba(0, 200, 80, 0.3);
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.back-btn {
    background: rgba(0, 100, 40, 0.3);
    color: white;
    border: 1px solid rgba(100, 220, 120, 0.3);
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    margin-bottom: 20px;
    font-size: 1rem;
    backdrop-filter: blur(8px);
    transition: all 0.3s;
}

.back-btn:hover {
    background: rgba(0, 130, 50, 0.5);
}

/* Exam Styles */
.exam-container {
    background: rgba(0, 60, 20, 0.3);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(100, 220, 120, 0.25);
    border-radius: 20px;
    padding: 30px;
    margin-top: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 1;
}

.exam-body {
    display: flex;
    gap: 25px;
}

.exam-main {
    flex: 1;
    min-width: 0;
}

.exam-header {
    border-bottom: 1px solid rgba(100, 220, 120, 0.2);
    padding-bottom: 20px;
    margin-bottom: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.exam-info h2 {
    color: #ffffff;
    margin-bottom: 5px;
    text-shadow: 0 1px 6px rgba(0,0,0,0.3);
}

.timer {
    font-size: 1.2rem;
    font-weight: bold;
    color: #ff6b6b;
    text-shadow: 0 1px 4px rgba(0,0,0,0.3);
}

.progress {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.85);
}

.question-container {
    margin-bottom: 30px;
}

.question-text {
    font-size: 1.3rem;
    color: #ffffff;
    margin-bottom: 25px;
    line-height: 1.5;
    text-shadow: 0 1px 4px rgba(0,0,0,0.3);
}

.options {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.option {
    display: flex;
    align-items: center;
    padding: 15px;
    border: 1px solid rgba(100, 220, 120, 0.25);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s;
    background: rgba(0, 80, 30, 0.2);
}

.option:hover {
    background: rgba(0, 120, 50, 0.35);
    border-color: rgba(100, 220, 120, 0.5);
}

.option input {
    margin-right: 15px;
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.option label {
    cursor: pointer;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    flex: 1;
}

.nav-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin: 30px 0;
}

.nav-btn {
    padding: 12px 25px;
    background: rgba(0, 130, 50, 0.5);
    color: white;
    border: 1px solid rgba(100, 220, 120, 0.5);
    border-radius: 8px;
    cursor: pointer;
    font-size: 1rem;
    backdrop-filter: blur(8px);
    transition: all 0.3s;
}

.nav-btn:hover {
    background: rgba(0, 160, 60, 0.7);
}

.submit-btn {
    padding: 12px 30px;
    background: rgba(39, 174, 96, 0.55);
    color: white;
    border: 1px solid rgba(39, 174, 96, 0.7);
    border-radius: 8px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: bold;
    backdrop-filter: blur(8px);
    transition: all 0.3s;
}

.submit-btn:hover {
    background: rgba(39, 174, 96, 0.8);
}

.question-palette {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px;
    align-content: flex-start;
    width: 200px;
    min-width: 200px;
    max-height: 70vh;
    overflow-y: auto;
    padding: 15px;
    background: rgba(0, 60, 20, 0.3);
    border: 1px solid rgba(100, 220, 120, 0.2);
    border-radius: 12px;
    align-self: flex-start;
}

.side-panel {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 200px;
    min-width: 200px;
    align-self: flex-start;
}

.timer-box {
    background: rgba(0, 60, 20, 0.4);
    border: 1px solid rgba(100, 220, 120, 0.3);
    border-radius: 12px;
    padding: 15px;
    text-align: center;
    color: rgba(255,255,255,0.8);
    font-size: 0.85rem;
}

.timer-box span {
    display: block;
    font-size: 1.8rem;
    font-weight: bold;
    color: #ff6b6b;
    margin-top: 5px;
}

.palette-btn {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    border: 1px solid rgba(100, 220, 120, 0.3);
    background: rgba(0, 80, 30, 0.3);
    color: white;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s;
    backdrop-filter: blur(8px);
}

.palette-btn.answered {
    background: rgba(39, 174, 96, 0.7);
    border-color: rgba(39, 174, 96, 0.9);
    color: white;
}

.palette-btn.current {
    background: rgba(0, 180, 80, 0.8);
    border-color: rgba(100, 255, 140, 0.9);
    color: white;
    transform: scale(1.1);
}

.result-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(6px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.result-content {
    background: rgba(0, 60, 20, 0.45);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(100, 220, 120, 0.3);
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    max-width: 500px;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4);
    color: white;
}

.result-content h2 {
    color: #ffffff;
    margin-bottom: 20px;
    text-shadow: 0 1px 6px rgba(0,0,0,0.3);
}

.result-content p {
    color: rgba(255,255,255,0.85);
}

.score {
    font-size: 3rem;
    font-weight: bold;
    color: #6effa0;
    margin: 20px 0;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.missed-review {
    margin-top: 20px;
    max-height: 350px;
    overflow-y: auto;
    text-align: left;
    padding-right: 5px;
}

.missed-item {
    background: rgba(0, 60, 20, 0.4);
    border: 1px solid rgba(100, 220, 120, 0.2);
    border-radius: 10px;
    padding: 12px 15px;
    margin-bottom: 12px;
}

.missed-q {
    color: rgba(255,255,255,0.9);
    margin-bottom: 6px;
    font-size: 0.9rem;
    line-height: 1.4;
}

.missed-wrong {
    color: #ff6b6b;
    font-size: 0.85rem;
    margin-bottom: 4px;
}

.missed-correct {
    color: #6effa0;
    font-size: 0.85rem;
}

@media (max-width: 768px) {
    .header h1 {
        font-size: 1.6rem;
    }

    .level-cards, .courses-grid {
        grid-template-columns: 1fr;
        gap: 15px;
        margin-top: 20px;
    }

    .card, .course-card {
        padding: 25px 20px;
    }

    .container {
        padding: 15px;
    }

    .exam-container {
        padding: 15px;
        margin-top: 10px;
        border-radius: 12px;
    }

    .exam-header {
        flex-direction: column;
        gap: 8px;
        align-items: flex-start;
    }

    .exam-info h2 {
        font-size: 1rem;
    }

    .timer {
        font-size: 1rem;
    }

    .progress {
        font-size: 0.95rem;
    }

    .exam-body {
        flex-direction: column;
    }

    .side-panel {
        width: 100%;
        min-width: unset;
        flex-direction: row;
        align-items: center;
    }

    .timer-box {
        flex: 1;
    }

    .question-palette {
        width: 100%;
        min-width: unset;
        max-height: 130px;
        flex-direction: row;
    }

    .question-text {
        font-size: 1rem;
    }

    .option {
        padding: 12px;
    }

    .option label {
        font-size: 0.95rem;
    }

    .nav-buttons {
        gap: 8px;
        margin: 15px 0;
        flex-wrap: wrap;
    }

    .nav-btn, .submit-btn {
        padding: 10px 16px;
        font-size: 0.9rem;
    }

    .result-content {
        padding: 25px 20px;
        margin: 15px;
        max-width: 100%;
    }

    .score {
        font-size: 2.2rem;
    }

    .login-form {
        padding: 25px 20px;
    }

    .back-btn {
        padding: 8px 14px;
        font-size: 0.9rem;
    }
}

/* Tablet */
@media (min-width: 769px) and (max-width: 1024px) {
    .header h1 {
        font-size: 2rem;
    }

    .level-cards {
        grid-template-columns: repeat(2, 1fr);
    }

    .courses-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .question-palette {
        width: 170px;
        min-width: 170px;
    }

    .side-panel {
        width: 170px;
        min-width: 170px;
    }

    .exam-container {
        padding: 20px;
    }
}

/* Login Styles */
.login-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.login-form {
    background: rgba(0, 80, 30, 0.25);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(100, 220, 120, 0.3);
    border-radius: 20px;
    padding: 40px;
    width: 100%;
    max-width: 480px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
}

.form-group {
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
}

.form-group input,
.form-group select {
    padding: 12px 15px;
    border-radius: 10px;
    border: 1px solid rgba(100, 220, 120, 0.3);
    background: rgba(0, 60, 20, 0.4);
    color: white;
    font-size: 1rem;
    outline: none;
    transition: border 0.3s;
}

.form-group input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.form-group input:focus,
.form-group select:focus {
    border-color: rgba(100, 220, 120, 0.7);
}

.form-group select option {
    background: #1a4a2a;
    color: white;
}

.login-btn {
    width: 100%;
    padding: 14px;
    background: rgba(0, 150, 60, 0.55);
    color: white;
    border: 1px solid rgba(100, 220, 120, 0.5);
    border-radius: 25px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s;
    backdrop-filter: blur(8px);
    margin-top: 10px;
}

.login-btn:hover {
    background: rgba(0, 180, 70, 0.75);
}

.login-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.form-msg {
    text-align: center;
    margin-top: 12px;
    font-size: 0.9rem;
}

/* ===== Landing Page ===== */
.landing-page {
    overflow-x: hidden;
}

/* Shared button */
.landing-btn {
    display: inline-block;
    padding: 15px 40px;
    background: rgba(0, 150, 60, 0.55);
    color: white;
    border: 1px solid rgba(100, 220, 120, 0.55);
    border-radius: 50px;
    font-size: 1.05rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    box-shadow: 0 4px 24px rgba(0, 180, 70, 0.2);
}
.landing-btn:hover {
    background: rgba(0, 180, 70, 0.75);
    box-shadow: 0 8px 32px rgba(0, 200, 80, 0.35);
    transform: translateY(-2px);
}

/* Navbar */
.lp-nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    background: rgba(0, 20, 8, 0.55);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(100, 220, 120, 0.15);
}
.lp-nav-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 14px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.lp-nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    color: white;
    font-weight: 700;
    font-size: 1.05rem;
}
.lp-nav-logo {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid rgba(100,220,120,0.4);
}
.lp-nav-btn {
    padding: 9px 24px;
    background: rgba(0, 150, 60, 0.45);
    color: white;
    border: 1px solid rgba(100, 220, 120, 0.45);
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
}
.lp-nav-btn:hover {
    background: rgba(0, 180, 70, 0.65);
}

/* Hero */
.lp-hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 120px 24px 80px;
}
.lp-hero-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 60px;
    width: 100%;
    position: relative;
    z-index: 1;
}
.lp-hero-text { flex: 1; }
.lp-eyebrow {
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #ffd97d;
    margin-bottom: 16px;
    text-shadow: 0 1px 6px rgba(0,0,0,0.5);
}
.lp-hero-title {
    font-size: 3rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.15;
    margin-bottom: 20px;
    text-shadow: 0 2px 20px rgba(0,0,0,0.7), 0 1px 4px rgba(0,0,0,0.9);
}
.lp-highlight {
    color: #ffd97d;
}
.lp-hero-sub {
    font-size: 1.05rem;
    color: #e8f5e9;
    line-height: 1.7;
    margin-bottom: 36px;
    max-width: 500px;
    text-shadow: 0 1px 6px rgba(0,0,0,0.6);
}
.lp-hero-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.lp-hero-note {
    font-size: 0.85rem;
    color: #c8e6c9;
    text-shadow: 0 1px 4px rgba(0,0,0,0.5);
}

/* Score card visual */
.lp-hero-visual { flex-shrink: 0; }
.lp-score-card {
    background: rgba(0, 80, 30, 0.3);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(100, 220, 120, 0.3);
    border-radius: 20px;
    padding: 32px 36px;
    text-align: center;
    width: 260px;
    box-shadow: 0 16px 48px rgba(0,0,0,0.3);
}
.lp-score-label {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.5);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 10px;
}
.lp-score-num {
    font-size: 4rem;
    font-weight: 800;
    color: #6effa0;
    line-height: 1;
    margin-bottom: 6px;
}
.lp-score-num span { font-size: 2rem; }
.lp-score-grade {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.7);
    margin-bottom: 16px;
}
.lp-score-bar {
    height: 8px;
    background: rgba(255,255,255,0.1);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 12px;
}
.lp-score-fill {
    height: 100%;
    background: linear-gradient(90deg, #27ae60, #6effa0);
    border-radius: 10px;
    animation: growBar 1.2s ease 0.8s both;
}
@keyframes growBar {
    from { width: 0 !important; }
}
.lp-score-course {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.4);
}

/* Floating particles */
.landing-particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}
.particle {
    position: absolute;
    bottom: -20px;
    border-radius: 50%;
    background: rgba(100, 220, 120, 0.6);
    animation: floatUp linear infinite;
}
@keyframes floatUp {
    0%   { transform: translateY(0) scale(1); opacity: 0; }
    10%  { opacity: 1; }
    90%  { opacity: 0.6; }
    100% { transform: translateY(-110vh) scale(0.4); opacity: 0; }
}

/* Stats strip */
.lp-stats {
    background: rgba(0, 40, 15, 0.5);
    backdrop-filter: blur(12px);
    border-top: 1px solid rgba(100,220,120,0.15);
    border-bottom: 1px solid rgba(100,220,120,0.15);
    padding: 36px 24px;
    position: relative;
    z-index: 1;
}
.lp-stats-inner {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0;
    flex-wrap: wrap;
}
.lp-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px 40px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
}
.lp-stat.in-view { opacity: 1; transform: translateY(0); }
.lp-stat-num {
    font-size: 2.2rem;
    font-weight: 800;
    color: #ffd97d;
    text-shadow: 0 1px 6px rgba(0,0,0,0.4);
}
.lp-stat-label {
    font-size: 0.85rem;
    color: #e8f5e9;
    margin-top: 4px;
}
.lp-stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(100,220,120,0.2);
}

/* Features */
.lp-features {
    padding: 90px 24px;
    position: relative;
    z-index: 1;
}
.lp-section-inner {
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
}
.lp-section-tag {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #ffd97d;
    margin-bottom: 12px;
    text-shadow: 0 1px 4px rgba(0,0,0,0.5);
}
.lp-section-title {
    font-size: 2.1rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 50px;
    line-height: 1.25;
    text-shadow: 0 2px 16px rgba(0,0,0,0.7);
}
.lp-features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    text-align: left;
}
.lp-feature-card {
    background: rgba(0, 80, 30, 0.25);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(100, 220, 120, 0.2);
    border-radius: 18px;
    padding: 28px 24px;
    transition: transform 0.3s, box-shadow 0.3s;
    opacity: 0;
    transform: translateY(30px);
}
.lp-feature-card.in-view {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.5s ease, transform 0.5s ease, box-shadow 0.3s, background 0.3s;
}
.lp-feature-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0,0,0,0.3);
    background: rgba(0, 100, 40, 0.35);
}
.lp-feature-icon {
    font-size: 2.2rem;
    margin-bottom: 14px;
}
.lp-feature-icon img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 12px;
    border: 1px solid rgba(100, 220, 120, 0.25);
}
.lp-feature-card h3 {
    color: #ffffff;
    font-size: 1.05rem;
    margin-bottom: 10px;
    text-shadow: 0 1px 4px rgba(0,0,0,0.5);
}
.lp-feature-card p {
    color: #dcedc8;
    font-size: 0.92rem;
    line-height: 1.6;
}

/* How it works */
.lp-how {
    padding: 80px 24px;
    background: rgba(0, 30, 12, 0.4);
    position: relative;
    z-index: 1;
}
.lp-steps {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 16px;
    margin-top: 10px;
    flex-wrap: wrap;
}
.lp-step {
    background: rgba(0, 80, 30, 0.25);
    border: 1px solid rgba(100,220,120,0.2);
    border-radius: 18px;
    padding: 28px 24px;
    max-width: 260px;
    text-align: center;
    opacity: 0;
    transform: translateY(24px);
    transition: all 0.5s ease;
}
.lp-step.in-view { opacity: 1; transform: translateY(0); }
.lp-step-num {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(0,150,60,0.45);
    border: 1px solid rgba(100,220,120,0.5);
    color: #6effa0;
    font-size: 1.2rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}
.lp-step h4 {
    color: #ffffff;
    font-size: 1rem;
    margin-bottom: 8px;
    text-shadow: 0 1px 4px rgba(0,0,0,0.5);
}
.lp-step p {
    color: #dcedc8;
    font-size: 0.88rem;
    line-height: 1.6;
}
.lp-step-arrow {
    font-size: 1.8rem;
    color: rgba(100,220,120,0.4);
    align-self: center;
    padding-bottom: 20px;
}

/* CTA */
.lp-cta {
    padding: 90px 24px;
    text-align: center;
    position: relative;
    z-index: 1;
}
.lp-cta-inner {
    max-width: 620px;
    margin: 0 auto;
    background: rgba(0, 80, 30, 0.3);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(100,220,120,0.25);
    border-radius: 24px;
    padding: 56px 40px;
    box-shadow: 0 16px 48px rgba(0,0,0,0.25);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}
.lp-cta-inner h2 {
    font-size: 2rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.2;
    text-shadow: 0 2px 12px rgba(0,0,0,0.6);
}
.lp-cta-inner p {
    color: #e8f5e9;
    font-size: 1rem;
    line-height: 1.6;
}

/* Footer */
.lp-footer {
    text-align: center;
    padding: 36px 24px;
    border-top: 1px solid rgba(100,220,120,0.1);
    color: #c8e6c9;
    font-size: 0.85rem;
    position: relative;
    z-index: 1;
}
.lp-footer-logo {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 10px;
    opacity: 0.7;
}

/* Entry animations */
.animate-pop {
    animation: popIn 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275) 0.3s both;
}
.animate-fade-up {
    animation: fadeUp 0.8s ease 0.1s both;
}
.animate-fade-up-delay {
    animation: fadeUp 0.8s ease 0.5s both;
}
.animate-fade-down {
    animation: fadeDown 0.6s ease both;
}
@keyframes popIn {
    0%   { transform: scale(0.7); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}
@keyframes fadeUp {
    0%   { transform: translateY(30px); opacity: 0; }
    100% { transform: translateY(0); opacity: 1; }
}
@keyframes fadeDown {
    0%   { transform: translateY(-20px); opacity: 0; }
    100% { transform: translateY(0); opacity: 1; }
}

/* ===== Responsive — Landing Page ===== */

/* Large desktop */
@media (min-width: 1200px) {
    .lp-hero-title { font-size: 3.4rem; }
}

/* Tablet landscape / small desktop */
@media (max-width: 1024px) {
    .lp-features-grid { grid-template-columns: repeat(2, 1fr); }
    .lp-hero-title { font-size: 2.4rem; }
    .lp-score-card { width: 220px; padding: 24px 20px; }
    .lp-hero-inner { gap: 36px; }
}

/* Tablet portrait */
@media (max-width: 768px) {
    .lp-nav-inner { padding: 12px 16px; }
    .lp-nav-brand span { font-size: 0.95rem; }
    .lp-nav-btn { padding: 8px 18px; font-size: 0.88rem; }

    .lp-hero { padding: 100px 16px 60px; }
    .lp-hero-inner { flex-direction: column; text-align: center; gap: 36px; }
    .lp-hero-title { font-size: 1.9rem; }
    .lp-hero-sub { max-width: 100%; font-size: 0.97rem; }
    .lp-hero-actions { align-items: center; }
    .lp-hero-visual { width: 100%; display: flex; justify-content: center; }
    .lp-score-card { width: 100%; max-width: 320px; padding: 24px; }

    .lp-stats { padding: 28px 16px; }
    .lp-stats-inner { gap: 0; }
    .lp-stat { padding: 10px 16px; }
    .lp-stat-num { font-size: 1.8rem; }
    .lp-stat-divider { display: none; }

    .lp-features { padding: 60px 16px; }
    .lp-features-grid { grid-template-columns: 1fr; gap: 16px; }
    .lp-section-title { font-size: 1.5rem; margin-bottom: 32px; }
    .lp-feature-card { padding: 22px 18px; }
    .lp-feature-icon img { width: 50px; height: 50px; }

    .lp-how { padding: 60px 16px; }
    .lp-steps { flex-direction: column; align-items: center; gap: 16px; }
    .lp-step { max-width: 100%; width: 100%; padding: 22px 18px; }
    .lp-step-arrow { display: none; }

    .lp-cta { padding: 60px 16px; }
    .lp-cta-inner { padding: 36px 20px; }
    .lp-cta-inner h2 { font-size: 1.4rem; }
    .lp-cta-inner p { font-size: 0.92rem; }

    .lp-footer { padding: 28px 16px; font-size: 0.8rem; }
}

/* Mobile */
@media (max-width: 480px) {
    .lp-hero-title { font-size: 1.6rem; }
    .lp-eyebrow { font-size: 0.75rem; }
    .lp-hero-sub { font-size: 0.92rem; }
    .landing-btn { padding: 13px 28px; font-size: 0.95rem; }
    .lp-score-num { font-size: 3rem; }
    .lp-stat-num { font-size: 1.6rem; }
    .lp-stat-label { font-size: 0.78rem; }
    .lp-section-title { font-size: 1.3rem; }
    .lp-feature-card h3 { font-size: 0.98rem; }
    .lp-feature-card p { font-size: 0.87rem; }
    .lp-cta-inner h2 { font-size: 1.2rem; }
    .lp-nav-brand span { display: none; }
}

/* ===== Semester Sections ===== */
.semester-section {
    margin-bottom: 40px;
}

.semester-heading {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(100, 220, 120, 0.2);
}

.semester-title {
    color: #fff;
    font-size: 1.2rem;
    font-weight: 700;
    text-shadow: 0 1px 6px rgba(0,0,0,0.3);
}

.semester-badge {
    font-size: 0.78rem;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 20px;
}

.open-badge {
    background: rgba(39, 174, 96, 0.25);
    border: 1px solid rgba(39, 174, 96, 0.5);
    color: #6effa0;
}

.locked-badge {
    background: rgba(180, 80, 80, 0.2);
    border: 1px solid rgba(255, 100, 100, 0.35);
    color: #ff9a9a;
}

.course-locked {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

.course-locked:hover {
    transform: none !important;
    box-shadow: none !important;
    background: rgba(0, 80, 30, 0.25) !important;
}

.locked-msg {
    color: rgba(255, 150, 150, 0.8);
    font-size: 0.9rem;
    margin-top: 8px;
}
