:root {
  --gold: #d4af37;
  --gold-soft: #f3e0a4;
  --gold-deep: #8a6714;
  --ink: #f6f1e6;
  --muted: #9aa0ab;
  --line: rgba(212, 175, 55, 0.28);
  --glass: rgba(8, 8, 10, 0.62);
  --bg: #050505;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; min-height: 100%; }
body {
  font-family: Vazirmatn, Tahoma, sans-serif;
  background: var(--bg);
  color: var(--ink);
  overflow-x: hidden;
}
a, a:link, a:visited, a:hover, a:active, a:focus {
  text-decoration: none;
}

#fx { position: fixed; inset: 0; z-index: 0; }
.veil {
  position: fixed; inset: 0; z-index: 1; pointer-events: none;
  background:
    radial-gradient(ellipse 70% 50% at 50% 38%, transparent 0%, rgba(0,0,0,.35) 55%, #000 100%),
    linear-gradient(180deg, rgba(0,0,0,.25), transparent 18%, transparent 70%, #000);
}
.ui { position: relative; z-index: 2; }

.loader {
  position: fixed; inset: 0; z-index: 50;
  display: grid; place-items: center;
  background: #000;
  transition: opacity .7s ease, visibility .7s ease;
}
.loader.hide { opacity: 0; visibility: hidden; pointer-events: none; }
.loader img {
  width: min(220px, 50vw); border-radius: 24px;
  animation: pulse 1.6s ease-in-out infinite;
}
@keyframes pulse { 50% { transform: scale(1.04); filter: drop-shadow(0 0 28px rgba(212,175,55,.5)); } }

.cursor {
  position: fixed; width: 18px; height: 18px; border-radius: 50%;
  border: 1px solid var(--gold); pointer-events: none; z-index: 80;
  transform: translate(-50%, -50%); mix-blend-mode: difference;
  transition: width .2s, height .2s, background .2s;
}
.cursor.hot { width: 42px; height: 42px; background: rgba(212,175,55,.15); }
@media (pointer: coarse) { .cursor { display: none; } }

.nav {
  position: sticky; top: 0; z-index: 30;
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; padding: 14px 6%;
  background: rgba(0,0,0,.42); backdrop-filter: blur(22px);
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 10px; color: inherit; text-decoration: none; }
.brand img {
  width: 46px; height: 46px; object-fit: cover; border-radius: 50%;
  border: 1px solid var(--gold); box-shadow: 0 0 24px rgba(212,175,55,.4);
  transition: transform .5s cubic-bezier(.2,1,.3,1);
}
.brand:hover img { transform: rotate(-12deg) scale(1.08); }
.brand b {
  letter-spacing: .32em; font-size: 12px;
  background: linear-gradient(90deg, var(--gold-soft), #fff, var(--gold));
  background-size: 200%; -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: sheen 6s linear infinite;
}
.nav-links { display: flex; flex-wrap: wrap; gap: 6px; }
.nav-links a, .tab {
  color: #cfd3da; text-decoration: none; font-size: 13px;
  padding: 8px 14px; border-radius: 999px; border: 1px solid transparent;
  background: transparent; font-family: inherit; cursor: pointer;
  transition: .25s ease;
}
.nav-links a:hover, .tab:hover, .tab.on, .nav-links a.on {
  color: #fff; border-color: var(--gold); background: rgba(212,175,55,.1);
}
.burger {
  display: none; width: 42px; height: 42px; border-radius: 12px;
  border: 1px solid var(--line); background: transparent; color: var(--gold);
  font-size: 20px; cursor: pointer;
}

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 24px; border-radius: 999px; border: 1px solid var(--gold);
  background: linear-gradient(135deg, #f6e7b2, var(--gold) 48%, var(--gold-deep));
  color: #111; font-weight: 800; text-decoration: none; cursor: pointer; font-family: inherit;
  position: relative; overflow: hidden;
  box-shadow: 0 12px 34px rgba(212,175,55,.28);
  transition: transform .25s ease, box-shadow .25s ease;
}
.btn::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(110deg, transparent 20%, rgba(255,255,255,.55), transparent 80%);
  transform: translateX(-140%);
}
.btn:hover { transform: translateY(-3px) scale(1.03); box-shadow: 0 18px 44px rgba(212,175,55,.48); }
.btn:hover::after { animation: shine .7s ease; }
.btn-ghost { background: transparent; color: var(--gold-soft); box-shadow: none; }
@keyframes shine { to { transform: translateX(140%); } }
@keyframes sheen { to { background-position: 200% center; } }

.hero {
  min-height: 100vh; display: grid; place-items: center;
  text-align: center; padding: 48px 6% 90px;
}
.hero-logo {
  width: min(420px, 78vw); border-radius: 28px;
  animation: float 7s ease-in-out infinite;
  filter: drop-shadow(0 40px 70px rgba(212,175,55,.32));
}
.kicker {
  letter-spacing: .46em; color: var(--gold); font-size: 11px; margin: 22px 0 0;
}
h1 {
  margin: 10px 0 0; font-size: clamp(40px, 8vw, 92px);
  background: linear-gradient(90deg, #fff, var(--gold-soft), #fff);
  background-size: 220%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: sheen 5s linear infinite;
}
.lead { max-width: 560px; margin: 16px auto 0; color: var(--muted); line-height: 2; font-size: 16px; }
.cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 28px; }
.stats {
  display: flex; justify-content: center; gap: 28px; flex-wrap: wrap;
  margin-top: 42px; color: var(--muted); font-size: 13px;
}
.stats b { display: block; color: var(--gold-soft); font-size: 22px; }

.ticker {
  overflow: hidden; border-block: 1px solid var(--line);
  background: rgba(212,175,55,.04);
}
.ticker-track {
  display: flex; gap: 48px; width: max-content; direction: ltr;
  animation: marquee 22s linear infinite;
  padding: 14px 0; color: var(--gold); letter-spacing: .28em; font-size: 12px;
}
@keyframes marquee { to { transform: translateX(50%); } }
@keyframes float { 50% { transform: translateY(-14px); } }

.section { padding: 88px 6%; }
.section h2 { margin: 0 0 10px; color: var(--gold-soft); font-size: clamp(26px, 4vw, 42px); }
.line {
  width: 110px; height: 2px; margin-bottom: 30px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.reveal { opacity: 0; transform: translateY(28px); transition: 0.8s cubic-bezier(.2,.8,.2,1); }
.reveal.in { opacity: 1; transform: none; }

.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px; }
.card, .panel, .feature {
  background: var(--glass); border: 1px solid var(--line); border-radius: 24px;
  backdrop-filter: blur(18px);
  transition: transform .4s ease, box-shadow .4s ease, border-color .4s ease;
}
.card { padding: 22px; }
.card:hover, .feature:hover {
  transform: translateY(-10px);
  border-color: var(--gold);
  box-shadow: 0 24px 60px rgba(212,175,55,.16);
}
.card h3, .feature h3 { margin: 8px 0; font-size: 20px; }
.price { color: var(--gold); font-weight: 800; }
.muted { color: var(--muted); line-height: 1.9; }

.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.feature {
  padding: 26px 20px; cursor: pointer; text-align: right;
}
.feature .ico { font-size: 28px; }
.feature p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.8; }

.studio { margin-top: 18px; }
.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.panel { display: none; padding: 26px; }
.panel.on { display: block; animation: rise .45s ease; }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

label { display: block; margin: 12px 0 6px; color: var(--gold-soft); font-size: 13px; }
input, select, textarea {
  width: 100%; padding: 13px 14px; border-radius: 14px; border: 1px solid #3a3424;
  background: #0b0b0d; color: #fff; font-family: inherit; font-size: 15px;
  outline: none; transition: border-color .2s, box-shadow .2s;
}
input:focus, select:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(212,175,55,.15); }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.item { border: 1px solid var(--line); border-radius: 16px; padding: 14px; margin-top: 10px; }
.ai-diag {
  margin: 16px 0; padding: 16px 18px; border-radius: 18px;
  border: 1px solid var(--line); background: rgba(212,175,55,.06);
}
.ai-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 0; }
.ai-chips span, .ai-chips a.chip {
  padding: 5px 12px; border-radius: 999px; border: 1px solid var(--line);
  font-size: 13px; color: var(--gold-soft); text-decoration: none;
}
.style-card {
  border: 1px solid var(--line); border-radius: 20px; padding: 18px 18px 16px;
  margin-top: 14px; background: rgba(8,8,10,.45);
}
.style-head h3 { margin: 4px 0 0; font-size: 26px; }
.style-en { margin: 4px 0 0; color: var(--gold); letter-spacing: .04em; font-size: 14px; }
.fit-bar {
  height: 4px; border-radius: 99px; background: rgba(255,255,255,.08); margin: 12px 0 14px; overflow: hidden;
}
.fit-bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--gold-deep), var(--gold)); }
.lesson {
  margin: 14px 0 8px; padding: 12px 14px; border-radius: 14px;
  border: 1px dashed var(--line); background: rgba(255,255,255,.03);
}
.lesson summary { cursor: pointer; color: var(--gold-soft); font-weight: 700; }
.lesson-steps { margin: 10px 0 0; padding-right: 18px; color: var(--muted); line-height: 1.85; }
.ai-guide { margin-top: 22px; }
.ok { color: #86efac; } .err { color: #fca5a5; }

.drop {
  border: 1px dashed var(--gold); border-radius: 18px; padding: 34px; text-align: center; cursor: pointer;
  transition: .3s ease;
}
.drop:hover, .drop.hot { background: rgba(212,175,55,.08); transform: scale(1.01); }
#preview { max-width: 220px; border-radius: 16px; margin-top: 12px; display: none; }
.shapes { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.shape {
  padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line);
  background: transparent; color: var(--ink); font-family: inherit; cursor: pointer;
}
.shape:hover { border-color: var(--gold); color: var(--gold-soft); }

.hours div {
  display: flex; justify-content: space-between;
  border-bottom: 1px dashed var(--line); padding: 9px 0;
}
.hours-edit {
  display: grid; grid-template-columns: 90px 1fr 1fr auto;
  gap: 10px; align-items: center; margin: 10px 0;
}
.offers { display: grid; gap: 18px; }
.offer {
  position: relative; overflow: hidden;
  padding: 32px 28px; border-radius: 28px;
  border: 1px solid rgba(212,175,55,.5);
  background:
    radial-gradient(900px 220px at 8% -30%, rgba(246,231,178,.28), transparent 55%),
    linear-gradient(145deg, #1a1408 0%, #0a0a0c 52%, #1c160c 100%);
  box-shadow: 0 24px 70px rgba(212,175,55,.12);
}
.offer::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(110deg, transparent 38%, rgba(255,255,255,.14) 50%, transparent 62%);
  animation: offerShine 4.8s ease-in-out infinite;
}
@keyframes offerShine {
  0%, 35% { transform: translateX(-130%); }
  70%, 100% { transform: translateX(130%); }
}
.offer-badge {
  display: inline-block; padding: 6px 14px; border-radius: 999px;
  background: linear-gradient(135deg, #f6e7b2, var(--gold));
  color: #111; font-weight: 800; letter-spacing: .08em; font-size: 12px;
}
.offer h3 { margin: 14px 0 8px; font-size: 28px; }
.offer p { margin: 0; color: var(--muted); line-height: 1.9; }
.offer .btn { margin-top: 18px; }
.alarm {
  position: fixed; inset: 0; z-index: 90; padding: 24px;
  display: grid; place-items: center; background: rgba(0,0,0,.78);
}
.alarm-card {
  width: min(440px, 100%); text-align: center; padding: 34px 26px;
  border-radius: 28px; border: 1px solid var(--gold); background: #120e08;
  animation: alarmPulse 1.3s ease-in-out infinite;
}
@keyframes alarmPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(212,175,55,.4); }
  50% { box-shadow: 0 0 42px 10px rgba(212,175,55,.22); }
}
.alarm-bell { font-size: 46px; margin: 0 0 10px; }
.alert-item {
  border: 1px solid rgba(252,165,165,.45); background: rgba(127,29,29,.18);
  border-radius: 18px; padding: 14px 16px; margin: 14px 0;
}
.alert-item.is-read {
  opacity: .62;
  border-color: var(--line);
  background: rgba(255,255,255,.03);
}
.alert-item.info, .alert-item.remind {
  border-color: rgba(212,175,55,.4); background: rgba(212,175,55,.1);
}
.alert-item.is-read,
.alert-item.info.is-read,
.alert-item.remind.is-read {
  opacity: .62;
  border-color: var(--line);
  background: rgba(255,255,255,.03);
}
.site-toast {
  position: fixed; left: 18px; right: 18px; bottom: 22px; z-index: 85;
  max-width: 420px; margin: 0 auto; padding: 14px 18px;
  border-radius: 18px; border: 1px solid var(--gold);
  background: #120e08; color: var(--ink);
  box-shadow: 0 18px 40px rgba(0,0,0,.45);
  opacity: 0; pointer-events: none; transform: translateY(12px);
  transition: opacity .25s ease, transform .25s ease;
}
.site-toast.on { opacity: 1; pointer-events: auto; transform: none; }
.site-toast b { display: block; color: var(--gold-soft); margin-bottom: 4px; }
.site-toast span { color: var(--muted); font-size: 14px; line-height: 1.7; white-space: pre-wrap; }
.map { width: 100%; min-height: 280px; border: 0; border-radius: 18px; filter: grayscale(.4) contrast(1.1); }
.map:hover { filter: none; }
.tut { white-space: pre-wrap; }
.phone { color: var(--gold-soft); font-size: 24px; font-weight: 800; text-decoration: none; }
.socials { display: flex; gap: 10px; margin-top: 14px; flex-wrap: wrap; }

footer {
  text-align: center; padding: 36px 6% 56px; color: var(--muted);
  border-top: 1px solid var(--line);
}
footer img { width: 56px; height: 56px; border-radius: 50%; border: 1px solid var(--gold); }
footer a { color: var(--gold); text-decoration: none; }

@media (max-width: 980px) {
  .features { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 800px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex; position: absolute; top: 74px; left: 4%; right: 4%;
    flex-direction: column; background: rgba(0,0,0,.92); padding: 12px;
    border: 1px solid var(--line); border-radius: 18px;
  }
  .burger { display: grid; place-items: center; }
  .row { grid-template-columns: 1fr; }
  .hero-logo { width: min(280px, 72vw); }
}
.pick { cursor: pointer; }
.pick.on { border-color: var(--gold); box-shadow: 0 16px 40px rgba(212,175,55,.2); background: rgba(212,175,55,.08); }
.wizard { padding: 8px 0 0; }
.steps {
  display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 22px;
}
.step {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line);
  color: var(--muted); font-size: 13px;
}
.step.on { color: #111; background: linear-gradient(135deg, #f6e7b2, var(--gold)); border-color: var(--gold); font-weight: 800; }
.step.done { color: var(--gold-soft); border-color: var(--gold); }
.step b {
  width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(0,0,0,.15); font-size: 12px;
}
.master {
  display: grid; grid-template-columns: 120px 1fr; gap: 22px; align-items: center;
  padding: 28px;
}
.master img { width: 120px; height: 120px; border-radius: 24px; object-fit: cover; border: 1px solid var(--gold); }
.day-rail, .slots {
  display: flex; flex-wrap: wrap; gap: 10px;
}
.day, .slot {
  min-width: 86px; padding: 12px 10px; border-radius: 16px; border: 1px solid var(--line);
  background: #0b0b0d; color: var(--ink); cursor: pointer; font-family: inherit; text-align: center;
}
.day small, .slot small { display: block; color: var(--muted); font-size: 11px; }
.day.on, .slot.on { border-color: var(--gold); background: rgba(212,175,55,.12); color: var(--gold-soft); }
.day.off { opacity: .35; cursor: not-allowed; }
.period { margin: 18px 0 8px; color: var(--gold); font-size: 13px; letter-spacing: .12em; }
.ticket {
  border: 1px dashed var(--gold); border-radius: 22px; padding: 22px;
  background: linear-gradient(180deg, rgba(212,175,55,.08), transparent);
  text-align: center;
}
.ticket .code { font-size: 28px; color: var(--gold-soft); letter-spacing: .18em; font-weight: 800; }
.wizard-nav { display: flex; gap: 10px; justify-content: space-between; margin-top: 22px; flex-wrap: wrap; }
.dash-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; }
.stat { padding: 18px; border-radius: 18px; border: 1px solid var(--line); background: rgba(10,10,12,.7); }
.stat b { display: block; font-size: 26px; color: var(--gold-soft); }
.pin-pad {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; max-width: 280px; margin: 18px auto;
}
.pin-pad button {
  height: 58px; border-radius: 16px; border: 1px solid var(--line); background: #0b0b0d;
  color: #fff; font-size: 20px; font-family: inherit; cursor: pointer;
}
.pin-pad button:hover { border-color: var(--gold); color: var(--gold-soft); }
.pin-dots { display: flex; justify-content: center; gap: 10px; margin: 12px 0; }
.pin-dots i {
  width: 12px; height: 12px; border-radius: 50%; border: 1px solid var(--gold); display: block;
}
.pin-dots i.on { background: var(--gold); }
[hidden], .is-hidden, .is-hidden { display: none !important; }
.auth-wrap {
  min-height: 100vh; display: grid; place-items: center; padding: 40px 6%;
}
.auth-card {
  width: min(480px, 100%); padding: 28px;
  background: rgba(8,8,10,.78); border: 1px solid var(--line); border-radius: 28px;
  backdrop-filter: blur(22px); box-shadow: 0 30px 80px rgba(0,0,0,.45);
}
.auth-card h1 { font-size: 34px; text-align: center; }
.auth-card .kicker { text-align: center; }
.auth-toggle { display: flex; gap: 8px; margin: 18px 0; }
.auth-toggle button { flex: 1; }
.shell { display: grid; grid-template-columns: 240px 1fr; min-height: 100vh; }
.side {
  border-left: 1px solid var(--line); padding: 22px 18px;
  background: rgba(0,0,0,.45); backdrop-filter: blur(18px);
}
.side a, .side button.navb {
  display: block; width: 100%; text-align: right; margin: 6px 0; padding: 10px 12px;
  border-radius: 12px; border: 1px solid transparent; background: transparent;
  color: var(--ink); text-decoration: none; font-family: inherit; cursor: pointer;
}
.side a:hover, .side button.navb:hover, .side a.on, .side button.navb.on {
  border-color: var(--gold); background: rgba(212,175,55,.1);
}
.hello-bar {
  position: relative; margin: 0 0 22px; padding: 22px 24px; overflow: hidden;
  border-radius: 24px; border: 1px solid var(--gold);
  background: linear-gradient(135deg, rgba(212,175,55,.2), rgba(8,8,10,.92));
  animation: helloIn .55s ease;
}
.hello-bar::after {
  content: ""; position: absolute; left: -40px; bottom: -60px; width: 180px; height: 180px;
  background: radial-gradient(circle, rgba(212,175,55,.28), transparent 70%); pointer-events: none;
}
.hello-bar h3 { margin: 6px 0 8px; font-size: 28px; }
.hello-bar p { margin: 0 0 12px; color: var(--muted); }
@keyframes helloIn { from { opacity: 0; transform: translateY(-12px); } to { opacity: 1; transform: none; } }
.profile-form label { display: block; margin: 10px 0 4px; }
.profile-form input { width: 100%; }
.auth-link { text-align: center; margin: 10px 0 0; }
.auth-link a { color: var(--gold); text-decoration: none; cursor: pointer; }
.user-form label { display: block; margin: 8px 0 4px; }
.user-form input, .user-form select { width: 100%; }
.support-card { margin-top: 16px; }
.support-card a { color: var(--gold); }
.muted a { color: var(--gold); }
.main { padding: 28px 4%; }
.filters { display: flex; gap: 10px; flex-wrap: wrap; margin: 16px 0 22px; }
.chip {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line);
  background: transparent; color: var(--ink); font-family: inherit; font-size: 13px;
  cursor: pointer; text-decoration: none; line-height: 1.4;
  transition: border-color .2s ease, background .2s ease, color .2s ease;
}
a.chip:hover, .chip:hover {
  border-color: var(--gold); color: var(--gold-soft); background: rgba(212,175,55,.08);
}
.chip.on { border-color: var(--gold); color: var(--gold-soft); background: rgba(212,175,55,.12); }

.cart-link, .cart-link {
  position: relative;
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
}
.cart-link.has-items, .cart-link.has-items {
  color: #fff;
  border-color: rgba(212,175,55,.4);
  background: rgba(212,175,55,.1);
}
.cart-badge, .cart-badge {
  display: inline-grid;
  place-items: center;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: linear-gradient(180deg, #ff6b7a, #c81e3a);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  line-height: 1;
  box-shadow: 0 0 0 2px #070707, 0 0 12px rgba(200,30,58,.5);
}
.cart-badge[hidden], .cart-badge[hidden] { display: none !important; }
.table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table th, .table td { border-bottom: 1px solid var(--line); padding: 10px 8px; text-align: right; }
.status-p { color: #fde68a; } .status-c { color: #86efac; } .status-x { color: #fca5a5; } .status-d { color: #93c5fd; }
@media (max-width: 900px) {
  .shell { grid-template-columns: 1fr; }
  .side { border: 0; border-bottom: 1px solid var(--line); }
  .hours-edit { grid-template-columns: 1fr 1fr; }
  .hours-edit b { grid-column: 1 / -1; }
  .master img { margin: 0 auto; }
}
