/* ===================================
   HERO SECTION
=================================== */
#hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    overflow: hidden;
    background: linear-gradient(135deg, #0f0f1e 0%, #1a1a2e 100%);
}

/* Background Animated Orbs */
#hero-section .hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

#hero-section .orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    animation: orbFloat 20s ease-in-out infinite;
}

#hero-section .orb-1 {
    width: 500px;
    height: 500px;
    background: linear-gradient(135deg, #7c3aed, #a78bfa);
    top: -10%;
    right: -10%;
    animation-delay: 0s;
}

#hero-section .orb-2 {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, #ec4899, #f472b6);
    bottom: -10%;
    left: -5%;
    animation-delay: 5s;
}

#hero-section .orb-3 {
    width: 350px;
    height: 350px;
    background: linear-gradient(135deg, #3b82f6, #60a5fa);
    top: 40%;
    left: 50%;
    animation-delay: 10s;
}

@keyframes orbFloat {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(50px, -50px) scale(1.1);
    }
    66% {
        transform: translate(-50px, 50px) scale(0.9);
    }
}

/* Hero Container */
#hero-section .hero-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 1;
}

/* ===================================
   RIGHT SIDE: CONTENT
=================================== */
#hero-section .hero-content {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

/* Badge */
#hero-section .hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: rgba(124, 58, 237, 0.1);
    border: 1px solid rgba(124, 58, 237, 0.3);
    border-radius: 50px;
    color: #a78bfa;
    font-size: 14px;
    font-weight: 600;
    width: fit-content;
    backdrop-filter: blur(10px);
    animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(124, 58, 237, 0.4);
    }
    50% {
        box-shadow: 0 0 0 10px rgba(124, 58, 237, 0);
    }
}

/* Title */
#hero-section .hero-title {
    font-size: 64px;
    font-weight: 800;
    line-height: 1.2;
    color: #ffffff;
    margin: 0;
    animation: fadeInUp 0.8s ease-out;
}

#hero-section .gradient-text {
    background: linear-gradient(135deg, #7c3aed, #ec4899);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    display: inline-block;
}

#hero-section .gradient-text::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #7c3aed, #ec4899);
    border-radius: 2px;
}

/* Description */
#hero-section .hero-description {
    font-size: 18px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.7);
    max-width: 550px;
    margin: 0;
    animation: fadeInUp 0.8s ease-out 0.2s backwards;
}

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

/* CTA Buttons */
#hero-section .hero-cta {
    display: flex;
    gap: 16px;
    align-items: center;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease-out 0.4s backwards;
}

#hero-section .btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

#hero-section .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

#hero-section .btn:hover::before {
    left: 100%;
}

#hero-section .btn-primary {
    font-family: 'Vazirmatn';
    background: linear-gradient(135deg, #7c3aed, #a78bfa);
    color: #ffffff;
    box-shadow: 0 10px 30px rgba(124, 58, 237, 0.4);
}

#hero-section .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(124, 58, 237, 0.6);
}

#hero-section .btn-secondary {
    font-family: 'Vazirmatn';
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    border: 2px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

#hero-section .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* Stats */
#hero-section .hero-stats {
    display: flex;
    gap: 40px;
    align-items: center;
    padding: 30px 0;
    animation: fadeInUp 0.8s ease-out 0.6s backwards;
}

#hero-section .stat-item {
    text-align: center;
}

#hero-section .stat-number {
    font-size: 48px;
    font-weight: 800;
    background: linear-gradient(135deg, #7c3aed, #ec4899);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0 0 8px 0;
    line-height: 1;
}

#hero-section .stat-label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}

#hero-section .stat-divider {
    width: 1px;
    height: 60px;
    background: linear-gradient(
        to bottom,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
}

/* ===================================
   LEFT SIDE: PHONE MOCKUP
=================================== */
#hero-section .hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeInRight 1s ease-out 0.4s backwards;
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Phone Mockup Wrapper */
#hero-section .phone-mockup-wrapper {
    position: relative;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    filter: drop-shadow(0 30px 60px rgba(124, 58, 237, 0.3));
    animation: float 6s ease-in-out infinite;
}

/* عکس دسکتاپ */
#hero-section .mockup-desktop {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 30px;
    transition: transform 0.3s ease;
}

/* عکس موبایل (مخفی در دسکتاپ) */
#hero-section .mockup-mobile {
    display: none;
}

#hero-section .phone-mockup-wrapper:hover .mockup-desktop,
#hero-section .phone-mockup-wrapper:hover .mockup-mobile {
    transform: scale(1.02);
}

/* انیمیشن شناور */
@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(-2deg);
    }
    50% {
        transform: translateY(-20px) rotate(2deg);
    }
}

/* Floating Cards */
#hero-section .floating-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 16px;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(124, 58, 237, 0.1);
    z-index: 10;
    animation: cardFloat 4s ease-in-out infinite;
    transition: all 0.3s ease;
}

#hero-section .floating-card:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 15px 50px rgba(124, 58, 237, 0.25);
}

#hero-section .card-1 {
    top: 15%;
    right: -10%;
    animation-delay: 0s;
}

#hero-section .card-2 {
    top: 50%;
    left: -10%;
    animation-delay: 1s;
}

#hero-section .card-3 {
    bottom: 15%;
    right: -5%;
    animation-delay: 2s;
}

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

#hero-section .card-icon {
    font-size: 28px;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #7c3aed, #a78bfa);
    border-radius: 12px;
    flex-shrink: 0;
}

#hero-section .card-content h4 {
    font-size: 15px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 4px 0;
}

#hero-section .card-content p {
    font-size: 13px;
    color: #666;
    margin: 0;
}

/* ===================================
   RESPONSIVE
=================================== */
@media (max-width: 1200px) {
    #hero-section .hero-container {
        gap: 60px;
        padding: 0 30px;
    }
    
    #hero-section .hero-title {
        font-size: 56px;
    }
    
    #hero-section .phone-mockup-wrapper {
        max-width: 500px;
    }
}

@media (max-width: 1024px) {
    #hero-section .hero-container {
        grid-template-columns: 1fr;
        gap: 60px;
        text-align: center;
    }
    
    #hero-section .hero-content {
        align-items: center;
    }
    
    #hero-section .hero-badge,
    #hero-section .hero-description {
        margin: 0 auto;
    }
    
    #hero-section .hero-cta {
        justify-content: center;
    }
    
    #hero-section .hero-stats {
        justify-content: center;
    }
    
    #hero-section .floating-card {
        padding: 12px 16px;
        gap: 10px;
    }
    
    #hero-section .card-icon {
        font-size: 24px;
        width: 45px;
        height: 45px;
    }
    
    #hero-section .card-content h4 {
        font-size: 14px;
    }
    
    #hero-section .card-content p {
        font-size: 12px;
    }
}

@media (max-width: 768px) {
    #hero-section {
        padding: 100px 0 60px;
    }
    
    #hero-section .hero-container {
        padding: 0 20px;
    }
    
    #hero-section .hero-title {
        font-size: 42px;
    }
    
    #hero-section .hero-description {
        font-size: 16px;
    }
    
    #hero-section .phone-mockup-wrapper {
        max-width: 400px;
    }
    
    /* نمایش عکس موبایل */
    #hero-section .mockup-desktop {
        display: none;
    }
    
    #hero-section .mockup-mobile {
        display: block;
        width: 100%;
        height: auto;
        border-radius: 30px;
    }
    
    /* مخفی کردن کارت‌های شناور در موبایل */
    #hero-section .floating-card {
        display: none;
    }
    
    #hero-section .stat-number {
        font-size: 36px;
    }
    
    #hero-section .stat-label {
        font-size: 12px;
    }
    
    #hero-section .hero-stats {
        gap: 30px;
    }
}

@media (max-width: 480px) {
    #hero-section .hero-title {
        font-size: 36px;
        line-height: normal;
    }
    
    #hero-section .hero-description {
        font-size: 15px;
    }
    
    #hero-section .btn {
        padding: 14px 24px;
        font-size: 15px;
    }
    
    #hero-section .hero-cta {
        flex-direction: column;
        width: 100%;
    }
    
    #hero-section .btn {
        width: 100%;
        justify-content: center;
    }
    
    #hero-section .phone-mockup-wrapper {
        max-width: 320px;
    }
    
    #hero-section .stat-number {
        font-size: 32px;
    }
    
    #hero-section .hero-stats {
        gap: 20px;
        flex-wrap: wrap;
    }
    
    #hero-section .stat-divider {
        display: none;
    }
}
