/* استایل‌های اضافی برای لوگو و واتساپ */

/* Logo Styles */
.logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.logo-image {
    height: 50px;
    width: auto;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-text h1 {
    font-size: 1.8rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.2rem;
}

.logo-tagline {
    font-size: 0.7rem;
    color: var(--gray-400);
    display: block;
    margin-top: -0.5rem;
    font-family: 'Inter', sans-serif;
}

/* Hero Digikala Logo */
.hero-logo-section {
    margin: var(--spacing-md) 0;
}

.hero-digikala-logo {
    max-width: 280px;
    height: auto;
    filter: brightness(1.2);
    animation: fadeInUp 0.8s ease-out 0.3s both;
}

/* Footer Logo */
.footer-logo {
    height: 60px;
    width: auto;
    margin-bottom: var(--spacing-sm);
}

/* Floating WhatsApp Button */
.whatsapp-float {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    text-decoration: none;
    transition: all var(--transition-base);
    animation: pulseWhatsApp 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1) translateY(-5px);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.6);
}

.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(-10px);
}

.whatsapp-tooltip {
    position: absolute;
    right: 100%;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(30, 41, 59, 0.95);
    color: var(--white);
    padding: var(--spacing-xs) var(--spacing-md);
    border-radius: var(--radius-md);
    font-size: 0.9rem;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
    margin-right: var(--spacing-sm);
    font-family: 'Vazirmatn', sans-serif;
}

@keyframes pulseWhatsApp {

    0%,
    100% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    }

    50% {
        box-shadow: 0 4px 30px rgba(37, 211, 102, 0.7), 0 0 0 10px rgba(37, 211, 102, 0.1);
    }
}

/* Coming Soon Popup Styles */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

.popup-overlay.active {
    opacity: 1;
    visibility: visible;
}

.popup-content {
    background: #ffffff;
    width: 90%;
    max-width: 500px;
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    transform: scale(0.8) translateY(20px);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(239, 68, 68, 0.1);
}

.popup-overlay.active .popup-content {
    transform: scale(1) translateY(0);
}

.popup-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #94a3b8;
    cursor: pointer;
    transition: color 0.3s;
    line-height: 1;
}

.popup-close:hover {
    color: #ef4444;
}

.popup-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    animation: floatIcon 3s ease-in-out infinite;
}

@keyframes floatIcon {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.popup-title {
    font-size: 2rem;
    font-weight: 800;
    color: #ef4444;
    margin-bottom: 1rem;
}

.popup-message {
    font-size: 1.1rem;
    color: #1e293b;
    margin-bottom: 0.5rem;
    line-height: 1.6;
    font-weight: 600;
}

.popup-message .highlight {
    color: #ef4444;
    font-weight: 800;
}

.popup-submessage {
    font-size: 0.95rem;
    color: #64748b;
    margin-bottom: 1.5rem;
}

.popup-progress {
    width: 100%;
    height: 6px;
    background: #f1f5f9;
    border-radius: 3px;
    overflow: hidden;
    margin-top: 1rem;
}

.progress-bar {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, #ef4444, #b91c1c);
    border-radius: 3px;
    animation: progressFill 2s ease-out forwards;
}

@keyframes progressFill {
    0% {
        width: 0%;
    }

    100% {
        width: 85%;
    }
}

/* تنظیمات ریسپانسیو */
@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 5rem;
        right: 1rem;
        width: 55px;
        height: 55px;
    }

    .whatsapp-tooltip {
        display: none;
    }

    .logo-image {
        height: 40px;
    }

    .hero-digikala-logo {
        max-width: 200px;
    }

    .popup-content {
        padding: 2rem 1.5rem;
    }

    .popup-title {
        font-size: 1.5rem;
    }
}