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

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.5;
    color: #333;
}

.page-container {
    overflow-y: auto;
    overflow-x: hidden;
    background-color: white;
}

/* Hero Section */
.hero-section {
    position: relative;
    display: grid;
    background-color: #082f49; /* sky-950 */
}

.hero-image-container {
    display: grid;
}

.hero-image {
    object-fit: cover;
    overflow: hidden;
    width: 100%;
    opacity: 0.8;
    aspect-ratio: 1/1;
    height: 600px;
}

.hero-content {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    padding: 2.5rem;
    margin: 6rem auto;
    width: 100%;
    text-align: center;
    border-radius: 0.5rem;
    background-color: rgba(255, 255, 255, 0.9);
    max-width: 800px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.hero-title {
    margin-bottom: 1.5rem;
    font-size: 3rem;
    font-weight: 700;
    color: #dc2626; /* red-600 */
}

.hero-description {
    margin-bottom: 2rem;
    font-size: 1.5rem;
    line-height: normal;
    color: #082f49; /* sky-950 */
}

.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    margin-top: 1rem;
    font-size: 1.25rem;
    font-weight: 700;
    text-decoration: none;
    background-color: #dc2626; /* red-600 */
    border-radius: 0.25rem;
    color: white;
    cursor: pointer;
}

.cta-button:hover {
    background-color: #b91c1c; /* red-700 */
}

.cta-button:focus {
    outline: 2px solid #ef4444; /* red-500 */
    outline-offset: 2px;
}

/* Mission Section */
.mission-section {
    padding: 5rem 2rem;
    background-color: #eef2ff; /* indigo-50 */
}

.mission-container {
    margin: 0 auto;
    max-width: 1124px;
}

.mission-title {
    margin-bottom: 3rem;
    font-size: 2.25rem;
    font-weight: 700;
    text-align: center;
    color: #082f49; /* sky-950 */
}

.mission-cards {
    display: grid;
    gap: 2rem;
    margin-top: 2rem;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.mission-card {
    padding: 2rem;
    text-align: center;
    border-radius: 0.5rem;
    background-color: white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.mission-icon {
    object-fit: cover;
    overflow: hidden;
    margin: 0 auto 1rem;
    width: 4rem;
    height: 4rem;
    aspect-ratio: 1/1;
}

.mission-card-title {
    margin-bottom: 1rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: #082f49; /* sky-950 */
}

.mission-card-description {
    font-size: 1.125rem;
    line-height: normal;
    color: #18181b; /* zinc-900 */
}

/* Action Section */
.action-section {
    padding: 5rem 2rem;
    text-align: center;
    background-color: #082f49; /* sky-950 */
    color: white;
}

.action-container {
    margin: 0 auto;
    max-width: 800px;
}

.action-title {
    margin-bottom: 1.5rem;
    font-size: 2.25rem;
    font-weight: 700;
}

.action-description {
    margin-bottom: 2rem;
    font-size: 1.25rem;
    line-height: normal;
}

.signup-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: 0 auto;
    max-width: 400px;
}

.form-group {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
}

.form-label {
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.form-input {
    padding: 0.75rem;
    width: 100%;
    font-size: 1.125rem;
    border-radius: 0.25rem;
    border: none;
    color: #000;
}

.error-message {
    margin-top: 0.25rem;
    font-size: 0.875rem;
    color: #fca5a5; /* red-300 */
}

.submit-button {
    padding: 1rem;
    font-size: 1.25rem;
    font-weight: 700;
    background-color: #dc2626; /* red-600 */
    border-radius: 0.25rem;
    cursor: pointer;
    border: none;
    color: white;
}

.submit-button:hover {
    background-color: #b91c1c; /* red-700 */
}

.submit-button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-content {
        padding: 1.5rem;
        margin: 3rem auto;
        max-width: 90%;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-description {
        font-size: 1.25rem;
    }

    .mission-cards {
        grid-template-columns: 1fr;
    }
}
