/**
 * MODULE: social-proof
 * PURPOSE: Social proof section with hero, partner block, and features grid
 * COMPLEXITY: MEDIUM
 *
 * TECHNICAL DEBT (Phase 1.5):
 * The following hardcoded values are accepted technical debt
 * and will be migrated to design tokens in Phase 2:
 *
 * | Value                      | Usage                  | Future Token              |
 * |----------------------------|------------------------|---------------------------|
 * | 1.75rem                    | Card title desktop     | --text-xl                 |
 * | 1.5rem                     | Card title mobile      | --text-lg                 |
 * | 350px                      | Hero left min-height   | --hero-height-lg          |
 * | 300px                      | Hero left tablet       | --hero-height-md          |
 * | 280px                      | Hero left mobile       | --hero-height-sm          |
 * | 420px                      | Content card max-width | --card-width-lg           |
 * | 56px                       | Partner badge size     | --badge-size-lg           |
 * | 48px                       | Feature icon size      | --icon-size-lg            |
 * | 40px                       | Feature icon mobile    | --icon-size-md            |
 * | #FDF8F3                    | Partner block bg       | --color-warm-bg           |
 * | black                      | Badge bg, text colors  | --color-text-primary      |
 * | white                      | Card title color       | --color-white             |
 * | rgba(255,255,255,0.15)     | Card glass background  | --glass-bg                |
 * | rgba(255,255,255,0.85)     | Card intro color       | --color-text-light-alpha  |
 * | rgba(255,255,255,0.25)     | Card border            | --glass-border            |
 * | rgba(0,0,0,0.2/0.1)        | Overlay gradient       | --overlay-gradient        |
 * | rgba(0,0,0,0.08)           | Feature icon border    | --border-subtle           |
 * | 1.5fr 1fr                  | Hero grid columns      | Custom layout             |
 */

.social-section {
    background-color: var(--color-white);
    padding: var(--space-12) 0;
}

.social-container {
    max-width: var(--container-2xl);
    margin: 0 auto;
    padding: 0 var(--space-8);
}

/* Two-Column Hero Layout */
.social-hero {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    overflow: hidden;
}

/* Left Column: Image with Card */
.social-hero-left {
    position: relative;
    min-height: 350px;
    display: flex;
    align-items: center;
    padding: var(--space-8);
}

.social-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.social-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.social-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.1) 100%);
    z-index: 2;
}

/* Frosted Glass Card on Image */
.content-card {
    position: relative;
    z-index: 3;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: var(--radius-lg);
    padding: var(--space-6);
    border: 1px solid rgba(255, 255, 255, 0.25);
    max-width: 420px;
}

.content-card-title {
    font-size: 1.75rem;
    font-weight: 600;
    color: white;
    margin-bottom: var(--space-3);
    line-height: 1.2;
}

.content-card-intro {
    font-size: var(--text-base);
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
    margin: 0;
}

/* Right Column: Solid Block */
.social-hero-right {
    background: #FDF8F3;
    padding: var(--space-8);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.partner-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    background: black;
    color: white;
    border-radius: 50%;
    margin-bottom: var(--space-4);
}

.partner-label {
    font-size: var(--text-xs);
    font-weight: 600;
    color: black;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--space-2);
}

.partner-note {
    font-size: var(--text-base);
    color: var(--color-text-secondary);
    line-height: 1.7;
    margin: 0;
}

/* Features Grid (Bottom) */
.social-features {
    background: var(--color-frost);
    padding: var(--space-8);
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-8);
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-4);
}

.feature-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: var(--color-white);
    border-radius: 50%;
    flex-shrink: 0;
    color: black;
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.feature-text {
    flex: 1;
}

.feature-title {
    font-size: var(--text-base);
    font-weight: 600;
    color: black;
    margin-bottom: var(--space-1);
}

.feature-desc {
    font-size: var(--text-sm);
    color: var(--color-text-secondary);
    line-height: 1.5;
    margin: 0;
}

/* Tablet */
@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 900px) {
    .social-hero {
        grid-template-columns: 1fr;
    }

    .social-hero-left {
        min-height: 300px;
    }

    .social-hero-right {
        padding: var(--space-6);
    }
}

/* Mobile */
@media (max-width: 768px) {
    .social-section {
        padding: var(--space-10) 0;
    }

    .social-container {
        padding: 0 var(--space-4);
    }

    .social-hero-left {
        min-height: 280px;
        padding: var(--space-5);
    }

    .content-card {
        padding: var(--space-5);
    }

    .content-card-title {
        font-size: 1.5rem;
    }

    .content-card-intro {
        font-size: var(--text-sm);
    }

    .social-hero-right {
        padding: var(--space-5);
    }

    .social-features {
        padding: var(--space-6);
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: var(--space-6);
    }

    .feature-icon {
        width: 40px;
        height: 40px;
    }

    .feature-icon svg {
        width: 20px;
        height: 20px;
    }
}
