/* ══════════════════════════════════════════════════
   WORKFLOWGEO — LANDING PAGE  (unauthenticated)
   Uses lnd-* prefix. Loaded only on catalog page
   when user is not authenticated.
   ══════════════════════════════════════════════════ */

/* ── Wrapper ─────────────────────────────────────── */

.landing {
    grid-column: 1 / -1;
}

/* ── Hero ─────────────────────────────────────────── */

.lnd-hero {
    position: relative;
    display: flex;
    align-items: center;
    gap: 48px;
    padding: 80px 48px 72px;
    overflow: hidden;
}

.lnd-hero-glow {
    position: absolute;
    top: -120px;
    left: -80px;
    width: 600px;
    height: 500px;
    background: radial-gradient(ellipse, rgba(40,114,196,.22) 0%, transparent 70%);
    pointer-events: none;
}

.lnd-hero-grid {
    position: absolute;
    top: 0; right: 0; bottom: 0; left: 0;
    background-image:
        linear-gradient(rgba(40,114,196,.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(40,114,196,.06) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
}

.lnd-hero-inner {
    position: relative;
    flex: 1;
    min-width: 0;
    max-width: 560px;
}

/* ── Brand ─────────────────────────────────────────── */

.lnd-brand {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 32px;
}

.lnd-pin {
    width: 52px;
    height: 52px;
    flex-shrink: 0;
    background: linear-gradient(135deg, #1a3461 0%, #2872c4 100%);
    border-radius: 50% 50% 50% 0;
    transform: rotate(-45deg);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(40,114,196,.45);
}

.lnd-pin svg {
    transform: rotate(45deg);
    width: 24px;
    height: 24px;
    stroke: white;
}

.lnd-brand-text {
    line-height: 1;
}

.lnd-wf {
    font-size: 32px;
    font-weight: 800;
    color: white;
    letter-spacing: -.5px;
}

.lnd-geo {
    font-size: 32px;
    font-weight: 800;
    color: #3db843;
    letter-spacing: -.5px;
}

.lnd-tagline {
    font-size: 12px;
    color: #7a8fa6;
    margin-top: 4px;
}

/* ── Headline ─────────────────────────────────────── */

.lnd-headline {
    font-size: clamp(28px, 3.5vw, 48px);
    font-weight: 800;
    color: white;
    line-height: 1.15;
    margin: 0 0 18px;
    letter-spacing: -.5px;
}

.lnd-gradient-text {
    background: linear-gradient(90deg, #2872c4 0%, #3db843 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.lnd-sub {
    font-size: 16px;
    color: #7a8fa6;
    line-height: 1.7;
    max-width: 480px;
    margin-bottom: 36px;
}

/* ── CTAs ─────────────────────────────────────────── */

.lnd-ctas {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center;
}

.lnd-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 28px;
    background: linear-gradient(135deg, #2872c4, #1a5aa8);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: transform .2s, box-shadow .2s;
    box-shadow: 0 4px 20px rgba(40,114,196,.4);
}

.lnd-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 28px rgba(40,114,196,.55);
}

.lnd-btn-primary.lnd-btn-lg {
    padding: 15px 36px;
    font-size: 16px;
}

.lnd-btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 28px;
    background: transparent;
    color: white;
    border: 1px solid rgba(255,255,255,.22);
    border-radius: 10px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: background .2s, border-color .2s;
}

.lnd-btn-outline:hover {
    background: rgba(255,255,255,.07);
    border-color: rgba(255,255,255,.4);
}

.lnd-btn-outline.lnd-btn-lg {
    padding: 15px 36px;
    font-size: 16px;
}

/* ── Trust row ─────────────────────────────────────── */

.lnd-trust {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 24px;
    flex-wrap: wrap;
}

.lnd-trust-item {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    color: #7a8fa6;
}

.lnd-trust-item svg { color: #3db843; flex-shrink: 0; }

.lnd-trust-dot {
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: rgba(122,143,166,.4);
}

/* ── Map Mockup ──────────────────────────────────── */

.lnd-mockup-wrap {
    position: relative;
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
}

.lnd-mockup {
    position: relative;
    width: 100%;
    border-radius: 16px;
    background: #0f2035;
    border: 1px solid rgba(40,114,196,.2);
    box-shadow: 0 24px 80px rgba(0,0,0,.5), 0 0 0 1px rgba(40,114,196,.1);
    overflow: hidden;
}

/* Floating badges */
.lnd-float-badge {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(11,25,41,.92);
    border: 1px solid rgba(40,114,196,.3);
    border-radius: 10px;
    padding: 8px 14px;
    font-size: 12px;
    color: white;
    backdrop-filter: blur(8px);
    z-index: 10;
    white-space: nowrap;
    box-shadow: 0 8px 24px rgba(0,0,0,.4);
}

.lnd-float-badge i { color: #2872c4; font-size: 13px; }

.lnd-fb-top {
    top: -14px;
    left: -16px;
}

.lnd-fb-bottom {
    bottom: -14px;
    right: -16px;
    gap: 10px;
}

.lnd-fb-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #3db843;
    box-shadow: 0 0 6px #3db843;
    animation: lnd-blink 1.8s ease-in-out infinite;
}

@keyframes lnd-blink {
    0%, 100% { opacity: 1; }
    50%       { opacity: .3; }
}

.lnd-mock-bar {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 16px;
    background: rgba(10,22,40,.8);
    border-bottom: 1px solid rgba(40,114,196,.2);
}

.lnd-mock-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(122,143,166,.3);
}

.lnd-mock-bar span {
    font-size: 11px;
    color: #7a8fa6;
    margin-left: 6px;
}

.lnd-mock-screen {
    position: relative;
    height: 340px;
    overflow: hidden;
}

.lnd-map-bg {
    position: absolute;
    top: 0; right: 0; bottom: 0; left: 0;
    background: linear-gradient(180deg, #0b1929 0%, #0d2240 100%);
}

.lnd-map-lines {
    position: absolute;
    top: 0; right: 0; bottom: 0; left: 0;
    background-image:
        linear-gradient(rgba(40,114,196,.12) 1px, transparent 1px),
        linear-gradient(90deg, rgba(40,114,196,.12) 1px, transparent 1px);
    background-size: 32px 32px;
}

.lnd-pin-marker {
    position: absolute;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translate(-50%, -50%);
}

.lnd-pin-red {
    background: rgba(231,76,60,.9);
    box-shadow: 0 0 0 4px rgba(231,76,60,.25);
}

.lnd-pin-blue {
    background: rgba(40,114,196,.9);
    box-shadow: 0 0 0 4px rgba(40,114,196,.25);
}

.lnd-pin-orange {
    background: rgba(243,156,18,.9);
    box-shadow: 0 0 0 4px rgba(243,156,18,.25);
}

.lnd-pin-pulse {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: rgba(231,76,60,.4);
    animation: lnd-pulse 2s ease-out infinite;
}

@keyframes lnd-pulse {
    0%   { transform: translate(-50%,-50%) scale(1);   opacity: .7; }
    100% { transform: translate(-50%,-50%) scale(2.8); opacity: 0;  }
}

.lnd-mock-tooltip {
    position: absolute;
    bottom: 86px;
    left: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(15,32,53,.95);
    border: 1px solid rgba(40,114,196,.3);
    border-radius: 8px;
    padding: 8px 12px;
    font-size: 11px;
    color: #e8edf5;
    white-space: nowrap;
    backdrop-filter: blur(8px);
}

.lnd-tooltip-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}

.lnd-dot-red { background: #e74c3c; }

.lnd-mock-stats {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    display: flex;
    background: rgba(10,22,40,.88);
    border-top: 1px solid rgba(40,114,196,.2);
    backdrop-filter: blur(8px);
}

.lnd-mock-stat {
    flex: 1;
    text-align: center;
    padding: 10px 8px;
    border-right: 1px solid rgba(40,114,196,.2);
}

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

.lnd-mock-stat-val {
    font-size: 20px;
    font-weight: 800;
    line-height: 1;
}

.lnd-mock-stat-lbl {
    font-size: 10px;
    color: #7a8fa6;
    margin-top: 2px;
    text-transform: uppercase;
    letter-spacing: .5px;
}

.lnd-stat-red   { color: #e74c3c; }
.lnd-stat-blue  { color: #2872c4; }
.lnd-stat-green { color: #3db843; }

/* ── Stats bar ───────────────────────────────────── */

.lnd-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px 48px;
    border-top: 1px solid rgba(40,114,196,.2);
    border-bottom: 1px solid rgba(40,114,196,.2);
    background: rgba(18,37,64,.4);
    flex-wrap: wrap;
}

.lnd-stat-item {
    flex: 1;
    min-width: 140px;
    text-align: center;
    padding: 12px 16px;
}

.lnd-stat-icon {
    font-size: 22px;
    color: #2872c4;
    margin-bottom: 8px;
    opacity: .85;
}

.lnd-stat-num {
    font-size: 16px;
    font-weight: 800;
    color: white;
    letter-spacing: -.3px;
    margin-bottom: 3px;
}

.lnd-stat-desc {
    font-size: 12px;
    color: #7a8fa6;
    text-transform: uppercase;
    letter-spacing: .8px;
}

.lnd-stat-sep {
    width: 1px;
    height: 40px;
    background: rgba(40,114,196,.2);
    flex-shrink: 0;
}

/* ── Features ────────────────────────────────────── */

.lnd-features {
    padding: 72px 48px;
    text-align: center;
}

.lnd-section-label {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #2872c4;
    margin-bottom: 12px;
}

.lnd-section-title {
    font-size: clamp(22px, 2.5vw, 32px);
    font-weight: 800;
    color: white;
    margin: 0 0 40px;
    letter-spacing: -.3px;
}

.lnd-feat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 18px;
    max-width: 1100px;
    margin: 0 auto;
    text-align: left;
}

.lnd-feat-card {
    background: rgba(18,37,64,.6);
    border: 1px solid rgba(40,114,196,.2);
    border-radius: 14px;
    padding: 24px 22px;
    transition: border-color .2s, transform .2s, box-shadow .2s;
}

.lnd-feat-card:hover {
    border-color: rgba(40,114,196,.5);
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(0,0,0,.3);
}

.lnd-feat-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
}

.lnd-icon-blue   { background: rgba(40,114,196,.2);  color: #2872c4; }
.lnd-icon-red    { background: rgba(231,76,60,.15);   color: #e74c3c; }
.lnd-icon-green  { background: rgba(61,184,67,.15);   color: #3db843; }
.lnd-icon-teal   { background: rgba(0,160,150,.15);   color: #00a096; }
.lnd-icon-purple { background: rgba(140,82,255,.15);  color: #8c52ff; }
.lnd-icon-orange { background: rgba(243,156,18,.15);  color: #f39c12; }

.lnd-feat-card h3 {
    font-size: 15px;
    font-weight: 700;
    color: white;
    margin-bottom: 8px;
}

.lnd-feat-card p {
    font-size: 13px;
    color: #7a8fa6;
    line-height: 1.65;
}

/* ── How it works ────────────────────────────────── */

.lnd-how {
    padding: 72px 48px;
    text-align: center;
    border-top: 1px solid rgba(40,114,196,.2);
    background: rgba(18,37,64,.25);
}

.lnd-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 900px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.lnd-step {
    flex: 1;
    min-width: 220px;
    text-align: left;
    padding: 24px 20px;
}

.lnd-step-num {
    font-size: 40px;
    font-weight: 900;
    color: rgba(40,114,196,.25);
    line-height: 1;
    margin-bottom: 12px;
    letter-spacing: -2px;
}

.lnd-step-body h3 {
    font-size: 16px;
    font-weight: 700;
    color: white;
    margin-bottom: 8px;
}

.lnd-step-body p {
    font-size: 13px;
    color: #7a8fa6;
    line-height: 1.65;
}

.lnd-step-arrow {
    color: rgba(40,114,196,.4);
    flex-shrink: 0;
    padding: 0 8px;
}

/* ── Bottom CTA ──────────────────────────────────── */

.lnd-bottom-cta {
    position: relative;
    padding: 80px 48px;
    text-align: center;
    border-top: 1px solid rgba(40,114,196,.2);
    overflow: hidden;
}

.lnd-bcta-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 300px;
    background: radial-gradient(ellipse, rgba(40,114,196,.18) 0%, transparent 70%);
    pointer-events: none;
}

.lnd-bottom-cta h2 {
    position: relative;
    font-size: clamp(22px, 3vw, 36px);
    font-weight: 800;
    color: white;
    margin-bottom: 12px;
}

.lnd-bottom-cta > p {
    position: relative;
    font-size: 15px;
    color: #7a8fa6;
    margin-bottom: 36px;
}

.lnd-bottom-cta .lnd-ctas {
    position: relative;
    justify-content: center;
}

/* ══════════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════════ */

@media (max-width: 1024px) {

    .lnd-hero {
        flex-direction: column;
        padding: 64px 32px 56px;
        gap: 40px;
    }

    .lnd-hero-inner {
        max-width: 100%;
        text-align: center;
    }

    .lnd-brand { justify-content: center; }

    .lnd-sub {
        margin-left: auto;
        margin-right: auto;
    }

    .lnd-ctas  { justify-content: center; }
    .lnd-trust { justify-content: center; }

    .lnd-mockup-wrap {
        width: 100%;
        max-width: 560px;
        margin: 0 auto;
    }

    .lnd-fb-top  { top: -10px; left: 8px; }
    .lnd-fb-bottom { bottom: -10px; right: 8px; }

}

@media (max-width: 768px) {

    .lnd-hero {
        padding: 48px 20px 40px;
        gap: 32px;
    }

    .lnd-stats {
        padding: 16px 20px;
    }

    .lnd-stat-sep { display: none; }

    .lnd-stat-item {
        min-width: 50%;
        padding: 10px 12px;
    }

    .lnd-features {
        padding: 48px 20px;
    }

    .lnd-feat-grid {
        grid-template-columns: 1fr;
    }

    .lnd-how {
        padding: 48px 20px;
    }

    .lnd-steps {
        flex-direction: column;
    }

    .lnd-step-arrow {
        transform: rotate(90deg);
        padding: 4px 0;
    }

    .lnd-step {
        min-width: unset;
        width: 100%;
        text-align: center;
    }

    .lnd-bottom-cta {
        padding: 56px 20px;
    }

    .lnd-bottom-cta .lnd-ctas {
        flex-direction: column;
        align-items: center;
    }

    .lnd-btn-primary.lnd-btn-lg,
    .lnd-btn-outline.lnd-btn-lg {
        width: 100%;
        max-width: 320px;
        justify-content: center;
    }

}

@media (max-width: 480px) {

    .lnd-brand {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }

    .lnd-brand-text { text-align: center; }

    .lnd-wf, .lnd-geo { font-size: 26px; }

    .lnd-ctas {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }

    .lnd-btn-primary,
    .lnd-btn-outline {
        justify-content: center;
    }

    .lnd-step { padding: 16px 12px; }

}
