/* ═══════════════════════════════════════════════════════
   TITAN AI — Gold Theme
   Persian RTL • Dark • Luxury
   ═══════════════════════════════════════════════════════ */

:root {
  /* Gold palette */
  --gold: #f5b042;
  --gold-light: #fcd34d;
  --gold-dark: #b8801e;
  --gold-dim: rgba(245, 176, 66, 0.12);
  --gold-glow: rgba(245, 176, 66, 0.35);

  /* Surfaces */
  --bg: #0a0805;
  --bg-2: #100c07;
  --surface: #141008;
  --surface-2: #1a1409;
  --border: #2a2418;
  --border-light: #3a3020;

  /* Text */
  --text: #f5f0e5;
  --text-2: #d4c9b5;
  --muted: #8a7f6a;
  --muted-2: #5f5749;

  /* State */
  --green: #4ade80;
  --red: #f87171;

  --radius: 14px;
  --radius-sm: 10px;
  --radius-lg: 20px;
  --shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  --shadow-gold: 0 8px 30px rgba(245, 176, 66, 0.15);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Vazirmatn', 'IRANSans', Tahoma, sans-serif;
  line-height: 1.75;
  overflow-x: hidden;
  font-feature-settings: 'ss01';
}

::selection { background: var(--gold); color: var(--bg); }

a { color: var(--gold); text-decoration: none; transition: color .2s; }
a:hover { color: var(--gold-light); }

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ═══ NAVBAR ═══ */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(10, 8, 5, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.brand {
  display: flex; align-items: center; gap: 10px;
  font-weight: 900; font-size: 1.35rem;
}
.brand-icon {
  width: 40px; height: 40px; border-radius: 12px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; box-shadow: var(--shadow-gold);
}
.brand-text {
  background: linear-gradient(135deg, var(--gold-light), var(--gold-dark));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.brand-sub {
  font-size: 0.65rem; font-weight: 500; color: var(--muted);
  letter-spacing: 2px; text-transform: uppercase;
  -webkit-text-fill-color: var(--muted);
}
.nav-menu { display: flex; gap: 28px; align-items: center; }
.nav-menu a {
  color: var(--text-2); font-size: 0.92rem; font-weight: 500;
  position: relative; padding: 6px 0;
}
.nav-menu a:hover { color: var(--gold); }
.nav-menu a::after {
  content: ''; position: absolute; bottom: 0; right: 0;
  width: 0; height: 2px; background: var(--gold);
  transition: width .3s ease;
}
.nav-menu a:hover::after { width: 100%; }
.nav-actions { display: flex; gap: 12px; align-items: center; }

/* ═══ BUTTONS ═══ */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; padding: 11px 22px;
  border-radius: 999px; font-weight: 700; font-size: 0.9rem;
  border: none; cursor: pointer; transition: all .25s ease;
  font-family: inherit; white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--bg); box-shadow: var(--shadow-gold);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(245, 176, 66, 0.4);
  color: var(--bg);
}
.btn-ghost {
  background: transparent; color: var(--text-2);
  border: 1px solid var(--border-light);
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }
.btn-lg { padding: 15px 30px; font-size: 1rem; }
.btn-block { width: 100%; }

/* ═══ HERO ═══ */
.hero {
  position: relative; padding: 90px 0 70px;
  text-align: center; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; top: -200px; left: 50%;
  transform: translateX(-50%); width: 800px; height: 800px;
  background: radial-gradient(circle, var(--gold-glow), transparent 60%);
  opacity: 0.4; pointer-events: none; z-index: 0;
}
.hero-inner { position: relative; z-index: 1; }

.pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 16px; border-radius: 999px;
  background: var(--gold-dim); border: 1px solid rgba(245, 176, 66, 0.25);
  color: var(--gold); font-size: 0.82rem; font-weight: 600;
  margin-bottom: 28px;
}
.pill-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--gold); box-shadow: 0 0 10px var(--gold);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.3); }
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.6rem);
  font-weight: 900; line-height: 1.2;
  margin-bottom: 22px; letter-spacing: -0.02em;
}
.hero h1 .gold {
  background: linear-gradient(135deg, var(--gold-light), var(--gold), var(--gold-dark));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub {
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  color: var(--text-2); max-width: 680px; margin: 0 auto 40px;
  line-height: 1.8;
}

/* ═══ CAPACITY WIDGET ═══ */
.capacity-card {
  max-width: 520px; margin: 0 auto 40px;
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--border-light); border-radius: var(--radius-lg);
  padding: 26px 28px; box-shadow: var(--shadow);
  position: relative; overflow: hidden;
}
.capacity-card::before {
  content: ''; position: absolute; top: 0; right: 0;
  width: 200px; height: 200px; border-radius: 50%;
  background: radial-gradient(circle, var(--gold-dim), transparent 70%);
  transform: translate(30%, -30%); pointer-events: none;
}
.cap-header {
  display: flex; justify-content: space-between; align-items: baseline;
  margin-bottom: 16px; position: relative;
}
.cap-label { font-size: 0.85rem; color: var(--muted); font-weight: 600; }
.cap-numbers { font-family: 'Courier New', monospace; }
.cap-used { font-size: 1.6rem; font-weight: 900; color: var(--gold); }
.cap-max { font-size: 1rem; color: var(--muted); }
.cap-bar {
  height: 10px; border-radius: 999px;
  background: rgba(245, 176, 66, 0.08); overflow: hidden;
  margin-bottom: 14px; position: relative;
}
.cap-fill {
  height: 100%; border-radius: 999px;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold), var(--gold-light));
  box-shadow: 0 0 20px var(--gold-glow);
  transition: width .8s ease; min-width: 2px;
}
.cap-footer {
  display: flex; justify-content: space-between;
  font-size: 0.85rem; position: relative;
}
.cap-remaining { color: var(--text-2); }
.cap-remaining strong { color: var(--gold); font-weight: 800; }
.cap-status { color: var(--green); font-weight: 700; font-size: 0.82rem; }
.cap-status.closed { color: var(--red); }

/* ═══ STATS ROW ═══ */
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 20px; max-width: 900px; margin: 60px auto 0;
}
.stat {
  padding: 22px 14px; text-align: center;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: transform .25s, border-color .25s;
}
.stat:hover { transform: translateY(-3px); border-color: var(--border-light); }
.stat-val {
  font-size: 1.8rem; font-weight: 900; color: var(--gold);
  font-family: 'Courier New', monospace; line-height: 1.2;
}
.stat-lbl { font-size: 0.78rem; color: var(--muted); margin-top: 6px; }

/* ═══ SECTIONS ═══ */
section { padding: 80px 0; }
.section-head { text-align: center; margin-bottom: 60px; }
.section-head h2 {
  font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 900;
  margin-bottom: 14px;
}
.section-head h2 .gold {
  background: linear-gradient(135deg, var(--gold-light), var(--gold-dark));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.section-head p { color: var(--muted); max-width: 560px; margin: 0 auto; }

/* ═══ FEATURES ═══ */
.features {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 22px;
}
.feature {
  padding: 28px 24px; background: var(--surface);
  border: 1px solid var(--border); border-radius: var(--radius);
  transition: all .3s; position: relative; overflow: hidden;
}
.feature::before {
  content: ''; position: absolute; top: 0; right: 0;
  width: 100%; height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0; transition: opacity .3s;
}
.feature:hover { border-color: var(--border-light); transform: translateY(-4px); }
.feature:hover::before { opacity: 1; }
.feature-icon {
  width: 50px; height: 50px; border-radius: 14px;
  background: var(--gold-dim); border: 1px solid rgba(245, 176, 66, 0.2);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; margin-bottom: 18px;
}
.feature h3 { font-size: 1.1rem; font-weight: 800; margin-bottom: 10px; }
.feature p { color: var(--muted); font-size: 0.9rem; line-height: 1.75; }

/* ═══ FAQ ═══ */
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item {
  border: 1px solid var(--border); border-radius: var(--radius);
  margin-bottom: 12px; overflow: hidden;
  background: var(--surface); transition: border-color .25s;
}
.faq-item:hover { border-color: var(--border-light); }
.faq-q {
  padding: 20px 24px; font-weight: 700; font-size: 0.98rem;
  cursor: pointer; display: flex; justify-content: space-between;
  align-items: center; gap: 16px; user-select: none;
}
.faq-q:hover { color: var(--gold); }
.faq-icon { color: var(--gold); font-size: 1.3rem; transition: transform .3s; }
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-a {
  max-height: 0; overflow: hidden;
  transition: max-height .4s ease, padding .3s;
  padding: 0 24px; color: var(--muted); font-size: 0.92rem;
}
.faq-item.open .faq-a { max-height: 300px; padding: 0 24px 20px; }

/* ═══ FINAL CTA ═══ */
.cta-box {
  max-width: 800px; margin: 0 auto;
  padding: 60px 40px; text-align: center;
  background: linear-gradient(160deg, var(--surface-2), var(--surface));
  border: 1px solid var(--border-light); border-radius: var(--radius-lg);
  position: relative; overflow: hidden;
}
.cta-box::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 50% 0%, var(--gold-glow), transparent 60%);
  opacity: 0.3; pointer-events: none;
}
.cta-box > * { position: relative; }
.cta-box h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 900; margin-bottom: 16px; }
.cta-box p { color: var(--text-2); margin-bottom: 32px; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ═══ FOOTER ═══ */
footer {
  border-top: 1px solid var(--border); padding: 40px 0;
  text-align: center; color: var(--muted); font-size: 0.85rem;
  margin-top: 60px;
}
footer .foot-links {
  display: flex; gap: 24px; justify-content: center;
  margin-bottom: 20px; flex-wrap: wrap;
}
footer .foot-links a { color: var(--muted); }
footer .foot-links a:hover { color: var(--gold); }

/* ═══ RESPONSIVE ═══ */
@media (max-width: 768px) {
  .nav-menu { display: none; }
  .nav-actions .btn-ghost { display: none; }
  .hero { padding: 60px 0 40px; }
  section { padding: 60px 0; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .capacity-card { padding: 22px 20px; }
}

/* ═══ AUTH PAGES ═══ */
.auth-wrap {
  min-height: 100vh; display: flex; align-items: center;
  justify-content: center; padding: 40px 20px;
  background: radial-gradient(circle at 50% 0%, rgba(245,176,66,0.08), var(--bg) 60%);
}
.auth-card {
  width: 100%; max-width: 440px;
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--border-light); border-radius: var(--radius-lg);
  padding: 40px 36px; box-shadow: var(--shadow);
}
.auth-head { text-align: center; margin-bottom: 32px; }
.auth-head .brand-icon {
  width: 60px; height: 60px; margin: 0 auto 16px;
  font-size: 1.7rem;
}
.auth-head h1 { font-size: 1.5rem; font-weight: 900; margin-bottom: 6px; }
.auth-head p { color: var(--muted); font-size: 0.9rem; }
.auth-form { display: flex; flex-direction: column; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 0.85rem; color: var(--text-2); font-weight: 600; }
.field input {
  width: 100%; padding: 13px 16px;
  background: var(--bg-2); border: 1px solid var(--border);
  border-radius: var(--radius-sm); color: var(--text);
  font-family: inherit; font-size: 0.95rem;
  transition: border-color .2s, box-shadow .2s;
  direction: ltr; text-align: left;
}
.field input:focus {
  outline: none; border-color: var(--gold);
  box-shadow: 0 0 0 3px var(--gold-dim);
}
.field input::placeholder { color: var(--muted-2); }
.auth-foot {
  text-align: center; margin-top: 22px;
  font-size: 0.9rem; color: var(--muted);
}
.auth-foot a { font-weight: 700; }
.auth-alert {
  padding: 12px 16px; border-radius: var(--radius-sm);
  font-size: 0.88rem; text-align: center; margin-bottom: 16px;
}
.auth-alert.error {
  background: rgba(248, 113, 113, 0.1);
  border: 1px solid rgba(248, 113, 113, 0.3);
  color: #fca5a5;
}
.auth-alert.success {
  background: rgba(74, 222, 128, 0.1);
  border: 1px solid rgba(74, 222, 128, 0.3);
  color: #86efac;
}
.auth-alert.info {
  background: var(--gold-dim);
  border: 1px solid rgba(245, 176, 66, 0.3);
  color: var(--gold-light);
}

.captcha-row {
  display: flex; gap: 8px; align-items: stretch;
}
.captcha-q {
  flex: 1; padding: 12px 14px;
  background: var(--bg-2); border: 1px solid var(--border);
  border-radius: var(--radius-sm); display: flex;
  align-items: center; justify-content: center;
  font-family: 'Courier New', monospace; font-weight: 700;
  color: var(--gold); user-select: none; letter-spacing: 2px;
}
.captcha-refresh {
  padding: 0 14px; background: var(--surface-2);
  border: 1px solid var(--border); border-radius: var(--radius-sm);
  cursor: pointer; color: var(--muted); font-size: 1.1rem;
  transition: all .2s;
}
.captcha-refresh:hover { color: var(--gold); border-color: var(--gold); }

/* ═══════════════════════════════════════════════════════
   Phase 10 — Landing v2 additions
   ═══════════════════════════════════════════════════════ */

/* ─── BIG STATS ─── */
.stats-big {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  max-width: 1100px;
  margin: 0 auto;
}
.stat-big {
  padding: 28px 20px;
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  position: relative;
  overflow: hidden;
  transition: all .3s;
}
.stat-big::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 100%; height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0.6;
}
.stat-big:hover {
  transform: translateY(-3px);
  border-color: var(--border-light);
  box-shadow: 0 10px 30px rgba(245,176,66,0.1);
}
.stat-big .ico {
  font-size: 1.8rem;
  margin-bottom: 10px;
  display: block;
}
.stat-big .val {
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--gold);
  font-family: 'Courier New', monospace;
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.stat-big .val.green { color: var(--green); }
.stat-big .val.red   { color: var(--red); }
.stat-big .lbl {
  font-size: 0.82rem;
  color: var(--muted);
  margin-top: 8px;
}

/* ─── LEADERBOARD ─── */
.leaderboard {
  max-width: 700px;
  margin: 0 auto;
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow);
}
.lb-row {
  display: flex;
  align-items: center;
  padding: 14px 12px;
  border-bottom: 1px solid var(--border);
  transition: background .2s;
}
.lb-row:last-child { border-bottom: none; }
.lb-row:hover { background: var(--gold-dim); border-radius: 8px; }
.lb-rank {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 0.95rem;
  margin-inline-end: 16px;
  background: rgba(245,176,66,0.1);
  color: var(--gold);
  border: 1.5px solid rgba(245,176,66,0.25);
}
.lb-rank.r1 {
  background: linear-gradient(135deg, #fcd34d, #b8801e);
  color: #0a0805;
  border: none;
  box-shadow: 0 0 20px var(--gold-glow);
  font-size: 1.2rem;
}
.lb-rank.r2 {
  background: linear-gradient(135deg, #d4d4d8, #71717a);
  color: #0a0805;
  border: none;
}
.lb-rank.r3 {
  background: linear-gradient(135deg, #d97706, #92400e);
  color: #fff;
  border: none;
}
.lb-name { flex: 1; font-weight: 700; color: var(--text); }
.lb-profit {
  font-family: 'Courier New', monospace;
  font-weight: 900;
  color: var(--green);
  font-size: 1rem;
}

/* ─── EXCHANGES GRID ─── */
.exchanges-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 16px;
  max-width: 900px;
  margin: 0 auto;
}
.exch-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 14px;
  text-align: center;
  transition: all .3s;
  position: relative;
}
.exch-card:hover { transform: translateY(-3px); border-color: var(--border-light); }
.exch-card.active {
  border-color: rgba(245,176,66,0.4);
  background: linear-gradient(180deg, rgba(245,176,66,0.05), var(--surface));
}
.exch-card img {
  width: 56px;
  height: 56px;
  display: block;
  margin: 0 auto 12px;
  border-radius: 12px;
  filter: grayscale(0.3);
  transition: filter .3s;
}
.exch-card.active img { filter: none; }
.exch-name { font-weight: 800; font-size: 0.95rem; margin-bottom: 4px; }
.exch-status {
  font-size: 0.72rem;
  color: var(--muted);
}
.exch-status.on { color: var(--green); font-weight: 700; }

/* ─── TESTIMONIALS ─── */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  max-width: 1100px;
  margin: 0 auto;
}
.t-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  position: relative;
  transition: all .3s;
}
.t-card:hover {
  border-color: var(--border-light);
  transform: translateY(-2px);
}
.t-card::before {
  content: '"';
  position: absolute;
  top: 8px; right: 20px;
  font-size: 3.5rem;
  color: rgba(245,176,66,0.15);
  font-family: serif;
  line-height: 1;
}
.t-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.t-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  color: #0a0805;
  font-size: 1rem;
  flex-shrink: 0;
}
.t-info { flex: 1; min-width: 0; }
.t-name { font-weight: 800; font-size: 0.95rem; }
.t-role { font-size: 0.78rem; color: var(--muted); }
.t-stars { color: var(--gold); font-size: 0.85rem; letter-spacing: 1px; }
.t-msg {
  color: var(--text-2);
  font-size: 0.9rem;
  line-height: 1.8;
  position: relative;
  z-index: 1;
}

/* ─── RESPONSIVE ─── */
@media (max-width: 900px) {
  .stats-big { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 500px) {
  .stat-big .val { font-size: 1.7rem; }
  .lb-profit { font-size: 0.9rem; }
}

/* ═══════════════════════════════════════════════════════
   Phase 10.4 — کارت صرافی کلیک‌پذیر + badge ثبت‌نام
   ═══════════════════════════════════════════════════════ */
.titan-clickable {
  position: relative;
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
  border-color: rgba(245, 176, 66, .35) !important;
  box-shadow: 0 0 0 1px rgba(245, 176, 66, .08), 0 6px 22px rgba(245, 176, 66, .06);
}
.titan-clickable:hover {
  transform: translateY(-3px);
  border-color: rgba(252, 211, 77, .85) !important;
  box-shadow: 0 0 0 1px rgba(252, 211, 77, .35), 0 12px 32px rgba(245, 176, 66, .22);
}
.titan-clickable:focus-visible {
  outline: 2px solid #fcd34d;
  outline-offset: 3px;
}
.titan-clickable:hover .exchange-name { color: #fcd34d; }
.titan-clickable::after {
  content: "↗";
  position: absolute;
  top: 10px; left: 12px;
  font-size: 15px;
  color: transparent;
  transition: color .15s ease, transform .15s ease;
}
.titan-clickable:hover::after {
  color: rgba(252, 211, 77, .95);
  transform: translate(2px, -2px);
}
.titan-ref-badge {
  position: absolute;
  top: 10px; right: 10px;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 999px;
  background: linear-gradient(135deg, #fcd34d, #f5b042);
  color: #1a1200;
  letter-spacing: .3px;
  box-shadow: 0 2px 8px rgba(245, 176, 66, .4);
  pointer-events: none;
}

/* polish: badge رو گوشه‌ی بالای-راست کارت */
.exch-card[data-ref] .titan-ref-badge {
  top: 8px;
  right: 8px;
  left: auto;
}
/* فلش کوچیک گوشه‌ی مخالف برای جلب توجه بیشتر */
.exch-card[data-ref]::before {
  content: "↗";
  position: absolute;
  top: 10px; left: 10px;
  font-size: 14px;
  color: rgba(252, 211, 77, .5);
  transition: color .15s, transform .15s;
}
.exch-card[data-ref]:hover::before {
  color: #fcd34d;
  transform: translate(2px, -2px);
}

/* ═══════════════════════════════════════════════════════
   Phase 12C — How it works + Telegram float
   ═══════════════════════════════════════════════════════ */
.how-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}
@media (max-width: 900px) {
  .how-steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 500px) {
  .how-steps { grid-template-columns: 1fr; }
}
.how-step {
  position: relative;
  padding: 30px 22px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(20,25,45,0.9), rgba(12,16,30,0.85));
  border: 1px solid rgba(245, 176, 66, 0.15);
  text-align: right;
  transition: transform .25s, border-color .25s, box-shadow .25s;
}
.how-step:hover {
  transform: translateY(-5px);
  border-color: rgba(252, 211, 77, 0.55);
  box-shadow: 0 14px 40px rgba(245, 176, 66, 0.18);
}
.how-num {
  position: absolute;
  top: -14px;
  right: 24px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, #fcd34d, #f5b042);
  color: #1a1200;
  font-weight: 800;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 18px rgba(245, 176, 66, 0.4);
}
.how-icon {
  font-size: 34px;
  margin-bottom: 12px;
  display: block;
}
.how-title {
  font-size: 17px;
  font-weight: 700;
  color: #fcd34d;
  margin-bottom: 8px;
}
.how-desc {
  font-size: 14px;
  line-height: 1.7;
  color: #94a3b8;
}
.how-arrow {
  position: absolute;
  top: 50%;
  left: -12px;
  transform: translateY(-50%);
  color: rgba(252, 211, 77, 0.4);
  font-size: 22px;
  pointer-events: none;
}
@media (max-width: 900px) { .how-arrow { display: none; } }

/* ─── دکمه شناور تلگرام ─── */
.tg-float {
  position: fixed;
  bottom: 24px;
  left: 24px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, #29b6f6, #0288d1);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(2, 136, 209, 0.4);
  z-index: 9999;
  transition: transform .2s, box-shadow .2s;
  text-decoration: none;
  animation: tg-pulse 2.5s infinite;
}
.tg-float:hover {
  transform: scale(1.1);
  box-shadow: 0 12px 32px rgba(2, 136, 209, 0.6);
  animation: none;
}
.tg-float svg {
  width: 30px;
  height: 30px;
  fill: currentColor;
}
@keyframes tg-pulse {
  0%, 100% { box-shadow: 0 8px 24px rgba(2, 136, 209, 0.4); }
  50%      { box-shadow: 0 8px 24px rgba(2, 136, 209, 0.7), 0 0 0 12px rgba(41, 182, 246, 0.08); }
}
.tg-float .tg-tip {
  position: absolute;
  right: 70px;
  background: #1a2035;
  color: #fcd34d;
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 13px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s;
  border: 1px solid rgba(252, 211, 77, 0.25);
}
.tg-float:hover .tg-tip { opacity: 1; }

/* ═══════════════════════════════════════════════════════
   Phase 12C — How it works + Telegram float
   ═══════════════════════════════════════════════════════ */
.how-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}
@media (max-width: 900px) {
  .how-steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 500px) {
  .how-steps { grid-template-columns: 1fr; }
}
.how-step {
  position: relative;
  padding: 30px 22px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(20,25,45,0.9), rgba(12,16,30,0.85));
  border: 1px solid rgba(245, 176, 66, 0.15);
  text-align: right;
  transition: transform .25s, border-color .25s, box-shadow .25s;
}
.how-step:hover {
  transform: translateY(-5px);
  border-color: rgba(252, 211, 77, 0.55);
  box-shadow: 0 14px 40px rgba(245, 176, 66, 0.18);
}
.how-num {
  position: absolute;
  top: -14px;
  right: 24px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, #fcd34d, #f5b042);
  color: #1a1200;
  font-weight: 800;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 18px rgba(245, 176, 66, 0.4);
}
.how-icon {
  font-size: 34px;
  margin-bottom: 12px;
  display: block;
}
.how-title {
  font-size: 17px;
  font-weight: 700;
  color: #fcd34d;
  margin-bottom: 8px;
}
.how-desc {
  font-size: 14px;
  line-height: 1.7;
  color: #94a3b8;
}
.how-arrow {
  position: absolute;
  top: 50%;
  left: -12px;
  transform: translateY(-50%);
  color: rgba(252, 211, 77, 0.4);
  font-size: 22px;
  pointer-events: none;
}
@media (max-width: 900px) { .how-arrow { display: none; } }

/* ─── دکمه شناور تلگرام ─── */
.tg-float {
  position: fixed;
  bottom: 24px;
  left: 24px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, #29b6f6, #0288d1);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(2, 136, 209, 0.4);
  z-index: 9999;
  transition: transform .2s, box-shadow .2s;
  text-decoration: none;
  animation: tg-pulse 2.5s infinite;
}
.tg-float:hover {
  transform: scale(1.1);
  box-shadow: 0 12px 32px rgba(2, 136, 209, 0.6);
  animation: none;
}
.tg-float svg {
  width: 30px;
  height: 30px;
  fill: currentColor;
}
@keyframes tg-pulse {
  0%, 100% { box-shadow: 0 8px 24px rgba(2, 136, 209, 0.4); }
  50%      { box-shadow: 0 8px 24px rgba(2, 136, 209, 0.7), 0 0 0 12px rgba(41, 182, 246, 0.08); }
}
.tg-float .tg-tip {
  position: absolute;
  right: 70px;
  background: #1a2035;
  color: #fcd34d;
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 13px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s;
  border: 1px solid rgba(252, 211, 77, 0.25);
}
.tg-float:hover .tg-tip { opacity: 1; }

/* ═══════════════════════════════════════════════════════
   Phase 12C — How it works + Support float buttons
   ═══════════════════════════════════════════════════════ */
.how-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}
@media (max-width: 900px) { .how-steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 500px) { .how-steps { grid-template-columns: 1fr; } }
.how-step {
  position: relative;
  padding: 30px 22px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(20,25,45,0.9), rgba(12,16,30,0.85));
  border: 1px solid rgba(245, 176, 66, 0.15);
  text-align: right;
  transition: transform .25s, border-color .25s, box-shadow .25s;
}
.how-step:hover {
  transform: translateY(-5px);
  border-color: rgba(252, 211, 77, 0.55);
  box-shadow: 0 14px 40px rgba(245, 176, 66, 0.18);
}
.how-num {
  position: absolute;
  top: -14px; right: 24px;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, #fcd34d, #f5b042);
  color: #1a1200;
  font-weight: 800; font-size: 16px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 18px rgba(245, 176, 66, 0.4);
}
.how-icon { font-size: 34px; margin-bottom: 12px; display: block; }
.how-title { font-size: 17px; font-weight: 700; color: #fcd34d; margin-bottom: 8px; }
.how-desc { font-size: 14px; line-height: 1.7; color: #94a3b8; }

/* ─── Support float buttons (Rubika + Telegram) ─── */
.support-float {
  position: fixed;
  bottom: 24px;
  left: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 9999;
}
.float-btn {
  width: 54px; height: 54px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
  transition: transform .2s, box-shadow .2s;
  text-decoration: none;
  position: relative;
  animation: float-pulse 2.5s infinite;
}
.float-btn:hover {
  transform: scale(1.12);
  animation: none;
}
.float-btn svg { width: 28px; height: 28px; fill: #fff; }
.float-btn-rubika {
  background: linear-gradient(135deg, #7c4dff, #512da8);
  box-shadow: 0 8px 24px rgba(124, 77, 255, 0.4);
}
.float-btn-rubika:hover {
  box-shadow: 0 12px 32px rgba(124, 77, 255, 0.7);
}
.float-btn-telegram {
  background: linear-gradient(135deg, #29b6f6, #0288d1);
  box-shadow: 0 8px 24px rgba(2, 136, 209, 0.4);
}
.float-btn-telegram:hover {
  box-shadow: 0 12px 32px rgba(2, 136, 209, 0.7);
}
@keyframes float-pulse {
  0%, 100% { box-shadow: 0 8px 24px rgba(0,0,0,0.4); }
  50%      { box-shadow: 0 8px 24px rgba(0,0,0,0.6), 0 0 0 10px rgba(255,255,255,0.05); }
}
.float-btn .float-tip {
  position: absolute;
  left: 66px;
  background: #1a2035;
  color: #fcd34d;
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 13px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s;
  border: 1px solid rgba(252, 211, 77, 0.25);
}
.float-btn:hover .float-tip { opacity: 1; }

/* ═══════════════════════════════════════════════════════
   Phase 12D — Notification channel section
   ═══════════════════════════════════════════════════════ */
.channel-section {
  padding: 80px 20px;
  background: radial-gradient(ellipse at center top, rgba(124,77,255,0.08), transparent 60%);
  text-align: center;
}
.channel-head {
  max-width: 720px;
  margin: 0 auto 45px;
}
.channel-head h2 {
  font-size: 34px;
  font-weight: 800;
  color: #fcd34d;
  margin-bottom: 14px;
}
.channel-head p {
  color: #94a3b8;
  font-size: 16px;
  line-height: 1.8;
}
.channel-features {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
  margin-bottom: 45px;
}
.channel-feat {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #cbd5e1;
}
.channel-feat span.ic { font-size: 18px; }

.channel-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  max-width: 800px;
  margin: 0 auto;
}
@media (max-width: 700px) {
  .channel-cards { grid-template-columns: 1fr; }
}
.channel-card {
  padding: 32px 26px;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(20,25,45,0.95), rgba(12,16,30,0.9));
  border: 1px solid rgba(245,176,66,0.15);
  text-align: right;
  transition: transform .25s, border-color .25s, box-shadow .25s;
  text-decoration: none;
  display: block;
  position: relative;
  overflow: hidden;
}
.channel-card:hover {
  transform: translateY(-5px);
  border-color: rgba(252,211,77,0.55);
  box-shadow: 0 16px 44px rgba(245,176,66,0.2);
}
.channel-card::before {
  content: '';
  position: absolute;
  top: 0; right: 0; left: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, currentColor, transparent);
  opacity: 0.5;
}
.channel-card-rubika { color: #7c4dff; }
.channel-card-telegram { color: #29b6f6; }
.channel-card-top {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}
.channel-logo {
  width: 54px; height: 54px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  flex-shrink: 0;
}
.channel-card-rubika .channel-logo {
  background: linear-gradient(135deg, #7c4dff, #512da8);
}
.channel-card-telegram .channel-logo {
  background: linear-gradient(135deg, #29b6f6, #0288d1);
}
.channel-name {
  font-size: 20px;
  font-weight: 700;
  color: #f1f5f9;
  margin-bottom: 4px;
}
.channel-tag {
  font-size: 12px;
  color: #94a3b8;
  font-weight: 500;
}
.channel-desc {
  color: #cbd5e1;
  font-size: 14px;
  line-height: 1.75;
  margin-bottom: 20px;
}
.channel-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  transition: transform .2s;
}
.channel-card-rubika .channel-cta { background: linear-gradient(135deg, #7c4dff, #512da8); }
.channel-card-telegram .channel-cta { background: linear-gradient(135deg, #29b6f6, #0288d1); }
.channel-card:hover .channel-cta { transform: translateX(-4px); }

.channel-sample {
  margin: 45px auto 0;
  max-width: 720px;
  padding: 24px 26px;
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(20,25,45,0.6), rgba(12,16,30,0.6));
  border: 1px dashed rgba(252,211,77,0.25);
  text-align: right;
}
.channel-sample-title {
  color: #fcd34d;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 12px;
}
.channel-sample-body {
  color: #94a3b8;
  font-size: 13px;
  line-height: 1.9;
  font-family: 'Menlo', 'Consolas', monospace;
  direction: ltr;
  text-align: left;
}
