:root{
  --bg:#050b18;
  --bg-2:#081227;
  --surface:#0e1a33;
  --surface-2:#132449;
  --line:#1c2c52;
  --blue:#2f6fed;
  --blue-light:#6fa8ff;
  --blue-dim:#173166;
  --accent:#ffb020;
  --text:#f3f6fc;
  --muted:#93a2c2;
  --muted-2:#5f709a;
  --radius:16px;
}
*{box-sizing:border-box; margin:0; padding:0;}
html{scroll-behavior:smooth;}
body{
  background:var(--bg);
  color:var(--text);
  font-family:'Inter', sans-serif;
  line-height:1.5;
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}
html{overflow-x:hidden;}
h1,h2,h3,.display{
  font-family:'Space Grotesk', sans-serif;
  font-weight:600;
  letter-spacing:-0.01em;
}
.mono{font-family:'IBM Plex Mono', monospace;}
a{color:inherit; text-decoration:none;}
ul{list-style:none;}
img{max-width:100%; display:block;}
.wrap{max-width:1180px; margin:0 auto; padding:0 28px;}
section{position:relative;}
button{font-family:inherit;}

body::before{
  content:"";
  position:fixed; top:-20%; left:50%; transform:translateX(-50%);
  width:1100px; height:1100px;
  background:radial-gradient(circle, rgba(47,111,237,0.16) 0%, rgba(47,111,237,0) 65%);
  pointer-events:none; z-index:0;
}

/* ---------- NAVBAR ---------- */
header.nav{
  position:sticky; top:0; z-index:50;
  background:rgba(5,11,24,0.78);
  backdrop-filter:blur(14px);
  border-bottom:1px solid var(--line);
}
.nav-inner{
  max-width:1180px; margin:0 auto; padding:16px 28px;
  display:flex; align-items:center; justify-content:space-between; gap:24px;
}
.logo{display:flex; align-items:center; gap:10px; font-family:'Space Grotesk'; font-weight:700; font-size:19px;}
.logo-mark{
  width:32px; height:32px; border-radius:9px;
  background:linear-gradient(135deg, var(--blue) 0%, var(--blue-light) 100%);
  display:flex; align-items:center; justify-content:center;
  box-shadow:0 0 0 1px rgba(111,168,255,0.25), 0 6px 18px -6px rgba(47,111,237,0.7);
  flex-shrink:0;
}
.logo-mark svg{width:17px; height:17px;}
.nav-links{display:flex; align-items:center; gap:32px;}
.nav-links a{font-size:14.5px; color:var(--muted); font-weight:500; transition:color .2s;}
.nav-links a:hover, .nav-links a.active{color:var(--text);}
.nav-right{display:flex; align-items:center; gap:14px;}
.wallet-pill{
  font-family:'IBM Plex Mono'; font-size:13px; font-weight:600;
  background:var(--surface); border:1px solid var(--line);
  padding:8px 14px; border-radius:100px; color:var(--blue-light); white-space:nowrap; overflow:hidden; text-overflow:ellipsis;
}
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  padding:10px 20px; border-radius:100px; font-size:14.5px; font-weight:600;
  border:1px solid transparent; cursor:pointer; transition:all .18s ease;
}
.btn-primary{background:var(--blue); color:#fff; box-shadow:0 8px 20px -8px rgba(47,111,237,0.8);}
.btn-primary:hover{background:var(--blue-light); transform:translateY(-1px);}
.btn-ghost{background:transparent; border-color:var(--line); color:var(--text);}
.btn-ghost:hover{border-color:var(--blue-light); color:var(--blue-light);}
.btn-block{width:100%;}
.burger{display:none; width:38px; height:38px; border-radius:9px; border:1px solid var(--line); align-items:center; justify-content:center; cursor:pointer; background:transparent;}
.burger svg{width:18px; height:18px; stroke:var(--text);}

/* ---------- PAGE HEADER (for inner pages) ---------- */
.page-head{padding:64px 0 40px; position:relative; z-index:1;}
.page-head .tag{font-family:'IBM Plex Mono'; font-size:12.5px; color:var(--blue-light); display:block; margin-bottom:12px;}
.page-head h1{font-size:38px; margin-bottom:12px;}
.page-head p{color:var(--muted); max-width:520px; font-size:15px;}

/* ---------- HERO (home) ---------- */
.hero{padding:88px 0 60px; position:relative; z-index:1;}
.hero-grid{display:grid; grid-template-columns:1.05fr 0.95fr; gap:48px; align-items:center;}
.eyebrow{
  display:inline-flex; align-items:center; gap:8px;
  font-family:'IBM Plex Mono'; font-size:12.5px; color:var(--blue-light);
  background:var(--blue-dim); border:1px solid #22417f;
  padding:6px 12px; border-radius:100px; margin-bottom:22px;
}
.eyebrow .dot{width:6px; height:6px; border-radius:50%; background:var(--accent); box-shadow:0 0 0 3px rgba(255,176,32,0.25);}
.hero h1{font-size:52px; line-height:1.05; margin-bottom:20px;}
.hero h1 em{font-style:normal; color:var(--blue-light);}
.hero p.lead{font-size:17px; color:var(--muted); max-width:460px; margin-bottom:32px;}
.hero-ctas{display:flex; gap:14px; margin-bottom:36px;}
.trust-row{display:flex; gap:28px; flex-wrap:wrap;}
.trust-row div{font-family:'IBM Plex Mono'; font-size:22px; font-weight:600; color:var(--text);}
.trust-row span{display:block; font-family:'Inter'; font-size:12.5px; color:var(--muted-2); margin-top:2px; font-weight:500;}

.hero-visual{position:relative; height:420px; display:flex; align-items:center; justify-content:center;}
.device-glow{
  position:absolute; width:340px; height:340px; border-radius:50%;
  background:radial-gradient(circle, rgba(47,111,237,0.35), rgba(47,111,237,0) 70%);
  filter:blur(4px);
}
.device-card{
  position:relative; width:230px; height:340px; border-radius:28px;
  background:linear-gradient(160deg, var(--surface-2), var(--surface));
  border:1px solid var(--line);
  box-shadow:0 30px 60px -20px rgba(0,0,0,0.6);
  padding:18px;
  display:flex; flex-direction:column; justify-content:space-between;
  animation:float 5s ease-in-out infinite;
}
.device-card .screen-dot{width:36px; height:36px; border-radius:10px; background:var(--blue-dim); border:1px solid #22417f; display:flex; align-items:center; justify-content:center;}
.device-card .screen-dot svg{width:18px; height:18px;}
.device-bars{display:flex; flex-direction:column; gap:8px;}
.device-bars .bar{height:8px; border-radius:4px; background:var(--line);}
.device-bars .bar:nth-child(1){width:80%;}
.device-bars .bar:nth-child(2){width:55%;}
.price-chip{
  position:absolute; top:14px; right:-38px;
  background:var(--surface); border:1px solid var(--line);
  padding:10px 14px; border-radius:14px;
  box-shadow:0 14px 30px -12px rgba(0,0,0,0.55);
  font-family:'IBM Plex Mono'; font-size:12.5px;
  animation:float 5s ease-in-out infinite; animation-delay:.6s;
}
.price-chip .old{color:var(--muted-2); text-decoration:line-through; margin-right:6px;}
.price-chip .new{color:var(--accent); font-weight:600;}
.ticker-chip{
  position:absolute; bottom:6px; left:-30px;
  background:var(--surface); border:1px solid var(--line);
  padding:10px 14px; border-radius:14px; display:flex; align-items:center; gap:8px;
  box-shadow:0 14px 30px -12px rgba(0,0,0,0.55);
  font-size:12.5px; color:var(--muted);
  animation:float 5s ease-in-out infinite; animation-delay:1.1s;
}
.ticker-chip .pulse{width:8px; height:8px; border-radius:50%; background:#34d399; box-shadow:0 0 0 4px rgba(52,211,153,0.2);}
@keyframes float{0%,100%{transform:translateY(0);} 50%{transform:translateY(-10px);}}

/* ---------- SECTION HEAD ---------- */
.section-head{display:flex; align-items:flex-end; justify-content:space-between; gap:20px; margin-bottom:32px; flex-wrap:wrap;}
.section-head .tag{font-family:'IBM Plex Mono'; font-size:12.5px; color:var(--blue-light); margin-bottom:10px; display:block;}
.section-head h2{font-size:30px;}
.section-head a.more{font-size:14px; color:var(--muted); font-weight:600; white-space:nowrap;}
.section-head a.more:hover{color:var(--blue-light);}

/* ---------- CATEGORIES ---------- */
.categories{padding:20px 0 70px; position:relative; z-index:1;}
.cat-grid{display:grid; grid-template-columns:repeat(4,1fr); gap:16px;}
.cat-card{
  background:var(--surface); border:1px solid var(--line); border-radius:var(--radius);
  padding:24px; transition:all .2s ease; cursor:pointer;
}
.cat-card:hover{border-color:var(--blue); transform:translateY(-3px); box-shadow:0 16px 30px -18px rgba(47,111,237,0.5);}
.cat-icon{
  width:44px; height:44px; border-radius:12px; background:var(--blue-dim);
  display:flex; align-items:center; justify-content:center; margin-bottom:18px;
}
.cat-icon svg{width:22px; height:22px; stroke:var(--blue-light);}
.cat-card h3{font-size:16.5px; margin-bottom:4px;}
.cat-card p{font-size:13px; color:var(--muted-2);}

/* ---------- PRODUCTS ---------- */
.products{padding:20px 0 76px; position:relative; z-index:1;}
.filter-row{display:flex; gap:10px; margin-bottom:30px; flex-wrap:wrap;}
.filter-pill{
  font-size:13.5px; font-weight:500; padding:8px 16px; border-radius:100px;
  border:1px solid var(--line); color:var(--muted); cursor:pointer; background:transparent;
}
.filter-pill.active{background:var(--blue); border-color:var(--blue); color:#fff;}
.prod-grid{display:grid; grid-template-columns:repeat(4,1fr); gap:18px;}
.prod-card{
  background:var(--surface); border:1px solid var(--line); border-radius:var(--radius);
  overflow:hidden; transition:all .2s ease;
}
.prod-card:hover{border-color:var(--blue); transform:translateY(-4px); box-shadow:0 20px 34px -20px rgba(47,111,237,0.55);}
.prod-thumb{
  height:150px; background:linear-gradient(150deg, var(--surface-2), var(--bg-2));
  display:flex; align-items:center; justify-content:center; position:relative;
}
.prod-thumb svg{width:52px; height:52px; stroke:var(--blue-light); opacity:.9;}
.prod-badge{
  position:absolute; top:10px; left:10px; background:var(--accent); color:#1a1300;
  font-family:'IBM Plex Mono'; font-size:11px; font-weight:600;
  padding:3px 9px; border-radius:100px;
}
.prod-body{padding:16px 16px 18px;}
.prod-cat{font-size:11.5px; color:var(--muted-2); font-family:'IBM Plex Mono'; margin-bottom:6px; text-transform:uppercase; letter-spacing:.04em;}
.prod-body h4{font-size:15.5px; margin-bottom:10px; font-weight:600;}
.prod-price-row{display:flex; align-items:center; justify-content:space-between;}
.prod-price{font-family:'IBM Plex Mono'; font-weight:600; color:var(--text); font-size:15px;}
.prod-old{font-family:'IBM Plex Mono'; font-size:12px; color:var(--muted-2); text-decoration:line-through; margin-right:6px;}
.add-btn{
  width:34px; height:34px; border-radius:10px; background:var(--blue-dim); border:1px solid #22417f;
  display:flex; align-items:center; justify-content:center; cursor:pointer; transition:all .18s;
}
.add-btn:hover{background:var(--blue);}
.add-btn svg{width:16px; height:16px;}
.pagination{display:flex; justify-content:center; gap:8px; margin-top:44px;}
.page-btn{
  width:38px; height:38px; border-radius:10px; border:1px solid var(--line); color:var(--muted);
  display:flex; align-items:center; justify-content:center; font-size:13.5px; font-family:'IBM Plex Mono'; cursor:pointer;
}
.page-btn.active{background:var(--blue); border-color:var(--blue); color:#fff;}

/* ---------- PROCESS ---------- */
.process{padding:20px 0 90px; position:relative; z-index:1;}
.process-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:22px; margin-top:36px;}
.process-card{
  background:var(--surface); border:1px solid var(--line); border-radius:var(--radius); padding:30px;
  position:relative;
}
.process-num{
  font-family:'IBM Plex Mono'; font-size:13px; color:var(--blue-light);
  border:1px solid var(--line); width:36px; height:36px; border-radius:10px;
  display:flex; align-items:center; justify-content:center; margin-bottom:22px;
}
.process-card h3{font-size:18px; margin-bottom:10px;}
.process-card p{font-size:14px; color:var(--muted); margin-bottom:14px;}
.process-tag{font-family:'IBM Plex Mono'; font-size:11.5px; color:var(--muted-2); border-top:1px dashed var(--line); padding-top:14px; display:block;}

/* ---------- CTA BAND ---------- */
.cta-band{padding:0 0 90px; position:relative; z-index:1;}
.cta-box{
  background:linear-gradient(120deg, var(--blue-dim), var(--surface) 70%);
  border:1px solid #22417f; border-radius:24px;
  padding:52px 56px; display:flex; align-items:center; justify-content:space-between; gap:30px;
  flex-wrap:wrap;
}
.cta-box h2{font-size:28px; max-width:420px;}
.cta-box p{color:var(--muted); margin-top:10px; max-width:420px; font-size:14.5px;}

/* ---------- FORMS (contact / connexion) ---------- */
.form-shell{padding:10px 0 100px; position:relative; z-index:1;}
.form-grid{display:grid; grid-template-columns:1fr 1fr; gap:40px;}
.form-card{
  background:var(--surface); border:1px solid var(--line); border-radius:20px; padding:36px;
}
.field{margin-bottom:20px;}
.field label{display:block; font-size:13px; color:var(--muted); margin-bottom:8px; font-weight:500;}
.field input, .field textarea{
  width:100%; background:var(--bg-2); border:1px solid var(--line); border-radius:12px;
  padding:12px 14px; color:var(--text); font-size:14.5px; font-family:'Inter';
}
.field input:focus, .field textarea:focus{outline:none; border-color:var(--blue);}
.field textarea{resize:vertical; min-height:120px;}
.info-card{
  background:var(--surface); border:1px solid var(--line); border-radius:16px; padding:24px;
  display:flex; gap:16px; align-items:flex-start; margin-bottom:16px;
}
.info-card .cat-icon{margin-bottom:0; flex-shrink:0;}
.info-card h4{font-size:15.5px; margin-bottom:4px;}
.info-card p{font-size:13.5px; color:var(--muted-2);}
.info-card a{color:var(--blue-light); font-weight:600;}

/* ---------- LOGIN / SIGNUP ---------- */
.auth-shell{padding:70px 0 110px; display:flex; justify-content:center; position:relative; z-index:1;}
.auth-card{width:100%; max-width:420px; background:var(--surface); border:1px solid var(--line); border-radius:20px; padding:38px;}
.auth-tabs{display:flex; background:var(--bg-2); border:1px solid var(--line); border-radius:100px; padding:4px; margin-bottom:28px;}
.auth-tab{flex:1; text-align:center; padding:9px 0; border-radius:100px; font-size:13.5px; font-weight:600; color:var(--muted); cursor:pointer; transition:all .18s;}
.auth-tab.active{background:var(--blue); color:#fff;}
.auth-panel{display:none;}
.auth-panel.active{display:block;}
.auth-foot{text-align:center; margin-top:18px; font-size:13px; color:var(--muted-2);}
.auth-foot a{color:var(--blue-light); font-weight:600;}
.divider{display:flex; align-items:center; gap:12px; margin:22px 0; color:var(--muted-2); font-size:12px;}
.divider::before, .divider::after{content:""; flex:1; height:1px; background:var(--line);}

/* ---------- TUTORIALS ---------- */
.tut-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:20px; padding-bottom:100px; position:relative; z-index:1;}
.tut-card{background:var(--surface); border:1px solid var(--line); border-radius:var(--radius); padding:26px; transition:all .2s;}
.tut-card:hover{border-color:var(--blue); transform:translateY(-3px);}
.tut-step{font-family:'IBM Plex Mono'; font-size:11.5px; color:var(--blue-light); background:var(--blue-dim); border:1px solid #22417f; display:inline-block; padding:3px 10px; border-radius:100px; margin-bottom:16px;}
.tut-card h3{font-size:17px; margin-bottom:8px;}
.tut-card p{font-size:13.5px; color:var(--muted); margin-bottom:16px;}
.tut-card .more{font-size:13.5px; color:var(--blue-light); font-weight:600;}

/* ---------- FOOTER ---------- */
footer{border-top:1px solid var(--line); padding:56px 0 32px; position:relative; z-index:1;}
.footer-grid{display:grid; grid-template-columns:1.4fr 1fr 1fr 1fr; gap:40px; margin-bottom:44px;}
.footer-grid h5{font-size:13px; color:var(--muted-2); margin-bottom:16px; font-weight:600; text-transform:uppercase; letter-spacing:.05em;}
.footer-grid ul li{margin-bottom:11px;}
.footer-grid ul li a{font-size:14px; color:var(--muted); transition:color .2s;}
.footer-grid ul li a:hover{color:var(--blue-light);}
.footer-about p{font-size:13.5px; color:var(--muted-2); margin-top:14px; max-width:280px; line-height:1.6;}
.wa-float{
  display:inline-flex; align-items:center; gap:8px; margin-top:18px;
  background:var(--surface); border:1px solid var(--line); padding:9px 14px; border-radius:100px;
  font-size:13px; color:var(--text); font-weight:500;
}
.wa-float svg{width:16px; height:16px; stroke:#34d399;}
.footer-bottom{
  display:flex; justify-content:space-between; align-items:center; padding-top:26px;
  border-top:1px solid var(--line); font-size:12.5px; color:var(--muted-2); flex-wrap:wrap; gap:12px;
}

/* ---------- DASHBOARD ---------- */
.dash-shell{padding:40px 0 100px; position:relative; z-index:1;}
.dash-grid{display:grid; grid-template-columns:240px 1fr; gap:28px; align-items:start;}
.dash-side{
  background:var(--surface); border:1px solid var(--line); border-radius:18px; padding:20px;
  position:sticky; top:90px;
}
.dash-user{display:flex; align-items:center; gap:12px; padding:6px 6px 18px; border-bottom:1px solid var(--line); margin-bottom:14px;}
.dash-avatar{width:40px; height:40px; border-radius:50%; background:linear-gradient(135deg, var(--blue), var(--blue-light)); display:flex; align-items:center; justify-content:center; font-family:'Space Grotesk'; font-weight:700; font-size:15px; flex-shrink:0;}
.dash-user h4{font-size:14.5px;}
.dash-user span{font-size:12px; color:var(--muted-2);}
.dash-nav-item{
  display:flex; align-items:center; gap:12px; padding:11px 12px; border-radius:11px;
  width:100%; border:0; background:transparent; text-align:left; font:500 14px 'Inter'; color:var(--muted); cursor:pointer; transition:all .18s;
}
.dash-nav-item svg{width:17px; height:17px; flex-shrink:0;}
.dash-nav-item:hover{background:var(--bg-2); color:var(--text);}
.dash-nav-item.active{background:var(--blue-dim); color:var(--blue-light); border:1px solid #22417f;}
.dash-nav-item.danger{color:#f87171; margin-top:10px; border-top:1px solid var(--line); border-radius:0; padding-top:16px;}

.dash-welcome{display:flex; align-items:center; justify-content:space-between; gap:20px; margin-bottom:26px; flex-wrap:wrap;}
.dash-welcome h1{font-size:26px; margin-bottom:6px;}
.dash-welcome p{color:var(--muted-2); font-size:14px;}

.stat-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:16px; margin-bottom:32px;}
.stat-card{background:var(--surface); border:1px solid var(--line); border-radius:16px; padding:22px;}
.stat-card .stat-icon{width:36px; height:36px; border-radius:10px; background:var(--blue-dim); display:flex; align-items:center; justify-content:center; margin-bottom:16px;}
.stat-card .stat-icon svg{width:18px; height:18px; stroke:var(--blue-light);}
.stat-card .stat-val{font-family:'IBM Plex Mono'; font-size:24px; font-weight:600; margin-bottom:4px;}
.stat-card .stat-label{font-size:13px; color:var(--muted-2);}
.stat-card .stat-trend{font-size:12px; color:#34d399; margin-top:8px; font-family:'IBM Plex Mono';}

.dash-panel{background:var(--surface); border:1px solid var(--line); border-radius:18px; padding:26px; margin-bottom:24px;}
.dash-panel-head{display:flex; align-items:center; justify-content:space-between; margin-bottom:20px;}
.dash-panel-head h3{font-size:17px;}
.dash-panel-head a{font-size:13px; color:var(--blue-light); font-weight:600;}

.order-table{width:100%; border-collapse:collapse;}
.order-table th{text-align:left; font-size:11.5px; color:var(--muted-2); text-transform:uppercase; letter-spacing:.04em; font-weight:600; padding:0 12px 12px; border-bottom:1px solid var(--line);}
.order-table td{padding:14px 12px; font-size:13.5px; border-bottom:1px solid var(--line); color:var(--text);}
.order-table tr:last-child td{border-bottom:none;}
.order-table .o-id{font-family:'IBM Plex Mono'; color:var(--muted-2);}
.status{display:inline-flex; align-items:center; gap:6px; font-size:12px; font-weight:600; padding:4px 10px; border-radius:100px;}
.status.done{background:rgba(52,211,153,0.12); color:#34d399;}
.status.pending{background:rgba(255,176,32,0.12); color:var(--accent);}
.status.failed{background:rgba(248,113,113,0.12); color:#f87171;}

.quick-topup{display:flex; gap:12px; flex-wrap:wrap;}
.quick-topup .btn-ghost{border-radius:12px; padding:14px 18px; flex:1; min-width:140px; flex-direction:column; align-items:flex-start; gap:2px;}
.quick-topup .btn-ghost .amt{font-family:'IBM Plex Mono'; font-size:16px; font-weight:600; color:var(--text);}
.quick-topup .btn-ghost .lbl{font-size:11.5px; color:var(--muted-2);}
.wallet-recharge-modal{position:fixed; inset:0; z-index:100; display:flex; align-items:center; justify-content:center; padding:20px; background:rgba(2,6,18,.78); backdrop-filter:blur(8px);}
.wallet-recharge-modal[hidden]{display:none;}
.wallet-recharge-card{position:relative; width:min(500px,100%); max-height:calc(100dvh - 40px); overflow-y:auto; padding:28px; background:var(--surface); border:1px solid var(--line); border-radius:20px; box-shadow:0 24px 70px rgba(0,0,0,.5);}
.wallet-recharge-card h2{font-size:25px; margin:10px 0 6px;}
.wallet-recharge-copy{color:var(--muted); font-size:13px; margin-bottom:18px;}
.wallet-recharge-close{position:absolute; top:14px; right:16px; width:32px; height:32px; border:1px solid var(--line); border-radius:9px; color:var(--text); background:transparent; font-size:22px; cursor:pointer;}
.recharge-payment-info{padding:12px; margin:-4px 0 18px; border:1px solid #22417f; border-radius:10px; color:var(--blue-light); background:var(--blue-dim); font-size:13px;}
.wallet-recharge-message{margin-top:14px; padding:12px; border-radius:10px; font-size:13px;}
.wallet-recharge-message.success{color:#34d399; background:rgba(52,211,153,.1);}
.wallet-recharge-message.error{color:#f87171; background:rgba(248,113,113,.1);}
body.recharge-open{overflow:hidden;}
.empty-orders{color:var(--muted-2) !important; text-align:center; padding:28px !important;}
.settings-copy{color:var(--muted); font-size:14px;}

/* ---------- RESPONSIVE ---------- */
@media (max-width:980px){
  .dash-grid{grid-template-columns:1fr;}
  .dash-side{position:static;}
  .stat-grid{grid-template-columns:1fr 1fr;}
  .hero-grid{grid-template-columns:1fr;}
  .hero-visual{margin-top:20px;}
  .cat-grid{grid-template-columns:repeat(2,1fr);}
  .prod-grid{grid-template-columns:repeat(2,1fr);}
  .process-grid{grid-template-columns:1fr;}
  .footer-grid{grid-template-columns:1fr 1fr;}
  .form-grid{grid-template-columns:1fr;}
  .tut-grid{grid-template-columns:repeat(2,1fr);}
  .nav-links{display:none;}
  .burger{display:flex;}
  .nav-inner{padding:12px 18px; gap:10px;}
  .nav-right{gap:7px; min-width:0;}
  .wallet-pill{min-width:0; max-width:72px; padding:7px 7px; font-size:10px; white-space:nowrap;}
  .profile-menu > [data-profile-link]{max-width:44px; padding:7px; gap:0;}
  .profile-label{display:none;}
}
@media (max-width:560px){
  .stat-grid{grid-template-columns:1fr;}
  .order-table{display:block; overflow-x:auto;}
  .hero h1{font-size:34px;}
  .page-head h1{font-size:28px;}
  .cat-grid{grid-template-columns:1fr;}
  .prod-grid{grid-template-columns:1fr;}
  .cta-box{padding:36px 26px;}
  .footer-grid{grid-template-columns:1fr;}
  .price-chip, .ticker-chip{display:none;}
  .tut-grid{grid-template-columns:1fr;}
  .auth-card{padding:28px;}
  .dash-shell{padding-top:24px; padding-bottom:50px;}
  .dash-panel{padding:18px;}
  .dash-panel-head{align-items:flex-start; gap:10px;}
  .wallet-recharge-modal{padding:12px; align-items:flex-start; overflow-y:auto;}
  .wallet-recharge-card{max-height:none; margin:12px 0; padding:22px 18px;}
  .auth-shell{min-height:calc(100dvh - 96px); padding:24px 12px 40px;}
  .auth-card{padding:22px 18px;}
}
