/* MGA Page Styles */
@import url('styles.css');

/* Color Variables */
:root {
    --color-light-green: #CCDBD5;
    --color-white: #FFFFFF;
}

/* Navigation Dropdown Styles */
.nav-item-dropdown {
    position: relative;
}

.nav-item.active {
    background: var(--color-text);
    color: var(--color-bg);
}

.chevron-icon {
    margin-left: 4px;
    transition: transform 0.3s ease;
}

.nav-item-dropdown.open .chevron-icon {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    background: var(--color-bg);
    border: 1px solid var(--color-text);
    border-radius: 8px;
    padding: 6px;
    min-width: 355px;
    display: none;
    flex-direction: column;
    gap: 4px;
    z-index: 1001;
}

.nav-item-dropdown.open .dropdown-menu {
    display: flex;
}

.dropdown-item {
    display: flex;
    gap: 16px;
    align-items: center;
    padding: 8px;
    border-radius: 7px;
    text-decoration: none;
    color: var(--color-text);
    transition: background 0.2s ease;
    background: transparent;
}

.dropdown-item.active {
    background: rgba(255, 255, 255, 0.1);
}

.dropdown-item.disabled {
    opacity: 0.35;
    pointer-events: none;
    cursor: not-allowed;
}

.dropdown-item.disabled .dropdown-item-icon {
    filter: grayscale(100%);
}

.dropdown-item.disabled .dropdown-item-title,
.dropdown-item.disabled .dropdown-item-subtitle {
    color: rgba(255, 255, 255, 0.5);
}

.dropdown-item-icon {
    width: 50px;
    height: 50px;
    border-radius: 100px;
    background: #007242;
    flex-shrink: 0;
}

.dropdown-item.active .dropdown-item-icon {
    background: url('assets/mga-hero-art.png') center/cover;
}

.dropdown-item:nth-child(2) .dropdown-item-icon {
    background: #004d2e;
}

.dropdown-item:nth-child(3) .dropdown-item-icon {
    background: #007242;
}

.dropdown-item-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.dropdown-item-title {
    font-size: 16px;
    font-weight: 400;
    line-height: normal;
    letter-spacing: -0.96px;
}

.dropdown-item-subtitle {
    font-size: 13px;
    font-weight: 400;
    line-height: 13px;
    letter-spacing: -0.78px;
    opacity: 0.8;
}

.logo-image {
    height: 30px;
    width: auto;
}

/* Hero Section */
.mga-hero-section {
    min-height: 100vh;
    background: var(--color-bg);
    display: flex;
    align-items: center;
    padding: calc(var(--spacing-unit) * 20) calc(var(--spacing-unit) * 5) calc(var(--spacing-unit) * 10) calc(var(--spacing-unit) * 5);
}

.mga-hero-content {
    max-width: 1360px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: calc(var(--spacing-unit) * 10);
    align-items: center;
}

.mga-hero-text {
    display: flex;
    flex-direction: column;
    gap: calc(var(--spacing-unit) * 5);
}

.mga-hero-text h1 {
    font-size: 49px;
    font-weight: 400;
    line-height: 0.85;
    letter-spacing: -2.94px;
    color: var(--color-text);
    margin: 0;
}

.mga-hero-text p {
    font-size: 25px;
    font-weight: 400;
    line-height: 25px;
    letter-spacing: -1.5px;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

.cta-button {
    border: 1px solid var(--color-text);
    background: transparent;
    color: var(--color-text);
    padding: calc(var(--spacing-unit) * 1.5) calc(var(--spacing-unit) * 3);
    border-radius: 50px;
    font-size: 20px;
    font-weight: 400;
    letter-spacing: -1.2px;
    cursor: pointer;
    transition: all 0.3s var(--transition-timing);
    width: fit-content;
    font-family: var(--font-main);
}

.cta-button:hover {
    background: var(--color-text);
    color: var(--color-bg);
}

.mga-hero-art {
    width: 100%;
    height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mga-hero-art img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

/* Problem Section */
.mga-problem-section {
    min-height: 100vh;
    background: var(--color-bg);
    display: flex;
    align-items: center;
    padding: calc(var(--spacing-unit) * 10) calc(var(--spacing-unit) * 5) calc(var(--spacing-unit) * 20) calc(var(--spacing-unit) * 5);
}

.mga-problem-content {
    max-width: 1360px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: calc(var(--spacing-unit) * 10);
    align-items: center;
}

.mga-problem-art {
    width: 100%;
    height: 360px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mga-problem-art img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.mga-problem-text h2 {
    font-size: 39px;
    font-weight: 500;
    line-height: 39px;
    letter-spacing: -2.34px;
    color: var(--color-text);
    margin: 0 0 calc(var(--spacing-unit) * 5) 0;
}

.problem-list {
    display: flex;
    flex-direction: column;
    gap: calc(var(--spacing-unit) * 2.5);
}

.problem-list p {
    font-size: 20px;
    font-weight: 400;
    line-height: 20px;
    letter-spacing: -1.2px;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

/* Ecosystem Section (White) */
.mga-ecosystem-section {
    background: var(--color-white);
    padding: calc(var(--spacing-unit) * 20) calc(var(--spacing-unit) * 10);
}

.mga-ecosystem-content {
    max-width: 1360px;
    margin: 0 auto;
}

.mga-ecosystem-content h2 {
    font-size: 39px;
    font-weight: 500;
    line-height: 39px;
    letter-spacing: -2.34px;
    color: #1E1E1E;
    margin: 0 0 calc(var(--spacing-unit) * 2.5) 0;
    max-width: 700px;
}

.ecosystem-description {
    font-size: 16px;
    font-weight: 400;
    line-height: 16px;
    letter-spacing: -0.96px;
    color: rgba(30, 30, 30, 0.8);
    margin: 0 0 calc(var(--spacing-unit) * 10) 0;
    max-width: 700px;
}

.ecosystem-features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: calc(var(--spacing-unit) * 10);
}

.ecosystem-feature {
    font-size: 20px;
    font-weight: 400;
    line-height: 20px;
    letter-spacing: -1.2px;
    color: #1E1E1E;
}

/* Scale Section */
.mga-scale-section {
    min-height: 100vh;
    background: var(--color-bg);
    display: flex;
    align-items: center;
    padding: calc(var(--spacing-unit) * 20) calc(var(--spacing-unit) * 5);
}

.mga-scale-content {
    max-width: 1360px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: calc(var(--spacing-unit) * 10);
    align-items: center;
}

.mga-scale-art {
    width: 100%;
    min-height: 360px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.mga-scale-art img {
    width: auto;
    max-width: 350px;
    height: auto;
    max-height: 250px;
    object-fit: contain;
}

.peaks-graphic {
    filter: drop-shadow(0 0 60px rgba(0, 114, 66, 0.5));
}

.mga-scale-text h2 {
    font-size: 39px;
    font-weight: 500;
    line-height: 39px;
    letter-spacing: -2.34px;
    color: var(--color-text);
    margin: 0 0 calc(var(--spacing-unit) * 5) 0;
}

.scale-steps {
    display: flex;
    flex-direction: column;
    gap: calc(var(--spacing-unit) * 2.5);
}

.scale-steps p {
    font-size: 20px;
    font-weight: 400;
    line-height: 20px;
    letter-spacing: -1.2px;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

.scale-steps strong {
    font-weight: 500;
    color: var(--color-text);
}

/* Stats Section */
.mga-stats-section {
    background: var(--color-light-green);
    padding: calc(var(--spacing-unit) * 20) calc(var(--spacing-unit) * 10);
}

.mga-stats-content {
    max-width: 1280px;
    margin: 0 auto;
}

.mga-stats-content h2 {
    font-size: 39px;
    font-weight: 500;
    line-height: 39px;
    letter-spacing: -2.34px;
    color: #1E1E1E;
    margin: 0 0 calc(var(--spacing-unit) * 2.5) 0;
    max-width: 647px;
}

.stats-description {
    font-size: 16px;
    font-weight: 400;
    line-height: 16px;
    letter-spacing: -0.96px;
    color: rgba(30, 30, 30, 0.8);
    margin: 0 0 calc(var(--spacing-unit) * 10) 0;
    max-width: 700px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: calc(var(--spacing-unit) * 2.5);
}

.stat-card {
    background: rgba(24, 24, 24, 0.03);
    border-radius: 7px;
    padding: calc(var(--spacing-unit) * 5);
    display: flex;
    flex-direction: column;
    gap: calc(var(--spacing-unit) * 2);
}

.stat-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stat-value {
    font-size: 39px;
    font-weight: 500;
    line-height: 39px;
    letter-spacing: -2.34px;
    color: #1E1E1E;
}

.stat-label {
    font-size: 20px;
    font-weight: 400;
    line-height: 20px;
    letter-spacing: -1.2px;
    color: #1E1E1E;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .mga-hero-content,
    .mga-problem-content,
    .mga-scale-content {
        grid-template-columns: 1fr;
        gap: calc(var(--spacing-unit) * 5);
    }

    .mga-hero-art,
    .mga-problem-art,
    .mga-scale-art {
        height: 394px;
    }

    .mga-hero-text h1,
    .mga-problem-text h2,
    .mga-scale-text h2,
    .mga-stats-content h2 {
        font-size: 28px;
        line-height: 1.2;
    }

    .mga-hero-text p,
    .problem-list p,
    .scale-steps p {
        font-size: 18px;
        line-height: 1.4;
    }

    .ecosystem-features {
        grid-template-columns: 1fr;
        gap: calc(var(--spacing-unit) * 5);
    }

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

    .dropdown-menu {
        min-width: 300px;
        right: auto;
        left: 50%;
        transform: translateX(-50%);
    }
}
