@import url('../global-typography.css');

:root {
    --teal: #0A919B;
    --black: #0d0d0d;
    --white: #ffffff;
    --gray: #f2f2f2;

    /* --- Spacing --- */
    --section-padding: 120px 8%;
    --section-padding-mobile: 80px 5%;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--black);
    color: var(--white);
    font-family: 'Plus Jakarta Sans', sans-serif;
    transition: background-color 0.6s ease, color 0.6s ease;
    overflow-x: hidden;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 8%;
}

.label-mono {
    font-family: monospace;
    letter-spacing: 3px;
    color: var(--teal);
    display: block;
    margin-bottom: 20px;
    font-size: 12.8px;
}

.teal-text {
    color: var(--teal);
}

/* SECTION THEMES */
body.theme-white {
    background-color: var(--white);
    color: var(--black);
}

body.theme-black {
    background-color: var(--black);
    color: var(--white);
}

body.theme-teal {
    background-color: var(--teal);
    color: var(--white);
}

body.theme-gray {
    background-color: var(--gray);
    color: var(--black);
}

[data-theme="white"] {
    background-color: var(--white);
    color: var(--black);
}

[data-theme="black"] {
    background-color: var(--black);
    color: var(--white);
}

[data-theme="teal"] {
    background-color: var(--teal);
    color: var(--white);
}

[data-theme="gray"] {
    background-color: var(--gray);
    color: var(--black);
}

.section {
    padding: var(--section-padding);
}

/* HERO */
.hero-sec {
    height: 100vh;
    display: flex;
    align-items: center;
    text-align: center;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: min(100%, 700px);
    margin: 0 auto;
}

.reveal-text {
    font-size: clamp(56px, 9vw, 128px);
    font-weight: 800;
    line-height: 0.85;
    letter-spacing: -2px;
}

.hero-desc {
    font-size: 22.4px;
    max-width: 700px;
    margin: 40px auto 0;
    opacity: 0.8;
}

/* GRID LAYOUTS */
.grid-dual {
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: 80px;
}

.sticky-side {
    position: sticky;
    top: 120px;
    height: fit-content;
}

.sec-title {
    font-size: 64px;
    font-weight: 800;
    line-height: 0.9;
}

.lead-text {
    font-size: 44.8px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 40px;
}

.sub-text {
    font-size: 19.2px;
    line-height: 1.6;
    opacity: 0.7;
    max-width: 700px;
}

.trust-bar {
    margin-top: 36px;
    padding: 24px 32px;
    background: rgba(18, 121, 147, 0.1);
    border-left: 4px solid var(--teal);
}

.trust-badge {
    font-weight: 800;
    font-size: 24px;
    margin-bottom: 10px;
}

.trust-bar p {
    margin-bottom: 0;
}

/* HORIZONTAL SCROLL */
.capabilities-horizontal {
    overflow: hidden;
}

.pin-viewport {
    height: 100vh;
    display: flex;
    align-items: center;
}

.horizontal-track {
    display: flex;
    padding-left: 5vw;
    gap: 4vw;
    will-change: transform;
}

.h-panel {
    width: 500px;
    flex-shrink: 0;
}

.h-panel.intro {
    width: 400px;
}

.h-panel.intro h2 {
    font-size: 80px;
    color: var(--white);
}

.cap-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    color: var(--white);
    padding: 40px;
    height: 550px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 15px;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    backdrop-filter: blur(10px);
}

.cap-card.dark {
    background: rgba(255, 255, 255, 0.03);
    color: var(--white);
}

.cap-head {
    font-size: 32px;
    font-weight: 800;
    color: var(--teal);
    opacity: 0.6;
    margin-bottom: 24px;
}

.cap-card h4 {
    font-size: 40px;
    margin-bottom: 20px;
}

.cap-card p {
    color: #999;
}

.cap-card:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: var(--teal);
    transform: translateY(-10px);
}

.cap-card:hover p {
    color: #DDDBDD;
}

/* DIFFERENCE STACK */
.diff-stack {
    margin-top: 60px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.diff-item {
    padding: 40px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.diff-item.highlight {
    color: var(--teal);
}

.diff-item.highlight p {
    color: var(--black);
}

.diff-item h5 {
    font-size: 28.8px;
    font-weight: 800;
}

.diff-item p {
    font-size: 16px;
    opacity: 0.7;
    max-width: 350px;
}

/* CTA */
.cta-box {
    text-align: center;
}

.cta-title {
    font-size: clamp(48px, 10vw, 112px);
    font-weight: 800;
    line-height: 0.9;
    margin-bottom: 40px;
}

.cta-title-link {
    color: inherit;
    display: inline-block;
    text-decoration: none;
}

.outline {
    -webkit-text-stroke: 0;
    color: var(--black);
}

.btn-group {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 50px;
}

.btn {
    padding: 22px 50px;
    text-decoration: none;
    font-weight: 800;
    text-transform: uppercase;
    transition: 0.3s;
}

.btn-black {
    background: var(--black);
    color: var(--white);
}

.btn-teal {
    background: var(--teal);
    color: var(--white);
}

.btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

@media (max-width: 1024px) {
    .grid-dual {
        grid-template-columns: 1fr;
    }

    .h-panel {
        width: 85vw;
    }

}

/* Hide Footer CTA on About Page */
.footer-cta-hero {
    display: none !important;
}

/* =====================================================
   MOBILE RESPONSIVENESS
   ===================================================== */

@media (max-width: 1024px) {
    .section {
        padding: var(--section-padding-mobile);
    }

    .grid-dual {
        grid-template-columns: 1fr; /* Stack the sticky side and content side */
        gap: 40px;
    }

    .sticky-side {
        position: relative; /* Remove sticky on mobile to prevent overlap */
        top: 0;
    }

    .sec-title {
        font-size: 48px;
    }

    .lead-text {
        font-size: 32px;
    }

}

@media (max-width: 768px) {
    /* HERO ADJUSTMENTS */
    .reveal-text {
        font-size: 64px; /* Lowering the scale for small phones */
        line-height: 1;
    }

    .hero-desc {
        font-size: 17.6px;
    }

    /* HORIZONTAL SCROLL ADJUSTMENTS */
    .pin-viewport {
        display: block;
        height: auto;
        min-height: 0;
        padding: 72px 5%;
    }

    .horizontal-track {
        flex-direction: column;
        gap: 20px;
        padding: 0;
    }

    .h-panel {
        width: 100%;
    }

    .h-panel.intro h2 {
        font-size: 48px;
        margin-bottom: 12px;
    }

    .cap-card {
        min-height: 0;
        height: auto;
        padding: 30px 24px;
        border-radius: 16px;
    }

    .cap-head {
        font-size: 28px;
        margin-bottom: 18px;
    }

    .cap-card h4 {
        font-size: 28.8px;
        margin-bottom: 12px;
    }

    .cap-card p {
        margin-bottom: 0;
    }

    /* DIFFERENCE STACK (Partners) */
    .diff-item {
        flex-direction: column; /* Stack Title and Desc */
        align-items: flex-start;
        gap: 10px;
        padding: 28px 0;
    }

    .diff-item h5 {
        font-size: 22.4px;
    }

    .diff-item p {
        max-width: 100%;
    }

    /* CTA BOX */
    .cta-title {
        font-size: 56px;
    }

    .btn-group {
        flex-direction: column; /* Stack buttons vertically */
        width: 100%;
    }

    .btn {
        width: 100%;
        text-align: center;
        padding: 18px 30px;
    }
    
    .trust-bar {
        padding: 22px 20px;
    }

}

@media (max-width: 480px) {
    .reveal-text {
        font-size: 51.2px;
    }

    .sec-title {
        font-size: 40px;
    }

    .lead-text {
        font-size: 25.6px;
    }
}
/* --- GLOBAL MOBILE RESPONSIVENESS (CONSISTENCY FIX) --- */
@media (max-width: 768px) {
    h1, .hero-title, .reveal-text, .cta-large-text, .cta-huge, .massive-title, .cap-head {
        font-size: clamp(40px, 8vw, 56px) !important;
        line-height: var(--lh-display) !important;
    }
    h2, .sec-title, .main-title, .client-intro-mini h2 {
        font-size: clamp(32px, 6vw, 40px) !important;
        line-height: var(--lh-heading) !important;
    }
    h3, .lead-text, .card-inner h2, .industry-info h3 {
        font-size: clamp(24px, 5vw, 28.8px) !important;
        line-height: var(--lh-subheading) !important;
    }
    p, .sub-statement, .sub-text, .hero-desc, .hero-sub {
        font-size: 16px !important;
        line-height: var(--lh-p) !important;
    }
    /* Section Padding Consistency */
    section, .section, .client-perfect-section, .industry-section, .simple-trust, .services-modern, .testimonial-stage, .insights-modern, .stack-section, .final-cta, .site-footer-premium, .site-footer { 
        padding-top: 60px !important;
        padding-bottom: 60px !important;
        padding-left: 5% !important;
        padding-right: 5% !important;
    }
}
