:root {
    --color-bg: #f8f9fa;
    --color-content-bg: #FFFFFF;
    --color-text: #212529;
    --color-text-light: #6c757d;
    --color-primary-cta: #10B981;
    --color-primary-cta-hover: #2563EB;
    --color-secondary-cta: #10B981;
    --color-secondary-cta-hover: #059669;
    --font-heading: 'Inter', sans-serif;
    --font-body: 'Nunito Sans', sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

body {
    font-family: var(--font-body);
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

.container {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

#landingPage {
    animation: fadeIn 0.5s ease-out;
}

.hero {
    background-image: linear-gradient(rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.35)), url('https://images.unsplash.com/photo-1470252649378-9c29740c9fa8?auto=format&fit=crop&w=2070&q=80');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 120px 0;
    text-align: center;
}

.hero h1 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 15px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
}

.hero h2 {
    font-size: 1.2rem;
    max-width: 550px;
    margin: 0 auto;
    opacity: 0.95;
    font-weight: 400;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
}

@media (min-width: 768px) {
    .hero h1 {
        font-size: 3.2rem;
    }

    .hero h2 {
        font-size: 1.3rem;
    }
}

.core-choice-module {
    padding: 80px 0;
    background-color: var(--color-content-bg);
}

.core-choice-module .module-header {
    text-align: center;
    margin-bottom: 50px;
}

.core-choice-module .module-header h3 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.core-choice-module .module-header p {
    font-size: 1.1rem;
    color: var(--color-text-light);
}

.choices-container {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

@media (min-width: 768px) {
    .choices-container {
        flex-direction: row;
    }
}

.choice-card {
    display: block;
    text-decoration: none;
    border-radius: 12px;
    padding: 35px 30px;
    text-align: center;
    transition: all 0.2s ease-in-out;
    cursor: pointer;
    color: white;
    flex: 1;
}

.choice-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.12);
}

.choice-card-icon {
    margin-bottom: 20px;
    line-height: 1;
}

.choice-card-icon svg {
    width: 48px;
    height: 48px;
    margin: 0 auto;
    opacity: 0.85;
}

.choice-card.primary {
    background: linear-gradient(135deg, #4b8df7, #3b82f6);
}

.choice-card.secondary {
    background: linear-gradient(135deg, #12d091, #10b981);
}

.choice-card h4 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.choice-card p {
    font-size: 1rem;
    line-height: 1.5;
    opacity: 0.9;
    max-width: 300px;
    margin: 0 auto;
}

#resourcesPage {
    display: none;
    animation: fadeIn 0.5s ease-out;
    background-color: var(--color-content-bg);
    min-height: 100vh;
}

.resources-container {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 20px;
}

.resources-header {
    text-align: center;
    margin-bottom: 50px;
}

.resources-header .icon-wrapper {
    background-color: #e8f8f1;
    border-radius: 50%;
    width: 80px;
    height: 80px;
    margin: 0 auto 20px auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.resources-header .icon-wrapper svg {
    color: var(--color-secondary-cta);
    width: 40px;
    height: 40px;
}

.resources-header h1 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--color-text);
    margin-bottom: 10px;
}

.resources-header p {
    font-size: 1.1rem;
    color: var(--color-text-light);
}

.resources-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

@media (min-width: 768px) {
    .resources-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.resource-card {
    background-color: var(--color-bg);
    border: 1px solid #EAEAEA;
    border-radius: 12px;
    padding: 25px;
    text-decoration: none;
    color: var(--color-text);
    display: flex;
    align-items: center;
    gap: 20px;
    transition: all 0.2s ease-in-out;
}

.resource-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(16, 185, 129, 0.1);
    border-color: var(--color-secondary-cta);
    background-color: #fff;
}

.resource-card .res-icon {
    flex-shrink: 0;
    color: var(--color-secondary-cta);
}

.resource-card h3 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    color: var(--color-text);
    margin-bottom: 5px;
}

.resource-card p {
    font-size: 0.9rem;
    color: var(--color-text-light);
    line-height: 1.5;
}

.back-link-wrapper {
    text-align: center;
    margin-top: 50px;
}

#backToMain {
    font-size: 1rem;
    color: var(--color-text);
    text-decoration: none;
    font-weight: 600;
    padding: 10px 20px;
    border-radius: 8px;
    transition: background-color 0.2s;
    display: inline-block;
}

#backToMain:hover {
    background-color: #e9ecef;
}

.modal-overlay {
    display: none;
    position: fixed;
    z-index: 100;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    align-items: center;
    justify-content: center;
}

.modal-content {
    background-color: var(--color-content-bg);
    padding: 40px;
    border-radius: 12px;
    text-align: center;
    max-width: 450px;
    width: 90%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    animation: fadeIn 0.3s;
}

.modal-content h3 {
    font-family: var(--font-heading);
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.modal-content p {
    color: var(--color-text-light);
    margin-bottom: 30px;
}

.modal-buttons {
    display: flex;
    gap: 15px;
    flex-direction: column;
}

.modal-button {
    padding: 12px 20px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s;
}

.modal-button.confirm {
    background-color: var(--color-primary-cta);
    color: white;
}

.modal-button.deny {
    background-color: #E5E7EB;
    color: var(--color-text);
}

.footer {
    padding: 40px 0;
    text-align: center;
    font-size: 0.9rem;
    color: #9ca3af;
    background-color: var(--color-content-bg);
}

.footer-logo {
    height: 40px;
    margin-bottom: 20px;
}

.footer a {
    color: #9ca3af;
    text-decoration: underline;
}

.network-module {
    padding: 80px 0;
    background-color: var(--color-bg);
}

.network-module .module-header {
    text-align: center;
    margin-bottom: 50px;
}

.network-module .module-header h3 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--color-primary-cta);
}

.network-module .module-header p {
    font-size: 1.1rem;
    color: var(--color-text-light);
}

.network-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 25px;
}

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

.network-card {
    display: block;
    text-decoration: none;
    background-color: var(--color-content-bg);
    border: 1px solid #EAEAEA;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    transition: all 0.2s ease-in-out;
    color: var(--color-text);
}

.network-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
    border-color: var(--color-primary-cta);
}

.network-card .network-icon {
    margin-bottom: 20px;
    color: var(--color-primary-cta);
}

.network-card .network-icon svg {
    width: 48px;
    height: 48px;
    margin: 0 auto;
}

.network-card h4 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--color-primary-cta);
}

.network-card p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--color-text-light);
    margin-bottom: 20px;
}

.network-card span {
    font-weight: 600;
    color: var(--color-primary-cta);
    transition: color 0.2s;
}

.network-card:hover span {
    text-decoration: underline;
} 