/* Data science landing page extras. Builds on genai-course.css (gai-* classes). */
.ds-hero { min-height: auto; }
.ds-hero .gai-hero-inner { padding: 150px 0 80px; }
.ds-crumbs { font-size: .85rem; color: #a8a8a8; margin-bottom: 18px; }
.ds-crumbs a { color: #cfcfcf; text-decoration: none; }
.ds-crumbs a:hover { color: #fff; }
.ds-crumbs span { margin: 0 4px; opacity: .5; }

.ds-facts { padding: 0 0 24px; position: relative; z-index: 3; margin-top: -28px; }
.ds-facts-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px; margin: 0;
}
.ds-facts-grid > div {
    padding: 16px 18px; border-radius: 14px; background: rgba(255, 255, 255, .04);
    border: 1px solid rgba(255, 255, 255, .08); backdrop-filter: blur(12px);
}
.ds-facts-grid dt { font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: #a8a8a8; font-weight: 600; }
.ds-facts-grid dd { margin: 4px 0 0; color: #fff; font-weight: 600; font-size: .95rem; }

.ds-section { padding: 80px 0; }
.ds-alt { background: rgba(255, 255, 255, .02); }
.ds-narrow { max-width: 880px; }
.ds-prose p, .ds-prose li { color: #cfcfcf; line-height: 1.75; font-size: 1.02rem; }
.ds-prose li { margin-bottom: 10px; }
.ds-prose a, .ds-note a, .gai-faq-a a, .gai-section-header p a { color: #ff9a4d; }
.ds-note { color: #a8a8a8; font-size: .92rem; margin-top: 16px; text-align: center; }

.ds-layers { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; }
.ds-layer {
    position: relative; padding: 28px 24px; border-radius: 18px;
    background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .08);
}
.ds-layer-num {
    display: inline-flex; width: 34px; height: 34px; align-items: center; justify-content: center; border-radius: 50%;
    background: linear-gradient(135deg, #ff6b00, #ff3d00); color: #fff; font-weight: 700; margin-bottom: 14px;
}
.ds-layer h3 { font-size: 1.2rem; font-weight: 700; color: #fff; }
.ds-layer p { color: #cfcfcf; font-size: .95rem; line-height: 1.65; }
.ds-layer-note { color: #ff9a4d !important; font-size: .88rem !important; margin: 12px 0 0; }

.ds-table-wrap { border-radius: 16px; border: 1px solid rgba(255, 255, 255, .08); background: rgba(255, 255, 255, .03); }
.ds-table { width: 100%; min-width: 640px; border-collapse: collapse; font-size: .92rem; }
.ds-table th, .ds-table td { padding: 14px 16px; text-align: left; vertical-align: top; color: #d8d8d8; border-bottom: 1px solid rgba(255, 255, 255, .06); }
.ds-table thead th { color: #fff; font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; background: rgba(255, 255, 255, .04); }
.ds-table tbody th { color: #fff; font-weight: 600; }
.ds-table tbody tr:last-child th, .ds-table tbody tr:last-child td { border-bottom: 0; }
.ds-table-hl th, .ds-table-hl td { background: rgba(255, 107, 0, .09); }

.ds-group-label {
    margin: 28px 0 10px; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase;
    color: #ff9a4d; font-weight: 700;
}
.ds-group-label:first-child { margin-top: 0; }

.ds-checklist { padding-left: 1.3rem; }
.ds-checklist li { color: #cfcfcf; line-height: 1.7; margin-bottom: 14px; padding-left: 6px; }
.ds-checklist strong { color: #fff; }

@media (max-width: 576px) {
    .ds-section { padding: 56px 0; }
    .ds-hero .gai-hero-inner { padding: 120px 0 60px; }
}

/* ---- content sections ---- */
.ds-micro { margin: 18px 0 0; font-size: .85rem; color: #a8a8a8; }
.ds-micro i { color: #4ade80; font-size: .8rem; }

.ds-toc-wrap { padding: 8px 0 0; }
.ds-toc-label { font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: #a8a8a8; font-weight: 600; margin: 0 0 8px; }
.ds-toc { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.ds-toc a {
    display: inline-block; padding: 6px 14px; border-radius: 999px; font-size: .85rem; text-decoration: none;
    color: #d8d8d8; background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .08);
}
.ds-toc a:hover { color: #fff; border-color: rgba(255, 107, 0, .5); }
section[id], nav[id] { scroll-margin-top: 90px; }

.ds-h3 { margin-top: 2rem; font-size: 1.25rem; font-weight: 700; color: #fff; }
.ds-prose ol { padding-left: 1.3rem; }
.ds-prose ol li { margin-bottom: 10px; }

.ds-steps { list-style: none; counter-reset: ds; padding: 0; margin: 24px 0; display: grid; gap: 10px; }
.ds-steps li {
    counter-increment: ds; position: relative; padding: 14px 16px 14px 56px; border-radius: 14px;
    background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .08); color: #cfcfcf; line-height: 1.6;
}
.ds-steps li::before {
    content: counter(ds); position: absolute; left: 14px; top: 14px; width: 28px; height: 28px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: .85rem; color: #fff;
    background: linear-gradient(135deg, #ff6b00, #ff3d00);
}
.ds-steps strong { color: #fff; }
.ds-tag {
    display: inline-block; margin-left: 6px; padding: 1px 9px; border-radius: 999px; font-size: .72rem;
    background: rgba(255, 107, 0, .14); color: #ffb07a; white-space: nowrap;
}

.ds-myths { margin-top: 36px; }
.ds-myths h3 { font-size: 1.25rem; font-weight: 700; color: #fff; margin-bottom: 14px; }
.ds-myth-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.ds-myth-grid > div { padding: 18px; border-radius: 14px; background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .08); }
.ds-myth-grid p { margin: 0; color: #cfcfcf; font-size: .93rem; line-height: 1.6; }
.ds-myth-grid .ds-myth { color: #ff9a4d; font-weight: 600; margin-bottom: 8px; }

.ds-cta-band { padding: 8px 0 24px; }
.ds-cta-inner {
    display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
    padding: 28px 32px; border-radius: 20px;
    background: linear-gradient(135deg, rgba(255, 107, 0, .14), rgba(255, 61, 0, .06));
    border: 1px solid rgba(255, 107, 0, .25);
}
.ds-cta-inner h2 { font-size: 1.4rem; font-weight: 700; color: #fff; margin: 0 0 6px; }
.ds-cta-inner p { margin: 0; color: #cfcfcf; font-size: .95rem; }
.ds-cta-btns { display: flex; gap: 12px; flex-wrap: wrap; }

.ds-toolgroups { display: grid; gap: 22px; }
.ds-toolgroups h3 { font-size: 1rem; font-weight: 700; color: #fff; margin-bottom: 10px; }
.ds-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; }
.ds-chips span {
    padding: 7px 14px; border-radius: 10px; font-size: .88rem; color: #e8e8e8;
    background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .09);
}

.ds-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
.ds-card { padding: 22px; border-radius: 16px; background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .08); }
.ds-card h3 { font-size: 1.05rem; font-weight: 700; color: #fff; }
.ds-card p { color: #cfcfcf; font-size: .93rem; line-height: 1.6; margin: 0 0 10px; }
.ds-card .ds-card-tag { color: #ffb07a; font-size: .78rem; margin: 0; }

.ds-outcome { color: #e0e0e0; font-size: .92rem; margin: 0 0 12px; }
.ds-outcome strong { color: #ffb07a; }

.ds-redflags { margin-top: 28px; padding: 22px 24px; border-radius: 16px; background: rgba(255, 70, 70, .06); border: 1px solid rgba(255, 70, 70, .22); }
.ds-redflags h3 { font-size: 1.1rem; font-weight: 700; color: #fff; }
.ds-redflags li { color: #cfcfcf; line-height: 1.7; }

.ds-fit { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
.ds-fit > div { padding: 24px; border-radius: 16px; background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .08); }
.ds-fit h3 { font-size: 1.1rem; font-weight: 700; color: #fff; margin-bottom: 12px; }
.ds-fit ul { margin: 0; padding-left: 1.1rem; }
.ds-fit li { color: #cfcfcf; line-height: 1.7; margin-bottom: 6px; }
.ds-fit-yes h3 i { color: #4ade80; }
.ds-fit-no h3 i { color: #f87171; }

.ds-nextsteps { padding-left: 1.3rem; }
.ds-nextsteps li { color: #cfcfcf; line-height: 1.7; margin-bottom: 14px; padding-left: 6px; }
.ds-nextsteps strong { color: #fff; }

.ds-glossary { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 12px; margin: 0; }
.ds-glossary > div { padding: 16px 18px; border-radius: 14px; background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .08); }
.ds-glossary dt { color: #fff; font-weight: 700; font-size: .95rem; }
.ds-glossary dd { margin: 4px 0 0; color: #cfcfcf; font-size: .9rem; line-height: 1.6; }

.ds-sources { padding: 40px 0 120px; }
.ds-sources h2 { font-size: 1.1rem; font-weight: 700; color: #fff; }
.ds-fine { color: #a8a8a8; font-size: .85rem; line-height: 1.6; }
.ds-source-list { padding-left: 1.1rem; }
.ds-source-list li { font-size: .85rem; margin-bottom: 4px; }
.ds-source-list a { color: #a8a8a8; }
.ds-source-list a:hover { color: #fff; }

.ds-outcome + .gai-syllabus-tags { margin-top: 0; }
.bbx-ef-field select {
    width: 100%; padding: 12px 14px; border-radius: 10px; color: #fff; background: rgba(255, 255, 255, .05);
    border: 1px solid rgba(255, 255, 255, .12);
}
.bbx-ef-field select option { color: #111; }

@media (max-width: 576px) {
    .ds-cta-inner { padding: 22px 20px; }
    .ds-cta-btns .gai-btn { width: 100%; justify-content: center; }
    .ds-toc { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 6px; }
    .ds-toc a { white-space: nowrap; }
}

.ds-myth-grid { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 640px) { .ds-myth-grid { grid-template-columns: 1fr; } }
.ds-table a { color: #ff9a4d; }
.ds-card h3 i { color: #ff9a4d; margin-right: 6px; }

.ds-hero .gai-hero-center { padding: 0 6px; }
