/* Hero Section */
.hero {
    background: linear-gradient(145deg, var(--primary-color), var(--secondary-color), var(--accent-color));
    background-size: 200% 200%;
    color: white;
    text-align: center;
    padding: 8rem 0 6rem;
    position: relative;
    overflow: hidden;
    animation: gradientBG 15s ease infinite;
}

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

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI4NiIgaGVpZ2h0PSI0OCIgdmlld0JveD0iMCAwIDg2IDQ4Ij48Zz4KICAgPHBhdGggb3BhY2l0eT0iMC4wOCIgZmlsbD0iI2ZmZmZmZiIgZD0iTTAgMGgxdjFIMHpNODUgMGgxdjFIODV6TTAgNDdoMXYxSDB6TTg1IDQ3aDFoMXYxSDg2eiIvPgogPC9nPjwvc3ZnPg==');
    opacity: 0.3;
    pointer-events: none;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    animation: fadeIn 1s ease-out;
}

.hero-title {
    font-size: 3.75rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-shadow: 0 2px 10px rgba(0,0,0,0.1);
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.9;
}

.hero-cta {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.hero-cta .btn {
    padding: 1rem 2rem;
}

/* Features Section */
.features {
    padding: 6rem 0;
    background-color: var(--white);
    position: relative;
}

.features::before {
    content: '';
    position: absolute;
    top: -50px;
    left: 0;
    right: 0;
    height: 100px;
    background-color: var(--white);
    clip-path: polygon(0 50%, 100% 0, 100% 100%, 0% 100%);
}

.section-heading {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
}

.section-subheading {
    text-align: center;
    max-width: 700px;
    margin: -2rem auto 3rem;
    color: var(--text-muted);
    font-size: 1.1rem;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    text-align: center;
}

.feature {
    background-color: var(--background-alt);
    padding: 2.5rem 2rem;
    border-radius: 16px;
    transition: all 0.4s ease;
    position: relative;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.feature:hover {
    transform: translateY(-12px) scale(1.03);
    box-shadow: var(--shadow-lg);
    background-color: var(--white);
}

.feature-icon {
    width: 3.5rem;
    height: 3.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    padding: 0.75rem;
    background-color: rgba(79, 70, 229, 0.1);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.feature:hover .feature-icon {
    transform: rotate(360deg);
    color: var(--secondary-color);
    background-color: rgba(16, 185, 129, 0.1);
}

.feature h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.feature p {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.7;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero {
        padding: 5rem 0 4rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }

    .feature-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .hero-cta {
        flex-direction: column;
    }
    
    .features {
        padding: 4rem 0;
    }
    
    .section-heading {
        font-size: 2rem;
    }
}