/* ==================================================
   HashHost — design.css  (test6)
   Style: "Quiet Luxury / Trust" — deep navy + champagne gold,
   generous space, serif display for Latin, soft shadows.
   Logical properties for RTL/LTR.
   ================================================== */

/* ---------- tokens ---------- */
:root {
  --ink:        #0a0f1e;   /* deepest navy */
  --bg:         #0b1122;   /* page background */
  --bg-2:       #0e152b;   /* raised panels */
  --surface:    rgba(255, 255, 255, 0.035);
  --surface-2:  rgba(255, 255, 255, 0.055);
  --line:       rgba(214, 183, 122, 0.16);
  --line-soft:  rgba(255, 255, 255, 0.08);

  --gold:       #d9b46a;   /* champagne */
  --gold-2:     #c79a4b;
  --gold-soft:  rgba(217, 180, 106, 0.12);
  --gold-glow:  rgba(217, 180, 106, 0.28);

  --text:       #f0ece2;   /* warm off-white */
  --text-2:     #cfd4e0;
  --muted:      #99a1b5;   /* cool grey */
  --muted-2:    #7c8397;   /* placeholder text */

  --up:         #6fcf97;
  --down:       #e2726e;

  --radius:     18px;
  --radius-sm:  12px;
  --shadow:     0 24px 60px -28px rgba(0, 0, 0, 0.75);
  --shadow-sm:  0 12px 30px -18px rgba(0, 0, 0, 0.65);

  --maxw:       1200px;
  --gutter:     clamp(18px, 4vw, 40px);

  --font-ar: "IBM Plex Sans Arabic", "Noto Sans", "Noto Sans Georgian", system-ui, sans-serif;
  --font-serif: "Playfair Display", "IBM Plex Sans Arabic", "Noto Serif Georgian", Georgia, serif;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- reset / base ---------- */
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html.i18n-boot body { opacity: 0; }
body {
  margin: 0;
  font-family: var(--font-ar);
  background:
    radial-gradient(1100px 620px at 82% -8%, rgba(217, 180, 106, 0.10), transparent 60%),
    radial-gradient(900px 560px at 4% 4%, rgba(66, 92, 160, 0.16), transparent 62%),
    var(--bg);
  color: var(--text);
  line-height: 1.75;
  font-size: 16px;
  font-weight: 400;
  overflow-x: hidden;
  transition: opacity 0.4s ease;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; line-height: 1.2; font-weight: 600; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

/* Latin display headings use serif; Arabic falls back to Plex naturally */
[lang="en"] .display, [lang="ru"] .display { font-family: var(--font-serif); font-weight: 600; letter-spacing: 0.2px; }
.brand-word { font-family: var(--font-serif); font-weight: 600; }
[lang="ar"] .brand-word { font-family: var(--font-ar); font-weight: 700; }

/* ---------- layout helpers ---------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
section { position: relative; }
.section-pad { padding-block: clamp(64px, 9vw, 120px); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.72rem; font-weight: 600; letter-spacing: 3px; text-transform: uppercase;
  color: var(--gold); margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 26px; height: 1px; background: linear-gradient(90deg, var(--gold), transparent); }
.section-head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 60px); }
.section-title { font-size: clamp(1.7rem, 3.6vw, 2.75rem); color: var(--text); }
.section-lead { margin-top: 16px; color: var(--muted); font-size: clamp(1rem, 1.4vw, 1.1rem); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 13px 26px; border-radius: 999px; font-weight: 600; font-size: 0.95rem;
  cursor: pointer; border: 1px solid transparent; transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s, color 0.25s, border-color 0.25s;
  white-space: nowrap;
}
.btn-gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-2));
  color: #241a06; box-shadow: 0 14px 34px -16px var(--gold-glow);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 20px 44px -16px var(--gold-glow); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-2px); }
.btn-wa { background: #1f9d5b; color: #fff; }
.btn-wa:hover { background: #23ab64; transform: translateY(-2px); }

/* ---------- header ---------- */
.site-header {
  position: fixed; inset-block-start: 0; inset-inline: 0; z-index: 900;
  transition: background 0.35s, border-color 0.35s, backdrop-filter 0.35s;
  border-block-end: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(9, 14, 28, 0.82);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-block-end-color: var(--line);
}
.nav {
  display: flex; align-items: center; gap: 22px;
  height: 74px;
}
.brand { display: inline-flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand .mark {
  width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center;
  background: linear-gradient(140deg, var(--gold-soft), transparent), var(--bg-2);
  border: 1px solid var(--line); color: var(--gold); font-size: 1.05rem;
}
.brand .brand-word { font-size: 1.22rem; color: var(--text); letter-spacing: 0.3px; }
.nav-links { display: flex; align-items: center; gap: 26px; margin-inline-start: auto; }
.nav-links a { color: var(--text-2); font-size: 0.94rem; font-weight: 500; position: relative; padding-block: 6px; transition: color 0.2s; }
.nav-links a::after {
  content: ""; position: absolute; inset-block-end: 0; inset-inline-start: 0; width: 0; height: 1.5px;
  background: var(--gold); transition: width 0.28s var(--ease);
}
.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after { width: 100%; }
.nav-actions { display: flex; align-items: center; gap: 14px; margin-inline-start: 4px; }
.nav-actions .btn { padding: 10px 20px; }

/* hamburger */
.burger {
  display: none; width: 44px; height: 44px; border-radius: 11px; border: 1px solid var(--line);
  background: var(--surface); color: var(--text); cursor: pointer; align-items: center; justify-content: center;
  font-size: 1.1rem;
}

/* ---------- language switch (i18n builds inside #lang-switch) ---------- */
#lang-switch { position: relative; flex-shrink: 0; }
.lang-current {
  display: inline-flex; align-items: center; gap: 8px; cursor: pointer;
  background: var(--surface); border: 1px solid var(--line); color: var(--text);
  padding: 9px 12px; border-radius: 999px; font-size: 0.85rem; font-weight: 600;
  transition: border-color 0.2s, background 0.2s;
}
.lang-current:hover { border-color: var(--gold); }
.lang-flag { font-size: 1rem; line-height: 1; }
.lang-caret { font-size: 0.7rem; color: var(--muted); transition: transform 0.25s; }
#lang-switch.open .lang-caret { transform: rotate(180deg); }
.lang-menu {
  position: fixed; z-index: 1200; min-width: 190px; margin: 0; padding: 8px;
  background: rgba(14, 21, 43, 0.97); backdrop-filter: blur(16px);
  border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
}
.lang-menu.open { opacity: 1; visibility: visible; transform: translateY(0); }
.lang-opt {
  display: flex; align-items: center; gap: 11px; width: 100%; text-align: start;
  background: transparent; border: 0; color: var(--text-2); cursor: pointer;
  padding: 10px 12px; border-radius: 10px; font-size: 0.9rem; transition: background 0.18s, color 0.18s;
}
.lang-opt .lang-name { flex: 1; }
.lang-opt .lang-code { font-size: 0.72rem; color: var(--muted); letter-spacing: 1px; }
.lang-opt:hover { background: var(--surface-2); color: var(--text); }
.lang-opt.active { color: var(--gold); background: var(--gold-soft); }

/* ---------- hero ---------- */
.hero { position: relative; padding-block: clamp(130px, 20vh, 200px) clamp(70px, 10vw, 120px); overflow: hidden; overflow-x: clip; }
.hero-bg { position: absolute; inset: 0; z-index: -2; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.34; }
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(11, 17, 34, 0.72), rgba(11, 17, 34, 0.92) 78%, var(--bg)),
    linear-gradient(90deg, rgba(11, 17, 34, 0.9), transparent 55%);
}
[dir="ltr"] .hero-bg::after { background: linear-gradient(180deg, rgba(11,17,34,0.72), rgba(11,17,34,0.92) 78%, var(--bg)), linear-gradient(270deg, rgba(11,17,34,0.9), transparent 55%); }
.hero-glow { position: absolute; inset-block-start: -140px; inset-inline-end: -120px; width: 520px; height: 520px; z-index: -1;
  background: radial-gradient(circle, var(--gold-glow), transparent 62%); filter: blur(20px); pointer-events: none; }
.hero-inner { max-width: 820px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 9px; padding: 8px 16px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--gold-soft); color: var(--gold);
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.4px; margin-bottom: 26px;
}
.hero-badge .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 0 var(--gold-glow); animation: pulse 2.4s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 var(--gold-glow); } 70% { box-shadow: 0 0 0 9px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }
.hero h1 { font-size: clamp(2.1rem, 6vw, 4rem); letter-spacing: -0.5px; }
.hero h1 .t2 { display: block; color: var(--gold); font-weight: 500; margin-top: 8px; font-size: clamp(1.4rem, 3.4vw, 2.3rem); }
.hero p.lead { margin: 26px 0 0; color: var(--text-2); font-size: clamp(1.02rem, 1.6vw, 1.22rem); max-width: 640px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.hero-stats { display: flex; flex-wrap: wrap; gap: clamp(20px, 5vw, 56px); margin-top: 52px; padding-top: 34px; border-top: 1px solid var(--line-soft); }
.hero-stat .num { font-family: var(--font-serif); font-size: clamp(1.7rem, 4vw, 2.5rem); color: var(--gold); font-weight: 600; }
[lang="ar"] .hero-stat .num { font-family: var(--font-ar); }
.hero-stat .lbl { color: var(--muted); font-size: 0.86rem; margin-top: 2px; }

/* ---------- live market bar ---------- */
.live-market { padding-block: clamp(20px, 4vw, 40px); }
.live-inner {
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(18px, 3vw, 28px); box-shadow: var(--shadow-sm); overflow: hidden; overflow-x: clip;
}
.lm-head { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-bottom: 20px; }
.lm-title { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; color: var(--text); letter-spacing: 0.3px; }
.live-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--up); box-shadow: 0 0 12px var(--up); animation: pulse-live 2s infinite; }
@keyframes pulse-live { 0%,100% { opacity: 1; } 50% { opacity: 0.35; } }
.lm-updated { color: var(--muted); font-size: 0.82rem; display: inline-flex; gap: 6px; align-items: center; }
.lm-updated-val { color: var(--text-2); }
.lm-grid { display: grid; grid-template-columns: 1.6fr 1.1fr 0.9fr; gap: 16px; }
.live-group { display: grid; gap: 14px; }
#live-crypto { grid-template-columns: repeat(3, 1fr); }
#live-network { grid-template-columns: repeat(2, 1fr); }
.live-group[data-state="loading"] { opacity: 0.55; }
.lm-card {
  position: relative; background: var(--bg-2); border: 1px solid var(--line-soft); border-radius: var(--radius-sm);
  padding: 15px 16px; display: flex; flex-direction: column; gap: 8px; min-width: 0; overflow: hidden;
  transition: border-color 0.25s, transform 0.25s;
}
.lm-card:hover { border-color: var(--line); transform: translateY(-2px); }
.lm-c-head { display: flex; align-items: center; gap: 10px; }
.lm-c-icon { width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; background: var(--gold-soft); color: var(--gold); font-size: 0.95rem; flex-shrink: 0; }
.lm-c-icon-cyan { background: rgba(96, 165, 250, 0.14); color: #8ab6f5; }
.lm-c-meta { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }
.lm-c-sym { font-weight: 600; font-size: 0.82rem; color: var(--text); }
.lm-c-name { font-size: 0.72rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.li-chg { margin-inline-start: auto; font-size: 0.78rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.li-chg.up { color: var(--up); }
.li-chg.down { color: var(--down); }
.li-val { font-size: 1.28rem; font-weight: 700; color: var(--text); font-variant-numeric: tabular-nums; letter-spacing: 0.2px; }
.lm-cap { font-size: 0.68rem; color: var(--muted); text-transform: uppercase; letter-spacing: 1px; }
.lm-spark { width: 100%; height: 40px; margin-top: 2px; }
.lm-spark svg { width: 100%; height: 100%; display: block; }
.lm-wx { grid-column: 1 / -1; }
.lm-wx-body { display: flex; align-items: center; gap: 14px; }
.lm-wx-cond { font-size: 1.9rem; color: var(--gold); }
.lm-wx-side { display: flex; flex-direction: column; gap: 2px; margin-inline-start: auto; text-align: end; }
.lm-wx-desc { font-size: 0.85rem; color: var(--text-2); }
.lm-wx-wind { font-size: 0.78rem; color: var(--muted); }

/* ---------- why (feature grid) ---------- */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.why-card {
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 30px 26px;
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.why-card:hover { border-color: var(--line); transform: translateY(-4px); box-shadow: var(--shadow-sm); }
.why-ic {
  width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 20px;
  background: var(--gold-soft); color: var(--gold); font-size: 1.3rem; border: 1px solid var(--line);
}
.why-card h3 { font-size: 1.16rem; color: var(--text); margin-bottom: 10px; }
.why-card p { color: var(--muted); font-size: 0.95rem; margin: 0; }

/* ---------- cooling ---------- */
.cool-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.cool-card {
  background: var(--bg-2); border: 1px solid var(--line-soft); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow-sm);
  transition: border-color 0.3s, transform 0.3s;
}
.cool-card:hover { border-color: var(--line); transform: translateY(-4px); }
.cool-media { position: relative; aspect-ratio: 16 / 9; overflow: hidden; }
.cool-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.cool-card:hover .cool-media img { transform: scale(1.05); }
.cool-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(14, 21, 43, 0.85)); }
.cool-tag {
  position: absolute; inset-block-end: 14px; inset-inline-start: 14px; z-index: 2;
  padding: 6px 14px; border-radius: 999px; background: rgba(10, 15, 30, 0.7); border: 1px solid var(--line);
  color: var(--gold); font-size: 0.82rem; font-weight: 600; backdrop-filter: blur(6px);
}
.cool-body { padding: 26px; display: flex; flex-direction: column; gap: 16px; }
.cool-body h3 { font-size: 1.4rem; color: var(--text); }
.cool-lead { color: var(--text-2); margin: 0; }
.cool-list { display: flex; flex-direction: column; gap: 11px; }
.cool-list li { display: flex; gap: 11px; align-items: flex-start; color: var(--muted); font-size: 0.94rem; }
.cool-list li i { color: var(--gold); margin-top: 5px; font-size: 0.8rem; flex-shrink: 0; }
.cool-fit { margin: 4px 0 0; padding-top: 16px; border-top: 1px solid var(--line-soft); color: var(--text-2); font-size: 0.92rem; }
.cool-fit strong { color: var(--gold); font-weight: 600; }

/* ---------- how (steps) ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.step { position: relative; padding: 30px 24px; background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--line-soft); border-radius: var(--radius); transition: border-color 0.3s, transform 0.3s; }
.step:hover { border-color: var(--line); transform: translateY(-4px); }
.step-num { font-family: var(--font-serif); font-size: 2.6rem; font-weight: 600; color: var(--gold-soft);
  -webkit-text-stroke: 1px var(--gold); line-height: 1; margin-bottom: 16px; }
[lang="ar"] .step-num { font-family: var(--font-ar); }
.step h3 { font-size: 1.1rem; color: var(--text); margin-bottom: 9px; }
.step p { color: var(--muted); font-size: 0.92rem; margin: 0; }

/* ---------- dashboard ---------- */
.dash-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 64px); align-items: center; }
.dash-media { position: relative; }
.dash-media img { border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--shadow); }
.dash-media::before { content: ""; position: absolute; inset-block-start: -30px; inset-inline-end: -30px; width: 220px; height: 220px;
  background: radial-gradient(circle, var(--gold-glow), transparent 65%); filter: blur(10px); z-index: -1; }
.dash-list { display: grid; gap: 18px; margin-top: 30px; }
.dash-item { display: flex; gap: 16px; align-items: flex-start; }
.dash-item .di-ic { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; flex-shrink: 0;
  background: var(--gold-soft); color: var(--gold); border: 1px solid var(--line); font-size: 1.05rem; }
.dash-item h4 { font-size: 1.05rem; color: var(--text); margin-bottom: 4px; }
.dash-item p { color: var(--muted); font-size: 0.92rem; margin: 0; }

/* ---------- faq ---------- */
.faq-wrap { max-width: 860px; margin-inline: auto; display: grid; gap: 14px; }
.faq-item { background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--radius-sm); overflow: hidden; transition: border-color 0.3s; }
.faq-item.open { border-color: var(--line); background: var(--surface-2); }
.faq-q { display: flex; align-items: center; gap: 16px; width: 100%; text-align: start; cursor: pointer;
  background: transparent; border: 0; color: var(--text); padding: 20px 24px; font-size: 1.02rem; font-weight: 600; font-family: inherit; }
.faq-q .fic { margin-inline-start: auto; flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid var(--line); color: var(--gold); transition: transform 0.3s var(--ease); font-size: 0.7rem; }
.faq-item.open .faq-q .fic { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.4s var(--ease); }
.faq-a-inner { padding: 0 24px 22px; color: var(--muted); font-size: 0.95rem; }

/* ---------- contact ---------- */
.contact-wrap { display: grid; grid-template-columns: 1.3fr 0.85fr; gap: 28px; align-items: start; }
.contact-card, .contact-aside {
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px, 3vw, 38px); box-shadow: var(--shadow-sm);
}
.field-set { display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; }
.d-label { font-size: 0.85rem; font-weight: 600; color: var(--text-2); }
.form-control {
  width: 100%; padding: 13px 16px; border-radius: var(--radius-sm); background: var(--ink);
  border: 1px solid var(--line-soft); color: var(--text); font-family: inherit; font-size: 0.95rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-control::placeholder { color: var(--muted-2); }
.form-control:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px var(--gold-soft); }
textarea.form-control { min-height: 130px; resize: vertical; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.col-lg-12 { grid-column: 1 / -1; }
.btn-main {
  width: 100%; padding: 15px 26px; border-radius: 999px; border: 0; cursor: pointer;
  background: linear-gradient(135deg, var(--gold), var(--gold-2)); color: #241a06; font-weight: 700; font-size: 1rem; font-family: inherit;
  box-shadow: 0 14px 34px -16px var(--gold-glow); transition: transform 0.25s var(--ease), box-shadow 0.25s;
}
.btn-main:hover { transform: translateY(-2px); box-shadow: 0 20px 44px -16px var(--gold-glow); }
.btn-main:disabled { opacity: 0.6; cursor: default; transform: none; }
.success, .error { margin-top: 18px; padding: 16px 18px; border-radius: var(--radius-sm); font-size: 0.94rem; }
.success { background: rgba(111, 207, 151, 0.12); border: 1px solid rgba(111, 207, 151, 0.4); color: #a6e3c0; }
.error { background: rgba(226, 114, 110, 0.12); border: 1px solid rgba(226, 114, 110, 0.4); color: #e9a8a5; }
.hidden { display: none !important; }
.contact-aside h3 { font-size: 1.3rem; color: var(--text); margin-bottom: 12px; }
.contact-aside p { color: var(--muted); margin: 0 0 22px; font-size: 0.95rem; }
.aside-hours { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; color: var(--muted); font-size: 0.85rem; }
.aside-hours i { color: var(--gold); }
.aside-div { height: 1px; background: var(--line-soft); margin: 24px 0; }
.aside-list { display: grid; gap: 14px; }
.aside-list li { display: flex; align-items: center; gap: 12px; color: var(--text-2); font-size: 0.92rem; }
.aside-list li i { width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; background: var(--gold-soft); color: var(--gold); flex-shrink: 0; }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); border-top: 1px solid var(--line); padding-block: clamp(48px, 6vw, 72px) 30px; margin-top: clamp(40px, 6vw, 80px); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 36px; }
.footer-brand .brand { margin-bottom: 18px; }
.footer-brand p { color: var(--muted); font-size: 0.92rem; max-width: 360px; margin: 0; }
.footer-col h4 { font-size: 0.78rem; letter-spacing: 2px; text-transform: uppercase; color: var(--gold); margin-bottom: 18px; }
.footer-col ul { display: grid; gap: 11px; }
.footer-col a, .footer-col li { color: var(--muted); font-size: 0.92rem; transition: color 0.2s; }
.footer-col a:hover { color: var(--gold); }
.footer-col li i { color: var(--gold); margin-inline-end: 8px; }
.footer-bottom { margin-top: clamp(36px, 5vw, 54px); padding-top: 24px; border-top: 1px solid var(--line-soft); text-align: center; color: var(--muted); font-size: 0.85rem; }

/* ---------- back to top ---------- */
.to-top {
  position: fixed; inset-block-end: 26px; inset-inline-end: 26px; z-index: 800;
  width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line);
  background: rgba(14, 21, 43, 0.9); backdrop-filter: blur(8px); color: var(--gold); cursor: pointer;
  display: grid; place-items: center; font-size: 1rem; opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: opacity 0.3s, transform 0.3s, visibility 0.3s, background 0.2s;
}
.to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { background: var(--gold); color: #241a06; }

/* ---------- scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- mobile drawer ---------- */
.mobile-nav {
  position: fixed; inset-block-start: 0; inset-inline-end: 0; z-index: 1000;
  width: min(320px, 84vw); height: 100dvh; padding: 88px 28px 40px;
  background: rgba(9, 14, 28, 0.98); backdrop-filter: blur(16px);
  border-inline-start: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 6px;
  visibility: hidden; opacity: 0; transform: translateY(-10px);
  transition: opacity 0.32s var(--ease), transform 0.32s var(--ease), visibility 0.32s;
}
.mobile-nav.open { visibility: visible; opacity: 1; transform: translateY(0); }
.mobile-nav a { color: var(--text-2); font-size: 1.05rem; font-weight: 500; padding: 14px 4px; border-bottom: 1px solid var(--line-soft); transition: color 0.2s; }
.mobile-nav a:hover { color: var(--gold); }
.mobile-nav .btn { margin-top: 22px; }
.m-close { position: absolute; inset-block-start: 22px; inset-inline-end: 24px; width: 42px; height: 42px; border-radius: 10px;
  background: var(--surface); border: 1px solid var(--line); color: var(--text); font-size: 1.1rem; cursor: pointer; }
.backdrop { position: fixed; inset: 0; z-index: 990; background: rgba(4, 7, 16, 0.6); backdrop-filter: blur(2px);
  opacity: 0; visibility: hidden; transition: opacity 0.3s, visibility 0.3s; }
.backdrop.open { opacity: 1; visibility: visible; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .lm-grid { grid-template-columns: 1fr 1fr; }
  #live-crypto { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  .nav-links, .nav-actions .btn-quote-desk { display: none; }
  .burger { display: inline-flex; }
  .dash-wrap { grid-template-columns: 1fr; }
  .dash-media { order: -1; max-width: 460px; }
  .contact-wrap { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
  .cool-grid { grid-template-columns: 1fr; }
  .lm-grid { grid-template-columns: 1fr; }
  #live-crypto, #live-network { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .why-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  #live-crypto { grid-template-columns: 1fr; }
  .hero-stats { gap: 20px 32px; }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* keep decorative hero glow within small viewports (no horizontal scroll) */
@media (max-width: 560px){
  .hero-glow{ width: 300px; height: 300px; inset-inline-end: -50px; }
}

/* guard: content sections clip horizontal overflow so no page-level side scroll */
.section-pad, #dashboard, #home { overflow-x: clip; }
