/* =========================================================
   RESELLER BANNER — Homepage Module
   /public/frontend/css/reseller-banner.css
   =========================================================
   Tüm stiller bu dosyadan gelir. Inline stil YOKTUR.
   ========================================================= */

:root {
    --rb-bg:          #060912;
    --rb-box-bg:      linear-gradient(130deg, #0d1128 0%, #111630 55%, #0d1628 100%);
    --rb-border:      #1e2540;
    --rb-accent:      #7c5ef8;
    --rb-accent-glow: rgba(124,94,248,0.18);
    --rb-accent-2:    #4f8ef7;
    --rb-wa:          #25d366;
    --rb-wa-hover:    #1da851;
    --rb-text-dark:   #eef0f8;
    --rb-text-mid:    #8892b0;
    --rb-text-light:  #4a5270;
    --rb-radius:      20px;
    --rb-chip-bg:     rgba(124,94,248,0.12);
    --rb-chip-border: rgba(124,94,248,0.28);
}

/* ─────────────────────────────────────────────────────────
   SECTION WRAPPER
   ───────────────────────────────────────────────────────── */
.rb-section {
    background: var(--rb-bg);
    padding: 72px 0 72px;
    margin-top: 24px;
    border-top: 2px solid rgba(124,94,248,0.18);
}

.rb-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 32px;
}

/* ─────────────────────────────────────────────────────────
   BANNER BOX
   ───────────────────────────────────────────────────────── */
.rb-inner {
    background: var(--rb-box-bg);
    border: 1px solid var(--rb-border);
    border-radius: var(--rb-radius);
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 0;
    overflow: hidden;
    position: relative;
}

/* Accent glow line at top */
.rb-inner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--rb-accent), var(--rb-accent-2), transparent);
}

/* ─────────────────────────────────────────────────────────
   LEFT — ILLUSTRATION
   ───────────────────────────────────────────────────────── */
.rb-art {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(160deg, rgba(124,94,248,0.10) 0%, rgba(79,142,247,0.06) 100%);
    border-right: 1px solid var(--rb-border);
    padding: 40px 30px;
    position: relative;
    overflow: hidden;
}

/* Background dot grid */
.rb-art::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle, rgba(124,94,248,0.15) 1px, transparent 1px);
    background-size: 22px 22px;
    pointer-events: none;
}

/* Glow blob */
.rb-art::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 180px;
    height: 180px;
    background: radial-gradient(circle, rgba(124,94,248,0.22) 0%, transparent 70%);
    pointer-events: none;
}

.rb-art-icon-wrap {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Animated rings */
.rb-art-ring {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(124,94,248,0.22);
    animation: rb-ring-pulse 3s ease-in-out infinite;
}

.rb-art-ring:nth-child(1) { width: 120px; height: 120px; animation-delay: 0s; }
.rb-art-ring:nth-child(2) { width: 160px; height: 160px; animation-delay: 0.6s; border-color: rgba(79,142,247,0.15); }
.rb-art-ring:nth-child(3) { width: 200px; height: 200px; animation-delay: 1.2s; border-color: rgba(124,94,248,0.10); }

@keyframes rb-ring-pulse {
    0%   { transform: scale(1);    opacity: 0.8; }
    50%  { transform: scale(1.05); opacity: 0.4; }
    100% { transform: scale(1);    opacity: 0.8; }
}

.rb-art-icon {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, var(--rb-accent) 0%, var(--rb-accent-2) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    color: #fff;
    position: relative;
    z-index: 1;
    box-shadow: 0 0 40px rgba(124,94,248,0.45), 0 8px 24px rgba(0,0,0,0.4);
}

/* Floating sparkle dots */
.rb-spark {
    position: absolute;
    border-radius: 50%;
    background: var(--rb-accent);
    animation: rb-float 4s ease-in-out infinite;
}

.rb-spark:nth-child(1) { width:6px; height:6px; top:22%; left:20%; animation-delay:0s;   opacity:0.6; }
.rb-spark:nth-child(2) { width:4px; height:4px; top:65%; left:15%; animation-delay:1s;   opacity:0.4; background: var(--rb-accent-2); }
.rb-spark:nth-child(3) { width:5px; height:5px; top:20%; right:18%; animation-delay:0.5s; opacity:0.5; }
.rb-spark:nth-child(4) { width:3px; height:3px; top:70%; right:20%; animation-delay:1.5s; opacity:0.35; background: var(--rb-accent-2); }

@keyframes rb-float {
    0%,100% { transform: translateY(0);   }
    50%      { transform: translateY(-8px); }
}

/* ─────────────────────────────────────────────────────────
   RIGHT — CONTENT
   ───────────────────────────────────────────────────────── */
.rb-content {
    padding: 40px 48px 40px 44px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0;
}

.rb-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--rb-accent-glow);
    border: 1px solid rgba(124,94,248,0.35);
    color: var(--rb-accent);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    padding: 5px 14px;
    border-radius: 20px;
    margin-bottom: 14px;
    align-self: flex-start;
}

.rb-badge i {
    font-size: 10px;
}

.rb-title {
    font-size: 1.9rem;
    font-weight: 900;
    color: var(--rb-text-dark);
    line-height: 1.15;
    margin: 0 0 6px;
}

.rb-subtitle {
    font-size: 14.5px;
    font-weight: 600;
    color: var(--rb-accent);
    margin: 0 0 10px;
}

.rb-desc {
    font-size: 13.5px;
    color: var(--rb-text-mid);
    line-height: 1.65;
    max-width: 600px;
    margin: 0 0 20px;
}

/* Feature chips */
.rb-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 28px;
}

.rb-chip {
    background: var(--rb-chip-bg);
    border: 1px solid var(--rb-chip-border);
    color: var(--rb-text-dark);
    font-size: 11.5px;
    font-weight: 600;
    padding: 5px 13px;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.rb-chip i {
    color: var(--rb-accent);
    font-size: 10px;
}

/* Action buttons */
.rb-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center;
}

.rb-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--rb-accent);
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    padding: 11px 24px;
    border-radius: 10px;
    text-decoration: none;
    transition: background 0.15s, transform 0.1s, box-shadow 0.15s;
    border: none;
}

.rb-cta-btn:hover {
    background: #6344e0;
    color: #fff;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(124,94,248,0.38);
}

.rb-wa-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    color: var(--rb-wa);
    font-size: 13px;
    font-weight: 700;
    padding: 10px 22px;
    border-radius: 10px;
    border: 1.5px solid var(--rb-wa);
    text-decoration: none;
    transition: background 0.15s, color 0.15s, transform 0.1s;
}

.rb-wa-btn:hover {
    background: var(--rb-wa);
    color: #fff;
    text-decoration: none;
    transform: translateY(-2px);
}

.rb-wa-btn i {
    font-size: 16px;
}

/* ─────────────────────────────────────────────────────────
   RESPONSIVE
   ───────────────────────────────────────────────────────── */
@media (max-width: 900px) {
    .rb-inner {
        grid-template-columns: 1fr;
    }
    .rb-art {
        border-right: none;
        border-bottom: 1px solid var(--rb-border);
        padding: 40px 20px;
        min-height: 160px;
    }
    .rb-art-ring:nth-child(2),
    .rb-art-ring:nth-child(3) { display: none; }
    .rb-content {
        padding: 32px 28px;
    }
}

@media (max-width: 520px) {
    .rb-title { font-size: 1.5rem; }
    .rb-actions { flex-direction: column; align-items: stretch; }
    .rb-cta-btn, .rb-wa-btn { justify-content: center; }
}
