/* assets/css/hero.css */

.hero {
    padding: 160px 0 120px;
    background: linear-gradient(180deg, var(--off-white) 0%, var(--white) 100%);
    position: relative;
    overflow: hidden;
}

/* Dekorativní prvky na pozadí */
.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, var(--primary-glow) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    animation: float 20s ease-in-out infinite;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -15%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 168, 107, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    animation: float 15s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    50% {
        transform: translate(30px, -30px) scale(1.1);
    }
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.hero-content {
    animation: slideInLeft 1s ease-out;
}

.hero-badge-wrapper {
    margin-bottom: 32px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--primary-light) 0%, rgba(0, 168, 107, 0.08) 100%);
    color: var(--primary-dark);
    padding: 10px 20px;
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 0.85rem;
    border: 1px solid rgba(0, 168, 107, 0.1);
    box-shadow: 0 4px 12px rgba(0, 168, 107, 0.1);
    animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 4px 12px rgba(0, 168, 107, 0.1);
    }
    50% {
        box-shadow: 0 4px 20px rgba(0, 168, 107, 0.2);
    }
}

.hero-badge::before {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
    animation: blink 2s ease-in-out infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 28px;
    letter-spacing: -0.03em;
    color: var(--text-primary);
}

.hero-title span {
    background: linear-gradient(135deg, var(--primary) 0%, #00d084 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
    position: relative;
}

.hero-title span::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary) 0%, transparent 100%);
    border-radius: 2px;
}

.hero-description {
    font-size: 1.15rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 540px;
}

.cta-group {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    animation: fadeInUp 1s ease-out 0.3s both;
}

/* Hero visual */
.hero-visual {
    position: relative;
    animation: slideInRight 1s ease-out;
}

.hero-visual img {
    width: 100%;
    border-radius: var(--radius-xl);
    box-shadow: 0 20px 60px rgba(10, 22, 40, 0.15);
    transition: transform var(--transition-smooth);
}

.hero-visual:hover img {
    transform: scale(1.02) rotate(1deg);
}

/* Floating info card */
.hero-visual::before {
    content: '';
    position: absolute;
    top: -10%;
    right: -8%;
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, var(--primary-light) 0%, rgba(255,255,255,0.5) 100%);
    border-radius: 50%;
    filter: blur(60px);
    z-index: -1;
    animation: float 8s ease-in-out infinite;
}

.hero-status-badge {
    position: absolute;
    bottom: 32px;
    right: 32px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 20px 24px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 12px;
    animation: fadeInUp 1s ease-out 0.6s both;
    border: 1px solid rgba(0, 168, 107, 0.1);
}

.hero-status-badge::before {
    content: '';
    width: 10px;
    height: 10px;
    background: var(--primary);
    border-radius: 50%;
    box-shadow: 0 0 0 3px rgba(0, 168, 107, 0.2);
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% {
        box-shadow: 0 0 0 3px rgba(0, 168, 107, 0.2);
    }
    50% {
        box-shadow: 0 0 0 6px rgba(0, 168, 107, 0.1);
    }
}

.hero-status-badge span {
    font-weight: 800;
    font-size: 0.9rem;
    color: var(--text-primary);
}

/* Responsivita */
@media (max-width: 1024px) {
    .hero {
        padding: 140px 0 100px;
    }
    
    .hero-grid {
        gap: 60px;
    }
    
    .hero-title {
        font-size: clamp(2rem, 5vw, 3.5rem);
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 120px 0 80px;
    }
    
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .hero-content {
        text-align: center;
    }
    
    .hero-badge-wrapper {
        margin-bottom: 24px;
    }
    
    .hero-title {
        font-size: 2rem;
        margin-bottom: 20px;
    }
    
    .hero-description {
        font-size: 1rem;
        margin: 0 auto 32px;
    }
    
    .cta-group {
        justify-content: center;
    }
    
    .hero-status-badge {
        bottom: 20px;
        right: 20px;
        padding: 16px 20px;
    }
    
    .hero-status-badge span {
        font-size: 0.8rem;
    }
}