/* ==========================================================================
   YouTube Boost Academy — page-specific styles
   Motif: syllabus / roadmap. Secondary accent: sky-blue (#38bdf8 / #0ea5e9)
   alongside the site's red-600 primary.
   ========================================================================== */

.aca-heading {
    font-family: 'Space Grotesk', 'Inter', sans-serif;
    letter-spacing: -0.01em;
}

.aca-main {
    background-color: #030304;
    background-image:
        radial-gradient(circle at 12% 0%, rgba(56, 189, 248, 0.14), transparent 32%),
        radial-gradient(circle at 88% 15%, rgba(220, 38, 38, 0.12), transparent 30%),
        repeating-linear-gradient(
            to bottom,
            rgba(255, 255, 255, 0.02) 0px,
            rgba(255, 255, 255, 0.02) 1px,
            transparent 1px,
            transparent 42px
        );
}

.aca-strip {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(56, 189, 248, 0.35), rgba(220, 38, 38, 0.35), transparent);
}

/* Eyebrow / kicker labels */
.aca-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0.9rem;
    border-radius: 999px;
    border: 1px solid rgba(56, 189, 248, 0.3);
    background: rgba(56, 189, 248, 0.08);
    color: #7dd3fc;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    width: fit-content;
}

.aca-eyebrow-dot {
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: #38bdf8;
    box-shadow: 0 0 8px rgba(56, 189, 248, 0.9);
}

.aca-kicker {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #38bdf8;
}

/* Buttons */
.aca-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.8rem 1.5rem;
    border-radius: 999px;
    background: #dc2626;
    color: #fff;
    font-size: 0.9rem;
    font-weight: 600;
    box-shadow: 0 12px 30px -12px rgba(220, 38, 38, 0.6);
    transition: background 0.2s ease, transform 0.2s ease;
}

.aca-btn-primary:hover {
    background: #b91c1c;
    transform: translateY(-1px);
}

.aca-btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.8rem 1.5rem;
    border-radius: 999px;
    border: 1px solid rgba(56, 189, 248, 0.35);
    color: #e0f2fe;
    font-size: 0.9rem;
    font-weight: 600;
    background: rgba(56, 189, 248, 0.06);
    transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.aca-btn-secondary:hover {
    border-color: rgba(56, 189, 248, 0.7);
    background: rgba(56, 189, 248, 0.12);
    transform: translateY(-1px);
}

/* Hero fact row */
.aca-fact-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
}

.aca-fact {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.45rem 0.9rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.03);
    font-size: 0.78rem;
    color: #a1a1aa;
}

.aca-fact i {
    color: #38bdf8;
}

/* Progress card */
.aca-progress-card {
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(9, 9, 9, 0.8);
    border-radius: 1.25rem;
    padding: 1.5rem;
}

.aca-progress-track {
    width: 100%;
    height: 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    overflow: hidden;
}

.aca-progress-fill {
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, #0ea5e9, #38bdf8);
    transition: width 0.35s ease;
}

/* Roadmap */
.aca-roadmap {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    position: relative;
}

@media (min-width: 768px) {
    .aca-roadmap {
        grid-template-columns: repeat(3, 1fr);
    }

    .aca-roadmap::before {
        content: '';
        position: absolute;
        top: 2.65rem;
        left: 8%;
        right: 8%;
        height: 2px;
        background: linear-gradient(90deg, rgba(56, 189, 248, 0.5), rgba(220, 38, 38, 0.5), rgba(56, 189, 248, 0.5));
        z-index: 0;
    }
}

.aca-stage-card {
    position: relative;
    z-index: 1;
    display: block;
    border-radius: 1.25rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: #0a0a0b;
    padding: 1.75rem;
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.aca-stage-card:hover {
    transform: translateY(-4px);
    border-color: rgba(56, 189, 248, 0.4);
    box-shadow: 0 20px 45px -22px rgba(0, 0, 0, 0.8);
}

.aca-stage-num {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.75rem;
    font-weight: 600;
    color: #52525b;
    margin-bottom: 0.75rem;
}

.aca-stage-icon {
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(56, 189, 248, 0.12);
    border: 1px solid rgba(56, 189, 248, 0.3);
    color: #38bdf8;
    margin-bottom: 1rem;
}

.aca-stage-tag {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    color: #71717a;
    text-transform: uppercase;
}

/* Track headers */
.aca-track-badge {
    flex-shrink: 0;
    width: 3rem;
    height: 3rem;
    border-radius: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'JetBrains Mono', monospace;
    font-weight: 700;
    font-size: 1rem;
    color: #38bdf8;
    background: rgba(56, 189, 248, 0.1);
    border: 1px solid rgba(56, 189, 248, 0.3);
}

.aca-section-alt {
    background: linear-gradient(180deg, rgba(56, 189, 248, 0.035), transparent 60%);
}

/* Lesson cards */
.aca-lesson-card {
    border-radius: 1.25rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: #0a0a0b;
    padding: 1.75rem;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.aca-lesson-card:hover {
    border-color: rgba(56, 189, 248, 0.3);
    box-shadow: 0 20px 45px -28px rgba(0, 0, 0, 0.85);
}

.aca-lesson-card.is-complete {
    border-color: rgba(56, 189, 248, 0.45);
    background: linear-gradient(180deg, rgba(56, 189, 248, 0.05), #0a0a0b 55%);
}

.aca-lesson-num {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.72rem;
    font-weight: 600;
    color: #52525b;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.5rem;
    padding: 0.2rem 0.55rem;
}

.aca-check-label {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.72rem;
    color: #71717a;
    cursor: pointer;
    user-select: none;
    white-space: nowrap;
}

.aca-lesson-check {
    width: 15px;
    height: 15px;
    accent-color: #38bdf8;
    cursor: pointer;
}

.aca-lesson-card.is-complete .aca-check-label {
    color: #7dd3fc;
}

.aca-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.78rem;
    font-weight: 600;
    color: #7dd3fc;
    padding: 0.55rem 0.9rem;
    border-radius: 0.75rem;
    border: 1px solid rgba(56, 189, 248, 0.25);
    background: rgba(56, 189, 248, 0.06);
    transition: background 0.2s ease, border-color 0.2s ease;
}

.aca-chip:hover {
    background: rgba(56, 189, 248, 0.14);
    border-color: rgba(56, 189, 248, 0.5);
}

.aca-chip i {
    font-size: 0.7rem;
}

/* FAQ accordion */
.aca-faq {
    border-radius: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: #0a0a0b;
}

.aca-faq[open] {
    border-color: rgba(56, 189, 248, 0.3);
}

.aca-faq summary::-webkit-details-marker {
    display: none;
}

.aca-faq[open] summary i {
    transform: rotate(45deg);
}

.aca-faq summary i {
    transition: transform 0.2s ease;
}

/* Cross-link cards */
.aca-cross-card {
    border-radius: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: #0a0a0b;
    padding: 1.5rem 1rem;
    transition: transform 0.25s ease, border-color 0.25s ease;
}

.aca-cross-card:hover {
    transform: translateY(-3px);
    border-color: rgba(56, 189, 248, 0.4);
}

@media (prefers-reduced-motion: reduce) {
    .aca-btn-primary,
    .aca-btn-secondary,
    .aca-stage-card,
    .aca-lesson-card,
    .aca-cross-card {
        transition: none;
    }

    .aca-btn-primary:hover,
    .aca-btn-secondary:hover,
    .aca-stage-card:hover,
    .aca-cross-card:hover {
        transform: none;
    }
}
