:root {
    --brand: #4fd1c5;
    --brand-2: #7aa2ff;
    --dark-background: #0b0f1a;
    --panel: #0e1526;
    --text-light: #ecf2ff;
    --text-muted: #9fb3d1;
    --border-color: rgba(255, 255, 255, 0.08);
    --card-background: linear-gradient(180deg, #0c1322, #0a1222);
    --radius: 16px;
    --shadow: 0 10px 30px rgba(0, 0, 0, .35);
}

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

body {
    font-family: 'Hind', sans-serif;
    background-color: var(--dark-background);
    color: var(--text-light);
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
    padding-top: 108px; /* Adjusted for larger header */
    font-size: 18px;
    background: radial-gradient(1200px 800px at 80% -10%, rgba(122, 162, 255, .25), transparent),
    radial-gradient(1000px 600px at -10% 20%, rgba(79, 209, 197, .18), transparent), var(--dark-background);
}

main {
    flex-grow: 1;
}

.sticky-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: linear-gradient(#0b0f1ae0, #0b0f1a90 60%, transparent);
    backdrop-filter: saturate(1.2) blur(8px);
    padding: 1.2rem 2rem;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: center;
    align-items: center;
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.7rem;
}

.logo-icon-small {
    width: 60px;
    height: 60px;
}

.logo-text-small {
    font-family: 'Poppins', sans-serif;
    font-size: 1.6rem;
    font-weight: 500;
    color: var(--text-light);
}

.btn {
    display: inline-flex;
    gap: .6rem;
    align-items: center;
    border-radius: 999px;
    font-family: 'Poppins', sans-serif;
    padding: .8rem 1.1rem;
    font-weight: 600;
    text-decoration: none;
    transition: filter 0.3s ease;
}

.btn.primary {
    background: linear-gradient(90deg, var(--brand), var(--brand-2));
    color: #04111b;
}

.btn.secondary {
    background: rgba(255, 255, 255, .1);
    color: var(--text-light);
}

.btn:hover {
    filter: brightness(1.1);
}

.lang-toggle {
    position: absolute;
    right: 2rem;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, .06);
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    padding: 0.5rem 0.8rem;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
}

.lang-toggle:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-light);
}

.hero-section {
    height: calc(100vh - 108px); /* Corrected to match body padding-top */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    padding: 0 2rem;
    z-index: 1;
}

#pilot.hero-section {
    height: auto; /* Override height for pilot section */
    padding-top: 10rem;
    padding-bottom: 10rem;
}

.hero-title {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 600;
    line-height: 1.4;
    background: linear-gradient(90deg, #ffffff, #c8d6f1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.35rem;
    max-width: 85ch;
    margin-bottom: 2.8rem;
    line-height: 1.6;   /* Improved readability for the larger text */
    color: var(--text-muted);
}

.hero-cta-container {
    display: flex;
    gap: 1rem;
}

.services-section {
    padding: 9rem 2.5rem;
    z-index: 1;
    position: relative;
}

.services-title {
    font-family: 'Poppins', sans-serif;
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 3rem;
    color: var(--text-light);
    text-align: center;
}

.services-list-grid {
    max-width: 1320px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    align-items: stretch; /* This will make all cards in a row the same height */
    gap: 1rem;
}

.service-item {
    background: var(--card-background);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 1.5rem;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-item:hover {
    transform: translateY(-5px);
}

.service-text-container {
    padding: 1.3rem 2rem;
    min-height: 280px; /* Ensure boxes have a minimum height */
    display: flex;
    flex-direction: column;
}

.service-text-container h3 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    margin: .2rem 0 .6rem;
    font-size: 1.25rem;
}

.service-text-container p {
    color: var(--text-muted);
    font-size: 1.12rem;
    line-height: 1.5;
}

.bullets {
    margin: .8rem 0 .4rem;
    padding: 0 0 0 1rem;
    color: var(--text-muted);
}

.bullets li {
    margin: .35rem 0;
    font-size: 1.08rem;
}

.contact-us-section {
    padding: 10rem 1rem 5rem;
    text-align: center;
    z-index: 1;
    position: relative;
}

.form-container {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
    background: var(--panel);
    padding: 2.5rem;
    border-radius: var(--radius);
    border: 1px solid var(--border-color);
}

#contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 2rem;
}

#contact-form input[type="email"] {
    width: 100%;
    padding: 1rem;
    font-size: 1rem;
    background-color: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-light);
    transition: border-color 0.3s ease;
}

#contact-form input[type="email"]:focus {
    outline: none;
    border-color: var(--brand);
}

.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
    text-align: left;
    color: var(--text-muted);
}

.checkbox-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.9rem;
}

.checkbox-row input[type="checkbox"] {
    width: 1.15em;
    height: 1.15em;
    accent-color: var(--brand);
}

.checkbox-row a {
    color: var(--brand-2);
    text-decoration: none;
    font-weight: 500;
    transition: text-decoration 0.2s;
}

.checkbox-row a:hover {
    text-decoration: underline;
}

.form-container .btn {
    align-self: center;
    padding: 0.9rem 2.5rem;
    font-size: 1.1rem;
}

.form-status {
    text-align: center;
    min-height: 1.2em;
    transition: color 0.3s ease;
    margin-top: 1rem;
}

.form-status.success {
    color: #2ecc71;
}

.form-status.error {
    color: #e74c3c;
}

.form-status.sending {
    color: var(--text-muted);
}

.secondary-contact-link {
    margin-top: 1.5rem;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.secondary-contact-link a {
    color: var(--brand);
    text-decoration: none;
}

.secondary-contact-link a:hover {
    text-decoration: underline;
}

.footer {
    padding: 1.5rem 1.5rem;
    font-size: 1rem;
    color: var(--text-muted);
    text-align: center;
    position: relative;
    z-index: 1;
    border-top: 1px solid var(--border-color);
    margin-top: 0;
}

.footer-links {
    margin-bottom: 1rem;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--text-light);
}

.scroll-reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.scroll-reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* --- Doc/Legal Pages --- */
.doc-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: linear-gradient(#0b0f1ae0, #0b0f1a90 60%, transparent);
    backdrop-filter: saturate(1.2) blur(8px);
    padding: 1.2rem 2rem;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: center; /* Center the brand */
    align-items: center;
}

.doc-header .brand a {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    text-decoration: none;
}

body.doc {
    padding-top: 108px; /* Match main page for consistent header */
    background: var(--dark-background); /* Simpler background for docs */
}

.doc .container {
    max-width: 800px;
    margin: 0 auto 4rem;
    padding: 2.5rem;
    background: var(--panel);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.doc h1, .doc h2 {
    font-family: 'Poppins', sans-serif;
    color: var(--text-light);
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 0.5rem;
    margin-bottom: 1.5rem;
}

.doc h1 {
    font-size: 2.2rem;
}

.doc h2 {
    font-size: 1.6rem;
    margin-top: 2.5rem;
}

.doc p, .doc li {
    color: var(--text-muted);
    line-height: 1.7;
    font-size: 1rem;
}

.doc ul {
    padding-left: 20px;
    margin: 1rem 0;
}

.doc li {
    margin-bottom: 0.5rem;
}

.doc a {
    color: var(--brand-2);
    text-decoration: none;
}

.doc a:hover {
    text-decoration: underline;
}

.doc strong {
    color: var(--text-light);
    font-weight: 500;
}


.features {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 4rem;
}

.feature {
    background: var(--card-background);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: 300px;
    text-align: center;
}

.feature:hover {
    transform: translateY(-5px);
}

.feature h3 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.feature p {
    color: var(--text-muted);
    font-size: 1.12rem;
    line-height: 1.5;
}

#pilot-program {
    background: linear-gradient(180deg, rgba(122, 162, 255, 0.1), rgba(79, 209, 197, 0.1));
    padding: 6rem 2rem;
    text-align: center;
    border-radius: var(--radius);
    margin: 4rem 2rem;
}

#pilot-program h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--text-light);
}

#pilot-program p {
    font-size: 1.25rem;
    max-width: 60ch;
    margin: 0 auto 2.5rem;
    line-height: 1.6;
    color: var(--text-muted);
}

@media (max-width: 992px) {
    .services-list-grid {
        grid-template-columns: 1fr;
    }

    .features {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 1.6rem;
    }

    .services-title {
        font-size: 1.3rem;
    }
}

/* --- Cookie Banner --- */
#cookie-banner {
    position: fixed;
    inset: auto 0 0 0;
    background: #0b1a28;
    color: #fff;
    padding: 16px;
    z-index: 9999;
}

.cookie-banner-content {
    max-width: 960px;
    margin: 0 auto;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
}

.cookie-banner-content p {
    margin: 0;
    flex: 1 1 480px;
}

.cookie-banner-content a {
    color: #9dd1ff;
    text-decoration: underline;
}

.cookie-banner-actions {
    display: flex;
    gap: 8px;
}

#cb-reject {
    padding: 8px 12px;
    border: 1px solid #fff;
    background: transparent;
    color: #fff;
    cursor: pointer;
}

#cb-accept {
    padding: 8px 12px;
    border: 0;
    background: #4da3ff;
    color: #06203a;
    cursor: pointer;
    font-weight: 600;
}

/* --- Pilot Section Styling --- */
.pilot-section {
    padding: 8rem 2rem 6rem 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    background: none;
    position: relative;
    z-index: 1;
}

.pilot-offer-box {
    background: var(--panel);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    max-width: 1100px;
    margin: 0 auto;
    padding: 3.5rem 3rem 3rem 3rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.pilot-title {
    font-family: 'Poppins', sans-serif;
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    text-align: center;
    letter-spacing: -0.5px;
}

.pilot-sub {
    text-align: center;
    color: var(--text-muted);
    margin: 0 auto 2.2rem auto;
    max-width: 70ch;
    font-size: 1.22rem;
    font-weight: 400;
}

.pilot-details-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem 4rem;
    width: 100%;
    margin-bottom: 2.5rem;
}

.pilot-card {
    background: rgba(255,255,255,0.03);
    border: 1.5px solid var(--border-color);
    border-radius: 18px;
    box-shadow: 0 4px 24px 0 rgba(0,0,0,0.10);
    padding: 2.2rem 2rem 2rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: box-shadow 0.2s, transform 0.2s;
}

.pilot-card:hover {
    box-shadow: 0 8px 32px 0 rgba(0,0,0,0.18);
    transform: translateY(-4px) scale(1.02);
}

.pilot-card h4 {
    display: flex;
    align-items: center;
    gap: 0.6em;
    font-family: 'Poppins', sans-serif;
    font-size: 1.32rem;
    font-weight: 600;
    color: var(--brand);
    margin-bottom: 1.1rem;
    text-align: center;
}

.pilot-card-icon {
    font-size: 1.5em;
    line-height: 1;
    display: inline-block;
}

.pilot-card ul.bullets {
    color: var(--text-muted);
    font-size: 1.18rem;
    margin-left: 0;
    padding-left: 1.2rem;
}

.pilot-price {
    color: var(--brand-2);
    font-weight: 700;
    font-size: 1.3em;
    letter-spacing: 0.5px;
    background: linear-gradient(90deg, var(--brand), var(--brand-2));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

@media (max-width: 900px) {
    .pilot-offer-box {
        padding: 2rem 1rem;
    }
    .pilot-details-grid {
        gap: 1.5rem 1rem;
    }
    .pilot-card {
        width: 100%;
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 700px) {
    body {
        font-size: 16px;
    }
    .hero-title {
        font-size: 1.6rem;
    }
    .hero-subtitle {
        font-size: 1.05rem;
        margin-bottom: 1.3rem;
    }
    .services-title {
        font-size: 1.3rem;
    }
    .pilot-title {
        font-size: 1.1rem;
    }
    .pilot-sub {
        font-size: 1rem;
    }
    .form-container {
        padding: 1.2rem;
    }
    .footer {
        font-size: 0.95rem;
        padding: 1.2rem 0.5rem;
    }
}
