/* =========================================================
   TRUSTONE DESIGN SYSTEM (FINAL CLEAN - SINGLE SOURCE)
========================================================= */

/* ---------------------------
   1) ROOT TOKENS
--------------------------- */
:root {
    --bg: #f7f9fb;
    --white: #ffffff;
    --text: #0f172a;
    --muted: #64748b;
    --brand: #2563eb;
    --brand-dark: #1d4ed8;
    --accent: #ffd200;
    --accent-dark: #ff9b00;
    --danger: #ef4444;
    --line: rgba(15, 23, 42, 0.10);

    --shadow-sm: 0 8px 24px rgba(2, 6, 23, .08);
    --shadow-lg: 0 16px 45px rgba(2, 6, 23, .14);

    --radius-lg: 22px;
    --radius-md: 14px;
    --radius-sm: 12px;

    --transition: all .25s ease;
    --container: 1200px;
}

/* ---------------------------
   2) GLOBAL
--------------------------- */
* { box-sizing: border-box; }

body {
    margin: 0;
    font-family: 'Poppins', system-ui, sans-serif;
    background: var(--bg);
    color: var(--text);
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* ---------------------------
   3) TRUST STRIP
--------------------------- */
.trust-strip {
    background: #fff;
    border-bottom: 1px solid var(--line);
    font-size: 12px;
    padding: 10px 0;
}

.trust-strip-items span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #334155;
}

.trust-strip-items i {
    color: var(--accent-dark);
}

/* ---------------------------
   4) NAVBAR
--------------------------- */
.navbar-premium {
    border-bottom: 1px solid var(--line);
    transition: var(--transition);
    z-index: 2000;
}

.navbar-premium.nav-scrolled {
    background: #fff;
    box-shadow: var(--shadow-lg);
}

.navbar-brand {
    font-size: 22px;
    font-weight: 900;
    letter-spacing: -0.6px;
}

.trust-logo-img-link {
    display: inline-flex;
    align-items: center;
    padding: 0;
}

.trust-logo-img {
    height: 50px;
    width: auto;
    max-width: 190px;
    display: block;
    object-fit: contain;
}

@media (max-width: 576px) {
    .trust-logo-img {
        height: 42px;
        max-width: 160px;
    }
}

.nav-center {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.navbar .nav-link {
    font-weight: 600;
    font-size: 14px;
    color: #334155;
}

.navbar .nav-link:hover {
    color: #0f172a;
}

@media (max-width: 992px) {
    .nav-center {
        position: static;
        transform: none;
        margin-top: 12px;
    }
}

/* ---------------------------
   5) HERO (FINAL)
--------------------------- */
.trust-hero {
    position: relative;
    width: 100%;
    height: 75vh;
    min-height: 520px;
    overflow: hidden;
    background: #000;
}

.trust-hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: scale(1.03);
}

.trust-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
            90deg,
            rgba(15,23,42,.92) 0%,
            rgba(15,23,42,.75) 30%,
            rgba(15,23,42,.45) 55%,
            rgba(15,23,42,.12) 80%,
            rgba(15,23,42,0) 100%
    );
    z-index: 1;
}

.trust-hero-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    align-items: center;
}

.trust-hero-text {
    max-width: 560px;
    color: #fff;
}

.trust-hero-text h1 {
    font-size: 3.2rem;
    font-weight: 900;
    line-height: 1.05;
    margin-bottom: 14px;
    text-transform: uppercase;
}

.trust-hero-text p {
    font-size: 1rem;
    color: #e5e7eb;
    margin-bottom: 26px;
}

.btn-hero {
    display: inline-block;
    padding: 14px 34px;
    border-radius: 999px;
    font-weight: 900;
    background: linear-gradient(90deg, var(--accent), var(--accent-dark));
    color: #111;
    transition: var(--transition);
    box-shadow: 0 14px 35px rgba(0,0,0,.22);
}

.btn-hero:hover {
    transform: translateY(-3px);
    box-shadow: 0 22px 55px rgba(0,0,0,.32);
}

@media(max-width:992px){
    .trust-hero { height: 65vh; min-height: 480px; }
    .trust-hero-text h1 { font-size: 2.4rem; }
}

@media(max-width:600px){
    .trust-hero { height: 60vh; min-height: 420px; }
    .trust-hero-text h1 { font-size: 2rem; }
    .btn-hero { width: 100%; text-align: center; }
}

/* ---------------------------
   6) CUSTOMER SIDEBAR
--------------------------- */
.customer-sidebar {
    position: sticky;
    top: 110px;
    border: 1px solid rgba(2,6,23,.08);
    box-shadow: var(--shadow-sm);
}

.customer-avatar {
    width: 48px;
    height: 48px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(90deg,var(--brand),var(--brand-dark));
    color: #fff;
    font-size: 18px;
}

.customer-sidebar .nav-link {
    border-radius: 14px;
    padding: 12px 14px;
    font-weight: 700;
    font-size: 14px;
    color: #334155;
    display: flex;
    gap: 8px;
    transition: var(--transition);
}

.customer-sidebar .nav-link:hover {
    background: #f1f5f9;
}

.customer-sidebar .nav-link.active {
    background: linear-gradient(90deg,var(--accent),var(--accent-dark));
    color: #111;
}

/* ---------------------------
   7) CUSTOMER DASHBOARD CARDS
--------------------------- */
.trust-card {
    background:#fff;
    border-radius:22px;
    padding:18px;
    border:1px solid rgba(2,6,23,.08);
    box-shadow: var(--shadow-sm);
}

.trust-dashboard-hero {
    background: linear-gradient(90deg,#1d4ed8,#2563eb);
    color:#fff;
    border-radius:22px;
    padding:20px 22px;
    box-shadow:0 14px 35px rgba(29,78,216,.25);
}

.trust-avatar {
    width:54px;
    height:54px;
    border-radius:18px;
    display:flex;
    align-items:center;
    justify-content:center;
    font-weight:900;
    font-size:20px;
    background:rgba(255,255,255,.18);
}

/* ---------------------------
   8) ORDERS CARD (FINAL)
--------------------------- */
.trust-order-card {
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:20px;
    padding:18px 20px;
    background:#fff;
    border-radius:18px;
    box-shadow:0 10px 30px rgba(2,6,23,.06);
    border:1px solid rgba(2,6,23,.06);
    transition:.25s ease;
}

.trust-order-card:hover{
    transform:translateY(-3px);
    box-shadow:0 18px 45px rgba(2,6,23,.12);
}

.trust-order-number {
    font-size:15px;
    font-weight:900;
}

.trust-order-total {
    font-size:16px;
    font-weight:900;
}

.trust-order-icon {
    width:44px;
    height:44px;
    border-radius:14px;
    display:flex;
    justify-content:center;
    align-items:center;
    font-size:18px;
    color:#fff;
    background: var(--brand);
}

.trust-status-pill {
    display:inline-flex;
    align-items:center;
    padding:6px 14px;
    border-radius:999px;
    font-size:12px;
    font-weight:800;
    background:rgba(37,99,235,.1);
    color:#1d4ed8;
}

@media(max-width:768px){
    .trust-order-card{
        flex-direction:column;
        align-items:flex-start;
    }
    .trust-order-right{
        width:100%;
        display:flex;
        justify-content:space-between;
        align-items:center;
    }
}

html {
    scroll-behavior: smooth;
}


/* =========================================================
   TRUST ANNOUNCEMENT BAR (RUNNING TEXT / MARQUEE)
========================================================= */

.trust-announcement{
    background: #d9ef63; /* kuning hijau kaya Bite */
    border-bottom: 1px solid rgba(0,0,0,.08);
    overflow: hidden;
    height: 42px;
    display: flex;
    align-items: center;
    font-weight: 900;
    font-size: 13px;
    letter-spacing: .5px;
    text-transform: uppercase;
}

.trust-marquee{
    width: 100%;
    overflow: hidden;
    position: relative;
}

.trust-marquee-track{
    display: flex;
    gap: 60px;
    width: max-content;
    animation: trustMarquee 18s linear infinite;
}

.trust-marquee-track span{
    white-space: nowrap;
    display:inline-flex;
    align-items:center;
    gap: 10px;
    color: #111;
}

/* ✅ pause on hover (lebih premium) */
.trust-announcement:hover .trust-marquee-track{
    animation-play-state: paused;
}

/* animasi jalan terus */
@keyframes trustMarquee{
    from{ transform: translateX(0); }
    to{ transform: translateX(-50%); }
}

/* responsive speed lebih pelan mobile */
@media(max-width: 575px){
    .trust-marquee-track{
        animation-duration: 25s;
    }
}


/*promo*/

.trust-strip--marquee{
  background: #e7f36a; /* kuning bite style */
  border-bottom: 1px solid rgba(2,6,23,.12);
  overflow: hidden;
  font-weight: 900;
  letter-spacing: .4px;
}

.trust-strip-track{
  width: 100%;
  overflow: hidden;
}

.trust-strip-marquee{
  display: flex;
  gap: 40px;
  white-space: nowrap;
  will-change: transform;
  animation: trustMarquee 18s linear infinite;
  padding: 10px 0;
}

.trust-strip-marquee span{
  display:inline-block;
  text-transform: uppercase;
  font-size: 12px;
  color: #0b1220;
}

@keyframes trustMarquee{
  from{ transform: translateX(0); }
  to{ transform: translateX(-33.333%); }
}

/* pause on hover biar "premium" */
.trust-strip--marquee:hover .trust-strip-marquee{
  animation-play-state: paused;
}

/* reduce motion */
@media (prefers-reduced-motion: reduce){
  .trust-strip-marquee{ animation: none; justify-content:center; }
}


/* =========================================================
   TRUSTONE TYPOGRAPHY TUNING (2025 Premium)
   Add-on: make UI less bold, more Nike-like
========================================================= */

:root{
    --font-regular: 400;
    --font-medium: 500;
    --font-semibold: 600;
    --font-bold: 700;
}

/* Global text smoothing */
body{
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Reduce heavy bold everywhere */
h1,h2,h3,h4,h5{
    font-weight: var(--font-bold);
    letter-spacing: -0.02em;
}

p, span, a, li, div{
    font-weight: var(--font-regular);
}

/* Buttons should be bold but not too heavy */
.btn, button{
    font-weight: var(--font-semibold);
}

/* Sidebar menu text reduce weight */
.customer-sidebar .nav-link span,
.customer-nav-btn span{
    font-weight: var(--font-medium);
}

/* Dashboard titles reduce bold */
.trust-dashboard-hero h4,
.trust-dashboard-hero h5{
    font-weight: var(--font-semibold);
}


/* =========================================================
   TRUSTONE FOOTER
========================================================= */
.trust-footer{
    background:#0b1220;
    color:#fff;
    padding: 70px 0 26px;
    margin-top: 70px;
}

.trust-footer-wrap{
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 18px;
}

.trust-footer-grid{
    display:grid;
    grid-template-columns: 1.55fr 1fr 1fr 1.25fr;
    gap: 42px;
}

.trust-footer-logo{
    font-size: 26px;
    font-weight: 900;
    letter-spacing: -0.03em;
}
.trust-footer-logo span{
    color: #3b82f6;
}

.trust-footer-desc{
    margin-top: 12px;
    font-size: 14px;
    color: rgba(255,255,255,.72);
    line-height: 1.7;
    max-width: 340px;
}

.trust-footer-title{
    font-weight: 900;
    font-size: 14px;
    margin-bottom: 16px;
}

.trust-footer-links{
    list-style:none;
    padding:0;
    margin:0;
    display:flex;
    flex-direction:column;
    gap: 10px;
}

.trust-footer-links a{
    color: rgba(255,255,255,.75);
    font-size: 14px;
    transition: .2s ease;
}
.trust-footer-links a:hover{
    color:#fff;
    text-decoration: underline;
}

/* socials */
.trust-footer-social{
    margin-top: 18px;
    display:flex;
    gap: 12px;
}
.trust-footer-social a{
    width: 44px;
    height: 44px;
    border-radius: 16px;
    background: rgba(255,255,255,.08);
    display:flex;
    align-items:center;
    justify-content:center;
    color:#fff;
    transition:.25s ease;
}
.trust-footer-social a:hover{
    background: rgba(255,255,255,.14);
    transform: translateY(-2px);
}

/* newsletter */
.trust-footer-news{
    display:flex;
    gap: 10px;
    margin-top: 14px;
}
.trust-footer-news input{
    flex:1;
    border:none;
    outline:none;
    border-radius: 14px;
    padding: 12px 14px;
    font-size: 13px;
}
.trust-footer-news button{
    border:none;
    border-radius: 14px;
    padding: 12px 18px;
    font-weight: 900;
    background: #fff;
    color:#111;
    cursor:pointer;
    transition:.25s ease;
}
.trust-footer-news button:hover{
    opacity:.92;
    transform: translateY(-2px);
}

/* payment */
.trust-footer-pay{
    margin-top: 18px;
    font-size: 12px;
    color: rgba(255,255,255,.65);
}
.trust-pay-icons{
    margin-top: 10px;
    display:flex;
    gap: 10px;
    flex-wrap: wrap;
}
.trust-pay-pill{
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(255,255,255,.08);
    color: rgba(255,255,255,.85);
    font-size: 11px;
    font-weight: 900;
}

/* bottom */
.trust-footer-bottom{
    border-top: 1px solid rgba(255,255,255,.08);
    margin-top: 52px;
    padding-top: 22px;
    display:flex;
    justify-content: space-between;
    align-items:center;
    gap: 14px;
    font-size: 12px;
    color: rgba(255,255,255,.65);
    flex-wrap: wrap;
}
.trust-footer-mini-links a{
    color: rgba(255,255,255,.80);
}
.trust-footer-mini-links a:hover{
    text-decoration: underline;
}

/* responsive */
@media(max-width: 992px){
    .trust-footer-grid{
        grid-template-columns: 1fr 1fr;
    }
}
@media(max-width: 575px){
    .trust-footer-grid{
        grid-template-columns: 1fr;
    }
}
