/* =====================================
   ABC ANALYTICS
   GLOBAL STYLES
===================================== */

:root {

    --dark: #111827;
    --dark-2: #1f2937;

    --text: #27303f;
    --muted: #687385;

    --light: #f5f6f7;
    --white: #ffffff;

    --accent: #1f5eff;

    --border: #e3e6ea;

    --max-width: 1180px;
}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


html {
    scroll-behavior: smooth;
}


body {

    font-family:
        Arial,
        Helvetica,
        sans-serif;

    color: var(--text);

    background: var(--white);

    line-height: 1.7;

    font-size: 16px;
}


img {
    max-width: 100%;
}


a {

    color: inherit;

    text-decoration: none;
}


.container {

    width: min(
        calc(100% - 48px),
        var(--max-width)
    );

    margin: auto;
}


/* =====================================
   HEADER
===================================== */

.site-header {

    position: sticky;

    top: 0;

    z-index: 1000;

    background:
        rgba(255,255,255,0.96);

    border-bottom:
        1px solid var(--border);
}


.nav-container {

    min-height: 82px;

    display: flex;

    align-items: center;

    justify-content: space-between;
}


.logo img {

    width: 150px;

    height: auto;
}


.main-nav {

    display: flex;

    gap: 32px;

    align-items: center;
}


.main-nav a {

    font-size: 14px;

    font-weight: 600;

    color: var(--text);

    transition: 0.2s;
}


.main-nav a:hover,
.main-nav a.active {

    color: var(--accent);
}


.menu-toggle {

    display: none;

    border: 0;

    background: transparent;

    font-size: 28px;

    cursor: pointer;
}


/* =====================================
   HERO
===================================== */

.hero {

    padding:
        110px 0
        100px;

    background:
        linear-gradient(
            135deg,
            #f7f8fa,
            #ffffff
        );
}


.hero-grid {

    display: grid;

    grid-template-columns:
        1.15fr
        0.85fr;

    gap: 80px;

    align-items: center;
}


.eyebrow {

    font-size: 12px;

    font-weight: 700;

    letter-spacing: 2px;

    color: var(--accent);

    margin-bottom: 20px;
}


h1 {

    font-size:
        clamp(48px, 7vw, 82px);

    line-height: 1.03;

    letter-spacing: -3px;

    color: var(--dark);

    margin-bottom: 28px;
}


h2 {

    font-size:
        clamp(34px, 5vw, 56px);

    line-height: 1.1;

    letter-spacing: -2px;

    color: var(--dark);

    margin-bottom: 24px;
}


h3 {

    font-size: 24px;

    color: var(--dark);

    margin-bottom: 14px;
}


.hero-text {

    font-size: 20px;

    color: var(--muted);

    max-width: 650px;

    margin-bottom: 34px;
}


.hero-buttons {

    display: flex;

    gap: 15px;

    flex-wrap: wrap;
}


/* =====================================
   BUTTONS
===================================== */

.button {

    display: inline-block;

    padding:
        14px 22px;

    font-size: 14px;

    font-weight: 700;

    transition:
        transform 0.2s,
        background 0.2s;
}


.button:hover {

    transform: translateY(-2px);
}


.button-primary {

    background: var(--dark);

    color: white;
}


.button-primary:hover {

    background: var(--accent);
}


.button-secondary {

    border:
        1px solid var(--border);

    background: white;
}


.button-light {

    background: white;

    color: var(--dark);
}


/* =====================================
   HERO VISUAL
===================================== */

.hero-visual {

    min-height: 430px;

    display: flex;

    align-items: center;

    justify-content: center;

    background:
        #e9edf3;
}


.analytics-card {

    width: 75%;

    padding: 45px;

    background: var(--dark);

    color: white;

    box-shadow:
        25px 25px 0
        var(--accent);
}


.analytics-card span {

    font-size: 11px;

    letter-spacing: 2px;

    color: #9ca3af;
}


.analytics-card strong {

    display: block;

    font-size: 29px;

    line-height: 1.2;

    margin: 30px 0;
}


.analytics-card small {

    color: #c7ccd5;
}


.analytics-line {

    height: 2px;

    background: var(--accent);

    margin-top: 18px;
}


/* =====================================
   SECTIONS
===================================== */

.section {

    padding:
        110px 0;
}


.section-light {

    background: var(--light);
}


.section-dark {

    background: var(--dark);

    color: white;
}


.section-dark h2,
.section-dark h3 {

    color: white;
}


.two-column {

    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap: 100px;
}


.two-column p {

    margin-bottom: 22px;

    color: var(--muted);
}


.section-heading {

    max-width: 750px;

    margin-bottom: 60px;
}


/* =====================================
   SERVICE CARDS
===================================== */

.cards {

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 20px;
}


.service-card {

    background: white;

    padding: 38px;

    border:
        1px solid var(--border);

    transition:
        transform 0.2s,
        box-shadow 0.2s;
}


.service-card:hover {

    transform: translateY(-6px);

    box-shadow:
        0 20px 40px
        rgba(0,0,0,0.08);
}


.card-number {

    color: var(--accent);

    font-size: 13px;

    font-weight: bold;
}


.service-card p {

    color: var(--muted);

    margin-bottom: 25px;
}


.service-card a {

    color: var(--accent);

    font-size: 14px;

    font-weight: bold;
}


/* =====================================
   PAGE HERO
===================================== */

.page-hero {

    padding:
        100px 0;

    background: var(--light);
}


.page-hero h1 {

    max-width: 900px;

    margin-bottom: 0;
}


/* =====================================
   PROCESS
===================================== */

.process-grid {

    margin-top: 60px;

    display: grid;

    grid-template-columns:
        repeat(4,1fr);

    gap: 35px;
}


.process-grid span {

    color: #9ca3af;

    font-size: 13px;
}


.process-grid p {

    color: #c3c8d0;
}


/* =====================================
   SERVICE LIST
===================================== */

.service-list {

    display: flex;

    flex-direction: column;

    gap: 0;
}


.service-large {

    display: grid;

    grid-template-columns:
        100px 1fr;

    gap: 50px;

    padding:
        60px 0;

    border-bottom:
        1px solid var(--border);
}


.service-large > span {

    font-size: 14px;

    color: var(--accent);

    font-weight: bold;
}


.service-large p {

    max-width: 750px;

    color: var(--muted);

    margin-bottom: 20px;
}


.service-large ul {

    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap: 8px;

    padding-left: 20px;

    color: var(--muted);
}


/* =====================================
   INSIGHTS
===================================== */

.insight-grid {

    display: grid;

    grid-template-columns:
        repeat(3,1fr);

    gap: 20px;
}


.insight-card {

    padding: 35px;

    border:
        1px solid var(--border);

    min-height: 350px;

    display: flex;

    flex-direction: column;
}


.insight-card span {

    font-size: 11px;

    letter-spacing: 1.5px;

    color: var(--accent);

    font-weight: bold;
}


.insight-card h2 {

    font-size: 30px;

    letter-spacing: -1px;

    margin-top: 20px;
}


.insight-card p {

    color: var(--muted);

    margin-bottom: 25px;
}


.insight-card a {

    margin-top: auto;

    color: var(--accent);

    font-weight: bold;
}


/* =====================================
   CONTACT
===================================== */

.contact-grid {

    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap: 100px;
}


.contact-details {

    display: grid;

    gap: 30px;
}


.contact-details span {

    font-size: 11px;

    font-weight: bold;

    letter-spacing: 1.5px;

    color: var(--accent);
}


.contact-details p {

    margin-top: 7px;
}


.contact-details a {

    color: var(--accent);
}


.social-links {

    display: flex;

    gap: 20px;
}


/* =====================================
   CTA
===================================== */

.cta {

    background: var(--accent);

    color: white;

    padding:
        80px 0;
}


.cta h2 {

    color: white;

    max-width: 700px;
}


.cta-inner {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 40px;
}


/* =====================================
   FOOTER
===================================== */

.site-footer {

    background: var(--dark);

    color: white;

    padding:
        65px 0
        25px;
}


.footer-grid {

    display: grid;

    grid-template-columns:
        2fr 1fr 1fr;

    gap: 50px;

    padding-bottom: 50px;
}


.footer-logo {

    width: 140px;

    filter:
        brightness(0)
        invert(1);
}


.footer-grid p {

    color: #9ca3af;

    margin-top: 15px;
}


.footer-grid h4 {

    margin-bottom: 15px;
}


.footer-grid a {

    display: block;

    color: #b9bec7;

    margin-bottom: 8px;

    font-size: 14px;
}


.footer-bottom {

    border-top:
        1px solid #374151;

    padding-top: 20px;

    display: flex;

    justify-content: space-between;

    color: #8f96a1;

    font-size: 13px;
}


/* =====================================
   RESPONSIVE
===================================== */

@media (max-width: 850px) {

    .main-nav {

        display: none;

        position: absolute;

        top: 82px;

        left: 0;

        width: 100%;

        background: white;

        padding: 25px;

        flex-direction: column;

        border-bottom:
            1px solid var(--border);
    }


    .main-nav.open {

        display: flex;
    }


    .menu-toggle {

        display: block;
    }


    .hero-grid,
    .two-column,
    .contact-grid {

        grid-template-columns: 1fr;

        gap: 50px;
    }


    .hero {

        padding-top: 80px;
    }


    .cards,
    .insight-grid {

        grid-template-columns: 1fr;
    }


    .process-grid {

        grid-template-columns:
            repeat(2,1fr);
    }


    .cta-inner {

        flex-direction: column;

        align-items: flex-start;
    }


    .footer-grid {

        grid-template-columns: 1fr 1fr;
    }

}


@media (max-width: 550px) {

    .container {

        width:
            calc(100% - 32px);
    }


    h1 {

        letter-spacing: -2px;
    }


    .hero-visual {

        min-height: 320px;
    }


    .analytics-card {

        width: 82%;

        padding: 28px;
    }


    .service-large {

        grid-template-columns: 1fr;

        gap: 15px;
    }


    .service-large ul {

        grid-template-columns: 1fr;
    }


    .process-grid {

        grid-template-columns: 1fr;
    }


    .footer-grid {

        grid-template-columns: 1fr;
    }


    .footer-bottom {

        flex-direction: column;

        gap: 10px;
    }

}