/* landing_page.css - Updated Color Scheme */

:root {
    --font-main: 'Inter', 'Familjen Grotesk', sans-serif;
    --background-main: #EBF5FB;
    --font-primary: #215161;
    --font-secondary: #3D7A8E;
    --font-title: #027488;
    --accent-primary: #B1D6DF;
    --accent-secondary: #DFEDA1;
    --accent-tertiary: #DDEF8F;
    --accent-glow: rgba(177, 214, 223, 0.3);
    --border-color: #B1D6DF;
    --shadow-color: rgba(0, 0, 0, 0.1);
    --radius: 8px;
}

body {
    font-family: var(--font-main);
    color: var(--font-primary);
    background-color: var(--background-main);
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.text-center { text-align: center; }
.section-padding { padding: 100px 0; }
.section-padding-alt { padding: 80px 0; background-color: #fff; }

.section-title {
    font-size: 48px;
    font-weight: 700;
    color: var(--font-title);
    margin-bottom: 24px;
    letter-spacing: -1px;
}

.section-subtitle {
    font-size: 20px;
    color: var(--font-secondary);
    max-width: 700px;
    margin: 0 auto 60px auto;
    line-height: 1.7;
}

/* ========================== BUTTONS ========================== */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: var(--radius);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s ease-in-out;
    border: 1px solid transparent;
    cursor: pointer;
    font-size: 16px;
}
.btn-large { padding: 16px 32px; font-size: 18px; }

.btn-primary {
    background-color: var(--accent-primary);
    color: var(--font-primary);
    border-color: var(--accent-primary);
}
.btn-primary:hover {
    background-color: var(--accent-secondary);
    border-color: var(--accent-secondary);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(223, 237, 161, 0.2);
}

.btn-secondary {
    background-color: transparent;
    color: var(--font-title);
    border-color: var(--font-title);
}
.btn-secondary:hover {
    background-color: var(--accent-primary);
    color: var(--font-primary);
}

/* ========================== HEADER ========================== */
.landing-header {
    background-color: rgba(235, 245, 251, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    height: 80px;
    display: flex;
    align-items: center;
}

.main-nav { display: flex; align-items: center; justify-content: space-between; }

.logo img {
    height: 45px;
    width: auto;
    opacity: 0.9;
    transition: opacity 0.3s;
}
.logo img:hover { opacity: 1; }

.nav-links { list-style: none; display: flex; align-items: center; gap: 40px; margin: 0; padding: 0; }
.nav-item {
    text-decoration: none;
    font-size: 16px;
    color: var(--font-secondary);
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
    padding: 5px 0;
}
.nav-item:hover { color: var(--font-primary); }
.nav-item::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--accent-primary);
    transition: width 0.3s ease;
}
.nav-item:hover::after { width: 100%; }

.nav-item-button { font-size: 16px; padding: 8px 16px; }
.mobile-nav-toggle {
    display: none;
    cursor: pointer;
    background: transparent;
    border: none;
    padding: 0;
    z-index: 1001; /* Ensure it's above other nav elements */
}
.mobile-nav-toggle { display: none; }
.nav-item-mobile-only {
    display: none;
}


/* ========================== HERO ========================== */
.hero-section {
    padding: 120px 0;
    background: linear-gradient(180deg, var(--background-main) 0%, #fff 100%);
    overflow: hidden;
    position: relative;
}
.hero-section::before { /* Aurora effect */
    content: '';
    position: absolute;
    top: -20%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
    filter: blur(100px);
    opacity: 0.5;
}
.hero-section::after {
    content: '';
    position: absolute;
    width: 177.401px;
    height: 177.401px;
    background: var(--accent-tertiary); /* This is #DDEF8F */
    border-radius: 0 100px 0 0;
    top: 149px;
    right: 47.1px; /* Moved from left to right */
    z-index: 0;
    animation: float 6s ease-in-out infinite;
}

.hero-shape-2 {
    position: absolute;
    width: 177.401px;
    height: 177.401px;
    background: var(--accent-primary);
    border-radius: 0 100px 0 0;
    top: 300px; /* Moved closer */
    right: 200px; /* Moved closer */
    z-index: 0;
    opacity: 0.7; /* Slightly transparent to create depth */
    animation: float 8s ease-in-out infinite 0.5s; /* Added delay */
}

@keyframes float {
    0% {
        transform: rotate(-179.839deg) translateY(0px);
    }
    50% {
        transform: rotate(-179.839deg) translateY(-20px);
    }
    100% {
        transform: rotate(-179.839deg) translateY(0px);
    }
}

.hero-title {
    font-size: 64px;
    color: var(--font-title);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -2px;
    position: relative;
    z-index: 1;
}
.hero-subtitle { font-size: 22px; color: var(--font-secondary); max-width: 800px; margin: 0 auto 40px auto; position: relative; z-index: 1; }
.hero-buttons { display: flex; justify-content: center; gap: 20px; position: relative; z-index: 1; }

/* ========================== MVP NOTICE SECTION ========================== */
.mvp-notice-section {
    position: relative;
    overflow: hidden;
    background-color: #3D7A8E; /* Explicitly set color to override .section-padding-alt */
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}
.mvp-notice-section::before {
    content: '';
    position: absolute;
    width: 177.401px;
    height: 177.401px;
    background-color: var(--accent-primary);
    opacity: 0.1;
    border-radius: 30px;
    transform: rotate(-179.839deg);
    top: -50px;
    right: 5%;
}
.mvp-notice-section .section-title-alt { color: #D9D9D9; font-size: 32px; }
.mvp-notice-section .section-subtitle { color: #D9D9D9; max-width: 800px; }

/* ========================== HOW IT WORKS / WHY CHOOSE US ========================== */
.how-it-works-grid, .why-choose-us-grid { display: grid; gap: 30px; }
.how-it-works-grid { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.why-choose-us-grid { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }

.how-it-works-card, .why-choose-us-feature {
    background: #fff;
    padding: 40px;
    border-radius: var(--radius);
    border: 1px solid var(--border-color);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.how-it-works-card:hover, .why-choose-us-feature:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px var(--shadow-color);
    border-color: var(--accent-primary);
}

.how-it-works-card h3, .why-choose-us-feature h4 {
    color: var(--font-primary);
    font-size: 22px;
    margin-top: 0;
    margin-bottom: 15px;
}

.card-icon, .feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(145deg, var(--accent-primary), var(--accent-secondary));
    color: var(--font-primary);
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 25px;
    box-shadow: 0 4px 10px var(--accent-glow);
}
.feature-icon { background: linear-gradient(145deg, var(--accent-tertiary), #cde283); box-shadow: 0 4px 10px rgba(221, 239, 143, 0.2); }

/* ========================== PILOT PROGRAM FORM ========================== */
.video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    max-width: 100%;
    background: #000;
    border-radius: var(--radius);
    box-shadow: 0 10px 30px var(--shadow-color);
    margin: 0 auto;
    max-width: 900px; /* Limit the max width for larger screens */
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* ========================== PILOT PROGRAM FORM ========================== */
.pilot-program-section { background-color: #3D7A8E; }
.pilot-program-section .section-title,
.pilot-program-section .section-subtitle {
    color: #D9D9D9;
}

.pilot-form-container {
    max-width: 800px;
    margin: 0 auto;
    background: #fff;
    padding: 50px;
    border-radius: var(--radius);
    border: 1px solid var(--border-color);
}
.pilot-form { display: grid; grid-template-columns: 1fr 1fr; gap: 25px; }
.form-group { display: flex; flex-direction: column; }
.form-group-full { grid-column: 1 / -1; }
.pilot-form label { margin-bottom: 10px; font-weight: 500; color: var(--font-secondary); font-size: 14px; }
.pilot-form input, .pilot-form textarea {
    padding: 14px;
    border: 1px solid var(--border-color);
    background-color: var(--background-main);
    border-radius: var(--radius);
    font-size: 16px;
    font-family: inherit;
    color: var(--font-primary);
    transition: border-color 0.3s, box-shadow 0.3s;
}
.pilot-form input:focus, .pilot-form textarea:focus {
    outline: none;
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px var(--accent-glow);
}
.pilot-form textarea { resize: vertical; min-height: 120px; }

/* ========================== FOOTER ========================== */
.main-footer {
    background-color: var(--background-main);
    color: var(--font-title);
    padding: 50px 0;
    text-align: center;
}
.main-footer p { margin: 0 0 10px; }
.main-footer a { color: var(--font-title); text-decoration: none; transition: color 0.3s; }
.main-footer a:hover { color: var(--font-title); text-decoration: underline; }
.footer-links { list-style: none; padding: 0; margin-top: 20px; display: flex; justify-content: center; gap: 30px; }

/* ========================== MODALS ========================== */
.modal { display: none; position: fixed; z-index: 2000; left: 0; top: 0; width: 100%; height: 100%; overflow: auto; background-color: rgba(0,0,0,0.8); backdrop-filter: blur(5px); }
.modal-content {
    background-color: #fff;
    margin: 5% auto;
    padding: 40px;
    border: 1px solid var(--border-color);
    width: 80%;
    max-width: 900px;
    border-radius: var(--radius);
    position: relative;
    box-shadow: 0 15px 50px var(--shadow-color);
}
.modal-close {
    color: var(--font-secondary);
    position: absolute;
    top: 15px;
    right: 25px;
    font-size: 35px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s;
}
.modal-close:hover, .modal-close:focus { color: var(--font-title); }
.modal-body { max-height: 70vh; overflow-y: auto; color: var(--font-secondary); }
.modal-body h2 { color: var(--font-title); }
.modal-body h3 { color: var(--font-primary); }
.modal-body p { line-height: 1.7; }
.modal-body ul { padding-left: 20px; }
.modal-body li { margin-bottom: 10px; }

/* ========================== MOBILE RESPONSIVENESS ========================== */
@media (max-width: 768px) {
    .section-padding { padding: 60px 0; }
    .section-padding-alt { padding: 50px 0; }
    .section-title { font-size: 36px; }
    .hero-title { font-size: 40px; }
    .hero-subtitle { font-size: 18px; }

    .hero-section { padding: 80px 0; }
    .hero-buttons { flex-direction: column; align-items: center; }
    .hero-section::after, .hero-shape-2 {
        display: none; /* Hide decorative shapes on mobile to prevent overlap */
    }


    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background: #fff;
        padding: 20px 0;
        gap: 0;
        border-bottom: 1px solid var(--border-color);
    }
    .nav-links.active { display: flex; }
    .nav-links li { width: 100%; text-align: center; }
    .nav-item { padding: 15px 0; width: 100%; }
    .nav-item:hover { background-color: var(--background-main); }
    .nav-item::after { display: none; }
    .nav-item-desktop-only { display: none; }

    .nav-item-mobile-only {
        display: block;
        margin-top: 15px;
        padding: 0 20px;
    }
    .nav-item-mobile-only .btn { width: 100%; box-sizing: border-box; }


    .mobile-nav-toggle {
        display: flex; /* Use flex to center the icon */
        align-items: center;
        justify-content: center;
        background: none;
        border: none;
        color: var(--font-primary);
        font-size: 30px;
        cursor: pointer;
        width: 40px;
        height: 40px;
    }

    .pilot-form { grid-template-columns: 1fr; }
    .pilot-form-container { padding: 30px 20px; }

    .how-it-works-card, .why-choose-us-feature { padding: 30px; }

    .modal-content {
        width: 90%;
        margin: 10% auto;
        padding: 25px;
    }
}