﻿/* =========================================================
   XFSPL STOCK MARKET PAGE
========================================================= */

.stock-market-page {
    --sm-navy: #0B1F3A;
    --sm-dark: #06172C;
    --sm-blue: #1557B0;
    --sm-gold: #D4A72C;
    --sm-gold-light: #F7E7B0;
    --sm-white: #FFFFFF;
    --sm-bg: #F7F9FC;
    --sm-border: #E1E7EF;
    --sm-text: #172033;
    --sm-muted: #657181;
}


    /* =========================================================
   COMMON
========================================================= */

    .stock-market-page * {
        box-sizing: border-box;
    }

.stock-market-page {
    color: var(--sm-text);
    background: var(--sm-white);
}

    .stock-market-page .container {
        width: 92%;
        max-width: 1180px;
        margin: 0 auto;
    }

    .stock-market-page .section-space {
        padding: 90px 0;
    }

.sm-light-section {
    background: var(--sm-bg);
}

.sm-section-label {
    display: inline-block;
    color: var(--sm-blue);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 1.7px;
    margin-bottom: 14px;
}

.sm-heading-center {
    max-width: 760px;
    margin: 0 auto 50px;
    text-align: center;
}

    .sm-heading-center h2 {
        margin: 0 0 16px;
        color: var(--sm-navy);
        font-family: "Manrope", sans-serif;
        font-size: 40px;
        line-height: 1.2;
        font-weight: 800;
    }

        .sm-heading-center h2 span,
        .sm-intro-content h2 span,
        .sm-types-content h2 span,
        .sm-risk-content h2 span,
        .sm-xfspl-heading h2 span,
        .sm-cta-content h2 span {
            color: var(--sm-gold);
        }

    .sm-heading-center p {
        margin: 0;
        color: var(--sm-muted);
        font-size: 16px;
        line-height: 1.8;
    }


/* =========================================================
   BUTTONS
========================================================= */

.sm-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 52px;
    padding: 0 25px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    transition: all .3s ease;
}

.sm-btn-primary {
    background: var(--sm-gold);
    color: var(--sm-navy);
    border: 1px solid var(--sm-gold);
}

    .sm-btn-primary:hover {
        background: #e2b839;
        color: var(--sm-navy);
        transform: translateY(-2px);
    }

.sm-btn-outline {
    color: var(--sm-white);
    border: 1px solid rgba(255,255,255,.6);
    background: transparent;
}

    .sm-btn-outline:hover {
        background: var(--sm-white);
        color: var(--sm-navy);
    }


/* =========================================================
   HERO
========================================================= */

.sm-hero {
    position: relative;
    min-height: 590px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background-image: url("/images/stock-market-bg.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: var(--sm-navy);
}

.sm-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient( 90deg, rgba(6,23,44,.96) 0%, rgba(6,23,44,.86) 43%, rgba(6,23,44,.30) 100% );
}

.sm-hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    padding: 80px 0;
}

.sm-badge {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 9px 15px;
    margin-bottom: 22px;
    border: 1px solid rgba(212,167,44,.55);
    background: rgba(212,167,44,.10);
    color: #f4d36e;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.5px;
}

.sm-hero-content h1 {
    margin: 0 0 22px;
    color: var(--sm-white);
    font-family: "Manrope", sans-serif;
    font-size: 55px;
    line-height: 1.1;
    font-weight: 800;
}

    .sm-hero-content h1 span {
        color: var(--sm-gold);
    }

.sm-hero-content p {
    max-width: 650px;
    margin: 0 0 30px;
    color: rgba(255,255,255,.84);
    font-size: 17px;
    line-height: 1.8;
}

.sm-hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}


/* =========================================================
   INTRO
========================================================= */

.sm-intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 70px;
}

.sm-intro-image {
    position: relative;
    min-height: 460px;
}

    .sm-intro-image img {
        width: 100%;
        height: 460px;
        object-fit: cover;
        border-radius: 8px;
    }

.sm-floating-card {
    position: absolute;
    right: -25px;
    bottom: 30px;
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 230px;
    padding: 17px;
    background: var(--sm-white);
    border-left: 4px solid var(--sm-gold);
    box-shadow: 0 15px 45px rgba(11,31,58,.16);
}

.sm-floating-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--sm-blue);
    color: var(--sm-white);
    border-radius: 5px;
}

.sm-floating-card strong,
.sm-floating-card span {
    display: block;
}

.sm-floating-card strong {
    color: var(--sm-navy);
    font-size: 14px;
}

.sm-floating-card span {
    margin-top: 4px;
    color: var(--sm-muted);
    font-size: 12px;
}

.sm-intro-content h2 {
    margin: 0 0 20px;
    color: var(--sm-navy);
    font-family: "Manrope", sans-serif;
    font-size: 40px;
    line-height: 1.25;
    font-weight: 800;
}

.sm-intro-content p {
    color: var(--sm-muted);
    font-size: 16px;
    line-height: 1.85;
}

.sm-check-list {
    margin-top: 25px;
}

    .sm-check-list div {
        display: flex;
        align-items: center;
        gap: 11px;
        margin-bottom: 13px;
        color: var(--sm-text);
        font-size: 14px;
        font-weight: 600;
    }

    .sm-check-list i {
        color: var(--sm-gold);
    }


/* =========================================================
   WHAT IS STOCK MARKET
========================================================= */

.sm-info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.sm-info-card {
    padding: 34px;
    background: var(--sm-white);
    border: 1px solid var(--sm-border);
    border-top: 3px solid var(--sm-gold);
    transition: all .3s ease;
}

    .sm-info-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 15px 35px rgba(11,31,58,.09);
    }

.sm-card-icon {
    width: 55px;
    height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 22px;
    background: var(--sm-blue);
    color: var(--sm-white);
    border-radius: 6px;
    font-size: 20px;
}

.sm-info-card h3 {
    margin: 0 0 12px;
    color: var(--sm-navy);
    font-family: "Manrope", sans-serif;
    font-size: 21px;
    font-weight: 800;
}

.sm-info-card p {
    margin: 0;
    color: var(--sm-muted);
    line-height: 1.75;
    font-size: 14px;
}


/* =========================================================
   PROCESS
========================================================= */

.sm-process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.sm-process-card {
    position: relative;
    padding: 35px 25px;
    border: 1px solid var(--sm-border);
    background: var(--sm-white);
    overflow: hidden;
}

.sm-process-number {
    position: absolute;
    top: 15px;
    right: 18px;
    color: #e9edf2;
    font-family: "Manrope", sans-serif;
    font-size: 45px;
    font-weight: 900;
}

.sm-process-card .sm-card-icon {
    position: relative;
    z-index: 2;
}

.sm-process-card h3 {
    margin: 0 0 12px;
    color: var(--sm-navy);
    font-family: "Manrope", sans-serif;
    font-size: 19px;
    font-weight: 800;
}

.sm-process-card p {
    margin: 0;
    color: var(--sm-muted);
    font-size: 14px;
    line-height: 1.75;
}


/* =========================================================
   BENEFITS
========================================================= */

.sm-benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.sm-benefit-card {
    padding: 30px 25px;
    background: var(--sm-white);
    border: 1px solid var(--sm-border);
}

.sm-benefit-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    background: var(--sm-blue-light);
    color: var(--sm-blue);
    border-radius: 6px;
}

.sm-benefit-card h3 {
    margin: 0 0 10px;
    color: var(--sm-navy);
    font-family: "Manrope", sans-serif;
    font-size: 19px;
    font-weight: 800;
}

.sm-benefit-card p {
    margin: 0;
    color: var(--sm-muted);
    font-size: 14px;
    line-height: 1.75;
}


/* =========================================================
   TYPES
========================================================= */

.sm-types-grid {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    align-items: center;
    gap: 70px;
}

.sm-types-content h2 {
    margin: 0 0 18px;
    color: var(--sm-navy);
    font-family: "Manrope", sans-serif;
    font-size: 40px;
    line-height: 1.25;
    font-weight: 800;
}

.sm-types-content > p {
    color: var(--sm-muted);
    line-height: 1.8;
}

.sm-type-list {
    margin-top: 30px;
}

.sm-type-item {
    display: flex;
    gap: 15px;
    padding: 17px 0;
    border-bottom: 1px solid var(--sm-border);
}

.sm-type-icon {
    flex: 0 0 45px;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--sm-navy);
    color: var(--sm-gold);
    border-radius: 5px;
}

.sm-type-item strong,
.sm-type-item span {
    display: block;
}

.sm-type-item strong {
    margin-bottom: 5px;
    color: var(--sm-navy);
    font-size: 15px;
}

.sm-type-item span {
    color: var(--sm-muted);
    font-size: 13px;
    line-height: 1.6;
}

.sm-types-visual {
    padding: 20px;
}

.sm-market-box {
    padding: 28px;
    background: var(--sm-navy);
    border-radius: 8px;
    box-shadow: 0 20px 50px rgba(11,31,58,.18);
}

.sm-market-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--sm-white);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.5px;
}

    .sm-market-header i {
        color: var(--sm-gold);
        font-size: 22px;
    }

.sm-chart-placeholder {
    position: relative;
    height: 260px;
    margin: 35px 0;
    border-left: 1px solid rgba(255,255,255,.18);
    border-bottom: 1px solid rgba(255,255,255,.18);
    background-image: linear-gradient( rgba(255,255,255,.06) 1px, transparent 1px ), linear-gradient( 90deg, rgba(255,255,255,.06) 1px, transparent 1px );
    background-size: 50px 50px;
}

.sm-chart-line {
    position: absolute;
    left: 8%;
    bottom: 30px;
    width: 80%;
    height: 150px;
    border-top: 3px solid var(--sm-gold);
    transform: skewY(-25deg);
}

.sm-chart-point {
    position: absolute;
    width: 10px;
    height: 10px;
    background: var(--sm-gold);
    border-radius: 50%;
}

.point-1 {
    left: 20%;
    bottom: 80px;
}

.point-2 {
    left: 40%;
    bottom: 120px;
}

.point-3 {
    left: 61%;
    bottom: 150px;
}

.point-4 {
    left: 82%;
    bottom: 205px;
}

.sm-market-bottom {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

    .sm-market-bottom small,
    .sm-market-bottom strong {
        display: block;
    }

    .sm-market-bottom small {
        color: #9aa8b8;
        font-size: 10px;
        letter-spacing: 1px;
    }

    .sm-market-bottom strong {
        margin-top: 5px;
        color: var(--sm-white);
        font-size: 14px;
    }


/* =========================================================
   APPROACH
========================================================= */

.sm-approach-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.sm-approach-card {
    position: relative;
    padding: 35px 25px;
    background: var(--sm-white);
    border: 1px solid var(--sm-border);
}

    .sm-approach-card > i {
        display: block;
        margin-bottom: 20px;
        color: var(--sm-blue);
        font-size: 28px;
    }

.sm-approach-number {
    position: absolute;
    top: 20px;
    right: 20px;
    color: var(--sm-gold);
    font-size: 12px;
    font-weight: 800;
}

.sm-approach-card h3 {
    margin: 0 0 10px;
    color: var(--sm-navy);
    font-family: "Manrope", sans-serif;
    font-size: 18px;
    font-weight: 800;
}

.sm-approach-card p {
    margin: 0;
    color: var(--sm-muted);
    font-size: 14px;
    line-height: 1.75;
}


/* =========================================================
   RISK
========================================================= */

.sm-risk {
    background: var(--sm-navy);
}

.sm-risk-grid {
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    align-items: center;
    gap: 80px;
}

.sm-risk-content .sm-section-label {
    color: #e5c762;
}

.sm-risk-content h2 {
    margin: 0 0 20px;
    color: var(--sm-white);
    font-family: "Manrope", sans-serif;
    font-size: 40px;
    line-height: 1.25;
    font-weight: 800;
}

.sm-risk-content p {
    color: rgba(255,255,255,.72);
    line-height: 1.8;
}

.sm-risk-list {
    margin-top: 28px;
}

    .sm-risk-list div {
        display: flex;
        align-items: center;
        gap: 12px;
        margin-bottom: 14px;
        color: rgba(255,255,255,.85);
        font-size: 14px;
    }

    .sm-risk-list i {
        color: var(--sm-gold);
    }

.sm-risk-box {
    padding: 45px 35px;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.12);
    border-top: 3px solid var(--sm-gold);
}

.sm-risk-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    background: var(--sm-gold);
    color: var(--sm-navy);
    border-radius: 6px;
    font-size: 24px;
}

.sm-risk-box h3 {
    margin: 0 0 15px;
    color: var(--sm-white);
    font-family: "Manrope", sans-serif;
    font-size: 27px;
    line-height: 1.3;
}

.sm-risk-box p {
    margin: 0;
    color: rgba(255,255,255,.68);
    line-height: 1.75;
    font-size: 14px;
}


/* =========================================================
   WHO CAN INVEST
========================================================= */

.sm-who-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.sm-who-card {
    padding: 35px 30px;
    background: var(--sm-white);
    border: 1px solid var(--sm-border);
    text-align: center;
}

    .sm-who-card > i {
        width: 60px;
        height: 60px;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0 auto 20px;
        background: var(--sm-navy);
        color: var(--sm-gold);
        border-radius: 50%;
        font-size: 21px;
    }

    .sm-who-card h3 {
        margin: 0 0 10px;
        color: var(--sm-navy);
        font-family: "Manrope", sans-serif;
        font-size: 19px;
        font-weight: 800;
    }

    .sm-who-card p {
        margin: 0;
        color: var(--sm-muted);
        font-size: 14px;
        line-height: 1.75;
    }


/* =========================================================
   XFSPL APPROACH
========================================================= */

.sm-xfspl {
    background: #f4f7fb;
}

.sm-xfspl-heading {
    max-width: 650px;
    margin-bottom: 45px;
}

    .sm-xfspl-heading h2 {
        margin: 0 0 15px;
        color: var(--sm-navy);
        font-family: "Manrope", sans-serif;
        font-size: 40px;
        font-weight: 800;
    }

    .sm-xfspl-heading p {
        margin: 0;
        color: var(--sm-muted);
        line-height: 1.8;
    }

.sm-xfspl-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

    .sm-xfspl-grid > div {
        padding: 30px 25px;
        background: var(--sm-white);
        border: 1px solid var(--sm-border);
    }

    .sm-xfspl-grid i {
        display: block;
        margin-bottom: 20px;
        color: var(--sm-gold);
        font-size: 27px;
    }

    .sm-xfspl-grid strong,
    .sm-xfspl-grid span {
        display: block;
    }

    .sm-xfspl-grid strong {
        color: var(--sm-navy);
        font-family: "Manrope", sans-serif;
        font-size: 17px;
    }

    .sm-xfspl-grid span {
        margin-top: 6px;
        color: var(--sm-muted);
        font-size: 13px;
        line-height: 1.6;
    }


/* =========================================================
   CTA
========================================================= */

.sm-cta {
    padding-top: 70px !important;
    padding-bottom: 70px !important;
}

.sm-cta-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    padding: 55px;
    background: var(--sm-navy);
    border-left: 5px solid var(--sm-gold);
}

.sm-cta-content {
    max-width: 700px;
}

    .sm-cta-content .sm-section-label {
        color: #e5c762;
    }

    .sm-cta-content h2 {
        margin: 0 0 15px;
        color: var(--sm-white);
        font-family: "Manrope", sans-serif;
        font-size: 38px;
        font-weight: 800;
    }

    .sm-cta-content p {
        margin: 0;
        color: rgba(255,255,255,.7);
        line-height: 1.75;
    }


/* =========================================================
   DISCLOSURE
========================================================= */

.sm-disclosure {
    padding: 30px 0;
    background: #eef2f6;
    border-top: 1px solid var(--sm-border);
}

.sm-disclosure-inner {
    display: flex;
    align-items: flex-start;
    gap: 18px;
}

    .sm-disclosure-inner > i {
        flex: 0 0 auto;
        color: var(--sm-blue);
        font-size: 22px;
        margin-top: 2px;
    }

    .sm-disclosure-inner strong {
        display: block;
        margin-bottom: 7px;
        color: var(--sm-navy);
        font-size: 14px;
        font-weight: 800;
    }

    .sm-disclosure-inner p {
        margin: 0;
        color: var(--sm-muted);
        font-size: 12px;
        line-height: 1.7;
    }


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1100px) {

    .sm-hero-content h1 {
        font-size: 48px;
    }

    .sm-intro-grid,
    .sm-types-grid,
    .sm-risk-grid {
        gap: 45px;
    }

    .sm-process-grid,
    .sm-benefits-grid,
    .sm-approach-grid,
    .sm-xfspl-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}


@media (max-width: 900px) {

    .stock-market-page .section-space {
        padding: 70px 0;
    }

    .sm-intro-grid,
    .sm-types-grid,
    .sm-risk-grid {
        grid-template-columns: 1fr;
    }

    .sm-intro-image {
        max-width: 700px;
        margin: 0 auto;
        width: 100%;
    }

    .sm-types-visual {
        max-width: 650px;
        width: 100%;
        margin: 0 auto;
    }

    .sm-info-grid,
    .sm-who-grid {
        grid-template-columns: 1fr 1fr;
    }

    .sm-cta-box {
        align-items: flex-start;
        flex-direction: column;
    }
}


@media (max-width: 650px) {

    .stock-market-page .section-space {
        padding: 55px 0;
    }

    .sm-hero {
        min-height: 620px;
    }

    .sm-hero-content {
        padding: 60px 0;
    }

        .sm-hero-content h1 {
            font-size: 38px;
        }

        .sm-hero-content p {
            font-size: 15px;
        }

    .sm-hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .sm-btn {
        width: 100%;
    }

    .sm-heading-center h2,
    .sm-intro-content h2,
    .sm-types-content h2,
    .sm-risk-content h2 {
        font-size: 31px;
    }

    .sm-info-grid,
    .sm-process-grid,
    .sm-benefits-grid,
    .sm-approach-grid,
    .sm-who-grid,
    .sm-xfspl-grid {
        grid-template-columns: 1fr;
    }

    .sm-intro-image {
        min-height: 350px;
    }

        .sm-intro-image img {
            height: 350px;
        }

    .sm-floating-card {
        right: 12px;
        bottom: 18px;
    }

    .sm-market-box {
        padding: 20px;
    }

    .sm-chart-placeholder {
        height: 210px;
    }

    .sm-cta-box {
        padding: 35px 25px;
    }

    .sm-cta-content h2 {
        font-size: 30px;
    }

    .sm-disclosure-inner {
        flex-direction: column;
        gap: 10px;
    }
}


@media (max-width: 420px) {

    .sm-hero-content h1 {
        font-size: 33px;
    }

    .sm-badge {
        font-size: 10px;
    }

    .sm-floating-card {
        min-width: 200px;
    }
}
