:root {
    --glq-blue: #2563eb;
    --glq-blue-dark: #1e3a8a;
    --glq-sky: #3b82f6;
    --glq-crimson: #dc2626;
    --glq-crimson-dark: #991b1b;
    --glq-cyan: #06b6d4;
    --glq-ink: #0f172a;
    --glq-ink-soft: #1e293b;
    --glq-muted: #64748b;
    --glq-line: #e2e8f0;
    --glq-bg: #f8fafc;
    --glq-gold: #f59e0b;
    --glq-green: #10b981;
    --glq-red: #ef4444;

    --glq-gradient: linear-gradient(135deg, #2563eb 0%, #3b82f6 45%, #dc2626 100%);
    --glq-gradient-soft: linear-gradient(135deg, rgba(37,99,235,0.10) 0%, rgba(220,38,38,0.10) 100%);

    --glq-shadow: 0 10px 30px -12px rgba(15, 23, 42, 0.18);
    --glq-shadow-lg: 0 25px 55px -20px rgba(15, 23, 42, 0.35);

    --glq-serif: 'Playfair Display', 'Georgia', serif;
    --glq-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

html, body {
    font-family: var(--glq-sans);
    color: var(--glq-ink);
    background: var(--glq-bg);
    -webkit-font-smoothing: antialiased;
}

a { color: var(--glq-blue); text-decoration: none; }
a:hover { color: var(--glq-blue-dark); text-decoration: underline; }

h1, h2, h3, .glq-section-title, .glq-brand, .glq-hero-title {
    font-family: var(--glq-serif);
    letter-spacing: -0.01em;
}

/* ====== Header / Nav ====== */
.glq-header { background: #fff; border-bottom: 1px solid var(--glq-line); }
.glq-navbar { padding: .85rem 0; }
.glq-brand {
    font-size: 1.65rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    text-decoration: none !important;
}
.glq-brand-mark { color: var(--glq-ink); }
.glq-brand-accent {
    background: var(--glq-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.glq-nav .nav-link {
    color: var(--glq-ink-soft) !important;
    font-weight: 500;
    padding: .5rem .9rem !important;
    position: relative;
}
.glq-nav .nav-link:hover { color: var(--glq-blue) !important; }
.glq-nav-right .nav-link { color: var(--glq-ink-soft) !important; font-weight: 500; }
.glq-nav-right .glq-cta-nav {
    background: var(--glq-blue);
    color: #fff !important;
    border-radius: 10px;
    border: 2px solid var(--glq-ink);
    box-shadow: 3px 3px 0 0 var(--glq-ink);
    padding: .4rem 1rem !important;
    margin-left: .5rem;
    transition: transform .12s ease, box-shadow .12s ease, background-color .12s ease;
}
.glq-nav-right .glq-cta-nav:hover {
    background: var(--glq-blue-dark);
    color: #fff !important;
    transform: translate(-1px, -1px);
    box-shadow: 4px 4px 0 0 var(--glq-ink);
}
.glq-user-chip {
    background: #fff;
    color: var(--glq-blue-dark) !important;
    padding: .3rem .7rem;
    border-radius: 99px;
    border: 2px solid var(--glq-ink);
    box-shadow: 2px 2px 0 0 var(--glq-ink);
    font-size: .88rem;
    font-weight: 700;
}
.glq-logout { color: var(--glq-muted) !important; text-decoration: none !important; padding: .5rem .9rem !important; }

.glq-dropdown {
    border: none;
    border-radius: 14px;
    box-shadow: var(--glq-shadow-lg);
    padding: .6rem;
    min-width: 260px;
}
.glq-dropdown-wide { min-width: 340px; }
.glq-dropdown .dropdown-item {
    border-radius: 10px;
    padding: .6rem .75rem;
    display: flex;
    flex-direction: column;
}
.glq-dropdown .dropdown-item:hover { background: var(--glq-gradient-soft); }
.glq-item-title { font-weight: 600; color: var(--glq-ink); }
.glq-item-sub { font-size: .8rem; color: var(--glq-muted); }
.glq-menu-cat-label {
    padding: .6rem .75rem .25rem;
    font-size: .72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--glq-muted);
}
.glq-menu-ai-label { color: var(--glq-blue-dark); }
.glq-dropdown-scroll {
    max-height: min(75vh, 640px);
    overflow-y: auto;
    overscroll-behavior: contain;
}

/* ====== Hero ====== */
.glq-hero {
    position: relative;
    padding: 5rem 0 5.5rem;
    background: #f1f5fb;
    border-bottom: 1px solid var(--glq-line);
    overflow: hidden;
}
.glq-hero .container { position: relative; z-index: 2; }
.glq-kicker {
    display: inline-block;
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--glq-blue-dark);
    background: #fff;
    border: 2px solid var(--glq-ink);
    box-shadow: 3px 3px 0 0 var(--glq-ink);
    padding: .35rem .85rem;
    border-radius: 99px;
    margin-bottom: 1.25rem;
}
.glq-hero-title {
    font-size: clamp(2.4rem, 5vw, 3.8rem);
    font-weight: 800;
    line-height: 1.05;
    margin-bottom: 1.25rem;
}
.glq-hero-gradient {
    background: var(--glq-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.glq-hero-sub {
    font-size: 1.15rem;
    color: var(--glq-ink-soft);
    max-width: 560px;
    margin-bottom: 1.75rem;
    line-height: 1.55;
}
.glq-hero-cta {
    display: flex;
    gap: .75rem;
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: 2rem;
}
.glq-btn-primary {
    background: var(--glq-blue) !important;
    border: 2px solid var(--glq-ink) !important;
    color: #fff !important;
    font-weight: 700;
    padding: .75rem 1.5rem;
    border-radius: 14px;
    box-shadow: 5px 5px 0 0 var(--glq-ink);
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    transition: transform .12s ease, box-shadow .12s ease, background-color .12s ease;
}
.glq-btn-primary:hover {
    transform: translate(-2px, -2px);
    box-shadow: 7px 7px 0 0 var(--glq-ink);
    background: var(--glq-blue-dark) !important;
    color: #fff !important;
}
.glq-btn-primary:active {
    transform: translate(3px, 3px);
    box-shadow: 1px 1px 0 0 var(--glq-ink);
}
.glq-btn-ghost {
    background: #fff !important;
    border: 2px solid var(--glq-ink) !important;
    color: var(--glq-ink) !important;
    font-weight: 700;
    border-radius: 14px;
    padding: .7rem 1.3rem;
    box-shadow: 5px 5px 0 0 var(--glq-ink);
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    transition: transform .12s ease, box-shadow .12s ease;
}
.glq-btn-ghost:hover {
    transform: translate(-2px, -2px);
    box-shadow: 7px 7px 0 0 var(--glq-ink);
}
.glq-btn-ghost:active {
    transform: translate(3px, 3px);
    box-shadow: 1px 1px 0 0 var(--glq-ink);
}

.glq-hero-meta { display: flex; gap: 2.5rem; margin-top: 1rem; }
.glq-hero-meta > div { display: flex; flex-direction: column; }
.glq-hero-meta strong { font-family: var(--glq-serif); font-size: 1.75rem; line-height: 1; color: var(--glq-ink); }
.glq-hero-meta span { font-size: .8rem; color: var(--glq-muted); margin-top: .2rem; }

.glq-hero-card-stack {
    position: relative;
    perspective: 1200px;
}
.glq-hero-card-stack::before,
.glq-hero-card-stack::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 22px;
    border: 2px solid var(--glq-ink);
    z-index: 0;
    pointer-events: none;
}
.glq-hero-card-stack::before {
    background: var(--glq-crimson);
    transform: translate(28px, 22px) rotate(4deg);
    box-shadow: 5px 5px 0 0 var(--glq-ink);
}
.glq-hero-card-stack::after {
    background: var(--glq-blue);
    transform: translate(14px, 12px) rotate(2deg);
    box-shadow: 5px 5px 0 0 var(--glq-ink);
}
.glq-hero-card {
    position: relative;
    z-index: 1;
    background: #fff;
    border-radius: 22px;
    padding: 1.25rem;
    border: 2px solid var(--glq-ink);
    box-shadow: 8px 8px 0 0 var(--glq-ink);
    transform: rotate(-1.2deg);
    transition: transform .35s ease, box-shadow .25s ease;
}
.glq-hero-card:hover {
    transform: rotate(0deg) translate(-2px, -2px);
    box-shadow: 10px 10px 0 0 var(--glq-ink);
}
.glq-hero-card-inner { background: var(--glq-bg); border-radius: 16px; padding: 1.4rem; }
.glq-hero-card-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1rem; }
.glq-hero-chip {
    background: var(--glq-crimson);
    color: #fff;
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
    padding: .3rem .7rem;
    border-radius: 99px;
    border: 2px solid var(--glq-ink);
    box-shadow: 2px 2px 0 0 var(--glq-ink);
}
.glq-hero-progress { font-size: .85rem; color: var(--glq-muted); font-weight: 600; }
.glq-hero-card-q { font-family: var(--glq-serif); font-size: 1.15rem; font-weight: 700; line-height: 1.35; color: var(--glq-ink); margin-bottom: 1rem; }
.glq-hero-card-opts { list-style: none; padding: 0; margin: 0 0 1rem; }
.glq-hero-card-opts li {
    display: flex;
    align-items: center;
    gap: .7rem;
    padding: .55rem .75rem;
    border: 1px solid var(--glq-line);
    border-radius: 10px;
    margin-bottom: .45rem;
    background: #fff;
    font-size: .92rem;
}
.glq-hero-card-opts li span {
    width: 24px; height: 24px;
    border-radius: 50%;
    background: var(--glq-bg);
    color: var(--glq-muted);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: .78rem;
    flex-shrink: 0;
}
.glq-hero-card-opts li.glq-correct {
    border-color: rgba(16, 185, 129, .4);
    background: rgba(16, 185, 129, .08);
    color: var(--glq-ink);
}
.glq-hero-card-opts li.glq-correct span { background: var(--glq-green); color: #fff; }
.glq-hero-card-hint { font-size: .75rem; color: var(--glq-muted); }

/* ====== Sections ====== */
.glq-section-title { font-size: 2.25rem; font-weight: 700; margin-bottom: .4rem; }
.glq-section-sub { color: var(--glq-muted); font-size: 1.05rem; max-width: 640px; margin: 0 auto; }
.glq-link-arrow { font-weight: 600; color: var(--glq-blue); }
.glq-link-arrow:hover { color: var(--glq-blue-dark); }

/* ====== Features ====== */
.glq-features { }
.glq-feature {
    background: #fff;
    border: 2px solid var(--glq-ink);
    border-radius: 18px;
    padding: 1.75rem;
    height: 100%;
    box-shadow: 5px 5px 0 0 var(--glq-ink);
    transition: transform .15s ease, box-shadow .15s ease;
}
.glq-feature:hover {
    transform: translate(-3px, -3px);
    box-shadow: 8px 8px 0 0 var(--glq-blue);
}
.glq-feature h3 { font-size: 1.15rem; font-weight: 700; font-family: var(--glq-sans); margin: 0 0 .5rem; }
.glq-feature p { color: var(--glq-muted); font-size: .95rem; margin: 0; }
.glq-feature-icon {
    width: 56px; height: 56px;
    border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 1.25rem;
    color: #fff;
    border: 2px solid var(--glq-ink);
    box-shadow: 4px 4px 0 0 var(--glq-ink);
    transition: transform .25s ease;
}
.glq-feature:hover .glq-feature-icon {
    transform: rotate(-6deg) scale(1.05);
}
.glq-icon-1 { background: var(--glq-blue); }
.glq-icon-2 { background: var(--glq-cyan); }
.glq-icon-3 { background: var(--glq-green); }
.glq-icon-4 { background: var(--glq-crimson); }

/* ====== Celebrate / video ====== */
.glq-celebrate { background: #fff; border-top: 1px solid var(--glq-line); }
.glq-celebrate-video {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    border: 2px solid var(--glq-ink);
    box-shadow: 10px 10px 0 0 var(--glq-crimson);
    background: #000;
    aspect-ratio: 16 / 9;
    transform: rotate(-1deg);
    transition: transform .25s ease, box-shadow .25s ease;
}
.glq-celebrate-video:hover {
    transform: rotate(0deg) translate(-2px, -2px);
    box-shadow: 12px 12px 0 0 var(--glq-crimson);
}
.glq-celebrate-video video {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

/* ====== Subjects preview ====== */
.glq-subjects-preview { background: #fff; border-top: 1px solid var(--glq-line); border-bottom: 1px solid var(--glq-line); }
.glq-subject-card {
    display: block;
    background: #fff;
    border: 2px solid var(--glq-ink);
    border-radius: 18px;
    padding: 1.5rem;
    height: 100%;
    text-decoration: none !important;
    color: inherit;
    box-shadow: 5px 5px 0 0 var(--glq-ink);
    transition: transform .15s ease, box-shadow .15s ease;
    position: relative;
}
.glq-subject-card:nth-child(3n+1):hover { box-shadow: 8px 8px 0 0 var(--glq-blue); }
.glq-subject-card:nth-child(3n+2):hover { box-shadow: 8px 8px 0 0 var(--glq-crimson); }
.glq-subject-card:nth-child(3n):hover   { box-shadow: 8px 8px 0 0 var(--glq-blue-dark); }
.glq-subject-card:hover {
    transform: translate(-3px, -3px);
}
.glq-subject-cat {
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--glq-blue);
    margin-bottom: .5rem;
}
.glq-subject-name {
    font-family: var(--glq-serif);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--glq-ink);
    margin-bottom: 1rem;
}
.glq-subject-meta {
    display: flex;
    justify-content: space-between;
    color: var(--glq-muted);
    font-size: .9rem;
    border-top: 1px solid var(--glq-line);
    padding-top: .85rem;
}
.glq-subject-go { color: var(--glq-blue); font-weight: 600; }

/* ====== CTA band ====== */
.glq-cta-band {
    background: var(--glq-blue-dark);
    color: #fff;
    border-top: 6px solid var(--glq-ink);
    border-bottom: 6px solid var(--glq-ink);
    position: relative;
}
.glq-cta-band::before,
.glq-cta-band::after {
    content: "";
    position: absolute;
    width: 80px; height: 80px;
    border: 2px solid var(--glq-ink);
    background: var(--glq-crimson);
    box-shadow: 5px 5px 0 0 var(--glq-ink);
}
.glq-cta-band::before { top: -40px; left: 8%; transform: rotate(15deg); border-radius: 14px; }
.glq-cta-band::after { bottom: -40px; right: 10%; transform: rotate(-12deg); border-radius: 50%; background: var(--glq-blue); }
.glq-cta-title { font-size: 2.25rem; color: #fff; }
.glq-cta-band .glq-section-sub { color: rgba(255,255,255,0.85); }

/* ====== Page hero (sub pages) ====== */
.glq-page-hero {
    padding: 3.5rem 0 3rem;
    background: linear-gradient(180deg, #ffffff 0%, #eff6ff 100%);
    border-bottom: 1px solid var(--glq-line);
}
.glq-page-hero h1 {
    font-size: clamp(2rem, 4.5vw, 3.2rem);
    font-weight: 800;
    margin-bottom: .75rem;
}
.glq-page-sub { color: var(--glq-ink-soft); font-size: 1.1rem; max-width: 720px; }
.glq-page-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    font-weight: 500;
    color: var(--glq-ink-soft);
    margin-bottom: 1rem;
    max-width: 820px;
}
.glq-page-hero-badge .glq-hero-row {
    display: flex;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}
.glq-page-hero-badge .glq-hero-text { flex: 1 1 320px; min-width: 0; }
.glq-cert-badge {
    width: clamp(140px, 18vw, 200px);
    height: auto;
    object-fit: contain;
    border-radius: 16px;
    box-shadow: 0 8px 24px -12px rgba(15,23,42,0.25);
    background: #fff;
    padding: .35rem;
    flex: 0 0 auto;
}

/* ====== Certification marquee ====== */
.glq-marquee {
    position: relative;
    padding: 1.5rem 0;
    background: #ffffff;
    border-top: 1px solid var(--glq-line);
    border-bottom: 1px solid var(--glq-line);
    overflow: hidden;
}
.glq-marquee-viewport {
    display: flex;
    overflow: hidden;
    width: 100%;
}
.glq-marquee-fade {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(90deg, #ffffff 0%, rgba(255,255,255,0) 8%, rgba(255,255,255,0) 92%, #ffffff 100%);
    z-index: 2;
}
.glq-marquee-track {
    flex-shrink: 0;
    display: flex;
    gap: 2.5rem;
    align-items: center;
    min-width: max-content;
    animation: glq-marquee-scroll 38s linear infinite;
    will-change: transform;
}
.glq-marquee:hover .glq-marquee-track,
.glq-marquee:focus-within .glq-marquee-track { animation-play-state: paused; }
.glq-marquee-item {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 84px;
    width: 84px;
    filter: grayscale(0.15);
    opacity: 0.9;
    transition: filter .2s ease, opacity .2s ease, transform .2s ease;
}
.glq-marquee-item img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
}
.glq-marquee-item:hover,
.glq-marquee-item:focus-visible {
    filter: none;
    opacity: 1;
    transform: scale(1.08);
    outline: none;
}
@keyframes glq-marquee-scroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.glq-content-panel {
    background: #fff;
    border: 1px solid var(--glq-line);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: var(--glq-shadow);
}
.glq-content-panel h2 {
    font-size: 1.45rem;
    font-weight: 700;
    margin-top: 2rem;
    margin-bottom: .75rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--glq-line);
}
.glq-content-panel h2:first-child { margin-top: 0; padding-top: 0; border-top: none; }
.glq-content-panel p { color: var(--glq-ink-soft); line-height: 1.7; }

.glq-contact-h { font-family: var(--glq-serif); font-size: 1.4rem; font-weight: 700; margin-bottom: 1rem; }
.glq-input {
    border: 1px solid var(--glq-line);
    border-radius: 10px;
    padding: .65rem .85rem;
    transition: border-color .15s ease, box-shadow .15s ease;
}
.glq-input:focus {
    border-color: var(--glq-blue);
    box-shadow: 0 0 0 3px rgba(37,99,235,.15);
    outline: none;
}

/* ====== Quizzes ====== */
.glq-quiz-card {
    background: #fff;
    border: 1px solid var(--glq-line);
    border-radius: 18px;
    padding: 1.5rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: transform .2s ease, box-shadow .2s ease;
}
.glq-quiz-card:hover { transform: translateY(-3px); box-shadow: var(--glq-shadow); }
.glq-quiz-sub {
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--glq-blue);
    margin-bottom: .5rem;
}
.glq-quiz-title { font-family: var(--glq-serif); font-size: 1.35rem; font-weight: 700; line-height: 1.25; margin-bottom: .75rem; }
.glq-quiz-obj { color: var(--glq-muted); font-size: .9rem; line-height: 1.5; }
.glq-quiz-meta { color: var(--glq-muted); font-size: .85rem; margin-top: auto; }

/* ====== Kicker as breadcrumb link (Quiz Take, etc.) ====== */
.glq-kicker-link {
    text-decoration: none;
    transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
    cursor: pointer;
}
.glq-kicker-link:hover,
.glq-kicker-link:focus {
    text-decoration: none;
    transform: translateX(-2px);
    box-shadow: 0 6px 18px -10px rgba(37,99,235,0.45);
    background: linear-gradient(135deg, rgba(37,99,235,0.18) 0%, rgba(220,38,38,0.18) 100%);
    color: var(--glq-blue-dark);
}
.glq-kicker-link:focus-visible {
    outline: 2px solid var(--glq-blue);
    outline-offset: 3px;
}

/* ====== Learning Objectives bubble (Quiz Take hero) ====== */
.glq-objectives-bubble {
    position: relative;
    display: block;
    max-width: 780px;
    margin-top: 1.25rem;
    padding: 1.1rem 1.35rem 1.1rem 1.35rem;
    background: linear-gradient(135deg, #eff6ff 0%, #fef2f2 100%);
    border: 1px solid rgba(37,99,235,0.22);
    border-left: 5px solid var(--glq-blue);
    border-radius: 16px;
    box-shadow: 0 8px 24px -14px rgba(37,99,235,0.35);
}
.glq-objectives-label {
    display: inline-block;
    font-size: .7rem;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--glq-blue-dark);
    margin-bottom: .4rem;
}
.glq-objectives-text {
    margin: 0;
    color: var(--glq-ink-soft);
    font-size: 1rem;
    line-height: 1.55;
}

/* ====== Quiz Take ====== */
.glq-question-card {
    background: #fff;
    border: 1px solid var(--glq-line);
    border-radius: 16px;
    padding: 1.75rem;
    margin-bottom: 1.25rem;
    box-shadow: 0 4px 12px -6px rgba(15,23,42,0.08);
}
.glq-question-num {
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--glq-blue);
    margin-bottom: .4rem;
}
.glq-question-text {
    font-family: var(--glq-serif);
    font-size: 1.25rem;
    line-height: 1.4;
    font-weight: 600;
    margin-bottom: 1.25rem;
}
.glq-options { display: flex; flex-direction: column; gap: .6rem; }
.glq-option {
    display: flex;
    align-items: flex-start;
    gap: .85rem;
    padding: .85rem 1rem;
    border: 1px solid var(--glq-line);
    border-radius: 10px;
    cursor: pointer;
    transition: background .15s ease, border-color .15s ease;
    margin: 0;
}
.glq-option:hover { background: var(--glq-gradient-soft); border-color: rgba(37, 99, 235, .3); }
.glq-option input { margin-top: .3rem; accent-color: var(--glq-blue); }
.glq-opt-letter {
    width: 28px; height: 28px;
    flex-shrink: 0;
    border-radius: 50%;
    background: var(--glq-bg);
    color: var(--glq-muted);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: .85rem;
}
.glq-opt-text { flex: 1; line-height: 1.45; }

.glq-option input:checked + .glq-opt-letter {
    background: var(--glq-blue);
    color: #fff;
    border: 2px solid var(--glq-ink);
    box-shadow: 2px 2px 0 0 var(--glq-ink);
}

.glq-submit-bar {
    position: sticky;
    bottom: 0;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(8px);
    border-top: 1px solid var(--glq-line);
    padding: 1rem 0;
    margin-top: 1.5rem;
    display: flex;
    gap: .75rem;
}

/* ====== Results ====== */
.glq-result-card {
    border-radius: 20px;
    color: #fff;
    padding: 2.5rem;
    text-align: center;
    box-shadow: var(--glq-shadow-lg);
}
.glq-result-card.glq-pass { background: linear-gradient(135deg, #10b981, #059669); }
.glq-result-card.glq-fail { background: var(--glq-crimson); border: 2px solid var(--glq-ink); box-shadow: 8px 8px 0 0 var(--glq-ink); }
.glq-result-card h2 {
    font-family: var(--glq-serif);
    font-size: 4rem;
    font-weight: 800;
    margin: .5rem 0;
    color: #fff;
}
.glq-result-badge {
    background: rgba(255,255,255,0.2);
    color: #fff;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    padding: .4rem .85rem;
    border-radius: 99px;
    display: inline-block;
}

.glq-review-list { display: flex; flex-direction: column; gap: 1rem; }
.glq-review-item {
    background: #fff;
    border: 1px solid var(--glq-line);
    border-left: 4px solid var(--glq-muted);
    border-radius: 14px;
    padding: 1.25rem 1.5rem;
}
.glq-review-item.is-correct { border-left-color: var(--glq-green); }
.glq-review-item.is-wrong { border-left-color: var(--glq-red); }
.glq-review-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: .55rem; }
.glq-review-num {
    font-size: .72rem; font-weight: 700;
    letter-spacing: .12em; text-transform: uppercase;
    color: var(--glq-muted);
}
.glq-review-status {
    font-size: .75rem; font-weight: 700;
    letter-spacing: .08em; text-transform: uppercase;
}
.is-correct .glq-review-status { color: var(--glq-green); }
.is-wrong .glq-review-status { color: var(--glq-red); }
.glq-review-q { font-family: var(--glq-serif); font-weight: 600; font-size: 1.08rem; margin-bottom: .5rem; }
.glq-review-meta { display: flex; gap: 1.5rem; flex-wrap: wrap; color: var(--glq-ink-soft); font-size: .9rem; }
.glq-review-exp {
    margin-top: .75rem;
    padding: .85rem 1rem;
    background: var(--glq-gradient-soft);
    border-radius: 10px;
    color: var(--glq-ink-soft);
    font-size: .92rem;
    line-height: 1.5;
}

/* ====== Footer ====== */
.glq-footer { background: var(--glq-ink); color: #cbd5e1; }
.glq-foot-brand { font-family: var(--glq-serif); font-size: 1.25rem; font-weight: 700; }
.glq-foot-brand .glq-brand-mark { color: #fff; }
.glq-foot-link { color: #cbd5e1; }
.glq-foot-link:hover { color: #fff; }
.glq-yt-btn {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    background: #dc2626;
    color: #fff !important;
    padding: .55rem 1rem;
    border-radius: 10px;
    font-weight: 600;
    text-decoration: none !important;
    transition: background .15s ease;
}
.glq-yt-btn:hover { background: #b91c1c; }

/* ====== 3D decoration: cubes, orbs, blobs ====== */
.glq-hero-deco {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
    z-index: 1;
}
.glq-deco-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(to right, rgba(15,23,42,0.06) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(15,23,42,0.06) 1px, transparent 1px);
    background-size: 44px 44px;
    mask-image: radial-gradient(ellipse at 50% 40%, black 35%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse at 50% 40%, black 35%, transparent 75%);
}

/* Isometric cube */
.glq-cube {
    position: absolute;
    width: 80px; height: 80px;
    transform-style: preserve-3d;
    transform: rotateX(-22deg) rotateY(36deg);
    animation: glq-float 7s ease-in-out infinite;
}
.glq-cube .glq-face {
    position: absolute;
    width: 80px; height: 80px;
    border: 2px solid var(--glq-ink);
}
.glq-cube .glq-face-front { transform: translateZ(40px); }
.glq-cube .glq-face-top   { transform: rotateX(90deg) translateZ(40px); }
.glq-cube .glq-face-side  { transform: rotateY(90deg) translateZ(40px); }
.glq-cube-blue .glq-face-front { background: var(--glq-blue); }
.glq-cube-blue .glq-face-top   { background: var(--glq-sky); }
.glq-cube-blue .glq-face-side  { background: var(--glq-blue-dark); }
.glq-cube-red .glq-face-front  { background: var(--glq-crimson); }
.glq-cube-red .glq-face-top    { background: #f87171; }
.glq-cube-red .glq-face-side   { background: var(--glq-crimson-dark); }

.glq-cube-1 { top: 12%; left: 4%; }
.glq-cube-2 { bottom: 14%; left: 38%; width: 56px; height: 56px; animation-delay: 1.5s; }
.glq-cube-2 .glq-face { width: 56px; height: 56px; }
.glq-cube-2 .glq-face-front { transform: translateZ(28px); }
.glq-cube-2 .glq-face-top   { transform: rotateX(90deg) translateZ(28px); }
.glq-cube-2 .glq-face-side  { transform: rotateY(90deg) translateZ(28px); }

/* Orbs (3D shaded spheres) */
.glq-orb {
    position: absolute;
    border-radius: 50%;
    border: 2px solid var(--glq-ink);
}
.glq-orb-blue {
    background: radial-gradient(circle at 32% 30%, #93c5fd 0%, var(--glq-blue) 55%, var(--glq-blue-dark) 100%);
    box-shadow: inset -8px -12px 24px rgba(0,0,0,0.25), 6px 6px 0 0 var(--glq-ink);
}
.glq-orb-red {
    background: radial-gradient(circle at 32% 30%, #fecaca 0%, var(--glq-crimson) 55%, var(--glq-crimson-dark) 100%);
    box-shadow: inset -8px -12px 24px rgba(0,0,0,0.25), 6px 6px 0 0 var(--glq-ink);
}
.glq-orb-1 { width: 60px; height: 60px; top: 20%; right: 6%; animation: glq-float 6s ease-in-out infinite; }
.glq-orb-2 { width: 36px; height: 36px; top: 64%; left: 12%; animation: glq-float 8s ease-in-out infinite reverse; }
.glq-orb-3 { width: 44px; height: 44px; top: 8%; right: 38%; animation: glq-float 9s ease-in-out infinite; animation-delay: .8s; }

/* Wedge / triangle */
.glq-wedge {
    position: absolute;
    width: 0; height: 0;
    filter: drop-shadow(4px 4px 0 var(--glq-ink));
}
.glq-wedge-1 {
    top: 70%; right: 18%;
    border-left: 30px solid transparent;
    border-right: 30px solid transparent;
    border-bottom: 52px solid var(--glq-blue);
    transform: rotate(18deg);
    animation: glq-float 7s ease-in-out infinite;
    animation-delay: .4s;
}

@keyframes glq-float {
    0%, 100% { transform: rotateX(-22deg) rotateY(36deg) translateY(0); }
    50%      { transform: rotateX(-22deg) rotateY(36deg) translateY(-14px); }
}
.glq-orb, .glq-wedge {
    /* simpler float for non-cube shapes */
    animation-name: glq-bob;
}
@keyframes glq-bob {
    0%, 100% { translate: 0 0; }
    50%      { translate: 0 -12px; }
}

@media (max-width: 991px) {
    .glq-cube-1, .glq-cube-2, .glq-wedge-1, .glq-orb-3 { display: none; }
}
@media (prefers-reduced-motion: reduce) {
    .glq-cube, .glq-orb, .glq-wedge { animation: none; }
}
