/* ==========================================
   Homepage — 金顺通达 Brutalist
   ========================================== */

main { padding-top: 64px; }

/* ========= Hero: Split layout ========= */
.hero {
    min-height: calc(100vh - 64px);
    display: flex;
    align-items: center;
    padding: var(--space-2xl) 0 var(--space-xl);
    background: var(--bg-primary);
    border-bottom: 3px solid var(--border);
}

.hero-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--space-md);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    align-items: center;
}

.hero-content { max-width: 540px; }

.hero-pill {
    display: inline-flex;
    align-items: center;
    padding: 8px 18px;
    font-size: 13px;
    font-weight: 700;
    color: var(--accent);
    background: var(--bg-primary);
    border: 2px solid var(--accent);
    margin-bottom: var(--space-md);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.hero h1 {
    font-family: var(--font-heading);
    font-size: clamp(40px, 5.5vw, 64px);
    font-weight: 900;
    line-height: 1;
    color: var(--text-primary);
    margin-bottom: var(--space-sm);
    letter-spacing: -0.03em;
    text-transform: uppercase;
}

.hero-desc {
    font-size: 18px;
    font-weight: 500;
    color: var(--text-body);
    line-height: 1.7;
    margin-bottom: var(--space-lg);
}

.hero-buttons {
    display: flex;
    gap: 14px;
    margin-bottom: var(--space-md);
}

.hero-badges {
    display: flex;
    gap: var(--space-md);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-muted);
}

.hero-badge i {
    font-size: 14px;
    color: var(--accent);
}

/* Geometric visual placeholder */
.hero-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}

.geo-grid {
    position: relative;
    width: 100%;
    aspect-ratio: 1;
    max-width: 440px;
}

.geo-shape {
    position: absolute;
}

.geo-circle {
    width: 180px;
    height: 180px;
    border: 3px solid var(--border);
    border-radius: 0;
    top: 10%;
    right: 5%;
}

.geo-rect {
    width: 140px;
    height: 100px;
    background: var(--accent);
    top: 5%;
    left: 10%;
}

.geo-dot-grid {
    display: grid;
    grid-template-columns: repeat(4, 10px);
    gap: 12px;
    bottom: 25%;
    right: 12%;
}

.geo-dot-grid span {
    width: 10px;
    height: 10px;
    background: var(--border);
}

.geo-line-h {
    width: 120px;
    height: 3px;
    background: var(--accent);
    top: 55%;
    left: 5%;
}

.geo-line-v {
    width: 3px;
    height: 100px;
    background: var(--border-light);
    bottom: 10%;
    left: 30%;
}

.geo-square {
    width: 60px;
    height: 60px;
    background: var(--bg-subtle);
    border: 3px solid var(--border);
    bottom: 15%;
    left: 15%;
}

.geo-ring {
    width: 80px;
    height: 80px;
    border: 3px solid var(--border);
    bottom: 5%;
    right: 25%;
}

.geo-bar-chart {
    display: flex;
    align-items: flex-end;
    gap: 6px;
    height: 80px;
    top: 40%;
    left: 35%;
}

.geo-bar-chart span {
    width: 14px;
    background: var(--accent);
    opacity: 0.3;
}

/* ========= Stats band ========= */
.stats-band {
    padding: 0 0 var(--space-xl);
    background: var(--bg-primary);
}

.stats-band-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--space-md);
}

.stats-card {
    background: var(--bg-primary);
    border: 3px solid var(--border);
    padding: var(--space-lg) var(--space-md);
}

.stats-card-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
}

.stat-item {
    text-align: center;
    position: relative;
    padding: var(--space-sm) 0;
}

.stat-item + .stat-item {
    border-left: 2px solid var(--border-light);
}

.stat-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 48px;
    font-weight: 900;
    color: var(--text-primary);
    line-height: 1;
    margin-bottom: 8px;
    letter-spacing: -0.03em;
}

.stat-text {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

/* ========= Capabilities: 3-column grid ========= */
.capabilities {
    padding: var(--space-3xl) 0;
    background: var(--bg-subtle);
    border-top: 3px solid var(--border);
    border-bottom: 3px solid var(--border);
}

.capabilities-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--space-md);
}

.capabilities-head {
    text-align: center;
    margin-bottom: var(--space-xl);
}

.capabilities-head .section-description {
    margin: 0 auto;
}

.cap-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
}

.cap-card {
    background: var(--bg-primary);
    border: 3px solid var(--border);
    padding: var(--space-md);
    transition: background 0.15s ease;
    display: flex;
    flex-direction: column;
}

.cap-card:hover {
    background: var(--bg-inverse);
    color: var(--text-inverse);
}

.cap-card:hover h3,
.cap-card:hover .cap-badge {
    color: var(--accent);
}

.cap-card:hover p {
    color: var(--text-inverse);
}

.cap-icon-wrap {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent);
    margin-bottom: var(--space-sm);
    color: var(--text-inverse);
    font-size: 20px;
}

.cap-card h3 {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 900;
    color: var(--text-primary);
    margin-bottom: 10px;
    text-transform: uppercase;
}

.cap-card p {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-body);
    line-height: 1.7;
    flex: 1;
}

.cap-badge {
    display: inline-block;
    margin-top: 14px;
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 900;
    color: var(--accent);
    padding: 6px 14px;
    border: 2px solid var(--accent);
    align-self: flex-start;
    text-transform: uppercase;
}

/* ========= Trust: 2-column ========= */
.trust {
    padding: var(--space-3xl) 0;
    background: var(--bg-primary);
    border-bottom: 3px solid var(--border);
}

.trust-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--space-md);
}

.trust-head {
    text-align: center;
    margin-bottom: var(--space-xl);
}

.trust-body {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: var(--space-lg);
    align-items: start;
}

.trust-testimonial {
    background: var(--bg-subtle);
    border: 3px solid var(--border);
    padding: var(--space-lg);
    position: relative;
}

.quote-mark {
    font-family: var(--font-heading);
    font-size: 96px;
    line-height: 1;
    color: var(--accent);
    position: absolute;
    top: 12px;
    left: 16px;
}

.trust-testimonial blockquote {
    font-size: 18px;
    font-weight: 500;
    color: var(--text-body);
    line-height: 1.85;
    margin-bottom: var(--space-md);
    padding-top: var(--space-xl);
    position: relative;
}

.quote-author {
    display: flex;
    align-items: center;
    gap: 14px;
}

.quote-avatar {
    width: 48px;
    height: 48px;
    background: var(--bg-inverse);
    border: 2px solid var(--border);
    flex-shrink: 0;
}

.quote-meta {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.quote-name {
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 900;
    color: var(--text-primary);
    text-transform: uppercase;
}

.quote-role {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
}

.trust-points {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.trust-point {
    display: flex;
    gap: var(--space-sm);
    align-items: flex-start;
}

.trust-point-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent);
    color: var(--text-inverse);
    font-size: 18px;
    flex-shrink: 0;
}

.trust-point-text h3 {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 900;
    color: var(--text-primary);
    margin-bottom: 6px;
    text-transform: uppercase;
}

.trust-point-text p {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-body);
    line-height: 1.65;
}

/* ========= Ecosystem: 4x3 logo grid ========= */
.ecosystem {
    padding: var(--space-3xl) 0;
    background: var(--bg-primary);
    border-bottom: 3px solid var(--border);
}

.ecosystem-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--space-md);
}

.ecosystem-head {
    text-align: center;
    margin-bottom: var(--space-xl);
}

.ecosystem-head .section-description {
    margin: 0 auto;
}

.platform-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2px;
    background: var(--border-light);
    border: 3px solid var(--border);
    margin-bottom: var(--space-lg);
}

.platform-cell {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: var(--space-md) var(--space-sm);
    background: var(--bg-primary);
    transition: background 0.1s ease;
    cursor: default;
    min-height: 100px;
}

.platform-cell:hover {
    background: var(--bg-inverse);
}

.platform-cell:hover i,
.platform-cell:hover span {
    color: var(--text-inverse);
}

.platform-cell i {
    font-size: 26px;
    color: var(--text-muted);
}

.platform-cell span {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-body);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.ecosystem-footnote {
    text-align: center;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-muted);
}

/* ========= Journey: Horizontal steps ========= */
.journey {
    padding: var(--space-3xl) 0;
    background: var(--bg-subtle);
    border-top: 3px solid var(--border);
    border-bottom: 3px solid var(--border);
}

.journey-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--space-md);
}

.journey-head {
    text-align: center;
    margin-bottom: var(--space-xl);
}

.journey-head .section-description {
    margin: 0 auto;
}

.steps-track {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-md);
    position: relative;
    padding-top: 32px;
}

.steps-line {
    position: absolute;
    top: 48px;
    left: calc(12.5% + 24px);
    right: calc(12.5% + 24px);
    height: 3px;
    background: var(--border);
}

.step-col {
    text-align: center;
    position: relative;
}

.step-circle {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-sm);
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 900;
    background: var(--bg-primary);
    border: 3px solid var(--accent);
    color: var(--accent);
    position: relative;
    z-index: 1;
}

.step-circle-final {
    background: var(--accent);
    color: var(--text-inverse);
}

.step-col h3 {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 900;
    color: var(--text-primary);
    margin-bottom: 8px;
    text-transform: uppercase;
}

.step-col p {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-body);
    line-height: 1.65;
    max-width: 240px;
    margin: 0 auto;
}

/* ========= Bottom CTA ========= */
.bottom-cta {
    padding: var(--space-2xl) 0;
    background: var(--bg-inverse);
    border-top: 3px solid var(--border);
}

.bottom-cta-inner {
    max-width: 600px;
    margin: 0 auto;
    padding: 0 var(--space-md);
    text-align: center;
}

.bottom-cta h2 {
    font-family: var(--font-heading);
    font-size: clamp(32px, 4vw, 44px);
    font-weight: 900;
    color: var(--text-inverse);
    margin-bottom: 10px;
    text-transform: uppercase;
}

.bottom-cta p {
    font-size: 17px;
    font-weight: 500;
    color: #aaa;
    margin-bottom: var(--space-md);
}

.bottom-cta .btn-primary {
    background: var(--accent);
    color: var(--text-inverse);
    border-color: var(--accent);
}

.bottom-cta .btn-primary:hover {
    background: var(--accent-hover);
}

/* ========= Responsive ========= */
@media (max-width: 1024px) {
    .cap-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero {
        min-height: auto;
        padding: var(--space-xl) 0 var(--space-lg);
    }

    .hero-container {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }

    .hero-visual {
        order: -1;
    }

    .geo-grid {
        max-width: 280px;
    }

    .hero-content {
        text-align: center;
        max-width: 100%;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-badges {
        justify-content: center;
        flex-wrap: wrap;
    }

    .stats-card-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0;
    }

    .stat-item:nth-child(3) {
        border-left: none;
    }

    .cap-grid {
        grid-template-columns: 1fr;
    }

    .trust-body {
        grid-template-columns: 1fr;
    }

    .platform-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .steps-track {
        grid-template-columns: 1fr;
        gap: 0;
        padding-top: 0;
        padding-left: 56px;
    }

    .steps-line {
        top: 0;
        bottom: 0;
        left: 22px;
        right: auto;
        width: 3px;
        height: auto;
    }

    .step-col {
        text-align: left;
        padding-bottom: var(--space-lg);
    }

    .step-col:last-child {
        padding-bottom: 0;
    }

    .step-circle {
        position: absolute;
        left: -56px;
        top: 0;
        margin: 0;
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .step-col p {
        max-width: 100%;
    }

    .stat-number {
        font-size: 36px;
    }
}

@media (max-width: 480px) {
    .platform-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stats-card-grid {
        grid-template-columns: 1fr 1fr;
    }

    .stat-item + .stat-item {
        border-left: none;
    }
}
