/* ==========================================================================
   Hero Section CSS - Sokrat Development
   Spectacular Hero with Particles & Effects
   ========================================================================== */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: calc(var(--nav-height) + var(--space-8)) var(--space-6) var(--space-8);
    overflow: hidden;
}

/* Background Elements */
.hero-particles {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse 80% 50% at 50% -20%, rgba(99, 102, 241, 0.3), transparent),
        radial-gradient(ellipse 60% 40% at 80% 50%, rgba(6, 182, 212, 0.2), transparent),
        radial-gradient(ellipse 50% 30% at 20% 80%, rgba(236, 72, 153, 0.15), transparent);
    z-index: 1;
    pointer-events: none;
}

.hero-grid {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(99, 102, 241, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(99, 102, 241, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    z-index: 1;
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
}

/* Hero Content */
.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

/* Badge */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-2) var(--space-4);
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: var(--radius-full);
    margin-bottom: var(--space-6);
    animation: float 3s ease-in-out infinite;
}

.badge-icon {
    font-size: var(--fs-lg);
}

.badge-text {
    font-size: var(--fs-sm);
    font-weight: var(--fw-medium);
    color: var(--primary-400);
    letter-spacing: var(--ls-wide);
}

/* Hero Title */
.hero-title {
    font-size: var(--fs-5xl);
    font-weight: var(--fw-bold);
    line-height: var(--lh-tight);
    margin-bottom: var(--space-6);
}

.title-line {
    display: block;
}

.title-line.gradient-text {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% 200%;
    animation: gradientMove 5s ease infinite;
}

/* Typing Effect */
.hero-typing {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    margin-bottom: var(--space-6);
    min-height: 40px;
}

.typing-prefix {
    font-size: var(--fs-xl);
    color: var(--text-secondary);
}

.typing-text {
    font-size: var(--fs-xl);
    font-weight: var(--fw-semibold);
    color: var(--accent-400);
    font-family: var(--font-mono);
}

.typing-cursor {
    font-size: var(--fs-xl);
    color: var(--accent-400);
    animation: blink 1s step-end infinite;
}

/* Hero Description */
.hero-description {
    font-size: var(--fs-lg);
    color: var(--text-secondary);
    line-height: var(--lh-relaxed);
    max-width: 700px;
    margin: 0 auto var(--space-8);
}

/* CTA Buttons */
.hero-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-4);
    flex-wrap: wrap;
    margin-bottom: var(--space-12);
}

/* Stats */
.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-8);
    flex-wrap: wrap;
}

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

.stat-number {
    font-size: var(--fs-4xl);
    font-weight: var(--fw-bold);
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.stat-suffix {
    font-size: var(--fs-2xl);
    font-weight: var(--fw-bold);
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    display: block;
    font-size: var(--fs-sm);
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: var(--ls-wider);
    margin-top: var(--space-1);
}

.stat-divider {
    width: 1px;
    height: 50px;
    background: var(--border-color);
}

/* Scroll Indicator */
.hero-scroll {
    position: absolute;
    bottom: var(--space-8);
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.scroll-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-3);
    color: var(--text-tertiary);
    transition: color var(--transition-base);
}

.scroll-indicator:hover {
    color: var(--primary-400);
}

.scroll-text {
    font-size: var(--fs-xs);
    text-transform: uppercase;
    letter-spacing: var(--ls-widest);
}

.scroll-mouse {
    width: 26px;
    height: 42px;
    border: 2px solid currentColor;
    border-radius: 13px;
    display: flex;
    justify-content: center;
    padding-top: 8px;
}

.scroll-wheel {
    width: 4px;
    height: 8px;
    background: currentColor;
    border-radius: var(--radius-full);
    animation: scrollWheel 2s ease-in-out infinite;
}

@keyframes scrollWheel {
    0%, 100% {
        transform: translateY(0);
        opacity: 1;
    }
    50% {
        transform: translateY(8px);
        opacity: 0.5;
    }
}

/* Floating Shapes */
.hero-shapes {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    overflow: hidden;
}

.shape {
    position: absolute;
    border-radius: var(--radius-full);
    animation: float 6s ease-in-out infinite;
}

.shape-1 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.15) 0%, transparent 70%);
    top: -100px;
    right: -100px;
    animation-delay: 0s;
}

.shape-2 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.15) 0%, transparent 70%);
    bottom: -50px;
    left: -50px;
    animation-delay: 2s;
}

.shape-3 {
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(236, 72, 153, 0.1) 0%, transparent 70%);
    top: 40%;
    left: 10%;
    animation-delay: 4s;
}

.shape-4 {
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.1) 0%, transparent 70%);
    bottom: 30%;
    right: 15%;
    animation-delay: 1s;
}

/* Responsive */
@media (max-width: 768px) {
    .hero {
        padding: calc(var(--nav-height) + var(--space-4)) var(--space-4) var(--space-4);
    }
    
    .hero-title {
        font-size: var(--fs-4xl);
    }
    
    .hero-typing {
        flex-direction: column;
        gap: var(--space-1);
    }
    
    .hero-stats {
        gap: var(--space-4);
    }
    
    .stat-divider {
        display: none;
    }
    
    .stat-number {
        font-size: var(--fs-3xl);
    }
    
    .hero-scroll {
        display: none;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: var(--fs-3xl);
    }
    
    .hero-cta {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-cta .btn {
        width: 100%;
    }
}
