/* ==========================================================================
   HOME PAGE — Page-Specific Styles
   ========================================================================== */

/* --------------------------------------------------------------------------
   HERO
   -------------------------------------------------------------------------- */
.hero-section {
    position: relative;
    overflow: hidden;
    min-height: 680px;
    display: flex;
    align-items: center;
}

.hero-motif {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.hero-motif-svg {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-container {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 64px;
    align-items: center;
    padding-top: 80px;
    padding-bottom: 80px;
}

.hero-content .hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* Hero System Diagram */
.hero-diagram {
    display: flex;
    justify-content: center;
}

.sys-diagram {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    padding: 28px 32px;
    background: rgba(255, 255, 255, 0.04);
    min-width: 220px;
}

.sys-step {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    width: 100%;
}

.sys-step:last-child {
    border-bottom: none;
}

.sys-tri {
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-bottom: 10px solid rgba(5, 68, 252, 0.3);
    flex-shrink: 0;
    transition: border-bottom-color 0.3s ease;
}

.sys-step--active .sys-tri {
    border-bottom-color: #0544FC;
}

.sys-label {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.5);
    transition: color 0.3s ease;
}

.sys-step--active .sys-label {
    color: var(--white);
}

.sys-arrow {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.15);
    padding: 2px 0 2px 18px;
}

/* --------------------------------------------------------------------------
   PROBLEM GRID
   -------------------------------------------------------------------------- */
.problem-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px 56px;
}

.problem-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.problem-item h3 {
    font-size: 17px;
    margin-bottom: 8px;
}

.problem-item p {
    font-size: 14px;
    line-height: 1.65;
}

/* --------------------------------------------------------------------------
   PROCESS FLOW (VERTICAL)
   -------------------------------------------------------------------------- */
.process-flow-v .flow-steps {
    display: flex;
    flex-direction: column;
    max-width: 800px;
}

.flow-step {
    display: flex;
    gap: 28px;
    align-items: flex-start;
}

.flow-step-num {
    font-size: 13px;
    font-weight: 700;
    color: var(--blue-600);
    letter-spacing: 0.05em;
    min-width: 28px;
    padding-top: 3px;
}

.flow-step-body {
    flex: 1;
    padding-bottom: 32px;
}

.flow-step-body h3 {
    font-size: 18px;
    color: var(--slate-900);
    margin-bottom: 8px;
}

.flow-step-body p {
    font-size: 15px;
    color: var(--slate-600, var(--slate-700));
    max-width: 540px;
}

.flow-connector {
    width: 1px;
    height: 20px;
    background: var(--slate-200);
    margin-left: 13px;
}

/* --------------------------------------------------------------------------
   FLAGSHIP SOLUTION
   -------------------------------------------------------------------------- */
.flagship-solution {
    display: flex;
    align-items: flex-start;
    gap: 24px;
    padding: 36px 40px;
    border: 2px solid var(--slate-200);
    border-radius: 4px;
    background: var(--white);
    transition: border-color 200ms ease;
}

.flagship-solution:hover {
    border-color: var(--blue-200);
}

.flagship-badge {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--blue-600);
    background: var(--blue-50);
    border: 1px solid var(--blue-200);
    border-radius: 2px;
    padding: 4px 10px;
    white-space: nowrap;
    flex-shrink: 0;
    margin-top: 6px;
}

.flagship-body {
    flex: 1;
}

/* --------------------------------------------------------------------------
   INTERNATIONAL LAYOUT
   -------------------------------------------------------------------------- */
.intl-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
}

.intl-markets {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.market-tag {
    font-size: 13px;
    font-weight: 600;
    color: var(--slate-700);
    border: 1.5px solid var(--slate-200);
    border-radius: 2px;
    padding: 6px 14px;
    display: inline-block;
}

/* --------------------------------------------------------------------------
   FAQ LAYOUT
   -------------------------------------------------------------------------- */
.faq-layout {
    display: grid;
    grid-template-columns: 340px 1fr;
    gap: 64px;
    align-items: start;
}

.faq-header {
    position: sticky;
    top: 90px;
}

.faq-list {
    /* Full width of right column */
}

/* --------------------------------------------------------------------------
   CTA SECTION
   -------------------------------------------------------------------------- */
.cta-section {
    position: relative;
}

.cta-inner .cta-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* --------------------------------------------------------------------------
   RESPONSIVE OVERRIDES
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
    }

    .hero-diagram {
        display: none;
    }

    .faq-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .faq-header {
        position: static;
    }

    .intl-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .flagship-solution {
        flex-direction: column;
        gap: 16px;
    }
}

@media (max-width: 768px) {
    .hero-container {
        padding-top: 56px;
        padding-bottom: 56px;
    }

    .problem-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .flagship-solution {
        padding: 24px;
    }

    .cta-inner .cta-actions {
        flex-direction: column;
        align-items: flex-start;
    }
}