/* ============================================
   AFFILIATE SECTION - PREMIUM REDESIGN
   ============================================ */

.affiliate-section {
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background: transparent;
    padding: 100px 0;
    margin: 0;
    box-sizing: border-box;
    isolation: isolate;
    transform: translateZ(0);
    z-index: 1;
}

/* ============================================
   AFFILIATE GRID
   ============================================ */

.affiliate-grid-new {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
    margin-top: 50px;
}

/* ============================================
   LEFT BLOCK - COMMISSION LEVELS
   ============================================ */

.affiliate-content-left {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.commission-levels {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.commission-level-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    padding: 20px 30px;
    transition: all 0.4s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.commission-level-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(135deg, #00d4ff 0%, #7c3aed 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.commission-level-card:hover {
    transform: translateX(8px);
    border-color: rgba(0, 212, 255, 0.4);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.2);
}

.commission-level-card:hover::before {
    opacity: 1;
}

/* Level Specific Colors */
.level-1:hover {
    border-color: rgba(16, 185, 129, 0.4);
}

.level-1::before {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.level-2:hover {
    border-color: rgba(59, 130, 246, 0.4);
}

.level-2::before {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
}

.level-3:hover {
    border-color: rgba(251, 191, 36, 0.4);
}

.level-3::before {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
}

.level-header {
    display: flex;
    align-items: center;
    gap: 15px;
}

.level-badge {
    font-size: 11px;
    font-weight: 800;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
    padding: 6px 12px;
    border-radius: 6px;
    letter-spacing: 1px;
}

.level-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #00d4ff 0%, #7c3aed 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.level-1 .level-icon {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.level-2 .level-icon {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
}

.level-3 .level-icon {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
}

.commission-level-card:hover .level-icon {
    transform: scale(1.1) rotate(5deg);
}

.level-icon i {
    font-size: 22px;
    color: #ffffff;
}

.level-body {
    text-align: right;
}

.commission-rate {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.rate-number {
    font-size: 38px;
    font-weight: 900;
    color: #00d4ff;
    line-height: 1;
    font-family: 'Saira', sans-serif;
    transition: all 0.3s ease;
}

.level-1 .rate-number {
    color: #10b981;
}

.level-2 .rate-number {
    color: #3b82f6;
}

.level-3 .rate-number {
    color: #fbbf24;
}

.commission-level-card:hover .rate-number {
    transform: scale(1.1);
}

.rate-label {
    font-size: 12px;
    color: #9ca3af;
    font-weight: 600;
    margin-top: 5px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.level-description {
    font-size: 14px;
    color: #d1d5db;
    margin-top: 8px;
    margin-bottom: 0;
    font-weight: 500;
}

/* ============================================
   AFFILIATE BUTTON
   ============================================ */

.btn-affiliate-new {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 16px 35px;
    background: linear-gradient(135deg, #00d4ff 0%, #7c3aed 100%);
    color: #ffffff;
    border-radius: 12px;
    font-weight: 700;
    font-size: 15px;
    text-decoration: none;
    transition: all 0.4s ease;
    cursor: pointer;
    font-family: 'Saira', sans-serif;
    position: relative;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(0, 212, 255, 0.4);
}

.btn-affiliate-new::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.btn-affiliate-new:hover::before {
    left: 100%;
}

.btn-affiliate-new:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 60px rgba(0, 212, 255, 0.6);
}

/* ============================================
   RIGHT BLOCK - BENEFITS
   ============================================ */

.affiliate-content-right {
    display: flex;
    align-items: center;
}

.affiliate-benefits-new {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    width: 100%;
    height: 100%;
}

.benefit-card-new {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    padding: 20px 18px;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
    height: 100%;
}

.benefit-card-new:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 212, 255, 0.3);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 15px 35px rgba(0, 212, 255, 0.2);
}

.benefit-icon-new {
    width: 55px;
    height: 55px;
    background: linear-gradient(135deg, #00d4ff 0%, #7c3aed 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.benefit-card-new:hover .benefit-icon-new {
    transform: scale(1.1);
    box-shadow: 0 10px 25px rgba(0, 212, 255, 0.4);
}

.benefit-icon-new i {
    font-size: 24px;
    color: #ffffff;
}

.benefit-content-new h4 {
    font-size: 15px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 5px 0;
    font-family: 'Saira', sans-serif;
}

.benefit-content-new p {
    font-size: 12px;
    color: #9ca3af;
    margin: 0;
    line-height: 1.4;
    font-weight: 500;
}

/* ============================================
   ANIMATIONS
   ============================================ */

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.affiliate-content-left {
    animation: fadeInLeft 0.8s ease-out;
}

.affiliate-content-right {
    animation: fadeInRight 0.8s ease-out;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media screen and (max-width: 1200px) {
    .affiliate-grid-new {
        gap: 50px;
    }
    
    .rate-number {
        font-size: 32px;
    }
}

@media screen and (max-width: 1024px) {
    .affiliate-section {
        height: auto;
        min-height: 700px;
        padding: 60px 0;
    }
    
    .affiliate-grid-new {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .affiliate-benefits-new {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 768px) {
    .affiliate-section {
        padding: 50px 0;
    }
    
    .commission-level-card {
        padding: 20px;
    }
    
    .rate-number {
        font-size: 28px;
    }
    
    .benefit-card-new {
        padding: 20px;
    }
    
    .btn-affiliate-new {
        padding: 16px 35px;
        font-size: 15px;
    }
}

@media screen and (max-width: 480px) {
    .affiliate-section {
        padding: 40px 0;
    }
    
    .commission-levels {
        gap: 15px;
    }
    
    .commission-level-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .level-body {
        text-align: left;
        width: 100%;
    }
    
    .commission-rate {
        align-items: flex-start;
    }
    
    .affiliate-benefits-new {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .btn-affiliate-new {
        width: 100%;
        padding: 14px 30px;
        font-size: 14px;
    }
}
