:root {
    --primary: #635bff;
    --primary-dark: #4f46e5;
    --secondary: #8b5cf6;
    --dark: #111827;
    --text: #475569;
    --muted: #64748b;
    --light: #f8fafc;
    --border: #e2e8f0;
    --white: #ffffff;
    --green: #10b981;
    --orange: #f59e0b;
}

:root {
    --brand-primary: #6366F1;
    --brand-primary-hover: #4F46E5;
    --brand-gradient: linear-gradient(135deg, #6366F1 0%, #8B5CF6 100%);
    --brand-bg-subtle: #F5F3FF;
}
/* SaaS App Mockup Styles */
.saas-app-mockup {
    background: #0f172a;
    box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.app-window-bar {
    background: #1e293b;
}

.text-primary-gradient {
    background: linear-gradient(135deg, #6366f1 0%, #a855f7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.btn-brand {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    color: #ffffff;
    border: none;
    transition: all 0.3s ease;
}

    .btn-brand:hover {
        background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
        color: #ffffff;
        box-shadow: 0 10px 20px rgba(99, 102, 241, 0.3);
        transform: translateY(-1px);
    }

.auth-card {
    border-radius: 1.25rem;
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.08);
}
.text-primary-gradient {
    background: linear-gradient(135deg, #6366F1 0%, #A855F7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.btn-brand {
    background: var(--brand-gradient);
    color: #ffffff;
    border: none;
    transition: all 0.3s ease;
}

    .btn-brand:hover {
        background: linear-gradient(135deg, #4F46E5 0%, #7C3AED 100%);
        color: #ffffff;
        box-shadow: 0 10px 20px rgba(99, 102, 241, 0.3);
        transform: translateY(-1px);
    }

.auth-card {
    border-radius: 1.25rem;
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.08);
}

.dark-stat-card {
    background: #181824;
    border-radius: 1.25rem;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: 'DM Sans', sans-serif;
    color: var(--dark);
    background: #fff;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
}

a {
    text-decoration: none;
}


/* =========================================
   TOP BAR
========================================= */

.top-offer-bar {
    background: #111827;
    color: #fff;
    padding: 9px 0;
    font-size: 13px;
}

.offer-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #34d399;
    box-shadow: 0 0 0 5px rgba(52, 211, 153, .12);
}

.offer-link {
    color: #c4b5fd;
    font-weight: 700;
    margin-left: 8px;
}


/* =========================================
   NAVBAR
========================================= */

.main-header {
    background: rgba(255,255,255,.92);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid #eef2f7;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    min-height: 78px;
}

.brand,
.footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--dark);
    font-family: 'Outfit', sans-serif;
    font-size: 25px;
    font-weight: 800;
}

    .brand span span,
    .footer-brand span {
        color: var(--primary);
    }

.brand-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    color: white;
    background: linear-gradient(135deg, #635bff, #8b5cf6);
    box-shadow: 0 8px 20px rgba(99,91,255,.25);
}

.navbar-nav {
    gap: 8px;
}

.nav-link {
    color: #475569 !important;
    font-weight: 600;
    font-size: 14px;
    padding: 10px 14px !important;
    transition: .2s;
}

    .nav-link:hover {
        color: var(--primary) !important;
    }

.nav-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.login-link {
    color: #334155;
    font-weight: 600;
    font-size: 14px;
}

.btn-primary-custom {
    background: linear-gradient(135deg, #635bff, #7c3aed);
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 11px;
    font-weight: 700;
    box-shadow: 0 10px 25px rgba(99,91,255,.22);
    transition: .25s;
}

    .btn-primary-custom:hover {
        color: white;
        transform: translateY(-2px);
        box-shadow: 0 15px 30px rgba(99,91,255,.3);
    }

.btn-outline-custom {
    border: 1px solid #d7deea;
    color: #334155;
    border-radius: 11px;
    padding: 12px 20px;
    font-weight: 700;
    background: white;
}


/* =========================================
   HERO
========================================= */

.hero-section {
    position: relative;
    overflow: hidden;
    padding: 95px 0 110px;
    background: radial-gradient(circle at 15% 20%, rgba(99,91,255,.13), transparent 30%), radial-gradient(circle at 85% 30%, rgba(139,92,246,.12), transparent 30%), #f8faff;
}

.hero-grid {
    position: absolute;
    inset: 0;
    opacity: .4;
    background-image: linear-gradient(#e5e7eb 1px, transparent 1px), linear-gradient(90deg, #e5e7eb 1px, transparent 1px);
    background-size: 55px 55px;
    mask-image: linear-gradient(to bottom, black, transparent);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 14px;
    border-radius: 50px;
    background: #fff;
    border: 1px solid #e2e8f0;
    color: #475569;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 24px;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background: #10b981;
    border-radius: 50%;
    box-shadow: 0 0 0 5px rgba(16,185,129,.12);
}

.hero-title {
    font-size: clamp(48px, 6vw, 76px);
    line-height: .98;
    letter-spacing: -3px;
    max-width: 750px;
    margin-bottom: 28px;
}

    .hero-title span {
        background: linear-gradient(135deg, #635bff, #a855f7);
        -webkit-background-clip: text;
        background-clip: text;
        color: transparent;
    }

.hero-description {
    max-width: 620px;
    font-size: 18px;
    line-height: 1.7;
    color: #64748b;
    margin-bottom: 32px;
}

.hero-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.hero-trust {
    display: flex;
    align-items: center;
    gap: 13px;
    margin-top: 38px;
}

.trust-avatars {
    display: flex;
}

.avatar {
    width: 35px;
    height: 35px;
    margin-right: -8px;
    border-radius: 50%;
    background: #e0e7ff;
    border: 3px solid #f8faff;
    display: grid;
    place-items: center;
    font-size: 11px;
    font-weight: 800;
}

.stars {
    color: #f59e0b;
    font-size: 13px;
}

.hero-trust small {
    color: #64748b;
}


/* =========================================
   HERO DASHBOARD
========================================= */

.hero-dashboard {
    position: relative;
    margin-left: auto;
    max-width: 470px;
    padding: 28px;
    border-radius: 28px;
    color: white;
    background: linear-gradient(145deg, #17172f, #25204a);
    box-shadow: 0 35px 80px rgba(31,25,75,.28), 0 0 0 1px rgba(255,255,255,.08);
    transform: perspective(1200px) rotateY(-5deg) rotateX(2deg);
}

.dashboard-glow {
    position: absolute;
    width: 220px;
    height: 220px;
    right: -80px;
    top: -80px;
    background: #7c3aed;
    filter: blur(80px);
    opacity: .4;
}

.dashboard-top,
.next-test,
.score-card,
.mini-stats {
    position: relative;
}

.dashboard-top {
    display: flex;
    justify-content: space-between;
    align-items: start;
}

    .dashboard-top small,
    .next-test small {
        color: #9ca3af;
        font-size: 10px;
        letter-spacing: 1.5px;
    }

    .dashboard-top h4 {
        margin-top: 5px;
    }

.live-pill {
    font-size: 10px;
    padding: 6px 9px;
    border-radius: 20px;
    background: rgba(52,211,153,.12);
    color: #34d399;
}

.score-card {
    margin-top: 28px;
    display: flex;
    align-items: center;
    gap: 25px;
    padding: 20px;
    border-radius: 20px;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.08);
}

.score-circle {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: conic-gradient(#8b5cf6 84%, #36345a 0);
    position: relative;
}

    .score-circle::after {
        content: "";
        position: absolute;
        inset: 10px;
        border-radius: 50%;
        background: #1c1937;
    }

    .score-circle div {
        position: relative;
        z-index: 1;
        text-align: center;
    }

    .score-circle strong {
        display: block;
        font-size: 25px;
    }

    .score-circle small {
        color: #9ca3af;
    }

.score-info {
    flex: 1;
}

    .score-info span {
        font-size: 13px;
        color: #cbd5e1;
    }

.progress {
    height: 7px;
    margin: 12px 0 8px;
    background: #38365a;
}

.progress-bar {
    background: linear-gradient(90deg,#635bff,#c084fc);
    border-radius: 10px;
}

.score-info small {
    color: #34d399;
}

.mini-stats {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 10px;
    margin-top: 15px;
}

    .mini-stats div {
        padding: 14px;
        background: rgba(255,255,255,.05);
        border-radius: 15px;
    }

    .mini-stats span {
        display: block;
        color: #94a3b8;
        font-size: 10px;
    }

    .mini-stats strong {
        display: block;
        margin-top: 5px;
    }

.next-test {
    margin-top: 15px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px;
    border-radius: 15px;
    background: rgba(99,91,255,.16);
}

.test-icon {
    width: 38px;
    height: 38px;
    border-radius: 11px;
    display: grid;
    place-items: center;
    background: #635bff;
}

.next-test strong {
    display: block;
    font-size: 13px;
}


/* =========================================
   STATS
========================================= */

.stats-section {
    margin-top: -45px;
    position: relative;
    z-index: 2;
}

.stats-card {
    background: white;
    border: 1px solid #e8edf5;
    border-radius: 20px;
    padding: 30px;
    display: grid;
    grid-template-columns: repeat(4,1fr);
    box-shadow: 0 20px 60px rgba(15,23,42,.08);
}

.stat-item {
    text-align: center;
    border-right: 1px solid #e2e8f0;
}

    .stat-item:last-child {
        border: none;
    }

    .stat-item strong {
        display: block;
        font-family: 'Outfit';
        font-size: 30px;
    }

    .stat-item span {
        color: #64748b;
        font-size: 13px;
    }


/* =========================================
   SECTIONS
========================================= */

.section-padding {
    padding: 100px 0;
}

.light-section {
    background: #f8fafc;
}

.section-heading {
    max-width: 700px;
    margin: auto;
}

    .section-heading h2,
    .section-heading-row h2 {
        font-size: 45px;
        line-height: 1.1;
        letter-spacing: -1.5px;
        margin: 12px 0 15px;
    }

        .section-heading h2 span,
        .section-heading-row h2 span {
            color: var(--primary);
        }

    .section-heading p {
        color: #64748b;
        font-size: 17px;
    }

.section-heading-row {
    display: flex;
    align-items: end;
    justify-content: space-between;
}

.section-badge {
    display: inline-block;
    color: var(--primary);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.5px;
}

.view-all {
    color: var(--primary);
    font-weight: 700;
}


/* =========================================
   FEATURE
========================================= */

.feature-card {
    height: 100%;
    padding: 30px;
    border: 1px solid #e5eaf1;
    border-radius: 22px;
    background: white;
    transition: .3s;
}

    .feature-card:hover {
        transform: translateY(-7px);
        box-shadow: 0 25px 60px rgba(15,23,42,.09);
    }

.feature-icon {
    width: 52px;
    height: 52px;
    border-radius: 15px;
    display: grid;
    place-items: center;
    font-size: 22px;
    margin-bottom: 22px;
}

    .feature-icon.purple {
        background: #ede9fe;
        color: #7c3aed;
    }

    .feature-icon.blue {
        background: #dbeafe;
        color: #2563eb;
    }

    .feature-icon.orange {
        background: #ffedd5;
        color: #ea580c;
    }

.feature-card h4 {
    font-size: 21px;
}

.feature-card p {
    color: #64748b;
    line-height: 1.7;
}

.feature-card a {
    color: var(--primary);
    font-weight: 700;
}


/* =========================================
   EXAM CARDS
========================================= */

.exam-card {
    background: white;
    border: 1px solid #e5eaf1;
    border-radius: 20px;
    overflow: hidden;
    transition: .3s;
}

    .exam-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 25px 60px rgba(15,23,42,.1);
    }

.exam-image {
    height: 180px;
    background: linear-gradient(135deg,#eef2ff,#f5f3ff);
    overflow: hidden;
}

    .exam-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.exam-placeholder {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    font-size: 55px;
    color: #6366f1;
}

.exam-content {
    padding: 23px;
}

    .exam-content h4 {
        margin-bottom: 15px;
    }

.exam-meta {
    display: flex;
    gap: 15px;
    color: #64748b;
    font-size: 12px;
    margin-bottom: 20px;
}

.exam-link {
    color: var(--primary);
    font-weight: 700;
}


/* =========================================
   PYQ
========================================= */

.pyq-section {
    color: white;
    background: radial-gradient(circle at 80% 30%, rgba(168,85,247,.35), transparent 30%), linear-gradient(120deg,#17172f,#28204e);
    overflow: hidden;
}

.badge-white {
    color: #c4b5fd;
}

.pyq-title {
    font-size: 48px;
    line-height: 1.05;
    letter-spacing: -1.5px;
    margin: 15px 0 20px;
}

    .pyq-title span {
        color: #c4b5fd;
    }

.pyq-section p {
    color: #cbd5e1;
    font-size: 17px;
    line-height: 1.7;
    max-width: 570px;
}

.pyq-points {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 13px;
    margin: 25px 0;
    color: #e2e8f0;
}

    .pyq-points i {
        color: #34d399;
        margin-right: 7px;
    }

.pyq-visual {
    position: relative;
    max-width: 500px;
    margin-left: auto;
}

.question-window {
    padding: 25px;
    border-radius: 22px;
    background: white;
    color: #111827;
    box-shadow: 0 35px 80px rgba(0,0,0,.25);
}

.question-header {
    display: flex;
    justify-content: space-between;
    color: #94a3b8;
    font-size: 11px;
    margin-bottom: 25px;
}

.question-window h5 {
    line-height: 1.5;
    margin-bottom: 20px;
}

.answer-option {
    display: flex;
    align-items: center;
    gap: 12px;
    border: 1px solid #e2e8f0;
    padding: 12px;
    border-radius: 10px;
    margin-top: 10px;
    font-size: 13px;
}

    .answer-option span {
        width: 27px;
        height: 27px;
        border-radius: 7px;
        background: #f1f5f9;
        display: grid;
        place-items: center;
        font-weight: 700;
    }

    .answer-option.active {
        border-color: #8b5cf6;
        background: #f5f3ff;
        color: #5b21b6;
    }

        .answer-option.active span {
            background: #7c3aed;
            color: white;
        }

.floating-score {
    position: absolute;
    right: -25px;
    bottom: -25px;
    padding: 15px 20px;
    border-radius: 15px;
    background: white;
    color: #111827;
    display: flex;
    gap: 10px;
    align-items: center;
    box-shadow: 0 15px 40px rgba(0,0,0,.25);
}

    .floating-score i {
        color: #f59e0b;
        font-size: 25px;
    }

    .floating-score strong,
    .floating-score small {
        display: block;
    }


/* =========================================
   COURSES
========================================= */

.course-card {
    border: 1px solid #e5eaf1;
    border-radius: 20px;
    overflow: hidden;
    background: white;
    transition: .3s;
}

    .course-card:hover {
        transform: translateY(-7px);
        box-shadow: 0 25px 60px rgba(15,23,42,.1);
    }

.course-thumbnail {
    height: 210px;
    background: #e2e8f0;
    position: relative;
    overflow: hidden;
}

    .course-thumbnail img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.course-badge {
    position: absolute;
    left: 15px;
    top: 15px;
    background: #111827;
    color: white;
    font-size: 9px;
    font-weight: 800;
    padding: 6px 9px;
    border-radius: 6px;
}

.preview-btn {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
    width: 50px;
    height: 50px;
    border: none;
    border-radius: 50%;
    background: white;
    color: #635bff;
    font-size: 22px;
}

.course-body {
    padding: 22px;
}

    .course-body h4 {
        font-size: 20px;
    }

    .course-body p {
        color: #64748b;
        font-size: 13px;
        line-height: 1.6;
    }

.course-info {
    display: flex;
    gap: 15px;
    color: #64748b;
    font-size: 11px;
    padding: 15px 0;
    border-top: 1px solid #edf2f7;
}

.course-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

    .course-footer strong {
        font-size: 21px;
    }

    .course-footer del {
        color: #94a3b8;
        font-size: 12px;
        margin-left: 5px;
    }

.course-arrow {
    width: 40px;
    height: 40px;
    border-radius: 11px;
    display: grid;
    place-items: center;
    background: #f1f5f9;
    color: #334155;
}


/* =========================================
   TESTIMONIAL
========================================= */

.testimonial-card {
    background: white;
    border: 1px solid #e5eaf1;
    border-radius: 20px;
    padding: 27px;
    height: 100%;
}

.testimonial-stars {
    color: #f59e0b;
    margin-bottom: 18px;
}

.testimonial-card p {
    color: #475569;
    line-height: 1.7;
}

.student-info {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-top: 25px;
}

.student-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #ede9fe;
    color: #6d28d9;
    display: grid;
    place-items: center;
    font-weight: 800;
}

.student-info strong,
.student-info small {
    display: block;
}

.student-info small {
    color: #94a3b8;
    margin-top: 3px;
}


/* =========================================
   FAQ
========================================= */

.accordion-item {
    border: 1px solid #e2e8f0 !important;
    border-radius: 13px !important;
    overflow: hidden;
    margin-bottom: 10px;
}

.accordion-button {
    font-weight: 700;
    padding: 20px;
}

    .accordion-button:not(.collapsed) {
        background: #f5f3ff;
        color: #5b21b6;
        box-shadow: none;
    }

    .accordion-button:focus {
        box-shadow: none;
    }


/* =========================================
   CTA
========================================= */

.final-cta {
    padding: 80px 0;
}

.cta-box {
    padding: 55px;
    border-radius: 28px;
    color: white;
    background: radial-gradient(circle at 80% 20%, rgba(255,255,255,.12), transparent 30%), linear-gradient(120deg,#635bff,#7c3aed);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

    .cta-box h2 {
        font-size: 45px;
        margin: 12px 0;
    }

        .cta-box h2 span {
            color: #ddd6fe;
        }

    .cta-box p {
        color: #ddd6fe;
    }


/* =========================================
   FOOTER
========================================= */

.site-footer {
    background: #0f172a;
    color: #cbd5e1;
    padding: 75px 0 25px;
}

.footer-brand {
    color: white;
}

.footer-description {
    color: #94a3b8;
    max-width: 360px;
    line-height: 1.7;
    margin: 20px 0;
}

.site-footer h6 {
    color: white;
    margin-bottom: 20px;
}

.site-footer a:not(.footer-brand) {
    display: block;
    color: #94a3b8;
    margin-bottom: 11px;
    font-size: 13px;
}

.site-footer a:hover {
    color: white;
}

.social-links {
    display: flex;
    gap: 10px;
}

    .social-links a {
        width: 38px;
        height: 38px;
        border: 1px solid #334155;
        border-radius: 10px;
        display: grid !important;
        place-items: center;
    }

.site-footer hr {
    border-color: #334155;
    margin: 50px 0 25px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    color: #64748b;
    font-size: 12px;
}


/* =========================================
   WHATSAPP
========================================= */

.floating-whatsapp {
    position: fixed;
    right: 22px;
    bottom: 22px;
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    background: #25d366;
    color: white;
    border-radius: 50%;
    font-size: 25px;
    box-shadow: 0 10px 30px rgba(37,211,102,.3);
    z-index: 999;
}


/* =========================================
   RESPONSIVE
========================================= */

@media (max-width: 991px) {

    .nav-actions {
        margin-top: 15px;
        justify-content: center;
    }

    .hero-section {
        padding: 70px 0 100px;
    }

    .hero-dashboard {
        margin: 50px auto 0;
        transform: none;
    }

    .stats-card {
        grid-template-columns: repeat(2,1fr);
        gap: 25px;
    }

    .stat-item:nth-child(2) {
        border: none;
    }

    .section-heading h2,
    .section-heading-row h2 {
        font-size: 36px;
    }

    .cta-box {
        flex-direction: column;
        align-items: start;
    }
}


@media (max-width: 576px) {

    .hero-title {
        font-size: 47px;
        letter-spacing: -2px;
    }

    .hero-description {
        font-size: 16px;
    }

    .stats-card {
        grid-template-columns: 1fr 1fr;
        padding: 20px 10px;
    }

    .stat-item {
        border: none;
    }

    .section-padding {
        padding: 70px 0;
    }

    .section-heading-row {
        display: block;
    }

    .view-all {
        display: inline-block;
        margin-top: 15px;
    }

    .pyq-title {
        font-size: 37px;
    }

    .pyq-points {
        grid-template-columns: 1fr;
    }

    .floating-score {
        right: 0;
    }

    .cta-box {
        padding: 35px 25px;
    }

        .cta-box h2 {
            font-size: 35px;
        }

    .footer-bottom {
        flex-direction: column;
        gap: 8px;
    }
}
/* =========================================================
   GLOBAL CARD SYSTEM
========================================================= */

.app-card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}


/* =========================================================
   CARD
========================================================= */

.app-card {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 22px;
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}

    .app-card:hover {
        transform: translateY(-7px);
        border-color: #c4b5fd;
        box-shadow: 0 22px 50px rgba(15, 23, 42, .11);
    }


/* =========================================================
   CARD HEADER
========================================================= */

.app-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding: 22px 22px 0;
}


/* =========================================================
   CARD ICON
========================================================= */

.app-card-icon {
    width: 58px;
    height: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border-radius: 16px;
    background: linear-gradient( 135deg, #4f46e5, #7c3aed );
    color: #ffffff;
    font-size: 24px;
    box-shadow: 0 10px 22px rgba(79, 70, 229, .20);
}

    .app-card-icon img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: inherit;
    }


/* =========================================================
   CARD BADGE
========================================================= */

.app-card-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 11px;
    border-radius: 30px;
    background: #eef2ff;
    color: #4f46e5;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .04em;
}


/* Green Badge */

.app-card-badge-success {
    background: #ecfdf5;
    color: #059669;
}


/* Orange Badge */

.app-card-badge-warning {
    background: #fff7ed;
    color: #ea580c;
}


/* =========================================================
   CARD BODY
========================================================= */

.app-card-body {
    flex: 1;
    padding: 20px 22px;
}


/* =========================================================
   TITLE
========================================================= */

.app-card-title {
    margin: 0 0 9px;
    color: #0f172a;
    font-size: 21px;
    font-weight: 750;
    line-height: 1.35;
}

    .app-card-title a {
        color: inherit;
        text-decoration: none;
    }

        .app-card-title a:hover {
            color: #4f46e5;
        }


/* =========================================================
   DESCRIPTION
========================================================= */

.app-card-description {
    margin: 0;
    color: #64748b;
    font-size: 14px;
    line-height: 1.65;
}


/* =========================================================
   META
========================================================= */

.app-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 14px 20px;
    margin-top: 19px;
    padding-top: 16px;
    border-top: 1px solid #f1f5f9;
}

.app-card-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #64748b;
    font-size: 13px;
}

    .app-card-meta-item i {
        color: #6366f1;
        font-size: 14px;
    }


/* =========================================================
   STATS
========================================================= */

.app-card-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-top: 20px;
    padding: 14px 10px;
    border-radius: 14px;
    background: #f8fafc;
}

.app-card-stat {
    min-width: 0;
    text-align: center;
}

    .app-card-stat strong {
        display: block;
        color: #0f172a;
        font-size: 16px;
        font-weight: 800;
        line-height: 1.3;
    }

    .app-card-stat span {
        display: block;
        margin-top: 3px;
        color: #94a3b8;
        font-size: 10px;
        font-weight: 600;
    }


/* =========================================================
   HIGHLIGHT
========================================================= */

.app-card-highlight {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 18px;
    padding: 13px;
    border-radius: 14px;
    background: #f8fafc;
}

.app-card-highlight-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border-radius: 11px;
    background: #eef2ff;
    color: #4f46e5;
}

.app-card-highlight-content {
    min-width: 0;
}

.app-card-highlight strong {
    display: block;
    color: #334155;
    font-size: 13px;
    font-weight: 750;
}

.app-card-highlight span {
    display: block;
    margin-top: 2px;
    color: #94a3b8;
    font-size: 11px;
}


/* =========================================================
   FOOTER
========================================================= */

.app-card-footer {
    display: flex;
    gap: 10px;
    padding: 0 22px 22px;
}


/* =========================================================
   BUTTON
========================================================= */

.app-card-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #e0e7ff;
    border-radius: 12px;
    background: #eef2ff;
    color: #4f46e5;
    font-size: 13px;
    font-weight: 750;
    text-decoration: none;
    transition: all .25s ease;
}

    .app-card-btn:hover {
        background: #4f46e5;
        border-color: #4f46e5;
        color: #ffffff;
        box-shadow: 0 8px 18px rgba(79, 70, 229, .20);
    }


/* =========================================================
   PRIMARY BUTTON
========================================================= */

.app-card-btn-primary {
    background: #4f46e5;
    border-color: #4f46e5;
    color: #ffffff;
}

    .app-card-btn-primary:hover {
        background: #4338ca;
        border-color: #4338ca;
    }


/* =========================================================
   SECONDARY BUTTON
========================================================= */

.app-card-btn-secondary {
    background: #ffffff;
    border-color: #e2e8f0;
    color: #475569;
}

    .app-card-btn-secondary:hover {
        background: #f8fafc;
        border-color: #4f46e5;
        color: #4f46e5;
    }


/* =========================================================
   FULL WIDTH BUTTON
========================================================= */

.app-card-footer-single .app-card-btn {
    width: 100%;
}


/* =========================================================
   IMAGE CARD
========================================================= */

.app-card-image {
    position: relative;
    width: 100%;
    height: 190px;
    overflow: hidden;
}

    .app-card-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform .4s ease;
    }

.app-card:hover .app-card-image img {
    transform: scale(1.05);
}


/* Image overlay */

.app-card-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient( to top, rgba(15, 23, 42, .55), transparent 60% );
}


/* =========================================================
   PRICE
========================================================= */

.app-card-price {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 17px;
}

.app-card-price-current {
    color: #0f172a;
    font-size: 21px;
    font-weight: 800;
}

.app-card-price-old {
    color: #94a3b8;
    font-size: 13px;
    text-decoration: line-through;
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1199px) {

    .app-card-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}


@media (max-width: 767px) {

    .app-card-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .app-card {
        border-radius: 18px;
    }

    .app-card-header {
        padding: 18px 18px 0;
    }

    .app-card-body {
        padding: 17px 18px;
    }

    .app-card-footer {
        padding: 0 18px 18px;
    }

    .app-card-icon {
        width: 52px;
        height: 52px;
        border-radius: 14px;
        font-size: 21px;
    }

    .app-card-title {
        font-size: 19px;
    }

    .app-card-description {
        font-size: 13px;
    }

    .app-card-stats {
        padding: 12px 6px;
    }

    .app-card-footer {
        flex-direction: column;
    }
}


@media (max-width: 420px) {

    .app-card-meta {
        gap: 10px 15px;
    }

    .app-card-meta-item {
        font-size: 12px;
    }

    .app-card-badge {
        font-size: 10px;
        padding: 5px 9px;
    }
}

/* =========================================================
       PAGE HERO
    ========================================================= */

.page-hero {
    position: relative;
    min-height: 480px;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 120px 0 90px;
    background: radial-gradient( circle at 10% 20%, rgba(124,58,237,.22), transparent 34% ), radial-gradient( circle at 90% 20%, rgba(6,182,212,.16), transparent 32% ), linear-gradient( 135deg, #0f172a 0%, #17134a 50%, #111827 100% );
}


/* Decorative glow */

.hero-glow {
    position: absolute;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    filter: blur(80px);
    opacity: .35;
    pointer-events: none;
}


.hero-glow-one {
    left: -150px;
    top: 80px;
    background: #7c3aed;
}


.hero-glow-two {
    right: -150px;
    bottom: -100px;
    background: #06b6d4;
}


/* Hero content */

.page-hero-content {
    position: relative;
    z-index: 2;
    max-width: 850px;
    margin: auto;
    text-align: center;
}


.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 17px;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 50px;
    background: rgba(255,255,255,.07);
    color: #c4b5fd;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .12em;
    backdrop-filter: blur(10px);
}


.page-hero h1 {
    margin: 25px 0 18px;
    color: white;
    font-size: clamp(42px,5vw,66px);
    font-weight: 850;
    line-height: 1.08;
    letter-spacing: -1.5px;
}


    .page-hero h1 span {
        background: linear-gradient( 90deg, #a78bfa, #818cf8, #22d3ee );
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
    }


.page-hero p {
    max-width: 680px;
    margin: 0 auto;
    color: #cbd5e1;
    font-size: 17px;
    line-height: 1.75;
}


/* =========================================================
       SEARCH
    ========================================================= */

.hero-search {
    position: relative;
    display: flex;
    align-items: center;
    max-width: 680px;
    height: 66px;
    margin: 32px auto 0;
    padding: 5px 8px 5px 22px;
    background: #ffffff;
    border-radius: 17px;
    box-shadow: 0 25px 60px rgba(0,0,0,.30);
}


    .hero-search > i {
        color: #6366f1;
        font-size: 20px;
    }


    .hero-search input {
        width: 100%;
        height: 100%;
        border: 0;
        outline: none;
        padding: 0 15px;
        color: #0f172a;
        background: transparent;
        font-size: 14px;
    }


        .hero-search input::placeholder {
            color: #94a3b8;
        }


.search-shortcut {
    flex-shrink: 0;
    padding: 6px 10px;
    border-radius: 7px;
    background: #f1f5f9;
    color: #64748b;
    font-size: 11px;
    font-weight: 700;
}


/* =========================================================
       EXAMS SECTION
    ========================================================= */

.exams-section {
    background: #f8fafc;
}


.section-padding {
    padding: 90px 0;
}


.section-header-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 30px;
}


.section-label {
    display: inline-block;
    color: #6366f1;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .13em;
}


.section-header-row h2 {
    margin: 9px 0 8px;
    color: #0f172a;
    font-size: 38px;
    font-weight: 850;
    letter-spacing: -.7px;
}


.section-header-row p {
    margin: 0;
    color: #64748b;
    font-size: 15px;
}


/* Count */

.exam-count {
    min-width: 130px;
    text-align: right;
}


.count-number {
    color: #4f46e5;
    font-size: 38px;
    line-height: 1;
    font-weight: 850;
}


.count-label {
    margin-top: 6px;
    color: #64748b;
    font-size: 12px;
    font-weight: 600;
}


/* =========================================================
       FILTERS
    ========================================================= */

.exam-filter-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 38px;
}


.exam-filter {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 11px 18px;
    border: 1px solid #e2e8f0;
    border-radius: 50px;
    background: white;
    color: #475569;
    font-size: 13px;
    font-weight: 650;
    cursor: pointer;
    transition: .25s ease;
}


    .exam-filter i {
        font-size: 13px;
    }


    .exam-filter:hover {
        border-color: #a5b4fc;
        color: #4f46e5;
        transform: translateY(-2px);
    }


    .exam-filter.active {
        border-color: #4f46e5;
        background: linear-gradient( 135deg, #4f46e5, #7c3aed );
        color: white;
        box-shadow: 0 10px 25px rgba(79,70,229,.20);
    }


/* =========================================================
       EXAM CARD
    ========================================================= */

.exam-item {
    transition: .35s ease;
}


.exam-card {
    position: relative;
    height: 100%;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border: 1px solid #e6eaf2;
    border-radius: 24px;
    background: #ffffff;
    box-shadow: 0 8px 28px rgba(15,23,42,.055);
    transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}


    .exam-card::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 4px;
        background: linear-gradient( 90deg, #4f46e5, #7c3aed, #06b6d4 );
    }


    .exam-card:hover {
        transform: translateY(-9px);
        border-color: #c7d2fe;
        box-shadow: 0 25px 55px rgba(79,70,229,.13);
    }


/* =========================================================
       CARD HEADER
    ========================================================= */

.exam-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 25px 25px 0;
}


.exam-card-icon {
    width: 62px;
    height: 62px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    color: white;
    font-size: 26px;
    background: linear-gradient( 135deg, #4f46e5, #7c3aed );
    box-shadow: 0 10px 25px rgba(79,70,229,.25);
    transition: .35s ease;
}


.exam-card:hover .exam-card-icon {
    transform: rotate(-5deg) scale(1.07);
    box-shadow: 0 15px 32px rgba(79,70,229,.30);
}


/* Status */

.exam-status {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 11px;
    border: 1px solid #d1fae5;
    border-radius: 50px;
    background: #ecfdf5;
    color: #059669;
    font-size: 10px;
    font-weight: 800;
}


.status-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 0 4px rgba(16,185,129,.10);
}


/* =========================================================
       CARD BODY
    ========================================================= */

.exam-card-body {
    flex: 1;
    padding: 22px 25px 20px;
}


.exam-title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}


.exam-title {
    margin: 0;
    color: #0f172a;
    font-size: 23px;
    font-weight: 850;
    line-height: 1.25;
    transition: .25s ease;
}


.exam-card:hover .exam-title {
    color: #4f46e5;
}


.card-arrow {
    flex-shrink: 0;
    color: #cbd5e1;
    font-size: 17px;
    transition: .25s ease;
}


.exam-card:hover .card-arrow {
    color: #6366f1;
    transform: translate(3px,-3px);
}


.exam-description {
    min-height: 47px;
    margin: 10px 0 0;
    color: #64748b;
    font-size: 13px;
    line-height: 1.65;
}


/* =========================================================
       STATISTICS
    ========================================================= */

.exam-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 7px;
    margin-top: 21px;
    padding: 11px;
    border: 1px solid #eef0f7;
    border-radius: 17px;
    background: linear-gradient( 135deg, #f8faff, #f7f5ff );
}


.exam-stat {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    padding: 7px 3px;
}


.stat-icon {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 9px;
    background: #eef2ff;
    color: #4f46e5;
    font-size: 13px;
}


.stat-content {
    min-width: 0;
}


.exam-stat strong {
    display: block;
    color: #0f172a;
    font-size: 14px;
    font-weight: 850;
    line-height: 1.2;
}


.exam-stat span {
    display: block;
    margin-top: 3px;
    color: #94a3b8;
    font-size: 9px;
    font-weight: 650;
}


/* =========================================================
       META
    ========================================================= */

.exam-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: 17px;
    padding-top: 15px;
    border-top: 1px solid #f1f5f9;
}


    .exam-meta span {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        color: #64748b;
        font-size: 11px;
        white-space: nowrap;
    }


    .exam-meta i {
        color: #6366f1;
        font-size: 12px;
    }


/* =========================================================
       CARD FOOTER
    ========================================================= */

.exam-card-footer {
    padding: 0 25px 25px;
}


.btn-exam {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    width: 100%;
    padding: 13px 18px;
    overflow: hidden;
    border-radius: 13px;
    background: linear-gradient( 135deg, #4f46e5, #7c3aed );
    color: white;
    font-size: 13px;
    font-weight: 750;
    text-decoration: none;
    box-shadow: 0 8px 20px rgba(79,70,229,.20);
    transition: .3s ease;
}


    .btn-exam::before {
        content: "";
        position: absolute;
        top: 0;
        left: -120%;
        width: 100%;
        height: 100%;
        background: linear-gradient( 90deg, transparent, rgba(255,255,255,.20), transparent );
        transition: .55s ease;
    }


    .btn-exam:hover::before {
        left: 120%;
    }


    .btn-exam:hover {
        color: white;
        transform: translateY(-2px);
        box-shadow: 0 13px 28px rgba(79,70,229,.30);
    }


    .btn-exam i {
        font-size: 16px;
        transition: .25s ease;
    }


    .btn-exam:hover i {
        transform: translateX(5px);
    }


/* =========================================================
       NO EXAMS
    ========================================================= */

.no-exams {
    padding: 80px 20px;
    text-align: center;
}


.no-exams-icon {
    width: 75px;
    height: 75px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: auto;
    border-radius: 22px;
    background: #eef2ff;
    color: #4f46e5;
    font-size: 30px;
}


.no-exams h3 {
    margin: 20px 0 7px;
    color: #0f172a;
    font-size: 22px;
    font-weight: 800;
}


.no-exams p {
    color: #64748b;
}


/* =========================================================
       SEARCH EMPTY
    ========================================================= */

.empty-state {
    padding: 80px 20px;
    text-align: center;
}


.empty-icon {
    width: 76px;
    height: 76px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: auto;
    border-radius: 22px;
    background: #eef2ff;
    color: #4f46e5;
    font-size: 28px;
}


.empty-state h3 {
    margin: 20px 0 7px;
    color: #0f172a;
    font-size: 23px;
    font-weight: 800;
}


.empty-state p {
    max-width: 450px;
    margin: auto;
    color: #64748b;
    font-size: 14px;
    line-height: 1.6;
}


.clear-search-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-top: 20px;
    padding: 10px 17px;
    border: 0;
    border-radius: 10px;
    background: #eef2ff;
    color: #4f46e5;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
}


/* =========================================================
       CTA
    ========================================================= */

.exam-cta {
    padding: 0 0 90px;
    background: #f8fafc;
}


.exam-cta-card {
    position: relative;
    min-height: 370px;
    overflow: hidden;
    padding: 60px;
    border-radius: 30px;
    background: linear-gradient( 120deg, #312e81, #4f46e5 50%, #7c3aed );
    box-shadow: 0 25px 60px rgba(49,46,129,.20);
}


/* CTA Background */

.cta-bg-circle {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,.10);
}


.circle-one {
    width: 420px;
    height: 420px;
    right: -130px;
    top: -180px;
}


.circle-two {
    width: 260px;
    height: 260px;
    right: 80px;
    bottom: -180px;
}


/* CTA content */

.cta-content {
    position: relative;
    z-index: 5;
    max-width: 650px;
}


.section-label.light {
    color: #c4b5fd;
}


.cta-content h2 {
    margin: 14px 0;
    color: white;
    font-size: 42px;
    font-weight: 850;
    line-height: 1.15;
    letter-spacing: -.7px;
}


.cta-content p {
    max-width: 580px;
    margin: 0;
    color: #ddd6fe;
    font-size: 15px;
    line-height: 1.7;
}


/* Buttons */

.cta-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}


    .cta-buttons .btn {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        padding: 12px 19px;
        border-radius: 11px;
        font-size: 13px;
        font-weight: 750;
    }


.cta-primary {
    color: #4338ca;
    box-shadow: 0 8px 20px rgba(0,0,0,.12);
}


.cta-secondary {
    border-color: rgba(255,255,255,.35);
}


/* =========================================================
       CTA DECORATION
    ========================================================= */

.cta-decoration {
    position: absolute;
    right: 90px;
    top: 50%;
    width: 230px;
    height: 230px;
    transform: translateY(-50%);
}


.cta-main-circle {
    width: 190px;
    height: 190px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255,255,255,.10);
    border: 1px solid rgba(255,255,255,.20);
    box-shadow: inset 0 0 40px rgba(255,255,255,.06);
}


.circle-inner {
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: white;
    font-size: 45px;
    background: linear-gradient( 135deg, rgba(255,255,255,.18), rgba(255,255,255,.05) );
}


/* Floating cards */

.floating-card {
    position: absolute;
    z-index: 5;
    display: flex;
    align-items: center;
    gap: 9px;
    min-width: 130px;
    padding: 11px 14px;
    border-radius: 12px;
    background: white;
    color: #334155;
    box-shadow: 0 15px 30px rgba(0,0,0,.18);
}


    .floating-card > i {
        color: #4f46e5;
        font-size: 19px;
    }


    .floating-card strong {
        display: block;
        font-size: 12px;
        line-height: 1.2;
    }


    .floating-card span {
        display: block;
        margin-top: 2px;
        color: #94a3b8;
        font-size: 9px;
    }


.card-one {
    top: 8px;
    left: -45px;
}


.card-two {
    right: -45px;
    bottom: 8px;
}


/* =========================================================
       RESPONSIVE
    ========================================================= */

@media (max-width: 1199px) {

    .cta-decoration {
        right: 35px;
        opacity: .8;
    }
}


@@media (max-width: 991px) {

    .section-header-row {
        align-items: flex-start;
        flex-direction: column;
    }


    .exam-count {
        text-align: left;
    }


    .cta-decoration {
        opacity: .22;
        right: 20px;
    }
}


@media (max-width: 767px) {

    .page-hero {
        min-height: auto;
        padding: 90px 0 70px;
    }


        .page-hero h1 {
            font-size: 40px;
        }


        .page-hero p {
            font-size: 15px;
        }


    .hero-search {
        height: 60px;
        padding-left: 17px;
    }


    .search-shortcut {
        display: none;
    }


    .section-padding {
        padding: 65px 0;
    }


    .section-header-row h2 {
        font-size: 30px;
    }


    .exam-filter-wrapper {
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 6px;
        scrollbar-width: none;
    }


        .exam-filter-wrapper::-webkit-scrollbar {
            display: none;
        }


    .exam-filter {
        flex-shrink: 0;
        white-space: nowrap;
    }


    .exam-card-header {
        padding: 22px 20px 0;
    }


    .exam-card-body {
        padding: 20px;
    }


    .exam-card-footer {
        padding: 0 20px 20px;
    }


    .exam-title {
        font-size: 21px;
    }


    .exam-meta {
        align-items: flex-start;
        flex-direction: column;
    }


    .exam-cta-card {
        min-height: auto;
        padding: 42px 25px;
    }


    .cta-content h2 {
        font-size: 31px;
    }


    .cta-buttons {
        flex-direction: column;
        align-items: stretch;
    }


        .cta-buttons .btn {
            justify-content: center;
        }


    .cta-decoration {
        display: none;
    }
}


@media (max-width: 450px) {

    .exam-stats {
        gap: 3px;
        padding: 8px;
    }


    .exam-stat {
        flex-direction: column;
        justify-content: center;
        text-align: center;
        gap: 5px;
    }


    .stat-icon {
        width: 29px;
        height: 29px;
    }


    .exam-stat strong {
        font-size: 13px;
    }


    .exam-stat span {
        font-size: 8px;
    }
}


.exam-detail-hero {
    position: relative;
    overflow: hidden;
    padding: 45px 0 85px;
    color: white;
    background: radial-gradient(circle at 10% 20%, rgba(124,58,237,.35), transparent 35%), radial-gradient(circle at 90% 30%, rgba(6,182,212,.22), transparent 35%), #0f172a;
}

.exam-breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 55px;
    color: #94a3b8;
    font-size: 13px;
}

    .exam-breadcrumb a {
        color: #cbd5e1;
        text-decoration: none;
    }

        .exam-breadcrumb a:hover {
            color: white;
        }

    .exam-breadcrumb i {
        font-size: 10px;
    }


.exam-detail-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 15px;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 50px;
    color: #c4b5fd;
    background: rgba(255,255,255,.07);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .1em;
}


.exam-detail-hero h1 {
    margin: 20px 0 5px;
    font-size: clamp(42px, 5vw, 65px);
    font-weight: 850;
    line-height: 1.05;
}


.exam-code {
    display: inline-block;
    margin-top: 12px;
    color: #a5b4fc;
    font-weight: 700;
}


.exam-detail-description {
    max-width: 720px;
    margin: 22px 0;
    color: #cbd5e1;
    font-size: 17px;
    line-height: 1.8;
}


.hero-buttons {
    display: flex;
    gap: 12px;
    margin-top: 30px;
}

    .hero-buttons .btn {
        padding: 13px 22px;
        border-radius: 12px;
        font-weight: 700;
    }


.exam-hero-image {
    width: 270px;
    height: 270px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: auto;
    padding: 12px;
    border-radius: 35px;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.15);
    box-shadow: 0 30px 80px rgba(0,0,0,.3);
    transform: rotate(3deg);
}


    .exam-hero-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 25px;
    }


.default-exam-icon {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 25px;
    color: white;
    font-size: 80px;
    background: linear-gradient(135deg,#4f46e5,#7c3aed);
}


/* =========================================================
       STATS
    ========================================================= */

.exam-stats-section {
    position: relative;
    margin-top: -45px;
    z-index: 5;
}


.exam-stat-grid {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 15px;
}


.exam-stat-card {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 22px;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    box-shadow: 0 15px 40px rgba(15,23,42,.08);
}


.stat-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border-radius: 14px;
    font-size: 20px;
}


    .stat-icon.purple {
        color: #6366f1;
        background: #eef2ff;
    }

    .stat-icon.blue {
        color: #0284c7;
        background: #e0f2fe;
    }

    .stat-icon.orange {
        color: #ea580c;
        background: #fff7ed;
    }

    .stat-icon.green {
        color: #059669;
        background: #ecfdf5;
    }


.exam-stat-card strong {
    display: block;
    color: #0f172a;
    font-size: 22px;
    font-weight: 800;
}


.exam-stat-card span {
    color: #64748b;
    font-size: 12px;
}


/* =========================================================
       CONTENT
    ========================================================= */

.exam-content-section {
    padding: 25px 0;
    background: #f8fafc;
}


.content-header {
    margin-bottom: 30px;
}


    .content-header.tests-header {
        display: flex;
        align-items: end;
        justify-content: space-between;
        margin-top: 40px;
    }


.section-label {
    color: #6366f1;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .12em;
}


.content-header h2 {
    margin: 8px 0;
    color: #0f172a;
    font-size: 35px;
    font-weight: 800;
}


.content-header p {
    margin: 0;
    color: #64748b;
}


.view-all {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #4f46e5;
    font-weight: 700;
    text-decoration: none;
}


/* =========================================================
       SUBJECT
    ========================================================= */

.subject-card {
    display: flex;
    align-items: center;
    gap: 15px;
    height: 100%;
    padding: 22px;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    transition: .25s;
}


    .subject-card:hover {
        transform: translateY(-5px);
        border-color: #c4b5fd;
        box-shadow: 0 18px 40px rgba(15,23,42,.08);
    }


.subject-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border-radius: 14px;
    color: #6366f1;
    background: #eef2ff;
    font-size: 21px;
}


.subject-content {
    flex: 1;
}


    .subject-content h3 {
        margin: 0 0 5px;
        color: #0f172a;
        font-size: 17px;
        font-weight: 750;
    }


    .subject-content p {
        margin: 0;
        color: #94a3b8;
        font-size: 13px;
    }


.subject-arrow {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #6366f1;
    background: #f8fafc;
}


/* =========================================================
       TEST CARD
    ========================================================= */

.test-card {
    height: 100%;
    padding: 25px;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    transition: .25s;
}


    .test-card:hover {
        transform: translateY(-6px);
        border-color: #c4b5fd;
        box-shadow: 0 20px 45px rgba(15,23,42,.08);
    }


.test-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
}


.test-badge {
    padding: 6px 10px;
    border-radius: 30px;
    color: #4f46e5;
    background: #eef2ff;
    font-size: 10px;
    font-weight: 800;
}


.test-time {
    color: #64748b;
    font-size: 12px;
}


.test-card h3 {
    margin: 22px 0;
    color: #0f172a;
    font-size: 19px;
    font-weight: 750;
}


.test-info {
    display: flex;
    gap: 20px;
    padding: 15px 0;
    border-top: 1px solid #f1f5f9;
    border-bottom: 1px solid #f1f5f9;
}


    .test-info span {
        display: flex;
        align-items: center;
        gap: 6px;
        color: #64748b;
        font-size: 12px;
    }


    .test-info i {
        color: #6366f1;
    }


.test-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
    padding: 12px;
    border-radius: 11px;
    color: white;
    background: #4f46e5;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    transition: .25s;
}


    .test-button:hover {
        color: white;
        background: #3730a3;
    }


/* =========================================================
       COURSE
    ========================================================= */

.course-card {
    height: 100%;
    overflow: hidden;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    transition: .25s;
}


    .course-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 20px 45px rgba(15,23,42,.08);
    }


.course-image {
    height: 190px;
    overflow: hidden;
}


    .course-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }


.course-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 55px;
    background: linear-gradient(135deg,#4f46e5,#7c3aed);
}


.course-body {
    padding: 22px;
}


.course-tag {
    color: #6366f1;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
}


.course-body h3 {
    margin: 9px 0;
    color: #0f172a;
    font-size: 19px;
    font-weight: 750;
}


.course-body p {
    min-height: 45px;
    color: #64748b;
    font-size: 13px;
    line-height: 1.6;
}


.course-meta {
    display: flex;
    gap: 15px;
    padding: 15px 0;
    border-top: 1px solid #f1f5f9;
}


    .course-meta span {
        color: #64748b;
        font-size: 11px;
    }


    .course-meta i {
        color: #6366f1;
    }


.course-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
}


    .course-footer strong {
        color: #0f172a;
        font-size: 20px;
    }


    .course-footer del {
        margin-left: 5px;
        color: #94a3b8;
        font-size: 12px;
    }


.course-button {
    padding: 9px 13px;
    border-radius: 9px;
    color: #4f46e5;
    background: #eef2ff;
    text-decoration: none;
    font-size: 12px;
    font-weight: 700;
}


/* =========================================================
       RELATED
    ========================================================= */

.related-exam-card {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
}


.related-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border-radius: 14px;
    color: white;
    background: linear-gradient(135deg,#4f46e5,#7c3aed);
}


.related-exam-card div:nth-child(2) {
    flex: 1;
}


.related-exam-card h3 {
    margin: 0 0 4px;
    color: #0f172a;
    font-size: 16px;
}


.related-exam-card span {
    color: #94a3b8;
    font-size: 12px;
}


.related-exam-card > a {
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #4f46e5;
    background: #eef2ff;
}


/* =========================================================
       EMPTY
    ========================================================= */

.no-data {
    padding: 50px 20px;
    text-align: center;
    background: white;
    border: 1px dashed #cbd5e1;
    border-radius: 18px;
}


    .no-data i {
        color: #6366f1;
        font-size: 35px;
    }


    .no-data h4 {
        margin-top: 12px;
        color: #0f172a;
    }


    .no-data p {
        color: #64748b;
    }


/* =========================================================
       CTA
    ========================================================= */

.exam-final-cta {
    padding: 0 0 90px;
    background: #f8fafc;
}


.final-cta-card {
    position: relative;
    overflow: hidden;
    min-height: 330px;
    display: flex;
    align-items: center;
    padding: 55px 65px;
    border-radius: 30px;
    background: linear-gradient(120deg,#312e81,#4f46e5,#7c3aed);
}


.cta-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
}


    .cta-content > span {
        color: #c4b5fd;
        font-size: 12px;
        font-weight: 800;
        letter-spacing: .12em;
    }


    .cta-content h2 {
        margin: 12px 0;
        color: white;
        font-size: 40px;
        font-weight: 800;
    }


    .cta-content p {
        color: #ddd6fe;
        line-height: 1.7;
    }


.cta-actions {
    display: flex;
    gap: 12px;
    margin-top: 25px;
}


    .cta-actions .btn {
        padding: 12px 20px;
        border-radius: 11px;
        font-weight: 700;
    }


.cta-icon {
    position: absolute;
    right: 80px;
    width: 180px;
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255,255,255,.15);
    border-radius: 50%;
    color: rgba(255,255,255,.9);
    background: rgba(255,255,255,.08);
    font-size: 65px;
}


/* =========================================================
       RESPONSIVE
    ========================================================= */
@media(max-width:991px) {

    .exam-stat-grid {
        grid-template-columns: repeat(2,1fr);
    }

    .exam-hero-image {
        width: 210px;
        height: 210px;
    }

    .cta-icon {
        opacity: .2;
        right: 30px;
    }
}


@media(max-width:767px) {

    .exam-detail-hero {
        padding: 30px 0 70px;
    }

    .exam-breadcrumb {
        margin-bottom: 35px;
    }

    .exam-detail-hero h1 {
        font-size: 42px;
    }

    .exam-detail-description {
        font-size: 15px;
    }

    .hero-buttons {
        flex-direction: column;
    }

        .hero-buttons .btn {
            width: 100%;
        }

    .exam-hero-image {
        width: 180px;
        height: 180px;
    }

    .exam-stat-grid {
        grid-template-columns: 1fr;
    }

    .exam-content-section {
        padding: 25px 0;
    }

    .content-header.tests-header {
        align-items: start;
        flex-direction: column;
        gap: 15px;
        margin-top: 60px;
    }

    .content-header h2 {
        font-size: 29px;
    }

    .final-cta-card {
        padding: 40px 25px;
    }

    .cta-content h2 {
        font-size: 30px;
    }

    .cta-actions {
        flex-direction: column;
    }

        .cta-actions .btn {
            width: 100%;
        }

    .cta-icon {
        display: none;
    }
}

/* =========================================================
       PYQ SECTION
    ========================================================= */

.pyq-section {
    padding: 25px 0;
    background: #f8fafc;
}

.pyq-section-header {
    max-width: 750px;
    margin-bottom: 40px;
}

.pyq-section-label {
    display: inline-block;
    margin-bottom: 10px;
    color: #6366f1;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.pyq-section-title {
    margin: 0 0 12px;
    color: #0f172a;
    font-size: 38px;
    font-weight: 800;
    line-height: 1.2;
}

.pyq-section-description {
    margin: 0;
    color: #64748b;
    font-size: 16px;
    line-height: 1.7;
}


/* =========================================================
       PYQ GRID
    ========================================================= */

.pyq-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}


/* =========================================================
       PYQ CARD
    ========================================================= */

.pyq-card {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    min-width: 0;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 22px;
    box-shadow: 0 8px 25px rgba(15, 23, 42, .05);
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}

    .pyq-card::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 4px;
        background: linear-gradient( 90deg, #4f46e5, #7c3aed, #06b6d4 );
    }

    .pyq-card:hover {
        transform: translateY(-7px);
        border-color: #c4b5fd;
        box-shadow: 0 20px 45px rgba(79, 70, 229, .12);
    }


/* =========================================================
       CARD TOP
    ========================================================= */

.pyq-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 26px 25px 10px;
}

.pyq-year {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 62px;
    height: 38px;
    padding: 0 14px;
    border-radius: 10px;
    background: #eef2ff;
    color: #4f46e5;
    font-size: 15px;
    font-weight: 800;
}

.pyq-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 11px;
    border-radius: 30px;
    background: #ecfdf5;
    color: #059669;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .04em;
}

    .pyq-badge::before {
        content: "";
        width: 6px;
        height: 6px;
        border-radius: 50%;
        background: #10b981;
    }


/* =========================================================
       CARD BODY
    ========================================================= */

.pyq-card-body {
    flex: 1;
    padding: 18px 25px 22px;
}

    .pyq-card-body h3 {
        margin: 0 0 8px;
        color: #0f172a;
        font-size: 21px;
        font-weight: 800;
        line-height: 1.4;
    }

    .pyq-card-body p {
        margin: 0;
        color: #64748b;
        font-size: 14px;
        line-height: 1.6;
    }


/* =========================================================
       PAPER / SUBJECT
    ========================================================= */

.pyq-paper-name {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 14px;
    color: #334155;
    font-size: 14px;
    font-weight: 700;
}

    .pyq-paper-name i {
        color: #6366f1;
        font-size: 16px;
    }

.pyq-subject {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 10px;
    padding: 7px 10px;
    border-radius: 8px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    color: #475569;
    font-size: 12px;
    font-weight: 600;
}


/* =========================================================
       META
    ========================================================= */

.pyq-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
    padding-top: 18px;
    border-top: 1px solid #f1f5f9;
}

    .pyq-meta span {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        color: #64748b;
        font-size: 12px;
        font-weight: 600;
    }

    .pyq-meta i {
        color: #6366f1;
        font-size: 14px;
    }


/* =========================================================
       QUESTION COUNT
    ========================================================= */

.pyq-question-count {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 18px;
    padding: 12px 14px;
    border-radius: 12px;
    background: linear-gradient( 135deg, #f8faff, #f5f3ff );
}

.pyq-question-count-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border-radius: 10px;
    background: #eef2ff;
    color: #4f46e5;
    font-size: 16px;
}

.pyq-question-count-text {
    display: flex;
    flex-direction: column;
}

    .pyq-question-count-text strong {
        color: #0f172a;
        font-size: 14px;
        font-weight: 800;
    }

    .pyq-question-count-text span {
        color: #94a3b8;
        font-size: 11px;
    }


/* =========================================================
       CARD FOOTER
    ========================================================= */

.pyq-card-footer {
    display: flex;
    gap: 10px;
    padding: 0 25px 25px;
}

.pyq-read-btn,
.pyq-solve-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 44px;
    padding: 10px 15px;
    border-radius: 11px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    transition: all .25s ease;
}

.pyq-read-btn {
    flex: 1;
    background: #eef2ff;
    color: #4f46e5;
    border: 1px solid #e0e7ff;
}

    .pyq-read-btn:hover {
        background: #4f46e5;
        color: #ffffff;
        border-color: #4f46e5;
    }

.pyq-solve-btn {
    flex: 1;
    background: linear-gradient( 135deg, #4f46e5, #7c3aed );
    color: #ffffff;
    border: 1px solid transparent;
    box-shadow: 0 7px 18px rgba(79, 70, 229, .18);
}

    .pyq-solve-btn:hover {
        color: #ffffff;
        transform: translateY(-2px);
        box-shadow: 0 10px 25px rgba(79, 70, 229, .28);
    }

    .pyq-read-btn i,
    .pyq-solve-btn i {
        font-size: 14px;
    }


/* =========================================================
       SUBJECT TAGS
    ========================================================= */

.pyq-subject-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 12px;
}

.pyq-subject-tag {
    padding: 5px 9px;
    border-radius: 7px;
    background: #f1f5f9;
    color: #475569;
    font-size: 11px;
    font-weight: 600;
}

    .pyq-subject-tag i {
        margin-right: 3px;
        color: #6366f1;
    }


/* =========================================================
       EMPTY STATE
    ========================================================= */

.pyq-empty {
    padding: 70px 20px;
    text-align: center;
    background: #ffffff;
    border: 1px dashed #cbd5e1;
    border-radius: 22px;
}

.pyq-empty-icon {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
    border-radius: 50%;
    background: #eef2ff;
    color: #4f46e5;
    font-size: 25px;
}

.pyq-empty h3 {
    margin: 0 0 8px;
    color: #0f172a;
    font-size: 22px;
    font-weight: 800;
}

.pyq-empty p {
    max-width: 450px;
    margin: auto;
    color: #64748b;
    font-size: 14px;
    line-height: 1.6;
}


/* =========================================================
       TABLET
    ========================================================= */

@media (max-width: 1199px) {

    .pyq-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px;
    }

    .pyq-section {
        padding: 75px 0;
    }

    .pyq-section-title {
        font-size: 34px;
    }
}


/* =========================================================
       MOBILE
    ========================================================= */

@media (max-width: 767px) {

    .pyq-section {
        padding: 60px 0;
    }

    .pyq-section-title {
        font-size: 29px;
    }

    .pyq-section-description {
        font-size: 14px;
    }

    .pyq-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .pyq-card {
        border-radius: 18px;
    }

    .pyq-card-top {
        padding: 23px 20px 8px;
    }

    .pyq-card-body {
        padding: 16px 20px 20px;
    }

        .pyq-card-body h3 {
            font-size: 19px;
        }

    .pyq-card-footer {
        padding: 0 20px 20px;
    }

    .pyq-read-btn,
    .pyq-solve-btn {
        min-height: 42px;
        padding: 9px 10px;
        font-size: 12px;
    }
}


/* =========================================================
       SMALL MOBILE
    ========================================================= */

@media (max-width: 400px) {

    .pyq-card-footer {
        flex-direction: column;
    }

    .pyq-read-btn,
    .pyq-solve-btn {
        width: 100%;
    }

    .pyq-card-top {
        align-items: flex-start;
    }

    .pyq-year {
        min-width: 56px;
        height: 35px;
        font-size: 14px;
    }

    .pyq-badge {
        font-size: 10px;
    }

    .pyq-meta {
        gap: 8px;
    }
}

