/* prp-proposal-full.css */
/* ============================================
   انیمیشن‌ها و متغیرها
============================================ */
:root {
    --prp-primary: #3b82f6;
    --prp-primary-dark: #1e40af;
    --prp-secondary: #1e1b4b;
    --prp-light: #f8fafc;
    --prp-dark: #1e293b;
    --prp-text: #475569;
    --prp-border: #e2e8f0;
    --prp-success: #10b981;
    --prp-warning: #f59e0b;
    --prp-danger: #ef4444;
}

@keyframes prp-fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes prp-spin { 
    from { transform: rotate(0deg); } 
    to { transform: rotate(360deg); } 
}

/* ============================================
   استایل‌های پایه
============================================ */
.prp-container {
    direction: rtl;
    font-family: inherit;
    margin: 0;
    padding: 0;
    background-color: #fcfdfe;
    line-height: 1.6;
}

.prp-animate-in {
    animation: prp-fadeInUp 0.8s ease-out forwards;
    opacity: 0;
}

/* ============================================
   بخش هیرو
============================================ */
.prp-hero {
    padding: 100px 10%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    background: #1e1b4b;
    background: radial-gradient(circle at 0% 0%, rgba(59, 130, 246, 0.15) 0%, transparent 35%), 
                radial-gradient(circle at 100% 100%, rgba(49, 46, 129, 1) 0%, #1e1b4b 100%);
    position: relative;
    overflow: hidden;
    min-height: 400px;
}

.prp-hero-decoration-1 {
    position: absolute;
    top: 15%;
    left: 15%;
    width: 120px;
    height: 120px;
    background: rgba(255,255,255,0.03);
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.05);
}

.prp-hero-decoration-2 {
    position: absolute;
    bottom: 10%;
    left: 30%;
    width: 80px;
    height: 80px;
    background: rgba(59, 130, 246, 0.05);
    border-radius: 50%;
}

.prp-hero-decoration-3 {
    position: absolute;
    top: 40%;
    right: 5%;
    width: 200px;
    height: 200px;
    background: rgba(255,255,255,0.02);
    border-radius: 50%;
    filter: blur(40px);
}

.prp-hero-content {
    flex: 1.2;
    z-index: 2;
}

.prp-hero-badge {
    color: #3b82f6;
    font-size: 0.9rem;
    font-weight: bold;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.prp-hero-badge-line {
    width: 30px;
    height: 2px;
    background: #3b82f6;
}

.prp-hero-title {
    font-size: 3rem;
    line-height: 1.2;
    color: #fff;
    margin: 0 0 25px;
    font-weight: 800;
    letter-spacing: -1px;
}

.prp-hero-image-wrapper {
    flex: 0.8;
    text-align: center;
    z-index: 2;
    animation-delay: 0.2s;
}

.prp-hero-image-container {
    position: relative;
    display: inline-block;
}

.prp-hero-image-border {
    position: absolute;
    inset: -20px;
    border: 1px dashed rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    animation: prp-spin 20s linear infinite;
}

.prp-hero-image {
    width: 320px;
    height: 320px;
    object-fit: cover;
    border-radius: 50%;
    border: 10px solid rgba(255,255,255,0.05);
    box-shadow: 0 30px 60px rgba(0,0,0,0.3);
}

/* ============================================
   آیکن‌های شبکه‌های اجتماعی
============================================ */
.prp-social-icons {
    position: absolute;
    left: 200px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    z-index: 10;
}

.prp-social-vertical-line {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.3), transparent);
}

.prp-social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    cursor: pointer;
    position: relative;
}

.prp-social-icon:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px) scale(1.1);
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.prp-social-icon svg {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.prp-social-icon:hover svg {
    transform: scale(1.1);
}

/* رنگ‌های خاص برای هر شبکه اجتماعی */
.prp-social-icon-instagram:hover {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    border-color: transparent;
}

.prp-social-icon-whatsapp:hover {
    background: #25D366;
    border-color: transparent;
}

.prp-social-icon-telegram:hover {
    background: #0088cc;
    border-color: transparent;
}

.prp-social-icon-twitter:hover {
    background: #1DA1F2;
    border-color: transparent;
}

.prp-social-icon-email:hover {
    background: #EA4335;
    border-color: transparent;
}

/* ============================================
   بخش پرسش آغازین
============================================ */
.prp-question-section {
    max-width: 1000px;
    margin: -50px auto 60px;
    padding: 0 20px;
    position: relative;
    z-index: 3;
    animation-delay: 0.4s;
}

.prp-question-card {
    background: #ffffff;
    border-radius: 24px;
    padding: 40px;
    border-right: 8px solid #3b82f6;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.prp-question-title {
    font-size: 1.4rem;
    color: #1e293b;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.prp-question-icon {
    color: #3b82f6;
}

.prp-question-text {
    font-size: 1.1rem;
    line-height: 1.9;
    color: #475569;
    margin: 0;
}

/* ============================================
   بخش خط زمانی و فصول
============================================ */
.prp-timeline-wrapper {
    max-width: 850px;
    margin: 0 auto 80px;
    position: relative;
    padding-right: 40px;
}

.prp-timeline-line {
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    width: 2px;
    background: linear-gradient(to bottom, #3b82f6, #e2e8f0);
}

/* کارت فصل */
.prp-chapter-card {
    position: relative;
    margin-bottom: 40px;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
}

.prp-chapter-card:hover {
    transform: translateY(-8px) !important;
    box-shadow: 0 20px 40px rgba(0,0,0,0.08) !important;
    border-right-color: #3b82f6 !important;
}

.prp-chapter-marker {
    position: absolute;
    right: -47px;
    top: 30px;
    width: 12px;
    height: 12px;
    background: #3b82f6;
    border: 3px solid #fff;
    border-radius: 50%;
    z-index: 3;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}

.prp-chapter-content {
    background: #ffffff;
    border-radius: 20px;
    padding: 35px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.03);
    border: 1px solid #f1f5f9;
}

.prp-chapter-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 25px;
}

.prp-chapter-number {
    background: #3b82f6;
    color: #fff;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-weight: bold;
}

.prp-chapter-title {
    margin: 0;
    font-size: 1.25rem;
    color: #1e293b;
    font-weight: 800;
}

/* بخش‌های داخلی فصل */
.prp-chapter-sections {
    display: grid;
    gap: 20px;
}

.prp-chapter-section {
    padding: 15px 20px;
    border-radius: 12px;
}

.prp-chapter-section-question {
    background: #fff9f0;
    border-right: 4px solid #f59e0b;
}

.prp-chapter-section-method {
    background: #f0f7ff;
    border-right: 4px solid #3b82f6;
}

.prp-chapter-section-output {
    background: #f0fdf4;
    border-right: 4px solid #10b981;
}

.prp-section-label {
    font-size: 0.85rem;
    font-weight: bold;
    margin-bottom: 5px;
}

.prp-section-label-question {
    color: #b45309;
}

.prp-section-label-method {
    color: #1d4ed8;
}

.prp-section-label-output {
    color: #047857;
}

.prp-section-text {
    color: #475569;
}

/* ============================================
   بخش خلاصه و جدول
============================================ */
.prp-summary-section {
    padding: 80px 10%;
    animation-delay: 0.7s;
}

.prp-summary-container {
    max-width: 900px;
    margin: 0 auto;
}

.prp-summary-title {
    font-size: 1.8rem;
    color: #1e293b;
    margin-bottom: 25px;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 12px;
}

.prp-summary-title-dot {
    width: 12px;
    height: 12px;
    background: #3b82f6;
    border-radius: 3px;
}

.prp-summary-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #475569;
    margin-bottom: 40px;
}

/* جدول */
.prp-summary-table-wrapper {
    overflow: hidden;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.03);
    border: 1px solid #e2e8f0;
}

.prp-table {
    width: 100%;
    border-collapse: collapse;
    text-align: right;
}

.prp-table thead tr {
    background-color: #f1f5f9;
}

.prp-table th {
    padding: 18px 20px;
    color: #1e293b;
    font-weight: bold;
    border-bottom: 1px solid #e2e8f0;
}

.prp-table tr {
    transition: background 0.3s;
}

.prp-table tr:hover {
    background-color: #f8fafc !important;
}

.prp-table td {
    padding: 15px 20px;
    border-bottom: 1px solid #f1f5f9;
    color: #475569;
}

.prp-table tr:nth-child(even) {
    background-color: #fafbfc;
}

/* نکته پایانی */
.prp-note-box {
    margin-top: 30px;
    padding: 20px;
    background: rgba(59, 130, 246, 0.05);
    border-radius: 12px;
    border: 1px dashed #3b82f6;
    color: #1e40af;
}

.prp-note-box strong {
    color: #1e40af;
}

/* ============================================
   ریسپانسیو
============================================ */
@media (max-width: 1024px) {
    .prp-hero {
        flex-direction: column;
        text-align: center;
        padding: 80px 5%;
    }
    
    .prp-hero-title {
        font-size: 2.5rem;
    }
    
    .prp-hero-image {
        width: 280px;
        height: 280px;
    }
    
    .prp-social-icons {
        position: relative;
        right: auto;
        top: auto;
        transform: none;
        flex-direction: row;
        justify-content: center;
        margin: 30px auto 0;
        gap: 15px;
    }
    
    .prp-social-vertical-line {
        width: 60px;
        height: 1px;
        background: linear-gradient(to right, transparent, rgba(255,255,255,0.3), transparent);
    }
}

@media (max-width: 768px) {
    .prp-hero-title {
        font-size: 2rem;
    }
    
    .prp-hero-image {
        width: 240px;
        height: 240px;
    }
    
    .prp-timeline-wrapper {
        padding-right: 20px;
    }
    
    .prp-chapter-marker {
        right: -27px;
    }
    
    .prp-summary-section {
        padding: 60px 5%;
    }
    
    .prp-table th,
    .prp-table td {
        padding: 12px 15px;
        font-size: 0.9rem;
    }
    
    .prp-social-icon {
        width: 36px;
        height: 36px;
    }
}

@media (max-width: 480px) {
    .prp-hero {
        padding: 60px 20px;
    }
    
    .prp-hero-title {
        font-size: 1.8rem;
    }
    
    .prp-hero-image {
        width: 200px;
        height: 200px;
    }
    
    .prp-question-card,
    .prp-chapter-content {
        padding: 25px;
    }
    
    .prp-chapter-title {
        font-size: 1.1rem;
    }
}