/* --- SECTION HEADER --- */
.section-header h2 { 
    font-size: 36px; 
    font-weight: 800; 
    margin-bottom: 16px; 
    color: var(--text-main);
}

.section-header p { 
    font-size: 18px; 
    color: var(--text-light); 
    margin-bottom: 64px; 
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* --- GRID LAYOUT --- */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

/* --- CARD DESIGN (Clean SaaS Style) --- */
.feature-card {
    background: white;
    padding: 40px 32px;
    border-radius: 20px; /* Modern Soft Roundness */
    border: 1px solid transparent;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Layout */
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* Left Aligned */
    text-align: left;
    
    /* Default Shadow */
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 
                0 2px 4px -1px rgba(0, 0, 0, 0.03);
}

/* HOVER STATE: Lift & Red Glow Border */
.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 
                0 10px 10px -5px rgba(0, 0, 0, 0.04);
    border-color: rgba(204, 0, 0, 0.1); /* Subtle Red Border appears */
}

/* --- ICON WRAPPER (The "Squircle") --- */
.icon-wrapper {
    width: 64px;
    height: 64px;
    background-color: #fef2f2; /* Very Light Red BG */
    color: var(--brand-red);
    border-radius: 16px; /* Squircle Shape */
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    margin-bottom: 24px;
    
    /* Animation settings */
    transition: all 0.3s ease;
}

/* HOVER: Icon fills with Red */
.feature-card:hover .icon-wrapper {
    background-color: var(--brand-red);
    color: white;
    transform: rotate(-5deg) scale(1.1); /* Playful tilt and zoom */
    box-shadow: 0 10px 15px -3px rgba(204, 0, 0, 0.3);
}

/* --- TYPOGRAPHY --- */
.feature-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-main);
    letter-spacing: -0.02em;
}

.feature-card p {
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-light);
}

/* --- RESPONSIVE --- */
@media (max-width: 992px) {
    .cards-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }
    
    .feature-card {
        align-items: center;
        text-align: center;
        padding: 32px 24px;
    }
}