/* =========================================================
   TRÁFEGO PAGO — KLYVE
========================================================= */

.traffic-page {
    background: #0b0b0b;
}


/* =========================================================
   HERO
========================================================= */

.traffic-hero {
    position: relative;
    min-height: calc(100vh - 90px);
    padding: 100px 0 120px;
    overflow: hidden;
}


/* =========================================================
   ELEMENTOS VISUAIS
========================================================= */

.traffic-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            rgba(255, 255, 255, 0.025) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.025) 1px,
            transparent 1px
        );
    background-size: 80px 80px;
    opacity: 0.35;
    pointer-events: none;
}

.traffic-orb {
    position: absolute;
    width: 720px;
    height: 720px;
    right: -160px;
    top: 20px;
    border-radius: 50%;
    background:
        radial-gradient(
            circle at 35% 30%,
            rgba(255, 255, 255, 0.18),
            rgba(255, 255, 255, 0.04) 35%,
            rgba(0, 213, 0, 0.04) 60%,
            transparent 72%
        );
    filter: blur(2px);
    opacity: 0.8;
    pointer-events: none;
}

.traffic-orb::before {
    content: "";
    position: absolute;
    inset: 8%;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow:
        0 0 100px rgba(0, 213, 0, 0.06),
        inset 0 0 80px rgba(255, 255, 255, 0.04);
}

.traffic-grid {
    position: absolute;
    width: 600px;
    height: 600px;
    right: 40px;
    top: 80px;
    border-radius: 50%;
    background:
        repeating-linear-gradient(
            0deg,
            transparent 0,
            transparent 39px,
            rgba(255, 255, 255, 0.035) 40px
        ),
        repeating-linear-gradient(
            90deg,
            transparent 0,
            transparent 39px,
            rgba(255, 255, 255, 0.035) 40px
        );

    mask-image: radial-gradient(
        circle,
        black 20%,
        transparent 72%
    );

    -webkit-mask-image: radial-gradient(
        circle,
        black 20%,
        transparent 72%
    );

    pointer-events: none;
}


/* =========================================================
   TÍTULO
========================================================= */

.traffic-heading {
    position: relative;
    z-index: 2;
    max-width: 720px;
    margin-bottom: 100px;
}

.traffic-label {
    display: inline-block;
    margin-bottom: 25px;
    color: #00D500;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 3px;
}

.traffic-heading h1 {
    margin: 0;
    color: #ffffff;
    font-size: clamp(48px, 6vw, 82px);
    line-height: 0.98;
    letter-spacing: -4px;
    font-weight: 400;
}

.traffic-heading h1 strong {
    display: block;
    font-weight: 700;
}

.traffic-heading p {
    max-width: 580px;
    margin-top: 30px;
    color: #8e8e8e;
    font-size: 17px;
    line-height: 1.7;
}


/* =========================================================
   ESTRATÉGIAS
========================================================= */

.traffic-strategies {
    position: relative;
    z-index: 2;
}

.traffic-section-title {
    margin-bottom: 30px;
}

.traffic-section-title span {
    color: #ffffff;
    font-size: 28px;
    font-weight: 600;
    letter-spacing: -1px;
}


/* =========================================================
   GRID
========================================================= */

.traffic-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, auto);
    gap: 18px;
}


/* =========================================================
   CARD
========================================================= */

.traffic-card {
    position: relative;
    min-height: 310px;
    padding: 32px;
    display: flex;
    flex-direction: column;
    background: #191919;
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 18px;
    overflow: hidden;

    transition:
        transform 0.35s ease,
        border-color 0.35s ease,
        background 0.35s ease;
}

.traffic-card:hover {
    transform: translateY(-6px);
    background: #202020;
    border-color: rgba(0, 213, 0, 0.35);
}


/* =========================================================
   CARDS GRANDES
========================================================= */

.traffic-card-large {
    grid-row: span 2;
    min-height: 420px;
    padding: 38px;
}


/* =========================================================
   NÚMERO
========================================================= */

.traffic-card-number {
    position: absolute;
    top: 22px;
    right: 25px;
    color: rgba(255, 255, 255, 0.25);
    font-size: 11px;
    letter-spacing: 2px;
}


/* =========================================================
   ÍCONE
========================================================= */

.traffic-card-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;

    border: 1px solid rgba(0, 213, 0, 0.25);
    border-radius: 12px;

    color: #00D500;
    font-size: 20px;
}


/* =========================================================
   TÍTULOS
========================================================= */

.traffic-card h2,
.traffic-card h3 {
    margin: 0;
    color: #ffffff;
    font-size: 26px;
    line-height: 1.05;
    letter-spacing: -1px;
    font-weight: 700;
    text-transform: uppercase;
}

.traffic-card-large h2 {
    font-size: 38px;
    letter-spacing: -1.5px;
}


/* =========================================================
   TEXTO
========================================================= */

.traffic-card p {
    margin-top: 22px;
    color: #a1a1a1;
    font-size: 14px;
    line-height: 1.65;
}


/* =========================================================
   LINK / BOTÃO
========================================================= */

.traffic-card-link {
    display: flex;
    align-items: center;
    gap: 10px;

    margin-top: auto;
    padding-top: 25px;
    width: fit-content;

    border: none;
    background: transparent;

    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;

    cursor: pointer;

    transition: color 0.25s ease;
}

.traffic-card-link span {
    color: #00D500;
    font-size: 16px;

    transition: transform 0.25s ease;
}

.traffic-card-link:hover {
    color: #00D500;
}

.traffic-card-link:hover span {
    transform: translate(3px, -3px);
}


/* =========================================================
   RESPONSIVO
========================================================= */

@media (max-width: 1000px) {

    .traffic-cards {
        grid-template-columns: repeat(2, 1fr);
    }

    .traffic-card-large {
        grid-row: auto;
        min-height: 360px;
    }

    .traffic-card {
        min-height: 300px;
    }
}


@media (max-width: 700px) {

    .traffic-hero {
        padding: 80px 0;
    }

    .traffic-heading {
        margin-bottom: 70px;
    }

    .traffic-heading h1 {
        font-size: 48px;
        letter-spacing: -2.5px;
    }

    .traffic-heading p {
        font-size: 15px;
    }

    .traffic-cards {
        grid-template-columns: 1fr;
    }

    .traffic-card,
    .traffic-card-large {
        min-height: 300px;
    }

    .traffic-orb {
        width: 500px;
        height: 500px;
        right: -250px;
        top: 200px;
    }

    .traffic-grid {
        right: -150px;
    }
}


@media (max-width: 480px) {

    .traffic-hero {
        padding: 60px 0;
    }

    .traffic-heading h1 {
        font-size: 42px;
    }

    .traffic-section-title span {
        font-size: 23px;
    }

    .traffic-card {
        padding: 28px;
    }
}


/* =========================================================
   LOGO — TRÁFEGO PAGO
========================================================= */

.header .logo img {
    width: 150px;
    height: auto;
    display: block;
    object-fit: contain;
}