/* ============================================================
   LEARN.CSS - shared styles for /learn/* pages
   (roadmaps.html, career-paths.html, and future Learn pages)
   Tokens come from navbar.css :root — loaded before this file.
   ============================================================ */

/* ===== COMMON HEADER (plain / white-background variant) =====
   Same component used on the homepage — duplicated here under the
   same class names since Learn pages don't load homepage.css. */
.dc-common-header-for-allpages-plain-bc {
    text-align: center;
    margin-bottom: 60px;
}

.dc-homepages-header-subtitle-plain-bc {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(0, 229, 255, 0.08);
    color: var(--accent-color);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 8px 22px;
    border-radius: 40px;
    margin-bottom: 24px;
    border: 1px solid rgba(0, 229, 255, 0.3);
    box-shadow: var(--shadow-sm);
    backdrop-filter: blur(4px);
}

.dc-homepages-header-subtitle-plain-bc i {
    font-size: 14px;
    color: var(--accent-color);
}

.dc-homepages-header-title-plain-bc {
    color: var(--primary-color);
    font-size: clamp(2.1rem, 4.2vw, 3.2rem);
    font-weight: 800;
    line-height: 1.25;
    margin: 0 0 20px 0;
    letter-spacing: -0.02em;
}

.dc-homepages-header-description-plain-bc {
    color: var(--primary-color);
    font-size: 1.15rem;
    font-weight: 500;
    max-width: 680px;
    margin: 20px auto 0;
    line-height: 1.7;
    opacity: 0.85;
}

/* Navy-background variant of the common header, for the plain-bc header
   component reused inside .is-navy sections (e.g. "How We Teach It") */
.dc-homepages-header-title-plain-bc.is-navy {
    color: var(--text-white);
}

/* Inline text link inside body copy that should read as plain
   underlined text in the surrounding color, not an accent-colored link */
.dc-learn-inline-link {
    color: inherit;
    text-decoration: underline;
}

/* ===== LEARN HERO (navy) ===== */
.dc-learn-hero {
    width: 100%;
    background: var(--gradient-primary);
    padding: 130px 5% 90px;
    text-align: center;
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.dc-learn-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 15% 20%, rgba(0, 229, 255, 0.12) 0%, transparent 55%),
        radial-gradient(circle at 85% 80%, rgba(0, 229, 255, 0.08) 0%, transparent 55%);
    pointer-events: none;
}

.dc-learn-hero-inner {
    max-width: 780px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

/* Visible breadcrumb, doubles as real internal links for SEO/crawl equity */
.dc-learn-hero-breadcrumb {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-bottom: 22px;
}

.dc-learn-hero-breadcrumb a {
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition-default);
}

.dc-learn-hero-breadcrumb a:hover {
    color: var(--accent-color);
}

.dc-learn-hero-breadcrumb .dc-learn-breadcrumb-sep {
    opacity: 0.5;
}

.dc-learn-hero-breadcrumb .dc-learn-breadcrumb-current {
    color: var(--accent-color);
    font-weight: 600;
}

.dc-learn-hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(0, 229, 255, 0.12);
    backdrop-filter: blur(4px);
    color: var(--accent-color);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 8px 22px;
    border-radius: 40px;
    margin-bottom: 26px;
    border: 1px solid rgba(0, 229, 255, 0.25);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.dc-learn-hero h1 {
    color: var(--text-white);
    font-size: clamp(2.3rem, 4.8vw, 3.6rem);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin: 0 0 22px 0;
    text-wrap: balance;
}

.dc-learn-hero-accent {
    /* Unconditional visible fallback — wins whenever the gradient-clip
       technique below can't paint (unsupported browser, or a rendering
       edge case), so the heading is never blank. */
    color: var(--text-white);
}

@supports (background-clip: text) or (-webkit-background-clip: text) {
    .dc-learn-hero-accent {
        background: var(--gradient-accent);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        text-shadow: 0 2px 24px rgba(0, 229, 255, 0.25);
    }
}

.dc-learn-hero p {
    color: var(--text-muted);
    font-size: 1.15rem;
    line-height: 1.75;
    max-width: 620px;
    margin: 0 auto 36px;
}

.dc-learn-hero-ctas {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.dc-learn-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.9rem 1.8rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: var(--transition-default);
}

.dc-learn-btn-primary {
    background: var(--accent-color);
    color: var(--primary-color);
}

.dc-learn-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 229, 255, 0.3);
}

.dc-learn-btn-outline {
    background: transparent;
    color: var(--text-white);
    border: 2px solid rgba(255, 255, 255, 0.25);
}

.dc-learn-btn-outline:hover {
    border-color: var(--accent-color);
    color: var(--accent-color);
    transform: translateY(-2px);
}

/* ===== HERO EXTRAS: pills + founder attribution line
   (used by course/tech Learn pages — full-stack-web-development.html etc.) ===== */
.dc-learn-hero-founder-line {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: var(--accent-color);
    font-size: 0.92rem;
    font-weight: 600;
    max-width: 600px;
    margin: 0 auto 30px;
    text-align: center;
    line-height: 1.5;
}

.dc-learn-hero-founder-line i {
    flex-shrink: 0;
}

.dc-learn-hero-pills {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 34px;
}

.dc-learn-hero-pill {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-white);
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 6px 16px;
    border-radius: 20px;
}

/* ===== INTRO STRIP (white) ===== */
.dc-learn-intro-strip {
    width: 100%;
    background: #ffffff;
    padding: 56px 5%;
}

.dc-learn-intro-strip-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.dc-learn-intro-point {
    display: flex;
    align-items: center;
    gap: 16px;
    background: rgba(0, 229, 255, 0.05);
    border: 1px solid rgba(11, 28, 45, 0.08);
    border-radius: 18px;
    padding: 20px 22px;
}

.dc-learn-intro-point-icon {
    width: 46px;
    height: 46px;
    min-width: 46px;
    border-radius: 14px;
    background: var(--gradient-accent);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    box-shadow: 0 8px 18px rgba(0, 229, 255, 0.25);
}

.dc-learn-intro-point p {
    color: var(--primary-color);
    font-size: 0.98rem;
    line-height: 1.5;
    margin: 0;
}

.dc-learn-intro-point p strong {
    display: block;
    font-weight: 700;
    margin-bottom: 2px;
}

/* ===== PROSE SECTION (definition paragraphs, "where this leads" — reusable
   across course/tech Learn pages; off-white by default, .is-white for white) ===== */
.dc-learn-prose-section {
    width: 100%;
    background: #f8fafc;
    padding: 90px 5%;
}

.dc-learn-prose-section.is-white {
    background: #ffffff;
}

.dc-learn-prose-section-inner {
    max-width: 760px;
    margin: 0 auto;
}

.dc-learn-prose p {
    color: var(--primary-color);
    opacity: 0.82;
    font-size: 1.05rem;
    line-height: 1.8;
    margin: 0 0 20px 0;
}

.dc-learn-prose p:last-child {
    margin-bottom: 0;
}

/* ===== LEGAL PAGES (terms/privacy/cookies/refund/disclaimer) =====
   Plain, readable text pages — no new page template, just additive rules
   for headings/lists/links nested inside the existing .dc-learn-prose
   readable-width container. No page before this nested a heading or list
   inside .dc-learn-prose, so these rules can't affect anything already
   built. */
.dc-legal-updated {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-white);
    opacity: 0.7;
    letter-spacing: 0.02em;
    margin: 2px 0 16px;
}

.dc-learn-prose h2 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 40px 0 12px;
}

.dc-learn-prose h2:first-child {
    margin-top: 0;
}

.dc-learn-prose ul {
    margin: 0 0 20px 0;
    padding-left: 22px;
}

.dc-learn-prose li {
    color: var(--primary-color);
    opacity: 0.82;
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 8px;
}

.dc-learn-prose a {
    color: var(--accent-hover);
    font-weight: 600;
    text-decoration: none;
}

.dc-learn-prose a:hover {
    color: var(--accent-color);
    text-decoration: underline;
}

.dc-legal-contact-block {
    margin-top: 48px;
    padding: 28px 30px;
    background: rgba(0, 229, 255, 0.04);
    border: 1px solid rgba(11, 28, 45, 0.08);
    border-radius: 18px;
    text-align: center;
}

.dc-legal-contact-block h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0 0 16px;
}

.dc-legal-contact-block-actions {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}

.dc-learn-leads-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 26px;
}

/* ===== HUB GROUPS (modifier) — .dc-learn-hub-group / .dc-learn-leads-list.is-grid =====
   Used only on the "How Learning Works" hub page to group its 14 outbound
   links by category. .is-grid switches a leads-list from a single tall
   column to a wrapping grid, and .dc-learn-hub-group adds a small uppercase
   category label above it — both additive, the plain leads-list used
   everywhere else is untouched. */
.dc-learn-hub-group {
    margin-top: 30px;
}

.dc-learn-hub-group:first-of-type {
    margin-top: 26px;
}

.dc-learn-hub-group-label {
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--accent-hover);
    margin: 0 0 10px;
}

.dc-learn-leads-list.is-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 12px 24px;
    margin-top: 0;
}

/* ===== STEPPER SECTION (white wrapper reusing .dc-roadmap-card/-stages for a
   single premium syllabus card — course/tech Learn pages) ===== */
.dc-learn-stepper-section {
    width: 100%;
    background: #ffffff;
    padding: 90px 5%;
}

.dc-learn-stepper-section-inner {
    max-width: 880px;
    margin: 0 auto;
}

/* ===== ROADMAP LIST SECTION (off-white) ===== */
.dc-roadmap-section {
    width: 100%;
    background: #f8fafc;
    padding: 90px 5%;
}

.dc-roadmap-section-inner {
    max-width: 880px;
    margin: 0 auto;
}

.dc-roadmap-list {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.dc-roadmap-card {
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(11, 28, 45, 0.08);
    border-radius: 26px;
    padding: 36px 34px;
    box-shadow: 0 20px 45px -20px rgba(11, 28, 45, 0.12);
    transition: box-shadow 0.4s ease, border-color 0.4s ease, transform 0.4s ease;
    scroll-margin-top: 120px;
}

.dc-roadmap-card:hover {
    border-color: rgba(0, 229, 255, 0.4);
    box-shadow: 0 30px 60px -20px rgba(0, 229, 255, 0.2);
    transform: translateY(-4px);
}

.dc-roadmap-card-header {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    margin-bottom: 28px;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(11, 28, 45, 0.08);
}

.dc-roadmap-card-icon {
    width: 54px;
    height: 54px;
    min-width: 54px;
    border-radius: 16px;
    background: var(--gradient-primary);
    color: var(--accent-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    box-shadow: 0 10px 22px -6px rgba(11, 28, 45, 0.3);
}

.dc-roadmap-card-eyebrow {
    color: var(--accent-hover);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    margin-bottom: 4px;
}

.dc-roadmap-card-title {
    color: var(--primary-color);
    font-size: 1.4rem;
    font-weight: 800;
    margin: 0 0 6px 0;
}

.dc-roadmap-card-desc {
    color: var(--primary-color);
    opacity: 0.75;
    font-size: 0.98rem;
    line-height: 1.6;
    margin: 0;
}

.dc-roadmap-stages {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 26px;
}

.dc-roadmap-stages::before {
    content: '';
    position: absolute;
    left: 19px;
    top: 20px;
    bottom: 20px;
    width: 2px;
    background: linear-gradient(to bottom, rgba(0, 229, 255, 0.5), rgba(0, 229, 255, 0.05));
    z-index: 0;
}

.dc-roadmap-stage {
    position: relative;
    z-index: 1;
    display: flex;
    gap: 18px;
    align-items: flex-start;
}

.dc-roadmap-stage-num {
    width: 40px;
    height: 40px;
    min-width: 40px;
    border-radius: 50%;
    background: var(--gradient-accent);
    color: var(--primary-color);
    font-weight: 800;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 16px rgba(0, 229, 255, 0.35);
}

.dc-roadmap-stage-label {
    color: var(--accent-hover);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    margin-bottom: 2px;
}

.dc-roadmap-stage-name {
    color: var(--primary-color);
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.dc-roadmap-stage-detail {
    color: var(--primary-color);
    opacity: 0.72;
    font-size: 0.95rem;
    line-height: 1.55;
    margin: 0;
}

.dc-roadmap-outcome {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 30px;
    padding: 18px 22px;
    background: rgba(0, 229, 255, 0.07);
    border: 1px solid rgba(0, 229, 255, 0.25);
    border-radius: 16px;
}

.dc-roadmap-outcome i {
    color: var(--accent-hover);
    font-size: 18px;
}

.dc-roadmap-outcome p {
    margin: 0;
    color: var(--primary-color);
    font-size: 0.98rem;
    line-height: 1.5;
}

.dc-roadmap-outcome p strong {
    color: var(--accent-hover);
}

/* ===== CAREER PATH GRID (off-white) ===== */
.dc-career-grid-section {
    width: 100%;
    background: #f8fafc;
    padding: 90px 5%;
}

.dc-career-grid-section-inner {
    max-width: 1200px;
    margin: 0 auto;
}

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

.dc-career-path-card {
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(11, 28, 45, 0.08);
    border-radius: 24px;
    padding: 30px 26px;
    box-shadow: 0 16px 36px -16px rgba(11, 28, 45, 0.12);
    transition: transform 0.4s cubic-bezier(0.2, 0.9, 0.3, 1), box-shadow 0.4s ease, border-color 0.4s ease;
    transform-style: preserve-3d;
    will-change: transform;
    display: flex;
    flex-direction: column;
}

.dc-career-path-card:hover {
    border-color: rgba(0, 229, 255, 0.4);
    box-shadow: 0 28px 55px -16px rgba(0, 229, 255, 0.22);
}

.dc-career-path-card-icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    border-radius: 15px;
    background: var(--gradient-primary);
    color: var(--accent-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-bottom: 18px;
    box-shadow: 0 10px 22px -6px rgba(11, 28, 45, 0.3);
}

.dc-career-path-card-title {
    color: var(--primary-color);
    font-size: 1.2rem;
    font-weight: 800;
    margin: 0 0 8px 0;
}

.dc-career-path-card-tagline {
    color: var(--primary-color);
    opacity: 0.75;
    font-size: 0.95rem;
    line-height: 1.55;
    margin: 0 0 18px 0;
}

.dc-career-path-card-block {
    margin-bottom: 14px;
}

.dc-career-path-card-block-label {
    color: var(--accent-hover);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    margin-bottom: 5px;
}

.dc-career-path-card-block p {
    color: var(--primary-color);
    opacity: 0.8;
    font-size: 0.92rem;
    line-height: 1.5;
    margin: 0;
}

.dc-career-path-card-fit {
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px solid rgba(11, 28, 45, 0.08);
    color: var(--primary-color);
    opacity: 0.65;
    font-size: 0.88rem;
    font-style: italic;
    margin-bottom: 14px;
}

.dc-learn-card-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--accent-hover);
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none;
    transition: var(--transition-default);
}

.dc-learn-card-link:hover {
    color: var(--accent-color);
    gap: 12px;
}

/* ===== LEARN TRACKS GRID (off-white) — overview.html hub ===== */
.dc-learn-tracks-section {
    width: 100%;
    background: #f8fafc;
    padding: 90px 5%;
}

.dc-learn-tracks-section-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.dc-learn-tracks-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

.dc-learn-tracks-more-link {
    text-align: center;
    margin: 32px 0 0;
}

.dc-learn-track-card {
    position: relative;
    display: block;
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(11, 28, 45, 0.08);
    border-radius: 22px;
    padding: 28px 24px;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 16px 36px -16px rgba(11, 28, 45, 0.12);
    transition: transform 0.4s cubic-bezier(0.2, 0.9, 0.3, 1), box-shadow 0.4s ease, border-color 0.4s ease;
    transform-style: preserve-3d;
    will-change: transform;
}

.dc-learn-track-card:not(.dc-learn-track-card-soon):hover {
    border-color: rgba(0, 229, 255, 0.4);
    box-shadow: 0 28px 55px -16px rgba(0, 229, 255, 0.22);
}

.dc-learn-track-card-soon {
    opacity: 0.62;
    cursor: default;
}

.dc-learn-track-card-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 20px;
}

.dc-learn-track-card-badge.is-live {
    background: rgba(0, 229, 255, 0.15);
    color: var(--accent-hover);
    border: 1px solid rgba(0, 229, 255, 0.35);
}

.dc-learn-track-card-badge.is-soon {
    background: rgba(11, 28, 45, 0.06);
    color: var(--primary-color);
    opacity: 0.7;
    border: 1px solid rgba(11, 28, 45, 0.12);
}

.dc-learn-track-card-icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    border-radius: 15px;
    background: var(--gradient-primary);
    color: var(--accent-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-bottom: 16px;
    box-shadow: 0 10px 22px -6px rgba(11, 28, 45, 0.3);
}

.dc-learn-track-card-soon .dc-learn-track-card-icon {
    background: rgba(11, 28, 45, 0.08);
    color: rgba(11, 28, 45, 0.4);
    box-shadow: none;
}

.dc-learn-track-card h3 {
    color: var(--primary-color);
    font-size: 1.15rem;
    font-weight: 800;
    margin: 0 0 8px 0;
    padding-right: 64px;
}

.dc-learn-track-card p {
    color: var(--primary-color);
    opacity: 0.75;
    font-size: 0.92rem;
    line-height: 1.55;
    margin: 0;
}

/* ===== HOW WE HELP (white) ===== */
.dc-learn-support-section {
    width: 100%;
    background: #ffffff;
    padding: 90px 5%;
}

.dc-learn-support-section-inner {
    max-width: 1100px;
    margin: 0 auto;
}

.dc-learn-support-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 22px;
}

.dc-learn-support-item {
    text-align: center;
    background: rgba(0, 229, 255, 0.04);
    border: 1px solid rgba(11, 28, 45, 0.08);
    border-radius: 20px;
    padding: 30px 22px;
    transition: var(--transition-default);
}

.dc-learn-support-item:hover {
    border-color: rgba(0, 229, 255, 0.35);
    transform: translateY(-4px);
    box-shadow: 0 18px 36px -16px rgba(0, 229, 255, 0.2);
}

.dc-learn-support-item-icon {
    width: 54px;
    height: 54px;
    border-radius: 16px;
    background: var(--gradient-accent);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin: 0 auto 16px;
    box-shadow: 0 10px 22px rgba(0, 229, 255, 0.25);
}

.dc-learn-support-item-title {
    color: var(--primary-color);
    font-size: 1.05rem;
    font-weight: 700;
    margin: 0 0 8px 0;
}

.dc-learn-support-item p {
    color: var(--primary-color);
    opacity: 0.75;
    font-size: 0.92rem;
    line-height: 1.55;
    margin: 0;
}

/* Modifiers for reusing the support grid on off-white and navy backgrounds
   (course/tech Learn pages — "Foundations" and "How We Teach It" sections) */
.dc-learn-support-section.is-off-white {
    background: #f8fafc;
}

.dc-learn-support-section.is-navy {
    background: var(--gradient-primary);
}

.dc-learn-support-item.is-navy {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(0, 229, 255, 0.15);
}

.dc-learn-support-item.is-navy:hover {
    border-color: rgba(0, 229, 255, 0.4);
    box-shadow: 0 18px 36px -16px rgba(0, 229, 255, 0.3);
}

.dc-learn-support-item.is-navy .dc-learn-support-item-title {
    color: var(--text-white);
}

.dc-learn-support-item.is-navy p {
    color: var(--text-muted);
}

.dc-learn-testimonial {
    max-width: 720px;
    margin: 44px auto 0;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(0, 229, 255, 0.2);
    border-radius: 20px;
    padding: 32px 36px;
    text-align: center;
}

.dc-learn-testimonial-stars {
    color: var(--accent-color);
    font-size: 0.95rem;
    letter-spacing: 3px;
    margin-bottom: 14px;
}

.dc-learn-testimonial p {
    color: var(--text-white);
    font-size: 1.05rem;
    line-height: 1.7;
    font-style: italic;
    margin: 0 0 16px 0;
}

.dc-learn-testimonial-author {
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 600;
}

.dc-learn-testimonial-author span {
    color: var(--accent-hover);
}

/* ===== TRUST BADGE (navy sections) — Google rating link, reused across course pages ===== */
.dc-learn-trust-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    width: fit-content;
    margin: 44px auto 0;
    padding: 14px 28px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(0, 229, 255, 0.3);
    border-radius: 999px;
    color: var(--text-white);
    font-size: 0.95rem;
    font-weight: 700;
    text-decoration: none;
    transition: var(--transition-default);
}

.dc-learn-trust-badge i {
    color: var(--accent-color);
    font-size: 0.9rem;
}

.dc-learn-trust-badge:hover {
    border-color: rgba(0, 229, 255, 0.4);
    box-shadow: 0 18px 36px -16px rgba(0, 229, 255, 0.3);
    background: rgba(255, 255, 255, 0.09);
}

/* ===== "COMING SOON" CARD LINK (light sections) — reusable non-clickable
   variant of .dc-learn-card-link, for forward-referencing an unbuilt page
   inside a leads-list without shipping a dead link ===== */
.dc-learn-card-link-soon {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-color);
    opacity: 0.55;
    font-size: 0.9rem;
    font-weight: 700;
    cursor: default;
}

.dc-learn-card-link-soon-badge {
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background: rgba(11, 28, 45, 0.06);
    color: var(--primary-color);
    padding: 2px 9px;
    border-radius: 999px;
}

/* ===== AI THEME (reusable skin) — .dc-learn-theme-ai =====
   Cyan-only accent skin for AI-flavored Learn pages (AI for Developers,
   Prompt Engineering) and reused as-is by the Creative & Marketing group
   (Digital Marketing). Applied on <body>. Visual only — every rule here
   overrides an existing base component's color/glow; it adds no layout,
   spacing or structural change, so tag-count parity with the template
   stays intact. Site-wide, there is exactly one accent hue (cyan #00E5FF);
   this theme reads as distinct through motion and glow intensity, never
   through a second color. */
.dc-learn-theme-ai {
    --ai-gradient-accent: var(--gradient-accent);
}

.dc-learn-theme-ai .dc-learn-hero::before {
    background: radial-gradient(circle, rgba(0, 229, 255, 0.2) 0%, transparent 55%) 12% 22% / 60% 60% no-repeat,
        radial-gradient(circle, rgba(0, 229, 255, 0.12) 0%, transparent 55%) 88% 78% / 60% 60% no-repeat;
    animation: dc-ai-glow-drift 16s ease-in-out infinite alternate;
    /* Own compositor layer, so the animated background never risks
       interfering with the sibling h1's background-clip:text paint. */
    will-change: background-position;
}

@keyframes dc-ai-glow-drift {
    0%   { background-position: 12% 22%, 88% 78%; }
    100% { background-position: 20% 30%, 80% 70%; }
}

@media (prefers-reduced-motion: reduce) {
    .dc-learn-theme-ai .dc-learn-hero::before {
        animation: none;
    }
}

@supports (background-clip: text) or (-webkit-background-clip: text) {
    /* background-image, not the `background` shorthand: the shorthand
       resets background-clip to its initial border-box value on any
       sub-property it doesn't restate, which silently undid the base
       rule's `background-clip: text` and left a solid gradient BOX with
       invisible text stacked on top of it instead of gradient-filled
       letters. */
    .dc-learn-theme-ai .dc-learn-hero-accent {
        background-image: var(--ai-gradient-accent);
        text-shadow: 0 2px 28px rgba(0, 229, 255, 0.35);
    }
}

.dc-learn-theme-ai .dc-roadmap-stage-num {
    background: var(--ai-gradient-accent);
    box-shadow: 0 0 0 4px rgba(0, 229, 255, 0.18);
}

.dc-learn-theme-ai .dc-roadmap-card-icon,
.dc-learn-theme-ai .dc-learn-intro-point-icon,
.dc-learn-theme-ai .dc-learn-support-item-icon {
    background: var(--ai-gradient-accent);
    box-shadow: 0 10px 24px rgba(0, 229, 255, 0.32);
}

.dc-learn-theme-ai .dc-learn-btn-primary {
    background: var(--ai-gradient-accent);
    color: var(--primary-color);
}

.dc-learn-theme-ai .dc-learn-btn-primary:hover {
    box-shadow: 0 12px 26px rgba(0, 229, 255, 0.4);
}

.dc-learn-theme-ai .dc-roadmap-card:hover {
    border-color: rgba(0, 229, 255, 0.4);
    box-shadow: 0 30px 60px -20px rgba(0, 229, 255, 0.3), 0 16px 32px -18px rgba(0, 229, 255, 0.16);
}

.dc-learn-theme-ai .dc-learn-support-item:hover {
    border-color: rgba(0, 229, 255, 0.45);
    box-shadow: 0 20px 42px -16px rgba(0, 229, 255, 0.32), 0 10px 24px -12px rgba(0, 229, 255, 0.18);
}

.dc-learn-theme-ai .dc-learn-support-item.is-navy:hover {
    border-color: rgba(0, 229, 255, 0.55);
    box-shadow: 0 20px 42px -16px rgba(0, 229, 255, 0.4), 0 10px 24px -12px rgba(0, 229, 255, 0.22);
}

.dc-learn-theme-ai .dc-learn-trust-badge:hover {
    border-color: rgba(0, 229, 255, 0.5);
    box-shadow: 0 18px 36px -16px rgba(0, 229, 255, 0.35);
}

.dc-learn-theme-ai .dc-learn-trust-badge i {
    background: var(--ai-gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===== HERO WITH SIDE VISUAL (reusable) — .dc-learn-hero-has-visual =====
   Two-column hero variant: copy left, animated visual right. Falls back to
   the standard single-column centered hero on narrow screens (text first,
   visual second — reading order, not decoration first). Colors here follow
   whichever theme is active on <body> (falls back to the base site accent
   when no theme is applied), so this stays reusable across palettes. */
.dc-learn-hero-has-visual .dc-learn-hero-columns {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 48px;
    align-items: center;
    max-width: 1180px;
    margin: 0 auto;
}

.dc-learn-hero-has-visual .dc-learn-hero-inner {
    max-width: none;
    margin: 0;
    text-align: left;
}

.dc-learn-hero-has-visual .dc-learn-hero-breadcrumb,
.dc-learn-hero-has-visual .dc-learn-hero-pills,
.dc-learn-hero-has-visual .dc-learn-hero-ctas {
    justify-content: flex-start;
}

.dc-learn-hero-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 280px;
}

.dc-learn-growth-chart {
    width: 100%;
    max-width: 300px;
    height: auto;
    overflow: visible;
    filter: drop-shadow(0 18px 30px rgba(3, 8, 20, 0.4));
}

.dc-learn-growth-chart .dc-gc-bar {
    transform-box: fill-box;
    transform-origin: bottom;
    transform: scaleY(0);
    animation: dc-gc-bar-grow 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.dc-learn-growth-chart .dc-gc-bar:nth-of-type(1) { animation-delay: 0.1s; }
.dc-learn-growth-chart .dc-gc-bar:nth-of-type(2) { animation-delay: 0.24s; }
.dc-learn-growth-chart .dc-gc-bar:nth-of-type(3) { animation-delay: 0.38s; }
.dc-learn-growth-chart .dc-gc-bar:nth-of-type(4) { animation-delay: 0.52s; }
.dc-learn-growth-chart .dc-gc-bar:nth-of-type(5) { animation-delay: 0.66s; }

.dc-learn-growth-chart .dc-gc-line {
    stroke-dasharray: 420;
    stroke-dashoffset: 420;
    animation: dc-gc-line-draw 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: 0.3s;
    filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.55));
}

.dc-learn-growth-chart .dc-gc-endpoint {
    opacity: 0;
    transform: scale(0.4);
    transform-box: fill-box;
    transform-origin: center;
    animation: dc-gc-endpoint-in 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards, dc-gc-endpoint-pulse 2.6s ease-in-out infinite;
    animation-delay: 1.4s, 1.9s;
    filter: drop-shadow(0 0 6px rgba(0, 229, 255, 0.95)) drop-shadow(0 0 16px rgba(0, 229, 255, 0.5));
}

@keyframes dc-gc-bar-grow { to { transform: scaleY(1); } }
@keyframes dc-gc-line-draw { to { stroke-dashoffset: 0; } }
@keyframes dc-gc-endpoint-in { to { opacity: 1; transform: scale(1); } }
@keyframes dc-gc-endpoint-pulse {
    0%, 100% { filter: drop-shadow(0 0 6px rgba(0, 229, 255, 0.95)) drop-shadow(0 0 16px rgba(0, 229, 255, 0.5)); }
    50%      { filter: drop-shadow(0 0 11px rgba(0, 229, 255, 1)) drop-shadow(0 0 24px rgba(0, 229, 255, 0.85)); }
}

@media (prefers-reduced-motion: reduce) {
    .dc-learn-growth-chart .dc-gc-bar { animation: none; transform: scaleY(1); }
    .dc-learn-growth-chart .dc-gc-line { animation: none; stroke-dashoffset: 0; }
    .dc-learn-growth-chart .dc-gc-endpoint { animation: none; opacity: 1; transform: scale(1); }
}

.dc-learn-channel-chips {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.dc-learn-channel-chip {
    position: absolute;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 999px;
    backdrop-filter: blur(6px);
    color: var(--text-white);
    font-size: 0.78rem;
    font-weight: 700;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
    animation: dc-chip-float 6s ease-in-out infinite;
    animation-delay: calc(var(--i, 0) * 0.6s);
}

.dc-learn-channel-chip i {
    color: var(--accent-color);
    font-size: 0.85rem;
}

.dc-learn-channel-chip:nth-child(1) { top: 2%;    left: 0%; }
.dc-learn-channel-chip:nth-child(2) { top: 20%;   right: -2%; }
.dc-learn-channel-chip:nth-child(3) { top: 50%;   left: -6%; }
.dc-learn-channel-chip:nth-child(4) { bottom: 16%; right: 4%; }
.dc-learn-channel-chip:nth-child(5) { bottom: -4%; left: 18%; }

@keyframes dc-chip-float {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-10px); }
}

@media (prefers-reduced-motion: reduce) {
    .dc-learn-channel-chip { animation: none; }
}

@media (max-width: 900px) {
    .dc-learn-hero-has-visual .dc-learn-hero-columns {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    .dc-learn-hero-has-visual .dc-learn-hero-inner {
        text-align: center;
    }
    .dc-learn-hero-has-visual .dc-learn-hero-breadcrumb,
    .dc-learn-hero-has-visual .dc-learn-hero-pills,
    .dc-learn-hero-has-visual .dc-learn-hero-ctas {
        justify-content: center;
    }
    .dc-learn-hero-visual {
        min-height: 200px;
        /* No `order` override: .dc-learn-hero-inner is first in the DOM,
           so text reads before the chart once the grid collapses to a
           single column — content before decoration on small screens. */
    }
    /* Floating chips would overlap the stacked, centered mobile hero —
       hidden rather than repositioned, keeping mobile clean and light. */
    .dc-learn-channel-chips {
        display: none;
    }
}

/* ===== 3D TILT-CARD GRID (reusable) — .dc-learn-tilt-card-grid =====
   A more playful alternative to the coding pages' linear stepper, for
   "what you'll master" style skill grids. Stronger tilt + glow than the
   base .dc-career-path-card, on purpose — Design/SEO/Video reuse this.
   Uses the AI theme's cyan gradient when that theme is active on <body>,
   falling back to the base site gradient otherwise — this stays a
   reusable structural component, not tied to one specific theme. */
.dc-learn-tilt-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

.dc-learn-tilt-card {
    background: rgba(0, 229, 255, 0.04);
    border: 1px solid rgba(11, 28, 45, 0.08);
    border-radius: 22px;
    padding: 32px 26px;
    transition: transform 0.15s ease, box-shadow 0.4s ease, border-color 0.4s ease;
}

.dc-learn-tilt-card-icon {
    width: 58px;
    height: 58px;
    border-radius: 16px;
    background: var(--ai-gradient-accent, var(--gradient-accent));
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin-bottom: 18px;
    box-shadow: 0 10px 22px rgba(0, 229, 255, 0.32);
}

.dc-learn-tilt-card-title {
    color: var(--primary-color);
    font-size: 1.1rem;
    font-weight: 800;
    margin: 0 0 8px 0;
}

.dc-learn-tilt-card p {
    color: var(--primary-color);
    opacity: 0.75;
    font-size: 0.94rem;
    line-height: 1.55;
    margin: 0;
}

.dc-learn-tilt-card:hover {
    border-color: rgba(0, 229, 255, 0.45);
    box-shadow: 0 26px 50px -18px rgba(0, 229, 255, 0.32), 0 14px 28px -14px rgba(0, 229, 255, 0.2);
}

/* ===== PORTFOLIO GRID (reusable) — .dc-learn-portfolio-grid =====
   "What you'll create/build" output-focused grid — smaller, calmer than
   the tilt cards, for showcasing deliverables rather than skills. */
.dc-learn-portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.dc-learn-portfolio-item {
    text-align: center;
    background: #ffffff;
    border: 1px solid rgba(11, 28, 45, 0.08);
    border-radius: 18px;
    padding: 26px 20px;
    box-shadow: 0 14px 30px -18px rgba(11, 28, 45, 0.12);
}

.dc-learn-portfolio-item-icon {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    background: var(--ai-gradient-accent, var(--gradient-accent));
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 19px;
    margin: 0 auto 14px;
}

.dc-learn-portfolio-item-title {
    color: var(--primary-color);
    font-size: 1rem;
    font-weight: 800;
    margin: 0 0 6px 0;
}

.dc-learn-portfolio-item p {
    color: var(--primary-color);
    opacity: 0.72;
    font-size: 0.88rem;
    line-height: 1.5;
    margin: 0;
}

/* ===== ANIMATED FUNNEL (reusable) — .dc-learn-funnel =====
   Fills in on scroll via the existing .dc-scroll-reveal observer (adds
   .is-visible — no new JS needed for the fill itself). Bar widths are a
   generic, illustrative funnel taper (top wide, bottom narrow) — not a
   statistic, and no invented company numbers. Stage numbers (1-4) count
   up via a small dedicated script, purely as an ordinal, not a metric. */
.dc-learn-funnel-section {
    width: 100%;
    background: #ffffff;
    padding: 90px 5%;
}

.dc-learn-funnel-section-inner {
    max-width: 760px;
    margin: 0 auto;
}

.dc-learn-funnel {
    display: flex;
    flex-direction: column;
    gap: 22px;
    margin-top: 30px;
}

.dc-learn-funnel-stage {
    display: flex;
    align-items: center;
    gap: 20px;
}

.dc-learn-funnel-num {
    width: 44px;
    height: 44px;
    min-width: 44px;
    border-radius: 50%;
    background: var(--ai-gradient-accent, var(--gradient-accent));
    color: #ffffff;
    font-weight: 800;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 18px rgba(0, 229, 255, 0.35);
}

.dc-learn-funnel-bar-track {
    flex: 1;
    max-width: 220px;
}

.dc-learn-funnel-bar {
    height: 40px;
    width: 0%;
    border-radius: 10px;
    background: var(--ai-gradient-accent, var(--gradient-accent));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 1rem;
    transition: width 1.1s cubic-bezier(0.16, 1, 0.3, 1);
}

.dc-learn-funnel-stage:nth-of-type(1).is-visible .dc-learn-funnel-bar { width: 100%; }
.dc-learn-funnel-stage:nth-of-type(2).is-visible .dc-learn-funnel-bar { width: 78%; }
.dc-learn-funnel-stage:nth-of-type(3).is-visible .dc-learn-funnel-bar { width: 54%; }
.dc-learn-funnel-stage:nth-of-type(4).is-visible .dc-learn-funnel-bar { width: 32%; }

.dc-learn-funnel-body {
    text-align: left;
}

.dc-learn-funnel-name {
    color: var(--primary-color);
    font-weight: 800;
    font-size: 1.05rem;
    margin: 0 0 4px 0;
}

.dc-learn-funnel-detail {
    color: var(--primary-color);
    opacity: 0.72;
    font-size: 0.88rem;
    margin: 0;
}

@media (prefers-reduced-motion: reduce) {
    .dc-learn-funnel-bar { transition: none; }
}

@media (max-width: 768px) {
    /* Below tablet width, num + bar no longer leave enough room for the
       stage name/detail text in a single row (44px circle + up to 220px
       bar left as little as ~100px for two lines of copy). Wrap the row
       and force the body onto its own full-width line instead of letting
       it get crushed into a sliver next to the bar. */
    .dc-learn-funnel-stage {
        flex-wrap: wrap;
        row-gap: 10px;
    }
    .dc-learn-funnel-bar-track {
        max-width: none;
    }
    .dc-learn-funnel-body {
        flex: 1 1 100%;
        margin-left: calc(44px + 20px);
    }
}

@media (max-width: 480px) {
    .dc-learn-funnel-num {
        width: 36px;
        height: 36px;
        min-width: 36px;
        font-size: 0.95rem;
    }
    .dc-learn-funnel-bar {
        height: 34px;
    }
    .dc-learn-funnel-body {
        margin-left: calc(36px + 14px);
    }
    .dc-learn-funnel-stage {
        gap: 14px;
    }
}

/* ===== SERP RANKING-CLIMB (page-specific) — .dc-seo-serp-climb =====
   Hero visual built ONLY for /learn/seo — not a shared reusable component,
   scoped entirely under this prefix so it cannot affect any other page.
   A generic, stylized search-results mockup (search bar + 4 static result
   rows + one highlighted "Your Site" row) where the highlighted row climbs
   from position 5 to position 1 on load, its rank badge counting down
   5->4->3->2->1 via a pure-CSS cross-fade sequence (no JS). Lands with a
   glow pulse, an arrow, and a few looping "traffic" particles. Cyan+navy
   only — the URL line uses a muted cyan instead of Google's real green,
   deliberately, to stay on the site's single accent hue. Generic content
   only: no real brand names, no invented metrics. */
.dc-seo-serp-climb {
    --dc-serp-step: 58px;
    --dc-serp-row-h: 50px;
    position: relative;
    width: 100%;
    max-width: 320px;
}

.dc-seo-searchbar {
    display: flex;
    align-items: center;
    gap: 8px;
    height: 34px;
    padding: 0 14px;
    margin-bottom: 14px;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 999px;
}

.dc-seo-searchbar-icon {
    position: relative;
    width: 11px;
    height: 11px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    flex-shrink: 0;
}

.dc-seo-searchbar-icon::after {
    content: "";
    position: absolute;
    width: 6px;
    height: 2px;
    background: rgba(255, 255, 255, 0.5);
    bottom: -4px;
    right: -4px;
    transform: rotate(45deg);
    border-radius: 1px;
}

.dc-seo-searchbar-text {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.75);
}

.dc-seo-cursor {
    display: inline-block;
    width: 2px;
    height: 0.95em;
    background: var(--accent-color);
    margin-left: 2px;
    vertical-align: middle;
    animation: dc-seo-cursor-blink 1s steps(1) infinite;
}

@keyframes dc-seo-cursor-blink {
    50% { opacity: 0; }
}

.dc-seo-serp-list {
    position: relative;
    height: calc(var(--dc-serp-step) * 4 + var(--dc-serp-row-h));
}

.dc-seo-serp-row {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(var(--dc-serp-step) * var(--r));
    height: var(--dc-serp-row-h);
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 14px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
}

.dc-seo-serp-rank {
    font-weight: 800;
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.4);
    width: 14px;
    text-align: center;
    flex-shrink: 0;
}

.dc-seo-serp-lines {
    display: flex;
    flex-direction: column;
    gap: 5px;
    flex: 1;
    min-width: 0;
}

.dc-seo-serp-line {
    height: 6px;
    border-radius: 3px;
}

.dc-seo-serp-line-title {
    height: 7px;
    width: 68%;
    background: rgba(255, 255, 255, 0.3);
}

.dc-seo-serp-line-url {
    width: 36%;
    background: rgba(0, 229, 255, 0.4);
}

.dc-seo-serp-line-desc {
    width: 82%;
    background: rgba(255, 255, 255, 0.14);
}

/* ----- the highlighted "Your Site" row: starts at rank 5, climbs to rank 1 ----- */
.dc-seo-serp-you {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(var(--dc-serp-step) * 4);
    height: var(--dc-serp-row-h);
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 14px;
    background: var(--gradient-accent);
    border-radius: 10px;
    box-shadow: 0 10px 22px -10px rgba(0, 229, 255, 0.4);
    z-index: 2;
    animation: dc-seo-climb 2.2s cubic-bezier(0.2, 0.7, 0.2, 1) forwards,
               dc-seo-glow-settle 0.6s ease forwards;
    animation-delay: 0.3s, 2.5s;
}

.dc-seo-serp-you-badge {
    position: relative;
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.dc-seo-serp-you-num {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.8rem;
    color: var(--primary-color);
    opacity: 0;
    animation: dc-seo-num-blip 0.44s ease forwards;
    animation-delay: calc(0.3s + var(--n) * 0.44s);
}

.dc-seo-serp-you-num:last-child {
    animation-name: dc-seo-num-blip-final;
}

@keyframes dc-seo-num-blip {
    0%, 100% { opacity: 0; }
    15%, 78% { opacity: 1; }
}

@keyframes dc-seo-num-blip-final {
    0%   { opacity: 0; }
    15%  { opacity: 1; }
    100% { opacity: 1; }
}

.dc-seo-serp-you .dc-seo-serp-lines {
    gap: 4px;
}

.dc-seo-serp-you-title {
    background: rgba(11, 28, 45, 0.4) !important;
}

.dc-seo-serp-you-label {
    display: inline-block;
    width: fit-content;
    font-size: 0.6rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--primary-color);
    background: rgba(255, 255, 255, 0.4);
    padding: 1px 7px;
    border-radius: 999px;
}

.dc-seo-serp-you-url {
    background: rgba(11, 28, 45, 0.32) !important;
}

.dc-seo-serp-you .dc-seo-serp-line-desc {
    background: rgba(11, 28, 45, 0.2);
}

.dc-seo-serp-you-arrow {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%) scale(0.5);
    font-size: 0.7rem;
    color: var(--primary-color);
    opacity: 0;
    animation: dc-seo-arrow-in 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
    animation-delay: 2.4s;
}

@keyframes dc-seo-arrow-in {
    to { opacity: 0.75; transform: translateY(-50%) scale(1); }
}

.dc-seo-particle {
    position: absolute;
    right: calc(14px + var(--p) * 10px);
    bottom: 6px;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--accent-color);
    opacity: 0;
    animation: dc-seo-particle-rise 2.4s ease-in infinite;
    animation-delay: calc(2.6s + var(--p) * 0.4s);
}

@keyframes dc-seo-particle-rise {
    0%   { opacity: 0; transform: translateY(0); }
    15%  { opacity: 0.8; }
    100% { opacity: 0; transform: translateY(-34px); }
}

@keyframes dc-seo-climb {
    0%   { top: calc(var(--dc-serp-step) * 4); }
    100% { top: 0; }
}

@keyframes dc-seo-glow-settle {
    0%   { box-shadow: 0 10px 22px -10px rgba(0, 229, 255, 0.4); }
    100% { box-shadow: 0 16px 34px -10px rgba(0, 229, 255, 0.65); }
}

@media (prefers-reduced-motion: reduce) {
    .dc-seo-cursor {
        animation: none;
    }
    .dc-seo-serp-you {
        animation: none;
        top: 0;
        box-shadow: 0 16px 34px -10px rgba(0, 229, 255, 0.65);
    }
    .dc-seo-serp-you-num {
        animation: none;
        opacity: 0;
    }
    .dc-seo-serp-you-num:last-child {
        opacity: 1;
    }
    .dc-seo-serp-you-arrow {
        animation: none;
        opacity: 0.75;
        transform: translateY(-50%) scale(1);
    }
    .dc-seo-particle {
        display: none;
    }
}

@media (max-width: 900px) {
    .dc-seo-serp-climb {
        max-width: 280px;
        --dc-serp-step: 50px;
        --dc-serp-row-h: 44px;
    }
    .dc-seo-serp-line-desc {
        width: 70%;
    }
}

@media (max-width: 480px) {
    .dc-seo-serp-climb {
        max-width: 250px;
        --dc-serp-step: 42px;
        --dc-serp-row-h: 38px;
    }
    .dc-seo-searchbar {
        height: 30px;
        margin-bottom: 10px;
    }
    .dc-seo-searchbar-text {
        font-size: 0.74rem;
    }
    .dc-seo-serp-line-desc {
        display: none;
    }
    .dc-seo-serp-you-label {
        font-size: 0.56rem;
    }
}

/* ===== DESIGN CANVAS (page-specific) — .dc-gd-canvas =====
   Hero visual built ONLY for /learn/graphic-design — scoped entirely under
   this prefix so it cannot affect any other page. A stylized artboard
   where a shape, a text layer and a color swatch assemble themselves on
   load, with alignment guides flashing to sell the "design coming
   together" feel. Generic placeholder shapes only — no copyrighted work,
   no real brand logos. Cyan+navy only; the whole composition is scaled
   as one unit at each breakpoint via transform:scale(), so no per-element
   position math has to be duplicated for mobile/tablet. */
.dc-gd-scene {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}

.dc-gd-canvas-wrap {
    width: 100%;
    max-width: 280px;
    height: 190px;
    display: flex;
    justify-content: center;
}

.dc-gd-canvas {
    position: relative;
    width: 280px;
    height: 190px;
    flex-shrink: 0;
    transform-origin: top center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 16px;
    box-shadow: 0 20px 44px -18px rgba(0, 0, 0, 0.4);
    overflow: hidden;
}

.dc-gd-guide {
    position: absolute;
    opacity: 0;
    animation: dc-gd-guide-flash 2.4s ease forwards;
}

.dc-gd-guide-h {
    left: 0;
    right: 0;
    top: 78px;
    height: 1px;
    background: repeating-linear-gradient(to right, rgba(0, 229, 255, 0.55) 0 4px, transparent 4px 8px);
}

.dc-gd-guide-v {
    top: 0;
    bottom: 0;
    left: 78px;
    width: 1px;
    background: repeating-linear-gradient(to bottom, rgba(0, 229, 255, 0.55) 0 4px, transparent 4px 8px);
}

@keyframes dc-gd-guide-flash {
    0%, 100% { opacity: 0; }
    8%, 16%  { opacity: 0.8; }
    62%, 70% { opacity: 0.8; }
}

.dc-gd-shape {
    position: absolute;
    top: 20px;
    left: 20px;
    width: 54px;
    height: 54px;
    border-radius: 14px;
    background: var(--gradient-accent);
    box-shadow: 0 10px 24px -8px rgba(0, 229, 255, 0.4);
    transform: scale(0);
    animation: dc-gd-shape-in 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards,
               dc-gd-shape-pulse 2.6s ease-in-out infinite;
    animation-delay: 0.25s, 2.1s;
}

@keyframes dc-gd-shape-in { to { transform: scale(1); } }
@keyframes dc-gd-shape-pulse {
    0%, 100% { box-shadow: 0 10px 24px -8px rgba(0, 229, 255, 0.4); }
    50%      { box-shadow: 0 14px 30px -8px rgba(0, 229, 255, 0.6); }
}

.dc-gd-text-layer {
    position: absolute;
    top: 30px;
    left: 92px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 7px;
    opacity: 0;
    transform: translateX(-16px);
    animation: dc-gd-text-in 0.6s cubic-bezier(0.2, 0.7, 0.2, 1) forwards;
    animation-delay: 0.85s;
}

.dc-gd-text-bar {
    height: 8px;
    border-radius: 4px;
    width: 100%;
    background: rgba(255, 255, 255, 0.28);
}

.dc-gd-text-bar-2 {
    width: 65%;
    height: 6px;
    background: rgba(255, 255, 255, 0.16);
}

@keyframes dc-gd-text-in { to { opacity: 1; transform: translateX(0); } }

.dc-gd-swatch {
    position: absolute;
    bottom: 18px;
    right: 18px;
    width: 38px;
    height: 38px;
    border-radius: 9px;
    border: 1.5px solid rgba(255, 255, 255, 0.3);
    background: var(--gradient-accent);
    clip-path: inset(100% 0 0 0);
    animation: dc-gd-swatch-fill 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) forwards;
    animation-delay: 1.35s;
}

@keyframes dc-gd-swatch-fill { to { clip-path: inset(0 0 0 0); } }

.dc-gd-swatch-row {
    display: flex;
    gap: 8px;
}

.dc-gd-swatch-chip {
    width: 22px;
    height: 22px;
    border-radius: 6px;
    animation: dc-gd-chip-shift 3.6s ease-in-out infinite;
    animation-delay: calc(var(--s) * 0.3s);
}

.dc-gd-swatch-chip:nth-child(1) { background: #00e5ff; }
.dc-gd-swatch-chip:nth-child(2) { background: #00b8d4; }
.dc-gd-swatch-chip:nth-child(3) { background: rgba(255, 255, 255, 0.7); }
.dc-gd-swatch-chip:nth-child(4) { background: rgba(255, 255, 255, 0.35); }
.dc-gd-swatch-chip:nth-child(5) { background: var(--primary-light); }

@keyframes dc-gd-chip-shift {
    0%, 100% { transform: scale(1); filter: brightness(1); }
    50%      { transform: scale(1.08); filter: brightness(1.2); }
}

@media (prefers-reduced-motion: reduce) {
    .dc-gd-guide { animation: none; opacity: 0; }
    .dc-gd-shape { animation: none; transform: scale(1); }
    .dc-gd-text-layer { animation: none; opacity: 1; transform: translateX(0); }
    .dc-gd-swatch { animation: none; clip-path: inset(0 0 0 0); }
    .dc-gd-swatch-chip { animation: none; }
}

@media (max-width: 900px) {
    .dc-gd-canvas-wrap {
        max-width: 240px;
        height: 163px;
    }
    .dc-gd-canvas {
        transform: scale(0.857);
    }
    .dc-gd-swatch-chip {
        width: 19px;
        height: 19px;
    }
}

@media (max-width: 480px) {
    .dc-gd-canvas-wrap {
        max-width: 210px;
        height: 143px;
    }
    .dc-gd-canvas {
        transform: scale(0.75);
    }
    .dc-gd-swatch-chip {
        width: 16px;
        height: 16px;
    }
    .dc-gd-swatch-row {
        gap: 6px;
    }
}

/* ===== EDITOR TIMELINE (page-specific) — .dc-ve-scene =====
   Hero visual built ONLY for /learn/video-editing — scoped entirely under
   this prefix so it cannot affect any other page. A stylized preview
   monitor sits above a two-track timeline; a playhead sweeps across on
   loop, and as it passes a cut mark and a transition block appear on the
   video track while the audio track's waveform animates continuously.
   Styled placeholders only — no real footage, no brand names. Cyan+navy
   only; the whole composition is scaled as one unit per breakpoint via
   transform:scale(), the same technique proven on SEO and Graphic Design. */
.dc-ve-scene {
    display: flex;
    justify-content: center;
    width: 100%;
}

.dc-ve-editor-wrap {
    width: 100%;
    max-width: 280px;
    height: 190px;
    display: flex;
    justify-content: center;
}

.dc-ve-editor {
    position: relative;
    width: 280px;
    height: 190px;
    flex-shrink: 0;
    transform-origin: top center;
}

.dc-ve-monitor {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 92px;
    border-radius: 14px 14px 6px 6px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.14);
    overflow: hidden;
    animation: dc-ve-monitor-glow 3s ease-in-out infinite;
}

@keyframes dc-ve-monitor-glow {
    0%, 100% { box-shadow: 0 14px 30px -12px rgba(0, 229, 255, 0.35); }
    50%      { box-shadow: 0 18px 38px -12px rgba(0, 229, 255, 0.55); }
}

.dc-ve-monitor-scanline {
    position: absolute;
    left: 0;
    right: 0;
    top: -30%;
    height: 30%;
    background: linear-gradient(to bottom, transparent, rgba(0, 229, 255, 0.22), transparent);
    animation: dc-ve-scanline-sweep 3.4s linear infinite;
}

@keyframes dc-ve-scanline-sweep {
    0%   { transform: translateY(0); }
    100% { transform: translateY(400%); }
}

.dc-ve-play-triangle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-42%, -50%);
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 12px 0 12px 18px;
    border-color: transparent transparent transparent rgba(255, 255, 255, 0.55);
}

.dc-ve-tracks {
    position: absolute;
    top: 102px;
    left: 0;
    right: 0;
    height: 58px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.dc-ve-track {
    position: relative;
    height: 26px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
}

.dc-ve-track-video .dc-ve-clip {
    position: absolute;
    top: 4px;
    bottom: 4px;
    border-radius: 4px;
    background: rgba(0, 229, 255, 0.22);
    border: 1px solid rgba(0, 229, 255, 0.35);
}

.dc-ve-clip-a { left: 6px; width: 92px; }
.dc-ve-clip-b { left: 184px; right: 6px; }

.dc-ve-cut-line {
    position: absolute;
    top: 3px;
    bottom: 3px;
    left: 98px;
    width: 2px;
    background: var(--primary-light);
    box-shadow: 0 0 6px rgba(0, 229, 255, 0.8);
    opacity: 0;
    transform: scaleY(0.3);
    animation: dc-ve-cut-appear 6s ease-in-out infinite;
}

@keyframes dc-ve-cut-appear {
    0%, 35% { opacity: 0; transform: scaleY(0.3); }
    40%     { opacity: 1; transform: scaleY(1); }
    100%    { opacity: 1; transform: scaleY(1); }
}

.dc-ve-transition-block {
    position: absolute;
    top: 4px;
    bottom: 4px;
    left: 106px;
    width: 70px;
    border-radius: 4px;
    background: linear-gradient(90deg, rgba(0, 229, 255, 0.35), rgba(0, 229, 255, 0.08));
    border: 1px solid rgba(0, 229, 255, 0.4);
    opacity: 0;
    transform: scale(0.85);
    animation: dc-ve-transition-appear 6s ease-in-out infinite;
}

@keyframes dc-ve-transition-appear {
    0%, 63% { opacity: 0; transform: scale(0.85); }
    68%     { opacity: 1; transform: scale(1); }
    100%    { opacity: 1; transform: scale(1); }
}

.dc-ve-track-audio {
    display: flex;
    align-items: center;
    gap: 3px;
    padding: 0 6px;
}

.dc-ve-wave-bar {
    flex: 1;
    height: 60%;
    border-radius: 2px;
    background: rgba(0, 229, 255, 0.5);
    transform-origin: center;
    animation: dc-ve-wave-bounce 1.1s ease-in-out infinite;
    animation-delay: calc(var(--n) * 0.08s);
}

@keyframes dc-ve-wave-bounce {
    0%, 100% { transform: scaleY(0.35); }
    50%      { transform: scaleY(1); }
}

.dc-ve-playhead {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 2px;
    background: var(--primary-light);
    box-shadow: 0 0 8px rgba(0, 229, 255, 0.9);
    animation: dc-ve-playhead-sweep 6s linear infinite;
}

.dc-ve-playhead::before {
    content: "";
    position: absolute;
    top: -3px;
    left: 50%;
    transform: translateX(-50%);
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--primary-light);
    box-shadow: 0 0 8px rgba(0, 229, 255, 0.9);
}

@keyframes dc-ve-playhead-sweep {
    0%   { transform: translateX(0);      opacity: 0; }
    4%   { opacity: 1; }
    96%  { opacity: 1; }
    100% { transform: translateX(252px);  opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
    .dc-ve-monitor { animation: none; }
    .dc-ve-monitor-scanline { animation: none; opacity: 0; }
    .dc-ve-cut-line { animation: none; opacity: 1; transform: scaleY(1); }
    .dc-ve-transition-block { animation: none; opacity: 1; transform: scale(1); }
    .dc-ve-wave-bar { animation: none; transform: scaleY(0.6); }
    .dc-ve-playhead { animation: none; opacity: 0; }
}

@media (max-width: 900px) {
    .dc-ve-editor-wrap {
        max-width: 240px;
        height: 163px;
    }
    .dc-ve-editor {
        transform: scale(0.857);
    }
}

@media (max-width: 480px) {
    .dc-ve-editor-wrap {
        max-width: 210px;
        height: 143px;
    }
    .dc-ve-editor {
        transform: scale(0.75);
    }
}

/* ===== FEATURED PORTFOLIO (modifier) — .dc-learn-portfolio-grid.is-featured =====
   Same base component every course page uses, sized up for a visual field
   where the output matters more — bigger cards, bigger icons. Additive
   only; the base .dc-learn-portfolio-grid used elsewhere is untouched. */
.dc-learn-portfolio-grid.is-featured {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 26px;
}

.dc-learn-portfolio-grid.is-featured .dc-learn-portfolio-item {
    padding: 34px 26px;
}

.dc-learn-portfolio-grid.is-featured .dc-learn-portfolio-item-icon {
    width: 58px;
    height: 58px;
    font-size: 24px;
}

.dc-learn-portfolio-grid.is-featured .dc-learn-portfolio-item-title {
    font-size: 1.1rem;
}

.dc-learn-portfolio-grid.is-featured p {
    font-size: 0.92rem;
}

/* ===== SAAS DASHBOARD (page-specific) — .dc-saas-dash =====
   Hero visual built ONLY for /learn/saas-application-development — scoped
   entirely under this prefix so it cannot affect any other page. A
   stylized dashboard mockup that assembles on load: top bar, sidebar nav,
   stat cards and a small bar chart, with one metric carrying a looping
   "live" pulse. Illustrative placeholder content only — no real product
   name, no invented numbers. Cyan+navy only; the whole composition is
   scaled as one unit per breakpoint via transform:scale(), the same
   technique proven on SEO, Graphic Design and Video Editing. */
.dc-saas-scene {
    display: flex;
    justify-content: center;
    width: 100%;
}

.dc-saas-dash-wrap {
    width: 100%;
    max-width: 280px;
    height: 190px;
    display: flex;
    justify-content: center;
}

.dc-saas-dash {
    position: relative;
    width: 280px;
    height: 190px;
    flex-shrink: 0;
    transform-origin: top center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 14px;
    box-shadow: 0 20px 44px -18px rgba(0, 0, 0, 0.4);
    overflow: hidden;
}

.dc-saas-topbar {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 20px;
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 0 8px;
    background: rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0;
    transform: translateY(-6px);
    animation: dc-saas-topbar-in 0.4s ease forwards;
    animation-delay: 0.05s;
}

@keyframes dc-saas-topbar-in { to { opacity: 1; transform: translateY(0); } }

.dc-saas-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: rgba(0, 229, 255, 0.5);
}

.dc-saas-live-pill {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 7px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.55);
}

.dc-saas-live-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--primary-light);
    animation: dc-saas-live-pulse 2s ease-in-out infinite;
    animation-delay: 1.6s;
}

@keyframes dc-saas-live-pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(0, 229, 255, 0.6); }
    50%      { box-shadow: 0 0 0 4px rgba(0, 229, 255, 0); }
}

.dc-saas-sidebar {
    position: absolute;
    top: 20px;
    left: 0;
    bottom: 0;
    width: 46px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding-top: 14px;
    background: rgba(255, 255, 255, 0.035);
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.dc-saas-nav-item {
    width: 22px;
    height: 6px;
    border-radius: 3px;
    background: rgba(0, 229, 255, 0.3);
    opacity: 0;
    transform: translateX(-8px);
    animation: dc-saas-nav-in 0.4s ease forwards;
    animation-delay: calc(0.3s + var(--n) * 0.1s);
}

.dc-saas-nav-item:first-child {
    background: var(--primary-light);
    box-shadow: 0 0 6px rgba(0, 229, 255, 0.7);
}

@keyframes dc-saas-nav-in { to { opacity: 1; transform: translateX(0); } }

.dc-saas-main {
    position: absolute;
    top: 20px;
    left: 46px;
    right: 0;
    bottom: 0;
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.dc-saas-stats {
    display: flex;
    gap: 6px;
}

.dc-saas-stat-card {
    flex: 1;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 6px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    opacity: 0;
    transform: scale(0.85);
    animation: dc-saas-card-in 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
    animation-delay: calc(0.6s + var(--n) * 0.12s);
}

@keyframes dc-saas-card-in { to { opacity: 1; transform: scale(1); } }

.dc-saas-stat-label {
    width: 60%;
    height: 5px;
    border-radius: 3px;
    background: rgba(255, 255, 255, 0.22);
}

.dc-saas-stat-value {
    width: 40%;
    height: 8px;
    border-radius: 3px;
    background: rgba(0, 229, 255, 0.4);
    display: flex;
    align-items: center;
}

.dc-saas-pulse-dot {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #fff;
    margin-left: auto;
    margin-right: 2px;
}

.dc-saas-chart {
    flex: 1;
    display: flex;
    align-items: flex-end;
    gap: 5px;
    padding: 0 2px;
}

.dc-saas-bar {
    flex: 1;
    height: 100%;
    border-radius: 3px 3px 0 0;
    background: linear-gradient(to top, rgba(0, 229, 255, 0.45), rgba(0, 229, 255, 0.12));
    transform-origin: bottom;
    transform: scaleY(0);
    animation: dc-saas-bar-grow 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: calc(1s + var(--n) * 0.08s);
}

.dc-saas-bar:nth-child(4) {
    background: linear-gradient(to top, var(--primary-light), rgba(0, 229, 255, 0.2));
}

@keyframes dc-saas-bar-grow { to { transform: scaleY(1); } }

@media (prefers-reduced-motion: reduce) {
    .dc-saas-topbar { animation: none; opacity: 1; transform: translateY(0); }
    .dc-saas-nav-item { animation: none; opacity: 1; transform: translateX(0); }
    .dc-saas-stat-card { animation: none; opacity: 1; transform: scale(1); }
    .dc-saas-bar { animation: none; transform: scaleY(1); }
    .dc-saas-live-dot { animation: none; box-shadow: 0 0 0 2px rgba(0, 229, 255, 0.35); }
}

@media (max-width: 900px) {
    .dc-saas-dash-wrap {
        max-width: 240px;
        height: 163px;
    }
    .dc-saas-dash {
        transform: scale(0.857);
    }
}

@media (max-width: 480px) {
    .dc-saas-dash-wrap {
        max-width: 210px;
        height: 143px;
    }
    .dc-saas-dash {
        transform: scale(0.75);
    }
}

/* ===== INSTALL-TO-HOME-SCREEN (page-specific) — .dc-pwa-frame =====
   Hero visual built ONLY for /learn/progressive-web-apps — scoped entirely
   under this prefix so it cannot affect any other page. A stylized phone
   frame shows a small web app with an "Install" bar sliding up, then
   cross-fades once into a home-screen icon grid with the newly "installed"
   icon popping in — settling there for good, the way a real install feels.
   A small Online/Offline label keeps crossfading in the status bar as the
   one looping "alive" detail. Illustrative placeholder content only.
   Cyan+navy only; the whole composition is scaled as one unit per
   breakpoint via transform:scale(), the same technique proven on SEO,
   Graphic Design, Video Editing and SaaS. */
.dc-pwa-scene {
    display: flex;
    justify-content: center;
    width: 100%;
}

.dc-pwa-frame-wrap {
    width: 100%;
    max-width: 280px;
    height: 190px;
    display: flex;
    justify-content: center;
}

.dc-pwa-frame {
    position: relative;
    width: 280px;
    height: 190px;
    flex-shrink: 0;
    transform-origin: top center;
    display: flex;
    justify-content: center;
}

.dc-pwa-phone {
    position: relative;
    top: 6px;
    width: 104px;
    height: 178px;
    flex-shrink: 0;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.05);
    border: 1.5px solid rgba(255, 255, 255, 0.16);
    box-shadow: 0 20px 40px -16px rgba(0, 0, 0, 0.45);
    overflow: hidden;
    animation: dc-pwa-phone-glow 3.2s ease-in-out infinite;
}

@keyframes dc-pwa-phone-glow {
    0%, 100% { box-shadow: 0 20px 40px -16px rgba(0, 0, 0, 0.45), 0 0 0 0 rgba(0, 229, 255, 0.18); }
    50%      { box-shadow: 0 20px 40px -16px rgba(0, 0, 0, 0.45), 0 0 20px 2px rgba(0, 229, 255, 0.28); }
}

.dc-pwa-statusbar {
    height: 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 7px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.dc-pwa-statusbar-dot {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
}

.dc-pwa-net-badge {
    position: relative;
    display: inline-block;
    font-size: 6px;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    height: 7px;
    min-width: 26px;
}

.dc-pwa-net-online,
.dc-pwa-net-offline {
    position: absolute;
    right: 0;
    top: 0;
    white-space: nowrap;
}

.dc-pwa-net-online {
    color: var(--primary-light);
    animation: dc-pwa-online-fade 6s ease-in-out infinite;
}

.dc-pwa-net-offline {
    color: rgba(255, 255, 255, 0.4);
    animation: dc-pwa-offline-fade 6s ease-in-out infinite;
}

@keyframes dc-pwa-online-fade {
    0%, 42%  { opacity: 1; }
    50%, 92% { opacity: 0; }
    100%     { opacity: 1; }
}

@keyframes dc-pwa-offline-fade {
    0%, 42%  { opacity: 0; }
    50%, 92% { opacity: 1; }
    100%     { opacity: 0; }
}

.dc-pwa-screen {
    position: relative;
    height: calc(100% - 15px);
    overflow: hidden;
}

.dc-pwa-layer-app,
.dc-pwa-layer-home {
    position: absolute;
    inset: 0;
    padding: 10px 8px;
}

.dc-pwa-layer-app {
    display: flex;
    flex-direction: column;
    gap: 7px;
    animation: dc-pwa-app-fadeout 0.6s ease forwards;
    animation-delay: 3s;
}

@keyframes dc-pwa-app-fadeout { to { opacity: 0; } }

.dc-pwa-app-bar {
    height: 10px;
    border-radius: 3px;
    background: rgba(0, 229, 255, 0.3);
}

.dc-pwa-app-line {
    height: 6px;
    border-radius: 3px;
    background: rgba(255, 255, 255, 0.2);
}

.dc-pwa-app-line-1 { width: 85%; }
.dc-pwa-app-line-2 { width: 60%; }

.dc-pwa-app-card {
    flex: 1;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.dc-pwa-install-bar {
    position: absolute;
    left: 8px;
    right: 8px;
    bottom: 8px;
    height: 22px;
    border-radius: 8px;
    background: rgba(0, 229, 255, 0.14);
    border: 1px solid rgba(0, 229, 255, 0.35);
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0 7px;
    opacity: 0;
    transform: translateY(14px);
    animation: dc-pwa-install-in 0.5s ease forwards, dc-pwa-install-out 0.4s ease forwards;
    animation-delay: 0.6s, 2.6s;
}

@keyframes dc-pwa-install-in { to { opacity: 1; transform: translateY(0); } }
@keyframes dc-pwa-install-out { to { opacity: 0; transform: translateY(10px); } }

.dc-pwa-install-icon {
    width: 10px;
    height: 10px;
    border-radius: 3px;
    background: var(--primary-light);
    flex-shrink: 0;
}

.dc-pwa-install-text {
    flex: 1;
    height: 6px;
    border-radius: 3px;
    background: rgba(255, 255, 255, 0.4);
}

.dc-pwa-layer-home {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 10px;
    opacity: 0;
    align-content: center;
    animation: dc-pwa-home-fadein 0.6s ease forwards;
    animation-delay: 3s;
}

@keyframes dc-pwa-home-fadein { to { opacity: 1; } }

.dc-pwa-home-icon {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 7px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.dc-pwa-home-icon.is-installed {
    background: var(--gradient-accent);
    border-color: rgba(0, 229, 255, 0.5);
    box-shadow: 0 0 10px rgba(0, 229, 255, 0.6);
    transform: scale(0);
    animation: dc-pwa-icon-pop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
    animation-delay: 3.4s;
}

@keyframes dc-pwa-icon-pop { to { transform: scale(1); } }

@media (prefers-reduced-motion: reduce) {
    .dc-pwa-phone { animation: none; }
    .dc-pwa-net-online { animation: none; opacity: 1; }
    .dc-pwa-net-offline { animation: none; opacity: 0; }
    .dc-pwa-layer-app { animation: none; opacity: 0; }
    .dc-pwa-install-bar { animation: none; opacity: 0; }
    .dc-pwa-layer-home { animation: none; opacity: 1; }
    .dc-pwa-home-icon.is-installed { animation: none; transform: scale(1); }
}

@media (max-width: 900px) {
    .dc-pwa-frame-wrap {
        max-width: 240px;
        height: 163px;
    }
    .dc-pwa-frame {
        transform: scale(0.857);
    }
}

@media (max-width: 480px) {
    .dc-pwa-frame-wrap {
        max-width: 210px;
        height: 143px;
    }
    .dc-pwa-frame {
        transform: scale(0.75);
    }
}

/* ===== CLOSING CTA (navy) ===== */
.dc-learn-final-cta {
    width: 100%;
    background: var(--gradient-primary);
    padding: 5rem 5%;
    text-align: center;
}

.dc-learn-final-cta-inner {
    max-width: 760px;
    margin: 0 auto;
}

.dc-learn-final-cta-heading {
    color: var(--text-white);
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 800;
    margin-bottom: 1rem;
}

.dc-learn-final-cta-desc {
    color: var(--text-muted);
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 2.5rem;
}

.dc-learn-final-cta-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

/* ===== FAQ SECTION (white) — same component as the homepage,
   duplicated here since Learn pages don't load homepage.css. ===== */
.dc-faqs-question-ans-section {
    width: 100%;
    background: #ffffff;
    padding: 90px 5%;
}

.dc-faqs-question-ans-container {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
}

.dc-faqs-question-ans-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
}

.dc-faqs-question-ans-item {
    width: 100%;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(11, 28, 45, 0.08);
    overflow: hidden;
    transition: var(--transition);
    position: relative;
    box-shadow: var(--shadow-md);
}

.dc-faqs-question-ans-item:hover {
    border-color: var(--accent-color);
    box-shadow: 0 15px 35px rgba(0, 229, 255, 0.15);
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.9);
}

.dc-faqs-question-ans-item.active {
    border-color: var(--accent-color);
    box-shadow: 0 20px 40px rgba(0, 229, 255, 0.18);
    background: rgba(255, 255, 255, 0.95);
}

.dc-faqs-question-ans-item.active::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-color), var(--text-white), var(--accent-color));
    background-size: 200% 100%;
    animation: dcLearnFaqGradientMove 3s ease infinite;
    z-index: 2;
}

@keyframes dcLearnFaqGradientMove {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.dc-faqs-question-ans-question {
    width: 100%;
    padding: 26px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: none;
    border: none;
    text-align: left;
    cursor: pointer;
    gap: 20px;
    transition: var(--transition);
}

.dc-faqs-question-ans-question:hover {
    background: rgba(0, 229, 255, 0.02);
}

.dc-faqs-question-ans-question-content {
    display: flex;
    align-items: center;
    gap: 18px;
    flex: 1;
}

.dc-faqs-question-ans-number {
    width: 44px;
    height: 44px;
    min-width: 44px;
    background: linear-gradient(135deg, rgba(0, 229, 255, 0.1), rgba(19, 43, 69, 0.4));
    color: var(--accent-color);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 17px;
    transition: var(--transition);
    border: 1px solid rgba(0, 229, 255, 0.3);
    box-shadow: 0 4px 12px rgba(0, 229, 255, 0.1);
}

.dc-faqs-question-ans-item.active .dc-faqs-question-ans-number {
    background: var(--accent-color);
    color: var(--primary-color);
    border-color: var(--accent-color);
    box-shadow: 0 8px 20px rgba(0, 229, 255, 0.3);
    transform: scale(1.05);
}

.dc-faqs-question-ans-item:hover .dc-faqs-question-ans-number {
    transform: scale(1.05);
    border-color: var(--accent-color);
}

.dc-faqs-question-ans-text {
    color: var(--primary-color);
    font-size: 1.12rem;
    font-weight: 600;
    line-height: 1.5;
    flex: 1;
    letter-spacing: -0.01em;
    transition: var(--transition);
}

.dc-faqs-question-ans-item.active .dc-faqs-question-ans-text {
    color: var(--accent-hover);
}

.dc-faqs-question-ans-toggle {
    width: 42px;
    height: 42px;
    min-width: 42px;
    background: rgba(0, 229, 255, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-hover);
    font-size: 16px;
    transition: var(--transition);
    border: 1px solid rgba(0, 229, 255, 0.3);
    box-shadow: 0 4px 12px rgba(0, 229, 255, 0.1);
}

.dc-faqs-question-ans-item.active .dc-faqs-question-ans-toggle {
    background: var(--accent-color);
    color: var(--primary-color);
    transform: rotate(180deg);
    border-color: var(--accent-color);
    box-shadow: 0 8px 20px rgba(0, 229, 255, 0.3);
}

.dc-faqs-question-ans-toggle:hover {
    background: var(--accent-color);
    color: var(--primary-color);
    transform: scale(1.1);
    border-color: var(--accent-color);
}

.dc-faqs-question-ans-item.active .dc-faqs-question-ans-toggle:hover {
    transform: rotate(180deg) scale(1.1);
}

.dc-faqs-question-ans-answer {
    padding: 0 30px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.dc-faqs-question-ans-item.active .dc-faqs-question-ans-answer {
    padding: 0 30px 30px 30px;
    max-height: 500px;
}

.dc-faqs-question-ans-answer-content {
    color: var(--primary-color);
    opacity: 0.75;
    font-size: 1rem;
    line-height: 1.75;
    margin: 0;
    padding-top: 18px;
    border-top: 1px solid rgba(0, 229, 255, 0.15);
}

.dc-faqs-question-ans-answer-content strong {
    color: var(--accent-hover);
    font-weight: 600;
}

/* ===== SCROLL REVEAL (roadmap cards, career cards, support items, intro points) ===== */
.dc-scroll-reveal {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.dc-scroll-reveal:nth-child(1) { transition-delay: 0s; }
.dc-scroll-reveal:nth-child(2) { transition-delay: 0.08s; }
.dc-scroll-reveal:nth-child(3) { transition-delay: 0.16s; }
.dc-scroll-reveal:nth-child(4) { transition-delay: 0.24s; }
.dc-scroll-reveal:nth-child(5) { transition-delay: 0.32s; }
.dc-scroll-reveal:nth-child(6) { transition-delay: 0.4s; }
.dc-scroll-reveal:nth-child(7) { transition-delay: 0.48s; }
.dc-scroll-reveal:nth-child(8) { transition-delay: 0.56s; }

@media (prefers-reduced-motion: reduce) {
    .dc-scroll-reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
    .dc-learn-intro-strip-inner {
        grid-template-columns: 1fr;
    }

    .dc-roadmap-card {
        padding: 30px 24px;
    }
}

@media (max-width: 768px) {
    .dc-learn-hero {
        padding: 110px 6% 70px;
    }

    .dc-learn-hero-ctas,
    .dc-learn-final-cta-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .dc-roadmap-section,
    .dc-career-grid-section,
    .dc-learn-support-section,
    .dc-faqs-question-ans-section {
        padding: 60px 5%;
    }

    .dc-roadmap-card-header {
        flex-direction: column;
        gap: 12px;
    }

    .dc-faqs-question-ans-question {
        padding: 20px 22px;
    }

    .dc-faqs-question-ans-answer {
        padding: 0 22px;
    }

    .dc-faqs-question-ans-item.active .dc-faqs-question-ans-answer {
        padding: 0 22px 22px 22px;
    }
}

@media (max-width: 480px) {
    .dc-learn-hero h1 {
        font-size: 2rem;
    }

    .dc-roadmap-card {
        padding: 24px 18px;
    }

    .dc-roadmap-stages::before {
        left: 17px;
    }

    .dc-roadmap-stage-num {
        width: 36px;
        height: 36px;
        min-width: 36px;
        font-size: 0.85rem;
    }

    .dc-faqs-question-ans-question-content {
        gap: 12px;
    }

    .dc-faqs-question-ans-number,
    .dc-faqs-question-ans-toggle {
        width: 36px;
        height: 36px;
        min-width: 36px;
        font-size: 14px;
    }

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

/* Reduced motion: kill non-essential animation */
@media (prefers-reduced-motion: reduce) {
    .dc-faqs-question-ans-item.active::before {
        animation: none;
    }
}
