/* Supex landing page */
:root {
    --sx-navy: #232b5e;
    --sx-navy-2: #2f2a86;
    --sx-indigo: #4338ca;
    --sx-orange: #f59e0b;
    --sx-orange-2: #f97316;
    --sx-ink: #0f172a;
    --sx-muted: #64748b;
    --sx-line: #e2e8f0;
    --sx-bg: #f6f7fb;
    --sx-card: #ffffff;
    --sx-ok: #16a34a;
    --sx-ok-bg: #dcfce7;
    --sx-warn: #b45309;
    --sx-warn-bg: #fef3c7;
    --sx-info: #1d4ed8;
    --sx-info-bg: #dbeafe;
    --sx-radius: 18px;
    --sx-shadow: 0 20px 45px -20px rgba(15, 23, 42, .25);
}

html { scroll-behavior: smooth; }

body.sx {
    font-family: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
    color: var(--sx-ink);
    background: var(--sx-bg);
    overflow-x: hidden;
}

.sx a { text-decoration: none; }
.sx h1, .sx h2, .sx h3, .sx h4 { font-family: inherit; font-weight: 800; letter-spacing: -.02em; }

/* ---------- Navbar ---------- */
.sx-nav {
    position: sticky; top: 0; z-index: 1030;
    background: rgba(255, 255, 255, .92);
    backdrop-filter: saturate(180%) blur(12px);
    border-bottom: 1px solid var(--sx-line);
    padding: .7rem 0;
}
.sx-nav .navbar-brand img { height: 44px; width: auto; }
.sx-nav .nav-link {
    color: var(--sx-ink); font-weight: 600; font-size: .95rem;
    padding: .5rem 1rem !important; border-radius: 999px;
}
.sx-nav .nav-link:hover, .sx-nav .nav-link.active { color: var(--sx-indigo); background: #eef2ff; }
.sx-btn-cta {
    background: var(--sx-navy); color: #fff !important; font-weight: 700;
    border-radius: 999px; padding: .6rem 1.3rem; border: 0;
    transition: transform .15s, box-shadow .15s;
}
.sx-btn-cta:hover { transform: translateY(-1px); box-shadow: 0 10px 20px -10px var(--sx-navy); }

/* ---------- Hero ---------- */
.sx-hero {
    position: relative; overflow: hidden; color: #fff;
    background:
        radial-gradient(900px 400px at 85% -10%, rgba(245, 158, 11, .35), transparent 60%),
        radial-gradient(700px 500px at -10% 110%, rgba(99, 102, 241, .55), transparent 60%),
        linear-gradient(135deg, var(--sx-navy) 0%, var(--sx-navy-2) 100%);
    padding: 5.5rem 0 7.5rem;
}
.sx-hero::after {
    content: ""; position: absolute; inset: 0; pointer-events: none;
    background-image: radial-gradient(rgba(255, 255, 255, .12) 1px, transparent 1px);
    background-size: 22px 22px;
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, .7), transparent 85%);
}
.sx-hero .container { position: relative; z-index: 1; }
.sx-eyebrow {
    display: inline-flex; align-items: center; gap: .5rem;
    background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .2);
    color: #fde68a; font-weight: 600; font-size: .85rem;
    padding: .4rem .9rem; border-radius: 999px;
}
.sx-hero h1 { font-size: clamp(2rem, 4.6vw, 3.4rem); line-height: 1.1; margin: 1.2rem 0 1rem; color: #fff; }
.sx-hero h1 span {
    background: linear-gradient(90deg, #fbbf24, var(--sx-orange-2));
    -webkit-background-clip: text; background-clip: text; color: transparent;
}
.sx-hero .lead { color: #c7d2fe; font-size: 1.1rem; max-width: 620px; margin: 0 auto; }

/* Tracking form */
.sx-track {
    max-width: 760px; margin: 2.5rem auto 0;
    background: #fff; border-radius: 999px; padding: .5rem;
    display: flex; align-items: center; gap: .5rem;
    box-shadow: 0 25px 50px -20px rgba(0, 0, 0, .5);
}
.sx-track .bi-upc-scan { color: var(--sx-muted); font-size: 1.35rem; margin-left: 1.1rem; }
.sx-track input {
    flex: 1; min-width: 0; border: 0; outline: 0; background: transparent;
    font-size: 1.1rem; font-weight: 600; color: var(--sx-ink);
    padding: .9rem .25rem; text-transform: uppercase; letter-spacing: .03em;
}
.sx-track input::placeholder { text-transform: none; letter-spacing: 0; font-weight: 500; color: #94a3b8; }
.sx-track button {
    border: 0; border-radius: 999px; padding: .95rem 1.8rem;
    background: linear-gradient(135deg, var(--sx-orange), var(--sx-orange-2));
    color: #fff; font-weight: 700; font-size: 1rem; white-space: nowrap;
    display: inline-flex; align-items: center; gap: .5rem;
    transition: transform .15s, box-shadow .15s;
}
.sx-track button:hover { transform: translateY(-1px); box-shadow: 0 12px 24px -10px var(--sx-orange-2); }
.sx-hint { margin-top: 1.1rem; color: #c7d2fe; font-size: .9rem; }
.sx-hint code {
    background: rgba(255, 255, 255, .12); color: #fff; border-radius: 6px;
    padding: .15rem .45rem; font-size: .82rem; font-weight: 600; margin: 0 .1rem;
}
.sx-alert {
    max-width: 760px; margin: 1.2rem auto 0;
    background: #fff1f2; color: #9f1239; border-radius: 14px;
    padding: .85rem 1.1rem; display: flex; gap: .6rem; align-items: center;
    font-weight: 600; text-align: left;
}

/* Stats strip */
.sx-stats { margin-top: -4rem; position: relative; z-index: 2; }
.sx-stats .sx-card { padding: 1.4rem 1.6rem; }
.sx-stat { display: flex; align-items: center; gap: 1rem; }
.sx-stat i {
    width: 52px; height: 52px; flex: none; border-radius: 14px;
    display: grid; place-items: center; font-size: 1.4rem;
    background: #eef2ff; color: var(--sx-indigo);
}
.sx-stat:nth-child(2) i { background: #fff7ed; color: var(--sx-orange-2); }
.sx-stat b { display: block; font-size: 1.05rem; }
.sx-stat small { color: var(--sx-muted); }

/* ---------- Cards / sections ---------- */
.sx-card { background: var(--sx-card); border-radius: var(--sx-radius); box-shadow: var(--sx-shadow); border: 1px solid var(--sx-line); }
.sx-section { padding: 5rem 0; }
.sx-section-title { text-align: center; max-width: 640px; margin: 0 auto 3rem; }
.sx-section-title .sx-kicker { color: var(--sx-orange-2); font-weight: 700; text-transform: uppercase; letter-spacing: .12em; font-size: .8rem; }
.sx-section-title h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); margin: .5rem 0 .75rem; }
.sx-section-title p { color: var(--sx-muted); margin: 0; }

.sx-service { padding: 1.75rem; height: 100%; transition: transform .2s, box-shadow .2s; }
.sx-service:hover { transform: translateY(-4px); box-shadow: 0 30px 50px -25px rgba(67, 56, 202, .45); }
.sx-service .sx-ico {
    width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center;
    font-size: 1.5rem; color: #fff; margin-bottom: 1.2rem;
    background: linear-gradient(135deg, var(--sx-indigo), var(--sx-navy-2));
}
.sx-service.alt .sx-ico { background: linear-gradient(135deg, var(--sx-orange), var(--sx-orange-2)); }
.sx-service h3 { font-size: 1.15rem; margin-bottom: .4rem; }
.sx-service p { color: var(--sx-muted); font-size: .93rem; margin-bottom: 1rem; }
.sx-tag { display: inline-block; font-size: .78rem; font-weight: 700; color: var(--sx-indigo); background: #eef2ff; border-radius: 999px; padding: .25rem .7rem; }

.sx-steps { counter-reset: step; }
.sx-step { text-align: center; padding: 0 1rem; position: relative; }
.sx-step .num {
    width: 64px; height: 64px; margin: 0 auto 1rem; border-radius: 50%;
    display: grid; place-items: center; font-weight: 800; font-size: 1.4rem;
    color: var(--sx-navy); background: #fff; border: 2px dashed #c7d2fe;
}
.sx-step h3 { font-size: 1.1rem; }
.sx-step p { color: var(--sx-muted); font-size: .93rem; }

/* Promo carousel */
.sx-promo .carousel { border-radius: var(--sx-radius); overflow: hidden; box-shadow: var(--sx-shadow); }
.sx-promo .carousel-item img { aspect-ratio: 1440 / 389; object-fit: cover; }
.sx-promo .carousel-control-prev, .sx-promo .carousel-control-next { width: 8%; opacity: 1; }
.sx-promo .sx-arrow {
    width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
    background: rgba(255, 255, 255, .9); color: var(--sx-navy); font-size: 1.2rem;
    box-shadow: 0 8px 20px -8px rgba(0, 0, 0, .4);
}
.sx-promo .carousel-indicators [data-bs-target] { width: 8px; height: 8px; border-radius: 50%; border: 0; }
.sx-promo .carousel-indicators .active { width: 26px; border-radius: 999px; }

/* ---------- Tracking result ---------- */
.sx-result { margin-top: -4rem; position: relative; z-index: 2; padding-bottom: 1rem; scroll-margin-top: 90px; }
.sx-result-head {
    display: flex; flex-wrap: wrap; gap: 1rem 1.5rem; align-items: center; justify-content: space-between;
    padding: 1.6rem 1.8rem; border-bottom: 1px solid var(--sx-line);
}
.sx-result-head .awb { display: flex; align-items: center; gap: 1rem; }
.sx-result-head .awb i {
    width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; font-size: 1.5rem;
    background: #eef2ff; color: var(--sx-indigo);
}
.sx-result-head small { color: var(--sx-muted); font-weight: 600; text-transform: uppercase; letter-spacing: .08em; font-size: .72rem; }
.sx-result-head h2 { font-size: 1.5rem; margin: 0; letter-spacing: .02em; }
.sx-badge { display: inline-flex; align-items: center; gap: .45rem; padding: .5rem 1rem; border-radius: 999px; font-weight: 700; font-size: .88rem; }
.sx-badge.ok { color: var(--sx-ok); background: var(--sx-ok-bg); }
.sx-badge.warn { color: var(--sx-warn); background: var(--sx-warn-bg); }
.sx-badge.info { color: var(--sx-info); background: var(--sx-info-bg); }

.sx-result-body { padding: 1.8rem; }
.sx-details { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem 1.5rem; margin: 0; }
.sx-details div { min-width: 0; }
.sx-details .wide { grid-column: 1 / -1; }
.sx-details dt { color: var(--sx-muted); font-size: .78rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; margin-bottom: .2rem; }
.sx-details dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }

.sx-timeline-wrap { background: #f8fafc; border-radius: 14px; padding: 1.4rem; height: 100%; }
.sx-timeline-wrap h3 { font-size: 1rem; margin-bottom: 1.2rem; display: flex; align-items: center; gap: .5rem; }
.sx-timeline { list-style: none; margin: 0; padding: 0; }
.sx-timeline li { position: relative; padding: 0 0 1.4rem 2rem; }
.sx-timeline li::before {
    content: ""; position: absolute; left: 7px; top: 18px; bottom: 0; width: 2px; background: var(--sx-line);
}
.sx-timeline li:last-child { padding-bottom: 0; }
.sx-timeline li:last-child::before { display: none; }
.sx-timeline .dot {
    position: absolute; left: 0; top: 3px; width: 16px; height: 16px; border-radius: 50%;
    background: #fff; border: 3px solid #cbd5e1;
}
.sx-timeline li.current .dot { border-color: var(--sx-orange-2); box-shadow: 0 0 0 5px rgba(249, 115, 22, .18); }
.sx-timeline .st { font-weight: 700; font-size: .93rem; line-height: 1.35; }
.sx-timeline li:not(.current) .st { color: #334155; font-weight: 600; }
.sx-timeline .tm { color: var(--sx-muted); font-size: .82rem; margin-top: .15rem; }
.sx-timeline .note { font-size: .85rem; color: #475569; margin-top: .35rem; background: #fff; border: 1px solid var(--sx-line); border-radius: 10px; padding: .45rem .7rem; }
.sx-timeline .photo { display: inline-block; margin-top: .5rem; }
.sx-timeline .photo img { width: 120px; height: 90px; object-fit: cover; border-radius: 10px; border: 1px solid var(--sx-line); }

/* ---------- Footer ---------- */
.sx-footer { background: #0f1435; color: #a5b4fc; padding: 3.5rem 0 1.5rem; }
.sx-footer .brand { display: inline-block; background: #fff; border-radius: 12px; padding: .5rem .8rem; }
.sx-footer .brand img { height: 40px; }
.sx-footer h4 { color: #fff; font-size: .95rem; margin-bottom: 1rem; }
.sx-footer a { color: #c7d2fe; }
.sx-footer a:hover { color: #fff; }
.sx-footer ul { list-style: none; padding: 0; margin: 0; }
.sx-footer li { margin-bottom: .55rem; }
.sx-footer .copy { border-top: 1px solid rgba(255, 255, 255, .1); margin-top: 2.5rem; padding-top: 1.5rem; font-size: .88rem; }
.sx-footer .copy a { text-decoration: underline; }

/* ---------- Responsive ---------- */
@media (max-width: 767.98px) {
    .sx-hero { padding: 3.5rem 0 6.5rem; }
    .sx-track { border-radius: 18px; flex-wrap: wrap; padding: .6rem; }
    .sx-track .bi-upc-scan { display: none; }
    .sx-track input { width: 100%; flex-basis: 100%; padding: .8rem .9rem; }
    .sx-track button { width: 100%; justify-content: center; border-radius: 12px; }
    .sx-details { grid-template-columns: 1fr; }
    .sx-result-head, .sx-result-body { padding: 1.25rem; }
    .sx-section { padding: 3.5rem 0; }
}

/* ---------- Feedback page ---------- */
.sx-hero-sm { padding: 4rem 0 6.5rem; }
.sx-feedback { margin-top: -4rem; position: relative; z-index: 2; padding-bottom: 5rem; }
.sx-feedback-side {
    height: 100%; padding: 2.5rem; color: #e0e7ff;
    background: linear-gradient(160deg, var(--sx-navy-2), var(--sx-navy));
}
.sx-feedback-side h2 { color: #fff; font-size: 1.4rem; margin-bottom: 1.5rem; }
.sx-feedback-side ul { list-style: none; padding: 0; margin: 0 0 2rem; }
.sx-feedback-side li { display: flex; gap: .75rem; margin-bottom: 1rem; line-height: 1.5; }
.sx-feedback-side li i { color: #fbbf24; font-size: 1.2rem; flex: none; }
.sx-side-link { color: #fde68a; font-weight: 600; display: inline-flex; gap: .5rem; align-items: center; }
.sx-side-link:hover { color: #fff; }
.sx-feedback-form { padding: 2.5rem; }
.sx-feedback-form .form-label { font-weight: 700; font-size: .88rem; color: #334155; }
.sx-input {
    border-radius: 12px; border: 1px solid var(--sx-line); background: #f8fafc;
    padding: .8rem 1rem; font-size: 1rem;
}
.sx-input:focus { background: #fff; border-color: #a5b4fc; box-shadow: 0 0 0 4px rgba(99, 102, 241, .15); }
.sx-btn-submit {
    border: 0; border-radius: 999px; padding: .85rem 1.8rem; font-weight: 700; color: #fff;
    background: linear-gradient(135deg, var(--sx-orange), var(--sx-orange-2));
    display: inline-flex; gap: .5rem; align-items: center;
}
.sx-btn-submit:hover { color: #fff; box-shadow: 0 12px 24px -10px var(--sx-orange-2); }
.sx-note { border-radius: 12px; padding: .85rem 1rem; margin-bottom: 1.5rem; font-weight: 600; display: flex; gap: .6rem; align-items: center; }
.sx-note.ok { background: var(--sx-ok-bg); color: #166534; }
.sx-note.err { background: #fff1f2; color: #9f1239; }
@media (max-width: 767.98px) {
    .sx-feedback-side, .sx-feedback-form { padding: 1.5rem; }
}

/* keep a side gutter on phones (styles.css removes the container padding) */
.sx .container { padding-left: 16px; padding-right: 16px; }
