:root{--ink:#0f172a;--muted:#64748b;--line:#e5e7eb;--blue:#0ea5e9;--blue2:#2563eb}
*{box-sizing:border-box}
body{margin:0;font-family:system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;color:var(--ink);background:#f8fafc}
.container{max-width:1200px;margin:0 auto;padding:0 16px}
a{color:inherit}
.topbar{background:linear-gradient(90deg,#b91c1c 0%, #334155 100%);color:#fff;font-size:14px}
.topbar-inner{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:10px 0;flex-wrap:wrap}
.topbar a{color:#fff;text-decoration:none;margin-right:14px;opacity:.95}
.topbar a:hover{opacity:1;text-decoration:underline}
.topbar-right{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.pill{border:1px solid rgba(255,255,255,.35);border-radius:12px;padding:6px 10px;text-decoration:none}
.header{background:#fff;border-bottom:1px solid var(--line)}
.header-inner{display:flex;justify-content:space-between;align-items:center;gap:18px;padding:14px 0;flex-wrap:wrap}
.brand{display:flex;align-items:center;gap:12px;text-decoration:none}
.brand-icon{height:44px;width:44px}
.brand-name{font-weight:900;font-size:18px}
.brand-tag{font-size:12px;color:var(--blue2);margin-top:2px}
.nav{display:flex;gap:10px;flex-wrap:wrap}
.nav a{text-decoration:none;font-weight:700;font-size:14px;color:var(--ink);padding:8px 10px;border-radius:12px}
.nav a:hover{background:#f1f5f9}
.hero{padding:54px 0;color:#fff;background:
radial-gradient(circle at 15% 25%, rgba(14,165,233,.35), transparent 55%),
radial-gradient(circle at 88% 18%, rgba(220,38,38,.35), transparent 55%),
linear-gradient(90deg,#0b2a45 0%, #1a1f3b 45%, #2b1630 100%)}
.hero h1{font-size:56px;line-height:1.05;margin:10px 0 12px;font-weight:900}
.hero p{font-size:18px;color:rgba(255,255,255,.85);max-width:680px}
.hero .kicker{color:rgba(255,255,255,.75);font-weight:600}
.searchbar{display:flex;margin-top:22px;max-width:860px}
.searchbar input{flex:1;border:0;border-radius:12px 0 0 12px;padding:16px 18px;font-size:16px;outline:none}
.searchbar button{border:0;background:#0b72b9;color:#fff;padding:16px 18px;border-radius:0 12px 12px 0;font-weight:800;cursor:pointer}
.section{padding:28px 0}
.grid3{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.card{background:#fff;border:1px solid var(--line);border-radius:18px;padding:18px;box-shadow:0 10px 30px rgba(2,6,23,.04)}
.card h3{margin:0 0 8px;font-size:18px}
.card p{margin:0;color:var(--muted);line-height:1.5}
.products-head{display:flex;justify-content:space-between;align-items:end;gap:12px;flex-wrap:wrap}
.products-head h2{margin:0;font-size:30px}
.muted{color:var(--muted)}
.btn{display:inline-flex;align-items:center;justify-content:center;border:1px solid var(--line);background:#fff;border-radius:12px;padding:10px 14px;text-decoration:none;font-weight:800}
.btn:hover{background:#f1f5f9}
.grid4{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;margin-top:18px}
.pcard{background:#fff;border:1px solid var(--line);border-radius:18px;overflow:hidden;box-shadow:0 10px 30px rgba(2,6,23,.04)}
.pcover{height:180px;background:linear-gradient(135deg,#e2e8f0,#f8fafc);display:flex;align-items:center;justify-content:center}
.pcover img{max-width:70%;opacity:.85}
.pbody{padding:14px}
.ptitle{font-weight:900;margin:4px 0 6px;font-size:16px;text-decoration:none;display:block}
.pmeta{color:var(--muted);font-size:13px;margin-bottom:12px}
.pfoot{display:flex;justify-content:space-between;align-items:center;padding:0 14px 14px}
.price{background:#16a34a;color:#fff;font-weight:900;border-radius:12px;padding:8px 12px}
.footer{margin-top:40px;background:#0b1220;color:#e2e8f0}
.footer-inner{padding:26px 0;display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap}
.footer-title{font-weight:900;font-size:18px;margin-bottom:6px}
.footer-links{display:flex;gap:14px;flex-wrap:wrap}
.footer-links a{color:#e2e8f0;text-decoration:none;opacity:.9}
.footer-links a:hover{opacity:1;text-decoration:underline}
.py-5{padding:40px 0}
input,button,select,textarea{font-family:inherit}
.form{max-width:520px}
.form label{display:block;font-weight:800;margin:12px 0 6px}
.form input{width:100%;padding:12px 12px;border:1px solid var(--line);border-radius:12px;background:#fff}
.form .row{display:flex;gap:10px}
.form .row > *{flex:1}
.alert{padding:12px 14px;border-radius:12px;margin:12px 0}
.alert-error{background:#fee2e2;border:1px solid #fecaca;color:#7f1d1d}
.alert-ok{background:#dcfce7;border:1px solid #bbf7d0;color:#14532d}
@media (max-width: 980px){.grid4{grid-template-columns:repeat(2,1fr)}.hero h1{font-size:44px}}
@media (max-width: 640px){.grid3{grid-template-columns:1fr}.grid4{grid-template-columns:1fr}.brand-tag{display:none}.hero h1{font-size:34px}}

.table{width:100%;border-collapse:separate;border-spacing:0;border:1px solid #e5e7eb;border-radius:14px;overflow:hidden;background:#fff}
.table th,.table td{padding:12px;border-bottom:1px solid #e5e7eb;text-align:left}
.table th{background:#f1f5f9;font-weight:900}
.table tr:last-child td{border-bottom:none}

.btn.primary{background:#0b72b9;border-color:#0b72b9;color:#fff}




/* --- Product card v2 layout (clean) --- */
.pcard{display:flex;flex-direction:column}
.pcover{height:170px}
.pbody{padding:16px;flex:1}
.ptitle{font-size:17px;line-height:1.25}
.pmeta{min-height:40px;margin-top:4px}
.pfoot{padding:14px 16px 16px;border-top:1px solid var(--line);display:flex;flex-direction:column;gap:12px}
.pactions{display:flex;gap:10px}
.pactions .btn{flex:1;padding:11px 12px;border-radius:14px;font-weight:900}
.pactions .btn.ghost{background:#fff;border-color:#e5e7eb;color:#0f172a}
.pactions .btn.primary{background:#0b72b9;border-color:#0b72b9;color:#fff}
.pmeta-row{display:flex;justify-content:space-between;align-items:center;gap:10px}
.pid{color:#94a3b8;font-weight:900}
.price{min-width:120px;text-align:center}


/* --- Product card actions (compact, pro) --- */
.pactions{display:flex;gap:10px}
.pactions .btn{
  flex:1;
  padding:9px 10px;
  border-radius:12px;
  font-weight:900;
  font-size:13px;
  letter-spacing:.2px;
}
.btn.buy{
  background:#ef4444;
  border-color:#ef4444;
  color:#fff;
}
.btn.buy:hover{filter:brightness(0.98)}
.btn.ghost{
  background:#fff;
  border-color:#e5e7eb;
  color:#0f172a;
}


/* Cover images: fill card area */
.pcover{overflow:hidden}
.pcover img{width:100%;height:100%;object-fit:cover;max-width:none;opacity:1}

.stats{margin-top:14px;color:rgba(255,255,255,.75);font-weight:700}


/* --- Feature cards (visual) --- */
.feature-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.fcard{background:#fff;border:1px solid var(--line);border-radius:18px;padding:18px;box-shadow:0 10px 30px rgba(2,6,23,.04);display:flex;gap:14px;align-items:flex-start}
.ficon{height:44px;width:44px;border-radius:14px;display:grid;place-items:center;background:linear-gradient(135deg,#e0f2fe,#eef2ff);border:1px solid #e5e7eb;flex:0 0 auto}
.ficon svg{width:22px;height:22px}
.ftext h3{margin:2px 0 6px;font-size:18px}
.ftext p{margin:0;color:var(--muted);line-height:1.5}
@media(max-width: 980px){.feature-grid{grid-template-columns:1fr}}


/* --- References marquee --- */
.refs{padding:26px 0 34px}
.refs-head{display:flex;justify-content:space-between;align-items:end;gap:12px;flex-wrap:wrap;margin-bottom:14px}
.refs-head h2{margin:0;font-size:26px}
.refs-head .muted{max-width:720px}
.marquee{
  position:relative;
  overflow:hidden;
  border:1px solid var(--line);
  border-radius:18px;
  background:#fff;
  box-shadow:0 10px 30px rgba(2,6,23,.04);
}
.marquee::before,.marquee::after{
  content:"";
  position:absolute;top:0;bottom:0;width:64px;z-index:2;
  pointer-events:none;
}
.marquee::before{left:0;background:linear-gradient(90deg,#fff 0%, rgba(255,255,255,0) 100%)}
.marquee::after{right:0;background:linear-gradient(270deg,#fff 0%, rgba(255,255,255,0) 100%)}
.track{
  display:flex;
  gap:34px;
  padding:18px 22px;
  align-items:center;
  width:max-content;
  animation: marquee 28s linear infinite;
}
.marquee:hover .track{animation-play-state:paused}
.rlogo{
  height:34px;
  width:auto;
  opacity:.9;
  filter:grayscale(100%);
  transition:all .18s ease;
}
.ritem{display:flex;align-items:center;gap:10px;text-decoration:none}
.ritem:hover .rlogo{filter:none;opacity:1;transform:translateY(-1px)}
@keyframes marquee{
  0%{transform:translateX(0)}
  100%{transform:translateX(-50%)}
}
@media(max-width:640px){
  .track{gap:22px}
  .rlogo{height:28px}
}

.badge{display:inline-flex;align-items:center;padding:6px 10px;border-radius:999px;font-weight:900;font-size:12px;border:1px solid #e5e7eb}


/* --- Support chat (account) --- */
.chat-wrap{display:grid;grid-template-columns:360px 1fr;gap:14px;align-items:start}
.chat-box{border:1px solid var(--line);border-radius:18px;background:#fff;box-shadow:0 10px 30px rgba(2,6,23,.04);overflow:hidden}
.chat-head{padding:14px 16px;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;gap:10px;align-items:center}
.chat-head .t{font-weight:1000}
.chat-body{padding:14px 16px;max-height:420px;overflow:auto;background:linear-gradient(180deg,#fff 0%, #f8fafc 100%)}
.bubble{max-width:78%;padding:10px 12px;border-radius:14px;margin:8px 0;line-height:1.4;font-size:14px}
.bubble.user{margin-left:auto;background:#0b72b9;color:#fff;border-bottom-right-radius:6px}
.bubble.admin{margin-right:auto;background:#f1f5f9;color:#0f172a;border-bottom-left-radius:6px;border:1px solid #e5e7eb}
.bmeta{font-size:12px;opacity:.75;margin-top:6px}
.chat-form{display:flex;gap:10px;padding:14px 16px;border-top:1px solid var(--line);background:#fff}
.chat-form textarea{flex:1;min-height:44px;max-height:120px;resize:vertical}
.ticket-list .card{padding:14px}
.ticket-item{padding:10px 0;border-top:1px solid #e5e7eb;text-decoration:none;display:block}
.ticket-item:first-child{border-top:none}
.ticket-item .s{font-weight:900}
.ticket-item .m{color:var(--muted);font-size:13px;margin-top:4px}
@media(max-width:980px){.chat-wrap{grid-template-columns:1fr}.chat-body{max-height:320px}}
