/**
 * SC&MS Framework - Homepage Styles
 */

/* ============================================
   Hero Section
   ============================================ */
.hero {
    padding: calc(var(--nav-height) + 2rem) 2rem 4rem;
    text-align: center;
    max-width: 1000px;
    margin: 0 auto;
}

.version-badge {
    display: inline-block;
    background: rgba(139, 115, 85, 0.1);
    color: var(--primary);
    padding: 0.375rem 0.875rem;
    border-radius: 20px;
    border: 1px solid var(--border);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.hero h1 {
    font-size: 4.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 0.5rem;
    letter-spacing: -0.03em;
    color: var(--primary);
}

.hero .framework-name {
    font-size: 1.5rem;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    font-weight: 500;
    letter-spacing: 0;
}

.hero .subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ============================================
   Stats Section
   ============================================ */
.stats {
    max-width: 1200px;
    margin: 4rem auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.stat-card {
    text-align: center;
    padding: 2rem;
}

.stat-value {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 1rem;
}

/* ============================================
   Why Section
   ============================================ */
.why-section {
    max-width: 1000px;
    margin: 6rem auto;
    padding: 0 2rem;
    scroll-margin-top: calc(var(--nav-height) + 56px);
}

.why-content {
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 3rem;
}

.why-content h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--primary);
}

.why-content p {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--text-primary);
    margin-bottom: 1.25rem;
}

.why-content .highlight {
    background: rgba(139, 115, 85, 0.05);
    border-left: 4px solid var(--primary);
    padding: 1.5rem;
    margin: 2rem 0;
    border-radius: 0 8px 8px 0;
}

.why-content .highlight p {
    font-style: italic;
    margin-bottom: 0;
}

/* ============================================
   ABCDEF Section
   ============================================ */
.abcdef-section {
    max-width: 1200px;
    margin: 6rem auto;
    padding: 0 2rem;
    scroll-margin-top: calc(var(--nav-height) + 40px);
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.section-header p {
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.7;
}

.stage-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.stage-card {
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 2rem;
    transition: all 0.3s;
}

.stage-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(139, 115, 85, 0.1);
}

.stage-letter {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: white;
}

.stage-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.stage-card p {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Stage Letter Colors */
.stage-card.stage-A .stage-letter { background: #C47B5C; }
.stage-card.stage-B .stage-letter { background: #8B7355; }
.stage-card.stage-C .stage-letter { background: #A68B6F; }
.stage-card.stage-D .stage-letter { background: #D4A574; }
.stage-card.stage-E .stage-letter { background: #9B826A; }
.stage-card.stage-F .stage-letter { background: #7D5F4A; }

/* ============================================
   Use Cases Section
   ============================================ */
.use-cases {
    max-width: 1200px;
    margin: 6rem auto;
    padding: 0 2rem;
    scroll-margin-top: calc(var(--nav-height) + 40px);
}

.use-case-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.use-case {
    padding: 1.5rem;
}

.use-case-icon {
    width: 64px;
    height: 64px;
    background: rgba(139, 115, 85, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    color: var(--primary);
}

.use-case h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.use-case p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ============================================
   CTA Section
   ============================================ */
.cta-section {
    background: var(--primary);
    color: white;
    padding: 4rem 2rem;
    text-align: center;
    margin: 6rem 0 0;
}

.cta-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 768px) {
    .hero {
        padding: calc(var(--nav-height) + 1.75rem) 1.5rem 3rem;
    }
    
    .hero h1 {
        font-size: 3rem;
    }
    
    .hero .framework-name {
        font-size: 1.25rem;
    }
    
    .hero .subtitle {
        font-size: 1.125rem;
    }
    
    .stage-grid,
    .use-case-grid {
        grid-template-columns: 1fr;
    }
    
    .section-header h2,
    .cta-section h2 {
        font-size: 1.875rem;
    }
    
    .why-content {
        padding: 2rem;
    }
}
