/* ==========================================
   CREATIVEIDEA - AFFILIATE PAGE
========================================== */

:root{

    --primary:#5b5cff;
    --secondary:#8b5cf6;

    --bg:#030712;
    --bg2:#08111f;

    --text:#ffffff;
    --muted:#a7b0c3;

    --border:rgba(255,255,255,.08);

    --gradient:
    linear-gradient(
    135deg,
    #5b5cff,
    #8b5cf6);

}

/* ==========================================
   RESET
========================================== */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{

    font-family:'Inter',sans-serif;

    background:#020617;

    color:#fff;

    overflow-x:hidden;
}

/* ==========================================
   GLOBAL
========================================== */


section{
    position:relative;
}

body::before{

    content:'';

    position:fixed;

    inset:0;

    background:

    radial-gradient(
    circle at 15% 20%,
    rgba(91,92,255,.12),
    transparent 30%),

    radial-gradient(
    circle at 80% 10%,
    rgba(139,92,246,.10),
    transparent 30%),

    radial-gradient(
    circle at 50% 100%,
    rgba(91,92,255,.08),
    transparent 35%);

    pointer-events:none;

    z-index:-1;
}

/* ==========================================
   HERO
========================================== */

.affiliate-hero{

    padding:150px 0 70px;
}

.hero-layout{

    display:grid;

    grid-template-columns:55% 45%;

    gap:40px;

    align-items:center;
}

/* ==========================================
   LEFT SIDE
========================================== */

.hero-badge{

    display:inline-flex;

    align-items:center;

    padding:12px 18px;

    border-radius:50px;

    background:
    rgba(91,92,255,.10);

    border:
    1px solid rgba(139,92,246,.25);

    color:#c4b5fd;

    font-size:13px;

    letter-spacing:.08em;

    text-transform:uppercase;

    margin-bottom:24px;
}

.hero-content h1{

    font-size:55px;

    line-height:1.05;

    font-weight:800;

    margin-bottom:24px;
}

.hero-content h1 span{

    display:block;

    background:var(--gradient);

    -webkit-background-clip:text;

    -webkit-text-fill-color:transparent;
}

.hero-content p{

    color:var(--muted);

    font-size:18px;

    line-height:1.9;

    max-width:620px;

    margin-bottom:35px;
}

/* ==========================================
   BUTTONS
========================================== */

.hero-buttons{

    display:flex;

    gap:15px;

    margin-bottom:35px;
}

.btn-primary{

    display:inline-flex;

    align-items:center;

    gap:10px;

    padding:16px 28px;

    border-radius:14px;

    background:var(--gradient);

    color:#fff;

    text-decoration:none;

    font-weight:600;

    transition:.35s;
}

.btn-primary:hover{

    transform:translateY(-4px);

    box-shadow:
    0 20px 50px rgba(91,92,255,.35);
}

.btn-secondary{

    display:inline-flex;

    align-items:center;

    justify-content:center;

    padding:16px 28px;

    border-radius:14px;

    border:1px solid rgba(255,255,255,.15);

    color:#fff;

    text-decoration:none;

    transition:.35s;
}

.btn-secondary:hover{

    border-color:#8b5cf6;
}

/* ==========================================
   FEATURE PILLS
========================================== */

.feature-pills{

    display:flex;

    flex-wrap:wrap;

    gap:12px;
}

.pill{

    display:flex;

    align-items:center;

    gap:10px;

    padding:12px 16px;

    border-radius:12px;

    background:#08111f;

    border:1px solid var(--border);

    font-size:14px;
}

.pill i{

    color:#8b5cf6;
}

/* ==========================================
   DIAGRAM CARD
========================================== */

.diagram-card{

    position:relative;

    height:640px;

    border-radius:32px;

    background:
    linear-gradient(
    180deg,
    rgba(8,17,31,.98),
    rgba(4,10,20,.98));

    border:1px solid rgba(139,92,246,.18);

   
}

/* ==========================================
   SVG LINES
========================================== */

.diagram-lines{

    position:absolute;

    inset:0;

    width:100%;

    height:100%;
}

.diagram-lines line{

    stroke:
    rgba(139,92,246,.35);

    stroke-width:2;

    stroke-dasharray:10;

    animation:
    dashmove 20s linear infinite;
}

@keyframes dashmove{

    from{
        stroke-dashoffset:0;
    }

    to{
        stroke-dashoffset:1000;
    }
}

/* ==========================================
   CENTER CIRCLE
========================================== */

.center-wrap{

    position:absolute;

    top:50%;

    left:50%;

    transform:
    translate(-50%,-50%);

    width:320px;

    height:320px;
}

.center-circle{

    width:280px;

    height:280px;

    border-radius:50%;

    position:absolute;

    top:20px;

    left:20px;

    background:
    rgba(9,17,34,.98);

    border:
    2px solid rgba(139,92,246,.45);

    display:flex;

    flex-direction:column;

    justify-content:center;

    align-items:center;

    text-align:center;

    z-index:5;

    box-shadow:

    0 0 40px rgba(91,92,255,.25),

    0 0 100px rgba(139,92,246,.15);
}

.center-icon{

    width:90px;

    height:90px;

    border-radius:50%;

    background:var(--gradient);

    display:flex;

    align-items:center;

    justify-content:center;

    margin-bottom:20px;
}

.center-icon i{

    font-size:38px;
}

.center-circle h3{

    font-size:32px;

    margin-bottom:8px;
}

.center-circle span{

    font-size:12px;

    letter-spacing:.12em;

    text-transform:uppercase;

    color:#cbd5e1;
}

/* ==========================================
   ORBITS
========================================== */

.orbit{

    position:absolute;

    border-radius:50%;

    border:1px solid rgba(139,92,246,.20);
}

.orbit-1{

    inset:0;

    animation:
    spin 20s linear infinite;
}

.orbit-2{

    inset:-25px;

    animation:
    spinReverse 25s linear infinite;
}

@keyframes spin{

    from{
        transform:rotate(0deg);
    }

    to{
        transform:rotate(360deg);
    }
}

@keyframes spinReverse{

    from{
        transform:rotate(360deg);
    }

    to{
        transform:rotate(0deg);
    }
}

/* ==========================================
   NODES
========================================== */

.eco-node{

    position:absolute;

    width:180px;

    padding:12px;

    display:flex;

    align-items:center;

    gap:12px;

    border-radius:18px;

    background:#0b1628;

    border:1px solid rgba(255,255,255,.08);

    transition:.35s;
}

.eco-node:hover{

    transform:translateY(-6px);

    border-color:#8b5cf6;
}

.node-icon{

    width:52px;

    height:52px;

    border-radius:14px;

    background:
    rgba(91,92,255,.10);

    display:flex;

    justify-content:center;

    align-items:center;
}

.node-icon i{

    color:#8b5cf6;

    font-size:20px;
}

.node-content h4{

    font-size:15px;

    margin-bottom:4px;
}

.node-content p{

    color:#a7b0c3;

    font-size:12px;
}

/* POSITIONING */

.recruit{
    top:35px;
    left:50%;
    transform:translateX(-50%);
}

.promote{
    top:180px;
    left:20px;
}

.track{
    bottom:120px;
    left:20px;
}

.convert{
    top:180px;
    right:20px;
}

.earn{
    bottom:120px;
    right:20px;
}

.grow{
    bottom:25px;
    left:50%;
    transform:translateX(-50%);
}

/* ==========================================
   SECTION HEADINGS
========================================== */

.section-heading{

    text-align:center;

    margin-bottom:60px;
}

.section-heading span{

    color:#c4b5fd;

    text-transform:uppercase;

    letter-spacing:.12em;

    font-size:13px;
}

.section-heading h2{

    font-size:35px;

    margin:18px 0;
}

.section-heading p{

    color:#a7b0c3;

    max-width:750px;

    margin:auto;
}

/* ==========================================
   SERVICES
========================================== */

.services-section{

    padding:100px 0;
}

.services-grid{

    display:grid;

    grid-template-columns:
    repeat(3,1fr);

    gap:30px;
}

.service-card{

    padding:35px;

    border-radius:24px;

    background:#08111f;

    border:1px solid var(--border);

    min-height:280px;

    transition:.35s;
}

.service-card:hover{

    transform:translateY(-8px);

    border-color:#8b5cf6;
}

.service-icon{

    width:70px;

    height:70px;

    border-radius:18px;

    display:flex;

    justify-content:center;

    align-items:center;

    background:
    rgba(91,92,255,.08);

    margin-bottom:24px;
}

.service-icon i{

    color:#8b5cf6;

    font-size:28px;
}

.service-card h3{

    margin-bottom:16px;
}

.service-card p{

    color:#a7b0c3;

    line-height:1.8;
}

/* ==========================================
   PLATFORMS
========================================== */

.platform-section{

    padding-bottom:100px;
}

.platform-grid{

    display:grid;

    grid-template-columns:
    repeat(6,1fr);

    gap:20px;
}

.platform-card{

    padding:24px;

    text-align:center;

    background:#08111f;

    border:1px solid var(--border);

    border-radius:18px;

    font-weight:700;
}

/* ==========================================
   STATS
========================================== */

.stats-section{

    padding-bottom:100px;
}

.stats-grid{

    display:grid;

    grid-template-columns:
    repeat(4,1fr);

    gap:25px;
}

.stat-card{

    text-align:center;

    padding:40px;

    background:#08111f;

    border-radius:22px;

    border:1px solid var(--border);
}

.stat-card h3{

    font-size:52px;

    color:#8b5cf6;

    margin-bottom:10px;
}

.stat-card p{

    color:#a7b0c3;
}

/* ==========================================
   CTA
========================================== */

.affiliate-cta{

    padding-bottom:120px;
}

.cta-box{

    padding:80px;

    border-radius:30px;

    text-align:center;

    background:
    linear-gradient(
    135deg,
    rgba(91,92,255,.12),
    rgba(139,92,246,.12));

    border:
    1px solid rgba(139,92,246,.20);
}

.cta-box h2{

    font-size:48px;

    margin-bottom:20px;
}

.cta-box p{

    max-width:700px;

    margin:auto auto 30px;

    color:#cbd5e1;
}

/* ==========================================
   RESPONSIVE
========================================== */

@media(max-width:1100px){

.hero-layout{
    grid-template-columns:1fr;
}

.diagram-card{
    max-width:700px;
    margin:auto;
    display: none;
}

.services-grid{
    grid-template-columns:repeat(2,1fr);
}

.platform-grid{
    grid-template-columns:repeat(3,1fr);
}

.stats-grid{
    grid-template-columns:repeat(2,1fr);
}

}

@media(max-width:450px){

.hero-content h1{
    font-size:44px;
}

.hero-buttons{
    flex-direction:column;
}

.services-grid,
.platform-grid,
.stats-grid{
    grid-template-columns:1fr;
}

.diagram-card{
    height:760px;
    display: none;
}

.center-wrap{
    width:260px;
    height:260px;
}

.center-circle{
    width:220px;
    height:220px;
}

.eco-node{
    width:150px;
}

.cta-box{
    padding:40px 25px;
}

.cta-box h2{
    font-size:34px;
}

}

@media(max-width:768px){

.hero-content h1{
    font-size:44px;
}

.hero-buttons{
    flex-direction:column;
}

.services-grid,
.platform-grid,
.stats-grid{
    grid-template-columns:1fr;
}

.diagram-card{
    height:760px;
    display: none;
}

.center-wrap{
    width:260px;
    height:260px;
}

.center-circle{
    width:220px;
    height:220px;
}

.eco-node{
    width:150px;
}

.cta-box{
    padding:40px 25px;
}

.cta-box h2{
    font-size:34px;
}

}

/* =========================================================
   AFFILIATE SEO CONTENT SECTIONS
   ========================================================= */


.why-affiliate{
    padding:100px 0;
    position:relative;
}

.why-affiliate .section-heading{
    max-width:850px;
    margin:0 auto 60px;
    text-align:center;
}

.why-affiliate .section-tag{
    display:inline-block;
    padding:8px 18px;
    border-radius:50px;
    background:rgba(91,92,255,.12);
    color:#8b5cf6;
    border:1px solid rgba(139,92,246,.25);
    font-size:13px;
    font-weight:700;
    letter-spacing:1px;
    text-transform:uppercase;
    margin-bottom:18px;
}

.why-affiliate .section-heading h2{
    font-size:42px;
    color:#ffffff;
    margin-bottom:20px;
}

.why-affiliate .section-heading p{
    color:#b8c1d9;
    font-size:17px;
    line-height:1.9;
}

.why-affiliate-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:30px;
}

.why-affiliate-card{
    background:rgba(255,255,255,.04);
    border:1px solid rgba(255,255,255,.08);
    backdrop-filter:blur(12px);
    border-radius:24px;
    padding:30px;
    transition:.35s ease;
}

.why-affiliate-card:hover{
    transform:translateY(-8px);
    border-color:rgba(139,92,246,.35);
    box-shadow:0 20px 40px rgba(91,92,255,.15);
}

.card-header{
    display:flex;
    align-items:center;
    gap:18px;
    margin-bottom:18px;
}

.icon-circle{
    width:60px;
    height:60px;
    min-width:60px;

    border-radius:50%;

    display:flex;
    align-items:center;
    justify-content:center;

    background:linear-gradient(
        135deg,
        #5b5cff,
        #8b5cf6
    );

    box-shadow:
        0 10px 25px rgba(91,92,255,.25);
}

.icon-circle i{
    color:#ffffff;
    font-size:22px;
}

.card-header h3{
    margin:0;
    color:#ffffff;
    font-size:22px;
    line-height:1.3;
}

.why-affiliate-card p{
    color:#b8c1d9;
    line-height:1.8;
    margin:0;
}

/* ==========================================
   RESPONSIVE
========================================== */

@media(max-width:991px){

    .why-affiliate-grid{
        grid-template-columns:repeat(2,1fr);
    }

    .why-affiliate .section-heading h2{
        font-size:34px;
    }

}

@media(max-width:768px){

    .why-affiliate{
        padding:70px 0;
    }

    .why-affiliate-grid{
        grid-template-columns:1fr;
    }

    .why-affiliate .section-heading h2{
        font-size:28px;
    }

    .why-affiliate .section-heading p{
        font-size:16px;
    }

    .why-affiliate-card{
        padding:25px;
    }

    .icon-circle{
        width:55px;
        height:55px;
        min-width:55px;
    }

    .card-header h3{
        font-size:20px;
    }

}
.aff-industry-keyword {
    display: inline-block;

    margin-top: 22px;

    padding: 6px 12px;

    border-radius: 30px;

    color: #a78bfa;

    background: rgba(91, 92, 255, 0.10);

    border: 1px solid rgba(139, 92, 246, 0.18);

    font-size: 12px;

    font-weight: 600;
}
