/* ================= هدر رودمپ ================= */
.rm-hero {
    background: linear-gradient(135deg, var(--dark) 0%, var(--dark-2) 100%);
    color: #fff;
    padding: 60px 0 70px;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.rm-hero::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(0, 180, 216, 0.25) 0%, transparent 70%);
    border-radius: 50%;
}

.rm-hero-inner {
    position: relative;
    z-index: 1;
}

.rm-hero-icon {
    width: 100px;
    height: 100px;
    border-radius: 28px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    box-shadow: 0 20px 50px rgba(0, 180, 216, 0.4);
}

.rm-hero-icon i {
    font-size: 46px;
    color: #fff;
}

.rm-hero-title {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 16px;
}

.rm-hero-desc {
    font-size: 17px;
    opacity: 0.9;
    max-width: 640px;
    margin: 0 auto 32px;
    line-height: 1.9;
}

.rm-hero-stats {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
}

.rm-stat {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 12px 22px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    backdrop-filter: blur(10px);
}

.rm-stat i {
    color: var(--primary-light);
}

/* ================= راهنمای اسکرول ================= */
.scroll-hint {
    text-align: center;
    padding: 30px 0;
    color: var(--text-light);
    font-size: 14px;
}

.scroll-hint i {
    display: block;
    margin-top: 10px;
    font-size: 22px;
    color: var(--primary);
    animation: bounceDown 1.8s infinite;
}

@keyframes bounceDown {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(10px); }
}

/* ================= تایم‌لاین ================= */
.roadmap-timeline {
    padding: 30px 0 60px;
    background: var(--bg-light);
    position: relative;
}

.timeline-line {
    position: absolute;
    top: 0;
    bottom: 0;
    right: 50%;
    transform: translateX(50%);
    width: 4px;
    background: var(--border);
    border-radius: 4px;
    overflow: hidden;
}

.timeline-progress {
    width: 100%;
    height: 0;
    background: linear-gradient(180deg, var(--primary), var(--primary-light));
    transition: height 0.3s ease;
    border-radius: 4px;
}

.station {
    display: grid;
    grid-template-columns: 1fr 100px 1fr;
    align-items: center;
    margin-bottom: 80px;
    position: relative;
}

.station:nth-child(even) .station-card {
    grid-column: 1;
    grid-row: 1;
    text-align: left;
}

.station:nth-child(even) .station-marker {
    grid-column: 2;
}

.station:nth-child(odd) .station-card {
    grid-column: 3;
}

.station:nth-child(odd) .station-marker {
    grid-column: 2;
}

.station-marker {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: #fff;
    border: 4px solid var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 800;
    color: var(--primary);
    margin: 0 auto;
    position: relative;
    z-index: 2;
    box-shadow: 0 0 0 8px var(--bg-light);
    transition: var(--transition);
}

.station.visible .station-marker {
    background: var(--primary);
    color: #fff;
    transform: scale(1.1);
}

.station-card {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.station.visible .station-card {
    opacity: 1;
    transform: translateY(0);
}

.station-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
}

.station-icon i {
    font-size: 26px;
    color: #fff;
}

.station-title {
    font-size: 22px;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 12px;
}

.station-desc {
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.9;
    margin-bottom: 22px;
}

.station-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 22px;
    padding: 18px;
    background: var(--bg-light);
    border-radius: var(--radius);
}

.station-stat {
    display: flex;
    align-items: center;
    gap: 10px;
}

.station-stat i {
    font-size: 20px;
    color: var(--primary);
    flex-shrink: 0;
}

.station-stat > div {
    display: flex;
    flex-direction: column;
}

.stat-key {
    font-size: 11px;
    color: var(--text-light);
}

.stat-value {
    font-size: 14px;
    font-weight: 700;
    color: var(--dark);
}

.station-skills {
    border-top: 1px dashed var(--border);
    padding-top: 18px;
}

.skills-title {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 12px;
}

.station-skills ul {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
}

.station-skills li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text);
}

.station-skills i {
    color: var(--primary);
    font-size: 12px;
}

/* ================= گنج ================= */
.treasure-section {
    background: linear-gradient(180deg, var(--bg-light) 0%, var(--dark) 100%);
    padding: 80px 0 100px;
    position: relative;
    overflow: hidden;
}

.treasure {
    text-align: center;
    background: linear-gradient(135deg, #ffd700 0%, #ffb700 50%, #ff9500 100%);
    border-radius: 30px;
    padding: 60px 40px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(255, 183, 0, 0.4);
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.treasure.visible {
    opacity: 1;
    transform: scale(1);
}

.treasure-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.4) 0%, transparent 50%);
    animation: treasureGlow 4s infinite;
    pointer-events: none;
}

@keyframes treasureGlow {
    0%, 100% { transform: scale(1) rotate(0deg); opacity: 0.5; }
    50% { transform: scale(1.1) rotate(180deg); opacity: 0.8; }
}

.treasure-icon {
    font-size: 90px;
    color: #fff;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
    animation: bounceIcon 2s infinite;
    text-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

@keyframes bounceIcon {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

.treasure-title {
    font-size: 32px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 14px;
    position: relative;
    z-index: 1;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.treasure-desc {
    font-size: 17px;
    color: #fff;
    margin-bottom: 30px;
    position: relative;
    z-index: 1;
    opacity: 0.95;
}

.treasure-income {
    display: inline-flex;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
    padding: 20px 40px;
    border-radius: 20px;
    margin-bottom: 30px;
    position: relative;
    z-index: 1;
}

.income-label {
    font-size: 13px;
    color: #fff;
    opacity: 0.9;
    margin-bottom: 6px;
}

.income-value {
    font-size: 26px;
    font-weight: 800;
    color: #fff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.treasure-actions {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.treasure-actions .btn-primary {
    background: #fff;
    color: #d97706;
}

.treasure-actions .btn-primary:hover {
    background: var(--dark);
    color: #fff;
}

.treasure-actions .btn-outline {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.6);
}

.treasure-actions .btn-outline:hover {
    background: #fff;
    color: #d97706;
}

/* ================= ریسپانسیو ================= */
@media (max-width: 992px) {
    .timeline-line {
        right: 40px;
        transform: none;
    }
    
    .station {
        grid-template-columns: 80px 1fr;
        gap: 20px;
    }
    
    .station:nth-child(even) .station-card,
    .station:nth-child(odd) .station-card {
        grid-column: 2;
        grid-row: 1;
        text-align: right;
    }
    
    .station:nth-child(even) .station-marker,
    .station:nth-child(odd) .station-marker {
        grid-column: 1;
        grid-row: 1;
    }
}

@media (max-width: 768px) {
    .rm-hero-title {
        font-size: 30px;
    }
    
    .station-stats {
        grid-template-columns: 1fr;
    }
    
    .station-skills ul {
        grid-template-columns: 1fr;
    }
    
    .treasure {
        padding: 40px 20px;
    }
    
    .treasure-title {
        font-size: 24px;
    }
    
    .income-value {
        font-size: 20px;
    }
}

/* ================= نشان (Badge) ایستگاه ================= */
.station-badge {
    display: inline-block;
    background: rgba(0, 180, 216, 0.12);
    color: var(--primary-dark);
    padding: 4px 14px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: 0.5px;
}

/* ================= دکمه‌های هدر رودمپ ================= */
.rm-hero-actions {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 32px;
}

.rm-hero-actions .btn-outline {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.5);
}

.rm-hero-actions .btn-outline:hover {
    background: #fff;
    color: var(--dark);
}

/* ================= نشان ویژه هدر ================= */
.rm-hero-badge {
    display: inline-block;
    background: linear-gradient(135deg, #ff6b35, #ff9500);
    color: #fff;
    padding: 8px 22px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 20px;
    box-shadow: 0 8px 20px rgba(255, 107, 53, 0.35);
    animation: pulseBadge 2s infinite;
}

@keyframes pulseBadge {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}