.hero-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem max(5%, calc((100% - 1440px) / 2)) 0;
    position: relative;
    overflow: hidden;
    min-height: fit-content;
}

.hero-content {
    flex: 1;
    max-width: 650px;
    position: relative;
    align-self: center;
    padding-bottom: 3.5rem; 
    z-index: 2;
}

.trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(10px);
}

.trust-badge .stars {
    color: #fbbf24;
    font-size: 1.1rem;
    letter-spacing: 2px;
}

.trust-badge .trust-text {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-main);
}

.hero-content h1 {
    font-size: clamp(2.8rem, 5vw + 1rem, 4.5rem);
    line-height: 1.05;
    margin-bottom: 0.5rem;
    font-weight: 800;
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.15rem);
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.hero-cta-group {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1rem;
    margin-bottom: 2rem;
}

.btn:active {
    transform: scale(0.98);
}

.hero-features {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 500;
}

.hero-features span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    align-self: flex-end;
    position: relative;
    z-index: 1;
}

.features-section {
    padding: 3.5rem max(5%, calc((100% - 1440px) / 2));
    background-color: #f8f9fa; 
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.section-header.center {
    text-align: center;
    margin-bottom: 2rem;
}

.section-header h2 {
    font-size: clamp(2rem, 4vw, 2.8rem);
    letter-spacing: -0.5px;
    margin-bottom: 0.5rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.feature-card {
    background: #ffffff;
    padding: 2.5rem;
    border-radius: 16px; 
    border: 1px solid rgba(0, 0, 0, 0.08);
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.4s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
    border-color: rgba(0, 78, 255, 0.3); 
}

.feature-icon-wrapper {
    background: rgba(0, 78, 255, 0.1);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    margin-bottom: 1rem;
}

.feature-icon {
    font-size: 1.8rem;
    color: var(--accent);
}

.feature-card h3 {
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
    letter-spacing: 0.5px;
}

.feature-card p {
    color: var(--text-muted);
    line-height: 1.6;
    font-size: 1rem;
    margin-bottom: 0;
}

.story-section {
    padding: 3.5rem max(5%, calc((100% - 1440px) / 2));
    display: flex;
    align-items: center;
    gap: 3rem;
}

.story-content {
    flex: 1;
}

.story-content h2 {
    font-size: clamp(2rem, 4vw, 2.8rem);
    margin-bottom: 0.5rem;
    line-height: 1.1;
    letter-spacing: -0.5px;
}

.story-content p {
    color: var(--text-muted);
    margin-bottom: 1rem;
    line-height: 1.7;
    font-size: 1.05rem;
}

.mt-2 {
    margin-top: 1rem;
}

.story-stats {
    flex: 1;
    display: grid;
    gap: 1.5rem;
}

.stat-card {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    background: #ffffff;
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.stat-icon {
    background: linear-gradient(135deg, var(--accent), var(--accent-hover));
    color: #fff;
    width: 65px;
    height: 65px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    font-size: 2.2rem;
    box-shadow: 0 4px 15px rgba(0, 78, 255, 0.3);
}

.stat-info h3 {
    font-size: 2rem;
    margin-bottom: 0.25rem;
    letter-spacing: -1px;
}

.stat-info p {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

@media (prefers-reduced-motion: no-preference) {
    .animate-on-scroll {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1), 
                    transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
    }

    .animate-on-scroll.is-visible {
        opacity: 1;
        transform: translateY(0);
    }

    .feature-card:nth-child(1), .stat-card:nth-child(1) { transition-delay: 0.1s; }
    .feature-card:nth-child(2), .stat-card:nth-child(2) { transition-delay: 0.2s; }
    .feature-card:nth-child(3), .stat-card:nth-child(3) { transition-delay: 0.3s; }
    .feature-card:nth-child(4) { transition-delay: 0.4s; }
}

@media (max-width: 992px) {
    .hero-section { 
        flex-direction: column; 
        text-align: center; 
        padding-top: 2rem;
    }
    
    .hero-content {
        padding-bottom: 2rem; 
    }

    .trust-badge {
        margin: 0 auto 1.5rem auto; 
    }

    .hero-cta-group {
        justify-content: center;
    }

    .hero-features { 
        justify-content: center; 
    }
    
    .hero-content::before, .hero-image::before {
        left: 50%;
    }
    
    .story-section { 
        flex-direction: column; 
        gap: 2rem;
    }
}