/* Public website — same design language as the ERP theme (app.css variables). */
body.site { background: #fff; color: var(--zb-text); font-size: .95rem; }
.site .container { max-width: 1200px; }
.site-header { position: sticky; top: 0; z-index: 1030; background: rgba(255, 255, 255, .85); backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.site-header.scrolled { border-bottom-color: var(--zb-border); box-shadow: 0 6px 24px -12px rgba(15, 23, 42, .18); }
.site-header nav { min-height: 70px; }
.site-brand { --sb-heading: var(--zb-heading); --sb-muted: var(--zb-subtle); color: var(--zb-heading); }
.site-brand .brand-text { font-size: 1rem; letter-spacing: .01em; } .site-brand .brand-text small { letter-spacing: .08em; text-transform: uppercase; }
.site-nav { list-style: none; margin: 0 0 0 1rem; padding: 0; gap: .15rem; }
.site-nav a { display: block; padding: .5rem .7rem; color: var(--zb-text); text-decoration: none; font-weight: 500; font-size: .88rem; border-radius: .5rem; }
.site-nav a:hover { color: var(--zb-primary); background: var(--zb-primary-50); }
.site-login { border-radius: 2rem; padding: .5rem 1.15rem; }
.site-burger { border: 1px solid var(--zb-border); background: #fff; border-radius: .6rem; width: 42px; height: 42px; font-size: 1.4rem; }
@media (max-width: 991.98px) {
  .site-nav.open { display: flex !important; flex-direction: column; position: absolute; top: 70px; left: 0; right: 0; background: #fff; padding: .75rem 1rem 1rem; margin: 0; border-bottom: 1px solid var(--zb-border); box-shadow: 0 20px 30px -20px rgba(15, 23, 42, .3); }
  .site-login { padding: .45rem .9rem; font-size: .85rem; }
}
@media (max-width: 420px) { .site-brand .brand-text small { display: none; } .site-brand .brand-text { font-size: .85rem; max-width: 150px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } }

/* hero */
.hero { position: relative; overflow: hidden; color: #fff; padding: 5.5rem 0 6rem; background: linear-gradient(135deg, #0b1440 0%, #1e2a78 45%, #4361ee 100%); }
.hero-bg { position: absolute; inset: 0; background: radial-gradient(600px 400px at 85% 15%, rgba(124, 58, 237, .5), transparent 60%), radial-gradient(500px 400px at 10% 100%, rgba(20, 184, 166, .35), transparent 60%); }
.hero-bg::after { content: ""; position: absolute; inset: 0; opacity: .12; background-image: linear-gradient(rgba(255, 255, 255, .5) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .5) 1px, transparent 1px); background-size: 48px 48px; mask-image: radial-gradient(circle at 70% 40%, #000, transparent 70%); }
.hero-title { color: #fff; font-size: clamp(2rem, 4.4vw, 3.4rem); font-weight: 800; line-height: 1.08; letter-spacing: -.035em; margin: 1rem 0; }
.hero-text { color: rgba(255, 255, 255, .8); font-size: 1.08rem; max-width: 560px; }
.hero-stats { display: flex; flex-wrap: wrap; gap: 1rem 2.2rem; margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(255, 255, 255, .15); }
.hero-stats b { display: block; font-size: 1.8rem; font-weight: 800; letter-spacing: -.02em; } .hero-stats span { font-size: .8rem; color: rgba(255, 255, 255, .7); }
.hero .btn-light { color: var(--zb-primary-700); }
.eyebrow { display: inline-flex; align-items: center; gap: .4rem; font-size: .74rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--zb-primary); background: var(--zb-primary-50); padding: .35rem .8rem; border-radius: 2rem; }
.eyebrow-light { color: #fff; background: rgba(255, 255, 255, .14); }
.hero-visual { position: relative; height: 420px; }
.loyal-card { position: relative; width: 100%; max-width: 420px; aspect-ratio: 1.586; margin: 0 auto; border-radius: 22px; padding: 1.5rem 1.6rem; color: #fff; display: flex; flex-direction: column; justify-content: space-between;
  background: radial-gradient(400px 200px at 100% 0%, rgba(255, 255, 255, .25), transparent 60%), linear-gradient(135deg, #7c3aed, #4361ee 55%, #0ea5a4); box-shadow: 0 30px 60px -20px rgba(2, 6, 23, .6), inset 0 1px 0 rgba(255, 255, 255, .3); }
.hero-visual .loyal-card { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%) rotate(-6deg); }
.lc-small { font-size: .62rem; letter-spacing: .16em; opacity: .75; font-weight: 600; } .lc-brand { font-weight: 800; letter-spacing: .06em; font-size: .9rem; }
.lc-chip { width: 46px; height: 34px; border-radius: 7px; background: linear-gradient(135deg, #fde68a, #f59e0b); opacity: .9; }
.lc-no { font-size: 1.35rem; letter-spacing: .14em; font-weight: 600; font-variant-numeric: tabular-nums; }
.lc-pts { font-size: 1.6rem; font-weight: 800; }
.loyal-card-lg { max-width: none; }
/* Printed card artwork (static/img/loyalty) */
.loyal-card.lc-art { background: linear-gradient(180deg, rgba(4, 22, 70, .45), rgba(4, 22, 70, 0) 45%, rgba(4, 22, 70, .45)), var(--lc-img) center / cover no-repeat; text-shadow: 0 1px 3px rgba(0, 0, 0, .55); }
.loyal-card.lc-art .lc-bottom { justify-content: flex-end !important; gap: 1.6rem; text-align: right; }
.lc-back-text { font-size: .72rem; line-height: 1.45; max-width: 75%; opacity: .95; }
.flip-card { position: absolute; top: 50%; left: 50%; width: 100%; max-width: 420px; aspect-ratio: 1.586; transform: translate(-50%, -50%) rotate(-6deg); perspective: 1400px; }
.flip-inner { position: relative; width: 100%; height: 100%; transition: transform .9s cubic-bezier(.2, .7, .2, 1); transform-style: preserve-3d; animation: cardflip 9s ease-in-out 2s infinite; }
.flip-card:hover .flip-inner { animation-play-state: paused; transform: rotateY(180deg); }
.flip-inner > .loyal-card { position: absolute; inset: 0; top: 0; left: 0; transform: none; max-width: none; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.flip-inner > .lc-face-back { transform: rotateY(180deg); justify-content: flex-start; }
@keyframes cardflip { 0%, 40% { transform: rotateY(0); } 50%, 90% { transform: rotateY(180deg); } 100% { transform: rotateY(360deg); } }
@media (prefers-reduced-motion: reduce) { .flip-inner { animation: none; } }
.float-chip { position: absolute; display: flex; gap: .65rem; align-items: center; background: #fff; color: var(--zb-heading); border-radius: 14px; padding: .65rem .9rem; box-shadow: 0 18px 40px -12px rgba(2, 6, 23, .45); font-size: .8rem; animation: bob 5s ease-in-out infinite; }
.float-chip i { width: 36px; height: 36px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; background: var(--zb-primary-50); color: var(--zb-primary); font-size: 1.1rem; }
.float-chip b { display: block; } .float-chip span { color: var(--zb-muted); font-size: .72rem; }
.fc-1 { top: 6%; left: 0; } .fc-2 { bottom: 8%; right: 0; animation-delay: -2s; } .fc-3 { top: 2%; right: 6%; animation-delay: -3.5s; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

.values-strip { margin-top: -2.4rem; position: relative; z-index: 2; }
.value-item { display: flex; align-items: center; gap: .8rem; background: #fff; border: 1px solid var(--zb-border); border-radius: 14px; padding: 1rem 1.2rem; box-shadow: var(--zb-shadow); font-weight: 650; color: var(--zb-heading); }
.value-item i { width: 44px; height: 44px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; font-size: 1.25rem; color: #fff; background: linear-gradient(135deg, var(--zb-primary), var(--zb-accent)); }

/* sections */
.section { padding: 5.5rem 0; } .section-alt { background: var(--zb-bg); }
.section-dark { background: linear-gradient(135deg, #0b1440, #1e2a78); color: #fff; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 2.75rem; }
.section-title { font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 800; letter-spacing: -.03em; line-height: 1.15; margin: .9rem 0 .8rem; }
.lead-text { font-size: 1.05rem; color: var(--zb-text); }
.stat-tile { background: #fff; border: 1px solid var(--zb-border); border-radius: 16px; padding: 1.4rem 1.2rem; height: 100%; box-shadow: var(--zb-shadow-sm); }
.stat-tile b { display: block; font-size: 2rem; font-weight: 800; letter-spacing: -.03em; background: linear-gradient(135deg, var(--zb-primary), var(--zb-accent)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat-tile span { color: var(--zb-muted); font-size: .85rem; }
.stat-tile.sm { padding: .9rem .8rem; text-align: center; } .stat-tile.sm b { font-size: 1.2rem; } .stat-tile.sm span { font-size: .72rem; }
.pillar, .step, .service { background: #fff; border: 1px solid var(--zb-border); border-radius: 18px; padding: 1.5rem; height: 100%; transition: transform .2s, box-shadow .2s, border-color .2s; position: relative; }
.pillar:hover, .step:hover, .service:hover { transform: translateY(-4px); box-shadow: var(--zb-shadow); border-color: var(--zb-primary-100); }
.pillar h3, .step h3, .service h3 { font-size: 1.05rem; font-weight: 700; margin: .9rem 0 .4rem; }
.pillar p, .step p, .service p { color: var(--zb-muted); font-size: .88rem; margin: 0; }
.pillar-icon { width: 52px; height: 52px; border-radius: 15px; display: inline-flex; align-items: center; justify-content: center; font-size: 1.4rem; background: var(--zb-primary-50); color: var(--zb-primary); }
.step > i, .service > i { font-size: 1.6rem; color: var(--zb-primary); }
.step-no { position: absolute; top: 1rem; right: 1.2rem; font-size: 2.2rem; font-weight: 800; color: var(--zb-primary-50); line-height: 1; }
.service-no { position: absolute; top: 1.1rem; right: 1.3rem; font-weight: 800; color: var(--zb-subtle); font-size: .85rem; }

/* rewards */
.reward-card { background: #fff; border: 1px solid var(--zb-border); border-radius: 16px; overflow: hidden; transition: transform .2s, box-shadow .2s; }
.reward-card:hover { transform: translateY(-4px); box-shadow: var(--zb-shadow); }
.reward-img { aspect-ratio: 4 / 3; background: linear-gradient(135deg, var(--zb-primary-50), #f5f3ff); display: flex; align-items: center; justify-content: center; }
.reward-img img { width: 100%; height: 100%; object-fit: cover; } .reward-img i { font-size: 2.6rem; color: var(--zb-primary); opacity: .7; }
.reward-name { font-size: .95rem; font-weight: 700; margin: 0; color: var(--zb-heading); }
.reward-code { font-size: .66rem; color: var(--zb-muted); background: var(--zb-surface-2); border: 1px solid var(--zb-border); border-radius: 6px; padding: .1rem .35rem; white-space: nowrap; }
.reward-pts { margin-top: .5rem; display: inline-flex; gap: .35rem; align-items: center; font-weight: 700; color: #b45309; background: #fffbeb; border-radius: 2rem; padding: .2rem .65rem; font-size: .82rem; }

/* lookup */
.lookup-card { border-radius: 24px; padding: 2.2rem; color: #fff; background: radial-gradient(500px 260px at 100% 0%, rgba(124, 58, 237, .5), transparent 60%), linear-gradient(135deg, #1e2a78, #4361ee); box-shadow: 0 30px 60px -30px rgba(30, 42, 120, .7); }
.lookup-inner, .lookup-standalone { background: #fff; color: var(--zb-text); border-radius: 18px; padding: 1.4rem; }
.lookup-standalone { max-width: 860px; margin: -3.5rem auto 0; position: relative; z-index: 2; box-shadow: var(--zb-shadow); border: 1px solid var(--zb-border); }
.lookup-form .form-control { height: 46px; }
.lookup-form .input-group-text { height: 46px; }

/* features */
.feature-tabs { justify-content: center; gap: .6rem; border: 0; }
.feature-tabs .nav-link { display: flex; align-items: center; gap: .7rem; text-align: left; border: 1px solid var(--zb-border); background: #fff; border-radius: 14px; padding: .75rem 1rem; color: var(--zb-text); min-width: 220px; }
.feature-tabs .nav-link i { font-size: 1.3rem; color: var(--zb-primary); }
.feature-tabs .nav-link b { display: block; color: var(--zb-heading); font-size: .9rem; } .feature-tabs .nav-link small { color: var(--zb-muted); font-size: .74rem; }
.feature-tabs .nav-link.active { border-color: var(--zb-primary); box-shadow: 0 10px 30px -14px rgba(67, 97, 238, .6); }
.feature-panel { background: #fff; border: 1px solid var(--zb-border); border-radius: 22px; padding: 2rem; margin: 0; }
.check-list { list-style: none; padding: 0; margin: 1rem 0; } .check-list li { display: flex; gap: .6rem; padding: .35rem 0; }
.check-list i { color: var(--zb-success); }
.feature-art { border-radius: 18px; min-height: 150px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .3rem; color: #fff; font-weight: 700;
  background: radial-gradient(240px 140px at 90% 10%, rgba(255, 255, 255, .25), transparent 60%), linear-gradient(135deg, var(--zb-primary), var(--zb-accent)); }
.feature-art i { font-size: 3rem; }
.genuine-badge { border-radius: 24px; padding: 2.4rem; color: #fff; background: radial-gradient(300px 200px at 100% 0%, rgba(255, 255, 255, .2), transparent 60%), linear-gradient(135deg, #0f766e, #14b8a6); box-shadow: 0 30px 60px -30px rgba(15, 118, 110, .7); }
.genuine-badge i { font-size: 2.6rem; } .genuine-badge h3 { color: #fff; font-weight: 800; margin: 1rem 0 .5rem; } .genuine-badge p { color: rgba(255, 255, 255, .85); margin: 0; }

/* outlets */
.outlet { display: flex; gap: 1rem; background: #fff; border: 1px solid var(--zb-border); border-radius: 16px; padding: 1.2rem; height: 100%; transition: box-shadow .2s, transform .2s; }
.outlet:hover { box-shadow: var(--zb-shadow); transform: translateY(-3px); }
.outlet-icon { width: 50px; height: 50px; flex-shrink: 0; border-radius: 14px; display: inline-flex; align-items: center; justify-content: center; font-size: 1.35rem; color: #fff; background: linear-gradient(135deg, var(--zb-primary), var(--zb-teal)); }
.outlet h3 { font-size: 1rem; font-weight: 700; margin: 0 0 .25rem; } .outlet p { color: var(--zb-muted); font-size: .85rem; margin-bottom: .7rem; }

/* contact */
.contact-list { display: grid; gap: .8rem; }
.contact-list > a, .contact-list > div { display: flex; gap: 1rem; align-items: center; padding: 1rem 1.2rem; border-radius: 16px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); color: #fff; text-decoration: none; }
.contact-list i { font-size: 1.4rem; width: 46px; height: 46px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; background: rgba(255, 255, 255, .12); flex-shrink: 0; }
.contact-list small { display: block; color: rgba(255, 255, 255, .6); font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; }

/* page hero (inner pages) */
.page-hero { padding: 4rem 0 5.5rem; color: #fff; background: radial-gradient(500px 300px at 90% 0%, rgba(124, 58, 237, .5), transparent 60%), linear-gradient(135deg, #0b1440, #1e2a78 50%, #4361ee); }
.page-hero h1 { color: #fff; font-weight: 800; letter-spacing: -.03em; font-size: clamp(1.8rem, 4vw, 2.8rem); margin: .8rem 0 .4rem; }
.page-hero p { color: rgba(255, 255, 255, .78); max-width: 620px; }
.page-hero + .section .loyal-card-lg { margin-top: -3.5rem; }
.qr-box svg { width: 112px; height: 112px; display: block; }

/* footer */
.site-footer { background: #0b1220; color: #94a3b8; padding: 4rem 0 1.5rem; }
.site-footer h6 { color: #fff; font-weight: 700; margin-bottom: 1rem; }
.site-footer a { color: #cbd5e1; text-decoration: none; } .site-footer a:hover { color: #fff; }
.site-footer li { padding: .25rem 0; } .site-contact i { margin-right: .4rem; color: var(--zb-primary-700); }
.site-copy { border-top: 1px solid rgba(255, 255, 255, .08); margin-top: 2.5rem; padding-top: 1.2rem; font-size: .8rem; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; } .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }
@media (max-width: 767.98px) { .section { padding: 3.5rem 0; } .hero { padding: 3.5rem 0 4.5rem; } .feature-tabs .nav-link { min-width: 0; flex: 1 1 45%; } .feature-panel { padding: 1.3rem; } .lookup-card { padding: 1.3rem; } }
@media (max-width: 767.98px) { .value-item { flex-direction: column; text-align: center; gap: .45rem; padding: .8rem .4rem; font-size: .78rem; } .value-item i { width: 38px; height: 38px; font-size: 1.05rem; } }
