:root {
  --gold-1: #f9d976;
  --gold-2: #d4af37;
  --gold-3: #b8860b;
  --green: #10b981;
  --red: #dc2626;
  --bg: #0a0a0a;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Vazirmatn', sans-serif;
  background: var(--bg);
  color: #e5e5e5;
  overflow-x: hidden;
}

/* Layered luxury background */
.app-root {
  min-height: 100vh;
  background:
    radial-gradient(circle at 15% 10%, rgba(212,175,55,0.10), transparent 40%),
    radial-gradient(circle at 85% 60%, rgba(16,185,129,0.06), transparent 45%),
    radial-gradient(circle at 50% 100%, rgba(184,134,11,0.08), transparent 50%),
    #0a0a0a;
}

.gold-text {
  background: linear-gradient(100deg, var(--gold-3), var(--gold-1) 45%, var(--gold-2));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ---------- Navbar ---------- */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  transition: all .4s ease;
  background: transparent;
}
.navbar-solid {
  background: rgba(10,10,10,0.82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(212,175,55,0.25);
  box-shadow: 0 6px 30px rgba(0,0,0,0.5);
}
.nav-link { position: relative; }
.nav-link::after {
  content: ''; position: absolute; bottom: -4px; right: 0;
  width: 0; height: 2px; background: var(--gold-2); transition: width .3s;
}
.nav-link:hover::after { width: 100%; }
.mobile-menu {
  background: rgba(10,10,10,0.96);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(212,175,55,0.25);
  animation: slideDown .3s ease;
}
@keyframes slideDown { from { opacity: 0; transform: translateY(-10px);} to {opacity:1;transform:translateY(0);} }
.coin-spin { animation: spinCoin 6s linear infinite; }
@keyframes spinCoin { to { transform: rotateY(360deg); } }
.logo-shine { position: relative; }

/* ---------- Buttons ---------- */
.gold-btn {
  background: linear-gradient(120deg, var(--gold-3), var(--gold-1) 50%, var(--gold-2));
  color: #1a1200; font-weight: 800; border: none; border-radius: 14px;
  cursor: pointer; transition: all .3s;
  box-shadow: 0 6px 22px rgba(212,175,55,0.35);
}
.gold-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 34px rgba(212,175,55,0.55); }
.gold-btn:disabled { opacity: .6; cursor: default; }
.gold-outline-btn {
  background: transparent; color: var(--gold-1); font-weight: 700;
  border: 1.5px solid var(--gold-2); border-radius: 14px; cursor: pointer;
  transition: all .3s;
}
.gold-outline-btn:hover { background: rgba(212,175,55,0.12); box-shadow: 0 0 24px rgba(212,175,55,0.3); }

/* ---------- Hero ---------- */
.hero-section { min-height: 100vh; display: flex; flex-direction: column; }
.ai-img-wrap { position: relative; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-bg img { filter: brightness(.55) saturate(1.1); }
.hero-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(to bottom, rgba(10,10,10,0.6), rgba(10,10,10,0.4) 40%, rgba(10,10,10,0.95)),
    radial-gradient(circle at 50% 35%, rgba(212,175,55,0.15), transparent 55%);
}
.hero-badge {
  display: inline-block; padding: 8px 18px; border-radius: 999px;
  border: 1px solid rgba(212,175,55,0.4); color: var(--gold-1);
  font-size: 13px; background: rgba(212,175,55,0.08); backdrop-filter: blur(6px);
}
.hero-title {
  font-size: clamp(2.2rem, 6vw, 4.5rem); font-weight: 900; line-height: 1.25;
  text-shadow: 0 0 40px rgba(212,175,55,0.25);
}
.hero-sub {
  color: #c9c9c9; font-size: clamp(1rem, 2.2vw, 1.25rem); font-weight: 300;
  line-height: 2.1; max-width: 640px; margin: 24px auto 0;
}

/* Hero staggered load anims */
.anim-fade-1, .anim-fade-2, .anim-fade-3, .anim-fade-4 {
  opacity: 0; animation: fadeUp .9s ease forwards;
}
.anim-fade-1 { animation-delay: .2s; }
.anim-fade-2 { animation-delay: .45s; }
.anim-fade-3 { animation-delay: .7s; }
.anim-fade-4 { animation-delay: .95s; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px);} to {opacity:1;transform:translateY(0);} }

/* Particles */
.particles { position: absolute; inset: 0; overflow: hidden; z-index: 5; pointer-events: none; }
.particle {
  position: absolute; top: 100%; color: var(--gold-1); opacity: .5;
  animation: floatUp linear infinite;
}
@keyframes floatUp {
  0% { top: 100%; opacity: 0; transform: translateX(0) rotate(0); }
  15% { opacity: .6; }
  100% { top: -10%; opacity: 0; transform: translateX(30px) rotate(180deg); }
}

/* ---------- Ticker ---------- */
.ticker-strip {
  position: relative; z-index: 10; margin-top: auto;
  background: rgba(0,0,0,0.55); backdrop-filter: blur(10px);
  border-top: 1px solid rgba(212,175,55,0.25); border-bottom: 1px solid rgba(212,175,55,0.15);
  overflow: hidden; padding: 12px 0;
}
.ticker-track { display: flex; gap: 40px; width: max-content; animation: scrollTicker 30s linear infinite; }
.ticker-strip:hover .ticker-track { animation-play-state: paused; }
.ticker-item { display: flex; align-items: center; gap: 10px; white-space: nowrap; }
@keyframes scrollTicker { from { transform: translateX(0);} to { transform: translateX(50%);} }

/* ---------- Sections ---------- */
.section-pad { padding: 90px 0; }
.section-title { font-size: clamp(1.8rem, 4vw, 3rem); font-weight: 800; }
.gold-divider {
  width: 90px; height: 3px; border-radius: 3px;
  background: linear-gradient(90deg, transparent, var(--gold-2), transparent);
}

/* ---------- Glass cards ---------- */
.glass-card {
  background: linear-gradient(160deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02));
  border: 1px solid rgba(212,175,55,0.22);
  border-radius: 20px; backdrop-filter: blur(12px);
  transition: all .4s ease;
}

/* Features */
.feature-card:hover {
  transform: translateY(-6px);
  border-color: rgba(212,175,55,0.6);
  box-shadow: 0 16px 44px rgba(212,175,55,0.18);
}
.feature-icon {
  width: 56px; height: 56px; border-radius: 16px; font-size: 26px;
  display: flex; align-items: center; justify-content: center; margin-bottom: 18px;
  background: linear-gradient(140deg, rgba(212,175,55,0.25), rgba(184,134,11,0.1));
  border: 1px solid rgba(212,175,55,0.35);
}

/* Products */
.product-card { overflow: hidden; }
.product-card:hover { transform: translateY(-6px); border-color: rgba(212,175,55,0.55); box-shadow: 0 16px 44px rgba(0,0,0,0.5); }
.product-img-frame { position: relative; height: 240px; overflow: hidden; border-bottom: 1px solid rgba(212,175,55,0.2); }
.product-img { height: 100%; }
.product-card:hover .product-img img { transform: scale(1.12); }
.product-img img { transition: transform 1s ease; }
.shine-sweep {
  position: absolute; top: 0; left: -60%; width: 40%; height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.35), transparent);
  transform: skewX(-20deg); transition: none; pointer-events: none;
}
.product-card:hover .shine-sweep { animation: sweep 1s ease; }
@keyframes sweep { from { left: -60%; } to { left: 130%; } }

/* Chart */
.chart-tab {
  padding: 8px 20px; border-radius: 12px; cursor: pointer; font-weight: 600;
  background: transparent; border: 1px solid rgba(212,175,55,0.3); color: #bbb; transition: all .3s;
}
.chart-tab-active {
  background: linear-gradient(120deg, var(--gold-3), var(--gold-2));
  color: #1a1200; border-color: transparent; box-shadow: 0 4px 16px rgba(212,175,55,0.3);
}

/* Reveal */
.reveal { opacity: 0; transform: translateY(36px); transition: all .8s cubic-bezier(.2,.7,.2,1); }
.reveal-in { opacity: 1; transform: translateY(0); }

/* Inputs */
.lux-input {
  width: 100%; padding: 12px 14px; border-radius: 12px;
  background: rgba(255,255,255,0.04); border: 1px solid rgba(212,175,55,0.25);
  color: #eee; font-family: 'Vazirmatn', sans-serif; font-size: 15px; outline: none;
  transition: all .3s;
}
.lux-input:focus { border-color: var(--gold-2); box-shadow: 0 0 0 3px rgba(212,175,55,0.18), 0 0 18px rgba(212,175,55,0.2); }
.input-error { border-color: var(--red); }
.social-chip {
  padding: 6px 14px; border-radius: 999px; font-size: 13px; cursor: pointer;
  border: 1px solid rgba(212,175,55,0.3); color: var(--gold-1); transition: all .3s;
}
.social-chip:hover { background: rgba(212,175,55,0.15); }

/* Confetti */
.confetti-layer { position: fixed; inset: 0; pointer-events: none; z-index: 100; overflow: hidden; }
.confetti {
  position: absolute; top: -20px; width: 10px; height: 14px; border-radius: 2px;
  animation: fall 2.6s ease-in forwards;
}
@keyframes fall {
  to { top: 110%; transform: rotate(720deg); opacity: 0; }
}

/* Shimmer skeleton */
.shimmer {
  position: absolute; inset: 0;
  background: linear-gradient(100deg, #141414 30%, #2a2416 50%, #141414 70%);
  background-size: 200% 100%; animation: shimmer 1.4s infinite;
}
@keyframes shimmer { from { background-position: 200% 0; } to { background-position: -200% 0; } }

/* Footer */
.footer-lux {
  background: linear-gradient(to bottom, transparent, rgba(0,0,0,0.6));
  border-top: 1px solid rgba(212,175,55,0.25);
  margin-top: 40px;
}

@media (max-width: 768px) {
  .section-pad { padding: 60px 0; }
  .hero-section { min-height: auto; }
}
</parameter>