/* =========================
   Statistics
========================= */


.statistics {

    position: relative;

}


.stats-grid {

    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 25px;

}



.stat-card {

    text-align: center;

    padding: 35px 20px;

    background:

        rgba(255, 255, 255, .08);

    border:

        1px solid rgba(255, 255, 255, .1);

    border-radius: 20px;

    backdrop-filter: blur(15px);

}



.stat-card h3 {

    font-size: 42px;

    font-weight: bold;

    margin-bottom: 15px;

    background:

        linear-gradient(135deg,
            #60a5fa,
            #38bdf8);


    -webkit-background-clip: text;

    -webkit-text-fill-color: transparent;

}



.stat-card p {

    color: #cbd5e1;

    font-size: 17px;

}




/* =========================
   How It Works
========================= */


.how-it-works {

    position: relative;

}



.steps-grid {

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 30px;

}



.step-card {

    position: relative;

    text-align: center;

    padding: 40px 30px;


    background:

        rgba(255, 255, 255, .07);


    border:

        1px solid rgba(255, 255, 255, .1);


    border-radius: 25px;


    backdrop-filter: blur(15px);


    transition: .3s;

}



.step-card:hover {

    transform: translateY(-8px);

    background:

        rgba(255, 255, 255, .12);

}



.step-number {

    position: absolute;

    top: 15px;

    left: 20px;

    width: 35px;

    height: 35px;


    display: flex;

    align-items: center;

    justify-content: center;


    border-radius: 50%;


    background: #2563eb;


    color: white;


    font-weight: bold;

}



.step-icon {

    font-size: 45px;

    margin-bottom: 20px;

}



.step-card h3 {

    font-size: 24px;

    margin-bottom: 15px;

}



.step-card p {

    color: #cbd5e1;

    line-height: 1.9;

}





/* =========================
   Advertisers
========================= */


.advertisers {

    position: relative;

}



.advertiser-grid {

    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 25px;

}



.advertiser-card {


    padding: 35px 25px;

    text-align: center;


    background:

        rgba(255, 255, 255, .07);


    border:

        1px solid rgba(255, 255, 255, .1);


    border-radius: 22px;


    transition: .3s;

}



.advertiser-card:hover {

    transform: translateY(-8px);

    border-color: #60a5fa;

}



.advertiser-icon {

    width: 70px;

    height: 70px;


    margin: 0 auto 20px;


    display: flex;

    align-items: center;

    justify-content: center;


    border-radius: 20px;


    background:

        rgba(59, 130, 246, .2);


    font-size: 35px;

}



.advertiser-card h3 {

    margin-bottom: 15px;

    font-size: 22px;

}



.advertiser-card p {

    color: #cbd5e1;

    line-height: 1.9;

    font-size: 15px;

}





/* =========================
   Publishers
========================= */


.publishers {

    position: relative;

}



.publisher-wrapper {

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 50px;

    align-items: center;

}



.publisher-content h3 {

    font-size: 36px;

    margin-bottom: 20px;

}



.publisher-content p {

    color: #cbd5e1;

    line-height: 2;

    font-size: 17px;

    margin-bottom: 25px;

}



.publisher-list {

    display: flex;

    flex-direction: column;

    gap: 15px;

    margin-bottom: 30px;

}



.publisher-list div {

    background:

        rgba(255, 255, 255, .07);


    padding: 15px;


    border-radius: 12px;


    color: #e2e8f0;

}



.publisher-box {

    background:

        rgba(255, 255, 255, .08);


    border:

        1px solid rgba(255, 255, 255, .1);


    border-radius: 30px;


    padding: 40px;


}



.earning-card {

    background: white;

    color: #111827;


    padding: 25px;


    border-radius: 20px;


    display: flex;

    flex-direction: column;

    gap: 10px;

}



.earning-card span {

    color: #64748b;

}



.earning-card strong {

    font-size: 45px;

    color: #2563eb;

}



.earning-card small {

    color: #16a34a;

}



.chart-placeholder {

    margin-top: 25px;


    height: 120px;


    border-radius: 20px;


    background:

        rgba(59, 130, 246, .15);


    display: flex;

    align-items: center;

    justify-content: center;


    font-size: 55px;

}

/* =========================
   Ad Formats
========================= */


.ad-formats {

    position: relative;

}



.formats-grid {

    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 25px;

}



.format-card {

    padding: 35px 25px;

    text-align: center;

    background:

        rgba(255, 255, 255, .07);

    border:

        1px solid rgba(255, 255, 255, .1);

    border-radius: 25px;

    transition: .3s;

}



.format-card:hover {

    transform: translateY(-10px);

    background:

        rgba(255, 255, 255, .12);

}



.format-icon {

    width: 75px;

    height: 75px;

    margin: 0 auto 20px;


    display: flex;

    align-items: center;

    justify-content: center;


    border-radius: 20px;


    background:

        rgba(37, 99, 235, .2);


    font-size: 38px;

}



.format-card h3 {

    font-size: 22px;

    margin-bottom: 15px;

}



.format-card p {

    color: #cbd5e1;

    line-height: 1.8;

}





/* =========================
   Features
========================= */


.features {

    position: relative;

}



.features-grid {

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 25px;

}



.feature-card {

    padding: 35px 25px;


    text-align: center;


    background:

        rgba(255, 255, 255, .07);


    border:

        1px solid rgba(255, 255, 255, .1);


    border-radius: 25px;


    transition: .3s;

}



.feature-card:hover {

    transform: translateY(-8px);

}



.feature-icon {

    width: 75px;

    height: 75px;


    margin: 0 auto 20px;


    display: flex;

    align-items: center;

    justify-content: center;


    border-radius: 22px;


    background:

        rgba(59, 130, 246, .2);


    font-size: 38px;

}



.feature-card h3 {

    font-size: 22px;

    margin-bottom: 15px;

}



.feature-card p {

    color: #cbd5e1;

    line-height: 1.9;

}





/* =========================
   Dashboard Preview
========================= */


.dashboard-preview {

    position: relative;

}



.dashboard-box {

    display: grid;

    grid-template-columns: 220px 1fr;


    background:

        rgba(255, 255, 255, .06);


    border:

        1px solid rgba(255, 255, 255, .1);


    border-radius: 30px;


    overflow: hidden;

}



.dashboard-sidebar {

    background:

        rgba(0, 0, 0, .2);


    padding: 30px 20px;

}



.dash-logo {

    font-size: 25px;

    font-weight: bold;

    margin-bottom: 35px;

}



.dash-menu {

    padding: 14px;

    margin-bottom: 10px;

    border-radius: 12px;

    color: #cbd5e1;

}



.dash-menu.active {

    background: #2563eb;

    color: white;

}



.dashboard-content {

    padding: 35px;

}



.dashboard-cards {

    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 20px;

}



.dash-card {

    background:

        rgba(255, 255, 255, .08);


    padding: 25px;


    border-radius: 18px;

}



.dash-card span {

    color: #94a3b8;

    display: block;

    margin-bottom: 15px;

}



.dash-card strong {

    font-size: 32px;

}



.analytics-box {

    margin-top: 30px;

    background:

        rgba(255, 255, 255, .07);


    border-radius: 20px;


    padding: 30px;

}



.analytics-box h3 {

    margin-bottom: 25px;

}



.chart-lines {

    height: 150px;

    display: flex;

    align-items: flex-end;

    gap: 15px;

}



.chart-lines div {

    flex: 1;

    background: #2563eb;

    border-radius: 10px 10px 0 0;

}



.chart-lines div:nth-child(1) {

    height: 40%;

}



.chart-lines div:nth-child(2) {

    height: 70%;

}



.chart-lines div:nth-child(3) {

    height: 55%;

}



.chart-lines div:nth-child(4) {

    height: 90%;

}

/* =========================
   API Section
========================= */


.api-section {

    position: relative;

}



.api-wrapper {

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 50px;

    align-items: center;

}



.api-content h3 {

    font-size: 35px;

    margin-bottom: 20px;

}



.api-content p {

    color: #cbd5e1;

    line-height: 2;

    margin-bottom: 25px;

}



.api-features {

    display: flex;

    flex-direction: column;

    gap: 15px;

    margin-bottom: 30px;

}



.api-features div {

    background:

        rgba(255, 255, 255, .07);


    padding: 14px 18px;


    border-radius: 12px;


    color: #e2e8f0;

}



.code-box {

    background: #020617;

    border-radius: 25px;

    overflow: hidden;

    border:

        1px solid rgba(255, 255, 255, .1);


    box-shadow:

        0 20px 50px rgba(0, 0, 0, .3);

}



.code-header {

    background: #1e293b;

    padding: 15px 25px;

    color: #93c5fd;

    font-weight: bold;

}



.code-box pre {

    padding: 30px;

    color: #38bdf8;

    font-family: Consolas, monospace;

    line-height: 1.8;

    direction: ltr;

    text-align: left;

    overflow: auto;

}





/* =========================
   FAQ
========================= */


.faq-section {

    position: relative;

}



.faq-list {

    max-width: 900px;

    margin: auto;

}



.faq-item {

    background:

        rgba(255, 255, 255, .07);


    border:

        1px solid rgba(255, 255, 255, .1);


    border-radius: 18px;


    margin-bottom: 15px;


    overflow: hidden;

}



.faq-question {

    width: 100%;

    padding: 22px;


    background: none;

    border: 0;


    color: white;


    display: flex;

    justify-content: space-between;

    align-items: center;


    font-size: 18px;


    cursor: pointer;


    text-align: right;

}



.faq-question span {

    font-size: 25px;

    color: #60a5fa;

}



.faq-answer {

    display: none;

    padding: 0 22px 22px;


    color: #cbd5e1;


    line-height: 1.9;

}



.faq-item.active .faq-answer {

    display: block;

}



.faq-item.active .faq-question span {

    transform: rotate(45deg);

}





/* =========================
   CTA
========================= */


.cta-section {

    padding-bottom: 100px;

}



.cta-box {

    text-align: center;

    padding: 70px 40px;


    border-radius: 35px;


    background:

        linear-gradient(135deg,
            rgba(37, 99, 235, .35),
            rgba(59, 130, 246, .15));


    border:

        1px solid rgba(255, 255, 255, .15);


    box-shadow:

        0 30px 70px rgba(0, 0, 0, .35);

}



.cta-box h2 {

    font-size: 42px;

    margin-bottom: 20px;

}



.cta-box p {

    max-width: 700px;

    margin: auto;


    color: #dbeafe;


    line-height: 2;


    font-size: 18px;

}



.cta-buttons {

    margin-top: 35px;


    display: flex;


    justify-content: center;


    gap: 15px;

}





/* =========================
   Footer
========================= */


.site-footer {

    padding: 70px 0 25px;


    background:

        rgba(2, 6, 23, .6);


    border-top:

        1px solid rgba(255, 255, 255, .08);

}



.footer-grid {

    display: grid;

    grid-template-columns: 2fr 1fr 1fr 1fr;

    gap: 40px;

}



.footer-brand h3 {

    font-size: 30px;

    margin-bottom: 20px;

}



.footer-brand p {

    color: #94a3b8;

    line-height: 2;

}



.footer-links {

    display: flex;

    flex-direction: column;

    gap: 15px;

}



.footer-links h4 {

    font-size: 18px;

}



.footer-links a {

    color: #94a3b8;

    text-decoration: none;

}



.footer-links a:hover {

    color: #60a5fa;

}



.footer-bottom {

    margin-top: 50px;

    padding-top: 25px;


    text-align: center;


    color: #64748b;


    border-top:

        1px solid rgba(255, 255, 255, .08);

}





/* =========================
   Responsive Sections
========================= */


@media(max-width:1000px) {


    .stats-grid,
    .advertiser-grid,
    .formats-grid {

        grid-template-columns: repeat(2, 1fr);

    }



    .dashboard-cards {

        grid-template-columns: repeat(2, 1fr);

    }



    .dashboard-box {

        grid-template-columns: 1fr;

    }



    .footer-grid {

        grid-template-columns: repeat(2, 1fr);

    }



}



@media(max-width:900px) {


    .steps-grid,
    .features-grid {

        grid-template-columns: 1fr;

    }



    .publisher-wrapper,
    .api-wrapper {

        grid-template-columns: 1fr;

    }



    .hero h1 {

        font-size: 34px;

    }



}



@media(max-width:600px) {


    .stats-grid,
    .advertiser-grid,
    .formats-grid,
    .features-grid {

        grid-template-columns: 1fr;

    }



    .dashboard-cards {

        grid-template-columns: 1fr;

    }



    .cta-box {

        padding: 45px 20px;

    }



    .cta-box h2 {

        font-size: 30px;

    }



    .cta-buttons {

        flex-direction: column;

    }



    .footer-grid {

        grid-template-columns: 1fr;

    }



}