/* =========================================================
   AFFLEADHUB — PUBLISHER PAGE V1
========================================================= */


/* =========================================================
   PAGE BASE
========================================================= */

.publisher-page {
    width: 100%;
    overflow: hidden;
}


/* =========================================================
   SHARED CONTAINER
========================================================= */

.publisher-container {
    width: min(1180px, calc(100% - 48px));
    margin: 0 auto;
}


/* =========================================================
   SHARED SECTION
========================================================= */

.publisher-section {
    position: relative;

    width: 100%;

    padding: 120px 0;
}


/* =========================================================
   SECTION 1
   PUBLISHER INTRODUCTION
========================================================= */

.publisher-section.section-1 {
    min-height: 90vh;
    margin-top: 35px;
    display: flex;
    align-items: center;
}


/* =========================================================
   SECTION CONTENT
========================================================= */

.section-content {
    max-width: 720px;
}


/* =========================================================
   EYEBROW
========================================================= */

.publisher-eyebrow {
    display: flex;

    align-items: center;

    gap: 10px;

    margin-bottom: 24px;

    font-size: 11px;

    font-weight: 600;

    letter-spacing: 0.16em;

    color: rgba(255, 255, 255, 0.55);
}


.publisher-eyebrow-line {
    display: block;

    width: 28px;
    height: 1px;

    background: rgba(200, 255, 0, 0.8);
}


/* =========================================================
   MAIN HEADINGS
========================================================= */

.publisher-section h1,
.publisher-section h2,
.publisher-section h3 {
    margin: 0;
}


.publisher-section h1 {
    max-width: 850px;

    font-size: clamp(52px, 7vw, 92px);

    line-height: 0.96;

    font-weight: 600;

    letter-spacing: -0.055em;

    color: #ffffff;
}


.publisher-section h2 {
    max-width: 800px;

    font-size: clamp(42px, 5vw, 68px);

    line-height: 0.98;

    font-weight: 600;

    letter-spacing: -0.045em;

    color: #ffffff;
}


.publisher-section h3 {
    font-size: 18px;

    line-height: 1.25;

    font-weight: 500;

    letter-spacing: -0.02em;

    color: #ffffff;
}


/* =========================================================
   PARAGRAPHS
========================================================= */

.publisher-section p {
    color: rgba(255, 255, 255, 0.58);

    font-size: 15px;

    line-height: 1.75;

    font-weight: 400;
}


.section-content > p {
    max-width: 580px;

    margin: 28px 0 0;
}


.section-heading {
    max-width: 760px;

    margin-bottom: 64px;
}


.section-heading > p {
    max-width: 580px;

    margin: 26px 0 0;
}


/* =========================================================
   BUTTONS
========================================================= */

.publisher-section-actions {
    display: flex;

    align-items: center;

    gap: 14px;

    margin-top: 36px;
}


.publisher-btn {
    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 10px;

    min-height: 48px;

    padding: 0 22px;

    border-radius: 999px;

    text-decoration: none;

    font-size: 12px;

    font-weight: 600;

    letter-spacing: 0.01em;

    transition:
        transform 0.25s ease,
        background 0.25s ease,
        border-color 0.25s ease,
        color 0.25s ease;
}


.publisher-btn-primary {
    background: #c8ff00;

    color: #050505;

    border: 1px solid #c8ff00;
}


.publisher-btn-secondary {
    background: transparent;

    color: #ffffff;

    border: 1px solid rgba(255, 255, 255, 0.18);
}


.publisher-btn:hover {
    transform: translateY(-2px);
}


.publisher-btn-primary:hover {
    background: #d5ff45;

    border-color: #d5ff45;
}


.publisher-btn-secondary:hover {
    border-color: rgba(255, 255, 255, 0.4);

    background: rgba(255, 255, 255, 0.04);
}


/* =========================================================
   SECTION 2
   WHY AFFLEADHUB
========================================================= */

.publisher-section.section-2 {
    padding-top: 140px;
    padding-bottom: 140px;
}


.publisher-cards {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 18px;
}


.publisher-card {
    position: relative;

    min-height: 280px;

    padding: 30px;

    border: 1px solid rgba(255, 255, 255, 0.1);

    border-radius: 18px;

    background: rgba(255, 255, 255, 0.025);

    transition:
        transform 0.3s ease,
        border-color 0.3s ease,
        background 0.3s ease;
}


.publisher-card:hover {
    transform: translateY(-5px);

    border-color: rgba(200, 255, 0, 0.3);

    background: rgba(255, 255, 255, 0.04);
}


.publisher-card-number {
    display: block;

    margin-bottom: 55px;

    font-size: 11px;

    color: rgba(255, 255, 255, 0.35);

    letter-spacing: 0.1em;
}


.publisher-card > i {
    display: block;

    margin-bottom: 20px;

    font-size: 25px;

    color: #c8ff00;
}


.publisher-card p {
    margin: 12px 0 0;

    font-size: 13px;

    line-height: 1.65;
}


/* =====================================================
   PUBLISHER SECTION 3
   MONETIZATION MODELS
===================================================== */

.publisher-models-section {
    position: relative;
    width: 100%;
    min-height: 100vh;

    padding: 150px 0 130px;

    background:
        radial-gradient(
            circle at 75% 45%,
            rgba(190, 255, 0, 0.035),
            transparent 30%
        ),
        #050505;

    overflow: hidden;
}


.publisher-models-container {
    position: relative;

    width: min(1280px, calc(100% - 80px));

    margin: 0 auto;
}



/* =====================================================
   HEADING
===================================================== */

.publisher-models-heading {
    max-width: 760px;

    margin-bottom: 70px;
}


.publisher-section-eyebrow {
    display: flex;
    align-items: center;
    gap: 12px;

    margin-bottom: 32px;

    font-size: 12px;
    font-weight: 700;

    letter-spacing: 0.18em;

    color: rgba(255, 255, 255, 0.48);
}


.publisher-section-eyebrow span {
    width: 30px;
    height: 1px;

    background: #c8ff00;

    box-shadow:
        0 0 7px rgba(200, 255, 0, 0.8),
        0 0 18px rgba(200, 255, 0, 0.4);
}


.publisher-models-heading h2 {
    margin: 0;

    font-size: clamp(58px, 7vw, 96px);

    line-height: 0.94;

    font-weight: 500;

    letter-spacing: -0.055em;

    color: #f5f5f5;
}


.publisher-models-heading h2 span {
    color: #c8ff00;

    text-shadow:
        0 0 15px rgba(200, 255, 0, 0.35);
}


.publisher-models-heading p {
    max-width: 650px;

    margin-top: 32px;

    font-size: 17px;

    line-height: 1.65;

    color: rgba(255, 255, 255, 0.5);
}



/* =====================================================
   GRID
===================================================== */

.publisher-models-grid {
    position: relative;

    display: grid;

    grid-template-columns: repeat(2, 1fr);

    border: 1px solid rgba(255, 255, 255, 0.15);

    border-radius: 20px;

    overflow: visible;

    background: rgba(255, 255, 255, 0.008);
}



/* =====================================================
   CARDS
===================================================== */

.publisher-model-card {
    position: relative;

    min-height: 290px;

    padding: 34px 38px;

    overflow: hidden;

    background:
        linear-gradient(
            135deg,
            rgba(255, 255, 255, 0.018),
            rgba(255, 255, 255, 0.004)
        );

    transition:
        transform 0.45s cubic-bezier(.2,.7,.2,1),
        background 0.45s ease,
        border-color 0.45s ease;
}


.publisher-model-card:nth-child(1),
.publisher-model-card:nth-child(2) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.11);
}


.publisher-model-card:nth-child(1),
.publisher-model-card:nth-child(3) {
    border-right: 1px solid rgba(255, 255, 255, 0.11);
}


.publisher-model-card:hover {
    background:
        radial-gradient(
            circle at 75% 45%,
            rgba(200, 255, 0, 0.06),
            transparent 35%
        ),
        rgba(255, 255, 255, 0.018);

    transform: translateY(-2px);
}



/* =====================================================
   CARD CONTENT
===================================================== */

.model-card-content {
    position: relative;

    z-index: 4;

    max-width: 430px;
}


.model-number {
    display: flex;
    flex-direction: column;

    width: fit-content;

    margin-bottom: 30px;

    font-size: 13px;

    font-weight: 500;

    color: rgba(255, 255, 255, 0.35);

    letter-spacing: 0.08em;
}


.model-number span {
    width: 26px;
    height: 1px;

    margin-top: 8px;

    background: rgba(200, 255, 0, 0.8);

    box-shadow:
        0 0 8px rgba(200, 255, 0, 0.35);
}


.publisher-model-card h3 {
    margin: 0 0 20px;

    font-size: 44px;

    line-height: 1;

    font-weight: 500;

    letter-spacing: -0.035em;

    color: #c8ff00;

    text-shadow:
        0 0 16px rgba(200, 255, 0, 0.12);
}


.publisher-model-card p {
    max-width: 360px;

    margin: 0;

    font-size: 15px;

    line-height: 1.7;

    color: rgba(255, 255, 255, 0.5);
}



/* =====================================================
   ICON
===================================================== */

.model-icon-wrap {
    position: absolute;

    right: 72px;
    top: 50%;

    transform: translateY(-50%);

    z-index: 3;
}


.model-icon {
    position: relative;

    display: flex;

    align-items: center;
    justify-content: center;

    width: 118px;
    height: 118px;

    border: 1px solid rgba(200, 255, 0, 0.85);

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(200, 255, 0, 0.07),
            rgba(0, 0, 0, 0.55) 65%
        );

    box-shadow:
        0 0 8px rgba(200, 255, 0, 0.35),
        0 0 30px rgba(200, 255, 0, 0.12),
        inset 0 0 20px rgba(200, 255, 0, 0.035);

    transition:
        transform 0.45s ease,
        box-shadow 0.45s ease;
}


.publisher-model-card:hover .model-icon {
    transform: scale(1.06);

    box-shadow:
        0 0 10px rgba(200, 255, 0, 0.6),
        0 0 42px rgba(200, 255, 0, 0.2),
        inset 0 0 25px rgba(200, 255, 0, 0.06);
}


.model-icon svg {
    width: 49px;
    height: 49px;

    fill: none;

    stroke: #c8ff00;

    stroke-width: 2;

    stroke-linecap: round;
    stroke-linejoin: round;

    filter:
        drop-shadow(
            0 0 5px rgba(200, 255, 0, 0.6)
        );
}



/* =====================================================
   DOT PATTERN
===================================================== */

.model-dots {
    position: absolute;

    right: 20px;
    top: 25px;

    width: 170px;
    height: 180px;

    opacity: 0.38;

    background-image:
        radial-gradient(
            rgba(200, 255, 0, 0.55) 1px,
            transparent 1px
        );

    background-size: 13px 13px;

    mask-image:
        radial-gradient(
            ellipse at center,
            black 0%,
            transparent 72%
        );

    -webkit-mask-image:
        radial-gradient(
            ellipse at center,
            black 0%,
            transparent 72%
        );

    pointer-events: none;
}



/* =====================================================
   CONNECTION SYSTEM
===================================================== */

.models-connection-system {
    position: absolute;

    inset: 0;

    z-index: 8;

    pointer-events: none;
}


.models-line {
    position: absolute;

    background:
        linear-gradient(
            90deg,
            rgba(200, 255, 0, 0.05),
            rgba(200, 255, 0, 0.85),
            rgba(200, 255, 0, 0.05)
        );

    box-shadow:
        0 0 8px rgba(200, 255, 0, 0.45),
        0 0 25px rgba(200, 255, 0, 0.14);
}


.models-line-horizontal {
    left: 25%;
    right: 25%;

    top: 50%;

    height: 1px;

    transform: translateY(-50%);
}


.models-line-vertical {
    top: 25%;
    bottom: 25%;

    left: 50%;

    width: 1px;

    transform: translateX(-50%);

    background:
        linear-gradient(
            180deg,
            rgba(200, 255, 0, 0.05),
            rgba(200, 255, 0, 0.85),
            rgba(200, 255, 0, 0.05)
        );
}



/* =====================================================
   CENTER NODE
===================================================== */

.models-center-node {
    position: absolute;

    left: 50%;
    top: 50%;

    width: 88px;
    height: 88px;

    display: flex;

    align-items: center;
    justify-content: center;

    transform: translate(-50%, -50%);

    border: 1px solid #c8ff00;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(20, 25, 10, 0.98),
            #050505 72%
        );

    box-shadow:
        0 0 8px rgba(200, 255, 0, 0.8),
        0 0 30px rgba(200, 255, 0, 0.3),
        0 0 70px rgba(200, 255, 0, 0.1);
}


.models-center-node::before {
    content: "";

    position: absolute;

    inset: -9px;

    border: 1px solid rgba(200, 255, 0, 0.12);

    border-radius: 50%;
}


.models-center-node svg {
    width: 40px;
    height: 40px;

    fill: none;

    stroke: #c8ff00;

    stroke-width: 2;

    stroke-linecap: round;

    filter:
        drop-shadow(
            0 0 6px rgba(200, 255, 0, 0.65)
        );
}



/* =====================================================
   LINE PULSES
===================================================== */

.line-pulse {
    position: absolute;

    width: 5px;
    height: 5px;

    border-radius: 50%;

    background: #c8ff00;

    box-shadow:
        0 0 7px #c8ff00,
        0 0 18px rgba(200, 255, 0, 0.8);
}


.pulse-left {
    left: 35%;
    top: 50%;

    transform: translate(-50%, -50%);
}


.pulse-right {
    right: 35%;
    top: 50%;

    transform: translate(50%, -50%);
}


.pulse-top {
    top: 35%;
    left: 50%;

    transform: translate(-50%, -50%);
}


.pulse-bottom {
    bottom: 35%;
    left: 50%;

    transform: translate(-50%, 50%);
}



/* =====================================================
   BOTTOM MESSAGE
===================================================== */

.models-bottom-message {
    display: flex;

    align-items: center;
    justify-content: center;

    gap: 14px;

    width: fit-content;

    margin: 42px auto 0;

    padding: 14px 30px;

    border: 1px solid rgba(200, 255, 0, 0.7);

    border-radius: 999px;

    background:
        radial-gradient(
            circle at center,
            rgba(200, 255, 0, 0.07),
            transparent 70%
        );

    box-shadow:
        0 0 10px rgba(200, 255, 0, 0.25),
        0 0 30px rgba(200, 255, 0, 0.1);

    font-size: 16px;

    color: rgba(255, 255, 255, 0.75);
}


.models-message-icon {
    color: #c8ff00;

    font-size: 20px;

    text-shadow:
        0 0 10px rgba(200, 255, 0, 0.8);
}



/* =====================================================
   SUBTLE CARD GLOW
===================================================== */

.model-card-1::after,
.model-card-2::after,
.model-card-3::after,
.model-card-4::after {
    content: "";

    position: absolute;

    width: 180px;
    height: 180px;

    border-radius: 50%;

    background: rgba(200, 255, 0, 0.035);

    filter: blur(45px);

    pointer-events: none;
}


.model-card-1::after {
    right: 20px;
    bottom: -80px;
}


.model-card-2::after {
    right: -20px;
    top: -80px;
}


.model-card-3::after {
    right: 30px;
    bottom: -80px;
}


.model-card-4::after {
    right: -20px;
    top: -70px;
}



/* =====================================================
   TABLET
===================================================== */

@media (max-width: 1000px) {

    .publisher-models-container {
        width: min(92%, 760px);
    }

    .publisher-models-heading {
        margin-bottom: 50px;
    }

    .publisher-model-card {
        min-height: 270px;

        padding: 30px;
    }

    .model-icon-wrap {
        right: 35px;
    }

    .model-icon {
        width: 95px;
        height: 95px;
    }

    .publisher-model-card h3 {
        font-size: 38px;
    }

}



/* =====================================================
   MOBILE
===================================================== */

@media (max-width: 700px) {

    .publisher-models-section {
        padding: 100px 0 90px;
    }


    .publisher-models-container {
        width: calc(100% - 32px);
    }


    .publisher-models-heading {
        margin-bottom: 45px;
    }


    .publisher-section-eyebrow {
        margin-bottom: 24px;
    }


    .publisher-models-heading h2 {
        font-size: clamp(48px, 14vw, 68px);

        line-height: 0.96;
    }


    .publisher-models-heading p {
        margin-top: 24px;

        font-size: 15px;
    }


    .publisher-models-grid {
        grid-template-columns: 1fr;

        border-radius: 16px;
    }


    .publisher-model-card {
        min-height: 250px;

        padding: 28px 24px;

        border-right: none !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }


    .publisher-model-card:last-of-type {
        border-bottom: none;
    }


    .publisher-model-card h3 {
        font-size: 36px;
    }


    .publisher-model-card p {
        max-width: 58%;

        font-size: 14px;
    }


    .model-icon-wrap {
        right: 22px;
    }


    .model-icon {
        width: 86px;
        height: 86px;
    }


    .model-icon svg {
        width: 39px;
        height: 39px;
    }


    /*
       Hide desktop center connection system
       on mobile because the cards become vertical.
    */

    .models-connection-system {
        display: none;
    }


    .model-dots {
        right: -5px;

        width: 140px;
        height: 150px;
    }


    .models-bottom-message {
        width: 100%;

        margin-top: 30px;

        padding: 13px 18px;

        text-align: center;

        font-size: 13px;

        line-height: 1.4;
    }

}



/* =====================================================
   SMALL MOBILE
===================================================== */

@media (max-width: 430px) {

    .publisher-model-card {
        min-height: 235px;
    }


    .publisher-model-card p {
        max-width: 54%;
    }


    .model-icon {
        width: 76px;
        height: 76px;
    }


    .model-icon-wrap {
        right: 18px;
    }


    .publisher-model-card h3 {
        font-size: 32px;
    }

}
/* =========================================================
   SECTION 4
   HOW IT WORKS
========================================================= */

.publisher-section.section-4 {
    padding-top: 140px;
    padding-bottom: 140px;
}


.publisher-steps {
    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 0;

    border-top: 1px solid rgba(255, 255, 255, 0.1);

    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}


.publisher-step {
    position: relative;

    min-height: 280px;

    padding: 30px 26px;

    border-right: 1px solid rgba(255, 255, 255, 0.1);
}


.publisher-step:last-child {
    border-right: none;
}


.publisher-step-number {
    display: flex;

    align-items: center;

    justify-content: center;

    width: 34px;
    height: 34px;

    margin-bottom: 65px;

    border: 1px solid rgba(255, 255, 255, 0.16);

    border-radius: 50%;

    font-size: 10px;

    color: rgba(255, 255, 255, 0.55);
}


.publisher-step h3 {
    margin-bottom: 12px;
}


.publisher-step p {
    margin: 0;

    font-size: 13px;

    line-height: 1.65;
}
/* =========================================================
   SECTION 4 — CONNECTED PROCESS FLOW
========================================================= */

/* =========================================================
   SECTION 4 — SYNCHRONIZED PROCESS FLOW
========================================================= */

.publisher-section.section-4 .publisher-steps {
    position: relative;
    isolation: isolate;
}


/* ---------------------------------------------------------
   BASE CONNECTION LINE
--------------------------------------------------------- */

.publisher-section.section-4 .publisher-steps::before {
    content: "";

    position: absolute;

    top: 47px;

    left: calc(12.5% + 17px);
    right: calc(12.5% + 17px);

    height: 1px;

    background: rgba(200, 255, 0, 0.16);

    z-index: 0;

    pointer-events: none;
}


/* ---------------------------------------------------------
   NEON MOVING LIGHT
--------------------------------------------------------- */

.publisher-section.section-4 .publisher-steps::after {
    content: "";

    position: absolute;

    top: 46px;

    left: calc(12.5% + 17px);

    width: 70px;
    height: 3px;

    border-radius: 999px;

    background: linear-gradient(
        90deg,
        transparent,
        rgba(200, 255, 0, 0.4),
        #c8ff00,
        rgba(200, 255, 0, 0.4),
        transparent
    );

    box-shadow:
        0 0 8px rgba(200, 255, 0, 0.9),
        0 0 18px rgba(200, 255, 0, 0.5),
        0 0 30px rgba(200, 255, 0, 0.2);

    z-index: 3;

    pointer-events: none;

    animation: publisher-neon-flow 8s ease-in-out infinite;
}


/* ---------------------------------------------------------
   EXACT 4-STEP MOVEMENT

   0%   = card 01
   25%  = card 02
   50%  = card 03
   75%  = card 04
   100% = back to card 01
--------------------------------------------------------- */

@keyframes publisher-neon-flow {

    0% {
        left: calc(12.5% + 17px);
        opacity: 1;
    }

    20% {
        left: calc(12.5% + 17px);
        opacity: 1;
    }

    25% {
        left: calc(37.5% + 17px);
        opacity: 1;
    }

    45% {
        left: calc(37.5% + 17px);
        opacity: 1;
    }

    50% {
        left: calc(62.5% + 17px);
        opacity: 1;
    }

    70% {
        left: calc(62.5% + 17px);
        opacity: 1;
    }

    75% {
        left: calc(87.5% + 17px);
        opacity: 1;
    }

    95% {
        left: calc(87.5% + 17px);
        opacity: 1;
    }

    100% {
        left: calc(12.5% + 17px);
        opacity: 1;
    }
}

/* ---------------------------------------------------------
   NUMBER CIRCLES
--------------------------------------------------------- */

.publisher-section.section-4 .publisher-step-number {
    position: relative;

    z-index: 5;

    background: #050505;

    border-color: rgba(200, 255, 0, 0.25);

    transition:
        transform 0.45s cubic-bezier(.22, 1, .36, 1),
        border-color 0.35s ease,
        color 0.35s ease,
        box-shadow 0.35s ease,
        background 0.35s ease;
}


/* ---------------------------------------------------------
   CARD BASE
--------------------------------------------------------- */

.publisher-section.section-4 .publisher-step {
    z-index: 1;

    transition:
        transform 0.65s cubic-bezier(.22, 1, .36, 1),
        background 0.45s ease,
        border-color 0.45s ease,
        box-shadow 0.45s ease;
}


/* ---------------------------------------------------------
   ACTIVE CARD
--------------------------------------------------------- */

.publisher-section.section-4 .publisher-step.is-active {
    transform: scale(0.97);

    background:
        radial-gradient(
            circle at 50% 0%,
            rgba(200, 255, 0, 0.075),
            transparent 55%
        ),
        rgba(255, 255, 255, 0.025);

    border-color: rgba(200, 255, 0, 0.30);

    box-shadow:
        inset 0 0 35px rgba(200, 255, 0, 0.025),
        0 0 25px rgba(200, 255, 0, 0.035);
}


/* ---------------------------------------------------------
   ACTIVE NUMBER
--------------------------------------------------------- */

.publisher-section.section-4 .publisher-step.is-active
.publisher-step-number {

    color: #c8ff00;

    border-color: #c8ff00;

    background:
        radial-gradient(
            circle,
            rgba(200, 255, 0, 0.15),
            rgba(5, 5, 5, 0.95) 70%
        );

    box-shadow:
        0 0 8px rgba(200, 255, 0, 0.75),
        0 0 20px rgba(200, 255, 0, 0.30);

    transform: scale(1.08);
}


/* ---------------------------------------------------------
   ACTIVE CARD HEADING
--------------------------------------------------------- */

.publisher-section.section-4 .publisher-step.is-active h3 {
    color: #ffffff;

    text-shadow:
        0 0 18px rgba(200, 255, 0, 0.12);
}


/* ---------------------------------------------------------
   ACTIVE CARD NUMBER PULSE
--------------------------------------------------------- */

.publisher-section.section-4
.publisher-step.is-active
.publisher-step-number::after {

    content: "";

    position: absolute;

    inset: -5px;

    border-radius: 50%;

    border: 1px solid rgba(200, 255, 0, 0.35);

    animation: publisher-number-pulse 1.5s ease-out infinite;
}


@keyframes publisher-number-pulse {

    0% {
        transform: scale(.8);
        opacity: .8;
    }

    100% {
        transform: scale(1.45);
        opacity: 0;
    }
}


/* ---------------------------------------------------------
   REDUCE MOTION
--------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {

    .publisher-section.section-4 .publisher-steps::after {
        animation: none;
    }

    .publisher-section.section-4 .publisher-step {
        transition: none;
    }

    .publisher-section.section-4
    .publisher-step-number {
        transition: none;
    }

    .publisher-section.section-4
    .publisher-step.is-active
    .publisher-step-number::after {
        animation: none;
    }
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 600px) {

    /* Remove horizontal connector */
    .publisher-section.section-4 .publisher-steps::before,
    .publisher-section.section-4 .publisher-steps::after {
        display: none;
    }

    .publisher-section.section-4 .publisher-step {
        transform: none;
    }

    .publisher-section.section-4
    .publisher-step.is-active {
        transform: scale(0.985);
    }

}

/* =====================================================
   SECTION 5 — ADVERTISER NETWORK
===================================================== */

.advertiser-network-section {
    position: relative;

    width: 100%;

    padding: 150px 0 140px;

    background:
        radial-gradient(
            circle at 50% 55%,
            rgba(200, 255, 0, 0.035),
            transparent 38%
        ),
        #050505;

    overflow: hidden;
}


.advertiser-network-container {
    width: min(1280px, calc(100% - 80px));

    margin: 0 auto;
}



/* =====================================================
   HEADING
===================================================== */

.advertiser-network-heading {
    max-width: 760px;

    margin-bottom: 65px;
}


.advertiser-network-eyebrow {
    display: flex;

    align-items: center;

    gap: 12px;

    margin-bottom: 28px;

    font-size: 12px;

    font-weight: 700;

    letter-spacing: 0.18em;

    color: rgba(255, 255, 255, 0.45);
}


.advertiser-network-eyebrow span {
    width: 30px;
    height: 1px;

    background: #c8ff00;

    box-shadow:
        0 0 8px rgba(200, 255, 0, 0.7);
}


.advertiser-network-heading h2 {
    margin: 0;

    font-size: clamp(55px, 7vw, 92px);

    line-height: 0.95;

    font-weight: 500;

    letter-spacing: -0.055em;

    color: #f5f5f5;
}


.advertiser-network-heading h2 span {
    color: #c8ff00;

    text-shadow:
        0 0 16px rgba(200, 255, 0, 0.4);
}


.advertiser-network-heading p {
    max-width: 620px;

    margin: 28px 0 0;

    font-size: 17px;

    line-height: 1.65;

    color: rgba(255, 255, 255, 0.48);
}



/* =====================================================
   SLIDER
===================================================== */

.advertiser-slider {
    position: relative;

    width: 100%;

    overflow: hidden;

    /*
       Fades both ends of the slider.
    */

    mask-image:
        linear-gradient(
            90deg,
            transparent 0%,
            black 7%,
            black 93%,
            transparent 100%
        );

    -webkit-mask-image:
        linear-gradient(
            90deg,
            transparent 0%,
            black 7%,
            black 93%,
            transparent 100%
        );
}


.advertiser-track {
    display: flex;

    align-items: stretch;

    gap: 18px;

    width: max-content;

    animation:
        advertiserInfiniteScroll
        28s
        linear
        infinite;

    will-change: transform;
}


.advertiser-slider:hover .advertiser-track {
    animation-play-state: paused;
}



/* =====================================================
   GLASS CARD
===================================================== */

.advertiser-card {
    position: relative;

    flex: 0 0 210px;

    height: 220px;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    padding: 28px;

    border: 1px solid rgba(255, 255, 255, 0.12);

    border-radius: 20px;

    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.075),
            rgba(255, 255, 255, 0.018)
        );

    backdrop-filter: blur(18px);

    -webkit-backdrop-filter: blur(18px);

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.06),
        0 15px 50px rgba(0, 0, 0, 0.25);

    transition:
        transform 0.45s ease,
        border-color 0.45s ease,
        box-shadow 0.45s ease;
}


.advertiser-card::before {
    content: "";

    position: absolute;

    inset: 0;

    border-radius: inherit;

    background:
        radial-gradient(
            circle at 50% 20%,
            rgba(200, 255, 0, 0.07),
            transparent 55%
        );

    opacity: 0;

    transition: opacity 0.45s ease;

    pointer-events: none;
}


.advertiser-card:hover {
    transform: translateY(-8px);

    border-color:
        rgba(200, 255, 0, 0.45);

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.08),
        0 15px 50px rgba(0, 0, 0, 0.3),
        0 0 30px rgba(200, 255, 0, 0.08);
}


.advertiser-card:hover::before {
    opacity: 1;
}



/* =====================================================
   LOGO
===================================================== */

.advertiser-logo {
    position: relative;

    z-index: 2;

    width: 100px;

    height: 80px;

    display: flex;

    align-items: center;

    justify-content: center;

    margin-bottom: 20px;
}


.advertiser-logo img {
    display: block;

    width: 100%;

    max-width: 90px;

    max-height: 65px;

    object-fit: contain;

    filter:
        grayscale(1)
        brightness(1.7);

    opacity: 0.8;

    transition:
        filter 0.4s ease,
        opacity 0.4s ease,
        transform 0.4s ease;
}


.advertiser-card:hover .advertiser-logo img {
    filter:
        grayscale(0)
        brightness(1);

    opacity: 1;

    transform: scale(1.06);
}



/* =====================================================
   NAME UNDER LOGO
===================================================== */

.advertiser-name {
    position: relative;

    z-index: 2;

    font-size: 15px;

    font-weight: 600;

    letter-spacing: 0.01em;

    color: rgba(255, 255, 255, 0.82);

    text-align: center;

    transition:
        color 0.35s ease;
}


.advertiser-card:hover .advertiser-name {
    color: #c8ff00;

    text-shadow:
        0 0 12px rgba(200, 255, 0, 0.25);
}



/* =====================================================
   INFINITE ANIMATION
===================================================== */

@keyframes advertiserInfiniteScroll {

    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(
            calc(-50% - 9px)
        );
    }

}



/* =====================================================
   RESPONSIVE
===================================================== */

@media (max-width: 1000px) {

    .advertiser-network-container {
        width: min(92%, 760px);
    }

    .advertiser-card {
        flex-basis: 190px;

        height: 200px;
    }

}


@media (max-width: 700px) {

    .advertiser-network-section {
        padding: 100px 0;
    }


    .advertiser-network-container {
        width: calc(100% - 32px);
    }


    .advertiser-network-heading {
        margin-bottom: 45px;
    }


    .advertiser-network-heading h2 {
        font-size: clamp(48px, 13vw, 68px);
    }


    .advertiser-network-heading p {
        margin-top: 22px;

        font-size: 15px;
    }


    .advertiser-card {
        flex-basis: 165px;

        height: 180px;

        padding: 22px;
    }


    .advertiser-logo {
        width: 80px;

        height: 65px;

        margin-bottom: 14px;
    }


    .advertiser-logo img {
        max-width: 72px;

        max-height: 50px;
    }


    .advertiser-name {
        font-size: 14px;
    }


    .advertiser-track {
        gap: 14px;

        animation-duration: 22s;
    }

}

/* =========================================================
   SECTION 6
   BENEFITS
========================================================= */

.publisher-section.section-6 {
    padding-top: 140px;
    padding-bottom: 140px;
}


.publisher-benefits {
    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 14px;
}


.publisher-benefit {
    display: flex;

    align-items: flex-start;

    gap: 22px;

    padding: 28px;

    border: 1px solid rgba(255, 255, 255, 0.1);

    border-radius: 16px;

    background: rgba(255, 255, 255, 0.02);

    transition:
        transform 0.3s ease,
        border-color 0.3s ease;
}


.publisher-benefit:hover {
    transform: translateY(-4px);

    border-color: rgba(200, 255, 0, 0.28);
}


.publisher-benefit > i {
    flex-shrink: 0;

    font-size: 24px;

    color: #c8ff00;
}


.publisher-benefit h3 {
    margin-bottom: 8px;
}


.publisher-benefit p {
    margin: 0;

    font-size: 13px;

    line-height: 1.65;
}


/* =========================================================
   SECTION 7
   FINAL CTA
========================================================= */

.publisher-section.section-7 {
    padding-top: 170px;
    padding-bottom: 170px;

    text-align: center;
}


.publisher-final-cta {
    max-width: 800px;

    margin: 0 auto;
}


.publisher-final-cta .section-eyebrow {
    justify-content: center;
}


.publisher-final-cta h2 {
    margin-top: 10px;
}


.publisher-final-cta p {
    max-width: 540px;

    margin: 26px auto 0;
}


.publisher-final-cta .section-btn {
    margin-top: 34px;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 900px) {

    .publisher-section {
        padding: 100px 0;
    }


    .publisher-cards {
        grid-template-columns: 1fr;
    }


    .publisher-card {
        min-height: 230px;
    }


    .publisher-models {
        grid-template-columns: 1fr;
    }


    .publisher-steps {
        grid-template-columns: repeat(2, 1fr);
    }


    .publisher-step:nth-child(2) {
        border-right: none;
    }


    .publisher-step:nth-child(-n + 2) {
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }


    .publisher-performance {
        grid-template-columns: repeat(2, 1fr);
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 600px) {

    .publisher-container {
        width: min(
            100% - 32px,
            1180px
        );
    }


    .publisher-section {
        padding: 80px 0;
    }


    .publisher-section.section-1 {
        min-height: 78vh;
    }


    .publisher-section h1 {
        font-size: clamp(
            46px,
            14vw,
            68px
        );

        line-height: 0.98;
    }


    .publisher-section h2 {
        font-size: clamp(
            38px,
            11vw,
            54px
        );
    }


    .section-content > p,
    .section-heading > p {
        font-size: 14px;
    }


    .section-actions {
        flex-direction: column;

        align-items: stretch;
    }


    .section-btn {
        width: 100%;
    }


    .publisher-cards {
        gap: 12px;
    }


    .publisher-card {
        min-height: 240px;

        padding: 24px;
    }


    .publisher-models {
        grid-template-columns: 1fr;

        border-radius: 16px;
    }


    .publisher-model {
        min-height: 220px;

        padding: 26px;
    }


    .publisher-model h3 {
        font-size: 34px;
    }


    .publisher-steps {
        grid-template-columns: 1fr;
    }


    .publisher-step {
        min-height: 220px;

        border-right: none;

        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }


    .publisher-step:last-child {
        border-bottom: none;
    }


    .publisher-step-number {
        margin-bottom: 42px;
    }


    .publisher-performance {
        grid-template-columns: 1fr 1fr;

        gap: 10px;
    }


    .performance-card {
        min-height: 145px;

        padding: 20px;
    }


    .performance-card strong {
        font-size: 27px;
    }


    .publisher-benefits {
        grid-template-columns: 1fr;
    }


    .publisher-benefit {
        padding: 22px;
    }


    .publisher-section.section-7 {
        padding-top: 110px;
        padding-bottom: 110px;
    }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 380px) {

    .publisher-container {
        width: calc(100% - 24px);
    }


    .publisher-performance {
        grid-template-columns: 1fr;
    }


    .performance-card {
        min-height: 130px;
    }

}
/* =========================================================
   AFFLEADHUB — PUBLISHER GLOBE / MOBILE FIX
   Additive cleanup for the existing V1 stylesheet.
========================================================= */

.publisher-page {
    position: relative;
    min-height: 100%;
    background: #050505;
    color: #fff;
}

.publisher-page *,
.publisher-page *::before,
.publisher-page *::after {
    box-sizing: border-box;
}

.publisher-page canvas {
    display: block;
    max-width: none;
}

/* ---------- Section 1 globe ---------- */
.publisher-section.section-1 {
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.publisher-section.section-1 .publisher-container {
    position: relative;
    z-index: 2;
}

.publisher-section.section-1 .section-content {
    position: relative;
    z-index: 4;
}

.publisher-globe-wrapper {
    position: absolute;
    top: 50%;
    right: -2%;
    width: min(610px, 53vw);
    height: min(610px, 53vw);
    transform: translateY(-50%);
    z-index: 1;
    pointer-events: auto;
}

.publisher-globe-wrapper::before {
    content: "";
    position: absolute;
    inset: 10%;
    border-radius: 50%;
    background: radial-gradient(
        circle,
        rgba(200,255,0,.14) 0%,
        rgba(200,255,0,.06) 32%,
        rgba(200,255,0,.02) 52%,
        transparent 72%
    );
    filter: blur(24px);
    pointer-events: none;
}

.publisher-globe-glow {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: radial-gradient(
        circle,
        rgba(200,255,0,.08) 0%,
        rgba(200,255,0,.035) 35%,
        transparent 70%
    );
    filter: blur(18px);
    pointer-events: none;
}

.publisher-globe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 50%;
    touch-action: none;
}

.publisher-globe canvas {
    width: 100% !important;
    height: 100% !important;
    outline: none;
}

.publisher-globe-label {
    position: absolute;
    top: 7%;
    right: 2%;
    z-index: 5;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 9px 14px;
    border: 1px solid rgba(200,255,0,.22);
    border-radius: 999px;
    background: rgba(5,5,5,.62);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: rgba(255,255,255,.55);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .16em;
    text-transform: uppercase;
    pointer-events: none;
}

.publisher-globe-label::before {
    content: "";
    width: 6px;
    height: 6px;
    flex: 0 0 6px;
    border-radius: 50%;
    background: #c8ff00;
    box-shadow: 0 0 12px rgba(200,255,0,.85);
}

.publisher-globe-hint {
    position: absolute;
    left: 50%;
    bottom: 3%;
    z-index: 5;
    transform: translateX(-50%);
    color: rgba(255,255,255,.25);
    font-size: 9px;
    font-weight: 600;
    letter-spacing: .18em;
    text-transform: uppercase;
    white-space: nowrap;
    pointer-events: none;
}

/* ---------- Safer card hover ---------- */
.publisher-card,
.publisher-benefit,
.performance-card {
    will-change: transform;
}

/* ---------- Tablet ---------- */
@media (max-width: 1100px) {
    .publisher-globe-wrapper {
        right: -8%;
        width: min(560px, 52vw);
        height: min(560px, 52vw);
    }
}

/* ---------- Mobile: text first, globe underneath ---------- */
@media (max-width: 600px) {
    .publisher-section.section-1 {
        min-height: auto;
        display: block;
        padding-top: 105px;
        padding-bottom: 70px;
    }

    .publisher-section.section-1 .publisher-container {
        display: flex;
        flex-direction: column;
    }

    .publisher-section.section-1 .section-content {
        order: 1;
        width: 100%;
        max-width: 100%;
    }

    .publisher-globe-wrapper {
        position: relative;
        order: 2;
        top: auto;
        right: auto;
        width: min(100%, 390px);
        height: min(100vw, 390px);
        margin: 48px auto 0;
        transform: none;
    }

    .publisher-globe-label {
        top: 4%;
        right: 2%;
        padding: 8px 11px;
        font-size: 8px;
    }

    .publisher-globe-hint {
        bottom: 1%;
        font-size: 8px;
    }
}

@media (max-width: 380px) {
    .publisher-globe-wrapper {
        width: 100%;
        height: 330px;
        margin-top: 40px;
    }
}

/* ---------- Respect reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
    .publisher-card,
    .publisher-benefit,
    .performance-card,
    .publisher-model,
    .section-btn {
        transition: none;
    }
}
