/* ===================================
   Problem Section - Hero Style
   =================================== */

.problem-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #c85a54 0%, #a84842 50%, #8b3a36 100%);
    padding: 120px 0 80px;
    overflow: hidden;
}

.problem-section .container {
    position: relative;
    z-index: 1;
    width: 100%;
}

/* Animated Background */
.problem-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(212, 175, 55, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(26, 95, 122, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.05) 0%, transparent 70%);
    animation: backgroundPulse 20s ease-in-out infinite;
    z-index: 0;
}

@keyframes backgroundPulse {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(20px, -20px) scale(1.05); }
}

/* Section Header */
.problem-section .section-header {
    position: relative;
    z-index: 1;
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

.problem-section .section-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    padding: 12px 28px;
    border-radius: 50px;
    margin-bottom: var(--spacing-md);
    transition: all 0.3s ease;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.problem-section .section-badge:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: scale(1.05);
}

.problem-section .badge-icon {
    font-size: 1.5rem;
    animation: warningPulse 2s ease-in-out infinite;
}

@keyframes warningPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

.problem-section .badge-text {
    color: white;
    font-weight: 600;
    font-size: 1.1rem;
}

.problem-section .section-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 900;
    color: white;
    margin: var(--spacing-sm) 0;
    line-height: 1.2;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.problem-section .title-underline {
    width: 120px;
    height: 5px;
    background: linear-gradient(90deg, rgba(212, 175, 55, 0.8), rgba(255, 255, 255, 0.8));
    margin: var(--spacing-md) auto 0;
    border-radius: 3px;
    animation: expandLine 1s ease-out;
    box-shadow: 0 2px 10px rgba(212, 175, 55, 0.5);
}

@keyframes expandLine {
    0% { width: 0; }
    100% { width: 100px; }
}

/* Problem Introduction */
.problem-intro {
    position: relative;
    z-index: 1;
    max-width: 1000px;
    margin: 0 auto var(--spacing-xl);
}

.intro-content {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    padding: var(--spacing-xl);
    border-radius: var(--radius-xxl);
    border: 2px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    margin-bottom: var(--spacing-lg);
}

.intro-text {
    font-size: 1.4rem;
    color: white;
    margin-bottom: var(--spacing-md);
    font-weight: 500;
    text-align: center;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.intro-points {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
    margin: var(--spacing-md) 0;
}

.intro-point {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.2rem;
    color: white;
    padding: 14px 24px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-lg);
    border-right: 4px solid rgba(212, 175, 55, 0.8);
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.intro-point:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateX(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.point-icon {
    color: var(--secondary-color);
    font-weight: bold;
    font-size: 1.4rem;
}

.shock-intro {
    margin-top: var(--spacing-md);
    font-weight: 700;
    color: var(--secondary-color);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

/* Shock Question */
.shock-question {
    position: relative;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    color: white;
    padding: var(--spacing-xl) var(--spacing-xxl);
    border-radius: var(--radius-xxl);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
    overflow: hidden;
    border: 3px solid rgba(255, 255, 255, 0.3);
}

.shock-question::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.2) 0%, transparent 70%);
    animation: rotateGlow 15s linear infinite;
}

@keyframes rotateGlow {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.quote-icon {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 7rem;
    color: rgba(255, 255, 255, 0.1);
    font-family: Georgia, serif;
    line-height: 0;
}

.shock-question h3 {
    position: relative;
    z-index: 1;
    color: white;
    font-size: clamp(1.8rem, 5vw, 2.8rem);
    font-weight: 900;
    margin: 0;
    text-align: center;
    line-height: 1.5;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.shock-decoration {
    position: relative;
    width: 80px;
    height: 5px;
    background: rgba(212, 175, 55, 0.8);
    margin: var(--spacing-md) auto 0;
    border-radius: 3px;
    box-shadow: 0 2px 10px rgba(212, 175, 55, 0.5);
}

/* Problem Title Section */
.problem-title-section {
    position: relative;
    z-index: 1;
    text-align: center;
    margin: var(--spacing-xxl) 0 var(--spacing-xl);
}

.subsection-icon {
    font-size: 3.5rem;
    margin-bottom: var(--spacing-md);
    animation: bounce 2s ease-in-out infinite;
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.3));
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.subsection-title {
    color: white;
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 900;
    margin-bottom: var(--spacing-sm);
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.subsection-description {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.3rem;
    font-style: italic;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

/* Problems Grid */
.problems-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-xl);
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

.problem-card {
    position: relative;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(15px);
    padding: var(--spacing-xl);
    border-radius: var(--radius-xxl);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid rgba(255, 255, 255, 0.25);
    overflow: hidden;
}

.problem-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, rgba(212, 175, 55, 0.8), rgba(255, 255, 255, 0.8));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.problem-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.4);
    border-color: rgba(212, 175, 55, 0.5);
    background: rgba(255, 255, 255, 0.2);
}

.problem-card:hover::before {
    transform: scaleX(1);
}

.card-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.3) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    transition: all 0.5s ease;
    border-radius: 50%;
    pointer-events: none;
}

.problem-card:hover .card-glow {
    width: 350px;
    height: 350px;
}

.problem-icon-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(212, 175, 55, 0.2));
    border-radius: 50%;
    margin: 0 auto var(--spacing-md);
    transition: all 0.4s ease;
    border: 3px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.problem-card:hover .problem-icon-wrapper {
    transform: scale(1.15) rotate(5deg);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.3), rgba(212, 175, 55, 0.3));
    border-color: var(--secondary-color);
    box-shadow: 0 12px 35px rgba(212, 175, 55, 0.4);
}

.problem-icon {
    font-size: 2.8rem;
    animation: iconFloat 3s ease-in-out infinite;
}

@keyframes iconFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

.problem-content {
    text-align: center;
}

.problem-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: white;
    margin-bottom: var(--spacing-sm);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.problem-stat {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: var(--spacing-sm);
    line-height: 1.6;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.2);
}

.problem-divider {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.8), transparent);
    margin: var(--spacing-sm) auto;
    box-shadow: 0 2px 8px rgba(212, 175, 55, 0.3);
}

.problem-result {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.6;
}

.problem-result strong {
    color: var(--secondary-color);
    font-weight: 900;
    display: block;
    margin-top: 8px;
    font-size: 1.25rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

/* Problem Conclusion */
.problem-conclusion {
    position: relative;
    z-index: 1;
    max-width: 1000px;
    margin: var(--spacing-xxl) auto 0;
    padding: var(--spacing-xxl);
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    border-radius: var(--radius-xxl);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
    border: 3px solid rgba(255, 255, 255, 0.3);
    text-align: center;
}

.conclusion-icon {
    font-size: 4.5rem;
    margin-bottom: var(--spacing-lg);
    animation: lightPulse 2s ease-in-out infinite;
    filter: drop-shadow(0 4px 15px rgba(0, 0, 0, 0.3));
}

@keyframes lightPulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.1); opacity: 0.9; }
}

.conclusion-content {
    position: relative;
}

.conclusion-intro {
    font-size: 1.5rem;
    color: white;
    margin-bottom: var(--spacing-md);
    font-weight: 600;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.conclusion-highlight {
    font-size: clamp(1.5rem, 4vw, 2rem);
    color: white;
    font-weight: 700;
    line-height: 1.8;
    text-shadow: 0 3px 15px rgba(0, 0, 0, 0.4);
}

.conclusion-highlight strong {
    color: var(--secondary-color);
    font-weight: 900;
    text-shadow: 0 4px 20px rgba(212, 175, 55, 0.6);
    font-size: 1.1em;
}

.conclusion-decoration {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-top: var(--spacing-xl);
}

.decoration-line {
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.8));
    box-shadow: 0 2px 8px rgba(212, 175, 55, 0.4);
}

.decoration-line:last-child {
    background: linear-gradient(90deg, rgba(212, 175, 55, 0.8), transparent);
}

.decoration-dot {
    width: 10px;
    height: 10px;
    background: var(--secondary-color);
    border-radius: 50%;
    animation: dotPulse 2s ease-in-out infinite;
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.6);
}

@keyframes dotPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.5); }
}

/* Animation Classes */
.problem-section .animate-element {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.problem-section .animate-element.visible {
    opacity: 1;
    transform: translateY(0);
}

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

@media (max-width: 968px) {
    .problems-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-md);
    }
}

@media (max-width: 768px) {
    .problem-section {
        padding: 100px 0 60px;
        min-height: auto;
    }
    
    .problems-grid {
        grid-template-columns: 1fr;
    }
    
    .shock-question {
        padding: var(--spacing-lg);
    }
    
    .shock-question h3 {
        font-size: 1.6rem;
    }
    
    .quote-icon {
        font-size: 5rem;
        top: 10px;
        right: 15px;
    }
    
    .subsection-title {
        font-size: 2rem;
    }
    
    .intro-text {
        font-size: 1.2rem;
    }
    
    .intro-content {
        padding: var(--spacing-lg);
    }
    
    .problem-conclusion {
        padding: var(--spacing-xl);
    }
    
    .problem-card {
        padding: var(--spacing-lg);
    }
}

@media (max-width: 480px) {
    .problem-section {
        padding: 80px 0 50px;
    }
    
    .problem-section .section-title {
        font-size: 2rem;
    }
    
    .problem-card {
        padding: var(--spacing-lg);
    }
    
    .problem-icon-wrapper {
        width: 70px;
        height: 70px;
    }
    
    .problem-icon {
        font-size: 2.2rem;
    }
    
    .problem-title {
        font-size: 1.3rem;
    }
    
    .intro-point {
        font-size: 1.05rem;
        padding: 12px 18px;
    }
    
    .subsection-icon {
        font-size: 3rem;
    }
    
    .conclusion-icon {
        font-size: 3.5rem;
    }
    
    .conclusion-intro {
        font-size: 1.2rem;
    }
    
    .conclusion-highlight {
        font-size: 1.3rem;
    }
    
    .intro-content {
        padding: var(--spacing-md);
    }
    
    .problem-conclusion {
        padding: var(--spacing-lg);
    }
}
