/* Problem Page Specific Styles */

/* Problem Hero */
.problem-hero {
    min-height: 70vh;
}

.hero-stats-large {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    padding-top: 4rem;
    margin-top: 3rem;
    border-top: 2px solid rgba(255, 255, 255, 0.2);
}

.stat-large {
    text-align: center;
}

.stat-number-large {
    font-size: 4.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #60a5fa 0%, #c084fc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    line-height: 1;
}

.stat-label-large {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.stat-card {
    background: white;
    padding: 2.5rem;
    border-radius: 1rem;
    border: 2px solid var(--color-border);
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(37, 99, 235, 0.15);
    border-color: var(--color-primary);
}

.stat-card-number {
    font-size: 3.5rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
    line-height: 1;
}

.stat-card-label {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 1rem;
    line-height: 1.4;
}

.stat-card-text {
    color: var(--color-text-light);
    line-height: 1.8;
}

/* Failure Grid */
.failure-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
}

.failure-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 3rem;
    border-radius: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.failure-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.3s;
}

.failure-card:hover::before {
    opacity: 1;
}

.failure-number {
    font-size: 5rem;
    font-weight: 800;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.2) 0%, rgba(139, 92, 246, 0.2) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 1.5rem;
}

.failure-card h3 {
    font-size: 1.75rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.failure-card p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.failure-card p:last-of-type {
    margin-bottom: 2rem;
}

.failure-card p strong {
    color: white;
    font-weight: 600;
}

.failure-example {
    background: rgba(37, 99, 235, 0.1);
    border-left: 3px solid var(--color-primary);
    padding: 1.5rem;
    border-radius: 0.5rem;
    margin-top: 2rem;
}

.failure-example strong {
    color: var(--color-primary);
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Industry Grid */
.industry-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.industry-card {
    background: white;
    padding: 2.5rem;
    border-radius: 1rem;
    border: 2px solid var(--color-border);
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.industry-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(37, 99, 235, 0.15);
    border-color: var(--color-primary);
}

.industry-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

.industry-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 1rem;
}

.industry-stat {
    background: linear-gradient(135deg, #eff6ff 0%, #f5f3ff 100%);
    padding: 1rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 1.5rem;
    font-size: 1rem;
    text-align: center;
}

.industry-card p {
    color: var(--color-text-light);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.industry-card p strong {
    color: var(--color-text);
    font-weight: 600;
}

/* Forces Grid */
.forces-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}

.force-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 2.5rem;
    border-radius: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.2s, border-color 0.2s;
}

.force-card:hover {
    transform: translateY(-4px);
    border-color: rgba(37, 99, 235, 0.5);
}

.force-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.force-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1.5rem;
}

.force-card p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.force-card p strong {
    color: white;
    font-weight: 600;
}

/* Active nav state */
.nav-menu a.active {
    color: var(--color-primary);
    position: relative;
}

.nav-menu a.active::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--color-primary);
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-stats-large {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }

    .stat-number-large {
        font-size: 3.5rem;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .failure-grid {
        grid-template-columns: 1fr;
    }

    .industry-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .forces-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hero-stats-large {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .stat-number-large {
        font-size: 3rem;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .industry-grid {
        grid-template-columns: 1fr;
    }

    .failure-card {
        padding: 2rem;
    }

    .failure-number {
        font-size: 3.5rem;
    }

    .force-card {
        padding: 2rem;
    }
}
