/**
 * ============================================
 * SOLUTIONS BASE STYLES v2.0
 * Shared styles for SaaS Platform and ICC Solution pages
 * ============================================
 * 
 * Design Philosophy: Vercel/Stripe
 * - SIMPLE: Clean, minimal distractions
 * - LIMPIO: White space, clear hierarchy  
 * - ELEGANTE: Subtle shadows, smooth transitions
 * - REUTILIZABLE: DRY principles, shared components
 * 
 * @package CheckToBuild
 * @version 2.0.0
 */

/* ============================================
   1. HERO SECTION - Solutions
   ============================================ */

.solutions-hero {
    background: linear-gradient(135deg, #0891b2 0%, #06b6d4 100%);
    padding: 8rem 0 6rem;
    position: relative;
    overflow: hidden;
}

.solutions-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,%3Csvg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"%3E%3Cg fill="none" fill-rule="evenodd"%3E%3Cg fill="%23ffffff" fill-opacity="0.05"%3E%3Cpath d="M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4z"/%3E%3C/g%3E%3C/g%3E%3C/svg%3E');
    opacity: 0.5;
}

.solutions-hero .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 1;
}

.solutions-hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.solutions-hero-text {
    color: white;
}

.solutions-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1.5rem;
}

.solutions-hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: white;
}

.solutions-hero-subtitle {
    font-size: 1.25rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 2.5rem;
    max-width: 540px;
}

.solutions-hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.solutions-hero-visual {
    position: relative;
}

.solutions-hero-visual img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

/* Hero Stats */
.solutions-hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.solutions-stat {
    text-align: center;
}

.solutions-stat-value {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: white;
    margin-bottom: 0.5rem;
}

.solutions-stat-label {
    display: block;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ============================================
   2. FEATURES GRID - Benefits Section
   ============================================ */

.solutions-features {
    padding: 6rem 0;
    background: white;
}

.solutions-features .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.solutions-section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.solutions-section-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: #1f2937;
    margin-bottom: 1rem;
}

.solutions-section-header p {
    font-size: 1.125rem;
    color: #6b7280;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

.solutions-features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.solutions-feature-card {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.solutions-feature-card:hover {
    border-color: #0891b2;
    box-shadow: 0 8px 30px rgba(8, 145, 178, 0.15);
    transform: translateY(-4px);
}

.solutions-feature-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #0891b2, #06b6d4);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.solutions-feature-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 1rem;
}

.solutions-feature-card p {
    font-size: 1rem;
    line-height: 1.6;
    color: #6b7280;
    margin: 0;
}

/* ============================================
   3. COMPARISON TABLE - Clean & Elegant
   ============================================ */

.solutions-comparison {
    padding: 6rem 0;
    background: #f9fafb;
}

.solutions-comparison .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.comparison-table {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    margin-top: 3rem;
}

.comparison-header {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 2rem;
    padding: 2rem;
    background: linear-gradient(135deg, #0891b2, #06b6d4);
    color: white;
}

.comparison-header-col {
    text-align: center;
}

.comparison-header-col h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0;
}

.comparison-header-col:first-child {
    text-align: left;
}

.comparison-row {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 2rem;
    padding: 1.5rem 2rem;
    border-bottom: 1px solid #e5e7eb;
    align-items: center;
}

.comparison-row:last-child {
    border-bottom: none;
}

.comparison-row:hover {
    background: #f9fafb;
}

.comparison-feature {
    font-weight: 600;
    color: #1f2937;
}

.comparison-cell {
    text-align: center;
    color: #6b7280;
}

.comparison-check {
    color: #10b981;
    font-size: 1.5rem;
    font-weight: 700;
}

.comparison-cross {
    color: #ef4444;
    font-size: 1.5rem;
    font-weight: 700;
}

.comparison-text {
    font-size: 0.875rem;
    color: #6b7280;
}

/* ============================================
   4. PRICING PREVIEW - Simple Card
   ============================================ */

.solutions-pricing-preview {
    padding: 6rem 0;
    background: white;
}

.solutions-pricing-preview .container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 2rem;
}

.pricing-preview-card {
    background: linear-gradient(135deg, #0891b2, #06b6d4);
    border-radius: 16px;
    padding: 3rem;
    text-align: center;
    color: white;
    box-shadow: 0 8px 30px rgba(8, 145, 178, 0.2);
}

.pricing-preview-card h3 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: white;
}

.pricing-preview-card p {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.pricing-value {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.pricing-period {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 2rem 0;
    text-align: left;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.pricing-features li {
    padding: 0.75rem 0;
    color: rgba(255, 255, 255, 0.95);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1rem;
}

.pricing-features li::before {
    content: '✓';
    color: white;
    font-weight: 700;
    font-size: 1.25rem;
    flex-shrink: 0;
}

/* ============================================
   5. USE CASES - Grid Cards
   ============================================ */

.solutions-use-cases {
    padding: 6rem 0;
    background: #f9fafb;
}

.solutions-use-cases .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.use-cases-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.use-case-card {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 2.5rem;
    transition: all 0.3s ease;
}

.use-case-card:hover {
    border-color: #0891b2;
    box-shadow: 0 8px 30px rgba(8, 145, 178, 0.15);
    transform: translateY(-4px);
}

.use-case-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 1rem;
}

.use-case-card p {
    font-size: 1rem;
    line-height: 1.6;
    color: #6b7280;
    margin-bottom: 1.5rem;
}

.use-case-benefits {
    list-style: none;
    padding: 0;
    margin: 0;
}

.use-case-benefits li {
    font-size: 0.875rem;
    color: #374151;
    padding: 0.5rem 0;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.use-case-benefits li::before {
    content: '→';
    color: #0891b2;
    font-weight: 700;
    flex-shrink: 0;
}

/* ============================================
   6. CTA SECTION - Solutions
   ============================================ */

.solutions-cta {
    padding: 6rem 0;
    background: white;
}

.solutions-cta .container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 2rem;
}

.solutions-cta-card {
    background: linear-gradient(135deg, #0891b2, #06b6d4);
    border-radius: 24px;
    padding: 4rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.solutions-cta-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,%3Csvg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"%3E%3Cg fill="none" fill-rule="evenodd"%3E%3Cg fill="%23ffffff" fill-opacity="0.05"%3E%3Cpath d="M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4z"/%3E%3C/g%3E%3C/g%3E%3C/svg%3E');
}

.solutions-cta-content {
    position: relative;
    z-index: 1;
}

.solutions-cta h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: white;
    margin-bottom: 1rem;
}

.solutions-cta p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

.solutions-cta-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ============================================
   7. RESPONSIVE - Mobile First
   ============================================ */

@media (max-width: 1024px) {
    .solutions-hero h1 {
        font-size: 3rem;
    }
    
    .solutions-features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .solutions-hero {
        padding: 5rem 0 4rem;
    }
    
    .solutions-hero-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .solutions-hero h1 {
        font-size: 2.5rem;
    }
    
    .solutions-hero-subtitle {
        font-size: 1.125rem;
    }
    
    .solutions-hero-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }
    
    .solutions-stat-value {
        font-size: 2rem;
    }
    
    .solutions-features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .comparison-header,
    .comparison-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .comparison-header-col,
    .comparison-cell {
        text-align: left;
    }
    
    .use-cases-grid {
        grid-template-columns: 1fr;
    }
    
    .solutions-cta-card {
        padding: 3rem 2rem;
    }
    
    .solutions-cta h2 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .solutions-hero {
        padding: 4rem 0 3rem;
    }
    
    .solutions-hero h1 {
        font-size: 2rem;
    }
    
    .solutions-hero-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .solutions-stat-value {
        font-size: 1.75rem;
    }
    
    .solutions-cta h2 {
        font-size: 1.75rem;
    }
    
    .solutions-cta p {
        font-size: 1rem;
    }
}

/* ============================================
   8. UTILITY CLASSES
   ============================================ */

.solutions-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.solutions-container-narrow {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 2rem;
}

.text-gradient {
    background: linear-gradient(135deg, #0891b2, #06b6d4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
