/**
 * Home page ("Website 2026") section styles.
 * Ported from the dylan-draft.com reference. Nav, footer, mobile menu
 * and global buttons live in style.css; this file only adds the
 * marketing sections used by template-website-2026.php.
 */

/* Ghost button on dark sections */
#hero .btn-ghost, #cta-section .btn-ghost {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.4);
    background: transparent;
}

#hero .btn-ghost:hover, #cta-section .btn-ghost:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.7);
    color: #fff;
}

/* Section CTAs are larger than the nav buttons (matches original inline sizes) */
.hero-ctas .btn-red,
#fdm .btn-red {
    padding: 14px 32px;
    font-size: 15px;
}

#cta-section .btn-red,
#cta-section .btn-ghost {
    padding: 16px 36px;
    font-size: 15px;
}

/* ── HERO ── */
#hero {
    position: relative;
    min-height: 78vh;
    padding-top: 96px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
    z-index: 20;
    background: linear-gradient(145deg, #0a0e1e 0%, #0f1a30 100%);
}

.hero-bg-img {
    position: absolute;
    inset: 0;
    background: url('../img/hero-photo.jpg') center 42% / cover no-repeat;
    opacity: 0.22;
    filter: saturate(0.9) contrast(1.08);
    transform: scale(1.04);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 20% 60%, rgba(48, 127, 226, 0.22) 0%, transparent 55%),
    radial-gradient(ellipse at 80% 20%, rgba(147, 197, 253, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 60% 80%, rgba(235, 38, 42, 0.05) 0%, transparent 40%);
}

.hero-grain {
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.3;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='0.06'/%3E%3C/svg%3E");
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 0 24px 48px;
    max-width: 860px;
    margin: 0 auto;
    width: 100%;
}

.hero-eyebrow {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.55);
    margin-bottom: 24px;
}

.hero-h1 {
    font-size: clamp(48px, 8vw, 86px);
    font-weight: 800;
    color: #fff;
    line-height: 1.02;
    letter-spacing: -0.03em;
    margin-bottom: 24px;
}

.hero-h1 .gradient-text {
    background: linear-gradient(135deg, #60a5fa 0%, #93c5fd 60%, #bfdbfe 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-sub {
    font-size: 18px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.88);
    max-width: 660px;
    margin: 0 auto 40px;
    hyphens: none;
}

.hero-ctas {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ── HERO CONTACT DROPDOWN ── */
.hero-contact {
    position: relative;
    display: inline-block;
}

.hero-contact-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #307FE2;
    color: #fff;
    padding: 14px 32px;
    border-radius: 100px;
    font-size: 15px;
    font-weight: 600;
    font-family: inherit;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(48, 127, 226, 0.35);
    transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}

.hero-contact-btn:hover {
    background: #2368c4;
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(48, 127, 226, 0.45);
}

.hero-contact-menu {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.18), 0 2px 8px rgba(0, 0, 0, 0.08);
    padding: 8px;
    min-width: 260px;
    z-index: 9999;
}

.hero-contact.open .hero-contact-menu {
    display: block;
}

.hero-contact.open {
    z-index: 10000;
}

.hero-contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: 10px;
    text-decoration: none;
    transition: background 0.15s;
}

.hero-contact-item:hover {
    background: #f0f6ff;
}

.hero-contact-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: #307FE2;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.hero-contact-icon-light {
    background: #e8f0fd;
}

.hero-contact-label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: #0d1f3c;
    letter-spacing: 0.01em;
}

.hero-contact-value {
    display: block;
    font-size: 12px;
    color: #307FE2;
    font-weight: 600;
}

.hero-contact-divider {
    height: 1px;
    background: rgba(0, 0, 0, 0.06);
    margin: 4px 8px;
}

/* ── STATS BAR ── */
.stats-bar {
    background: #fff;
    border-bottom: 1px solid rgba(0, 0, 0, 0.07);
    padding: 0 48px;
}

.stats-bar-inner {
    max-width: 960px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}

.stat-cell {
    padding: 28px 0;
    text-align: center;
    border-right: 1px solid rgba(0, 0, 0, 0.08);
}

.stat-cell:last-child {
    border-right: none;
}

.stat-val {
    font-size: 28px;
    font-weight: 800;
    color: #307FE2;
    letter-spacing: -0.03em;
}

.stat-label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.10em;
    text-transform: uppercase;
    color: #9ca3af;
    margin-top: 6px;
}

/* ── SECTION HEADER ── */
.section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 64px;
}

.section-eyebrow {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    margin-bottom: 12px;
    display: block;
    color: #307FE2;
}

.section-h2 {
    font-size: clamp(32px, 5vw, 52px);
    font-weight: 800;
    letter-spacing: -0.03em;
    color: #231F20;
    margin-bottom: 16px;
    line-height: 1.08;
}

.section-sub {
    font-size: 16px;
    line-height: 1.7;
    color: #6b7280;
}

/* ── FADE-UP ── */
.fade-up {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.65s ease, transform 0.65s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 {
    transition-delay: 0.1s;
}

.delay-2 {
    transition-delay: 0.2s;
}

.delay-3 {
    transition-delay: 0.3s;
}

/* ── HOW IT WORKS ── */
#how-it-works {
    padding: 96px 24px;
    background: #f4f7ff;
    overflow: hidden;
}

.hiw-wrap {
    max-width: 1100px;
    margin: 0 auto;
}

.hiw-flow {
    display: flex;
    align-items: stretch;
    gap: 0;
    flex-wrap: wrap;
}

.hiw-step {
    background: linear-gradient(145deg, #0d1f3c 0%, #0f2a4a 100%);
    border-radius: 20px;
    padding: 36px 28px 32px;
    flex: 1;
    min-width: 200px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.18), 0 1px 3px rgba(0, 0, 0, 0.12);
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(48, 127, 226, 0.18);
}

.hiw-step::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #307FE2, #5fa8f5);
    border-radius: 20px 20px 0 0;
}

.hiw-step:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25), 0 4px 12px rgba(48, 127, 226, 0.2);
}

.hiw-step-num {
    position: absolute;
    bottom: 24px;
    right: 24px;
    font-size: 64px;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.05);
    font-family: 'Work Sans', sans-serif;
    line-height: 1;
    pointer-events: none;
    letter-spacing: -0.04em;
}

.hiw-icon-ring {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: rgba(48, 127, 226, 0.2);
    border: 1px solid rgba(48, 127, 226, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 22px;
}

.hiw-step-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(48, 127, 226, 0.15);
    border: 1px solid rgba(48, 127, 226, 0.3);
    border-radius: 100px;
    padding: 4px 10px;
    font-size: 11px;
    font-weight: 700;
    color: #5fa8f5;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.hiw-step-badge-green {
    background: rgba(34, 197, 94, 0.12);
    border-color: rgba(34, 197, 94, 0.3);
    color: #4ade80;
}

.hiw-step h3 {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 10px;
    letter-spacing: -0.02em;
    font-family: 'Work Sans', sans-serif;
}

.hiw-step p {
    font-size: 14px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
    position: relative;
    z-index: 1;
}

.hiw-step-green {
    border-color: rgba(34, 197, 94, 0.25);
}

.hiw-step-green::before {
    background: linear-gradient(90deg, #22c55e, #4ade80);
}

.hiw-step-green .hiw-icon-ring {
    background: rgba(34, 197, 94, 0.15);
    border-color: rgba(34, 197, 94, 0.3);
}

.hiw-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    flex-shrink: 0;
    width: 40px;
}

.hiw-arrow svg {
    opacity: 0.35;
}

.hiw-pulse {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #307FE2;
    animation: hiwPulse 1.8s ease-in-out infinite;
}

.hiw-pulse:nth-child(2) {
    animation-delay: 0.6s;
}

.hiw-pulse:nth-child(3) {
    animation-delay: 1.2s;
}

@keyframes hiwPulse {
    0%, 100% {
        opacity: 0.2;
        transform: scale(0.7);
    }
    50% {
        opacity: 1;
        transform: scale(1.2);
    }
}

@keyframes lteArc {
    0% {
        opacity: 0;
    }
    20% {
        opacity: 1;
    }
    60% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}

.lte-arc-1 {
    animation: lteArc 1.8s ease-in-out infinite;
    animation-delay: 0s;
}

.lte-arc-2 {
    animation: lteArc 1.8s ease-in-out infinite;
    animation-delay: 0.4s;
}

.lte-arc-3 {
    animation: lteArc 1.8s ease-in-out infinite;
    animation-delay: 0.8s;
}

.hiw-note {
    text-align: center;
    margin-top: 40px;
    font-size: 13px;
    color: rgba(7, 21, 56, 0.4);
}

.hiw-note strong {
    color: #307FE2;
}

/* ── FEATURES ── */
#features {
    padding: 96px 24px;
    background: #fff;
    position: relative;
    overflow: hidden;
}

.features-inner {
    max-width: 1280px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    align-items: stretch;
    max-width: 1280px;
    margin: 0 auto 40px;
}

.feature-card {
    padding: 36px 28px;
    border-radius: 20px;
    border: 1px solid #edf0f7;
    background: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
    height: 100%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02), 0 12px 32px rgba(48, 127, 226, 0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    position: relative;
    overflow: hidden;
    box-sizing: border-box;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #307FE2, #60b0ff);
    opacity: 0;
    transition: opacity 0.25s ease;
}

.feature-card-link {
    display: flex;
    text-decoration: none;
    color: inherit;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 48px rgba(48, 127, 226, 0.13);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 22px;
    background: rgba(48, 127, 226, 0.1);
}

.feature-card h3 {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 10px;
    color: #0d1f3c;
}

.feature-card p {
    font-size: 13.5px;
    line-height: 1.75;
    color: #6b7280;
    flex: 1;
}

/* ── COMPATIBILITY (#aircraft-search) ── */
#aircraft-search {
    margin-top: 64px;
    /* Add padding-bottom to provide space for the search suggestions dropdown
       and create visual separation from the next section (product banner). */
    padding-bottom: 48px;
    min-height: 400px; /* Reserve space for dropdown to appear without pushing content abruptly */
}

.compat-inner {
    max-width: 860px;
    margin: 0 auto;
    text-align: center;
    position: relative; /* Create stacking context for the search dropdown */
    z-index: 1; /* Ensure dropdown appears above following sections */
}

.compat-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.compat-fields {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin: 20px 0;
    text-align: left;
}

.compat-field {
    flex: 1;
    min-width: 200px;
}

.compat-field label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(13, 31, 60, 0.45);
    margin-bottom: 8px;
}

.compat-field-input {
    position: relative;
}

.compat-field-input svg {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #9ca3af;
    pointer-events: none;
}

.compat-field-input input {
    width: 100%;
    box-sizing: border-box;
    padding: 14px 16px 14px 44px;
    border: 1.5px solid rgba(0, 0, 0, 0.1);
    border-radius: 14px;
    font-size: 15px;
    font-family: inherit;
    background: #fff;
    color: #0d1f3c;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.compat-field-input input:focus {
    border-color: #307FE2;
    box-shadow: 0 0 0 3px rgba(48, 127, 226, 0.12);
}

.compat-field-btn {
    display: flex;
    align-items: flex-end;
}

.compat-field-btn .btn-blue {
    border: none;
    cursor: pointer;
    font-family: inherit;
    white-space: nowrap;
    padding: 14px 28px;
    border-radius: 14px;
}

.compat-result {
    margin-top: 8px;
    text-align: left;
}

.compat-result-card {
    margin-top: 20px;
    border-radius: 18px;
    overflow: hidden;
    border: 1.5px solid #cce0f7;
    box-shadow: 0 8px 32px rgba(48, 127, 226, 0.1);
}

.compat-result-header {
    background: linear-gradient(135deg, #307FE2, #1f6dd4);
    padding: 18px 24px;
    display: flex;
    align-items: center;
    gap: 14px;
}

.compat-result-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.compat-result-eyebrow {
    font-size: 11px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.compat-result-title {
    font-size: 17px;
    font-weight: 800;
    color: #fff;
    margin: 0;
}

.compat-result-body {
    background: #fff;
    padding: 20px 24px;
}

.compat-result-note {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(13, 31, 60, 0.4);
    margin: 0 0 4px;
}

.compat-result-text {
    font-size: 14px;
    color: #0d1f3c;
    margin: 0;
    line-height: 1.6;
}

/* ── Dedicated Compatibility page (Template: Compatibility) ── */
.compatibility-page {
    padding: 140px 24px 96px;
    background: radial-gradient(circle at 50% 0%, #f0f6ff 0%, #ffffff 60%);
}

.compat-page-inner {
    max-width: 860px;
    margin: 0 auto;
    text-align: center;
}

.compat-page-content {
    margin-top: 40px;
    text-align: left;
    color: #4a6080;
    line-height: 1.8;
}

/* ── PRODUCT BANNER ── */
.product-banner {
    margin-top: 48px;
    border-radius: 20px;
    overflow: hidden;
    background: linear-gradient(135deg, #f0f6ff 0%, #e8f2ff 100%);
    border: 1px solid #cce0f7;
    box-shadow: 0 4px 24px rgba(48, 127, 226, 0.08);
}

.product-banner-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 36px 48px;
    flex-wrap: wrap;
}

.product-banner-text {
    flex: 1;
    min-width: 240px;
}

.product-banner-text .eyebrow {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #307FE2;
    margin: 0 0 8px;
}

.product-banner-text h3 {
    font-size: clamp(26px, 3vw, 36px);
    font-weight: 800;
    color: #0d1f3c;
    letter-spacing: -0.03em;
    line-height: 1.1;
    margin: 0 0 12px;
}

.product-banner-text h3 span {
    color: #307FE2;
}

.product-banner-text p {
    font-size: 14px;
    line-height: 1.7;
    color: #4a6080;
    margin: 0 0 20px;
    max-width: 380px;
}

.product-banner-ctas {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.product-banner-img img {
    max-width: 100%;
    width: 100%;
    display: block;
    object-fit: contain;
}

.btn-blue {
    display: inline-block;
    background: #2d5586;
    color: #fff;
    padding: 11px 26px;
    border-radius: 100px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(48, 127, 226, 0.3);
    transition: background 0.2s, transform 0.2s;
}

.btn-blue:hover {
    background: #1f6dd4;
    transform: translateY(-1px);
}

.btn-outline-blue {
    display: inline-block;
    background: transparent;
    color: #307FE2;
    padding: 11px 26px;
    border-radius: 100px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    border: 2px solid #307FE2;
    transition: background 0.2s ease, transform 0.2s ease;
}

.btn-outline-blue:hover {
    background: rgba(48, 127, 226, 0.06);
    transform: translateY(-1px);
}

/* ── MISSION ── */
#mission {
    padding: 96px 24px;
    background: #f0f4ff;
    position: relative;
    overflow: hidden;
}

.mission-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(ellipse at 15% 60%, rgba(48, 127, 226, 0.10) 0%, transparent 50%), radial-gradient(ellipse at 85% 20%, rgba(48, 127, 226, 0.07) 0%, transparent 50%);
}

.mission-inner {
    max-width: 1280px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.mission-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.mission-card {
    border-radius: 24px;
    overflow: hidden;
    text-decoration: none;
    display: block;
    position: relative;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.mission-card:hover {
    transform: translateY(-8px) scale(1.02);
}

.mission-card:active {
    transform: translateY(-2px) scale(0.99);
}

.mission-card:focus-visible {
    outline: 3px solid #307FE2;
    outline-offset: 4px;
    border-radius: 24px;
}

.mission-card-inner {
    height: 300px;
    padding: 28px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    position: relative;
}

.mission-icon-wrap {
    position: absolute;
    top: 24px;
    left: 24px;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

.mission-card:hover .mission-icon-wrap {
    opacity: 1;
}

.mission-icon-wrap svg {
    transform-origin: center center;
    display: block;
}

.mc-maintenance:hover .mission-icon-wrap svg {
    animation: wrenchTighten 0.7s cubic-bezier(0.36, 0.07, 0.19, 0.97);
}

.mc-school:hover .mission-icon-wrap svg {
    animation: capBounce 0.7s ease;
}

.mc-adrenaline:hover .mission-icon-wrap svg {
    animation: boltZap 0.5s ease;
}

.mc-business:hover .mission-icon-wrap svg {
    animation: briefcaseOpen 0.6s ease;
}

@keyframes wrenchTighten {
    0%   { transform: rotate(0deg); }
    15%  { transform: rotate(-28deg); }
    30%  { transform: rotate(8deg); }
    45%  { transform: rotate(-22deg); }
    60%  { transform: rotate(6deg); }
    75%  { transform: rotate(-14deg); }
    88%  { transform: rotate(3deg); }
    100% { transform: rotate(0deg); }
}

@keyframes capBounce {
    0%   { transform: translateY(0) rotate(0deg); }
    20%  { transform: translateY(-5px) rotate(-6deg); }
    40%  { transform: translateY(0) rotate(0deg); }
    55%  { transform: translateY(-3px) rotate(4deg); }
    70%  { transform: translateY(0) rotate(0deg); }
    85%  { transform: translateY(-2px) rotate(-2deg); }
    100% { transform: translateY(0) rotate(0deg); }
}

@keyframes boltZap {
    0%   { transform: scale(1) rotate(0deg); opacity: 1; }
    20%  { transform: scale(1.35) rotate(-8deg); opacity: 0.7; }
    40%  { transform: scale(0.85) rotate(6deg); opacity: 1; }
    60%  { transform: scale(1.2) rotate(-4deg); opacity: 0.8; }
    80%  { transform: scale(0.95) rotate(3deg); opacity: 1; }
    100% { transform: scale(1) rotate(0deg); opacity: 1; }
}

@keyframes briefcaseOpen {
    0%   { transform: scaleY(1) translateY(0); }
    30%  { transform: scaleY(0.88) translateY(1px); }
    60%  { transform: scaleY(1.06) translateY(-1px); }
    80%  { transform: scaleY(0.97) translateY(0.5px); }
    100% { transform: scaleY(1) translateY(0); }
}

.mission-card-glow {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.65) 0%, transparent 60%);
}

.mission-plane-wrap {
    position: absolute;
    top: 38%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.45s ease;
    width: 180px;
}

.mission-card:hover .mission-plane-wrap {
    opacity: 0.55;
}

.mission-plane-img {
    width: 100%;
    display: block;
    filter: brightness(0) invert(1);
}

.mission-bottom-line {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    opacity: 0.7;
}

.mission-card h3 {
    position: relative;
    z-index: 1;
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.02em;
    margin-bottom: 8px;
}

.mission-card p {
    position: relative;
    z-index: 1;
    font-size: 15px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.85);
}

.mc-maintenance .mission-card-inner {
    background: linear-gradient(145deg, #b91c1c 0%, #dc2626 50%, #ef4444 100%);
}

.mc-maintenance .mission-icon-wrap {
    background: rgba(255, 220, 215, 0.2);
    border: 1px solid rgba(255, 220, 215, 0.45);
}

.mc-maintenance .mission-bottom-line {
    background: linear-gradient(90deg, transparent, rgba(255, 180, 170, 0.9), transparent);
}

.mc-school .mission-card-inner {
    background: linear-gradient(145deg, rgb(180, 238, 203) 0%, rgb(204, 255, 227) 100%);
}

.mc-school .mission-icon-wrap {
    background: rgba(167, 243, 208, 0.2);
    border: 1px solid rgba(167, 243, 208, 0.45);
}

.mc-school .mission-bottom-line {
    background: linear-gradient(90deg, transparent, rgba(167, 243, 208, 0.9), transparent);
}

.mc-adrenaline .mission-card-inner {
    background: linear-gradient(145deg, #1e3a8a 0%, #1d4ed8 50%, #3b82f6 100%);
}

.mc-adrenaline .mission-icon-wrap {
    background: rgba(191, 219, 254, 0.2);
    border: 1px solid rgba(191, 219, 254, 0.45);
}

.mc-adrenaline .mission-bottom-line {
    background: linear-gradient(90deg, transparent, rgba(191, 219, 254, 0.9), transparent);
}

.mc-business .mission-card-inner {
    background: linear-gradient(145deg, rgb(242, 207, 171) 0%, rgb(255, 231, 195) 100%);
}

.mc-business .mission-icon-wrap {
    background: rgba(253, 230, 138, 0.2);
    border: 1px solid rgba(253, 230, 138, 0.45);
}

.mc-business .mission-bottom-line {
    background: linear-gradient(90deg, transparent, rgba(253, 230, 138, 0.9), transparent);
}

/* ── FDM / FOQA ── */
#fdm {
    padding: 96px 24px;
    background: #eef5ff;
    position: relative;
    overflow: hidden;
}

.fdm-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    max-width: 1280px;
    margin: 0 auto;
}

.fdm-inner .section-h2 {
    text-align: left;
    margin-top: 12px;
}

.fdm-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.fdm-stat {
    background: #fff;
    border-radius: 20px;
    padding: 24px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03), 0 8px 24px rgba(48, 127, 226, 0.05);
}

.fdm-stat-val {
    font-size: 28px;
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 4px;
    color: #307FE2;
}

.fdm-stat-label {
    font-size: 13px;
    color: #6b7280;
}

/* ── INTEGRATIONS MARQUEE ── */
#integrations {
    padding: 80px 0;
    background: #0a1f44;
    overflow: hidden;
}

#integrations .section-header {
    max-width: 1280px;
    margin: 0 auto 40px;
    padding: 0 24px;
}

#integrations .section-eyebrow {
    color: #60a5fa;
}

#integrations .section-h2 {
    color: #fff;
}

#integrations .section-sub {
    color: rgba(255, 255, 255, 0.6);
}

.partner-marquee-outer {
    overflow: hidden;
    position: relative;
}

.partner-marquee-outer::before, .partner-marquee-outer::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    z-index: 2;
    width: 140px;
    pointer-events: none;
}

.partner-marquee-outer::before {
    left: 0;
    background: linear-gradient(to right, #0a1f44, transparent);
}

.partner-marquee-outer::after {
    right: 0;
    background: linear-gradient(to left, #0a1f44, transparent);
}

.partner-marquee-track {
    display: flex;
    width: max-content;
    animation: partnerScroll 43s linear infinite;
}

@keyframes partnerScroll {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

.partner-logo-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 36px;
    height: 72px;
    flex-shrink: 0;
}

.partner-logo-item img {
    max-height: 44px;
    max-width: 140px;
    width: auto;
    object-fit: contain;
    filter: brightness(0) invert(1) opacity(0.7);
    transition: filter 0.3s ease;
}

.partner-logo-item img:hover {
    filter: brightness(0) invert(1) opacity(1);
}

.partner-text-fallback {
    font-size: 13px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.6);
    white-space: nowrap;
}

.partner-divider {
    width: 1px;
    height: 32px;
    background: rgba(255, 255, 255, 0.15);
    flex-shrink: 0;
    align-self: center;
}

/* ── TESTIMONIALS ── */
#testimonials {
    padding: 96px 24px;
    background: #eef5ff;
}

.testimonials-carousel-outer {
    overflow: hidden;
    cursor: grab;
    user-select: none;
    padding: 16px 0 32px;
}

.testimonials-carousel-outer:active {
    cursor: grabbing;
}

.testimonials-grid {
    display: flex;
    gap: 24px;
    padding: 8px 80px;
    will-change: transform;
}

.testimonial-card {
    background: #fff;
    border-radius: 24px;
    padding: 36px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02), 0 8px 24px rgba(48, 127, 226, 0.07), 0 24px 48px rgba(35, 31, 32, 0.04);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    flex: 0 0 380px;
    min-height: 220px;
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(48, 127, 226, 0.12);
}

.stars {
    display: flex;
    gap: 4px;
    margin-bottom: 20px;
}

.testimonial-quote {
    font-size: 14px;
    line-height: 1.75;
    color: #4b5563;
    flex-grow: 1;
    margin-bottom: 28px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.testimonials-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 8px;
}

.t-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(48, 127, 226, 0.25);
    cursor: pointer;
    transition: background 0.3s ease, transform 0.3s ease;
}

.t-dot.active {
    background: #307FE2;
    transform: scale(1.3);
}

.author-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(135deg, #307FE2, #60a5fa);
}

.author-name {
    font-size: 14px;
    font-weight: 600;
    color: #231F20;
    margin: 0;
}

.author-role {
    font-size: 12px;
    color: #9ca3af;
    margin: 0;
}

/* ── TRUSTED ── */
#trusted {
    padding: 56px 24px;
    background: #fff;
    overflow: hidden;
}

.trusted-label {
    text-align: center;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #9ca3af;
    margin-bottom: 36px;
}

.marquee-outer {
    overflow: hidden;
    position: relative;
}

.marquee-outer::before, .marquee-outer::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    z-index: 2;
    width: 120px;
    pointer-events: none;
}

.marquee-outer::before {
    left: 0;
    background: linear-gradient(to right, #fff, transparent);
}

.marquee-outer::after {
    right: 0;
    background: linear-gradient(to left, #fff, transparent);
}

.marquee-track {
    display: flex;
    width: max-content;
    animation: marqueeScroll 40s linear infinite;
}

@keyframes marqueeScroll {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

.marquee-item {
    display: flex;
    align-items: center;
    gap: 48px;
    padding-right: 48px;
}

.marquee-name {
    font-size: 14px;
    font-weight: 600;
    color: #9ca3af;
    white-space: nowrap;
}

.marquee-divider {
    width: 1px;
    height: 28px;
    background: #e5e7eb;
    flex-shrink: 0;
}

/* ── CTA ── */
#cta-section {
    padding: 96px 24px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(155deg, #071538 0%, #0a2060 55%, #0d2d7a 100%);
}

.cta-glow {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(ellipse at 25% 50%, rgba(96, 165, 250, 0.25) 0%, transparent 55%), radial-gradient(ellipse at 80% 20%, rgba(48, 127, 226, 0.2) 0%, transparent 50%);
}

#cta-section .cta-inner {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 680px;
    margin: 0 auto;
}

#cta-section .cta-h2 {
    font-size: clamp(36px, 5vw, 60px);
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.03em;
    margin-bottom: 20px;
    line-height: 1.08;
}

#cta-section .cta-sub {
    font-size: 17px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.55);
    margin-bottom: 40px;
}

#cta-section .cta-btns {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
    .mission-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 900px) {
    .fdm-inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero-content {
        padding: 40px 20px 60px;
    }

    .testimonial-card {
        flex: 0 0 82vw;
        padding: 24px;
    }

    .testimonials-grid {
        padding: 8px 16px;
    }

    .stats-bar {
        padding: 0 20px;
    }

    .mission-grid {
        gap: 16px;
    }
}

@media (max-width: 640px) {
    .mission-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .mission-grid {
        grid-template-columns: repeat(2, 1fr);
        padding: 0 12px;
        gap: 12px;
    }

    .mission-card-inner {
        padding: 24px 16px;
        min-height: 180px;
    }

    .mission-card h3 {
        font-size: 18px;
    }

    .mission-card p {
        font-size: 13px;
    }
}

/* ── LEARN AIRSYNC / TRAINING VIDEOS ── */
#training-videos {
    background: #111827;
    padding: 72px 0 80px;
}

.tv-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.tv-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 32px;
}

.tv-eyebrow {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.4);
    margin: 0 0 8px;
}

.tv-h2 {
    font-size: clamp(22px, 2.5vw, 32px);
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.03em;
    margin: 0;
}

.tv-controls {
    display: flex;
    gap: 10px;
}

.tv-controls button {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #fff;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.tv-controls button:hover {
    background: rgba(255, 255, 255, 0.16);
}

.tv-track-outer {
    position: relative;
    overflow: hidden;
}

.tv-track {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    padding-bottom: 4px;
    cursor: grab;
}

.tv-track::-webkit-scrollbar {
    display: none;
}

.tv-card {
    flex: 0 0 300px;
    cursor: pointer;
}

.tv-thumb {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background: #1f2937;
}

.tv-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease;
}

.tv-card:hover .tv-thumb img {
    transform: scale(1.04);
}

.tv-play {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tv-play-btn {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s, background 0.2s;
}

.tv-play-btn svg {
    margin-left: 4px;
}

.tv-card:hover .tv-play-btn {
    transform: scale(1.1);
    background: #fff;
}

.tv-label {
    margin-top: 12px;
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    line-height: 1.4;
}

.tv-sub {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.45);
    margin-top: 3px;
}

@media (max-width: 480px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        padding: 0 12px;
    }

    .feature-card {
        padding: 20px 16px;
    }

    .feature-card h3 {
        font-size: 15px;
    }

    .feature-card p {
        font-size: 13px;
    }
}
