/* Hero Section */
@keyframes float {
    0%, 100% { 
        transform: translate3d(0, 0, 0) rotateX(5deg) scale(1);
    }
    50% { 
        transform: translate3d(0, -15px, 0) rotateX(5deg) scale(1.01);
    }
}

@keyframes fadeInUp {
    from { 
        opacity: 0; 
        transform: translate3d(0, 20px, 0);
    }
    to { 
        opacity: 1; 
        transform: translate3d(0, 0, 0);
    }
}

@keyframes gradientBG {
    0% { 
        background-position: 0% 50%; 
    }
    50% { 
        background-position: 100% 50%; 
    }
    100% { 
        background-position: 0% 50%; 
    }
}

.hero {
    position: relative;
    padding: 1.5rem 0 3rem;
    min-height: auto;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 75%, #e0f2fe 100%);
    background-size: 200% 200%;
    animation: gradientBG 15s ease infinite;
    overflow: hidden;
    will-change: background-position;
    z-index: 1;
    width: 100%;
    max-width: 100%;
    margin: 0;
    box-sizing: border-box;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 10% 20%, rgba(16, 185, 129, 0.05) 0%, transparent 20%),
        radial-gradient(circle at 90% 80%, rgba(59, 130, 246, 0.05) 0%, transparent 20%),
        url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c0-1.657-1.343-3-3-3s-3 1.343-3 3 1.343 3 3 3 3-1.343 3-3zm-8-50c0-1.657-1.343-3-3-3s-3 1.343-3 3 1.343 3 3 3 3-1.343 3-3zm8-16c0-1.657-1.343-3-3-3s-3 1.343-3 3 1.343 3 3 3 3-1.343 3-3zm32 32c0-1.657-1.343-3-3-3s-3 1.343-3 3 1.343 3 3 3 3-1.343 3-3zm-16 32c0-1.657-1.343-3-3-3s-3 1.343-3 3 1.343 3 3 3 3-1.343 3-3zm32-16c0-1.657-1.343-3-3-3s-3 1.343-3 3 1.343 3 3 3 3-1.343 3-3z' fill='%2310b981' fill-opacity='0.05' fill-rule='evenodd'/%3E%3C/svg%3E");
    opacity: 1;
    z-index: 1;
    pointer-events: none;
}

.hero .container {
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    padding: 0 1.5rem;
    box-sizing: border-box;
}

@media (max-width: 480px) {
    .hero .container {
        padding: 0 1rem;
    }
}

.hero-content {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    align-items: center;
    position: relative;
    z-index: 2;
    width: 100%;
    margin: 0 auto;
    padding: 1rem 0 0;
    text-align: center;
}

@media (min-width: 1024px) {
    .hero-content {
        flex-direction: row;
        text-align: left;
        max-width: 1200px;
        padding: 0.5rem 0 0;
    }
}

.hero-text {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}

.hero-image {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(16, 185, 129, 0.1);
    color: #065f46;
    padding: 0.5rem 1.25rem;
    border-radius: 2rem;
    font-size: 0.875rem;
    border: 1px solid rgba(16, 185, 129, 0.2);
    animation: fadeInUp 0.6s ease-out 0.2s both;
}

.hero-text h1 {
    font-size: 2rem;
    font-weight: 800;
    line-height: 1.2;
    margin: 0 0 1rem;
    color: var(--dark);
    letter-spacing: -0.5px;
    background: linear-gradient(90deg, #0f172a, #1e293b);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease-out 0.3s forwards;
}

@media (min-width: 480px) {
    .hero-text h1 {
        font-size: 2.25rem;
    }
}

@media (min-width: 768px) {
    .hero-text h1 {
        font-size: 2.5rem;
    }
}

@media (min-width: 1024px) {
    .hero-text h1 {
        font-size: 2.75rem;
    }
}

.hero-text p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--gray-600);
    margin: 0 0 1.5rem;
    max-width: 100%;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease-out 0.4s forwards;
}

@media (max-width: 767px) {
    .hero-text p {
        font-size: 1rem;
        line-height: 1.5;
    }
}

.hero-image-container {
    position: relative;
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: white;
    padding: 0.15rem;
    max-width: 90%;
    margin: 0 auto;
    transform: translateY(0);
}

.hero-image-container:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px -5px rgba(0, 0, 0, 0.15);
}

.hero-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: 1.5rem 0 0;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease-out 0.5s forwards;
    width: 100%;
}

@media (min-width: 480px) {
    .hero-actions {
        flex-direction: row;
        justify-content: center;
    }
}

@media (min-width: 1024px) {
    .hero-actions {
        justify-content: flex-start;
    }
}

.hero-actions .btn {
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
}

.hero-actions .btn-primary {
    background: linear-gradient(90deg, #10b981, #059669);
    color: white;
    border: none;
}

.hero-actions .btn-outline {
    background: transparent;
    color: #10b981;
    border: 2px solid #10b981;
}

.hero-actions .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Responsive Styles */
@media (max-width: 1023px) {
    .hero {
        padding: 1.5rem 0 3rem;
        text-align: center;
    }
    
    .hero-content {
        flex-direction: column;
        gap: 2.5rem;
        padding-top: 1rem;
    }
    
    .hero-text,
    .hero-image {
        max-width: 100%;
        text-align: center;
    }
    
    .hero-actions {
        justify-content: center;
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-image {
        gap: 0.75rem;
    }
    
    .hero-actions .btn {
        padding: 0.8rem 1.25rem;
        font-size: 0.95rem;
    }
    
    .hero-badge {
        font-size: 0.8rem;
        padding: 0.4rem 1rem;
        margin-bottom: 0.5rem;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 1rem 1rem 1.5rem;
    }
    
    .hero-text h1 {
        font-size: 1.75rem;
    }
    
    .hero-text p {
        font-size: 1rem;
    }
    
    .hero-actions .btn {
        padding: 0.65rem 1.25rem;
        font-size: 0.95rem;
    }
    
    .hero-badge {
        font-size: 0.75rem;
        padding: 0.35rem 0.9rem;
    }
}
