/* ====================================
   Solution Section Styles
   Version: 1.0
   Description: Feature cards section with gradient badge
   ==================================== */

/* Main Section Container */
.solution-section {
    background: #f9fafb;
    padding: 60px 40px 40px;
    position: relative;
    overflow: hidden;
}

/* Gradient Background Effect */
.solution-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse at top right, rgba(52, 113, 235, 0.02) 0%, transparent 50%),
        radial-gradient(ellipse at bottom left, rgba(127, 87, 227, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

/* Subtle Undulating Wave at Bottom */
.solution-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: url("data:image/svg+xml,%3Csvg viewBox='0 0 1200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cdefs%3E%3ClinearGradient id='subtleWave' x1='0%25' y1='0%25' x2='100%25' y2='100%25'%3E%3Cstop offset='0%25' stop-color='%23e5e7eb' stop-opacity='0.3'/%3E%3Cstop offset='100%25' stop-color='%23d1d5db' stop-opacity='0.2'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath d='M0,100 C300,60 600,120 900,100 C1050,90 1100,110 1200,100 L1200,200 L0,200 Z' fill='url(%23subtleWave)'/%3E%3C/svg%3E");
    background-size: cover;
    background-position: center bottom;
    z-index: 0;
    pointer-events: none;
}

/* Undulating Wave at Bottom */
.solution-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 280px;
    background: url("data:image/svg+xml,%3Csvg viewBox='0 0 1200 280' xmlns='http://www.w3.org/2000/svg'%3E%3Cdefs%3E%3ClinearGradient id='solutionGrad' x1='0%25' y1='0%25' x2='100%25' y2='100%25'%3E%3Cstop offset='0%25' stop-color='%233471eb' stop-opacity='0.03'/%3E%3Cstop offset='100%25' stop-color='%237f57e3' stop-opacity='0.05'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath d='M0,140 C200,90 400,180 600,140 C800,100 1000,160 1200,140 L1200,280 L0,280 Z' fill='url(%23solutionGrad)'/%3E%3C/svg%3E");
    background-size: cover;
    background-position: center bottom;
    z-index: 0;
    pointer-events: none;
}

/* Content Container */
.solution-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* Header Section */
.solution-header {
    text-align: center;
    margin-bottom: 40px;
}

/* Features Badge - Gradient Text */
.solution-badge {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 20px;
    background: var(--color-accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

/* Main Title */
.solution-title {
    font-size: 3rem;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: #1f2937;
    margin-bottom: 16px;
}

/* Subtitle */
.solution-subtitle {
    font-size: 1.25rem;
    color: #6b7280;
    font-weight: 400;
    max-width: 600px;
    margin: 0 auto;
}

/* Feature Cards Grid */
.solution-feature-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    max-width: 1100px;
    margin: 0 auto 40px;
}

/* Individual Feature Card */
.solution-feature-item {
    background: white;
    padding: 32px;
    border-radius: 16px;
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

/* Feature Card Hover State */
.solution-feature-item:hover {
    transform: translateY(-2px);
    border-color: #667eea;
    box-shadow: 0 12px 24px rgba(102, 126, 234, 0.1);
}

/* Feature Card Title */
.solution-feature-text h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 14px;
    color: #111827;
    display: flex;
    align-items: center;
    gap: 10px;
    line-height: 1.3;
    letter-spacing: -0.01em;
}

/* Feature Emoji Icon */
.solution-feature-emoji {
    font-size: 1.125rem;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    opacity: 0.9;
}

/* Feature Points List */
.solution-feature-text ul {
    list-style: none;
    padding: 0;
    margin: 0;
    padding-left: 35px;
}

/* Feature List Items */
.solution-feature-text li {
    margin-bottom: 6px;
    font-size: 0.8125rem;
    color: #6b7280;
    line-height: 1.4;
}

.solution-feature-text li:last-child {
    margin-bottom: 0;
}

/* CTA Section */
.solution-bottom-cta {
    text-align: center;
}

/* CTA Button */
.solution-cta-button {
    background: var(--color-cta-bg);
    color: var(--color-cta-text);
    padding: 18px 36px;
    font-size: 1.125rem;
    font-weight: 500;
    letter-spacing: 0.3px;
    text-decoration: none;
    border-radius: 12px;
    transition: all 0.2s ease;
    display: inline-block;
    box-shadow: 0 4px 16px rgba(55, 100, 229, 0.18);
}

.solution-cta-button:hover {
    background: var(--color-cta-bg-hover);
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(55, 100, 229, 0.25);
}

/* ====================================
   Responsive Design
   ==================================== */

/* Tablet (768px and below) */
@media (max-width: 768px) {
    .solution-section {
        padding: 50px 30px 35px;
    }
    
    .solution-title {
        font-size: 2.5rem;
    }
    
    .solution-subtitle {
        font-size: 1.125rem;
    }
    
    .solution-feature-grid {
        gap: 20px;
    }
    
    .solution-feature-item {
        padding: 28px;
    }
}

/* Mobile (480px and below) */
@media (max-width: 480px) {
    .solution-section {
        padding: 40px 20px;
    }
    
    .solution-header {
        margin-bottom: 32px;
    }
    
    .solution-badge {
        font-size: 0.65rem;
        margin-bottom: 16px;
    }
    
    .solution-title {
        font-size: 1.875rem;
        margin-bottom: 12px;
    }
    
    .solution-subtitle {
        font-size: 1.0625rem;
    }
    
    .solution-feature-grid {
        grid-template-columns: 1fr;
        gap: 16px;
        margin-bottom: 32px;
    }
    
    .solution-feature-item {
        padding: 24px;
        border-radius: 12px;
    }
    
    .solution-feature-text h3 {
        font-size: 1rem;
        margin-bottom: 12px;
        gap: 8px;
    }
    
    .solution-feature-emoji {
        font-size: 1rem;
    }
    
    .solution-feature-text ul {
        padding-left: 30px;
    }
    
    .solution-feature-text li {
        font-size: 0.75rem;
        margin-bottom: 5px;
        line-height: 1.35;
    }
    
    .solution-cta-button {
        padding: 14px 28px;
        font-size: 0.9375rem;
        border-radius: 10px;
    }
}

/* Extra Small Mobile (375px and below) */
@media (max-width: 375px) {
    .solution-feature-text li {
        font-size: 0.7rem;
    }
    
    .solution-feature-text ul {
        padding-left: 25px;
    }
}