/* =====================================================================
   WePicks — Modern Design System
   Shared by index.html, track.php, track-history.php
   A product of CNetworQ — tech-enabled logistics for e-commerce.
   ===================================================================== */

:root {
    --navy: #16376e;
    --navy-2: #0f2c5e;
    --navy-3: #0a213f;
    --ink: #0b1c2d;
    --mint: #51d1a4;
    --mint-2: #2bb98a;
    --bg: #f4f7fc;
    --bg-2: #eef3fb;
    --card: #ffffff;
    --line: rgba(18, 42, 80, 0.10);
    --line-2: rgba(18, 42, 80, 0.18);
    --muted: #56657d;
    --muted-2: #8a99ae;
    --white: #ffffff;

    --grad-brand: linear-gradient(135deg, #16376e 0%, #2a5ca3 60%, #51d1a4 130%);
    --grad-mint: linear-gradient(135deg, #51d1a4 0%, #2bb98a 100%);
    --grad-soft: linear-gradient(135deg, rgba(22, 55, 110, 0.06), rgba(81, 209, 164, 0.10));

    --shadow-sm: 0 6px 18px rgba(11, 33, 70, 0.06);
    --shadow: 0 18px 42px rgba(11, 33, 70, 0.10);
    --shadow-lg: 0 34px 80px rgba(11, 33, 70, 0.16);
    --shadow-mint: 0 18px 40px rgba(43, 185, 138, 0.28);

    --r-xs: 10px;
    --r-sm: 14px;
    --r: 18px;
    --r-lg: 26px;
    --r-pill: 999px;

    --font-head: 'Sora', 'Segoe UI', system-ui, -apple-system, sans-serif;
    --font-body: 'Plus Jakarta Sans', 'Segoe UI', system-ui, -apple-system, Roboto, sans-serif;

    --maxw: 1180px;
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }

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

body {
    margin: 0;
    font-family: var(--font-body);
    color: var(--ink);
    background: var(--bg);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-head);
    color: var(--ink);
    margin: 0 0 .5em;
    line-height: 1.18;
    font-weight: 700;
    letter-spacing: -0.01em;
}

p { margin: 0 0 1rem; }
a { color: var(--navy); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--mint-2); }
img { max-width: 100%; display: block; }
ul { margin: 0; padding: 0; list-style: none; }

.wp-container {
    width: 100%;
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 0 22px;
}

/* ---------- Buttons ---------- */
.wp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    font-family: var(--font-head);
    font-weight: 600;
    font-size: 15px;
    line-height: 1;
    padding: 14px 24px;
    border-radius: var(--r-pill);
    border: 1.5px solid transparent;
    cursor: pointer;
    text-align: center;
    transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease), color .25s var(--ease);
    white-space: nowrap;
}
.wp-btn i { font-size: 1.05em; }
.wp-btn--primary { background: var(--grad-brand); color: #fff; box-shadow: var(--shadow); }
.wp-btn--primary:hover { color: #fff; transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.wp-btn--mint { background: var(--grad-mint); color: #053a2a; box-shadow: var(--shadow-mint); }
.wp-btn--mint:hover { color: #053a2a; transform: translateY(-3px); }
.wp-btn--ghost { background: rgba(255, 255, 255, 0.08); color: #fff; border-color: rgba(255, 255, 255, 0.35); }
.wp-btn--ghost:hover { background: rgba(255, 255, 255, 0.16); color: #fff; transform: translateY(-3px); }
.wp-btn--light { background: #fff; color: var(--navy); border-color: var(--line-2); box-shadow: var(--shadow-sm); }
.wp-btn--light:hover { color: var(--navy); transform: translateY(-3px); box-shadow: var(--shadow); }
.wp-btn--block { width: 100%; }

/* ---------- Navbar ---------- */
.wp-nav {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: saturate(180%) blur(14px);
    -webkit-backdrop-filter: saturate(180%) blur(14px);
    border-bottom: 1px solid var(--line);
    transition: box-shadow .3s var(--ease), background .3s var(--ease);
}
.wp-nav.is-scrolled { box-shadow: var(--shadow-sm); background: rgba(255, 255, 255, 0.94); }
.wp-nav__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    height: 74px;
}
.wp-nav__logo img { height: 38px; width: auto; }
.wp-nav__links { display: flex; align-items: center; gap: 30px; }
.wp-nav__links a {
    font-family: var(--font-head);
    font-weight: 500;
    font-size: 15px;
    color: var(--ink);
    position: relative;
    padding: 6px 0;
}
.wp-nav__links a::after {
    content: "";
    position: absolute;
    left: 0; bottom: 0;
    height: 2px; width: 0;
    background: var(--grad-mint);
    transition: width .3s var(--ease);
    border-radius: 2px;
}
.wp-nav__links a:hover, .wp-nav__links a.active { color: var(--navy); }
.wp-nav__links a:hover::after, .wp-nav__links a.active::after { width: 100%; }
.wp-nav__right { display: flex; align-items: center; gap: 14px; }
.wp-burger {
    display: none;
    width: 46px; height: 46px;
    border-radius: 12px;
    border: 1px solid var(--line-2);
    background: #fff;
    color: var(--navy);
    align-items: center;
    justify-content: center;
    cursor: pointer;
}
.wp-burger svg { width: 22px; height: 22px; fill: currentColor; }

/* Mobile drawer */
.wp-drawer-overlay {
    position: fixed; inset: 0;
    background: rgba(10, 26, 49, 0.5);
    opacity: 0; visibility: hidden;
    transition: opacity .3s var(--ease), visibility .3s var(--ease);
    z-index: 1900;
}
.wp-drawer-overlay.is-open { opacity: 1; visibility: visible; }
.wp-drawer {
    position: fixed; top: 0; left: 0;
    height: 100dvh; width: min(86vw, 330px);
    background: #fff;
    box-shadow: var(--shadow-lg);
    transform: translateX(-100%);
    transition: transform .32s var(--ease);
    z-index: 2000;
    padding: 20px 20px 30px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}
.wp-drawer.is-open { transform: translateX(0); }
.wp-drawer__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; }
.wp-drawer__head img { height: 34px; }
.wp-drawer__close {
    width: 38px; height: 38px; border-radius: 10px;
    border: 1px solid var(--line-2); background: #fff;
    font-size: 24px; line-height: 1; color: var(--navy); cursor: pointer;
}
.wp-drawer__links { border-top: 1px solid var(--line); margin-bottom: 18px; }
.wp-drawer__links li { border-bottom: 1px solid var(--line); }
.wp-drawer__links a { display: block; padding: 15px 2px; font-family: var(--font-head); font-weight: 600; font-size: 16px; color: var(--ink); }
body.wp-lock { overflow: hidden; }

/* ---------- Hero ---------- */
.wp-hero {
    position: relative;
    background: var(--grad-brand);
    color: #fff;
    overflow: hidden;
    padding: 84px 0 96px;
}
.wp-hero--compact { padding: 64px 0 76px; }
.wp-hero__bg { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.wp-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: .55;
    animation: wpFloat 14s ease-in-out infinite;
}
.wp-blob--1 { width: 420px; height: 420px; background: #51d1a4; top: -120px; right: -80px; }
.wp-blob--2 { width: 360px; height: 360px; background: #2a5ca3; bottom: -140px; left: -90px; animation-delay: -5s; }
.wp-blob--3 { width: 240px; height: 240px; background: #7be3c4; top: 40%; left: 45%; opacity: .3; animation-delay: -9s; }
.wp-hero__grid {
    position: absolute; inset: 0;
    background-image: linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
    background-size: 46px 46px;
    mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 30%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 30%, transparent 80%);
}
.wp-hero__inner { position: relative; z-index: 2; }
.wp-hero__eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.22);
    color: #eafff7;
    font-family: var(--font-head);
    font-weight: 600; font-size: 13px;
    padding: 8px 16px; border-radius: var(--r-pill);
    margin-bottom: 22px;
    backdrop-filter: blur(4px);
}
.wp-hero__eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 0 rgba(81, 209, 164, .7); animation: wpPulse 2s infinite; }
.wp-hero h1 { color: #fff; font-size: clamp(34px, 5.2vw, 60px); margin-bottom: 18px; }
.wp-hero h1 .accent { background: var(--grad-mint); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.wp-hero__lead { color: rgba(255, 255, 255, 0.88); font-size: clamp(15px, 1.6vw, 19px); max-width: 560px; margin-bottom: 30px; }
.wp-hero__cta { display: flex; flex-wrap: wrap; gap: 14px; }
.wp-hero__trust { display: flex; flex-wrap: wrap; gap: 22px 34px; margin-top: 38px; }
.wp-hero__trust .t-num { font-family: var(--font-head); font-weight: 800; font-size: 30px; color: #fff; }
.wp-hero__trust .t-lbl { font-size: 13px; color: rgba(255, 255, 255, 0.78); }

/* ---------- Section shells ---------- */
.wp-section { padding: 84px 0; }
.wp-section--tight { padding: 60px 0; }
.wp-section--alt { background: var(--white); }
.wp-shead { max-width: 660px; margin: 0 auto 52px; text-align: center; }
.wp-shead--left { margin-left: 0; text-align: left; }
.wp-eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    font-family: var(--font-head); font-weight: 700; font-size: 13px;
    text-transform: uppercase; letter-spacing: .12em;
    color: var(--mint-2);
    background: rgba(43, 185, 138, 0.10);
    padding: 7px 15px; border-radius: var(--r-pill);
    margin-bottom: 16px;
}
.wp-shead h2 { font-size: clamp(27px, 3.6vw, 42px); }
.wp-shead p { color: var(--muted); font-size: 16px; margin-bottom: 0; }

/* ---------- Cards / grid ---------- */
.wp-grid { display: grid; gap: 22px; }
.wp-grid--2 { grid-template-columns: repeat(2, 1fr); }
.wp-grid--3 { grid-template-columns: repeat(3, 1fr); }
.wp-grid--4 { grid-template-columns: repeat(4, 1fr); }
.wp-hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: center; }
.wp-result-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 22px; }
.wp-card {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    padding: 30px 26px;
    box-shadow: var(--shadow-sm);
    transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
    position: relative;
    overflow: hidden;
}
.wp-card:hover { transform: translateY(-7px); box-shadow: var(--shadow); border-color: rgba(81, 209, 164, 0.4); }
.wp-card__icon {
    width: 58px; height: 58px; border-radius: 16px;
    display: grid; place-items: center;
    background: var(--grad-soft);
    color: var(--navy); font-size: 26px;
    margin-bottom: 18px;
    transition: transform .3s var(--ease);
}
.wp-card:hover .wp-card__icon { transform: scale(1.08) rotate(-4deg); }
.wp-card h3 { font-size: 19px; margin-bottom: 8px; }
.wp-card p { color: var(--muted); font-size: 15px; margin-bottom: 0; }

/* ---------- Stats ---------- */
.wp-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.wp-stat {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--r);
    padding: 26px 20px;
    text-align: center;
    box-shadow: var(--shadow-sm);
}
.wp-stat .num { font-family: var(--font-head); font-weight: 800; font-size: clamp(28px, 3.4vw, 40px); color: var(--navy); line-height: 1; }
.wp-stat .num span { color: var(--mint-2); }
.wp-stat .lbl { font-size: 13.5px; color: var(--muted); margin-top: 8px; }

/* ---------- Track search box ---------- */
.wp-trackbox {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    box-shadow: var(--shadow);
    padding: 30px;
}
.wp-trackbox h3 { font-size: 22px; margin-bottom: 6px; }
.wp-trackbox p.help { color: var(--muted); font-size: 14px; margin-bottom: 18px; }
.wp-trackform { display: flex; gap: 12px; }
.wp-trackform .field { flex: 1; position: relative; }
.wp-trackform .field i {
    position: absolute; left: 16px; top: 50%; transform: translateY(-50%);
    color: var(--muted-2); font-size: 18px;
}
.wp-input {
    width: 100%;
    font-family: var(--font-body);
    font-size: 15px;
    padding: 15px 16px 15px 44px;
    border: 1.5px solid var(--line-2);
    border-radius: var(--r-sm);
    background: #fbfdff;
    color: var(--ink);
    transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.wp-input:focus { outline: none; border-color: var(--mint); box-shadow: 0 0 0 4px rgba(81, 209, 164, 0.16); }
textarea.wp-input { padding-left: 16px; min-height: 110px; resize: vertical; }

/* ---------- Tracking result ---------- */
.wp-result { margin-top: 0; }
.wp-result__hero {
    background: var(--grad-brand);
    color: #fff;
    border-radius: var(--r-lg);
    padding: 30px 30px 32px;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow);
}
.wp-result__hero .deco {
    position: absolute; width: 260px; height: 260px; border-radius: 50%;
    background: rgba(81, 209, 164, 0.3); filter: blur(70px); top: -90px; right: -60px;
}
.wp-result__hero .inner { position: relative; z-index: 2; }
.wp-statuspill {
    display: inline-flex; align-items: center; gap: 9px;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.28);
    color: #eafff7;
    font-family: var(--font-head); font-weight: 600; font-size: 13px;
    padding: 7px 15px; border-radius: var(--r-pill);
}
.wp-statuspill .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--mint); animation: wpPulse 2s infinite; }
.wp-result__hero h2 { color: #fff; font-size: clamp(24px, 3.6vw, 34px); margin: 16px 0 6px; }
.wp-result__hero .awb { color: rgba(255, 255, 255, 0.8); font-size: 14px; font-family: var(--font-head); }
.wp-eta-chip {
    display: inline-flex; align-items: center; gap: 12px;
    margin-top: 20px;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.26);
    border-radius: var(--r);
    padding: 14px 20px;
}
.wp-eta-chip .ic { width: 40px; height: 40px; border-radius: 12px; background: var(--grad-mint); display: grid; place-items: center; color: #053a2a; font-size: 20px; }
.wp-eta-chip .lbl { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: rgba(255, 255, 255, 0.82); }
.wp-eta-chip .val { font-family: var(--font-head); font-weight: 700; font-size: 20px; color: #fff; }
.wp-result__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }

.wp-meta-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 22px; }
.wp-meta {
    background: rgba(255, 255, 255, 0.10);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: var(--r-sm);
    padding: 12px 14px;
}
.wp-meta .k { font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: rgba(255, 255, 255, 0.74); margin-bottom: 4px; }
.wp-meta .v { font-family: var(--font-head); font-weight: 600; font-size: 14px; color: #fff; word-break: break-word; }

/* ---------- Stepper (stage by stage) ---------- */
.wp-stepper-card, .wp-details-card {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    padding: 28px;
    box-shadow: var(--shadow-sm);
    height: 100%;
}
.wp-stepper-card h4, .wp-details-card h4 { font-size: 19px; margin-bottom: 22px; }

.wp-stepper { position: relative; }
/* Full scan-by-scan history can be long — keep the card tidy with an internal scroll. */
.wp-stepper--history { max-height: 560px; overflow-y: auto; padding-right: 8px; }
.wp-stepper--history::-webkit-scrollbar { width: 6px; }
.wp-stepper--history::-webkit-scrollbar-track { background: transparent; }
.wp-stepper--history::-webkit-scrollbar-thumb { background: var(--line-2); border-radius: 6px; }
.wp-step {
    position: relative;
    display: flex;
    gap: 18px;
    padding-bottom: 30px;
}
.wp-step:last-child { padding-bottom: 0; }
/* connecting line */
.wp-step::before {
    content: "";
    position: absolute;
    left: 21px; top: 44px; bottom: -4px;
    width: 2px;
    background: var(--line-2);
}
.wp-step:last-child::before { display: none; }
.wp-step__dot {
    position: relative;
    z-index: 2;
    flex-shrink: 0;
    width: 44px; height: 44px;
    border-radius: 50%;
    display: grid; place-items: center;
    font-size: 19px;
    background: #eef2f8;
    color: var(--muted-2);
    border: 2px solid var(--line-2);
    transition: all .3s var(--ease);
}
.wp-step__body h5 { font-size: 16px; margin-bottom: 4px; color: var(--ink); transition: color .3s var(--ease); }
.wp-step__body p { font-size: 14px; color: var(--muted); margin-bottom: 5px; }
.wp-step__meta { font-size: 12.5px; color: var(--muted-2); font-family: var(--font-head); }

/* DONE state */
.wp-step.is-done .wp-step__dot { background: var(--grad-mint); color: #053a2a; border-color: transparent; box-shadow: var(--shadow-mint); }
.wp-step.is-done::before { background: linear-gradient(var(--mint), var(--mint-2)); }

/* CURRENT state — highlighted + animated */
.wp-step.is-current .wp-step__dot {
    background: var(--grad-brand);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 0 0 6px rgba(81, 209, 164, 0.22);
    animation: wpRing 2.2s infinite;
}
.wp-step.is-current .wp-step__body h5 { color: var(--navy); font-weight: 800; }
.wp-step.is-current .wp-step__body {
    background: var(--grad-soft);
    border: 1px solid rgba(81, 209, 164, 0.35);
    border-radius: var(--r-sm);
    padding: 12px 16px;
    margin: -8px 0 0;
    flex: 1;
}

/* UPCOMING state — dull, blurred, disabled */
.wp-step.is-upcoming { opacity: .55; }
.wp-step.is-upcoming .wp-step__dot { filter: grayscale(1); }
.wp-step.is-upcoming .wp-step__body { filter: blur(0.4px); }
.wp-step.is-upcoming .wp-step__body h5,
.wp-step.is-upcoming .wp-step__body p { color: var(--muted-2); }

/* ---------- Details list ---------- */
.wp-detrow {
    display: flex; justify-content: space-between; gap: 12px;
    padding: 13px 0;
    border-bottom: 1px dashed var(--line);
}
.wp-detrow:last-of-type { border-bottom: 0; }
.wp-detrow .k { color: var(--muted); font-size: 13.5px; }
.wp-detrow .v { color: var(--ink); font-family: var(--font-head); font-weight: 600; font-size: 14px; text-align: right; }

/* ---------- Inline alert ---------- */
.wp-alert {
    background: var(--grad-soft);
    border: 1px solid var(--line);
    border-left: 4px solid var(--mint);
    border-radius: var(--r-sm);
    padding: 16px 18px;
    color: var(--navy);
    font-weight: 600;
    font-size: 15px;
    display: flex; align-items: center; gap: 12px;
}
.wp-alert i { font-size: 22px; color: var(--mint-2); }
.wp-alert--warn { border-left-color: #f0a33c; }
.wp-alert--warn i { color: #e08a1e; }

/* ---------- Ticket / inquiry ---------- */
.wp-help-card {
    margin-top: 22px;
    padding-top: 22px;
    border-top: 1px dashed var(--line);
}
.wp-help-card h5 { font-size: 16px; margin-bottom: 6px; }
.wp-help-card p.sub { color: var(--muted); font-size: 13.5px; margin-bottom: 14px; }
.wp-help-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.wp-field-label { display: block; font-family: var(--font-head); font-weight: 600; font-size: 13px; color: var(--ink); margin: 4px 0 6px; }
.wp-formnote { font-size: 13px; margin-top: 10px; }

/* ---------- Split / feature rows ---------- */
.wp-split { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.wp-split img { border-radius: var(--r-lg); box-shadow: var(--shadow); }
.wp-list-check { display: grid; gap: 14px; margin-top: 22px; }
.wp-list-check li { display: flex; gap: 12px; align-items: flex-start; font-size: 15.5px; color: var(--ink); }
.wp-list-check .tick { flex-shrink: 0; width: 26px; height: 26px; border-radius: 8px; background: var(--grad-mint); color: #053a2a; display: grid; place-items: center; font-size: 15px; }

/* ---------- CNetworQ band ---------- */
.wp-cnq {
    background: var(--grad-brand);
    color: #fff;
    border-radius: var(--r-lg);
    padding: 46px;
    position: relative;
    overflow: hidden;
}
.wp-cnq .deco { position: absolute; width: 300px; height: 300px; border-radius: 50%; background: rgba(81, 209, 164, 0.28); filter: blur(80px); bottom: -120px; right: -60px; }
.wp-cnq__inner { position: relative; z-index: 2; }
.wp-cnq h2 { color: #fff; font-size: clamp(24px, 3.4vw, 36px); }
.wp-cnq p { color: rgba(255, 255, 255, 0.88); max-width: 640px; }
.wp-cnq .badges { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 22px; }
.wp-cnq .badge {
    display: inline-flex; align-items: center; gap: 10px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: var(--r-pill);
    padding: 10px 18px; font-family: var(--font-head); font-weight: 600; font-size: 14px;
}
.wp-cnq .badge i { color: var(--mint); font-size: 18px; }

/* ---------- AI assistant strip ---------- */
.wp-ai {
    display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    padding: 40px;
    box-shadow: var(--shadow-sm);
}
.wp-ai__chat { background: var(--bg-2); border-radius: var(--r); padding: 22px; display: grid; gap: 12px; }
.wp-bubble { padding: 12px 16px; border-radius: 16px; font-size: 14px; max-width: 88%; box-shadow: var(--shadow-sm); }
.wp-bubble.user { background: var(--grad-brand); color: #fff; justify-self: end; border-bottom-right-radius: 4px; }
.wp-bubble.bot { background: #fff; color: var(--ink); border: 1px solid var(--line); border-bottom-left-radius: 4px; }
.wp-bubble.bot .who { font-family: var(--font-head); font-weight: 700; font-size: 12px; color: var(--mint-2); display: block; margin-bottom: 3px; }

/* ---------- Footer ---------- */
.wp-footer { background: var(--navy-3); color: rgba(255, 255, 255, 0.78); padding: 64px 0 0; }
.wp-footer a { color: rgba(255, 255, 255, 0.74); }
.wp-footer a:hover { color: var(--mint); }
.wp-footer__top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 36px; padding-bottom: 44px; border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
.wp-footer__brand img { height: 40px; margin-bottom: 16px; }
.wp-footer__brand p { font-size: 14.5px; max-width: 290px; }
.wp-footer__social { display: flex; gap: 10px; margin-top: 18px; }
.wp-footer__social a { width: 40px; height: 40px; border-radius: 10px; background: rgba(255, 255, 255, 0.08); display: grid; place-items: center; color: #fff; font-size: 18px; transition: background .25s var(--ease), transform .25s var(--ease); }
.wp-footer__social a:hover { background: var(--grad-mint); color: #053a2a; transform: translateY(-3px); }
.wp-footer__col h4 { color: #fff; font-size: 16px; margin-bottom: 16px; }
.wp-footer__col li { margin-bottom: 11px; }
.wp-footer__col li a { font-size: 14.5px; }
.wp-footer__bottom { display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between; align-items: center; padding: 22px 0; font-size: 13.5px; }
.wp-footer__bottom .cnq-tag { display: inline-flex; align-items: center; gap: 7px; }
.wp-footer__bottom .cnq-tag b { color: var(--mint); }

/* ---------- Scroll reveal ---------- */
.wp-reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.wp-reveal.in { opacity: 1; transform: none; }
.wp-reveal[data-d="1"] { transition-delay: .08s; }
.wp-reveal[data-d="2"] { transition-delay: .16s; }
.wp-reveal[data-d="3"] { transition-delay: .24s; }
.wp-reveal[data-d="4"] { transition-delay: .32s; }

/* ---------- Animations ---------- */
@keyframes wpFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(20px, -28px) scale(1.06); }
}
@keyframes wpPulse {
    0% { box-shadow: 0 0 0 0 rgba(81, 209, 164, .6); }
    70% { box-shadow: 0 0 0 10px rgba(81, 209, 164, 0); }
    100% { box-shadow: 0 0 0 0 rgba(81, 209, 164, 0); }
}
@keyframes wpRing {
    0% { box-shadow: 0 0 0 0 rgba(81, 209, 164, 0.35); }
    70% { box-shadow: 0 0 0 12px rgba(81, 209, 164, 0); }
    100% { box-shadow: 0 0 0 0 rgba(81, 209, 164, 0); }
}

@media (prefers-reduced-motion: reduce) {
    * { animation: none !important; scroll-behavior: auto !important; }
    .wp-reveal { opacity: 1; transform: none; transition: none; }
}

/* =====================================================================
   Responsive
   ===================================================================== */
@media (max-width: 991px) {
    .wp-grid--3, .wp-grid--4 { grid-template-columns: repeat(2, 1fr); }
    .wp-stats { grid-template-columns: repeat(2, 1fr); }
    .wp-split, .wp-ai, .wp-hero-grid, .wp-result-grid { grid-template-columns: 1fr; gap: 30px; }
    .wp-meta-grid { grid-template-columns: repeat(2, 1fr); }
    .wp-footer__top { grid-template-columns: 1fr 1fr; gap: 28px; }
    .wp-section { padding: 64px 0; }
}

@media (max-width: 767px) {
    .wp-nav__links, .wp-nav__right .wp-btn { display: none; }
    .wp-burger { display: inline-flex; }
    .wp-nav__inner { height: 64px; }

    .wp-hero { padding: 54px 0 64px; }
    .wp-hero__cta { gap: 10px; flex-direction: column; align-items: stretch; }
    .wp-hero__cta .wp-btn { width: 100%; }
    .wp-hero__trust { gap: 16px 26px; margin-top: 28px; }
    .wp-hero__trust .t-num { font-size: 24px; }

    .wp-trackform { flex-direction: column; }
    .wp-trackbox { padding: 22px; }

    .wp-grid--2 { grid-template-columns: 1fr; }
    .wp-grid--3, .wp-grid--4, .wp-stats { grid-template-columns: 1fr 1fr; gap: 14px; }
    .wp-card { padding: 22px 18px; }
    .wp-card__icon { width: 50px; height: 50px; font-size: 22px; }

    .wp-result__hero { padding: 24px 20px; }
    .wp-meta-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
    .wp-stepper-card, .wp-details-card { padding: 22px 18px; }
    .wp-eta-chip { width: 100%; }

    .wp-cnq { padding: 30px 22px; }
    .wp-ai { padding: 26px 20px; }

    .wp-footer__top { grid-template-columns: 1fr; gap: 26px; padding-bottom: 30px; }
    .wp-footer__bottom { flex-direction: column; text-align: center; }
    .wp-section { padding: 52px 0; }
    .wp-shead { margin-bottom: 36px; }

    .wp-help-actions { flex-direction: column; }
    .wp-help-actions .wp-btn { width: 100%; }
}

@media (max-width: 420px) {
    .wp-grid--3, .wp-grid--4, .wp-stats { grid-template-columns: 1fr; }
}
