@font-face {
  font-family: "Vazirmatn";
  src: url("/fonts/Vazirmatn-Variable.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
:root {
  --bg: #F4F7FD;
  --panel: #FFFFFF;
  --ink: #14213D;
  --ink-soft: #5E6A84;
  --line: #E7ECF6;
  --blue: #1A6DF0;
  --cyan: #1FB4F2;
  --teal: #16D1C6;
  --orange: #FF8A1F;
  --pink: #E5409E;
  --purple: #8E3FE6;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(20,33,61,.08);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0C111A; --panel: #121A26; --ink: #EDF1F8; --ink-soft: #9AA6BD; --line: #1F2A3A;
  }
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  font-family: "Vazirmatn", Tahoma, sans-serif;
  color: var(--ink); background: var(--bg);
  -webkit-font-smoothing: antialiased; line-height: 1.7;
}
a { color: inherit; text-decoration: none; cursor: pointer; }
.wrap { width: min(1120px, 100% - 2rem); margin-inline: auto; }

/* top bar */
.topbar { position: sticky; top: 0; z-index: 20; background: color-mix(in oklab, var(--panel) 90%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.bar { display: flex; align-items: center; gap: 1rem; padding: .7rem 0; }
.brand { display: inline-flex; align-items: center; gap: .55rem; }
.brand img { border-radius: 10px; }
.brand-name { font-size: 1.15rem; font-weight: 650; }
.brand-name strong { color: var(--blue); }
.search { flex: 1; max-width: 420px; display: flex; align-items: center; gap: .5rem; padding: .55rem .9rem; background: var(--bg); border: 1px solid var(--line); border-radius: 99px; color: var(--ink-soft); }
.search input { flex: 1; border: 0; background: transparent; outline: 0; font: inherit; color: var(--ink); min-width: 0; }
.topnav { display: flex; gap: 1.1rem; font-weight: 600; color: var(--ink-soft); }
.topnav a:hover { color: var(--blue); }
.cart { position: relative; display: grid; place-items: center; width: 44px; height: 44px; border: 0; background: var(--bg); border-radius: 12px; color: var(--ink); cursor: pointer; }
.cart-count { position: absolute; top: -4px; inset-inline-start: -4px; min-width: 20px; height: 20px; padding: 0 5px; display: grid; place-items: center; background: var(--orange); color: #fff; font-size: .72rem; font-weight: 700; border-radius: 99px; }
@media (max-width: 860px) { .topnav { display: none; } .search { max-width: none; } }
@media (max-width: 560px) { .brand-name { display: none; } }

/* hero */
.hero { display: grid; grid-template-columns: 1.2fr .8fr; align-items: center; gap: 2rem; padding: 2.6rem 0 1.4rem; }
.soon-pill { display: inline-block; padding: .4rem 1rem; border-radius: 99px; background: color-mix(in oklab, var(--blue) 12%, transparent); color: var(--blue); font-weight: 700; font-size: .92rem; }
.hero h1 { margin: .8rem 0 .5rem; font-size: clamp(2rem, 6vw, 3.1rem); font-weight: 900; line-height: 1.2; }
.grad { background: linear-gradient(100deg, var(--pink), var(--orange) 40%, var(--teal) 72%, var(--blue)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p { color: var(--ink-soft); max-width: 36ch; font-size: 1.05rem; }
.hero-actions { display: flex; gap: .7rem; margin-top: 1.3rem; flex-wrap: wrap; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 1.5rem; border-radius: 14px; font-weight: 700; border: 0; cursor: pointer; font-size: 1rem; font-family: inherit; }
.btn.primary { color: #fff; background: linear-gradient(135deg, var(--blue), var(--cyan)); box-shadow: 0 10px 26px color-mix(in oklab, var(--blue) 32%, transparent); }
.btn.ghost { background: var(--panel); border: 1px solid var(--line); color: var(--ink); }
.hero-art { position: relative; display: grid; place-items: center; min-height: 240px; }
.hero-art .blob { position: absolute; width: 86%; aspect-ratio: 1; border-radius: 46% 54% 58% 42% / 52% 44% 56% 48%; background: radial-gradient(circle at 40% 35%, color-mix(in oklab, var(--cyan) 40%, transparent), transparent 60%), radial-gradient(circle at 70% 70%, color-mix(in oklab, var(--pink) 30%, transparent), transparent 60%); filter: blur(6px); }
.hero-art img { position: relative; filter: drop-shadow(0 16px 30px color-mix(in oklab, var(--purple) 26%, transparent)); width: clamp(150px, 40vw, 220px); height: auto; }
@media (max-width: 760px) { .hero { grid-template-columns: 1fr; text-align: center; } .hero p { margin-inline: auto; } .hero-actions { justify-content: center; } .hero-art { order: -1; min-height: 180px; } }

/* trust strip */
.strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin: 1.4rem auto; padding: 1.1rem; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.feat { display: flex; align-items: center; gap: .7rem; justify-content: center; }
.feat .fi { font-size: 1.6rem; }
.feat strong { display: block; font-size: .98rem; }
.feat small { color: var(--ink-soft); }
@media (max-width: 760px) { .strip { grid-template-columns: repeat(2, 1fr); } }

/* sections */
.sec-title { font-size: 1.4rem; font-weight: 800; margin: 2rem 0 1rem; }
.cats { display: grid; grid-template-columns: repeat(6, 1fr); gap: .8rem; }
.cat { display: grid; justify-items: center; gap: .5rem; padding: 1.1rem .6rem; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); font-weight: 650; text-align: center; transition: transform .15s, box-shadow .15s; }
.cat span { font-size: 1.8rem; }
.cat:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
@media (max-width: 760px) { .cats { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 420px) { .cats { grid-template-columns: repeat(2, 1fr); } }

/* product grid */
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: .8rem; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.thumb { position: relative; aspect-ratio: 1; border-radius: 12px; display: grid; place-items: center; margin-bottom: .7rem; overflow: hidden; }
.thumb .emoji { font-size: 3.4rem; filter: drop-shadow(0 6px 10px rgba(0,0,0,.12)); }
.thumb.t1 { background: linear-gradient(135deg, #DCEBFF, #EAF6FF); }
.thumb.t2 { background: linear-gradient(135deg, #FFE7D6, #FFF3E8); }
.thumb.t3 { background: linear-gradient(135deg, #E7F9F2, #F0FDF8); }
.thumb.t4 { background: linear-gradient(135deg, #F3E8FF, #FBF4FF); }
.thumb.t5 { background: linear-gradient(135deg, #FFE6F1, #FFF0F7); }
.thumb.t6 { background: linear-gradient(135deg, #E6F7FF, #F0FCFF); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .thumb { filter: saturate(.8) brightness(.9); } }
.ribbon { position: absolute; top: .5rem; inset-inline-start: .5rem; background: var(--orange); color: #fff; font-size: .72rem; font-weight: 700; padding: .2rem .6rem; border-radius: 99px; }
.card h3 { margin: 0 0 .3rem; font-size: 1rem; font-weight: 650; }
.price { font-weight: 800; color: var(--blue); margin-bottom: .7rem; }
.price span { font-weight: 600; color: var(--ink-soft); font-size: .8rem; }
.add { margin-top: auto; min-height: 42px; border: 0; border-radius: 12px; background: color-mix(in oklab, var(--blue) 10%, transparent); color: var(--blue); font-weight: 700; font-family: inherit; cursor: pointer; }
.add:hover { background: var(--blue); color: #fff; }
@media (max-width: 860px) { .grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 620px) { .grid { grid-template-columns: repeat(2, 1fr); } }

/* about */
.about p { color: var(--ink-soft); max-width: 70ch; }

/* footer */
.footer { margin-top: 3rem; background: var(--panel); border-top: 1px solid var(--line); }
.foot { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 1.4rem; padding: 2.2rem 0 1.4rem; }
.foot-brand { display: grid; gap: .35rem; align-content: start; }
.foot-brand span { font-weight: 700; }
.foot-brand small { color: var(--ink-soft); }
.foot-col { display: grid; gap: .5rem; align-content: start; }
.foot-col strong { margin-bottom: .2rem; }
.foot-col a { color: var(--ink-soft); }
.foot-col a:hover { color: var(--blue); }
.copy { text-align: center; color: var(--ink-soft); font-size: .86rem; padding: 1rem; border-top: 1px solid var(--line); }
@media (max-width: 760px) { .foot { grid-template-columns: 1fr 1fr; } }

/* floating note */
.note { position: fixed; z-index: 40; bottom: calc(1rem + env(safe-area-inset-bottom)); left: 50%; transform: translateX(-50%); background: var(--ink); color: var(--bg); padding: .7rem 1.2rem; border-radius: 99px; font-weight: 650; box-shadow: 0 14px 30px rgba(0,0,0,.25); }
