/* ===========================
   CSS Variables (Design Tokens)
   =========================== */
:root {
    /* Colors */
    --color-primary: #002151;
    --color-secondary: #256199;
    --color-accent: #ffd166;
    --color-success: #008f3d;
    --color-text-primary: #ffffff;
    --color-text-secondary: #e6e6e6;
    --color-text-dark: #1f1f1f;
    --color-text-muted: #666666;
    --color-bg-dark: #000814;
    --color-bg-card: #f8f9fa;
    --color-border: #b3b3b3;
    --color-border-light: #6a8095;
    --color-secondary-btn: #00662c;

    /* Typography */
    --font-display: 'Open Sans', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Spacing */
    --spacing-xs: 4px;
    --spacing-sm: 8px;
    --spacing-md: 12px;
    --spacing-lg: 16px;
    --spacing-xl: 20px;
    --spacing-2xl: 24px;
    --spacing-3xl: 28px;
    --spacing-4xl: 32px;
    --spacing-5xl: 36px;
    --spacing-6xl: 48px;
    --spacing-7xl: 56px;
    --spacing-8xl: 64px;

    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-full: 50px;
}

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

body {
    font-family: var(--font-body);
    color: var(--color-text-primary);
    background-color: var(--color-bg-dark);
    position: relative;
    overflow-x: hidden;
    line-height: 1.6;
}

/* ===========================
   Header/Navigation
   =========================== */
.header-section {
    background: rgba(0, 8, 20, 0.65);
    backdrop-filter: blur(6px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar {
    padding-top: 16px;
    padding-bottom: 16px;
}

.navbar-brand {
    gap: 8px;
}

.logo-icon {
    width: 40px;
    height: 40px;
}

.logo-text {
    height: 18px;
    width: auto;
}

.nav-link {
    color: var(--color-text-primary) !important;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 16px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    padding: 7px 9px !important;
    position: relative;
    transition: all 0.3s ease;
}

.nav-link::after {
    content: "";
    position: absolute;
    left: 10%;
    right: 10%;
    bottom: 2px;
    height: 1px;
    background: rgba(255, 255, 255, 0.9);
    opacity: 0;
    transition: opacity 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
    border-bottom: none;
}

.nav-link:hover::after,
.nav-link.active::after {
    opacity: 1;
}

/* ===========================
   Buttons
   =========================== */
.btn-primary-gradient {
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.2) 100%),
        linear-gradient(90deg, rgb(0, 143, 61) 0%, rgb(37, 97, 153) 100%);
    color: var(--color-text-primary);
    border: none;
    border-radius: var(--radius-sm);
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 18px;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.header-section .btn-primary-gradient {
    font-size: 12px;
    letter-spacing: 0.12em;
    padding: 10px 20px;
}

.header-cta {
    background: #0b6b34;
    border: 1px solid #0f7a3c;
    box-shadow: none;
}

.header-cta-link {
    text-decoration: none;
}

.header-cta-link:hover,
.header-cta-link:focus {
    text-decoration: none;
}

.header-cta:hover {
    background: #0e7a3e;
    border-color: #14924a;
    box-shadow: none;
    transform: translateY(-1px);
}

.btn-primary-gradient:hover {
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.1) 100%),
        linear-gradient(90deg, rgb(0, 163, 71) 0%, rgb(47, 107, 163) 100%);
    transform: translateY(-2px);
    box-shadow: 0px 6px 12px rgba(0, 143, 61, 0.4);
}

.btn-secondary-custom {
    background-color: var(--color-text-primary);
    color: var(--color-secondary-btn);
    border: 1.8px solid var(--color-secondary-btn);
    border-radius: var(--radius-sm);
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 18px;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.btn-secondary-custom:hover {
    background-color: rgba(255, 255, 255, 0.9);
    color: #008f3d;
    border-color: #008f3d;
    transform: translateY(-2px);
    box-shadow: 0px 4px 8px rgba(0, 102, 44, 0.2);
}

/* ===========================
   Hero Section
   =========================== */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding-top: clamp(60px, 12vw, 120px);
}

.hero-section .container {
    padding-top: -20px;
}

.hero-background {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.hero-bg-image {
    position: absolute;
    top: 11%;
    left: 1.66%;
    width: 96.46%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 81% 52% at 50% 43.5%,
            rgba(37, 97, 153, 0.46) 0%,
            rgba(19, 65, 117, 0.61) 25%,
            rgba(0, 33, 81, 0.76) 50%,
            rgba(0, 17, 41, 0.78) 75%,
            rgba(0, 8, 20, 0.79) 87.5%,
            rgba(0, 0, 0, 0.8) 100%);
}

.hero-content {
    position: relative;
    z-index: 10;
    padding: 12px;
    margin-top: -18rem;
}

.hero-texts {
    max-width: 640px;
    margin: 0 auto;
}

.display-heading {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(28px, 4.2vw, 56px);
    line-height: 1.35;
}

.headline-text {
    font-size: clamp(14px, 1.6vw, 20px);
    line-height: 1.8;
    color: var(--color-text-secondary);
    max-width: 520px;
    margin: 0 auto;
    text-wrap: balance;
    padding: 3.5rem 0;
}

.text-subtext {
    color: var(--color-text-secondary);
}

/* ===========================
   Why Us Section
   =========================== */
.why-us-section {
    background: linear-gradient(60deg, #002151 10.4%, #1F578E 84.29%);
    padding: 100px 0;
}

.section-title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(24px, 3vw, 40px);
    line-height: 1.5;
    color: var(--color-text-primary);
}

.section-subtitle {
    font-size: clamp(14px, 1.4vw, 18px);
    line-height: 1.8;
    color: var(--color-text-secondary);
}

.stat-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 20px;
    flex: 1 0 0;
    height: 236px;
    min-width: 256px;
    padding: 32px 24px;
    border-radius: 0;
    border: 0.4px solid #6a8095;
    background: rgba(0, 0, 0, 0.2);
    box-shadow: 0 4px 12px rgba(37, 97, 153, 0.2);
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(37, 97, 153, 0.3);
}

.stat-number {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(24px, 2.2vw, 32px);
    line-height: 1.5;
    color: var(--color-accent);
    margin-bottom: 20px;
}

.stat-description {
    font-size: 14px;
    line-height: 1.8;
    color: var(--color-text-primary);
}

/* Vision Quote */
.vision-quote-section {
    padding: 60px 0;
}

.vision-quote-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 24px;
    align-self: stretch;
    border-radius: 0;
    border: 0.5px solid #6a8095;
    background: linear-gradient(180deg, rgba(0, 143, 61, 0.12) 0%, rgba(37, 97, 153, 0) 100%),
        linear-gradient(180deg, rgba(37, 97, 153, 0.24) 0%, rgba(37, 97, 153, 0) 100%);
    box-shadow: 0 4px 12px 2px rgba(37, 97, 153, 0.2);
    padding: 24px 16px;
    overflow: hidden;
    position: relative;
    z-index: 1;
    transform: none;
}

.vision-quote-card>* {
    position: relative;
    z-index: 1;
}

.vision-quote-bg {
    position: absolute;
    top: 50%;
    right: -40px;
    width: 360px;
    height: 360px;
    opacity: 0.12;
    transform: translateY(-50%) rotate(6deg);
    transform-origin: center right;
    pointer-events: none;
    z-index: 0;
}

.vision-quote,
.vision-author {
    transform: none;
}

.vision-quote {
    font-size: 18px;
    line-height: 1.8;
    color: var(--color-text-primary);
    font-style: italic;
}

.vision-author {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.7);
}

.vision-bg-circle {
    position: absolute;
    bottom: -99px;
    right: -163px;
    width: 320px;
    height: 319px;
    background: linear-gradient(180deg, rgba(0, 143, 61, 0.12) 0%, rgba(37, 97, 153, 0) 100%);
    border-radius: 200px;
    transform: rotate(317deg);
    opacity: 0.5;
    pointer-events: none;
}

/* Features */
.features-section {
    padding-top: 60px;
}

.feature-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 32px;
    flex: 1 0 0;
    height: 395px;
    max-height: 395px;
    min-width: 343px;
    max-width: 540px;
    padding: 32px 24px;
    border-radius: 0;
    border: 0.4px solid #ffffff;
    background: linear-gradient(180deg, rgba(37, 97, 153, 0.24) 0%, rgba(37, 97, 153, 0) 100%),
        linear-gradient(180deg, rgba(37, 97, 153, 0.24) 0%, rgba(37, 97, 153, 0) 100%),
        linear-gradient(180deg, rgba(37, 97, 153, 0.24) 0%, rgba(37, 97, 153, 0) 100%);
    box-shadow: 0 4px 12px rgba(37, 97, 153, 0.2);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(37, 97, 153, 0.3);
}

.feature-icon {
    width: 74px;
    height: 74px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon img {
    max-width: 100%;
    height: auto;
}

.feature-title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(16px, 1.4vw, 18px);
    line-height: 2;
    color: var(--color-accent);
}

.feature-description {
    font-size: 14px;
    line-height: 1.8;
    color: var(--color-text-primary);
}

/* ===========================
   Join Waitlist Section
   =========================== */
.join-waitlist-section {
    background-color: var(--color-secondary);
    padding: 80px 0 160px;
    position: relative;
    overflow: visible;
}

.waitlist-form-wrapper {
    background-color: var(--color-bg-card);
    padding: 12px 14px;
    border-radius: var(--radius-md);
    box-shadow: 0px 6px 16px rgba(14, 59, 110, 0.22);
}

.waitlist-form {
    gap: 10px;
}

.waitlist-form .form-control {
    border: 1px solid rgba(179, 179, 179, 0.7);
    border-radius: var(--radius-md);
    padding: 14px 18px;
    font-size: 16px;
    height: 56px;
    color: var(--color-text-dark);
}

.waitlist-form .form-control::placeholder {
    color: var(--color-text-muted);
}

.waitlist-form .btn {
    height: 56px;
    border-radius: var(--radius-md);
}

@media (min-width: 768px) {
    .waitlist-form .btn {
        min-width: 220px;
    }
}

.waitlist-wave {
    position: absolute;
    bottom: -47px;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    max-width: none;
    pointer-events: none;
    overflow: visible;
}

.waitlist-wave svg {
    width: 100vw;
    min-width: 100vw;
    max-width: 100vw;
    height: 114px;
    display: block;
}

/* ===========================
   FAQ Section
   =========================== */
.faq-section {
    background-color: var(--color-primary);
    background-image: radial-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
        radial-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px);
    background-size: 18px 18px, 18px 18px;
    background-position: 0 0, 9px 9px;
    padding: 100px 0;
}

.faq-container {
    background-color: var(--color-bg-card);
    padding: 36px 16px;
    border-radius: var(--radius-sm);
    box-shadow: 0px 4px 16px rgba(0, 0, 0, 0.15);
}

.faq-item {
    border: none;
    background: transparent;
    margin-bottom: 20px;
}

.faq-item:last-child {
    margin-bottom: 0;
}

.faq-item .accordion-button {
    background-color: transparent;
    color: var(--color-text-dark);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 18px;
    line-height: 1.6;
    border-bottom: 0.4px solid var(--color-border-light);
    padding: 16px 0;
    box-shadow: none;
}

.faq-item .accordion-button:not(.collapsed) {
    background-color: #e5f0ff;
    border: 1px solid var(--color-border-light);
    padding: 16px;
    border-radius: var(--radius-sm);
}

.faq-item .accordion-button::after {
    background-image: none;
    content: "+";
    font-size: 20px;
    font-weight: 600;
    color: var(--color-text-dark);
    transform: none;
    width: 20px;
    height: 20px;
    line-height: 20px;
}

.faq-item .accordion-button:not(.collapsed)::after {
    content: "-";
}

.faq-item .accordion-body {
    color: var(--color-text-dark);
    font-size: 16px;
    line-height: 1.8;
    padding: 16px 0;
}

/* ===========================
   Contact Section
   =========================== */
.contact-section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 60px;
    align-self: stretch;
    height: 1308px;
    padding: 160px 100px;
    --contact-bg-image: none;
    background: linear-gradient(60deg, rgba(0, 33, 81, 0.5) 10.4%, rgba(31, 87, 142, 0.5) 84.29%),
        var(--contact-bg-image) lightgray 63.238px 104.143px / 90.833% 100% no-repeat;
    backdrop-filter: blur(2px);
    position: relative;
}

.contact-background {
    display: block;
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
    opacity: 0.15;
    z-index: 0;
}

.contact-background img {
    position: absolute;
    top: 8%;
    left: 4%;
    width: 91%;
    height: 100%;
    object-fit: cover;
}

.contact-background::after {
    content: '';
    position: absolute;
    inset: 0;
    backdrop-filter: blur(2px);
}

.contact-form-card {
    background-color: var(--color-bg-card);
    border: 1px solid var(--color-border);
    padding: 76px 36px;
    border-radius: var(--radius-sm);
    position: relative;
    z-index: 1;
}

.contact-form .form-label {
    color: var(--color-text-dark);
    font-weight: 500;
    font-size: 14px;
    margin-bottom: 8px;
    position: relative;
    z-index: 1;
}

.contact-form .form-control {
    border: 0.2px solid var(--color-border);
    border-radius: var(--radius-sm);
    padding: 16px;
    font-size: 14px;
    color: var(--color-text-dark);
}

.contact-form .form-control::placeholder {
    color: var(--color-text-muted);
}

.contact-form textarea.form-control {
    resize: vertical;
    min-height: 150px;
}

.disclaimer-text {
    font-size: 16px;
    color: var(--color-text-dark);
    line-height: 1.8;
}

.privacy-link {
    color: var(--color-text-dark);
    font-weight: 500;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.privacy-link:hover {
    color: var(--color-secondary-btn);
}

/* ===========================
   Footer
   =========================== */
.footer-section {
    background: radial-gradient(ellipse 81% 36% at 50% 43.5%,
            rgba(37, 97, 153, 0.46) 0%,
            rgba(19, 65, 117, 0.61) 25%,
            rgba(0, 33, 81, 0.76) 50%,
            rgba(0, 17, 41, 0.88) 75%,
            rgba(0, 8, 20, 0.94) 87.5%,
            rgba(0, 0, 0, 1) 100%);
    backdrop-filter: blur(2px);
    padding: 100px 0 60px;
}

.footer-logo-icon {
    width: 40px;
    height: 40px;
}

.footer-logo-text {
    height: 14px;
    width: auto;
}

.footer-tagline,
.footer-contact,
.footer-social-label {
    font-size: 18px;
    line-height: 1.8;
    color: var(--color-text-primary);
}

.footer-contact a {
    color: var(--color-text-primary);
    text-decoration: underline;
}

.social-icon {
    width: 44px;
    height: 44px;
    background-color: var(--color-text-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-icon:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(255, 255, 255, 0.2);
}

.social-icon img {
    width: 18px;
    height: 18px;
}

.footer-heading {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(18px, 2vw, 24px);
    line-height: 1.5;
    color: var(--color-text-primary);
}

.footer-nav li {
    margin-bottom: 16px;
}

.footer-nav a {
    color: var(--color-text-primary);
    font-size: 18px;
    line-height: 1.8;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-nav a:hover {
    color: var(--color-accent);
}

.footer-newsletter-form .form-control {
    background-color: #ffffff;
    border: 1px solid rgba(179, 179, 179, 0.7);
    border-radius: var(--radius-md);
    padding: 14px 20px;
    height: 56px;
    font-size: 16px;
    color: var(--color-text-dark);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
    line-height: 1.2;
}

.footer-newsletter-form {
    flex-wrap: wrap;
    gap: 12px;
}

.footer-newsletter-form .form-control::placeholder {
    color: var(--color-text-muted);
}

.footer-newsletter-form .btn {
    height: 56px;
    min-height: 56px;
    border-radius: var(--radius-md);
}

@media (min-width: 992px) {
    .footer-newsletter-form {
        flex-wrap: nowrap;
    }

    .footer-newsletter-form .btn {
        min-width: 200px;
    }
}

.footer-bottom {
    padding-top: 40px;
}

.copyright-icon {
    width: 16px;
    height: 16px;
}

.copyright-text {
    font-size: 16px;
    line-height: 1.8;
    color: var(--color-text-primary);
}

/* ===========================
   Responsive Design
   =========================== */

/* Tablet */
@media (max-width: 991px) {}

/* Mobile */
@media (max-width: 767px) {
    .hero-section {
        padding-top: 80px;
    }

    .why-us-section,
    .faq-section,
    .contact-section,
    .footer-section {
        padding: 60px 0;
    }

    .join-waitlist-section {
        padding: 60px 0 120px;
    }

    .vision-quote-card {
        padding: 32px 24px;
    }

    .contact-form-card {
        padding: 40px 24px;
    }

    .btn-primary-gradient,
    .btn-secondary-custom {
        font-size: 16px;
    }
}

/* Small Mobile */
@media (max-width: 575px) {}

/* ===========================
   Accessibility
   =========================== */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus States */
.btn:focus,
.form-control:focus,
.nav-link:focus,
a:focus {
    outline: 3px solid rgba(0, 143, 61, 0.5);
    outline-offset: 2px;
}

/* High Contrast Mode */
@media (prefers-contrast: high) {

    .hero-overlay,
    .contact-background::after {
        opacity: 0.95;
    }

    .btn-secondary-custom {
        border-width: 2px;
    }
}