/* ==========================================================================
   مانی لند — سیستم طراحی
   پالت: نیوی جوهری (نه مشکی خالص) + دو رنگ لهجه: طلایی (ارزش/پول) و فیروزه‌ای (اعتماد/دیجیتال)
   تایپوگرافی: Lalezar برای تیترهای شاخص، Vazirmatn برای متن، JetBrains Mono برای اعداد/نرخ‌ها
   امضای طراحی: خط مسیر متحرک (کریدور تهران-دبی-استانبول-اروپا) در پس‌زمینه‌ی هیرو
   ========================================================================== */

:root{
  --bg:            #0B1220;
  --bg-soft:       #0F1830;
  --surface:       #121B2E;
  --surface-2:     #17223A;
  --border:        rgba(255,255,255,.08);
  --border-strong: rgba(255,255,255,.14);

  --text:          #EDEFF5;
  --text-muted:    #8B95AC;
  --text-faint:    #5C6685;

  --gold:          #D4A24C;
  --gold-soft:     rgba(212,162,76,.14);
  --teal:          #2FBFB0;
  --teal-soft:     rgba(47,191,176,.14);
  --danger:        #F0665E;
  --danger-soft:   rgba(240,102,94,.14);

  --font-display:  'Lalezar', 'Vazirmatn', sans-serif;
  --font-body:     'Vazirmatn', sans-serif;
  --font-mono:     'JetBrains Mono', monospace;

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 26px;
  --shadow-lift: 0 20px 50px -20px rgba(0,0,0,.6);
  --ease: cubic-bezier(.16,.8,.28,1);
}

*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }

body{
  margin:0;
  background:var(--bg);
  color:var(--text);
  font-family:var(--font-body);
  direction:rtl;
  text-align:right;
  line-height:1.7;
  -webkit-font-smoothing:antialiased;
}

h1,h2,h3,.display{
  font-family:var(--font-display);
  font-weight:400;
  letter-spacing:.5px;
  line-height:1.35;
  margin:0;
}

.mono{ font-family:var(--font-mono); direction:ltr; unicode-bidi:isolate; }

a{ color:inherit; text-decoration:none; }
img{ max-width:100%; display:block; }
button{ font-family:inherit; cursor:pointer; }

.container{ max-width:1180px; margin:0 auto; padding:0 24px; }
.eyebrow{
  display:inline-flex; align-items:center; gap:8px;
  font-size:13px; color:var(--teal); letter-spacing:1px;
  background:var(--teal-soft); border:1px solid rgba(47,191,176,.3);
  padding:6px 14px; border-radius:999px; margin-bottom:18px;
}

/* Nav */
.nav{
  position:sticky; top:0; z-index:50;
  backdrop-filter:blur(14px);
  background:rgba(11,18,32,.78);
  border-bottom:1px solid var(--border);
}
.nav-inner{ display:flex; align-items:center; justify-content:space-between; padding:14px 0; }
.brand{ display:flex; align-items:center; gap:10px; font-family:var(--font-display); font-size:22px; }
.brand-mark{
  width:34px; height:34px; border-radius:10px;
  background:linear-gradient(135deg,var(--gold),var(--teal));
  display:flex; align-items:center; justify-content:center;
  font-family:var(--font-mono); font-weight:700; color:#0B1220; font-size:14px;
  overflow:hidden;
}
.brand-mark img{ width:100%; height:100%; object-fit:cover; }
.nav-links{ display:flex; align-items:center; gap:28px; font-size:15px; color:var(--text-muted); }
.nav-links a:hover{ color:var(--text); }
.nav-ctas{ display:flex; gap:10px; }

.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  padding:11px 22px; border-radius:999px; border:1px solid var(--border-strong);
  font-size:14px; font-weight:500; transition:transform .25s var(--ease), border-color .25s, background .25s;
  background:transparent; color:var(--text);
}
.btn:hover{ transform:translateY(-2px); border-color:var(--teal); }
.btn-primary{ background:linear-gradient(135deg,var(--gold),#B8863C); color:#1A1204; border:none; }
.btn-primary:hover{ box-shadow:0 10px 30px -8px rgba(212,162,76,.55); }
.btn-outline-teal{ border-color:rgba(47,191,176,.4); color:var(--teal); }
.btn-sm{ padding:8px 16px; font-size:13px; }
.btn-block{ width:100%; }
.btn:disabled{ opacity:.5; cursor:not-allowed; transform:none; }

@media (max-width:860px){ .nav-links{ display:none; } }

/* Hero */
.hero{ position:relative; overflow:hidden; padding:96px 0 80px; border-bottom:1px solid var(--border); }
.hero::before{
  content:''; position:absolute; inset:0;
  background:
    radial-gradient(700px 400px at 85% -10%, var(--gold-soft), transparent 60%),
    radial-gradient(600px 400px at 10% 110%, var(--teal-soft), transparent 60%);
  pointer-events:none;
}
.corridor{ position:absolute; inset:0; opacity:.55; pointer-events:none; }
.corridor path.route{ fill:none; stroke:url(#routeGrad); stroke-width:1.4; stroke-dasharray:6 8; animation:dash 30s linear infinite; }
.corridor circle.pulse{ animation:pulse 3.2s var(--ease) infinite; }
.corridor .node{ fill:var(--bg); stroke:var(--text-faint); stroke-width:1; }
.corridor .node-label{ font-family:var(--font-mono); font-size:11px; fill:var(--text-faint); }
@keyframes dash{ to{ stroke-dashoffset:-400; } }
@keyframes pulse{ 0%{ r:2.5; opacity:1; } 70%{ r:7; opacity:0; } 100%{ r:7; opacity:0; } }

.hero-inner{ position:relative; display:grid; grid-template-columns:1.1fr .9fr; gap:56px; align-items:center; }
@media (max-width:960px){ .hero-inner{ grid-template-columns:1fr; } }

.hero h1{ font-size:56px; margin-bottom:22px; }
.hero h1 span{ color:var(--gold); }
.hero p.lead{ color:var(--text-muted); font-size:17px; max-width:520px; margin-bottom:34px; }
.hero-ctas{ display:flex; flex-wrap:wrap; gap:12px; }

.ticker-card{
  background:linear-gradient(180deg,var(--surface),var(--surface-2));
  border:1px solid var(--border-strong); border-radius:var(--radius-lg);
  padding:28px; box-shadow:var(--shadow-lift);
}
.ticker-head{ display:flex; justify-content:space-between; align-items:center; margin-bottom:18px; }
.ticker-head span{ font-size:13px; color:var(--text-muted); }
.ticker-live{ display:flex; align-items:center; gap:6px; font-size:12px; color:var(--teal); }
.ticker-live i{ width:7px; height:7px; border-radius:50%; background:var(--teal); animation:live 1.8s infinite; }
@keyframes live{ 0%{box-shadow:0 0 0 0 rgba(47,191,176,.5);} 70%{box-shadow:0 0 0 8px rgba(47,191,176,0);} 100%{box-shadow:0 0 0 0 rgba(47,191,176,0);} }

.ticker-row{ display:flex; justify-content:space-between; align-items:center; padding:14px 0; border-bottom:1px dashed var(--border); }
.ticker-row:last-child{ border-bottom:none; }
.ticker-cur{ display:flex; align-items:center; gap:10px; font-size:15px; }
.ticker-vals{ display:flex; gap:18px; font-family:var(--font-mono); font-size:16px; }
.ticker-vals .price{ color:var(--gold); font-weight:600; }

/* Sections */
.section{ padding:90px 0; }
.section-head{ max-width:640px; margin-bottom:48px; }
.section-head h2{ font-size:36px; margin-bottom:14px; }
.section-head p{ color:var(--text-muted); font-size:16px; }

.reveal{ opacity:0; transform:translateY(24px); transition:opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in{ opacity:1; transform:none; }

/* Rates */
.rates-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:16px; }
@media (max-width:960px){ .rates-grid{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:560px){ .rates-grid{ grid-template-columns:1fr; } }

.rate-card{
  background:linear-gradient(180deg, var(--surface), var(--surface-2));
  border:1px solid var(--border); border-radius:var(--radius-md); padding:22px;
  transition:border-color .25s, transform .25s var(--ease), box-shadow .25s var(--ease);
}
.rate-card:hover{ border-color:var(--teal); transform:translateY(-4px); box-shadow:0 16px 32px -18px rgba(47,191,176,.35); }
.rate-card .flag{ font-size:26px; }
.rate-card .name{ font-size:15px; margin:12px 0 4px; font-weight:500; }
.rate-card .code{ font-family:var(--font-mono); font-size:11px; color:var(--text-faint); }
.rate-card .price-row{ display:flex; justify-content:space-between; align-items:baseline; margin-top:18px; padding-top:16px; border-top:1px solid var(--border); }
.rate-card .price-row span{ font-size:12px; color:var(--text-muted); }
.rate-card .price-row b{ font-family:var(--font-mono); font-size:19px; font-weight:600; color:var(--gold); }

.rates-toggle{ display:flex; gap:8px; margin-bottom:28px; }
.rates-toggle button{ padding:9px 18px; border-radius:999px; border:1px solid var(--border-strong); background:transparent; color:var(--text-muted); font-size:14px; }
.rates-toggle button.active{ background:var(--teal-soft); color:var(--teal); border-color:rgba(47,191,176,.4); }

/* Wizard */
.wizard{ background:var(--surface); border:1px solid var(--border); border-radius:var(--radius-lg); padding:36px; box-shadow:var(--shadow-lift); }
.steps{ display:flex; gap:10px; margin-bottom:36px; flex-wrap:wrap; }
.step-pill{ display:flex; align-items:center; gap:8px; padding:8px 14px; border-radius:999px; background:var(--surface-2); font-size:13px; color:var(--text-faint); border:1px solid var(--border); }
.step-pill b{ font-family:var(--font-mono); color:var(--text-faint); }
.step-pill.active{ color:var(--text); border-color:var(--teal); background:var(--teal-soft); }
.step-pill.active b{ color:var(--teal); }
.step-pill.done{ color:var(--gold); border-color:rgba(212,162,76,.4); }
.step-pill.done b{ color:var(--gold); }

.step-panel{ display:none; }
.step-panel.active{ display:block; animation:fadein .4s var(--ease); }
@keyframes fadein{ from{opacity:0; transform:translateY(8px);} to{opacity:1; transform:none;} }

.step-title{ font-size:20px; margin-bottom:6px; }
.step-sub{ color:var(--text-muted); font-size:14px; margin-bottom:24px; }

.tile-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:10px; }
@media (max-width:640px){ .tile-grid{ grid-template-columns:repeat(2,1fr); } }
.tile{ border:1px solid var(--border-strong); border-radius:var(--radius-sm); padding:16px 10px; text-align:center; background:var(--surface-2); font-size:14px; transition:border-color .2s, background .2s, transform .2s var(--ease); }
.tile:hover{ border-color:var(--teal); transform:translateY(-2px); }
.tile.selected{ border-color:var(--gold); background:var(--gold-soft); color:var(--gold); }
.tile .flag{ font-size:22px; display:block; margin-bottom:6px; }

.choice-row{ display:flex; gap:12px; flex-wrap:wrap; }
.choice-card{ flex:1 1 220px; border:1px solid var(--border-strong); border-radius:var(--radius-md); padding:20px; background:var(--surface-2); transition:border-color .2s, transform .2s var(--ease); }
.choice-card:hover{ transform:translateY(-2px); border-color:var(--teal); }
.choice-card.selected{ border-color:var(--gold); background:var(--gold-soft); }
.choice-card b{ display:block; margin-bottom:6px; font-size:15px; }
.choice-card span{ color:var(--text-muted); font-size:13px; }

.field{ margin-bottom:18px; }
.field label{ display:block; font-size:13px; color:var(--text-muted); margin-bottom:8px; }
.field input, .field textarea{ width:100%; background:var(--bg-soft); border:1px solid var(--border-strong); border-radius:var(--radius-sm); padding:12px 14px; color:var(--text); font-family:inherit; font-size:14px; }
.field input:focus, .field textarea:focus{ outline:2px solid var(--teal); outline-offset:1px; }
.field-hint{ font-size:12px; color:var(--text-faint); margin-top:6px; }
.field .amount-input{ font-family:var(--font-mono); font-size:20px; text-align:center; }

.file-drop{ border:1.5px dashed var(--border-strong); border-radius:var(--radius-sm); padding:20px; text-align:center; color:var(--text-muted); font-size:13px; cursor:pointer; transition:border-color .2s; }
.file-drop:hover{ border-color:var(--teal); }
.file-drop.has-file{ border-color:var(--gold); color:var(--gold); }

.wizard-nav{ display:flex; justify-content:space-between; margin-top:32px; }
.wizard-error{ color:var(--danger); font-size:13px; margin-top:10px; display:none; }
.wizard-error.show{ display:block; }

.summary-box{ background:var(--surface-2); border:1px solid var(--border); border-radius:var(--radius-md); padding:20px; margin-bottom:20px; font-size:14px; }
.summary-box div{ display:flex; justify-content:space-between; padding:8px 0; border-bottom:1px dashed var(--border); }
.summary-box div:last-child{ border-bottom:none; }
.summary-box span:first-child{ color:var(--text-muted); }
.summary-note{ font-size:13px; color:var(--gold); background:var(--gold-soft); border:1px solid rgba(212,162,76,.3); border-radius:var(--radius-sm); padding:12px 14px; margin-bottom:20px; }

.success-box{ text-align:center; padding:20px 0; }
.success-box .code{ font-family:var(--font-mono); font-size:32px; color:var(--gold); margin:14px 0; letter-spacing:2px; }

/* Partner */
.partner-banner{ border-radius:var(--radius-lg); padding:48px; text-align:center; background:linear-gradient(135deg, rgba(212,162,76,.12), rgba(47,191,176,.1)); border:1px solid var(--border-strong); }
.partner-banner h2{ font-size:30px; margin-bottom:14px; }
.partner-banner p{ color:var(--text-muted); max-width:560px; margin:0 auto 26px; }

/* Track */
.track-wrap{ display:flex; justify-content:center; }
.track-card{
  width:100%; max-width:480px; background:linear-gradient(180deg, var(--surface), var(--surface-2));
  border:1px solid var(--border-strong); border-radius:var(--radius-lg); padding:36px;
  box-shadow:var(--shadow-lift); text-align:center;
}
.track-card .track-icon{ font-size:34px; margin-bottom:6px; }
.track-form{ display:flex; flex-direction:column; gap:16px; margin-top:22px; text-align:right; }
.track-form .field{ margin-bottom:0; }
.track-form button{ margin-top:6px; }
.track-result{ margin-top:22px; text-align:right; }

/* Footer */
footer{ border-top:1px solid var(--border); padding:48px 0 28px; color:var(--text-muted); font-size:14px; }
.footer-grid{ display:flex; justify-content:space-between; flex-wrap:wrap; gap:32px; margin-bottom:32px; }
.footer-col h4{ color:var(--text); font-weight:500; margin-bottom:12px; font-size:14px; }
.footer-col a{ display:block; color:var(--text-muted); margin-bottom:8px; }
.footer-col a:hover{ color:var(--teal); }
.footer-bottom{ display:flex; justify-content:space-between; border-top:1px solid var(--border); padding-top:22px; font-size:12px; color:var(--text-faint); flex-wrap:wrap; gap:10px; }

@media (prefers-reduced-motion: reduce){
  *{ animation-duration:.001ms !important; animation-iteration-count:1 !important; transition-duration:.001ms !important; }
}

@media (max-width:640px){
  .hero h1{ font-size:38px; }
  .section{ padding:60px 0; }
  .wizard{ padding:22px; }
}
