/* =========================================================
   Crystalspiders Corporate Training
   Open Source ETL Tools
   Synced with the shared corporate training visual system
   ========================================================= */

.corp-ost-page {
    --blue: #2563eb;
    --blue-dark: #1d4ed8;
    --blue-light: #60a5fa;
    --cyan: #22c7f2;
    --navy: #07152d;
    --navy-2: #0b2545;
    --text: #0f172a;
    --muted: #64748b;
    --border: #e2e8f0;
    --soft: #f8fafc;
    width: 100%;
    margin: 0;
    padding: 0;
    color: var(--text);
    font-family: inherit;
    overflow-x: hidden;
}

.corp-ost-page *,
.corp-ost-page *::before,
.corp-ost-page *::after {
    box-sizing: border-box;
}

.corp-ost-container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Hero */
.corp-ost-hero {
    position: relative;
    overflow: hidden;
    padding-bottom: 65px;
    color: #fff;
    background:
        radial-gradient(circle at 82% 45%, rgba(37, 99, 235, .32), transparent 35%),
        linear-gradient(115deg, #041126 0%, #07152d 48%, #0d2c58 100%);
}

.corp-ost-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: .25;
    background-image:
        linear-gradient(rgba(96, 165, 250, .12) 1px, transparent 1px),
        linear-gradient(90deg, rgba(96, 165, 250, .12) 1px, transparent 1px);
    background-size: 54px 54px;
}

.corp-ost-breadcrumb {
    position: relative;
    z-index: 2;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 9px;
    padding: 17px 0 25px;
    color: rgba(255, 255, 255, .65);
    font-size: 11px;
    line-height: 1.5;
}

.corp-ost-breadcrumb a {
    color: rgba(255, 255, 255, .82);
    text-decoration: none;
}

.corp-ost-breadcrumb a:hover {
    color: #67d9ff;
}

.corp-ost-hero-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1.08fr;
    align-items: center;
    gap: 55px;
    min-height: 530px;
}

.corp-ost-hero-content {
    min-width: 0;
}

.corp-ost-kicker,
.corp-ost-section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #67d9ff;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.4px;
    line-height: 1.4;
}

.corp-ost-kicker {
    margin-bottom: 20px;
}

.corp-ost-kicker::before,
.corp-ost-section-kicker::before {
    content: "";
    width: 38px;
    height: 2px;
    flex: 0 0 38px;
    background: #22c7f2;
}

.corp-ost-hero h1 {
    max-width: 650px;
    margin: 0 0 15px;
    color: #fff;
    font-size: 52px;
    line-height: 1.08;
    letter-spacing: -1.3px;
    font-weight: 750;
}

.corp-ost-hero h1 span {
    color: var(--blue-light);
}

.corp-ost-hero h2 {
    margin: 0 0 17px;
    color: #60c8ff;
    font-size: 19px;
    line-height: 1.4;
    font-weight: 650;
}

.corp-ost-hero-description {
    max-width: 620px;
    margin: 0 0 28px;
    color: #d7e5f6;
    font-size: 15px;
    line-height: 1.8;
}

.corp-ost-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 22px;
}

.corp-ost-btn {
    position: relative;
    z-index: 20;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 52px;
    padding: 0 24px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    transition: transform .25s ease, box-shadow .25s ease, background .25s ease, border-color .25s ease, color .25s ease;
}

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

.corp-ost-btn-primary {
    color: #fff;
    background: var(--blue);
    border: 1px solid var(--blue);
    box-shadow: 0 10px 25px rgba(37, 99, 235, .22);
}

.corp-ost-btn-primary:hover {
    color: #fff;
    background: var(--blue-dark);
    border-color: var(--blue-dark);
}

.corp-ost-btn-outline,
.corp-ost-btn-secondary {
    color: #fff;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, .65);
}

.corp-ost-btn-outline:hover,
.corp-ost-btn-secondary:hover {
    color: #fff;
    border-color: #fff;
    background: rgba(255, 255, 255, .08);
}

.corp-ost-hero-points {
    display: flex;
    flex-wrap: wrap;
    gap: 18px 24px;
    color: #c7d6e8;
    font-size: 12px;
}

.corp-ost-hero-points span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.corp-ost-hero-points i {
    color: #2dd4bf;
}

.corp-ost-hero-visual {
    position: relative;
    min-height: 440px;
    pointer-events: none;
}

.corp-ost-hero-image {
    position: absolute;
    inset: 0;
    overflow: hidden;
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 2;
    border-radius: 14px;
    border: 1px solid rgba(148, 163, 184, .25);
    background: #102b4e;
    box-shadow: 0 25px 60px rgba(0, 0, 0, .35);
}

.corp-ost-hero-image::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(90deg, rgba(4, 17, 38, .20), rgba(4, 17, 38, .02) 70%);
}

.corp-ost-hero-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    border-radius: inherit;
}

/* Benefits */
.corp-ost-benefits-section {
    position: relative;
    z-index: 4;
    background: #fff;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 8px 25px rgba(15, 23, 42, .05);
}

.corp-ost-benefits-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
}

.corp-ost-benefit {
    display: flex;
    align-items: center;
    gap: 13px;
    min-height: 92px;
    padding: 15px 18px;
    border-right: 1px solid var(--border);
}

.corp-ost-benefit:last-child {
    border-right: 0;
}

.corp-ost-benefit-icon {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 38px;
    border-radius: 9px;
    background: #eff6ff;
    color: var(--blue);
    font-size: 15px;
}

.corp-ost-benefit h3 {
    margin: 0 0 3px;
    color: var(--navy);
    font-size: 12px;
    line-height: 1.4;
    font-weight: 750;
}

.corp-ost-benefit p {
    margin: 0;
    color: var(--muted);
    font-size: 11px;
    line-height: 1.5;
}

/* Generic sections */
.corp-ost-section {
    padding: 76px 0;
}

.corp-ost-section:nth-of-type(even) {
    background: var(--soft);
}

.corp-ost-two-col {
    display: grid;
    grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
    gap: 55px;
    align-items: start;
}

.corp-ost-section-heading {
    margin-bottom: 34px;
}

.corp-ost-section-heading .corp-ost-section-kicker,
.corp-ost-two-col .corp-ost-section-kicker,
.corp-ost-pattern-intro .corp-ost-section-kicker {
    margin-bottom: 12px;
}

.corp-ost-section h2,
.corp-ost-two-col h2,
.corp-ost-pattern-intro h2,
.corp-ost-seo h2 {
    margin: 0;
    color: var(--navy);
    font-size: 38px;
    line-height: 1.2;
    letter-spacing: -.6px;
    font-weight: 720;
}

.corp-ost-section-heading p,
.corp-ost-two-col p,
.corp-ost-pattern-intro p,
.corp-ost-seo p {
    margin: 12px 0 0;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.8;
}

/* Related links */
.corp-ost-link-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 15px;
}

.corp-ost-link-card {
    display: block;
    padding: 20px 18px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: #fff;
    text-decoration: none;
    box-shadow: 0 10px 25px rgba(15, 23, 42, .04);
    transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.corp-ost-link-card:hover {
    transform: translateY(-2px);
    border-color: #bfd5f0;
    box-shadow: 0 16px 35px rgba(15, 23, 42, .08);
}

.corp-ost-link-card span {
    display: block;
    color: var(--navy-2);
    font-size: 14px;
    line-height: 1.5;
    font-weight: 600;
}

.corp-ost-link-card i {
    margin-right: 7px;
    color: var(--blue);
}

.corp-ost-link-card small {
    display: block;
    margin-top: 7px;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.6;
}

/* Curriculum */
.corp-ost-card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.corp-ost-card {
    min-height: 210px;
    padding: 25px 22px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(15, 23, 42, .05);
}

.corp-ost-card-icon {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 17px;
    border-radius: 8px;
    background: #eff6ff;
    color: var(--blue);
    font-size: 16px;
}

.corp-ost-card h3 {
    margin: 0 0 9px;
    color: var(--navy);
    font-size: 17px;
    line-height: 1.4;
    font-weight: 700;
}

.corp-ost-card p {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.7;
}

/* Process */
.corp-ost-pattern-layout {
    display: grid;
    grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
    gap: 65px;
    align-items: start;
}

.corp-ost-process-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.corp-ost-process-step {
    padding: 22px 20px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: #fff;
}

.corp-ost-process-step > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    margin-bottom: 12px;
    border-radius: 50%;
    background: #eff6ff;
    color: var(--blue);
    font-size: 10px;
    font-weight: 700;
}

.corp-ost-process-step h3 {
    margin: 0 0 7px;
    color: var(--navy);
    font-size: 15px;
    line-height: 1.45;
    font-weight: 700;
}

.corp-ost-process-step p {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.65;
}

/* Use cases */
.corp-ost-use-case-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.corp-ost-use-case {
    padding: 24px 22px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: #fff;
}

.corp-ost-use-case > i {
    display: inline-block;
    margin-bottom: 15px;
    color: var(--blue);
    font-size: 18px;
}

.corp-ost-use-case h3 {
    margin: 0 0 8px;
    color: var(--navy);
    font-size: 17px;
    line-height: 1.4;
}

.corp-ost-use-case p {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.7;
}

/* Tools */
.corp-ost-tools-layout {
    align-items: center;
}

.corp-ost-tool-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.corp-ost-tool-list span {
    display: block;
    padding: 15px 16px;
    border: 1px solid var(--border);
    border-radius: 7px;
    background: #fff;
    color: var(--navy-2);
    font-size: 13px;
    line-height: 1.45;
    font-weight: 600;
}

.corp-ost-tool-list span::before {
    content: "\f058";
    margin-right: 8px;
    font-family: "Font Awesome 6 Free";
    font-style: normal;
    font-weight: 900;
    color: var(--blue);
}

/* Audience */
.corp-ost-audience-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.corp-ost-audience-grid > div {
    padding: 22px 20px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: #fff;
}

.corp-ost-audience-grid i {
    display: inline-block;
    margin-bottom: 12px;
    color: var(--blue);
    font-size: 17px;
}

.corp-ost-audience-grid h3 {
    margin: 0 0 7px;
    color: var(--navy);
    font-size: 16px;
    line-height: 1.4;
}

.corp-ost-audience-grid p {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.65;
}

/* Outcomes */
.corp-ost-check-list {
    padding: 24px 26px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: var(--soft);
}

.corp-ost-check-list p {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 0 0 13px;
}

.corp-ost-check-list p:last-child {
    margin-bottom: 0;
}

.corp-ost-check-list i {
    margin-top: 4px;
    flex: 0 0 auto;
    color: var(--blue);
}

/* SEO */
.corp-ost-seo {
    background: #fff;
}

.corp-ost-seo-content {
    max-width: 1040px;
}

.corp-ost-seo-content h2 {
    max-width: 920px;
}

/* FAQ */
.corp-ost-faq {
    background: var(--soft);
}

.corp-ost-faq-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.corp-ost-faq-card {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 14px;
    padding: 22px 20px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(19, 42, 67, .045);
}

.corp-ost-faq-icon {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #eff6ff;
    color: var(--blue);
    font-size: 14px;
}

.corp-ost-faq-card h3 {
    margin: 1px 0 8px;
    color: var(--navy);
    font-size: 15px;
    line-height: 1.5;
    font-weight: 700;
}

.corp-ost-faq-card p {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.7;
}

/* CTA */
.corp-ost-cta {
    padding: 62px 0;
    background: var(--navy);
}

.corp-ost-cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.corp-ost-cta h2 {
    max-width: 760px;
    margin: 8px 0 12px;
    color: #fff;
    font-size: 38px;
    line-height: 1.2;
    font-weight: 700;
}

.corp-ost-cta p {
    max-width: 760px;
    margin: 0;
    color: rgba(255, 255, 255, .72);
    font-size: 15px;
    line-height: 1.8;
}

.corp-ost-cta-actions {
    flex: 0 0 auto;
    display: flex;
    gap: 12px;
    margin-top: 0;
}

.corp-ost-cta .corp-ost-btn-secondary {
    color: #fff;
    background: transparent;
    border-color: rgba(255, 255, 255, .28);
}

.corp-ost-cta .corp-ost-btn-secondary:hover {
    color: #fff;
    background: rgba(255, 255, 255, .08);
    border-color: rgba(255, 255, 255, .55);
}

/* Responsive */
@media (max-width: 1199px) {
    .corp-ost-hero h1 {
        font-size: 48px;
    }

    .corp-ost-hero-grid {
        gap: 40px;
    }

    .corp-ost-card-grid,
    .corp-ost-link-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .corp-ost-hero-grid,
    .corp-ost-two-col,
    .corp-ost-pattern-layout {
        grid-template-columns: 1fr;
        display: grid;
    }

    .corp-ost-hero-grid {
        min-height: auto;
        gap: 30px;
        padding: 42px 0 48px;
    }

    .corp-ost-hero h1 {
        font-size: 46px;
    }

    .corp-ost-benefits-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .corp-ost-benefit {
        border-bottom: 1px solid var(--border);
    }

    .corp-ost-benefit:nth-child(2n) {
        border-right: 0;
    }

    .corp-ost-section h2,
    .corp-ost-two-col h2,
    .corp-ost-pattern-intro h2,
    .corp-ost-seo h2,
    .corp-ost-cta h2 {
        font-size: 34px;
    }

    .corp-ost-use-case-grid,
    .corp-ost-audience-grid,
    .corp-ost-faq-grid {
        grid-template-columns: 1fr 1fr;
    }

    .corp-ost-cta-inner {
        display: grid;
        grid-template-columns: 1fr;
    }

    .corp-ost-cta-actions {
        margin-top: 6px;
    }
}

@media (max-width: 600px) {
    .corp-ost-container {
        width: 92%;
    }

    .corp-ost-breadcrumb {
        padding: 10px 0;
        font-size: 10px;
    }

    .corp-ost-hero-grid {
        padding: 34px 0 40px;
    }

    .corp-ost-hero h1 {
        font-size: 36px;
    }

    .corp-ost-hero h2 {
        font-size: 18px;
    }

    .corp-ost-section {
        padding: 58px 0;
    }

    .corp-ost-section h2,
    .corp-ost-two-col h2,
    .corp-ost-pattern-intro h2,
    .corp-ost-seo h2,
    .corp-ost-cta h2 {
        font-size: 30px;
    }

    .corp-ost-benefits-grid,
    .corp-ost-card-grid,
    .corp-ost-link-grid,
    .corp-ost-use-case-grid,
    .corp-ost-audience-grid,
    .corp-ost-faq-grid,
    .corp-ost-process-grid,
    .corp-ost-tool-list {
        grid-template-columns: 1fr;
    }

    .corp-ost-benefit,
    .corp-ost-benefit:nth-child(2n) {
        border-right: 0;
    }

    .corp-ost-hero-actions,
    .corp-ost-cta-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .corp-ost-btn {
        width: 100%;
    }

    .corp-ost-cta-inner {
        gap: 20px;
    }

    .corp-ost-hero-visual {
        min-height: 0;
    }

    .corp-ost-hero-image {
        position: relative;
        inset: auto;
    }
}

@media (max-width: 400px) {
    .corp-ost-hero h1 {
        font-size: 32px;
    }

    .corp-ost-section h2,
    .corp-ost-two-col h2,
    .corp-ost-pattern-intro h2,
    .corp-ost-seo h2,
    .corp-ost-cta h2 {
        font-size: 27px;
    }

    .corp-ost-hero-description,
    .corp-ost-section p,
    .corp-ost-seo p,
    .corp-ost-cta p {
        font-size: 14px;
    }
}
