/* ============================================================
   SHUNET PAGES — Shared Stylesheet
   Covers: index, category, register, 404, about, plans, login,
           shop detail (separate file: shunet-detail.css)
   
   Include in <head>:
   <link rel="stylesheet" href="/assets/css/shunet-pages.css">
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Vazirmatn:wght@300;400;500;600;700;800&family=JetBrains+Mono:wght@400;500&display=swap');

:root {
  --bg: #f5f1ea;
  --paper: #fbf8f3;
  --ink: #2a241e;
  --ink-2: #5a3e36;
  --ink-3: #8a7a6a;
  --line: #e5dfd3;
  --line-2: #efeae0;
  --sage: #9caf88;
  --sage-deep: #6e8a5c;
  --sage-soft: #e8efe1;
  --clay: #c97a4a;
  --clay-soft: #f5e3d6;
  --gold: #c9a04a;
  --gold-soft: #f5ecd6;
  --plum: #7a4a6a;
  --plum-soft: #f0e2ec;
  --berry: #b85a6a;
  --berry-soft: #fbeaec;
}

* { box-sizing: border-box; }
body.shunet {
  margin: 0;
  background: var(--bg);
  font-family: 'Vazirmatn', system-ui, sans-serif;
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  direction: rtl;
  min-height: 100vh;
}
.shunet .mono { font-family: 'JetBrains Mono', monospace; }
.shunet a { color: inherit; text-decoration: none; }
.shunet button { font-family: inherit; cursor: pointer; }
.shunet svg { display: block; }
.shunet img { display: block; max-width: 100%; }

/* Container */
.shunet .page {
  max-width: 480px;
  margin: 0 auto;
  background: var(--bg);
  min-height: 100vh;
  position: relative;
  padding-bottom: 100px;
}

/* ===== Common pills ===== */
.shunet .pill {
  font-size: 11px; padding: 3px 9px; border-radius: 999px;
  font-weight: 600;
  display: inline-flex; align-items: center; gap: 4px;
}
.shunet .pill--clay { background: var(--clay-soft); color: var(--clay); }
.shunet .pill--gold { background: var(--gold-soft); color: #8a6a2a; }
.shunet .pill--plum { background: var(--plum-soft); color: var(--plum); }
.shunet .pill--sage { background: var(--sage-soft); color: var(--sage-deep); }
.shunet .pill--berry { background: var(--berry-soft); color: var(--berry); }
.shunet .pill--ink  { background: var(--ink); color: var(--paper); }
.shunet .pill--neutral { background: var(--bg); color: var(--ink-2); }

/* ===== Section heads ===== */
.shunet .section-title {
  font-size: 11px; font-weight: 700; margin: 0 0 10px;
  text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--ink-3); font-family: 'JetBrains Mono', monospace;
}
.shunet .sec-h {
  padding: 16px 18px 8px;
  display: flex; justify-content: space-between; align-items: baseline;
}
.shunet .sec-h h3 { font-size: 14px; font-weight: 700; margin: 0; letter-spacing: -0.01em; }
.shunet .sec-h a { font-size: 11px; color: var(--ink-3); }

/* ===== HOME ===== */
.shunet .home-hdr {
  padding: 18px;
  display: flex; align-items: center; justify-content: space-between;
}
.shunet .home-brand {
  display: flex; align-items: center; gap: 8px;
  font-weight: 800; font-size: 22px; letter-spacing: -0.01em;
  color: var(--ink-2);
}
.shunet .home-brand .mark {
  width: 32px; height: 32px; border-radius: 9px;
  background: var(--ink-2); color: var(--paper);
  display: grid; place-items: center;
  font-weight: 800; font-size: 16px;
}
.shunet .lang-pill {
  display: flex; background: var(--paper);
  border: 1px solid var(--line); border-radius: 999px; padding: 3px;
  font-size: 11px; gap: 1px;
}
.shunet .lang-pill a {
  padding: 5px 10px; border-radius: 999px; color: var(--ink-3);
}
.shunet .lang-pill a.on { background: var(--sage-deep); color: var(--paper); font-weight: 700; }

.shunet .hero-card {
  margin: 0 18px;
  padding: 20px;
  border-radius: 20px;
  background: linear-gradient(135deg, var(--ink-2) 0%, #3a2a22 100%);
  color: var(--paper);
  position: relative; overflow: hidden;
}
.shunet .hero-card .glow {
  position: absolute; top: -60px; left: -60px;
  width: 220px; height: 220px; border-radius: 50%;
  background: radial-gradient(circle, var(--sage) 0%, transparent 65%);
  opacity: 0.25;
}
.shunet .hero-card h2 {
  font-size: 24px; font-weight: 800; margin: 0 0 8px;
  letter-spacing: -0.01em; position: relative;
  line-height: 1.2;
}
.shunet .hero-card h2 .ac { color: var(--sage); }
.shunet .hero-card p {
  font-size: 13px; color: rgba(251,248,243,0.7); margin: 0 0 16px;
  position: relative;
}
.shunet .h-stats {
  display: flex; gap: 8px; margin-bottom: 16px; position: relative;
}
.shunet .h-stat {
  flex: 1; padding: 10px 12px;
  background: rgba(251,248,243,0.08);
  border: 1px solid rgba(251,248,243,0.1);
  border-radius: 10px;
}
.shunet .h-stat .n { font-size: 18px; font-weight: 800; letter-spacing: -0.02em; }
.shunet .h-stat .l { font-size: 10px; opacity: 0.7; }

.shunet .hero-search {
  display: flex; align-items: center;
  background: var(--paper);
  border-radius: 12px; padding: 4px;
}
.shunet .hero-search .s-ic {
  padding: 0 10px; color: var(--ink-3);
}
.shunet .hero-search input {
  flex: 1; border: 0; background: transparent;
  color: var(--ink); font-family: inherit;
  font-size: 13px; padding: 10px 4px; outline: none;
}
.shunet .hero-search input::placeholder { color: var(--ink-3); }
.shunet .hero-search button {
  background: var(--sage-deep); color: var(--paper);
  border: 0; padding: 9px 16px; border-radius: 9px;
  font-weight: 700; font-size: 13px;
}

.shunet .mode-bar {
  padding: 16px 18px 0;
  display: flex; gap: 6px;
}
.shunet .mode-btn {
  flex: 1; border: 1px solid var(--line); background: var(--paper);
  padding: 9px; border-radius: 12px;
  font-family: inherit; font-size: 12px; color: var(--ink-2);
  font-weight: 500;
  display: inline-flex; align-items: center; justify-content: center; gap: 5px;
}
.shunet .mode-btn.on { background: var(--ink); color: var(--paper); border-color: var(--ink); font-weight: 700; }
.shunet .mode-btn .ct {
  background: rgba(255,255,255,0.18); padding: 1px 6px; border-radius: 5px;
  font-size: 10px; font-family: 'JetBrains Mono', monospace; font-weight: 700;
}
.shunet .mode-btn:not(.on) .ct { background: var(--line-2); color: var(--ink-3); }

.shunet .cats-row {
  padding: 0 18px;
  display: flex; gap: 8px;
  overflow-x: auto; -webkit-overflow-scrolling: touch;
}
.shunet .cats-row::-webkit-scrollbar { display: none; }
.shunet .cat-card {
  flex-shrink: 0;
  width: 76px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px 6px;
  display: flex; flex-direction: column; align-items: center; gap: 6px;
}
.shunet .cat-card.on { background: var(--sage-deep); color: var(--paper); border-color: var(--sage-deep); }
.shunet .cat-card .ico {
  width: 32px; height: 32px;
  display: grid; place-items: center;
  color: var(--sage-deep);
}
.shunet .cat-card.on .ico { color: var(--paper); }
.shunet .cat-card .lbl { font-size: 10px; font-weight: 600; line-height: 1.2; text-align: center; }

/* Shop grid card */
.shunet .home-shops {
  padding: 8px 18px 0;
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
}
.shunet .shop-card {
  background: var(--paper); border: 1px solid var(--line);
  border-radius: 14px; overflow: hidden;
  cursor: pointer;
}
.shunet .shop-card .cv {
  aspect-ratio: 1.2/1; position: relative; overflow: hidden;
}
.shunet .shop-card .cv img { width: 100%; height: 100%; object-fit: cover; }
.shunet .shop-card .cv-stripe {
  position: absolute; inset: 0;
  background-image: repeating-linear-gradient(45deg, rgba(255,255,255,0.06) 0 1px, transparent 1px 10px);
}
.shunet .shop-card .cv-ini {
  position: absolute; inset: 0; display: grid; place-items: center;
  font-size: 48px; font-weight: 800; color: rgba(255,255,255,0.25);
}
.shunet .shop-card .v-badge {
  position: absolute; top: 8px; right: 8px;
  background: rgba(255,255,255,0.95);
  border-radius: 6px; padding: 3px 7px;
  font-size: 10px; font-weight: 700;
  display: inline-flex; align-items: center; gap: 3px;
  color: var(--sage-deep);
}
.shunet .shop-card .promo-badge {
  position: absolute; top: 8px; right: 8px;
  background: linear-gradient(135deg, var(--gold), #a8801f);
  color: white;
  border-radius: 6px; padding: 3px 8px;
  font-size: 10px; font-weight: 800;
  display: inline-flex; align-items: center; gap: 3px;
}
.shunet .shop-card .rate {
  position: absolute; bottom: 8px; left: 8px;
  background: rgba(0,0,0,0.65); color: white;
  border-radius: 6px; padding: 3px 7px;
  font-size: 10px; font-weight: 700;
  display: inline-flex; align-items: center; gap: 3px;
}
.shunet .shop-card .body { padding: 10px 12px 12px; }
.shunet .shop-card .nm { font-size: 13px; font-weight: 700; margin: 0 0 2px; line-height: 1.25; letter-spacing: -0.005em; }
.shunet .shop-card .un { font-size: 10px; color: var(--ink-3); font-family: 'JetBrains Mono', monospace; margin-bottom: 6px; direction: ltr; text-align: right; unicode-bidi: embed; }

/* ===== Tab bar (bottom) ===== */
.shunet .tabbar {
  position: fixed; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 100%; max-width: 480px;
  background: rgba(251,248,243,0.95);
  backdrop-filter: blur(20px);
  border-top: 1px solid var(--line);
  padding: 8px 12px calc(env(safe-area-inset-bottom, 16px) + 14px);
  display: flex; justify-content: space-around; align-items: flex-end;
  z-index: 80;
}
.shunet .tab {
  flex: 1; display: flex; flex-direction: column; align-items: center; gap: 3px;
  padding: 6px; color: var(--ink-3); font-size: 10px;
}
.shunet .tab.on { color: var(--ink); font-weight: 700; }
.shunet .tab.on svg { color: var(--sage-deep); }
.shunet .tab.add {
  background: var(--ink-2); color: var(--paper);
  width: 50px; height: 50px; border-radius: 14px;
  margin: -22px 4px 0;
  flex: none; justify-content: center; gap: 0;
  box-shadow: 0 10px 22px -6px rgba(90,62,54,0.4);
}
.shunet .tab.add svg { color: var(--paper); }

/* ===== CATEGORY PAGE ===== */
.shunet .cat-hdr {
  padding: 16px;
  display: flex; align-items: center; gap: 12px;
  background: linear-gradient(180deg, var(--sage-soft) 0%, var(--bg) 100%);
}
.shunet .cat-back {
  width: 38px; height: 38px; border-radius: 11px;
  background: var(--paper); border: 1px solid var(--line);
  display: grid; place-items: center; color: var(--ink);
}
.shunet .cat-title-block { flex: 1; min-width: 0; }
.shunet .cat-title-block h1 { font-size: 20px; font-weight: 800; margin: 0; letter-spacing: -0.01em; }
.shunet .cat-title-block .sub { font-size: 11px; color: var(--ink-3); font-family: 'JetBrains Mono', monospace; }
.shunet .cat-icon-big {
  width: 52px; height: 52px; border-radius: 14px;
  background: var(--sage-deep); display: grid; place-items: center;
  color: var(--paper);
}

.shunet .cat-chips {
  padding: 0 16px 8px;
  display: flex; gap: 6px;
  overflow-x: auto;
}
.shunet .cat-chips::-webkit-scrollbar { display: none; }
.shunet .cat-chip {
  flex-shrink: 0; padding: 7px 12px; border-radius: 999px;
  background: var(--paper); border: 1px solid var(--line);
  font-size: 11px; color: var(--ink-2); font-weight: 500;
  display: inline-flex; align-items: center; gap: 5px;
}
.shunet .cat-chip.on { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.shunet .cat-chip .x {
  width: 14px; height: 14px; border-radius: 50%;
  background: rgba(255,255,255,0.2); display: grid; place-items: center;
}

.shunet .cat-sort {
  padding: 8px 16px;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 11px;
}
.shunet .cat-sort .count { color: var(--ink-3); font-family: 'JetBrains Mono', monospace; }
.shunet .cat-sort .toggle { display: flex; background: var(--paper); border: 1px solid var(--line); border-radius: 9px; padding: 2px; gap: 1px; }
.shunet .cat-sort .toggle button {
  border: 0; background: transparent; padding: 6px 11px;
  border-radius: 7px; font-family: inherit; font-size: 11px;
  color: var(--ink-3); font-weight: 600;
}
.shunet .cat-sort .toggle button.on { background: var(--ink); color: var(--paper); }

/* List card (horizontal layout) */
.shunet .list-card {
  background: var(--paper); border: 1px solid var(--line);
  border-radius: 14px; padding: 11px; display: flex; gap: 12px;
  align-items: center; transition: transform 0.15s;
}
.shunet .list-card:active { transform: scale(0.99); }
.shunet .list-card.promoted {
  border-color: var(--gold);
  background: linear-gradient(135deg, var(--paper), var(--gold-soft));
}
.shunet .list-card .ph {
  width: 70px; height: 70px; border-radius: 12px; flex-shrink: 0;
  position: relative; overflow: hidden;
}
.shunet .list-card .ph img { width: 100%; height: 100%; object-fit: cover; }
.shunet .list-card .ph .stripe {
  position: absolute; inset: 0;
  background-image: repeating-linear-gradient(45deg, rgba(255,255,255,0.1) 0 1px, transparent 1px 8px);
}
.shunet .list-card .ph .ini {
  position: absolute; inset: 0; display: grid; place-items: center;
  font-size: 28px; font-weight: 800; color: rgba(255,255,255,0.25);
}
.shunet .list-card .info { flex: 1; min-width: 0; }
.shunet .list-card .nm { font-size: 14px; font-weight: 700; margin: 0 0 2px; letter-spacing: -0.01em; display: flex; align-items: center; gap: 5px; }
.shunet .list-card .vd {
  display: inline-grid; place-items: center;
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--sage-deep); color: white;
  flex-shrink: 0;
}
.shunet .list-card .un { font-size: 10px; color: var(--ink-3); font-family: 'JetBrains Mono', monospace; margin-bottom: 5px; direction: ltr; text-align: right; unicode-bidi: embed; }
.shunet .list-card .row { display: flex; gap: 7px; align-items: center; font-size: 11px; color: var(--ink-2); }
.shunet .list-card .score-bar {
  width: 100%; height: 3px; background: var(--line-2);
  border-radius: 999px; margin-top: 6px; overflow: hidden;
}
.shunet .list-card .score-bar .fill {
  height: 100%; background: linear-gradient(90deg, var(--sage), var(--sage-deep));
  border-radius: 999px;
}
.shunet .list-card .arrow {
  width: 32px; height: 32px; border-radius: 8px;
  background: var(--bg); display: grid; place-items: center;
  color: var(--ink); flex-shrink: 0;
}

.shunet .cat-list {
  padding: 0 16px;
  display: flex; flex-direction: column; gap: 8px;
}

.shunet .promo-block {
  padding: 14px;
  background: linear-gradient(135deg, var(--ink-2) 0%, #3a2a22 100%);
  color: var(--paper);
  border-radius: 14px;
  display: flex; align-items: center; gap: 12px;
}
.shunet .promo-block .pr-ic {
  width: 40px; height: 40px; border-radius: 11px;
  background: var(--gold); display: grid; place-items: center;
  flex-shrink: 0;
}
.shunet .promo-block .pr-tx { flex: 1; }
.shunet .promo-block .pr-tx h4 { font-size: 13px; margin: 0 0 2px; font-weight: 700; }
.shunet .promo-block .pr-tx p { font-size: 11px; margin: 0; opacity: 0.75; }
.shunet .promo-block .pr-btn {
  background: var(--paper); color: var(--ink);
  padding: 7px 14px; border-radius: 9px;
  font-size: 11px; font-weight: 700;
  flex-shrink: 0; border: 0;
}

/* ===== REGISTER ===== */
.shunet .reg-hdr {
  padding: 24px 18px 24px;
  background: linear-gradient(180deg, var(--sage-deep) 0%, var(--sage-deep) 70%, transparent 100%);
  color: var(--paper);
  position: relative;
}
.shunet .reg-back-w {
  width: 36px; height: 36px; border-radius: 11px;
  background: rgba(255,255,255,0.18); border: 0;
  display: grid; place-items: center; color: white;
  margin-bottom: 22px;
}
.shunet .reg-hdr h1 { font-size: 26px; font-weight: 800; margin: 0 0 6px; letter-spacing: -0.01em; }
.shunet .reg-hdr p { font-size: 13px; margin: 0; opacity: 0.9; line-height: 1.5; }

.shunet .reg-body { padding: 6px 18px 120px; }
.shunet .reg-step {
  background: var(--paper); border: 1px solid var(--line);
  border-radius: 16px; padding: 18px;
  margin-bottom: 14px;
  position: relative;
}
.shunet .reg-step .num {
  position: absolute; top: -10px; right: 16px;
  background: var(--sage-deep); color: var(--paper);
  width: 26px; height: 26px; border-radius: 50%;
  font-family: 'JetBrains Mono', monospace; font-size: 12px;
  font-weight: 700; display: grid; place-items: center;
}
.shunet .reg-step h3 { font-size: 14px; font-weight: 700; margin: 0 0 4px; display: flex; align-items: center; gap: 6px; }
.shunet .reg-step .desc { font-size: 12px; color: var(--ink-3); margin: 0 0 14px; line-height: 1.5; }

.shunet .reg-input {
  display: flex; align-items: center;
  background: var(--bg); border: 1px solid var(--line);
  border-radius: 11px;
  padding: 0 12px; transition: border 0.15s;
}
.shunet .reg-input:focus-within { border-color: var(--sage-deep); }
.shunet .reg-input .at {
  font-family: 'JetBrains Mono', monospace; font-size: 14px;
  color: var(--ink-3); font-weight: 700;
}
.shunet .reg-input input {
  flex: 1; border: 0; background: transparent;
  font-family: 'JetBrains Mono', monospace; font-size: 14px;
  padding: 13px 7px; outline: none; color: var(--ink);
}
.shunet .reg-input input::placeholder { color: var(--ink-3); }
.shunet .reg-input .valid {
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--sage-deep); color: white;
  display: grid; place-items: center;
}

.shunet .cat-pick-grid {
  display: grid; grid-template-columns: 1fr 1fr 1fr;
  gap: 6px;
}
.shunet .cat-pick {
  background: var(--bg); border: 1px solid var(--line);
  border-radius: 10px; padding: 12px 6px;
  display: flex; flex-direction: column; align-items: center; gap: 5px;
  cursor: pointer; transition: all 0.15s;
}
.shunet .cat-pick.on { background: var(--sage-soft); border-color: var(--sage-deep); }
.shunet .cat-pick .ico { color: var(--ink-2); }
.shunet .cat-pick.on .ico { color: var(--sage-deep); }
.shunet .cat-pick .l { font-size: 10px; font-weight: 600; text-align: center; }

.shunet .ai-step {
  background: var(--sage-soft) !important;
  border-color: var(--sage) !important;
}
.shunet .ai-step .num { background: var(--gold) !important; font-size: 10px !important; }

.shunet .reg-submit {
  position: fixed; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 100%; max-width: 480px;
  padding: 14px 18px calc(env(safe-area-inset-bottom, 16px) + 18px);
  background: rgba(251,248,243,0.96);
  backdrop-filter: blur(20px);
  border-top: 1px solid var(--line);
  z-index: 80;
}
.shunet .reg-submit button {
  width: 100%; padding: 15px;
  background: var(--ink); color: var(--paper);
  border: 0; border-radius: 12px;
  font-family: inherit; font-weight: 700; font-size: 15px;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
}

/* ===== 404 ===== */
.shunet .err-screen {
  padding: 40px 24px 80px;
  background: linear-gradient(180deg, var(--bg) 0%, var(--sage-soft) 100%);
  min-height: 100vh;
  display: flex; flex-direction: column;
  text-align: center;
}
.shunet .err-illo {
  width: 180px; height: 180px;
  margin: 40px auto 28px;
  border-radius: 50%;
  background: var(--paper);
  border: 4px dashed var(--sage);
  display: grid; place-items: center;
  position: relative;
}
.shunet .err-illo .num-404 {
  font-size: 64px; font-weight: 800;
  color: var(--ink-2); letter-spacing: -0.04em;
  line-height: 1;
}
.shunet .err-illo .magnify {
  position: absolute; bottom: -12px; right: -12px;
  width: 64px; height: 64px; border-radius: 50%;
  background: var(--sage-deep); color: var(--paper);
  display: grid; place-items: center;
  transform: rotate(-15deg);
  box-shadow: 0 12px 24px -6px rgba(110,138,92,0.5);
}
.shunet .err-screen h1 {
  font-size: 26px; font-weight: 800; margin: 0 0 10px;
  color: var(--ink); letter-spacing: -0.01em;
}
.shunet .err-screen .lead {
  font-size: 14px; color: var(--ink-2);
  max-width: 300px; margin: 0 auto 28px;
  line-height: 1.6;
}
.shunet .err-search {
  display: flex; align-items: center;
  background: var(--paper); border: 1px solid var(--line);
  border-radius: 14px; padding: 4px;
  box-shadow: 0 10px 24px -10px rgba(110,138,92,0.3);
}
.shunet .err-search input {
  flex: 1; border: 0; background: transparent;
  font-family: inherit; font-size: 14px; padding: 10px 14px; outline: none;
}
.shunet .err-search button {
  background: var(--sage-deep); color: var(--paper);
  border: 0; padding: 10px 18px; border-radius: 10px;
  font-weight: 700; font-size: 13px;
}
.shunet .err-suggest {
  margin-top: 20px;
  font-size: 12px; color: var(--ink-3);
}
.shunet .err-suggest .suggests {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 6px;
  margin-top: 10px;
}
.shunet .err-suggest .suggests a {
  padding: 6px 12px; border-radius: 999px;
  background: var(--paper); border: 1px solid var(--line);
  font-size: 12px; color: var(--ink-2);
}
.shunet .err-suggest .suggests a:hover { border-color: var(--ink); }

/* ===== ABOUT ===== */
.shunet .about-hero {
  padding: 32px 22px 36px;
  background: var(--ink-2);
  color: var(--paper);
  position: relative;
  overflow: hidden;
}
.shunet .about-hero .pattern {
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 20% 20%, var(--sage) 0%, transparent 25%),
    radial-gradient(circle at 80% 80%, var(--clay) 0%, transparent 25%);
  opacity: 0.15;
}
.shunet .about-hero .label { font-family: 'JetBrains Mono', monospace; font-size: 11px; opacity: 0.5; letter-spacing: 0.1em; text-transform: uppercase; position: relative; }
.shunet .about-hero h1 {
  font-size: 30px; font-weight: 800; margin: 10px 0 10px;
  letter-spacing: -0.02em; position: relative; line-height: 1.15;
}
.shunet .about-hero h1 .ac { color: var(--sage); }
.shunet .about-hero p {
  font-size: 14px; opacity: 0.85;
  line-height: 1.7; margin: 0;
  position: relative;
}

.shunet .about-stats {
  margin: -16px 16px 0;
  background: var(--paper);
  border-radius: 16px;
  padding: 0;
  border: 1px solid var(--line);
  box-shadow: 0 12px 24px -12px rgba(0,0,0,0.15);
  display: grid; grid-template-columns: 1fr 1fr 1fr;
  gap: 1px;
  background-color: var(--line-2);
  overflow: hidden;
}
.shunet .about-stat {
  background: var(--paper);
  padding: 14px 10px;
  text-align: center;
}
.shunet .about-stat .v { font-size: 22px; font-weight: 800; letter-spacing: -0.02em; line-height: 1; color: var(--sage-deep); }
.shunet .about-stat .l { font-size: 10px; color: var(--ink-3); margin-top: 4px; }

.shunet .about-feat { padding: 20px 16px 0; }
.shunet .feat-card {
  background: var(--paper); border: 1px solid var(--line);
  border-radius: 14px; padding: 14px;
  display: flex; gap: 12px; align-items: center;
  margin-bottom: 10px;
}
.shunet .feat-card .ic {
  width: 42px; height: 42px; border-radius: 11px;
  flex-shrink: 0;
  display: grid; place-items: center;
}
.shunet .feat-card .ic.sage { background: var(--sage-soft); color: var(--sage-deep); }
.shunet .feat-card .ic.clay { background: var(--clay-soft); color: var(--clay); }
.shunet .feat-card .ic.gold { background: var(--gold-soft); color: #8a6a2a; }
.shunet .feat-card .ic.plum { background: var(--plum-soft); color: var(--plum); }
.shunet .feat-card .tx { flex: 1; min-width: 0; }
.shunet .feat-card h4 { font-size: 14px; font-weight: 700; margin: 0 0 3px; }
.shunet .feat-card p { font-size: 12px; color: var(--ink-3); margin: 0; line-height: 1.5; }

.shunet .about-cta {
  margin: 20px 16px 80px;
  padding: 20px;
  background: linear-gradient(135deg, var(--sage-deep), var(--sage));
  border-radius: 16px;
  color: var(--paper);
  text-align: center;
}
.shunet .about-cta h3 { font-size: 18px; font-weight: 800; margin: 0 0 6px; }
.shunet .about-cta p { font-size: 12px; opacity: 0.9; margin: 0 0 14px; }
.shunet .about-cta .btn {
  display: inline-block;
  background: var(--paper); color: var(--ink-2);
  padding: 11px 26px; border-radius: 10px;
  border: 0; font-family: inherit; font-weight: 700; font-size: 14px;
}

/* ===== PLANS ===== */
.shunet .promo-hdr {
  padding: 32px 22px 24px;
  background: linear-gradient(135deg, #2a241e 0%, var(--ink-2) 100%);
  color: var(--paper);
  text-align: center;
}
.shunet .promo-hdr .crown {
  margin-bottom: 10px;
  color: var(--gold);
  display: flex; justify-content: center;
}
.shunet .promo-hdr h1 { font-size: 24px; font-weight: 800; margin: 0 0 6px; letter-spacing: -0.01em; }
.shunet .promo-hdr p { font-size: 13px; opacity: 0.75; margin: 0; }

.shunet .plans {
  padding: 18px 16px 100px;
  display: flex; flex-direction: column; gap: 12px;
}
.shunet .plan-card {
  background: var(--paper); border: 1px solid var(--line);
  border-radius: 16px; padding: 18px;
  position: relative;
}
.shunet .plan-card.featured {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,160,74,0.15);
}
.shunet .plan-card .pop-badge {
  position: absolute; top: -10px; right: 18px;
  background: var(--gold); color: white;
  font-size: 11px; font-weight: 800;
  padding: 4px 12px; border-radius: 999px;
}
.shunet .plan-card .pl-h {
  display: flex; justify-content: space-between; align-items: flex-start;
  margin-bottom: 12px;
}
.shunet .plan-card .pl-h h3 { font-size: 18px; font-weight: 800; margin: 0; letter-spacing: -0.01em; }
.shunet .plan-card .pl-h .badge {
  width: 36px; height: 36px; border-radius: 10px;
  display: grid; place-items: center;
  color: var(--paper);
}
.shunet .plan-card .price {
  display: flex; align-items: baseline; gap: 4px;
  margin-bottom: 14px;
}
.shunet .plan-card .price .num { font-size: 28px; font-weight: 800; letter-spacing: -0.02em; }
.shunet .plan-card .price .unit { font-size: 12px; color: var(--ink-3); }
.shunet .plan-card .price .strike { font-size: 12px; color: var(--ink-3); text-decoration: line-through; margin-inline-start: 8px; }
.shunet .plan-card ul {
  list-style: none; padding: 0; margin: 0 0 16px;
  display: flex; flex-direction: column; gap: 8px;
}
.shunet .plan-card li {
  font-size: 12px; color: var(--ink-2);
  display: flex; align-items: center; gap: 8px;
}
.shunet .plan-card li .ck { color: var(--sage-deep); flex-shrink: 0; }
.shunet .plan-card li.dim { opacity: 0.4; }
.shunet .plan-card li.dim .ck { color: var(--ink-3); }
.shunet .plan-card .pl-btn {
  width: 100%; padding: 11px;
  border: 1px solid var(--ink); background: var(--paper);
  color: var(--ink); border-radius: 10px;
  font-family: inherit; font-weight: 700; font-size: 13px;
}
.shunet .plan-card.featured .pl-btn {
  background: var(--ink); color: var(--paper);
}

/* ===== LOGIN ===== */
.shunet .login-bg {
  background: linear-gradient(135deg, var(--ink-2) 0%, #1a1410 100%);
  min-height: 100vh; padding: 0; position: relative;
  overflow: hidden;
}
.shunet .login-bg::before {
  content: ''; position: absolute; top: -60px; left: -60px;
  width: 240px; height: 240px; border-radius: 50%;
  background: radial-gradient(circle, var(--sage) 0%, transparent 65%);
  opacity: 0.2;
}
.shunet .login-bg::after {
  content: ''; position: absolute; bottom: -60px; right: -60px;
  width: 240px; height: 240px; border-radius: 50%;
  background: radial-gradient(circle, var(--gold) 0%, transparent 65%);
  opacity: 0.15;
}
.shunet .login-box {
  position: relative; z-index: 10;
  padding: 60px 24px 28px;
  color: var(--paper);
  min-height: 100vh;
  display: flex; flex-direction: column;
}
.shunet .login-brand {
  width: 72px; height: 72px; border-radius: 20px;
  background: var(--paper); color: var(--ink-2);
  display: grid; place-items: center;
  font-weight: 800; font-size: 36px;
  margin: 20px auto 22px;
  box-shadow: 0 18px 36px -12px rgba(0,0,0,0.5);
}
.shunet .login-box h1 { font-size: 24px; font-weight: 800; margin: 0 0 4px; text-align: center; }
.shunet .login-box .sub { font-size: 13px; color: rgba(245,241,234,0.6); text-align: center; margin: 0 0 36px; font-family: 'JetBrains Mono', monospace; }
.shunet .login-input {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 12px;
  padding: 0 16px;
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 12px;
  transition: border 0.15s;
}
.shunet .login-input:focus-within { border-color: var(--sage); background: rgba(255,255,255,0.12); }
.shunet .login-input .ic { color: rgba(255,255,255,0.5); }
.shunet .login-input input {
  flex: 1; border: 0; background: transparent;
  color: var(--paper); font-family: inherit;
  font-size: 14px; padding: 15px 0; outline: none;
}
.shunet .login-input input::placeholder { color: rgba(255,255,255,0.45); }
.shunet .login-submit {
  margin-top: 16px;
  background: var(--sage); color: var(--ink-2);
  border: 0; padding: 15px;
  border-radius: 12px;
  font-family: inherit; font-weight: 700; font-size: 14px;
  width: 100%;
  box-shadow: 0 10px 26px -8px rgba(156,175,136,0.4);
}
.shunet .login-fp {
  text-align: center;
  font-size: 12px; color: rgba(245,241,234,0.5);
  margin-top: 18px;
}
.shunet .login-foot {
  margin-top: auto;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.08);
  text-align: center;
  font-size: 11px; color: rgba(245,241,234,0.3);
  font-family: 'JetBrains Mono', monospace;
}

/* ===== Toast (shared) ===== */
.shunet .toast {
  position: fixed; bottom: 100px; left: 50%; transform: translateX(-50%);
  background: var(--ink); color: var(--paper);
  padding: 10px 18px; border-radius: 12px;
  font-size: 13px; font-weight: 600;
  box-shadow: 0 12px 24px rgba(0,0,0,0.3);
  z-index: 200;
  animation: shunet-toast-in 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}
@keyframes shunet-toast-in {
  from { opacity: 0; transform: translate(-50%, 12px); }
  to   { opacity: 1; transform: translate(-50%, 0); }
}

/* ===== Desktop (480px+) ===== */
@media (min-width: 768px) {
  .shunet .page {
    box-shadow: 0 0 60px rgba(0,0,0,0.06);
  }
}