/* =========================================================
   LOGISTIC COMING SOON PAGE
   Background image can be replaced later:
   assets/images/logistic-bg.jpg
========================================================= */

:root {
    --log-ink: #f8fbff;
    --log-muted: rgba(248, 251, 255, 0.69);
    --log-blue: #071327;
    --log-blue-2: #0b2341;
    --log-orange: #ff8a24;
    --log-orange-soft: rgba(255, 138, 36, 0.16);
    --log-cyan: #6bd8ff;
    --log-line: rgba(248, 251, 255, 0.14);
    --log-panel: rgba(8, 19, 39, 0.66);
    --log-border: rgba(248, 251, 255, 0.16);
    --log-radius-lg: 30px;
    --log-radius-sm: 16px;
    --log-shadow: 0 30px 100px rgba(0, 0, 0, 0.46);
    --log-font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    min-height: 100%;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: var(--log-font);
    color: var(--log-ink);
    background: var(--log-blue);
    overflow-x: hidden;
}

button,
input {
    font: inherit;
}

a {
    color: inherit;
    text-decoration: none;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.logistic-page {
    min-height: 100vh;
    position: relative;
    isolation: isolate;
    overflow: hidden;
}

.logistic-page::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -4;
    background-image: url("../images/logistic-bg.jpg");
    background-size: cover;
    background-position: center;
    filter: saturate(1.05) contrast(1.05);
    transform: scale(1.02);
}

.logistic-page::after {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -3;
    background:
        linear-gradient(90deg, rgba(3, 9, 20, 0.96) 0%, rgba(7, 19, 39, 0.85) 45%, rgba(7, 19, 39, 0.72) 72%, rgba(3, 9, 20, 0.88) 100%),
        radial-gradient(circle at 78% 22%, rgba(255, 138, 36, 0.18), transparent 34%),
        radial-gradient(circle at 25% 82%, rgba(107, 216, 255, 0.16), transparent 32%);
}

.logistic-shell {
    min-height: 100vh;
    width: min(1500px, 100%);
    margin: 0 auto;
    padding: clamp(20px, 3.7vw, 56px);
    display: grid;
    grid-template-columns: minmax(300px, 430px) minmax(0, 1fr);
    gap: clamp(24px, 4vw, 70px);
    align-items: stretch;
    position: relative;
}

.route-grid {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
    z-index: -1;
}

.route-grid::before {
    content: "";
    position: absolute;
    inset: 5% 0;
    background-image:
        linear-gradient(var(--log-line) 1px, transparent 1px),
        linear-gradient(90deg, var(--log-line) 1px, transparent 1px);
    background-size: 86px 86px;
    mask-image: linear-gradient(90deg, transparent, #000 22%, #000 82%, transparent);
    opacity: 0.48;
}

.route-line {
    position: absolute;
    height: 2px;
    width: 52vw;
    background: linear-gradient(90deg, transparent, rgba(255, 138, 36, 0.8), rgba(107, 216, 255, 0.55), transparent);
    transform-origin: left center;
    opacity: 0.46;
}

.route-line-one {
    top: 24%;
    left: 33%;
    transform: rotate(-15deg);
}

.route-line-two {
    top: 52%;
    left: 38%;
    transform: rotate(12deg);
}

.route-line-three {
    top: 75%;
    left: 26%;
    transform: rotate(-7deg);
}

.moving-node {
    position: absolute;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--log-orange);
    box-shadow: 0 0 0 8px rgba(255, 138, 36, 0.13), 0 0 32px rgba(255, 138, 36, 0.82);
    animation: pulseNode 2.4s ease-in-out infinite;
}

.moving-node-one {
    top: 23%;
    left: 62%;
}

.moving-node-two {
    top: 51%;
    left: 76%;
    animation-delay: 0.45s;
}

.moving-node-three {
    top: 74%;
    left: 54%;
    animation-delay: 0.9s;
}

@keyframes pulseNode {
    0%, 100% { transform: scale(1); opacity: 0.58; }
    50% { transform: scale(1.45); opacity: 1; }
}

.tracking-column {
    position: relative;
    align-self: center;
    display: grid;
    gap: 14px;
    padding: 18px;
    border-radius: 34px;
    background:
        linear-gradient(180deg, rgba(248, 251, 255, 0.11), rgba(248, 251, 255, 0.035)),
        rgba(7, 19, 39, 0.58);
    border: 1px solid var(--log-border);
    box-shadow: var(--log-shadow), inset 0 1px 0 rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(24px);
    transform: translateX(-22px);
    opacity: 0;
    transition: opacity 900ms ease, transform 900ms ease;
}

body.is-ready .tracking-column {
    transform: translateX(0);
    opacity: 1;
}

.tracking-column::before {
    content: "";
    position: absolute;
    left: 42px;
    top: 118px;
    bottom: 42px;
    width: 2px;
    background: linear-gradient(var(--log-orange), rgba(107, 216, 255, 0.4), transparent);
    opacity: 0.56;
}

.tracking-brand {
    position: relative;
    padding: 18px 18px 24px;
    margin-bottom: 4px;
    border-bottom: 1px solid rgba(248, 251, 255, 0.12);
}

.tracking-label {
    display: block;
    margin-bottom: 8px;
    color: var(--log-muted);
    font-size: 0.72rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.tracking-brand strong {
    display: block;
    font-size: clamp(2.3rem, 5vw, 4.2rem);
    line-height: 0.86;
    letter-spacing: -0.085em;
    font-weight: 900;
}

.shipment-card {
    position: relative;
    margin-left: 28px;
    padding: 17px 17px 17px 22px;
    border-radius: 22px;
    background: rgba(248, 251, 255, 0.065);
    border: 1px solid rgba(248, 251, 255, 0.095);
    transition: transform 220ms ease, background 220ms ease, border-color 220ms ease;
}

.shipment-card::before {
    content: "";
    position: absolute;
    left: -30px;
    top: 26px;
    width: 13px;
    height: 13px;
    border-radius: 50%;
    background: var(--log-blue-2);
    border: 2px solid rgba(248, 251, 255, 0.45);
    box-shadow: 0 0 0 7px rgba(248, 251, 255, 0.05);
}

.shipment-card.is-active {
    background: linear-gradient(135deg, rgba(255, 138, 36, 0.18), rgba(107, 216, 255, 0.09));
    border-color: rgba(255, 138, 36, 0.34);
    transform: translateX(8px);
}

.shipment-card.is-active::before {
    background: var(--log-orange);
    border-color: #ffd0a3;
    box-shadow: 0 0 0 8px rgba(255, 138, 36, 0.16), 0 0 24px rgba(255, 138, 36, 0.88);
}

.shipment-code {
    display: inline-flex;
    margin-bottom: 10px;
    color: var(--log-orange);
    font-size: 0.74rem;
    letter-spacing: 0.16em;
    font-weight: 800;
}

.shipment-card h2 {
    margin: 0 0 6px;
    font-size: 1.02rem;
    letter-spacing: -0.02em;
}

.shipment-card p {
    margin: 0;
    color: var(--log-muted);
    font-size: 0.88rem;
    line-height: 1.55;
}

.logistic-hero {
    position: relative;
    align-self: center;
    min-height: calc(100vh - clamp(40px, 7.4vw, 112px));
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(18px, 3vw, 30px) 0;
    transform: translateY(20px);
    opacity: 0;
    transition: opacity 900ms ease 120ms, transform 900ms ease 120ms;
}

body.is-ready .logistic-hero {
    transform: translateY(0);
    opacity: 1;
}

.hero-coordinate {
    align-self: flex-end;
    display: inline-grid;
    gap: 5px;
    margin-bottom: clamp(24px, 5vw, 70px);
    padding: 14px 16px;
    border-radius: 18px;
    background: rgba(7, 19, 39, 0.58);
    border: 1px solid rgba(248, 251, 255, 0.14);
    backdrop-filter: blur(20px);
}

.hero-coordinate span {
    color: var(--log-muted);
    font-size: 0.72rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.hero-coordinate strong {
    font-size: 0.93rem;
    color: rgba(248, 251, 255, 0.85);
}

.system-pill {
    display: inline-flex;
    gap: 10px;
    align-items: center;
    margin: 0 0 22px;
    padding: 10px 14px;
    border-radius: 999px;
    color: rgba(248, 251, 255, 0.76);
    font-size: 0.9rem;
    background: rgba(255, 138, 36, 0.12);
    border: 1px solid rgba(255, 138, 36, 0.2);
}

.system-pill span {
    width: 26px;
    height: 9px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--log-orange), var(--log-cyan));
    box-shadow: 0 0 24px rgba(255, 138, 36, 0.55);
}

.logistic-copy h1 {
    max-width: 980px;
    margin: 0;
    font-size: clamp(3rem, 7.6vw, 8.4rem);
    line-height: 0.88;
    letter-spacing: -0.1em;
    font-weight: 950;
    text-wrap: balance;
}

.logistic-lead {
    max-width: 760px;
    margin: 26px 0 0;
    color: var(--log-muted);
    font-size: clamp(1rem, 1.4vw, 1.22rem);
    line-height: 1.72;
}

.logistic-countdown {
    display: grid;
    grid-template-columns: repeat(4, minmax(110px, 1fr));
    gap: 12px;
    width: min(780px, 100%);
    margin: clamp(30px, 4.4vw, 58px) 0 18px;
}

.track-counter {
    position: relative;
    min-height: 108px;
    padding: 16px;
    border-radius: 22px;
    background:
        linear-gradient(135deg, rgba(248, 251, 255, 0.1), rgba(248, 251, 255, 0.035));
    border: 1px solid rgba(248, 251, 255, 0.13);
    overflow: hidden;
}

.track-counter::before {
    content: "";
    position: absolute;
    left: 16px;
    right: 16px;
    top: 14px;
    height: 3px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--log-orange), rgba(107, 216, 255, 0.1));
}

.track-counter span {
    display: block;
    margin-top: 16px;
    color: var(--log-muted);
    font-size: 0.72rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.track-counter strong {
    display: block;
    margin-top: 8px;
    font-size: clamp(1.8rem, 3vw, 3.2rem);
    letter-spacing: -0.075em;
}

.logistic-form {
    display: grid;
    grid-template-columns: minmax(220px, 430px) auto;
    gap: 10px;
    align-items: center;
    width: min(700px, 100%);
    margin-top: 10px;
}

.logistic-form input {
    min-height: 58px;
    border-radius: 16px;
    border: 1px solid rgba(248, 251, 255, 0.16);
    background: rgba(7, 19, 39, 0.58);
    color: var(--log-ink);
    padding: 0 18px;
    outline: none;
    backdrop-filter: blur(18px);
}

.logistic-form input::placeholder {
    color: rgba(248, 251, 255, 0.48);
}

.logistic-form input:focus-visible {
    border-color: rgba(255, 138, 36, 0.86);
    box-shadow: 0 0 0 4px rgba(255, 138, 36, 0.14);
}

.logistic-form button {
    min-height: 58px;
    padding: 0 28px;
    border: 0;
    border-radius: 16px;
    cursor: pointer;
    color: #190e04;
    font-weight: 900;
    background: linear-gradient(135deg, #ffd0a3, var(--log-orange));
    box-shadow: 0 18px 42px rgba(255, 138, 36, 0.28);
    transition: transform 180ms ease, box-shadow 180ms ease;
}

.logistic-form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 24px 52px rgba(255, 138, 36, 0.36);
}

.logistic-form button:focus-visible {
    outline: 3px solid rgba(248, 251, 255, 0.76);
    outline-offset: 3px;
}

.logistic-form-message {
    grid-column: 1 / -1;
    min-height: 24px;
    margin: 0 4px;
    color: #ffd0a3;
    font-size: 0.94rem;
}

.logistic-form-message.is-error {
    color: #ffcdc9;
}

.logistic-footer {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: clamp(18px, 3vw, 32px);
}

.logistic-footer a {
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    padding: 0 13px;
    border-radius: 12px;
    color: rgba(248, 251, 255, 0.7);
    background: rgba(248, 251, 255, 0.06);
    border: 1px solid rgba(248, 251, 255, 0.1);
    font-size: 0.85rem;
    transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.logistic-footer a:hover {
    transform: translateY(-1px);
    background: rgba(255, 138, 36, 0.13);
    color: var(--log-ink);
}

@media (max-width: 1160px) {
    .logistic-shell {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .tracking-column {
        order: 2;
        width: min(820px, 100%);
        align-self: start;
    }

    .logistic-hero {
        min-height: auto;
        padding-top: 28px;
    }

    .hero-coordinate {
        align-self: flex-start;
        margin-bottom: 34px;
    }
}

@media (max-width: 760px) {
    .logistic-shell {
        padding: 18px;
        gap: 20px;
    }

    .logistic-page::before {
        background-position: 62% center;
    }

    .hero-coordinate {
        display: none;
    }

    .logistic-copy h1 {
        font-size: clamp(2.6rem, 14vw, 4.75rem);
        letter-spacing: -0.075em;
    }

    .logistic-countdown {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .logistic-form {
        grid-template-columns: 1fr;
    }

    .logistic-form input,
    .logistic-form button {
        width: 100%;
    }

    .tracking-column {
        border-radius: 28px;
        padding: 14px;
    }

    .tracking-column::before {
        left: 34px;
        top: 104px;
    }

    .shipment-card {
        margin-left: 24px;
    }
}

@media (max-width: 430px) {
    .logistic-copy h1 {
        font-size: 2.62rem;
    }

    .system-pill {
        border-radius: 16px;
        align-items: flex-start;
    }

    .logistic-countdown {
        gap: 8px;
    }

    .track-counter {
        min-height: 92px;
        padding: 13px;
    }

    .tracking-brand strong {
        font-size: 2.35rem;
    }

    .shipment-card {
        padding: 15px;
    }
}
