/* استایل کاملاً مستقل با کلاس‌های منحصربه‌فرد */
.germany-trade-stats {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #0f172a;
    color: white;
    padding: 80px 20px;
    max-width: 1200px;
    margin: 40px auto;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.germany-trade-stats .stats-header {
    text-align: center;
    margin-bottom: 60px;
}

.germany-trade-stats .stats-title {
    font-size: 2.8rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 15px;
    line-height: 1.2;
}

.germany-trade-stats .stats-subtitle {
    font-size: 1.3rem;
    color: #cbd5e1;
    line-height: 1.5;
    max-width: 800px;
    margin: 0 auto 10px;
}

.germany-trade-stats .stats-source {
    font-size: 0.9rem;
    color: #94a3b8;
    font-style: italic;
    margin-top: 10px;
}

.germany-trade-stats .stats-source a {
    color: #fbbf24;
    text-decoration: none;
    border-bottom: 1px dotted #fbbf24;
    transition: all 0.3s ease;
}

.germany-trade-stats .stats-source a:hover {
    color: #fcd34d;
    border-bottom: 1px solid #fcd34d;
}

.germany-trade-stats .stats-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
    margin-bottom: 60px;
}

.germany-trade-stats .stats-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 50px 30px;
    text-align: center;
    flex: 1;
    min-width: 280px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.germany-trade-stats .stats-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #fbbf24, #f59e0b);
}

.germany-trade-stats .stats-card.animated {
    animation: cardAppear 0.6s ease forwards;
}

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

.germany-trade-stats .stats-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
}

.germany-trade-stats .card-icon {
    font-size: 3.5rem;
    margin-bottom: 25px;
    color: #fbbf24;
    display: inline-block;
}

.germany-trade-stats .card-number {
    font-size: 3.8rem;
    font-weight: 900;
    color: #fbbf24;
    margin-bottom: 15px;
    line-height: 1;
    text-shadow: 0 5px 20px rgba(251, 191, 36, 0.4);
}

.germany-trade-stats .card-label {
    font-size: 1.3rem;
    color: #e2e8f0;
    font-weight: 600;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 2px solid rgba(251, 191, 36, 0.3);
}

.germany-trade-stats .stats-button {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, #1a365d 0%, #2d3748 100%); /* آبی تیره */
    color: #ffffff !important; /* متن سفید */
    padding: 20px 50px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 800;
    font-size: 1.2rem;
    border: 2px solid #fbbf24; /* حاشیه طلایی */
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(26, 54, 93, 0.3);
    position: relative;
    overflow: hidden;
}
.germany-trade-stats .stats-button-container {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 40px;
    margin-left: auto;
    margin-right: auto;
}
.germany-trade-stats .stats-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(26, 54, 93, 0.4);
    background: linear-gradient(135deg, #2d4a7c 0%, #3a4658 100%);
    color: #ffffff !important;
    border-color: #fcd34d; /* حاشیه طلایی روشن‌تر */
}

.germany-trade-stats .stats-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(251, 191, 36, 0.2), transparent);
    transition: left 0.7s;
}

.germany-trade-stats .stats-button:hover::before {
    left: 100%;
}

/* ریسپانسیو */
@media (max-width: 768px) {
    .germany-trade-stats {
        padding: 50px 15px;
        margin: 20px auto;
        border-radius: 15px;
    }
   
    .germany-trade-stats .stats-title {
        font-size: 2.2rem;
    }
   
    .germany-trade-stats .stats-grid {
        gap: 20px;
    }
   
    .germany-trade-stats .stats-card {
        min-width: 100%;
        padding: 40px 20px;
    }
   
    .germany-trade-stats .card-number {
        font-size: 3rem;
    }
   
    .germany-trade-stats .card-icon {
        font-size: 2.8rem;
    }
   
    .germany-trade-stats .stats-button {
        padding: 18px 35px;
        font-size: 1.1rem;
    }
}