/**
 * 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;
}

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

.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: left;
    padding: 0 24px 48px 80px;
    max-width: 860px;
    margin: 0;
    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(40px, 7vw, 78px);
    font-weight: 800;
    color: #fff;
    line-height: 1.04;
    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 0 40px;
}

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

/* ── 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: #fff;
    border-radius: 20px;
    padding: 36px 28px 32px;
    flex: 1;
    min-width: 200px;
    box-shadow: 0 2px 8px rgba(48, 127, 226, 0.06), 0 12px 32px rgba(48, 127, 226, 0.09);
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hiw-step:hover {
    transform: translateY(-6px);
    box-shadow: 0 6px 20px rgba(48, 127, 226, 0.12), 0 24px 48px rgba(48, 127, 226, 0.14);
}

.hiw-icon-ring {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    background: rgba(48, 127, 226, 0.09);
}

.hiw-step-num {
    position: absolute;
    top: 18px;
    right: 20px;
    font-size: 13px;
    font-weight: 700;
    color: rgba(48, 127, 226, 0.25);
}

.hiw-step h3 {
    font-size: 17px;
    font-weight: 700;
    color: #071538;
    margin: 0 0 10px;
    letter-spacing: -0.02em;
}

.hiw-step p {
    font-size: 14px;
    line-height: 1.7;
    color: rgba(7, 21, 56, 0.6);
    margin: 0;
}

.hiw-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 6px;
    flex-shrink: 0;
    width: 48px;
    color: #307FE2;
    opacity: 0.4;
}

.hiw-pulse {
    width: 8px;
    height: 8px;
    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);
    }
}

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

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

/* Wave brightness sweep across the four steps */
@keyframes hiwWave {
    0%, 100% {
        box-shadow: 0 2px 8px rgba(48, 127, 226, 0.06), 0 12px 32px rgba(48, 127, 226, 0.09);
        background: #fff;
    }
    50% {
        box-shadow: 0 4px 24px rgba(48, 127, 226, 0.22), 0 16px 48px rgba(48, 127, 226, 0.18);
        background: #f4f8ff;
    }
}

.hiw-wave-1 {
    animation: hiwWave 3.6s ease-in-out infinite;
    animation-delay: 0s;
}

.hiw-wave-2 {
    animation: hiwWave 3.6s ease-in-out infinite;
    animation-delay: 0.9s;
}

.hiw-wave-3 {
    animation: hiwWave 3.6s ease-in-out infinite;
    animation-delay: 1.8s;
}

.hiw-wave-4 {
    animation: hiwWave 3.6s ease-in-out infinite;
    animation-delay: 2.7s;
}

.hiw-step:hover {
    animation: none;
}

/* ── 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(2, 1fr);
    gap: 24px;
    max-width: 1280px;
    margin: 0 auto 40px;
}

.feature-card {
    padding: 36px;
    border-radius: 24px;
    border: 1px solid #f0f2f5;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02), 0 12px 32px rgba(48, 127, 226, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(48, 127, 226, 0.1);
}

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

.feature-card h3 {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 10px;
    color: #231F20;
}

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

/* ── 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;
}

/* ── 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 {
    height: 220px;
    width: auto;
    object-fit: contain;
    mix-blend-mode: multiply;
    filter: drop-shadow(0 12px 28px rgba(48, 127, 226, 0.22));
}

.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: #f5f8ff;
    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-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.7;
}

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

.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.9);
}

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

.mc-school .mission-card-inner {
    background: linear-gradient(145deg, #065f46 0%, #10b981 100%);
}

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

.mc-business .mission-card-inner {
    background: linear-gradient(145deg, #78350f 0%, #d97706 100%);
}

/* ── 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;
}

.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-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1280px;
    margin: 0 auto;
}

.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);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.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;
}

.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);
    }

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

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

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

    .features-grid {
        grid-template-columns: 1fr;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

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

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

