/* ========================================
   HERO SECTION STYLES
   Award-winning hero section design
   ======================================== */

.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
    padding: 8rem 0 4rem;
}

/* Background Animation */
.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    z-index: 0;
}

.hero-bg-gradient {
    position: absolute;
    width: 200%;
    height: 200%;
    top: -50%;
    left: -50%;
    background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
    animation: rotate 30s linear infinite;
}

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

/* Grid Pattern */
.hero-grid {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0.5;
}

/* Content */
.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Subtitle */
.hero-subtitle {
    font-size: 0.95rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 1.5rem;
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
}

/* Title */
.hero-title {
    font-size: 3rem;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: #ffffff;
    opacity: 0;
    animation: fadeInUp 0.8s ease 0.2s forwards;
}

.hero-title-highlight {
    background: linear-gradient(135deg, #ffffff 0%, #25D366 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

/* Description */
.hero-description {
    font-size: 1.25rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.8);
    max-width: 700px;
    margin: 0 auto 3rem;
    opacity: 0;
    animation: fadeInUp 0.8s ease 0.4s forwards;
}

/* CTA Buttons */
.hero-cta {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 4rem;
    opacity: 0;
    animation: fadeInUp 0.8s ease 0.6s forwards;
}

.hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.25rem 2.5rem;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.hero-btn-primary {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: white;
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.3);
}

.hero-btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(37, 211, 102, 0.4);
}

.hero-btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Ripple Effect */
.hero-btn-secondary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.05) 100%);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

/* Shimmer Effect */
.hero-btn-secondary::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    bottom: -50%;
    left: -50%;
    background: linear-gradient(90deg, 
        transparent,
        rgba(255, 255, 255, 0.1),
        transparent
    );
    transform: translateX(-100%);
    transition: transform 0.6s;
}

.hero-btn-secondary:hover::before {
    width: 400px;
    height: 400px;
}

.hero-btn-secondary:hover::after {
    transform: translateX(100%);
}

.hero-btn-secondary:hover {
    border-color: rgba(255, 255, 255, 0.6);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.1),
                0 0 0 1px rgba(255, 255, 255, 0.1) inset,
                0 0 20px rgba(255, 255, 255, 0.05);
}

.hero-btn-secondary svg {
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease;
}

.hero-btn-secondary span {
    position: relative;
    z-index: 1;
}

.hero-btn-secondary:hover svg {
    transform: scale(1.1) rotate(5deg);
}

.hero-btn-secondary:active {
    transform: translateY(-1px);
}

/* Stats */
.hero-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    max-width: 900px;
    margin: 0 auto;
    opacity: 0;
    animation: fadeInUp 0.8s ease 0.8s forwards;
}

.hero-stat {
    text-align: center;
}

.hero-stat-number {
    display: block;
    font-size: 3rem;
    font-weight: 900;
    background: linear-gradient(135deg, #ffffff 0%, #25D366 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
    line-height: 1;
}

.hero-stat-label {
    display: block;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
}

/* Scroll Indicator */
.hero-scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    animation: fadeInUp 0.8s ease 1s forwards;
}

.hero-scroll-icon {
    width: 30px;
    height: 50px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    position: relative;
    cursor: pointer;
    transition: border-color 0.3s ease;
}

.hero-scroll-icon:hover {
    border-color: rgba(255, 255, 255, 0.6);
}

.hero-scroll-icon::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 2px;
    animation: scrollDown 2s infinite;
}

@keyframes scrollDown {
    0%, 100% {
        top: 8px;
        opacity: 1;
    }
    50% {
        top: 20px;
        opacity: 0;
    }
}

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

/* ========================================
   MOBILE STYLES
   ======================================== */

@media (max-width: 767px) {
    .hero-section {
        padding: 6rem 0 3rem;
    }
    
    .hero-content {
        padding: 0 1.5rem;
    }
    
    .hero-subtitle {
        font-size: 0.75rem;
        letter-spacing: 2px;
        margin-bottom: 1rem;
    }
    
    .hero-title {
        font-size: 2rem;
        margin-bottom: 1rem;
    }
    
    .hero-description {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    .hero-cta {
        flex-direction: column;
        gap: 1rem;
        margin-bottom: 3rem;
    }
    
    .hero-btn {
        width: 100%;
        justify-content: center;
        padding: 1rem 2rem;
    }
    
    .hero-btn-secondary:hover::before {
        width: 300px;
        height: 300px;
    }
    
    .hero-stats {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .hero-stat-number {
        font-size: 2.5rem;
    }
    
    .hero-stat-label {
        font-size: 0.9rem;
    }
}

/* ========================================
   TABLET STYLES
   ======================================== */

@media (min-width: 768px) and (max-width: 1023px) {
    .hero-section {
        padding: 7rem 0 4rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-description {
        font-size: 1.1rem;
    }
    
    .hero-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }
    
    .hero-stat-number {
        font-size: 2.75rem;
    }
}

/* ========================================
   DESKTOP STYLES
   ======================================== */

@media (min-width: 1024px) {
    .hero-section {
        padding: 8rem 0 4rem;
    }
    
    .hero-title {
        font-size: 4rem;
    }
    
    .hero-description {
        font-size: 1.25rem;
    }
    
    .hero-stats {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .hero-btn {
        padding: 1.25rem 3rem;
        font-size: 1.1rem;
    }
}

@media (min-width: 1440px) {
    .hero-title {
        font-size: 4.5rem;
    }
    
    .hero-stat-number {
        font-size: 3.5rem;
    }
}

/* RTL Support */
[dir="rtl"] .hero-btn svg {
    transform: scaleX(-1);
}
