/* ===================================================================
   Shared design tokens — same as public/wallet (ART-final.zip) and the
   mobile app. Intentionally not reinventing the visual language.
=================================================================== */
:root {
  --bg: #0a0e16;
  --surface-1: #121a25;
  --surface-2: #19222f;
  --border: rgba(255, 255, 255, 0.07);
  --border-strong: rgba(255, 255, 255, 0.14);
  --text-primary: #eef2f7;
  --text-secondary: #8d99ab;
  --text-muted: #5c6779;
  --green: #32d583;
  --green-strong: #22c55e;
  --green-dim: rgba(50, 213, 131, 0.14);
  --amber: #f5b942;
  --red: #f2685f;
  --radius-lg: 18px;
  --radius-md: 12px;
  --radius-sm: 8px;
  --max-width: 1080px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  background: var(--bg);
  color: var(--text-primary);
  font-family: 'Vazirmatn', 'Tahoma', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
}

a { color: inherit; text-decoration: none; }
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 20px; }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 40;
  background: rgba(10, 14, 22, 0.85); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; padding: 14px 20px; max-width: var(--max-width); margin: 0 auto; }
.brand { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 17px; }
.brand-badge { width: 30px; height: 30px; border-radius: 9px; background: var(--green-dim); display: flex; align-items: center; justify-content: center; font-size: 15px; }
.nav-links { display: flex; gap: 22px; font-size: 13.5px; color: var(--text-secondary); }
.nav-links a:hover { color: var(--text-primary); }
.nav-cta { background: var(--green-strong); color: #06170d; padding: 8px 16px; border-radius: var(--radius-sm); font-size: 13px; font-weight: 700; }

/* Hero */
.hero { padding: 72px 20px 56px; text-align: center; max-width: 760px; margin: 0 auto; }
.hero-badge { display: inline-block; background: var(--surface-2); border: 1px solid var(--border); color: var(--text-secondary); font-size: 12px; padding: 6px 14px; border-radius: 20px; margin-bottom: 20px; }
.hero h1 { font-size: 36px; font-weight: 700; line-height: 1.35; margin: 0 0 16px; }
.hero h1 span { color: var(--green); }
.hero p { color: var(--text-secondary); font-size: 15.5px; line-height: 1.8; margin: 0 0 30px; }
.hero-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.btn-primary { background: linear-gradient(180deg, var(--green-strong), #178a44); color: #06170d; font-weight: 700; padding: 13px 26px; border-radius: var(--radius-md); font-size: 14.5px; }
.btn-secondary { background: var(--surface-2); border: 1px solid var(--border-strong); color: var(--text-primary); padding: 13px 26px; border-radius: var(--radius-md); font-size: 14.5px; }

/* Feature grid */
.section { padding: 56px 20px; }
.section-title { text-align: center; font-size: 26px; font-weight: 700; margin: 0 0 10px; }
.section-sub { text-align: center; color: var(--text-secondary); font-size: 14px; margin: 0 0 40px; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; max-width: var(--max-width); margin: 0 auto; }
.feature-card { background: var(--surface-1); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 22px; }
.feature-icon { width: 42px; height: 42px; border-radius: 12px; background: var(--green-dim); display: flex; align-items: center; justify-content: center; font-size: 20px; margin-bottom: 14px; }
.feature-card h3 { font-size: 15.5px; margin: 0 0 8px; }
.feature-card p { font-size: 13px; color: var(--text-secondary); line-height: 1.8; margin: 0; }

/* Pricing */
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; max-width: var(--max-width); margin: 0 auto; }
.price-card { background: var(--surface-1); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 26px; text-align: center; }
.price-card.featured { border: 2px solid var(--green-strong); position: relative; }
.price-badge { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--green-strong); color: #06170d; font-size: 11px; font-weight: 700; padding: 4px 12px; border-radius: 20px; }
.price-card h3 { font-size: 15px; color: var(--text-secondary); margin: 10px 0 6px; font-weight: 500; }
.price-amount { font-size: 28px; font-weight: 700; margin-bottom: 4px; }
.price-amount span { font-size: 13px; color: var(--text-secondary); font-weight: 400; }
.price-meta { font-size: 12px; color: var(--text-muted); margin-bottom: 18px; }
.price-card .btn-primary, .price-card .btn-secondary { display: block; width: 100%; }

/* Footer */
.footer { border-top: 1px solid var(--border); padding: 30px 20px; text-align: center; color: var(--text-muted); font-size: 12.5px; }

@media (max-width: 640px) {
  .hero h1 { font-size: 27px; }
  .nav-links { display: none; }
}

/* Shared wallet-page bits (login/wallet.html) */
.app-frame { width: 100%; max-width: 460px; margin: 0 auto; min-height: 100vh; background: var(--bg); padding: 20px 16px 40px; }
.card { background: var(--surface-1); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 18px; margin-bottom: 14px; }
.input { width: 100%; background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 13px; color: var(--text-primary); font-family: inherit; font-size: 15px; margin-bottom: 10px; }
.primary-btn { width: 100%; background: linear-gradient(180deg, var(--green-strong), #178a44); border: none; color: #06170d; font-weight: 700; font-size: 14.5px; padding: 13px; border-radius: var(--radius-md); font-family: inherit; }
