:root {
  --bg: #070604;
  --bg-2: #100e0a;
  --bg-3: #17130c;
  --card: #14110c;
  --line: rgba(212, 175, 55, 0.18);
  --gold: #d4af37;
  --gold-2: #f3e2a7;
  --gold-3: #8c6b1f;
  --ink: #f7f1e4;
  --muted: #b8ad95;
  --danger: #e8a0a0;
  --ok: #9dcea8;
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
  --radius: 22px;
  --header: 84px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }
body {
  font-family: "Vazirmatn", "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.8;
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font-family: inherit; }
.container { width: min(1240px, calc(100% - 40px)); margin-inline: auto; }
.en { font-family: "Cormorant Garamond", serif; letter-spacing: .18em; text-transform: uppercase; }

.grain {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 80;
  opacity: .045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='4'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
}

.ticker {
  background: linear-gradient(90deg, #1a160e, #0d0b08 40%, #1a160e);
  border-bottom: 1px solid var(--line);
  font-size: 12px;
  color: var(--gold-2);
  overflow: hidden;
  height: 38px;
  display: flex;
  align-items: center;
}
.ticker-track {
  display: flex;
  gap: 48px;
  white-space: nowrap;
  animation: marquee 32s linear infinite;
  padding-inline: 24px;
}
.ticker b { color: var(--gold); font-weight: 700; }
.up { color: var(--ok); }
.down { color: var(--danger); }

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(50%); }
}

.header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(18px);
  background: rgba(7, 6, 4, .78);
  border-bottom: 1px solid var(--line);
}
.nav {
  height: var(--header);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 190px;
}
.logo img { width: 46px; height: 46px; }
.logo strong {
  display: block;
  font-family: "Cormorant Garamond", serif;
  font-size: 18px;
  letter-spacing: .14em;
  font-weight: 600;
}
.logo span { display: block; font-size: 11px; color: var(--muted); letter-spacing: .08em; }

.menu {
  display: flex;
  gap: 6px;
  align-items: center;
}
.menu a, .menu button.linkish, .btn, .chip-btn, .chip, .trust-item, .meta-line, .site-footer h4, .stat {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.menu a, .menu button.linkish {
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--muted);
  background: none;
  border: 0;
  cursor: pointer;
  font-size: 14px;
}
.trust-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}
.trust-item > i { color: var(--gold); font-size: 18px; }
.stat { display: flex; flex-direction: column; align-items: center; }
.stat > i { color: var(--gold); font-size: 20px; }
.card-visual {
  height: 210px;
  overflow: hidden;
  background: #0c0a07;
}
.card-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: .4s ease;
}
.card:hover .card-visual img { transform: scale(1.06); }
.product-stage img {
  width: 100%;
  height: 100%;
  min-height: 460px;
  object-fit: cover;
  border-radius: 28px;
}
.ingot-stage { position: relative; height: 520px; }
.hero-shot {
  position: absolute;
  object-fit: cover;
  border-radius: 22px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.hero-shot.s1 { width: 72%; height: 340px; top: 20px; right: 40px; z-index: 3; }
.hero-shot.s2 { width: 46%; height: 200px; bottom: 30px; right: 0; z-index: 2; }
.hero-shot.s3 { width: 42%; height: 180px; bottom: 50px; left: 0; z-index: 1; }
.journal-card .cover { height: 180px; overflow: hidden; }
.journal-card .cover img { width: 100%; height: 100%; object-fit: cover; }
.step .ico {
  display: grid; place-items: center;
  width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid var(--gold);
  color: var(--gold);
  margin-bottom: 12px;
}
.cat .icon i { font-size: 22px; }
.site-footer h4 { display: flex; }
.menu a:hover, .menu a.active, .menu button.linkish:hover {
  color: var(--ink);
  background: rgba(212, 175, 55, .08);
}

.nav-cta { display: flex; gap: 10px; align-items: center; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  padding: 12px 20px;
  border: 1px solid transparent;
  cursor: pointer;
  font-weight: 600;
  transition: .25s ease;
}
.btn-gold {
  background: linear-gradient(180deg, #f4e2a8, #c9a227);
  color: #1a1408;
  box-shadow: 0 10px 30px rgba(212, 175, 55, .22);
}
.btn-gold:hover { transform: translateY(-1px); filter: brightness(1.05); }
.btn-ghost {
  border-color: var(--line);
  color: var(--gold-2);
  background: transparent;
}
.btn-ghost:hover { border-color: var(--gold); }
.hamburger {
  display: none;
  width: 44px; height: 44px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
}

.hero {
  position: relative;
  min-height: calc(100vh - 122px);
  display: grid;
  place-items: center;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(900px 480px at 80% 20%, rgba(212,175,55,.18), transparent 55%),
    radial-gradient(700px 400px at 10% 80%, rgba(140,107,31,.16), transparent 50%),
    linear-gradient(180deg, #0b0906, #070604 70%);
}
.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 48px;
  align-items: center;
  padding: 48px 0 72px;
}
.kicker {
  color: var(--gold);
  letter-spacing: .28em;
  font-size: 12px;
  margin-bottom: 16px;
}
h1, h2, h3 { font-weight: 700; line-height: 1.25; margin: 0 0 16px; }
h1 { font-size: clamp(36px, 5vw, 72px); }
h2 { font-size: clamp(28px, 3.4vw, 44px); }
.lede { font-size: 18px; color: var(--muted); max-width: 540px; }
.hero-actions { display: flex; gap: 12px; margin: 28px 0 36px; flex-wrap: wrap; }
.trust-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.trust-item {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 12px;
  background: rgba(255,255,255,.02);
  font-size: 13px;
  color: var(--muted);
}
.trust-item b { display: block; color: var(--ink); font-size: 14px; }

.ingot-stage { position: relative; height: 520px; }

.section { padding: 88px 0; }
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  margin-bottom: 36px;
}
.muted { color: var(--muted); }

.cats {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}
.cat {
  text-align: center;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 22px 10px;
  background: linear-gradient(180deg, rgba(212,175,55,.06), transparent);
  transition: .25s ease;
}
.cat:hover { transform: translateY(-6px); border-color: var(--gold); }
.cat .icon {
  width: 64px; height: 64px; margin: 0 auto 12px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: radial-gradient(circle at 30% 20%, #f3e2a7, #8c6b1f);
  color: #1a1408;
  font-weight: 800;
}
.cat small { color: var(--muted); font-size: 12px; }

.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }

.card {
  background: linear-gradient(180deg, #16130d, #100e0a);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: .28s ease;
  position: relative;
}
.card:hover { transform: translateY(-8px); border-color: rgba(212,175,55,.45); box-shadow: var(--shadow); }
.card-visual {
  height: 210px;
  overflow: hidden;
  background: #0c0a07;
}
.badge {
  position: absolute; top: 14px; right: 14px;
  background: #d4af37; color: #1a1408;
  font-size: 11px; padding: 4px 10px; border-radius: 999px; font-weight: 700;
}
.card-body { padding: 18px 18px 20px; }
.card-body h3 { font-size: 18px; margin-bottom: 4px; }
.price { font-size: 20px; color: var(--gold-2); font-weight: 800; }
.price small { display: block; font-size: 12px; color: var(--muted); font-weight: 400; }
.card-actions { display: flex; gap: 8px; margin-top: 14px; }
.card-actions .btn { flex: 1; padding: 10px 12px; font-size: 13px; }

.board {
  border: 1px solid var(--line);
  border-radius: 28px;
  overflow: hidden;
  background: #0e0c08;
}
.board table { width: 100%; border-collapse: collapse; }
.board th, .board td { padding: 16px 18px; text-align: right; border-bottom: 1px solid var(--line); }
.board th { color: var(--muted); font-weight: 500; font-size: 13px; }
.board tr:last-child td { border-bottom: 0; }

.why {
  background:
    radial-gradient(600px 300px at 100% 0%, rgba(212,175,55,.12), transparent),
    var(--bg-2);
}
.feature {
  padding: 28px;
  border-radius: 24px;
  border: 1px solid var(--line);
  min-height: 220px;
  background: rgba(255,255,255,.02);
}
.feature .n {
  font-family: "Cormorant Garamond", serif;
  color: var(--gold);
  font-size: 28px;
  letter-spacing: .2em;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 40px;
}
.stat {
  text-align: center;
  padding: 24px 10px;
  border-radius: 18px;
  border: 1px solid var(--line);
}
.stat b { display: block; font-size: 32px; color: var(--gold); }

.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.step {
  padding: 24px;
  border-radius: 20px;
  background: var(--card);
  border: 1px solid var(--line);
}
.step .ico {
  display: grid; place-items: center;
  width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid var(--gold);
  color: var(--gold);
  margin-bottom: 12px;
}

.journal-card {
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--line);
}
.journal-card .cover { height: 180px; overflow: hidden; background: #111; }
.journal-card .body { padding: 18px; }

.cta-band {
  border: 1px solid var(--line);
  border-radius: 32px;
  padding: 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  background:
    linear-gradient(120deg, rgba(212,175,55,.14), transparent 40%),
    #120f0a;
}

.site-footer {
  margin-top: 40px;
  background:
    radial-gradient(800px 280px at 80% 0%, rgba(212,175,55,.12), transparent),
    #090806;
  border-top: 1px solid var(--line);
}
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr 1.2fr;
  gap: 28px;
  padding: 64px 0 40px;
}
.footer-brand p { color: var(--muted); max-width: 320px; }
.footer-brand .certs {
  display: flex; gap: 8px; flex-wrap: wrap; margin-top: 18px;
}
.chip {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 11px;
  color: var(--gold-2);
}
.site-footer h4 { margin: 0 0 14px; font-size: 15px; color: var(--gold); }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 8px 0; color: var(--muted); }
.site-footer li a:hover { color: var(--ink); }
.newsletter {
  display: flex; gap: 8px; margin-top: 10px;
}
.newsletter input {
  flex: 1;
  background: #100e0a;
  border: 1px solid var(--line);
  color: var(--ink);
  border-radius: 999px;
  padding: 12px 14px;
}
.footer-mid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 18px;
  padding-bottom: 32px;
}
.panel {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px;
  background: rgba(255,255,255,.02);
}
.footer-bottom {
  border-top: 1px solid var(--line);
  padding: 18px 0 28px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 13px;
  flex-wrap: wrap;
}

.page-hero {
  padding: 56px 0 24px;
  border-bottom: 1px solid var(--line);
  background: radial-gradient(700px 240px at 90% 0, rgba(212,175,55,.12), transparent);
}
.filters { display: flex; gap: 8px; flex-wrap: wrap; margin: 20px 0 28px; }
.chip-btn {
  border: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  border-radius: 999px;
  padding: 8px 14px;
  cursor: pointer;
}
.chip-btn.active, .chip-btn:hover { color: #1a1408; background: var(--gold); border-color: var(--gold); }

.product-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; padding: 48px 0 80px; }
.product-stage {
  min-height: 460px;
  border-radius: 28px;
  border: 1px solid var(--line);
  overflow: hidden;
  background: #0c0a07;
}
.form { display: grid; gap: 12px; }
.form input, .form textarea, .form select {
  width: 100%;
  background: #120f0a;
  border: 1px solid var(--line);
  color: var(--ink);
  border-radius: 14px;
  padding: 12px 14px;
}
.toast {
  position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%) translateY(20px);
  background: var(--gold); color: #1a1408; padding: 12px 18px; border-radius: 999px;
  opacity: 0; pointer-events: none; transition: .3s ease; z-index: 90; font-weight: 700;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

.drawer {
  position: fixed; inset: 0; background: rgba(0,0,0,.55); z-index: 60;
  display: none;
}
.drawer.open { display: block; }
.drawer-panel {
  position: absolute; top: 0; right: 0; height: 100%; width: min(360px, 88vw);
  background: #100e0a; border-left: 1px solid var(--line); padding: 24px;
  display: flex; flex-direction: column; gap: 8px;
}
.drawer-panel a { padding: 12px; border-radius: 12px; color: var(--muted); display: flex; align-items: center; gap: 10px; }
.drawer-panel a:hover { background: rgba(212,175,55,.08); color: var(--ink); }

@media (max-width: 1100px) {
  .grid-4, .cats, .stats, .process, .footer-top { grid-template-columns: repeat(2, 1fr); }
  .hero-grid, .product-layout, .grid-3, .footer-mid { grid-template-columns: 1fr; }
  .ingot-stage { height: 380px; }
  .menu { overflow-x: auto; max-width: 52vw; }
  .menu a { white-space: nowrap; font-size: 13px; padding: 8px 10px; }
}
@media (max-width: 720px) {
  .menu, .nav-cta .btn-ghost { display: none; }
  .hamburger { display: grid; place-items: center; }
  .trust-row { grid-template-columns: 1fr 1fr; }
  .grid-4, .cats, .stats, .process, .footer-top, .footer-mid { grid-template-columns: 1fr; }
  .hero-shot.s1 { width: 88%; height: 240px; right: 6%; }
  .hero-shot.s2, .hero-shot.s3 { display: none; }
  .ingot-stage { height: 280px; }
  .cta-band, .section-head, .footer-bottom { flex-direction: column; align-items: stretch; }
  h1 { font-size: 36px; }
}
