/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
    text-align: center;
    padding: 3rem 1rem;
    margin-top: 2rem;
    background: linear-gradient(135deg, var(--bg-box) 0%, var(--bg-secondary) 100%);
}

.hero-title {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    line-height: 1.2;
    text-shadow: 2px 2px 0 var(--color-main);
}

.hero-subtitle {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
}

.hero-desc {
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.hero-image-placeholder {
    width: 100%;
    height: 300px;
    background-color: var(--color-border);
    color: var(--bg-color);
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 2rem 0;
    border: 4px dashed var(--bg-secondary);
    font-size: 1.2rem;
}

/* Pulsing Button Animation */
@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(241, 196, 15, 0.7);
    }

    70% {
        transform: scale(1.05);
        box-shadow: 0 0 0 15px rgba(241, 196, 15, 0);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(241, 196, 15, 0);
    }
}

.pulse-btn {
    animation: pulse 2s infinite;
}

.pulse-btn:hover {
    animation: none;
    /* stop pulse on hover */
}

/* ==========================================================================
   Problem Section (Dialog)
   ========================================================================== */
.problem-section {
    margin: 4rem 0;
}

body.light-mode .problem-section .section-title .highlight,
body.light-mode .problem-section .solution-text .highlight {
    color: #b35a00;
    text-shadow: 1px 1px 0 #fff3bf;
}

body.light-mode .problem-section .solution-text {
    color: #1f2933;
}

.section-title {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    line-height: 1.4;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.section-title::after {
    content: '';
    display: block;
    width: 50px;
    height: 4px;
    background-color: var(--color-main);
    margin: 10px auto 0;
}

.dialog-box {
    padding: 0;
    overflow: hidden;
    margin-bottom: 2rem;
}

.dialog-header {
    background-color: var(--color-border);
    color: var(--bg-color);
    padding: 8px 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.dot-red {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #ff5f56;
}

.dot-yellow {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #ffbd2e;
}

.dot-green {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #27c93f;
}

.dialog-title {
    margin-left: 10px;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.dialog-body {
    padding: 20px;
    background-color: rgba(255, 0, 0, 0.05);
    /* very light tint for error feel */
}

body.dark-mode .dialog-body {
    background-color: rgba(255, 107, 107, 0.1);
}

.problem-list li {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.problem-list li:last-child {
    margin-bottom: 0;
}

.problem-list .icon {
    font-size: 1.2rem;
    line-height: 1;
}

.solution-text {
    font-size: 1.5rem;
    font-weight: bold;
    margin-top: 2rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-10px);
    }

    60% {
        transform: translateY(-5px);
    }
}

/* ==========================================================================
   Merit Section
   ========================================================================== */
.merit-section {
    padding: 3rem 2rem;
}

.merit-intro {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 1.1rem;
}

.status-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 3rem;
}

@media (min-width: 768px) {
    .status-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.status-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 0;
    /* Override */
    transition: transform 0.2s;
}

.status-card:hover {
    transform: translateY(-5px);
}

.status-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    /* simulated pixel shadow for icon */
    text-shadow: 2px 2px 0 var(--color-main);
}

.status-card h3 {
    margin-bottom: 10px;
    color: var(--color-main);
    border-bottom: 2px dashed var(--color-border);
    padding-bottom: 5px;
    width: 100%;
}

.special-alert {
    background-color: var(--color-main);
    color: #fff;
    border-color: #fff;
    box-shadow: 4px 4px 0 0 var(--color-accent);
}

.special-alert .alert-title {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--color-accent);
    text-shadow: 1px 1px 0 #000;
}
