/* =======================================================
   pilot.css — ZETRFLEET
   Sections:
   01. CSS Variables
   02. Reset & Base
   03. Layout Utilities
   04. Buttons
   05. Hero
   06. Sections (shared)
   07. Card Grids
   08. Process Steps
   09. Deliverables
   10. Operating Principles
   11. Fit Grid (Who it's for)
   12. Brand Divider
   13. Ecosystem
   14. Final CTA
   15. Scroll Reveal
   ======================================================= */


/* =======================================================
   01. CSS VARIABLES
   ======================================================= */

:root {
    --navy:        #00327C;
    --navy-dark:   #001F4E;
    --navy-darker: #001034;
    --blue:        #0273C8;
    --blue-light:  #D9EBF7;
    --green:       #25CC80;
    --paper:       #FFFFFF;
    --paper-tint:  #F7FAFD;
    --ink:         #000000;
    --muted:       #555555;
    --muted-light: #888888;
    --rule:        #E1E8EE;
}


/* =======================================================
   02. RESET & BASE
   ======================================================= */

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

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
    color: var(--ink);
    background: var(--paper);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    animation: pageFade 0.6s ease;
}

img { max-width: 100%; display: block; }
a   { color: inherit; text-decoration: none; }

.page { min-height: 100vh; }

@keyframes pageFade {
    from { opacity: 0; }
    to   { opacity: 1; }
}


/* =======================================================
   03. LAYOUT UTILITIES
   ======================================================= */

.container {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 24px;
}


/* =======================================================
   04. BUTTONS
   ======================================================= */

/* --- Main --- */
.btn-primary {
    display: inline-block;
    padding: 16px 30px;
    background: var(--green);
    color: var(--navy-darker);
    border-radius: 8px;
    font-weight: 700;
    font-size: 15px;
    transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}
.btn-primary:hover {
    background: white;
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(37,204,128,0.35);
}

.btn-secondary {
    display: inline-block;
    padding: 16px 30px;
    background: transparent;
    color: white;
    border: 1.5px solid rgba(255,255,255,0.7);
    border-radius: 8px;
    font-weight: 600;
    font-size: 15px;
    transition: background 0.2s, border-color 0.2s;
}
.btn-secondary:hover {
    background: rgba(255,255,255,0.08);
    border-color: white;
}

/* --- Mobile --- */
@media (max-width: 600px) {
    .btn-primary,
    .btn-secondary {
        width: 100%;
        text-align: center;
        padding: 14px 24px;
        font-size: 14px;
    }
}


/* =======================================================
   05. HERO
   ======================================================= */

/* --- Main --- */
.hero {
    background: linear-gradient(135deg, var(--navy-darker) 0%, var(--navy) 100%);
    color: white;
    padding: 128px 0 116px;
    position: relative;
    overflow: hidden;
}

.hero::after {
    content: '';
    position: absolute;
    top: -140px;
    right: -140px;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, var(--green) 0%, transparent 62%);
    opacity: 0.11;
    z-index: 0;
    pointer-events: none;
}

.hero .container { position: relative; z-index: 1; }

.hero-eyebrow {
    display: inline-block;
    background: rgba(37,204,128,0.14);
    color: var(--green);
    padding: 8px 18px;
    border-radius: 24px;
    font-size: 11px;
    letter-spacing: 3px;
    font-weight: 700;
    margin-bottom: 36px;
    border: 1px solid rgba(37,204,128,0.28);
}

.hero h1 {
    color: white;
    font-size: 76px;
    font-weight: 800;
    line-height: 1.02;
    margin-bottom: 24px;
    letter-spacing: -1.5px;
    max-width: 820px;
}

.hero .hero-sub {
    font-size: 23px;
    color: white;
    font-weight: 400;
    margin-bottom: 32px;
    line-height: 1.4;
    max-width: 720px;
}

.hero p.lead {
    font-size: 17px;
    color: var(--blue-light);
    max-width: 680px;
    line-height: 1.6;
    margin-bottom: 20px;
    font-weight: 300;
}

.measure-bar {
    margin-bottom: 36px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.measure-chip {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(37,204,128,0.28);
    color: white;
    padding: 10px 18px;
    border-radius: 24px;
    font-size: 13px;
    font-weight: 600;
}
.measure-chip::before {
    content: '\2022';
    color: var(--green);
    margin-right: 8px;
    font-size: 11px;
}

.hero .proof-line {
    font-size: 18px;
    color: var(--green);
    font-style: italic;
    font-weight: 600;
    margin-bottom: 38px;
    letter-spacing: 0.3px;
}

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

/* Hero stagger animations */
.hero-anim {
    opacity: 0;
    transform: translateY(22px);
}
.hero-anim--1 { animation: heroFadeIn 0.7s ease 0.05s forwards; }
.hero-anim--2 { animation: heroFadeIn 0.7s ease 0.18s forwards; }
.hero-anim--3 { animation: heroFadeIn 0.7s ease 0.30s forwards; }
.hero-anim--4 { animation: heroFadeIn 0.7s ease 0.40s forwards; }
.hero-anim--5 { animation: heroFadeIn 0.7s ease 0.50s forwards; }
.hero-anim--6 { animation: heroFadeIn 0.7s ease 0.60s forwards; }
.hero-anim--7 { animation: heroFadeIn 0.7s ease 0.70s forwards; }

/* --- Mobile --- */
@media (max-width: 900px) {
    .hero           { padding: 88px 0 80px; }
    .hero h1        { font-size: 44px; letter-spacing: -0.8px; }
    .hero .hero-sub { font-size: 19px; }
}

@media (max-width: 600px) {
    .hero              { padding: 72px 0 64px; }
    .hero h1           { font-size: 34px; line-height: 1.1; margin-bottom: 18px; }
    .hero .hero-sub    { font-size: 17px; margin-bottom: 24px; }
    .hero p.lead       { font-size: 15px; margin-bottom: 16px; }
    .hero-eyebrow      { font-size: 10px; margin-bottom: 24px; }
    .measure-bar       { gap: 8px; margin-bottom: 24px; }
    .measure-chip      { font-size: 12px; padding: 8px 14px; }
    .hero .proof-line  { font-size: 15px; margin-bottom: 28px; }
    .hero-buttons      { flex-direction: column; }
}

/* --- Animations --- */
@keyframes heroFadeIn {
    to { opacity: 1; transform: translateY(0); }
}


/* =======================================================
   06. SECTIONS (SHARED)
   ======================================================= */

/* --- Main --- */
section { padding: 116px 0; }

section.tinted {
    background: var(--paper-tint);
    border-top: 1px solid var(--rule);
    border-bottom: 1px solid var(--rule);
}

.section-eyebrow {
    font-size: 11px;
    letter-spacing: 4px;
    color: var(--blue);
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 18px;
}

.section-title {
    font-size: 46px;
    font-weight: 800;
    color: var(--navy-darker);
    margin-bottom: 24px;
    line-height: 1.15;
    max-width: 880px;
    letter-spacing: -0.8px;
}
.section-title em { color: var(--green); font-style: normal; }

.section-lead {
    font-size: 18px;
    color: var(--muted);
    max-width: 760px;
    margin-bottom: 0;
    line-height: 1.65;
}

/* --- Mobile --- */
@media (max-width: 900px) {
    section          { padding: 72px 0; }
    .section-title   { font-size: 30px; }
}

@media (max-width: 600px) {
    section          { padding: 56px 0; }
    .section-title   { font-size: 26px; line-height: 1.2; }
    .section-lead    { font-size: 16px; }
}


/* =======================================================
   07. CARD GRIDS
   ======================================================= */

/* --- Main --- */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 52px;
}

.card {
    background: white;
    padding: 34px 30px;
    border-radius: 10px;
    border: 1px solid var(--rule);
    border-left: 3px solid var(--navy);
    box-shadow: 0 1px 2px rgba(0,0,0,0.03);
    transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.card:hover {
    border-left-color: var(--green);
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(0,50,124,0.08);
}

.card h3 {
    font-size: 19px;
    font-weight: 800;
    color: var(--navy-darker);
    margin-bottom: 10px;
}

.card p {
    font-size: 15px;
    color: var(--muted);
    line-height: 1.6;
}

/* --- Mobile --- */
@media (max-width: 900px) {
    .grid-3      { grid-template-columns: 1fr; margin-top: 36px; gap: 16px; }
    .card        { padding: 26px 22px; }
}

@media (max-width: 600px) {
    .grid-3      { margin-top: 28px; }
    .card        { padding: 22px 18px; }
    .card h3     { font-size: 17px; }
    .card p      { font-size: 14px; }
}


/* =======================================================
   08. PROCESS STEPS
   ======================================================= */

/* --- Main --- */
.process {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 14px;
    margin-top: 52px;
}

.process-step {
    background: white;
    border: 1px solid var(--rule);
    border-radius: 10px;
    padding: 30px 20px;
    text-align: center;
    box-shadow: 0 1px 2px rgba(0,0,0,0.03);
    transition: transform 0.2s, box-shadow 0.2s;
}
.process-step:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,50,124,0.07);
}

.process-step .pnum {
    font-size: 13px;
    letter-spacing: 2px;
    color: var(--green);
    font-weight: 800;
    margin-bottom: 14px;
}

.process-step h4 {
    font-size: 16px;
    font-weight: 800;
    color: var(--navy-darker);
    line-height: 1.35;
}

/* --- Mobile --- */
@media (max-width: 900px) {
    .process         { grid-template-columns: 1fr; margin-top: 36px; gap: 12px; }
    .process-step    { padding: 22px 20px; text-align: left; display: flex; align-items: center; gap: 18px; }
    .process-step .pnum { margin-bottom: 0; min-width: 60px; }
    .process-step h4 { font-size: 15px; }
}

@media (max-width: 600px) {
    .process-step    { padding: 18px 16px; gap: 14px; }
    .process-step .pnum { font-size: 12px; min-width: 52px; }
    .process-step h4 { font-size: 14px; }
}


/* =======================================================
   09. DELIVERABLES
   ======================================================= */

/* --- Main --- */
.deliverables {
    background: white;
    padding: 44px;
    border-radius: 12px;
    border: 1px solid var(--rule);
    border-left: 4px solid var(--green);
    box-shadow: 0 1px 2px rgba(0,0,0,0.03);
    margin-top: 52px;
}

.deliverables-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px 40px;
}

.deliverable-item {
    font-size: 16px;
    padding: 12px 0 12px 32px;
    position: relative;
    color: var(--navy-darker);
    font-weight: 500;
    border-bottom: 1px solid var(--rule);
    line-height: 1.5;
}
.deliverable-item::before {
    content: '\2713';
    color: var(--green);
    position: absolute;
    left: 0;
    top: 11px;
    font-weight: 800;
    font-size: 18px;
}

/* --- Mobile --- */
@media (max-width: 900px) {
    .deliverables-list { grid-template-columns: 1fr; gap: 0; }
    .deliverables      { margin-top: 36px; }
}

@media (max-width: 600px) {
    .deliverables          { padding: 24px 20px; border-radius: 10px; }
    .deliverable-item      { font-size: 15px; padding: 10px 0 10px 28px; }
    .deliverable-item::before { font-size: 16px; top: 9px; }
}


/* =======================================================
   10. OPERATING PRINCIPLES
   ======================================================= */

/* --- Main --- */
.principles {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
    margin-top: 52px;
}

.principle {
    background: white;
    border: 1px solid var(--rule);
    border-radius: 10px;
    border-top: 3px solid var(--green);
    padding: 30px 22px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.03);
    transition: transform 0.2s, box-shadow 0.2s;
}
.principle:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,50,124,0.07);
}

.principle h3 {
    font-size: 19px;
    font-weight: 800;
    color: var(--navy-darker);
    margin-bottom: 10px;
    line-height: 1.2;
}

.principle p {
    font-size: 14px;
    color: var(--muted);
    line-height: 1.55;
}

/* --- Mobile --- */
@media (max-width: 900px) {
    .principles      { grid-template-columns: 1fr; margin-top: 36px; gap: 12px; }
    .principle       { padding: 22px 20px; }
    .principle h3    { font-size: 17px; }
}

@media (max-width: 600px) {
    .principle       { padding: 18px 16px; }
    .principle h3    { font-size: 16px; }
    .principle p     { font-size: 13px; }
}


/* =======================================================
   11. FIT GRID (Who it's for)
   ======================================================= */

/* --- Main --- */
.fit-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    margin-top: 52px;
}

.fit-block {
    background: white;
    border: 1px solid var(--rule);
    border-radius: 12px;
    padding: 38px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.03);
    transition: transform 0.2s, box-shadow 0.2s;
}
.fit-block:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(0,50,124,0.07);
}

.fit-block.best { border-left: 4px solid var(--green); }
.fit-block.not  { border-left: 4px solid var(--rule); }

.fit-block h3 {
    font-size: 14px;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 800;
    margin-bottom: 20px;
}
.fit-block.best h3 { color: var(--green); }
.fit-block.not h3  { color: var(--muted-light); }

.fit-block ul {
    list-style: none;
    padding: 0;
}
.fit-block ul li {
    font-size: 16px;
    padding: 9px 0 9px 26px;
    position: relative;
    line-height: 1.5;
    color: var(--navy-darker);
}
.fit-block.best ul li::before {
    content: '\2713';
    color: var(--green);
    position: absolute;
    left: 0;
    font-weight: 800;
}
.fit-block.not ul li {
    color: var(--muted);
}
.fit-block.not ul li::before {
    content: '\2014';
    color: var(--muted-light);
    position: absolute;
    left: 0;
    font-weight: 700;
}

/* --- Mobile --- */
@media (max-width: 900px) {
    .fit-grid        { grid-template-columns: 1fr; gap: 18px; margin-top: 36px; }
    .fit-block       { padding: 28px 24px; }
}

@media (max-width: 600px) {
    .fit-block       { padding: 22px 18px; border-radius: 10px; }
    .fit-block ul li { font-size: 15px; padding: 8px 0 8px 24px; }
}


/* =======================================================
   12. BRAND DIVIDER
   ======================================================= */

/* --- Main --- */
.brand-divider {
    background: var(--navy-darker);
    color: white;
    text-align: center;
    padding: 68px 24px;
    position: relative;
    overflow: hidden;
}
.brand-divider::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background:
        radial-gradient(circle at 25% 50%, var(--green) 0%, transparent 50%),
        radial-gradient(circle at 78% 50%, var(--blue) 0%, transparent 52%);
    opacity: 0.15;
    pointer-events: none;
}

.brand-line {
    font-size: 38px;
    font-weight: 800;
    color: white;
    line-height: 1.25;
    position: relative;
    max-width: 860px;
    margin: 0 auto;
    letter-spacing: 0.3px;
}
.brand-line em { color: var(--green); font-style: normal; }

/* --- Mobile --- */
@media (max-width: 900px) {
    .brand-divider { padding: 52px 24px; }
    .brand-line    { font-size: 25px; }
}

@media (max-width: 600px) {
    .brand-divider { padding: 40px 20px; }
    .brand-line    { font-size: 22px; }
}


/* =======================================================
   13. ECOSYSTEM
   ======================================================= */

/* --- Main --- */
.eco-list {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 48px;
}

.eco-item {
    background: white;
    border: 1px solid var(--rule);
    border-radius: 8px;
    padding: 16px 19px;
    font-size: 14px;
    font-weight: 600;
    color: var(--navy-darker);
    box-shadow: 0 1px 2px rgba(0,0,0,0.03);
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.eco-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0,50,124,0.08);
    border-color: var(--green);
}
.eco-item::before {
    content: '\2192';
    color: var(--green);
    margin-right: 12px;
    font-weight: 800;
}

/* --- Mobile --- */
@media (max-width: 600px) {
    .eco-list        { gap: 10px; margin-top: 32px; }
    .eco-item        { font-size: 13px; padding: 12px 14px; width: 100%; }
}


/* =======================================================
   14. FINAL CTA
   ======================================================= */

/* --- Main --- */
.cta-section {
    background: var(--navy-darker);
    color: white;
    text-align: center;
    padding: 124px 0 112px;
    position: relative;
    overflow: hidden;
}
.cta-section::before {
    content: '';
    position: absolute;
    top: -160px;
    right: -160px;
    width: 640px;
    height: 640px;
    background: radial-gradient(circle, var(--green) 0%, transparent 60%);
    opacity: 0.12;
    pointer-events: none;
}

.cta-section h2 {
    color: white;
    font-size: 52px;
    margin-bottom: 22px;
    line-height: 1.12;
    position: relative;
    letter-spacing: -0.8px;
    max-width: 820px;
    margin-left: auto;
    margin-right: auto;
}

.cta-section .lead {
    color: var(--blue-light);
    font-size: 20px;
    margin-bottom: 46px;
    position: relative;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.55;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
}

.closing-tag {
    font-size: 16px;
    color: var(--green);
    margin-top: 48px;
    font-weight: 700;
    letter-spacing: 4px;
    position: relative;
}

/* --- Mobile --- */
@media (max-width: 900px) {
    .cta-section     { padding: 80px 0 72px; }
    .cta-section h2  { font-size: 32px; }
    .cta-section .lead { font-size: 17px; }
}

@media (max-width: 600px) {
    .cta-section     { padding: 64px 0 56px; }
    .cta-section h2  { font-size: 26px; }
    .cta-section .lead { font-size: 16px; margin-bottom: 32px; }
    .cta-buttons     { flex-direction: column; align-items: center; }
    .closing-tag     { font-size: 13px; letter-spacing: 3px; margin-top: 32px; }
}


/* =======================================================
   15. SCROLL REVEAL
   ======================================================= */

/* --- Main --- */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition:
        opacity 0.75s ease,
        transform 0.75s ease;
    will-change: opacity, transform;
}

.reveal-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger delays */
.reveal-on-scroll.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-on-scroll.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-on-scroll.reveal-delay-3 { transition-delay: 0.24s; }
.reveal-on-scroll.reveal-delay-4 { transition-delay: 0.32s; }

/* Card-type elements get a subtle scale on entry */
.card.reveal-on-scroll,
.process-step.reveal-on-scroll,
.principle.reveal-on-scroll,
.fit-block.reveal-on-scroll,
.eco-item.reveal-on-scroll {
    transform: translateY(24px) scale(0.98);
}
.card.reveal-on-scroll.is-visible,
.process-step.reveal-on-scroll.is-visible,
.principle.reveal-on-scroll.is-visible,
.fit-block.reveal-on-scroll.is-visible,
.eco-item.reveal-on-scroll.is-visible {
    transform: translateY(0) scale(1);
}

/* Reduced-motion override */
@media (prefers-reduced-motion: reduce) {
    .reveal-on-scroll,
    .hero-anim {
        opacity: 1;
        transform: none;
        transition: none;
        animation: none;
    }
}
