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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background-color: #faf8f3;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

/* Canvas Background */
#backgroundCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.7;
}

/* Navbar */
.navbar {
    position: absolute;
    top: 0;
    width: 100%;
    background: transparent;
    z-index: 1000;
    padding: 20px 0;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

a.logo {
    font-size: 20px;
    font-weight: 600;
    color: #000;
    text-decoration: none;
}

.logo-highlight {
    color: #0066ff;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-size: 16px;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-link:hover {
    color: #0066ff;
}


/* Combined Hero Section */
.hero-centered {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 80px 40px 40px;
    text-align: center;
    position: relative;
}

.hero-content {
    max-width: 800px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-title {
    font-size: clamp(60px, 8vw, 120px);
    font-weight: 400;
    line-height: 0.9;
    margin-bottom: 40px;
    letter-spacing: -3px;
}


.highlight {
    color: #0066ff;
}

.hero-subtitle {
    font-size: 32px;
    font-weight: 400;
    line-height: 1.3;
    color: #333;
    margin-bottom: 20px;
}

.hero-description {
    font-size: 18px;
    font-weight: 300;
    line-height: 1.5;
    color: #666;
    margin-top: 15vh;
    margin-bottom: 40px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 10vh;
}

.btn {
    padding: 14px 28px;
    font-size: 16px;
    font-weight: 500;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
}

.btn-primary {
    background: #0066ff;
    color: white;
}

.btn-primary:hover {
    background: #0052cc;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 102, 255, 0.3);
}

/* Mission Box */
.mission-box {
    width: 98%;
    max-width: 1600px;
    background: #0066ff;
    border-radius: 12px;
    padding: clamp(60px, 10vh, 120px) 60px clamp(100px, 15vh, 200px);
    margin-top: 10vh;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 102, 255, 0.2);
    min-height: 600px;
    max-height: 900px;
}

.mission-box-label {
    position: absolute;
    top: 3vh;
    left: 60px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 2px;
}

.mission-box-container {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 60px;
    align-items: start;
    margin-top: 20px;
    position: relative;
}

.mission-box-container::after {
    content: '';
    position: absolute;
    left: calc(40% - 30px);
    top: -8vh;
    bottom: -12vh;
    width: 1px;
    background: rgba(255, 255, 255, 0.3);
}

.mission-box-left {
    text-align: left;
    padding-right: 30px;
}

.mission-box-title {
    font-size: clamp(48px, 7vw, 90px);
    font-weight: 300;
    line-height: 1.1;
    color: white;
    margin-bottom: 30px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Inter', Roboto, sans-serif;
    letter-spacing: -2px;
}

.mission-box-right {
    text-align: left;
    padding-left: 30px;
}

.mission-box-text {
    font-size: 18px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 20px;
}

.copyright {
    position: absolute;
    bottom: 3vh;
    left: 60px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 13px;
    font-weight: 400;
}

.legal-links {
    position: absolute;
    bottom: 3vh;
    right: 60px;
    font-size: 13px;
}

.legal-link {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    transition: color 0.3s;
}

.legal-link:hover {
    color: rgba(255, 255, 255, 0.8);
}

.legal-separator {
    color: rgba(255, 255, 255, 0.3);
    margin: 0 10px;
}

.bottom-cta-left {
    margin-top: 60px;
}

.bottom-cta-text {
    color: rgba(255, 255, 255, 0.9);
    font-size: 24px;
    font-weight: 300;
}

.bottom-cta-center {
    position: absolute;
    bottom: clamp(80px, 12vh, 140px);
    left: 70%;
    transform: translateX(-50%);
}

.btn-white {
    background: white;
    color: #0066ff;
    padding: 12px 28px;
    font-size: 15px;
    font-weight: 500;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
}

.btn-white:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #0066ff 0%, #0052cc 100%);
    color: white;
    text-align: center;
    padding: 80px 0;
}

.cta-title {
    font-size: 42px;
    font-weight: 400;
    color: white;
    margin-bottom: 15px;
}

.cta-subtitle {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 30px;
}

.btn-large {
    padding: 18px 40px;
    font-size: 18px;
    background: white;
    color: #0066ff;
}

.btn-large:hover {
    background: #f5f5f5;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .cards-grid {
        grid-template-columns: 1fr;
        max-width: 600px;
        margin: 0 auto;
    }
}

/* Popup Styles */
.popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 10000;
    align-items: center;
    justify-content: center;
}

.popup-overlay.active {
    display: flex;
}

.popup-modal {
    background: white;
    border-radius: 12px;
    padding: 40px;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.popup-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 28px;
    color: #999;
    cursor: pointer;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s;
}

.popup-close:hover {
    color: #333;
}

.popup-modal h2 {
    font-size: 28px;
    font-weight: 400;
    color: #000;
    margin-bottom: 10px;
    letter-spacing: -1px;
}

.popup-subtitle {
    font-size: 15px;
    color: #666;
    margin-bottom: 30px;
}

.popup-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 14px;
    font-weight: 500;
    color: #333;
}

.form-group input,
.form-group textarea {
    padding: 12px 16px;
    font-size: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: #faf8f3;
    transition: all 0.3s;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #0066ff;
    background: white;
    box-shadow: 0 0 0 3px rgba(0, 102, 255, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.btn-submit {
    padding: 14px 28px;
    font-size: 16px;
    font-weight: 500;
    background: #0066ff;
    color: white;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 10px;
}

.btn-submit:hover {
    background: #0052cc;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 102, 255, 0.3);
}

.form-message {
    margin-top: 15px;
    padding: 10px;
    border-radius: 6px;
    text-align: center;
    font-size: 14px;
}

.form-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.thank-you-message {
    text-align: center;
    padding: 40px;
}

.thank-you-message h2 {
    color: #0066ff;
    font-size: 32px;
    margin-bottom: 15px;
}

.thank-you-message p {
    font-size: 18px;
    color: #666;
}

@media (max-width: 768px) {
    .hero-title {
        font-size: clamp(40px, 10vw, 80px);
    }
    
    .hero-subtitle {
        font-size: 24px;
    }
    
    .hero-description {
        font-size: 16px;
    }
    
    .nav-menu {
        gap: 15px;
    }
    
    .nav-link {
        font-size: 12px;
    }
    
    .cards-section {
        padding: 50px 0;
    }
    
    .cta-section {
        padding: 50px 0;
    }
    
    .cta-title {
        font-size: 32px;
    }
    
    /* Mission Box Mobile Styles */
    .mission-box {
        padding: 10vh 20px 20vh;
        min-height: auto;
    }
    
    .mission-box-label {
        left: 20px;
        font-size: 12px;
    }
    
    .mission-box-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .mission-box-container::after {
        display: none;
    }
    
    .mission-box-left {
        padding-right: 0;
    }
    
    .mission-box-title {
        font-size: clamp(32px, 8vw, 48px);
        margin-bottom: 20px;
    }
    
    .mission-box-right {
        padding-left: 0;
    }
    
    .mission-box-text {
        font-size: 15px;
        line-height: 1.6;
    }
    
    .copyright {
        left: 20px;
        bottom: 20px;
        font-size: 11px;
    }
    
    .legal-links {
        position: static;
        margin-top: 40px;
        text-align: center;
        font-size: 11px;
    }
    
    .bottom-cta-center {
        bottom: 10vh;
        left: 50%;
        transform: translateX(-50%);
    }
    
    .btn-white {
        padding: 10px 20px;
        font-size: 14px;
    }
}