:root {
    --ed-teal: #0fa3b1;
    --ed-teal-dark: #0b7a85;
    --ed-teal-soft: #e6f7f9;
    --ed-navy: #0f172a;
    --ed-indigo: #4f46e5;
    --ed-amber: #ffb703;
    --ed-amber-soft: #fff8e6;
    --ed-bg: #f4f7fb;
    --ed-surface: #ffffff;
    --ed-text: #1e293b;
    --ed-muted: #64748b;
    --ed-radius: 1rem;
    --ed-shadow-sm: 0 4px 14px rgba(15, 23, 42, 0.05);
    --ed-shadow-md: 0 12px 30px rgba(15, 23, 42, 0.08);
    --ed-shadow-lg: 0 20px 45px rgba(15, 163, 177, 0.16);
}

body {
    background-color: var(--ed-bg);
    color: var(--ed-text);
    font-family: 'Inter', system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6, .navbar-brand, .fw-display {
    font-family: 'Plus Jakarta Sans', 'Inter', system-ui, sans-serif;
    letter-spacing: -0.02em;
}

/* Glass Navbar */
.navbar-edtech {
    background: rgba(15, 23, 42, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.brand-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
}

.brand-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--ed-teal), #2ec4b6);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    box-shadow: 0 6px 16px rgba(15, 163, 177, 0.35);
}

/* Hero Section Ruangguru-Inspired */
.hero-edtech {
    position: relative;
    overflow: hidden;
    background: radial-gradient(circle at 15% 20%, rgba(15, 163, 177, 0.32) 0%, transparent 45%),
                radial-gradient(circle at 85% 75%, rgba(79, 70, 229, 0.28) 0%, transparent 48%),
                linear-gradient(135deg, #0b132b 0%, #162447 55%, #0f3460 100%);
}

.hero-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(55px);
    opacity: 0.35;
    pointer-events: none;
    animation: blobDrift 12s ease-in-out infinite alternate;
}

.hero-blob-1 {
    width: 320px;
    height: 320px;
    background: #2ec4b6;
    top: -90px;
    right: 8%;
}

.hero-blob-2 {
    width: 260px;
    height: 260px;
    background: #ffb703;
    bottom: -80px;
    left: -60px;
    animation-delay: -5s;
}

/* Buttons & Interactive Micro-interactions */
.btn-edtech-primary {
    background: linear-gradient(135deg, var(--ed-teal), #0d9488);
    border: none;
    color: #fff;
    font-weight: 600;
    border-radius: 0.75rem;
    transition: transform 0.22s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.22s ease, filter 0.2s ease;
    box-shadow: 0 8px 20px rgba(15, 163, 177, 0.28);
}

.btn-edtech-primary:hover, .btn-edtech-primary:focus {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 12px 26px rgba(15, 163, 177, 0.38);
    filter: brightness(1.05);
}

.btn-edtech-amber {
    background: linear-gradient(135deg, #ffb703, #fb8500);
    border: none;
    color: #0f172a;
    font-weight: 700;
    border-radius: 0.85rem;
    transition: transform 0.22s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.22s ease;
    box-shadow: 0 10px 25px rgba(255, 183, 3, 0.35);
}

.btn-edtech-amber:hover, .btn-edtech-amber:focus {
    color: #0f172a;
    transform: translateY(-3px) scale(1.01);
    box-shadow: 0 14px 30px rgba(255, 183, 3, 0.45);
}

/* Cards */
.card-edtech {
    border: 1px solid rgba(15, 23, 42, 0.06);
    border-radius: var(--ed-radius);
    background: var(--ed-surface);
    box-shadow: var(--ed-shadow-sm);
    transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.28s ease, border-color 0.28s ease;
}

.card-edtech:hover {
    transform: translateY(-6px);
    box-shadow: var(--ed-shadow-md);
    border-color: rgba(15, 163, 177, 0.28);
}

.card-static {
    border: 1px solid rgba(15, 23, 42, 0.06);
    border-radius: var(--ed-radius);
    background: var(--ed-surface);
    box-shadow: var(--ed-shadow-sm);
}

.icon-badge-lg {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
}

/* Floating Hero Card */
.hero-float-card {
    border-radius: 1.25rem;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(10px);
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.28);
    animation: floatSlow 5.5s ease-in-out infinite;
}

/* Scroll Reveal Animations */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1), transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Step Connector */
.step-number-circle {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--ed-teal), var(--ed-indigo));
    color: #fff;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 18px rgba(79, 70, 229, 0.25);
}

/* Ruang Ujian */
.exam-timer-box {
    font-family: 'Plus Jakarta Sans', monospace;
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.05em;
    border-radius: 999px;
}

.exam-timer-critical {
    animation: pulseDanger 1.2s ease-in-out infinite;
}

.exam-protected {
    position: relative;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    -webkit-touch-callout: none;
}

.exam-blur-shield #question-stage {
    filter: blur(18px);
    opacity: 0.25;
    pointer-events: none;
    transition: filter 0.15s ease, opacity 0.15s ease;
}

.exam-shield-overlay {
    position: absolute;
    inset: 0;
    z-index: 15;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 1.5rem;
    background: rgba(248, 250, 252, 0.72);
    backdrop-filter: blur(8px);
}

.exam-blur-shield .exam-shield-overlay {
    display: flex;
}

.exam-watermark {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    overflow: hidden;
    opacity: 0.045;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    align-content: space-around;
    transform: rotate(-18deg) scale(1.2);
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 800;
    font-size: 0.9rem;
    color: #0f172a;
}

@media print {
    body * {
        display: none !important;
    }
    body::after {
        content: "Konten soal ujian dilindungi dan tidak dapat dicetak.";
        display: block;
        padding: 3rem;
        font-family: sans-serif;
        font-size: 1.25rem;
        text-align: center;
    }
}

.question-text {
    font-size: 1.075rem;
    line-height: 1.78;
    color: #1e293b;
}

.question-stage-animate {
    animation: fadeSlideIn 0.24s cubic-bezier(0.22, 1, 0.36, 1);
}

.option-item {
    cursor: pointer;
    transition: transform 0.16s ease, background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
    border: 1.5px solid #e2e8f0;
    border-radius: 0.95rem;
    padding: 0.9rem 1.1rem;
    margin-bottom: 0.75rem;
    background-color: #fff;
}

.option-item:hover {
    background-color: #f0fdfa;
    border-color: rgba(15, 163, 177, 0.55);
    transform: translateX(3px);
}

.option-item.selected {
    background: linear-gradient(135deg, rgba(15, 163, 177, 0.1), rgba(79, 70, 229, 0.07));
    border-color: var(--ed-teal);
    box-shadow: 0 4px 14px rgba(15, 163, 177, 0.15);
}

.option-key-pill {
    width: 32px;
    height: 32px;
    border-radius: 0.6rem;
    background: #f1f5f9;
    color: #334155;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.option-item.selected .option-key-pill {
    background: linear-gradient(135deg, var(--ed-teal), var(--ed-indigo));
    color: #fff;
}

.btn-doubtful-pill {
    background: rgba(255, 183, 3, 0.12);
    border: 1px solid rgba(217, 119, 6, 0.28);
    border-radius: 999px;
    padding: 0.32rem 0.9rem;
}

.btn-report-soft {
    background: rgba(239, 68, 68, 0.08);
    border: 1px solid rgba(239, 68, 68, 0.22);
    color: #dc2626;
    border-radius: 999px;
    font-weight: 600;
    transition: all 0.18s ease;
}

.btn-report-soft:hover {
    background: #dc2626;
    border-color: #dc2626;
    color: #fff;
}

.nav-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0.45rem;
}

.nav-num-btn {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    padding: 0.5rem 0;
    border-radius: 0.55rem;
    border: 1.5px solid #cbd5e1;
    background-color: #fff;
    color: #334155;
    transition: transform 0.12s ease, background-color 0.15s ease, border-color 0.15s ease;
}

.nav-num-btn:hover {
    transform: scale(1.06);
}

.nav-num-btn.answered {
    background-color: #16a34a;
    border-color: #15803d;
    color: #fff;
}

.nav-num-btn.doubtful {
    background-color: #ffb703;
    border-color: #d97706;
    color: #0f172a;
}

.nav-num-btn.active {
    background: linear-gradient(135deg, var(--ed-teal), var(--ed-indigo));
    border-color: var(--ed-indigo);
    color: #fff;
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.35);
    transform: scale(1.06);
    z-index: 1;
}

.nav-num-btn.answered.active {
    background: #16a34a;
    border-color: #0f172a;
    box-shadow: 0 0 0 2.5px #0f172a;
}

.nav-num-btn.doubtful.active {
    background: #ffb703;
    border-color: #0f172a;
    color: #0f172a;
    box-shadow: 0 0 0 2.5px #0f172a;
}

/* Keyframes */
@keyframes floatSlow {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

@keyframes blobDrift {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(24px, -18px) scale(1.08); }
}

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

@keyframes pulseDanger {
    0%, 100% { box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.55); }
    50% { box-shadow: 0 0 0 8px rgba(220, 38, 38, 0); }
}

@media (max-width: 575.98px) {
    .nav-grid {
        grid-template-columns: repeat(5, 1fr);
        gap: 0.4rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    .reveal-on-scroll {
        opacity: 1;
        transform: none;
    }
}

/* Page Transition Loader */
#page-loader {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(244, 247, 251, 0.78);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.18s ease;
}

#page-loader.is-active {
    opacity: 1;
    pointer-events: auto;
}

.loader-spinner {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 3.5px solid rgba(15, 163, 177, 0.2);
    border-top-color: var(--ed-teal);
    animation: loaderSpin 0.7s linear infinite;
}

.loader-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    width: 0;
    z-index: 10000;
    background: linear-gradient(90deg, var(--ed-teal), var(--ed-amber), var(--ed-indigo));
    transition: width 0.35s ease;
}

.loader-bar.is-active {
    width: 85%;
}

@keyframes loaderSpin {
    to { transform: rotate(360deg); }
}

/* Ruangguru-style Card Thumbnails & Package Banners */
.card-edtech-thumb {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #eef2f7;
}

.card-edtech-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.card-edtech:hover .card-edtech-thumb img {
    transform: scale(1.06);
}

.pkg-banner {
    position: relative;
    height: 124px;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    padding: 1rem 1.25rem;
    color: #fff;
}

.pkg-banner::before,
.pkg-banner::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.14);
    pointer-events: none;
}

.pkg-banner::before {
    width: 150px;
    height: 150px;
    top: -55px;
    right: -35px;
}

.pkg-banner::after {
    width: 110px;
    height: 110px;
    bottom: -45px;
    left: -25px;
}

.pkg-banner-icon {
    width: 54px;
    height: 54px;
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(6px);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: #fff;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
    transition: transform 0.3s ease;
    z-index: 1;
}

.card-edtech:hover .pkg-banner-icon {
    transform: scale(1.1) rotate(-4deg);
}

.pkg-theme-0 { background: linear-gradient(135deg, #0284c7 0%, #0fa3b1 100%); }
.pkg-theme-1 { background: linear-gradient(135deg, #4f46e5 0%, #0ea5e9 100%); }
.pkg-theme-2 { background: linear-gradient(135deg, #059669 0%, #0fa3b1 100%); }
.pkg-theme-3 { background: linear-gradient(135deg, #d97706 0%, #f59e0b 100%); }
.pkg-theme-4 { background: linear-gradient(135deg, #db2777 0%, #6366f1 100%); }

/* Ruangguru-style CTA Banner */
.banner-cta-ruang {
    position: relative;
    overflow: hidden;
    border-radius: 1.5rem;
    background: linear-gradient(120deg, #0284c7 0%, #0891b2 52%, #0fa3b1 100%);
    color: #fff;
    box-shadow: 0 18px 40px rgba(2, 132, 199, 0.22);
}

.banner-cta-ruang::before,
.banner-cta-ruang::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    pointer-events: none;
}

.banner-cta-ruang::before {
    width: 320px;
    height: 320px;
    top: -120px;
    left: -90px;
}

.banner-cta-ruang::after {
    width: 240px;
    height: 240px;
    bottom: -110px;
    right: -60px;
}

.banner-cta-img {
    width: 100%;
    max-height: 240px;
    object-fit: cover;
    border-radius: 1rem;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.2);
}

/* EdTech Data Table & Pagination */
.table-edtech {
    margin-bottom: 0;
}

.table-edtech thead th {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.76rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #475569;
    background-color: #f8fafc;
    border-bottom: 2px solid #e2e8f0;
    padding: 0.85rem 1rem;
    white-space: nowrap;
}

.table-edtech tbody td {
    padding: 0.85rem 1rem;
    border-bottom: 1px solid #f1f5f9;
    vertical-align: middle;
}

.table-edtech tbody tr {
    transition: background-color 0.15s ease;
}

.table-edtech tbody tr:hover {
    background-color: rgba(15, 163, 177, 0.05);
}

.pagination-edtech {
    gap: 0.35rem;
    flex-wrap: wrap;
}

.pagination-edtech .page-link {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 600;
    font-size: 0.85rem;
    color: #334155;
    background-color: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 0.65rem !important;
    min-width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 0.65rem;
    transition: all 0.18s ease;
}

.pagination-edtech .page-link:hover {
    background-color: var(--ed-teal-soft);
    border-color: var(--ed-teal);
    color: var(--ed-teal-dark);
    transform: translateY(-1px);
}

.pagination-edtech .page-item.active .page-link {
    background: linear-gradient(135deg, var(--ed-teal), var(--ed-indigo));
    border-color: transparent;
    color: #fff;
    box-shadow: 0 6px 14px rgba(15, 163, 177, 0.28);
}

.pagination-edtech .page-item.disabled .page-link {
    background-color: #f8fafc;
    color: #94a3b8;
    border-color: #e2e8f0;
    transform: none;
}

/* Mobile App-Like Experience & Responsive Polish */
html, body {
    overflow-x: clip;
    max-width: 100%;
    -webkit-tap-highlight-color: transparent;
    scroll-behavior: smooth;
}

#exam-nav-panel {
    scroll-margin-top: 84px;
}

.small-mobile-title {
    font-size: clamp(0.82rem, 3.2vw, 1rem);
}

.btn,
.option-item,
.nav-num-btn,
.page-link {
    touch-action: manipulation;
}

.mobile-bottom-nav {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1030;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-top: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 -8px 24px rgba(15, 23, 42, 0.08);
    padding: 0.4rem 0.5rem calc(0.4rem + env(safe-area-inset-bottom));
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.25rem;
}

.mobile-nav-item {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.15rem;
    padding: 0.35rem 0.25rem;
    border-radius: 0.75rem;
    text-decoration: none;
    color: #64748b;
    font-size: 0.72rem;
    font-weight: 600;
    transition: color 0.18s ease, background-color 0.18s ease, transform 0.15s ease;
}

.mobile-nav-item i {
    font-size: 1.2rem;
    line-height: 1;
}

.mobile-nav-item:active {
    transform: scale(0.94);
}

.mobile-nav-item.is-active {
    color: var(--ed-teal-dark);
    background-color: var(--ed-teal-soft);
}

.mobile-nav-badge {
    position: absolute;
    top: -4px;
    right: -9px;
    min-width: 17px;
    height: 17px;
    padding: 0 4px;
    border-radius: 999px;
    background: #ffb703;
    color: #0f172a;
    font-size: 0.65rem;
    font-weight: 800;
    line-height: 17px;
    text-align: center;
    box-shadow: 0 2px 6px rgba(255, 183, 3, 0.45);
    border: 1.5px solid #fff;
}

.exam-mobile-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1030;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid #e2e8f0;
    box-shadow: 0 -8px 24px rgba(15, 23, 42, 0.08);
    padding: 0.65rem 0.85rem calc(0.65rem + env(safe-area-inset-bottom));
}

@media (max-width: 991.98px) {
    body.has-mobile-nav {
        padding-bottom: calc(74px + env(safe-area-inset-bottom));
    }

    body.has-exam-mobile-bar {
        padding-bottom: calc(78px + env(safe-area-inset-bottom));
    }
}

@media (max-width: 767.98px) {
    .hero-edtech {
        padding-top: 2rem !important;
        padding-bottom: 2.25rem !important;
    }

    .hero-edtech .display-4 {
        font-size: clamp(1.65rem, 6.5vw, 2.25rem);
        line-height: 1.25 !important;
    }

    .hero-edtech .lead {
        font-size: 0.98rem;
    }

    .hero-float-card {
        border-radius: 1.15rem;
    }

    .card-edtech {
        border-radius: 1.1rem;
    }

    .banner-cta-ruang {
        border-radius: 1.15rem;
    }

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

    .option-item {
        padding: 0.9rem 1rem;
        min-height: 52px;
        border-radius: 0.8rem;
    }

    .exam-timer-box {
        font-size: clamp(0.76rem, 3vw, 0.92rem);
        padding: 0.3rem 0.55rem !important;
    }

    .pkg-banner {
        height: 108px;
    }
}

/* Modern Hero Pill, CTA Shine & Staggered Entrance Animations */
.hero-pill-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.35rem 0.9rem 0.35rem 0.4rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.24);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.14);
    max-width: 100%;
}

.hero-pill-tag {
    flex-shrink: 0;
    background: linear-gradient(135deg, #ffb703, #fb8500);
    color: #0f172a;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 800;
    font-size: 0.7rem;
    letter-spacing: 0.04em;
    padding: 0.25rem 0.65rem;
    border-radius: 999px;
    box-shadow: 0 0 12px rgba(255, 183, 3, 0.5);
}

.hero-pill-text {
    font-size: clamp(0.74rem, 2.8vw, 0.86rem);
    font-weight: 500;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.25;
}

.btn-hero-shine {
    position: relative;
    overflow: hidden;
    box-shadow: 0 12px 28px rgba(255, 183, 3, 0.38);
}

.btn-hero-shine::after {
    content: "";
    position: absolute;
    top: -50%;
    left: -75%;
    width: 50%;
    height: 200%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.45), transparent);
    transform: skewX(-22deg);
    animation: heroShineSweep 3.8s ease-in-out infinite;
    pointer-events: none;
}

.btn-hero-glass {
    background: rgba(255, 255, 255, 0.1);
    border: 1.5px solid rgba(255, 255, 255, 0.35);
    color: #fff;
    border-radius: 0.85rem;
    font-weight: 600;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.btn-hero-glass:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.75);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}

.hero-anim-1 { animation: heroFadeUp 0.55s cubic-bezier(0.22, 1, 0.36, 1) both; }
.hero-anim-2 { animation: heroFadeUp 0.65s cubic-bezier(0.22, 1, 0.36, 1) 0.08s both; }
.hero-anim-3 { animation: heroFadeUp 0.65s cubic-bezier(0.22, 1, 0.36, 1) 0.16s both; }
.hero-anim-4 { animation: heroFadeUp 0.65s cubic-bezier(0.22, 1, 0.36, 1) 0.24s both; }

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

@keyframes heroShineSweep {
    0%, 55% { left: -75%; }
    85%, 100% { left: 135%; }
}

@media (max-width: 575.98px) {
    .hero-cta-group .btn {
        width: 100%;
        justify-content: center;
    }
}

/* Unified Search Bar & Segmented Filter Pills */
.search-pill-wrap {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.45rem 1rem;
    border-radius: 999px;
    background: #f8fafc;
    border: 1.5px solid #e2e8f0;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.search-pill-wrap:focus-within {
    background: #fff;
    border-color: var(--ed-teal);
    box-shadow: 0 0 0 4px rgba(15, 163, 177, 0.14);
}

.search-pill-wrap input {
    border: 0;
    background: transparent;
    outline: none;
    width: 100%;
    font-size: 0.92rem;
    color: #0f172a;
}

.filter-tabs-tray {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    padding: 0.35rem;
    border-radius: 1rem;
    background: #f1f5f9;
}

.pkg-filter-btn {
    border: 0;
    background: transparent;
    color: #475569;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 600;
    font-size: 0.82rem;
    padding: 0.45rem 0.95rem;
    border-radius: 0.75rem;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.pkg-filter-btn:hover {
    color: #0f172a;
    background: rgba(255, 255, 255, 0.65);
}

.pkg-filter-btn.active {
    background: linear-gradient(135deg, var(--ed-teal), var(--ed-indigo));
    color: #fff;
    box-shadow: 0 4px 12px rgba(15, 163, 177, 0.28);
}

/* Subtest Mini-Card Buttons on /tryout */
.subtest-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 0.35rem;
    border-radius: 0.75rem;
    text-decoration: none;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease, color 0.18s ease;
    height: 100%;
}

.subtest-btn:hover {
    transform: translateY(-2px);
}

.subtest-btn-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 800;
    font-size: 0.85rem;
    line-height: 1.2;
}

.subtest-btn-sub {
    font-size: 0.72rem;
    font-weight: 600;
    opacity: 0.85;
}

.subtest-twk {
    background: rgba(220, 38, 38, 0.07);
    border: 1px solid rgba(220, 38, 38, 0.2);
    color: #dc2626;
}
.subtest-twk:hover { background: #dc2626; color: #fff; box-shadow: 0 6px 14px rgba(220, 38, 38, 0.25); }

.subtest-tiu {
    background: rgba(37, 99, 235, 0.07);
    border: 1px solid rgba(37, 99, 235, 0.2);
    color: #2563eb;
}
.subtest-tiu:hover { background: #2563eb; color: #fff; box-shadow: 0 6px 14px rgba(37, 99, 235, 0.25); }

.subtest-tkp {
    background: rgba(22, 163, 74, 0.07);
    border: 1px solid rgba(22, 163, 74, 0.2);
    color: #16a34a;
}
.subtest-tkp:hover { background: #16a34a; color: #fff; box-shadow: 0 6px 14px rgba(22, 163, 74, 0.25); }
