* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-red: #E63946;
    --primary-blue: #1D3557;
    --accent-blue: #457B9D;
    --light-bg: #F8F9FA;
    --white: #FFFFFF;
    --dark-text: #2B2D42;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--dark-text);
    overflow-x: hidden;
}

/* Hero Section */
.features-hero {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--accent-blue) 100%);
    padding: 140px 0 80px 0;
    position: relative;
    overflow: hidden;
}

.features-hero::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: var(--primary-red);
    opacity: 0.1;
    border-radius: 50%;
    top: -200px;
    right: -100px;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-30px); }
}

.features-hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.features-hero p {
    font-size: 1.3rem;
    color: rgba(255,255,255,0.9);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hero-image {
    position: relative;
    animation: fadeInRight 1s ease;
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Buttons */
.btn-primary-custom {
    background: var(--primary-red);
    color: var(--white);
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    border: none;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(230, 57, 70, 0.3);
    text-decoration: none;
    display: inline-block;
}

.btn-primary-custom:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(230, 57, 70, 0.4);
    background: #d32f3c;
    color: var(--white);
    text-decoration: none;
}

.btn-secondary-custom {
    background: transparent;
    color: var(--white);
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    border: 2px solid var(--white);
    transition: all 0.3s ease;
    margin-left: 1rem;
}

.btn-secondary-custom:hover {
    background: var(--white);
    color: var(--primary-blue);
    transform: translateY(-3px);
}

/* Feature Category Section */
.feature-category {
    padding: 80px 0;
}

.feature-category:nth-child(even) {
    background: var(--light-bg);
}

.category-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 4rem;
    gap: 3rem;
}

.category-text {
    flex: 1;
}

.category-title {
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.category-description {
    font-size: 1.2rem;
    color: #666;
    max-width: 600px;
}

.category-image {
    flex-shrink: 0;
    width: 60%;
    border-radius: 15px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
    transition: transform 0.3s ease;
}

.category-image:hover {
    transform: scale(1.05);
}

@media (max-width: 992px) {
    .category-header {
        flex-direction: column;
        text-align: center;
    }

    .category-description {
        max-width: 100%;
    }

    .category-image {
        width: 100%;
        max-width: 500px;
    }
}

/* Feature Card */
.feature-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 20px;
    height: 100%;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: linear-gradient(180deg, var(--primary-red) 0%, var(--accent-blue) 100%);
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.feature-card:hover::before {
    transform: scaleY(1);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    border-color: var(--primary-red);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    display: inline-block;
}

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.feature-card p {
    color: #666;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.feature-list {
    list-style: none;
    padding: 0;
}

.feature-list li {
    padding: 0.5rem 0;
    color: #666;
    position: relative;
    padding-left: 1.5rem;
}

.feature-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-red);
    font-weight: bold;
}

/* Stats Section */
.stats-section {
    background: linear-gradient(135deg, var(--primary-red) 0%, #ff6b6b 100%);
    padding: 80px 0;
    color: var(--white);
}

.stat-box {
    text-align: center;
    padding: 2rem;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    display: block;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* CTA Section */
.cta-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--accent-blue) 100%);
    text-align: center;
}

.cta-section h2 {
    font-size: 3rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 1.5rem;
}

.cta-section p {
    font-size: 1.3rem;
    color: rgba(255,255,255,0.9);
    margin-bottom: 2.5rem;
}

.btn-cta {
    background: var(--white);
    color: var(--primary-blue);
    padding: 1.2rem 3rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    border: none;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    text-decoration: none;
    display: inline-block;
}

.btn-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.3);
    color: var(--primary-blue);
}

/* Responsive */
@media (max-width: 768px) {
    .features-hero h1 {
        font-size: 2.5rem;
    }

    .category-title {
        font-size: 2rem;
    }

    .cta-section h2 {
        font-size: 2rem;
    }
}