.autopilot-section {
    padding: var(--spacing-xl) 0;
    max-width: 1000px;
    /* Widened to accommodate grid */
    margin: 0 auto;
    text-align: center;
}

.autopilot-container {
    padding: 0 var(--spacing-md);
}

.autopilot-headline {
    color: #424955FF;
    font-size: clamp(1.8rem, 4vw, 2.75rem);
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
    white-space: normal;
}

.autopilot-subheadline {
    color: #424955FF;
    font-size: clamp(1.1rem, 2vw, 1.25rem);
    margin-bottom: 2.5rem;
    font-weight: 400;
}

.no-more-label {
    font-size: 1.5rem;
    font-weight: 700;
    color: #DE3B40FF;
    margin-bottom: 2rem;
    display: block;
}

.autopilot-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 4rem;
}

.autopilot-card {
    background: #ffffff;
    border: 1px solid #D9252BFF;
    border-radius: 12px;
    padding: 2.5rem 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.2rem;
    box-shadow: 0px 8px 17px #171a1f3B, 0px 0px 2px #171a1f33;
    transition: transform 0.3s ease;
}

.autopilot-card:hover {
    transform: translateY(-5px);
}

.autopilot-card i {
    font-size: 2rem;
    color: #DE3B40;
}

.autopilot-card p {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--color-gray-dark);
    margin: 0;
}

.autopilot-summary {
    margin-top: 1rem;
}

.summary-heading {
    font-size: 1.75rem;
    font-weight: 800;
    color: #DE3B40FF;
    margin-bottom: 0.75rem;
}

.summary-subtext {
    font-size: 1.15rem;
    color: #6b7280;
    /* Gray color as requested */
    font-weight: 500;
    max-width: 800px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .autopilot-section {
        padding: var(--spacing-lg) 0;
    }

    .autopilot-grid {
        grid-template-columns: 1fr;
        /* 1 card per row on mobile */
        gap: 1.5rem;
    }

    .autopilot-card {
        padding: 2.5rem 1.5rem;
    }

    .autopilot-headline {
        font-size: clamp(1.2rem, 5vw, 1.5rem);
        white-space: normal;
    }

    .no-more-label {
        font-size: 1.25rem;
        margin-bottom: 1rem;
    }

    .summary-heading {
        font-size: 1.4rem;
    }

    .summary-subtext {
        font-size: 1rem;
    }

    @media (max-width: 320px) {
        .autopilot-card p {
            white-space: nowrap;
            font-size: 0.9rem;
        }

        .autopilot-card i {
            font-size: 1.5rem;
        }
    }
}