/* ============================================================
   CullyAI™ — Main Landing Page CSS
   Clean white design system · Poppins · dark accents
   ============================================================ */

/* ── Fonts ──────────────────────────────────────────────── */
@font-face {
    font-family: 'Poppins';
    src: url('../fonts/Poppins-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Poppins';
    src: url('../fonts/Poppins-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* ── Reset & Base ───────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: 'Poppins', system-ui, -apple-system, sans-serif;
    font-weight: 300;
    background: #ffffff;
    color: #111111;
    overflow-x: hidden;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* ── Design tokens ──────────────────────────────────────── */
:root {
    --bg: #ffffff;
    --bg-card: #f7f7f7;
    --bg-dark: #111111;
    --text: #111111;
    --text-muted: #999999;
    --text-light: #cccccc;
    --border: #ebebeb;
    --radius-card: 24px;
    --radius-btn: 50px;
    --nav-h: 64px;
    --section-pad: clamp(80px, 12vw, 140px);
    --inner-max: 1160px;
}

/* ── Scrollbar ──────────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #f7f7f7; }
::-webkit-scrollbar-thumb { background: #dddddd; border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: #bbbbbb; }

/* ============================================================
   NAV
   ============================================================ */
.nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    height: var(--nav-h);
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    z-index: 900;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 clamp(20px, 5vw, 60px);
    transition: box-shadow 0.3s;
}
.nav.scrolled { box-shadow: 0 1px 0 #ebebeb; }

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}
.nav-logo h1 {
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1;
    color: #111111;
}
.nav-logo h1 .tm {
    font-weight: 300;
    color: #cccccc;
}
.nav-badge {
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    background: #111111;
    color: #ffffff;
    padding: 3px 9px;
    border-radius: 50px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 36px;
}
.nav-link {
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: #999999;
    text-transform: uppercase;
    transition: color 0.2s;
}
.nav-link:hover, .nav-link.active { color: #111111; }

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}
.btn-login {
    font-size: 0.82rem;
    font-weight: 700;
    color: #999999;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 10px 18px;
    border-radius: var(--radius-btn);
    transition: color 0.2s, background 0.2s;
}
.btn-login:hover { color: #111111; background: #f7f7f7; }
.btn-start {
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    background: #111111;
    color: #ffffff;
    padding: 10px 22px;
    border-radius: var(--radius-btn);
    transition: background 0.2s, transform 0.2s;
    white-space: nowrap;
}
.btn-start:hover { background: #333333; transform: translateY(-1px); }

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    border-radius: 8px;
    transition: background 0.2s;
}
.hamburger:hover { background: #f7f7f7; }
.hamburger span {
    display: block;
    width: 20px; height: 2px;
    background: #111111;
    border-radius: 2px;
}

.mobile-menu {
    position: fixed;
    top: var(--nav-h); left: 0; right: 0;
    background: #ffffff;
    border-bottom: 1px solid #ebebeb;
    padding: 20px clamp(20px, 5vw, 60px) 28px;
    z-index: 850;
    display: flex;
    flex-direction: column;
    gap: 4px;
    transform: translateY(-110%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.mobile-menu.open { transform: translateY(0); }
.mobile-menu a {
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #999999;
    padding: 10px 0;
    border-bottom: 1px solid #f7f7f7;
    transition: color 0.2s;
}
.mobile-menu a:hover { color: #111111; }
.mobile-menu-cta {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 12px;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.cta-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #111111;
    color: #ffffff;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 16px 32px;
    border-radius: var(--radius-btn);
    transition: background 0.2s, transform 0.2s;
    white-space: nowrap;
}
.cta-primary:hover { background: #333333; transform: translateY(-2px); }

.cta-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    color: #111111;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 16px 32px;
    border-radius: var(--radius-btn);
    border: 1.5px solid #ebebeb;
    transition: background 0.2s, transform 0.2s;
    white-space: nowrap;
}
.cta-secondary:hover { background: #f7f7f7; transform: translateY(-2px); }

/* ============================================================
   LAYOUT HELPERS
   ============================================================ */
.section-inner {
    max-width: var(--inner-max);
    margin: 0 auto;
    padding: 0 clamp(20px, 5vw, 60px);
}
.section-eyebrow {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #cccccc;
    margin-bottom: 16px;
    display: block;
}
.section-title {
    font-size: clamp(2.2rem, 5vw, 3.6rem);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -0.04em;
    color: #111111;
    margin-bottom: 24px;
}
.section-desc {
    font-size: 1rem;
    font-weight: 300;
    color: #999999;
    line-height: 1.7;
    max-width: 520px;
}

/* ============================================================
   SCROLL ANIMATIONS
   ============================================================ */
.scroll-animate {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s cubic-bezier(0.4,0,0.2,1),
                transform 0.7s cubic-bezier(0.4,0,0.2,1);
}
.scroll-animate.visible { opacity: 1; transform: translateY(0); }

.scroll-animate-right {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.7s cubic-bezier(0.4,0,0.2,1),
                transform 0.7s cubic-bezier(0.4,0,0.2,1);
}
.scroll-animate-right.visible { opacity: 1; transform: translateX(0); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: calc(var(--nav-h) + 60px) clamp(20px, 5vw, 60px) 80px;
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 600px 400px at 15% 85%, rgba(0,0,0,0.025) 0%, transparent 70%),
        radial-gradient(ellipse 500px 300px at 85% 15%, rgba(0,0,0,0.02) 0%, transparent 70%);
    pointer-events: none;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #999999;
    background: #f7f7f7;
    padding: 8px 18px;
    border-radius: 50px;
    margin-bottom: 40px;
    animation: fadeInDown 0.7s both;
}
.hero-eyebrow-dot {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: #111111;
    animation: pulse 2s infinite;
}

.hero-title {
    font-size: clamp(4rem, 12vw, 10rem);
    font-weight: 700;
    line-height: 0.9;
    letter-spacing: -0.05em;
    color: #111111;
    margin-bottom: 36px;
    animation: fadeInUp 0.8s 0.1s both;
}
.hero-title .muted { color: #cccccc; }

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.15rem);
    font-weight: 300;
    color: #999999;
    line-height: 1.65;
    max-width: 540px;
    margin: 0 auto 48px;
    animation: fadeInUp 0.8s 0.2s both;
}

.hero-ctas {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s 0.3s both;
}

/* two-context badges */
.hero-contexts {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 56px;
    animation: fadeInUp 0.8s 0.4s both;
}
.ctx-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #f7f7f7;
    border-radius: 50px;
    padding: 12px 22px;
    font-size: 0.82rem;
    font-weight: 700;
    color: #111111;
}
.ctx-badge-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: #111111;
    flex-shrink: 0;
}
.ctx-badge-label {
    font-weight: 300;
    color: #aaaaaa;
    margin-left: 2px;
}

.scroll-hint {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    margin-top: 52px;
    cursor: pointer;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #cccccc;
    animation: fadeInUp 0.8s 0.5s both;
    transition: color 0.2s;
}
.scroll-hint:hover { color: #999999; }
.scroll-hint svg { animation: bounceDown 2s infinite; }

/* ============================================================
   WHAT IS CULLYAI — intro strip
   ============================================================ */
.intro-strip {
    padding: var(--section-pad) 0;
    background: #111111;
    margin: 0 40px;
    border-radius: 40px;
    overflow: hidden;
    position: relative;
}
.intro-strip::before {
    content: '';
    position: absolute;
    top: -120px; right: -120px;
    width: 500px; height: 500px;
    border-radius: 50%;
    background: rgba(255,255,255,0.02);
    pointer-events: none;
}
.intro-strip .section-inner { position: relative; z-index: 1; }
.intro-strip .section-eyebrow { color: rgba(255,255,255,0.25); }
.intro-strip .section-title { color: #ffffff; }
.intro-strip .section-desc { color: rgba(255,255,255,0.45); max-width: 600px; }

.intro-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 80px;
    align-items: center;
}
.intro-right {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.intro-card {
    background: rgba(255,255,255,0.05);
    border-radius: 18px;
    padding: 24px 24px;
    display: flex;
    align-items: flex-start;
    gap: 16px;
}
.intro-card-icon {
    font-size: 1.5rem;
    line-height: 1;
    flex-shrink: 0;
    margin-top: 2px;
}
.intro-card h4 {
    font-size: 0.9rem;
    font-weight: 700;
    color: rgba(255,255,255,0.85);
    margin-bottom: 5px;
    letter-spacing: -0.01em;
}
.intro-card p {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.38);
    line-height: 1.55;
}

/* ============================================================
   ROLE 1 — IN-NAVIGATION INTELLIGENCE
   ============================================================ */
.nav-intel-section {
    padding: var(--section-pad) 0;
}
.nav-intel-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

/* Mock UI */
.nav-mock {
    background: #f7f7f7;
    border-radius: var(--radius-card);
    padding: 32px;
    position: relative;
}
.nav-mock-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}
.nav-mock-label {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #cccccc;
}
.nav-mock-status {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #111111;
    background: #ffffff;
    padding: 5px 12px;
    border-radius: 50px;
}
.status-dot-active {
    width: 7px; height: 7px;
    border-radius: 50%;
    background: #22c55e;
    animation: pulse 1.5s infinite;
}

/* navigation map area */
.nav-map {
    background: #e0e0e0;
    border-radius: 16px;
    height: 180px;
    position: relative;
    overflow: hidden;
    margin-bottom: 20px;
}
.nav-road-h {
    position: absolute;
    top: 50%; left: 0; right: 0;
    height: 8px;
    background: #ffffff;
    transform: translateY(-50%);
    border-radius: 4px;
}
.nav-road-v {
    position: absolute;
    left: 35%; top: 0; bottom: 0;
    width: 8px;
    background: #ffffff;
    border-radius: 4px;
}
.nav-truck-pos {
    position: absolute;
    top: 50%; left: 35%;
    transform: translate(-50%, -50%);
    width: 34px; height: 34px;
    background: #111111;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    animation: truckPulse 3s ease-in-out infinite;
}
.cullyai-alert {
    position: absolute;
    top: 12px; right: 12px;
    background: #111111;
    color: #ffffff;
    border-radius: 12px;
    padding: 10px 14px;
    font-size: 0.72rem;
    font-weight: 700;
    line-height: 1.4;
    max-width: 150px;
    animation: alertPop 0.4s 1s both;
}
.cullyai-alert-title {
    font-size: 0.64rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.45);
    margin-bottom: 4px;
}
.cullyai-alert-body {
    font-size: 0.75rem;
    color: #ffffff;
}

.nav-info-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}
.nav-info-cell {
    background: #ffffff;
    border-radius: 12px;
    padding: 12px 14px;
    text-align: center;
}
.nav-info-val {
    font-size: 1rem;
    font-weight: 700;
    color: #111111;
    letter-spacing: -0.02em;
    display: block;
    margin-bottom: 3px;
}
.nav-info-lbl {
    font-size: 0.64rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #cccccc;
}

/* Feature list */
.feature-checklist {
    display: flex;
    flex-direction: column;
    gap: 22px;
    margin-top: 40px;
}
.check-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}
.check-icon {
    width: 30px; height: 30px;
    border-radius: 50%;
    background: #111111;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
}
.check-item h4 {
    font-size: 0.93rem;
    font-weight: 700;
    color: #111111;
    margin-bottom: 4px;
    letter-spacing: -0.01em;
}
.check-item p {
    font-size: 0.84rem;
    color: #999999;
    line-height: 1.6;
}

/* ============================================================
   ROLE 2 — PROACTIVE DISPATCH
   ============================================================ */
.dispatch-section {
    padding: var(--section-pad) 0;
    background: #f7f7f7;
    margin: 0 40px;
    border-radius: 40px;
}
.dispatch-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.dispatch-cards {
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.dispatch-card {
    background: #ffffff;
    border-radius: 18px;
    padding: 20px 22px;
    display: flex;
    align-items: flex-start;
    gap: 14px;
}
.dispatch-card.highlight {
    border: 1.5px solid #111111;
}
.dispatch-card-icon {
    font-size: 1.4rem;
    flex-shrink: 0;
    margin-top: 2px;
}
.dispatch-card-body h4 {
    font-size: 0.88rem;
    font-weight: 700;
    color: #111111;
    margin-bottom: 4px;
}
.dispatch-card-body p {
    font-size: 0.8rem;
    color: #aaaaaa;
    line-height: 1.5;
}
.dispatch-tag {
    margin-top: 8px;
    display: inline-block;
    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    background: #f7f7f7;
    color: #cccccc;
    padding: 4px 10px;
    border-radius: 50px;
}
.dispatch-card.highlight .dispatch-tag {
    background: #111111;
    color: #ffffff;
}

/* three analysis pillars */
.analysis-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-top: 40px;
}
.analysis-pill {
    background: #f7f7f7;
    border-radius: 18px;
    padding: 22px 20px;
    text-align: center;
}
.analysis-pill-icon { font-size: 1.6rem; margin-bottom: 12px; }
.analysis-pill h4 {
    font-size: 0.85rem;
    font-weight: 700;
    color: #111111;
    margin-bottom: 6px;
}
.analysis-pill p {
    font-size: 0.78rem;
    color: #aaaaaa;
    line-height: 1.5;
}

/* ============================================================
   ROLE 3 — DRIVER ASSISTANT (MESSAGES)
   ============================================================ */
.assistant-section {
    padding: var(--section-pad) 0;
}
.assistant-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.message-mock {
    background: #f7f7f7;
    border-radius: var(--radius-card);
    padding: 28px 28px;
}
.message-mock-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 20px;
    border-bottom: 1px solid #ebebeb;
    margin-bottom: 20px;
}
.message-mock-avatar {
    width: 36px; height: 36px;
    border-radius: 50%;
    background: #111111;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
}
.message-mock-name {
    font-size: 0.9rem;
    font-weight: 700;
    color: #111111;
}
.message-mock-sub {
    font-size: 0.72rem;
    color: #cccccc;
    margin-top: 1px;
}

.msg-bubble-ai {
    background: #111111;
    color: #ffffff;
    border-radius: 18px 18px 18px 4px;
    padding: 14px 18px;
    font-size: 0.84rem;
    line-height: 1.55;
    margin-bottom: 10px;
    max-width: 88%;
}
.msg-bubble-user {
    background: #ffffff;
    color: #111111;
    border-radius: 18px 18px 4px 18px;
    padding: 14px 18px;
    font-size: 0.84rem;
    line-height: 1.55;
    margin-bottom: 10px;
    max-width: 80%;
    margin-left: auto;
}
.msg-time {
    font-size: 0.68rem;
    color: #cccccc;
    margin-bottom: 14px;
}

/* ============================================================
   ROLE 4 — SCANNER WEIGHT DEVIATION
   ============================================================ */
.deviation-section {
    padding: var(--section-pad) 0;
    background: #f7f7f7;
    margin: 0 40px;
    border-radius: 40px;
}
.deviation-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.deviation-mock {
    background: #ffffff;
    border-radius: var(--radius-card);
    padding: 32px;
}
.deviation-mock-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}
.deviation-mock-title {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #cccccc;
}
.deviation-app-badge {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    background: #f7f7f7;
    color: #999999;
    padding: 4px 12px;
    border-radius: 50px;
}

.weight-rows {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}
.weight-row {
    background: #f7f7f7;
    border-radius: 12px;
    padding: 14px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.weight-row-label {
    font-size: 0.78rem;
    font-weight: 700;
    color: #aaaaaa;
    letter-spacing: 0.04em;
}
.weight-row-value {
    font-size: 1.05rem;
    font-weight: 700;
    color: #111111;
    letter-spacing: -0.02em;
}

.deviation-alert-box {
    background: #111111;
    border-radius: 16px;
    padding: 18px 20px;
    display: flex;
    align-items: flex-start;
    gap: 14px;
}
.deviation-alert-icon {
    font-size: 1.4rem;
    flex-shrink: 0;
    margin-top: 2px;
}
.deviation-alert-title {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.35);
    margin-bottom: 5px;
}
.deviation-alert-msg {
    font-size: 0.88rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.4;
}
.deviation-alert-sub {
    font-size: 0.76rem;
    color: rgba(255,255,255,0.4);
    margin-top: 4px;
    line-height: 1.45;
}

.deviation-features {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 8px;
}
.deviation-feature {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}
.deviation-feat-num {
    width: 30px; height: 30px;
    border-radius: 50%;
    background: #111111;
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
}
.deviation-feature h4 {
    font-size: 0.9rem;
    font-weight: 700;
    color: #111111;
    margin-bottom: 4px;
}
.deviation-feature p {
    font-size: 0.83rem;
    color: #999999;
    line-height: 1.6;
}

/* ============================================================
   PLATFORM OVERVIEW — where CullyAI lives
   ============================================================ */
.platforms-section {
    padding: var(--section-pad) 0;
}
.platforms-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 64px;
}
.platform-card {
    background: #f7f7f7;
    border-radius: var(--radius-card);
    padding: 44px 40px;
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s, transform 0.7s, background 0.2s;
}
.platform-card.visible { opacity: 1; transform: translateY(0); }
.platform-card:hover { background: #f0f0f0; }
.platform-card:nth-child(1) { transition-delay: 0.05s; }
.platform-card:nth-child(2) { transition-delay: 0.12s; }

.platform-card-icon {
    font-size: 2rem;
    margin-bottom: 20px;
}
.platform-card-platform {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #cccccc;
    margin-bottom: 10px;
}
.platform-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: #111111;
    margin-bottom: 14px;
    letter-spacing: -0.02em;
    line-height: 1.2;
}
.platform-card p {
    font-size: 0.88rem;
    color: #999999;
    line-height: 1.65;
    margin-bottom: 20px;
}
.platform-card-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    font-weight: 700;
    color: #111111;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    transition: gap 0.2s;
}
.platform-card-link:hover { gap: 10px; }

/* ============================================================
   FINAL CTA
   ============================================================ */
.cta-section {
    padding: var(--section-pad) 0;
}
.cta-inner {
    max-width: 640px;
    margin: 0 auto;
    text-align: center;
    padding: 0 clamp(20px, 5vw, 60px);
}
.cta-pair {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 48px;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
    background: #f7f7f7;
    padding: 64px 0 32px;
}
.footer-inner {
    max-width: var(--inner-max);
    margin: 0 auto;
    padding: 0 clamp(20px, 5vw, 60px);
}
.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}
.footer-brand h2 {
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    margin-bottom: 12px;
    color: #111111;
}
.footer-tagline {
    font-size: 0.85rem;
    color: #aaaaaa;
    line-height: 1.7;
}
.footer-col-title {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #aaaaaa;
    margin-bottom: 20px;
}
.footer-links-list li + li { margin-top: 10px; }
.footer-links-list a {
    font-size: 0.88rem;
    color: #999999;
    transition: color 0.2s;
}
.footer-links-list a:hover { color: #111111; }
.footer-divider { height: 1px; background: #e8e8e8; margin-bottom: 28px; }
.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}
.footer-copy { font-size: 0.8rem; color: #aaaaaa; }
.footer-legal { display: flex; align-items: center; gap: 24px; }
.footer-legal a { font-size: 0.8rem; color: #aaaaaa; transition: color 0.2s; }
.footer-legal a:hover { color: #111111; }

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-20px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%       { opacity: 0.5; transform: scale(0.85); }
}
@keyframes bounceDown {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(6px); }
}
@keyframes truckPulse {
    0%, 100% { left: 35%; }
    50%       { left: 55%; }
}
@keyframes alertPop {
    from { opacity: 0; transform: scale(0.8) translateY(8px); }
    to   { opacity: 1; transform: scale(1) translateY(0); }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
    .intro-grid    { grid-template-columns: 1fr; gap: 48px; }
    .nav-intel-grid { grid-template-columns: 1fr; gap: 48px; }
    .dispatch-grid { grid-template-columns: 1fr; gap: 48px; }
    .assistant-grid { grid-template-columns: 1fr; gap: 48px; }
    .deviation-grid { grid-template-columns: 1fr; gap: 48px; }
    .platforms-grid { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
    .intro-strip  { margin: 0 20px; }
    .dispatch-section { margin: 0 20px; }
    .deviation-section { margin: 0 20px; }
    .analysis-grid { grid-template-columns: 1fr; }
    .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    :root { --section-pad: 64px; }
    .nav-links { display: none; }
    .hamburger { display: flex; }
    .btn-login { display: none; }
    .footer-top { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 480px) {
    .hero-contexts { flex-direction: column; align-items: stretch; }
    .cta-pair { flex-direction: column; align-items: stretch; }
    .cta-pair a { text-align: center; justify-content: center; }
    .nav-info-row { grid-template-columns: 1fr 1fr; }
}
