/* ═══════════════════════════════════════
   Rewards Landing Page — irfollower
   ═══════════════════════════════════════ */

/* ── Hero ── */
.rw-hero {
    background: linear-gradient(135deg, #6730e3 0%, #3b82f6 50%, #06b6d4 100%);
    padding: 140px 0 80px;
    position: relative;
    overflow: hidden;
    text-align: center;
    color: #fff;
}

.rw-hero::before {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: rgba(255,255,255,0.06);
    top: -100px;
    left: -100px;
}

.rw-hero::after {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(255,255,255,0.04);
    bottom: -80px;
    right: -60px;
}

.rw-hero-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    border-radius: 24px;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    font-size: 36px;
    margin-bottom: 24px;
}

.rw-hero h1 {
    font-family: IRANSansX, sans-serif;
    font-weight: 900;
    font-size: 36px;
    margin-bottom: 16px;
    color: #fff;
}

.rw-hero p {
    font-size: 17px;
    opacity: 0.9;
    max-width: 550px;
    margin: 0 auto 32px;
    line-height: 1.9;
}

.rw-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    color: #6730e3;
    font-weight: 700;
    font-size: 16px;
    padding: 14px 36px;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.rw-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.2);
    color: #6730e3;
}

.rw-btn-outline {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255,255,255,0.4);
}

.rw-btn-outline:hover {
    background: rgba(255,255,255,0.1);
    color: #fff;
}

/* ── Section common ── */
.rw-section {
    padding: 80px 0;
}

.rw-section-alt {
    background: #f8f9fb;
    position: relative;
}

.rw-section-alt::before {
    content: '';
    position: absolute;
    top: 0; left: 10%; right: 10%;
    height: 1px;
    background: linear-gradient(to left, transparent, #e2e8f0 20%, #cbd5e1 50%, #e2e8f0 80%, transparent);
}

.rw-section-title {
    text-align: center;
    margin-bottom: 50px;
}

.rw-section-title h2 {
    font-family: IRANSansX, sans-serif;
    font-weight: 800;
    font-size: 28px;
    color: #1f2937;
    margin-bottom: 12px;
}

.rw-section-title p {
    font-size: 15px;
    color: #6b7280;
    max-width: 500px;
    margin: 0 auto;
    line-height: 1.8;
}

/* ── How it works (Steps) ── */
.rw-steps-row {
    display: flex;
    align-items: stretch;
    gap: 0;
}

.rw-step-card {
    flex: 1;
    background: #fff;
    border: 1.5px solid #e8eaf0;
    border-radius: 20px;
    padding: 44px 24px 36px;
    text-align: center;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.rw-step-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 48px rgba(0,0,0,0.08);
}

.rw-step-card--1:hover { border-color: rgba(103,48,227,0.35); }
.rw-step-card--2:hover { border-color: rgba(59,130,246,0.35); }
.rw-step-card--3:hover { border-color: rgba(6,182,212,0.35); }

.rw-step-num-badge {
    position: absolute;
    top: -14px;
    right: 50%;
    transform: translateX(50%);
    width: 28px;
    height: 28px;
    border-radius: 8px;
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.18);
}

.rw-step-card--1 .rw-step-num-badge { background: linear-gradient(135deg, #6730e3, #8b5cf6); }
.rw-step-card--2 .rw-step-num-badge { background: linear-gradient(135deg, #3b82f6, #60a5fa); }
.rw-step-card--3 .rw-step-num-badge { background: linear-gradient(135deg, #06b6d4, #10b981); }

.rw-step-icon-circle {
    width: 80px;
    height: 80px;
    border-radius: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    margin: 8px auto 22px;
}

.rw-step-card--1 .rw-step-icon-circle { background: linear-gradient(135deg, rgba(103,48,227,0.1), rgba(139,92,246,0.06)); color: #6730e3; }
.rw-step-card--2 .rw-step-icon-circle { background: linear-gradient(135deg, rgba(59,130,246,0.1), rgba(96,165,250,0.06)); color: #3b82f6; }
.rw-step-card--3 .rw-step-icon-circle { background: linear-gradient(135deg, rgba(6,182,212,0.1), rgba(16,185,129,0.06)); color: #06b6d4; }

.rw-step-card h4 {
    font-family: IRANSansX, sans-serif;
    font-weight: 700;
    font-size: 17px;
    color: #1f2937;
    margin-bottom: 10px;
}

.rw-step-card p {
    font-size: 14px;
    color: #6b7280;
    line-height: 1.9;
    margin: 0;
}

.rw-step-arrow-con {
    flex-shrink: 0;
    width: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #d1d5db;
}

/* ── Levels Section Background ── */
.rw-levels-section {
    background-color: #f4f6ff;
    background-image: radial-gradient(circle at center, #c7d2fe 1.2px, transparent 1.2px);
    background-size: 26px 26px;
    position: relative;
}

.rw-levels-section::before {
    content: '';
    position: absolute;
    top: 0; left: 10%; right: 10%;
    height: 2px;
    border-radius: 2px;
    background: linear-gradient(to left, transparent, #a5b4fc 30%, #818cf8 50%, #a5b4fc 70%, transparent);
}

/* ── Level Cards ── */
.rw-level {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    border: none;
    box-shadow: 0 2px 16px rgba(99,102,241,0.07);
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.rw-level:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 44px rgba(0,0,0,0.1);
}

.rw-level-header {
    padding: 28px 20px 22px;
    text-align: center;
    position: relative;
}

.rw-level-header::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 1px;
    background: rgba(255,255,255,0.25);
}

.rw-level-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    font-size: 24px;
    color: #fff;
    margin-bottom: 12px;
}

.rw-level h4 {
    font-family: IRANSansX, sans-serif;
    font-weight: 700;
    font-size: 17px;
    color: #fff;
    margin: 0;
}

.rw-level-body {
    padding: 20px 20px 24px;
    text-align: center;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.rw-level-percent {
    font-family: IRANSansX, sans-serif;
    font-weight: 900;
    font-size: 36px;
    margin-bottom: 4px;
    line-height: 1;
}

.rw-level-label {
    font-size: 12px;
    color: #9ca3af;
    margin-bottom: 18px;
    padding-bottom: 16px;
    border-bottom: 1px dashed #e5e7eb;
}

.rw-level-features {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: right;
    flex: 1;
}

.rw-level-features li {
    font-size: 13px;
    color: #4b5563;
    padding: 7px 0;
    border-bottom: 1px solid #f3f4f6;
    display: flex;
    align-items: center;
    gap: 8px;
}

.rw-level-features li:last-child {
    border-bottom: none;
}

.rw-level-features .ti-check {
    color: #10b981;
    font-size: 11px;
    flex-shrink: 0;
}

/* Level header colors */
.rw-level--regular .rw-level-header { background: linear-gradient(135deg, #3b82f6, #60a5fa); }
.rw-level--regular .rw-level-percent { color: #3b82f6; }

.rw-level--elite .rw-level-header { background: linear-gradient(135deg, #7c3aed, #a78bfa); }
.rw-level--elite .rw-level-percent { color: #7c3aed; }

.rw-level--vip .rw-level-header { background: linear-gradient(135deg, #d97706, #fbbf24); }
.rw-level--vip .rw-level-percent { color: #d97706; }

.rw-level--reseller .rw-level-header { background: linear-gradient(135deg, #059669, #34d399); }
.rw-level--reseller .rw-level-percent { color: #059669; }

/* ── Features Grid ── */
.rw-feature {
    background: #fff;
    border-radius: 16px;
    padding: 28px 24px;
    border: 1px solid #e5e7eb;
    height: 100%;
    transition: all 0.3s;
}

.rw-feature:hover {
    border-color: #c7d2fe;
    box-shadow: 0 8px 30px rgba(103,48,227,0.08);
}

.rw-feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 14px;
    font-size: 24px;
    margin-bottom: 16px;
}

.rw-feature h5 {
    font-family: IRANSansX, sans-serif;
    font-weight: 700;
    font-size: 16px;
    color: #1f2937;
    margin-bottom: 8px;
}

.rw-feature p {
    font-size: 13px;
    color: #6b7280;
    line-height: 1.8;
    margin: 0;
}

.rw-feature--spin .rw-feature-icon { background: #fef3c7; color: #f59e0b; }
.rw-feature--referral .rw-feature-icon { background: #dbeafe; color: #3b82f6; }
.rw-feature--missions .rw-feature-icon { background: #dcfce7; color: #16a34a; }
.rw-feature--convert .rw-feature-icon { background: #f3e8ff; color: #7c3aed; }

/* ── CTA Section ── */
.rw-cta {
    background: linear-gradient(135deg, #6730e3 0%, #3b82f6 100%);
    padding: 60px 0;
    text-align: center;
    color: #fff;
}

.rw-cta h2 {
    font-family: IRANSansX, sans-serif;
    font-weight: 800;
    font-size: 26px;
    margin-bottom: 12px;
    color: #fff;
}

.rw-cta p {
    font-size: 15px;
    opacity: 0.9;
    margin-bottom: 28px;
}

/* ── FAQ ── */
.rw-faq-item {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    margin-bottom: 12px;
    overflow: hidden;
}

.rw-faq-q {
    padding: 18px 24px;
    font-family: IRANSansX, sans-serif;
    font-weight: 700;
    font-size: 15px;
    color: #1f2937;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.rw-faq-q .ti-angle-down {
    transition: transform 0.3s;
    font-size: 12px;
    color: #9ca3af;
}

.rw-faq-item.open .rw-faq-q .ti-angle-down {
    transform: rotate(180deg);
}

.rw-faq-a {
    padding: 0 24px 18px;
    font-size: 14px;
    color: #6b7280;
    line-height: 1.9;
    display: none;
}

.rw-faq-item.open .rw-faq-a {
    display: block;
}

/* ── Responsive ── */
@media (max-width: 767px) {
    .rw-hero {
        padding: 120px 0 60px;
    }

    .rw-hero h1 {
        font-size: 26px;
    }

    .rw-hero p {
        font-size: 15px;
    }

    .rw-section {
        padding: 50px 0;
    }

    .rw-section-title h2 {
        font-size: 22px;
    }

    .rw-steps-row {
        flex-direction: column;
        gap: 28px;
    }

    .rw-step-arrow-con {
        transform: rotate(90deg);
        width: auto;
        height: 20px;
    }

    .rw-level-percent {
        font-size: 26px;
    }
}
