/* ── Landing Page Styles ─────────────────────────────────────────────────── */

/* ── Base ── */
.landing-body {
    background-color: #06090f;
    color: #c8c8c8;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* ── Hero ── */
.lp-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.lp-hero-bg {
    position: fixed;
    inset: 0;
    background-image:
        linear-gradient(rgba(0,0,0,0.62), rgba(0,0,0,0.62)),
        url('../assets/Cargo%20Control%20Networ.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
    pointer-events: none;
}

/* ── Nav ── */
.lp-nav {
    position: sticky;
    top: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 48px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    background: transparent;
}

.lp-nav-logo {
    font-size: 1.25rem;
    font-weight: 800;
    color: #f0a000;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-decoration: none;
    flex-shrink: 0;
}

.lp-nav-logo span {
    color: #e0e0e0;
    font-weight: 400;
}

.lp-nav-links {
    display: flex;
    gap: 28px;
    align-items: center;
    list-style: none;
}

/* Plain text links only — not items that contain a .lp-btn */
.lp-nav-links li > a:not(.lp-btn) {
    color: #999;
    text-decoration: none;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    transition: color 0.2s;
}

.lp-nav-links li > a:not(.lp-btn):hover {
    color: #f0a000;
}

/* ── Hero content ── */
.lp-hero-content {
    position: relative;
    z-index: 10;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 80px 24px 120px;
}

.lp-eyebrow {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #f0a000;
    margin-bottom: 18px;
    border: 1px solid rgba(240,160,0,0.3);
    padding: 4px 14px;
    border-radius: 2px;
    display: inline-block;
}

.lp-hero-title {
    font-size: clamp(2.2rem, 5vw, 4rem);
    font-weight: 800;
    color: #ffffff;
    line-height: 1.1;
    letter-spacing: -0.5px;
    margin-bottom: 22px;
}

.lp-hero-title em {
    font-style: normal;
    color: #f0a000;
}

.lp-hero-sub {
    font-size: 1.1rem;
    color: #9aaabb;
    max-width: 600px;
    line-height: 1.7;
    margin-bottom: 48px;
}

/* ── CTA buttons ── */
.lp-cta-group {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
}

.lp-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 3px;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: opacity 0.2s, transform 0.15s;
}

.lp-btn:hover {
    opacity: 0.88;
    transform: translateY(-1px);
}

.lp-btn--primary {
    background: #f0a000;
    color: #0a0800;
}

.lp-btn--secondary {
    background: transparent;
    color: #f0a000;
    border: 1px solid #f0a000;
}

.lp-btn--driver {
    background: rgba(68,170,255,0.15);
    color: #55aaff;
    border: 1px solid rgba(68,170,255,0.4);
}

.lp-btn--ghost {
    background: rgba(255,255,255,0.06);
    color: #c8c8c8;
    border: 1px solid rgba(255,255,255,0.12);
}

/* ── Stats strip ── */
.lp-stats {
    position: relative;
    z-index: 10;
    display: flex;
    justify-content: center;
    gap: 0;
    border-top: 1px solid rgba(240,160,0,0.12);
    background: rgba(6,9,15,0.72);
    backdrop-filter: blur(4px);
}

.lp-stat {
    flex: 1;
    max-width: 220px;
    padding: 22px 16px;
    text-align: center;
    border-right: 1px solid rgba(255,255,255,0.05);
}

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

.lp-stat-number {
    font-size: 1.6rem;
    font-weight: 800;
    color: #f0a000;
}

.lp-stat-label {
    font-size: 0.72rem;
    color: #556677;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 4px;
}

/* ── Sections ── */
.lp-section {
    position: relative;
    z-index: 10;
    padding: 80px 48px;
    max-width: 1100px;
    margin: 0 auto;
    width: 100%;
}

.lp-section-label {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #f0a000;
    margin-bottom: 10px;
}

.lp-section-title {
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 16px;
    line-height: 1.15;
}

.lp-section-body {
    font-size: 1rem;
    color: #7a8c9a;
    line-height: 1.75;
    max-width: 680px;
}

/* ── feature cards ── */
.lp-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 16px;
    margin-top: 48px;
}

.lp-feature-card {
    background: rgba(12,24,34,0.85);
    border: 1px solid #1a2a3a;
    border-radius: 4px;
    padding: 24px 22px;
    transition: border-color 0.2s, transform 0.2s;
}

.lp-feature-card:hover {
    border-color: rgba(240,160,0,0.35);
    transform: translateY(-2px);
}

.lp-feature-icon {
    font-size: 1.8rem;
    margin-bottom: 12px;
}

.lp-feature-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: #e0e0e0;
    margin-bottom: 8px;
}

.lp-feature-desc {
    font-size: 0.85rem;
    color: #556677;
    line-height: 1.65;
}

/* ── Divider ── */
.lp-divider {
    position: relative;
    z-index: 10;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(240,160,0,0.2), transparent);
    max-width: 1100px;
    margin: 0 auto;
}

/* ── Login cards ── */
.lp-login-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 48px;
}

.lp-login-card {
    background: rgba(10,18,28,0.92);
    border: 1px solid #1a2a3a;
    border-radius: 4px;
    padding: 30px 28px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    text-decoration: none;
    transition: border-color 0.2s, transform 0.2s;
}

.lp-login-card:hover {
    transform: translateY(-2px);
}

.lp-login-card--dispatch {
    border-color: rgba(240,160,0,0.25);
}

.lp-login-card--dispatch:hover {
    border-color: #f0a000;
}

.lp-login-card--driver {
    border-color: rgba(68,170,255,0.25);
}

.lp-login-card--driver:hover {
    border-color: #55aaff;
}

.lp-login-card-icon {
    font-size: 2rem;
}

.lp-login-card-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #e8e8e8;
}

.lp-login-card-desc {
    font-size: 0.84rem;
    color: #4a6070;
    line-height: 1.55;
}

.lp-login-card-cta {
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-top: 4px;
}

.lp-login-card--dispatch .lp-login-card-cta {
    color: #f0a000;
}

.lp-login-card--driver .lp-login-card-cta {
    color: #55aaff;
}

/* ── Footer ── */
.lp-footer {
    position: relative;
    z-index: 10;
    padding: 28px 48px;
    border-top: 1px solid rgba(255,255,255,0.05);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    font-size: 0.78rem;
    color: #334455;
    background: rgba(6,9,15,0.8);
}

.lp-footer a {
    color: #445566;
    text-decoration: none;
    transition: color 0.2s;
}

.lp-footer a:hover {
    color: #f0a000;
}

/* ── Responsive breakpoints ── */
@media (max-width: 1024px) {
    .lp-nav {
        padding: 16px 32px;
    }
    .lp-section {
        padding: 70px 32px;
    }
}

/* ── Highlight chip ── */
.lp-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 2px;
    background: rgba(240,160,0,0.1);
    border: 1px solid rgba(240,160,0,0.25);
    color: #f0a000;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.lp-chips-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 28px;
}

/* ── Modifier helpers ── */
.lp-section--center        { text-align: center; }
.lp-section-body--center   { margin-left: auto; margin-right: auto; }
.lp-section-body--mb       { margin-bottom: 36px; }
.lp-chips-row--center      { justify-content: center; }
.lp-cta-group--center      { justify-content: center; }

/* ── Responsive ── */
@media (max-width: 680px) {
    .lp-nav {
        padding: 16px 20px;
        background: rgba(6, 9, 15, 0.94);
        backdrop-filter: blur(8px);
    }

    .lp-nav-links {
        gap: 12px;
    }

    .lp-nav-links .lp-btn {
        padding: 10px 18px;
        font-size: 0.85rem;
    }

    .lp-section {
        padding: 60px 20px;
    }

    .lp-footer {
        padding: 20px;
        flex-direction: column;
        text-align: center;
    }

    .lp-stat {
        max-width: 50%;
    }

    .lp-cta-group {
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .lp-nav-logo span {
        display: none;
    }

    .lp-nav-links li:first-child {
        display: none;
    }

    .lp-nav-links {
        gap: 8px;
    }

    .lp-nav-links .lp-btn {
        padding: 9px 12px;
        font-size: 0.78rem;
    }

    .lp-section {
        padding: 48px 16px;
    }

    .lp-section-title {
        font-size: 1.4rem;
    }

    .lp-hero-title {
        font-size: 1.9rem;
    }

    .lp-chips-row {
        gap: 8px;
    }

    .lp-chip {
        font-size: 0.7rem;
        padding: 3px 9px;
    }
}
