/* ==================================================
   HashHost — Dark Industrial design system
   Author build: index.html + this file only.
   RTL/LTR via logical properties. 4 langs (ar/en/ru/ka).
   ================================================== */

/* ---------- boot / anti-flash ---------- */
html.i18n-boot body { opacity: 0; }
body { opacity: 1; transition: opacity .25s ease; }

/* ---------- tokens ---------- */
:root {
  --bg:        #0A0B0D;
  --bg-2:      #0D0F12;
  --panel:     #121620;
  --panel-2:   #171C27;
  --line:      rgba(255,255,255,.08);
  --line-2:    rgba(255,255,255,.14);
  --grid:      rgba(255,255,255,.035);

  --gold:      #F5A524;
  --gold-soft: #FFC65C;
  --cyan:      #22D3EE;
  --lime:      #A3E635;
  --red:       #FB5D5D;
  --green:     #34D399;

  --text:      #EEF1F5;
  --muted:     #9AA3AF;
  --muted-2:   #6B7480;

  --radius:    8px;
  --radius-sm: 5px;
  --maxw:      1220px;
  --gutter:    clamp(16px, 4vw, 40px);

  --font-body: "IBM Plex Sans Arabic","Noto Sans","Noto Sans Georgian","Segoe UI",Tahoma,sans-serif;
  --font-disp: "Space Grotesk","IBM Plex Sans Arabic","Noto Sans","Noto Sans Georgian","Segoe UI",sans-serif;
  --font-mono: "IBM Plex Mono","IBM Plex Sans Arabic",ui-monospace,SFMono-Regular,Menlo,monospace;

  --glow-gold: 0 0 0 1px rgba(245,165,36,.35), 0 0 28px rgba(245,165,36,.22);
  --glow-cyan: 0 0 0 1px rgba(34,211,238,.30), 0 0 26px rgba(34,211,238,.18);
  --shadow:    0 18px 50px rgba(0,0,0,.5);
}

/* ---------- reset / base ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-size: 16px;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}
h1,h2,h3,h4 { margin: 0; line-height: 1.12; font-weight: 700; letter-spacing: -.01em; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }

/* ---------- animated blueprint background ---------- */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(var(--grid) 1px, transparent 1px) 0 0 / 46px 46px,
    linear-gradient(90deg, var(--grid) 1px, transparent 1px) 0 0 / 46px 46px,
    radial-gradient(1100px 620px at 82% -8%, rgba(245,165,36,.10), transparent 60%),
    radial-gradient(920px 560px at 6% 8%, rgba(34,211,238,.08), transparent 62%);
  animation: gridDrift 34s linear infinite;
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(60% 45% at 50% 42%, transparent 40%, rgba(0,0,0,.5) 100%);
}
@keyframes gridDrift {
  from { background-position: 0 0, 0 0, 0 0, 0 0; }
  to   { background-position: 46px 46px, 46px 46px, 0 0, 0 0; }
}

/* everything sits above the background */
header, main, footer, .to-top { position: relative; z-index: 1; }

/* ---------- layout ---------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
main { display: block; }
section { padding-block: clamp(56px, 8vw, 108px); position: relative; }

/* ---------- section heading ---------- */
.sec-head { max-width: 720px; margin-inline: auto; text-align: center; margin-bottom: clamp(34px,5vw,60px); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-mono); font-size: 12.5px; letter-spacing: .22em;
  text-transform: uppercase; color: var(--gold);
  padding: 7px 14px; border: 1px solid rgba(245,165,36,.3);
  border-radius: 100px; background: rgba(245,165,36,.06); margin-bottom: 20px;
}
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 2px; background: var(--gold); box-shadow: 0 0 10px var(--gold); }
.sec-title { font-family: var(--font-disp); font-size: clamp(28px, 4.6vw, 46px); }
.sec-sub { color: var(--muted); margin-top: 16px; font-size: clamp(15px,2vw,17.5px); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-weight: 700; font-size: 15px; padding: 14px 26px;
  border-radius: var(--radius); border: 1px solid transparent;
  transition: transform .18s ease, box-shadow .25s ease, background .25s ease, border-color .25s ease;
  white-space: nowrap;
}
.btn i { font-size: 1em; }
.btn-gold {
  background: linear-gradient(180deg, var(--gold-soft), var(--gold));
  color: #1A1204; box-shadow: var(--glow-gold);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 0 0 1px rgba(245,165,36,.6), 0 10px 34px rgba(245,165,36,.4); }
.btn-ghost {
  background: rgba(255,255,255,.03); color: var(--text);
  border-color: var(--line-2);
}
.btn-ghost:hover { transform: translateY(-2px); border-color: var(--cyan); box-shadow: var(--glow-cyan); }
.btn-wide { width: 100%; }

/* ================= HEADER ================= */
.site-header {
  position: sticky; inset-block-start: 0; z-index: 60;
  background: rgba(10,11,13,.72);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-block-end: 1px solid var(--line);
  transition: background .3s ease, border-color .3s ease;
}
.site-header.scrolled { background: rgba(10,11,13,.9); border-block-end-color: var(--line-2); }
.nav-wrap { display: flex; align-items: center; gap: 22px; height: 72px; }

.brand { display: inline-flex; align-items: center; gap: 11px; font-family: var(--font-disp); font-weight: 700; font-size: 20px; letter-spacing: -.02em; }
.brand-badge {
  width: 38px; height: 38px; border-radius: var(--radius-sm);
  display: grid; place-items: center; color: #1A1204;
  background: linear-gradient(150deg, var(--gold-soft), var(--gold));
  box-shadow: var(--glow-gold); font-size: 18px;
}
.brand span b { color: var(--gold); }

.main-nav { display: flex; align-items: center; gap: 4px; margin-inline-start: auto; }
.main-nav a {
  font-size: 14.5px; color: var(--muted); padding: 9px 13px; border-radius: 6px;
  transition: color .2s ease, background .2s ease; position: relative;
}
.main-nav a:hover { color: var(--text); background: rgba(255,255,255,.05); }

.header-cta { display: inline-flex; }
.header-cta .btn { padding: 11px 20px; font-size: 14px; }

/* burger */
.burger {
  display: none; width: 44px; height: 44px; border-radius: 8px;
  background: rgba(255,255,255,.04); border: 1px solid var(--line-2);
  color: var(--text); font-size: 18px; align-items: center; justify-content: center;
}

/* ---------- language switcher ---------- */
#lang-switch { position: relative; }
.lang-switch .lang-current, .lang-current {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.04); border: 1px solid var(--line-2);
  color: var(--text); padding: 9px 12px; border-radius: 7px; font-weight: 600; font-size: 14px;
  transition: border-color .2s ease, background .2s ease;
}
.lang-current:hover { border-color: var(--gold); background: rgba(245,165,36,.08); }
.lang-flag { font-size: 16px; line-height: 1; }
.lang-code { font-family: var(--font-mono); letter-spacing: .05em; }
.lang-caret { font-size: 11px; color: var(--muted); transition: transform .2s ease; }
#lang-switch.open .lang-caret { transform: rotate(180deg); }

.lang-menu {
  position: fixed; z-index: 200; min-width: 190px;
  background: var(--panel-2); border: 1px solid var(--line-2);
  border-radius: 10px; padding: 6px; box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .16s ease, transform .16s ease, visibility .16s;
}
.lang-menu.open { opacity: 1; visibility: visible; transform: translateY(0); }
.lang-opt {
  display: flex; align-items: center; gap: 10px; width: 100%;
  background: transparent; border: 0; color: var(--text);
  padding: 10px 12px; border-radius: 7px; text-align: start; font-size: 14.5px;
  transition: background .15s ease;
}
.lang-opt .lang-name { flex: 1; }
.lang-opt .lang-code { color: var(--muted); font-size: 12px; }
.lang-opt:hover { background: rgba(255,255,255,.06); }
.lang-opt.active { background: rgba(245,165,36,.12); color: var(--gold-soft); }
.lang-opt.active .lang-code { color: var(--gold); }

/* ================= HERO ================= */
.hero { padding-block: clamp(52px, 8vw, 96px); overflow: hidden; }
.hero-grid {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(30px,4vw,64px);
  align-items: center;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-size: 13px; letter-spacing: .04em;
  color: var(--lime); padding: 8px 15px; border-radius: 100px;
  border: 1px solid rgba(163,230,53,.3); background: rgba(163,230,53,.06); margin-bottom: 26px;
}
.pulse-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--lime); position: relative; box-shadow: 0 0 10px var(--lime); }
.pulse-dot::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 1px solid var(--lime); animation: pulse 2s ease-out infinite; }
@keyframes pulse { 0% { transform: scale(.6); opacity: .9; } 100% { transform: scale(2.2); opacity: 0; } }

.hero h1 {
  font-family: var(--font-disp);
  font-size: clamp(34px, 6vw, 68px); line-height: 1.03; letter-spacing: -.02em;
  margin-bottom: 22px; text-wrap: balance;
}
.hero h1 .l2 { color: transparent; background: linear-gradient(120deg,var(--gold-soft),var(--gold) 55%,var(--cyan)); -webkit-background-clip: text; background-clip: text; display: block; }
.hero-sub { color: var(--muted); font-size: clamp(15.5px, 2.2vw, 19px); max-width: 560px; margin-bottom: 34px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 44px; }

.hero-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; max-width: 560px; }
.hstat {
  border: 1px solid var(--line); border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,0));
  padding: 16px 14px; position: relative; overflow: hidden;
}
.hstat::before { content: ""; position: absolute; inset-block-start: 0; inset-inline-start: 0; width: 100%; height: 2px; background: linear-gradient(90deg,var(--gold),transparent); }
.hstat .num { font-family: var(--font-mono); font-size: clamp(22px,3vw,30px); font-weight: 700; color: var(--gold-soft); line-height: 1; }
.hstat .lbl { font-size: 12.5px; color: var(--muted); margin-top: 8px; display: block; }

/* hero visual */
.hero-visual { position: relative; }
.hero-frame {
  position: relative; border-radius: 12px; overflow: hidden;
  border: 1px solid var(--line-2); box-shadow: var(--shadow);
  aspect-ratio: 4 / 3.4;
}
.hero-frame img { width: 100%; height: 100%; object-fit: cover; filter: contrast(1.05) saturate(1.05); }
.hero-frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,11,13,.15), rgba(10,11,13,.65)); }
.hero-frame::before {
  content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: linear-gradient(90deg, var(--grid) 1px, transparent 1px) 0 0 / 30px 30px,
              linear-gradient(var(--grid) 1px, transparent 1px) 0 0 / 30px 30px;
  mix-blend-mode: overlay;
}
.hero-chip {
  position: absolute; z-index: 3; inset-block-end: 16px; inset-inline-start: 16px;
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(10,11,13,.82); border: 1px solid var(--line-2);
  border-radius: 8px; padding: 10px 14px; font-family: var(--font-mono); font-size: 12.5px;
  backdrop-filter: blur(6px);
}
.hero-chip i { color: var(--cyan); }
.corner { position: absolute; z-index: 3; width: 22px; height: 22px; border: 2px solid var(--gold); }
.corner.tl { inset-block-start: 12px; inset-inline-start: 12px; border-inline-end: 0; border-block-end: 0; }
.corner.br { inset-block-end: 12px; inset-inline-end: 12px; border-inline-start: 0; border-block-start: 0; }

/* ================= LIVE MARKET BAR ================= */
.live-market { padding-block: clamp(30px,4vw,44px); border-block: 1px solid var(--line); background: linear-gradient(180deg, rgba(18,22,32,.6), rgba(10,11,13,.2)); }
.live-inner { display: block; }
.lm-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
.lm-title { display: inline-flex; align-items: center; gap: 11px; font-family: var(--font-disp); font-weight: 700; font-size: clamp(17px,2.4vw,22px); }
.live-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--red); box-shadow: 0 0 12px var(--red); position: relative; }
.live-dot::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 1px solid var(--red); animation: pulse 2s ease-out infinite; }
.lm-updated { font-family: var(--font-mono); font-size: 12.5px; color: var(--muted); display: inline-flex; gap: 7px; align-items: center; }
.lm-updated-val { color: var(--cyan); }

.lm-grid { display: grid; grid-template-columns: 3fr 2fr 1.3fr; gap: 16px; align-items: stretch; }
.live-group { display: grid; gap: 14px; }
#live-crypto { grid-template-columns: repeat(3, 1fr); }
#live-network { grid-template-columns: repeat(2, 1fr); }

.lm-card {
  background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 15px; display: flex; flex-direction: column; gap: 8px;
  position: relative; overflow: hidden; transition: border-color .25s ease, transform .25s ease;
  min-height: 128px;
}
.lm-card:hover { border-color: var(--line-2); transform: translateY(-2px); }
.lm-c-head { display: flex; align-items: center; gap: 10px; }
.lm-c-icon { width: 34px; height: 34px; border-radius: 7px; display: grid; place-items: center; background: rgba(245,165,36,.12); color: var(--gold); font-size: 16px; flex-shrink: 0; }
.lm-c-icon-cyan { background: rgba(34,211,238,.12); color: var(--cyan); }
.lm-c-meta { display: flex; flex-direction: column; line-height: 1.2; min-width: 0; }
.lm-c-sym { font-weight: 700; font-size: 14px; }
.lm-c-name { font-size: 11.5px; color: var(--muted); }
.li-chg { margin-inline-start: auto; font-family: var(--font-mono); font-size: 12.5px; font-weight: 700; padding: 3px 8px; border-radius: 5px; }
.li-chg.up { color: var(--green); background: rgba(52,211,153,.12); }
.li-chg.down { color: var(--red); background: rgba(251,93,93,.12); }
.li-val { font-family: var(--font-mono); font-size: clamp(18px,2.4vw,23px); font-weight: 700; letter-spacing: -.01em; }
.lm-cap { font-size: 11px; color: var(--muted-2); text-transform: uppercase; letter-spacing: .08em; }
.lm-spark { width: 100%; height: 52px; margin-block-start: auto; }
.lm-spark[hidden] { display: none; }

.lm-wx { min-height: 128px; }
.lm-wx-body { display: flex; align-items: center; gap: 14px; margin-block-start: auto; }
.lm-wx-cond { font-size: 30px; color: var(--gold-soft); }
.lm-wx .li-val { font-size: clamp(24px,3vw,32px); }
.lm-wx-side { display: flex; flex-direction: column; gap: 3px; font-size: 12.5px; color: var(--muted); }
.lm-wx-desc { color: var(--text); }
.lm-wx-wind i { color: var(--cyan); }

.live-group[data-state="loading"] .lm-card { animation: shimmer 1.4s ease-in-out infinite; }
@keyframes shimmer { 0%,100% { opacity: .62; } 50% { opacity: 1; } }
.live-group[data-state="error"] { opacity: .55; }

/* ================= WHY ================= */
.why { background:
  linear-gradient(180deg, rgba(10,11,13,.92), rgba(10,11,13,.86)),
  url("../images/bg-hardware.webp") center/cover fixed no-repeat; }
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.why-card {
  background: linear-gradient(180deg, rgba(23,28,39,.9), rgba(18,22,32,.75));
  border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px;
  position: relative; overflow: hidden; transition: transform .25s ease, border-color .25s ease;
}
.why-card::before { content: ""; position: absolute; inset-block-start: 0; inset-inline-start: 0; width: 46px; height: 3px; background: var(--gold); transition: width .3s ease; }
.why-card:hover { transform: translateY(-4px); border-color: var(--line-2); }
.why-card:hover::before { width: 100%; }
.why-ico { width: 52px; height: 52px; border-radius: 10px; display: grid; place-items: center; font-size: 22px; color: var(--gold); background: rgba(245,165,36,.1); border: 1px solid rgba(245,165,36,.22); margin-bottom: 18px; }
.why-card:nth-child(even) .why-ico { color: var(--cyan); background: rgba(34,211,238,.1); border-color: rgba(34,211,238,.22); }
.why-card h3 { font-size: 18.5px; margin-bottom: 10px; }
.why-card p { color: var(--muted); font-size: 14.5px; }
.why-idx { position: absolute; inset-block-start: 18px; inset-inline-end: 20px; font-family: var(--font-mono); font-size: 13px; color: var(--muted-2); }

/* ================= COOLING ================= */
.cooling-split { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.cool-card {
  border: 1px solid var(--line); border-radius: 12px; overflow: hidden;
  background: var(--panel); display: flex; flex-direction: column; transition: border-color .25s ease, transform .25s ease;
}
.cool-card:hover { transform: translateY(-4px); }
.cool-air:hover { border-color: rgba(245,165,36,.45); box-shadow: var(--glow-gold); }
.cool-water:hover { border-color: rgba(34,211,238,.45); box-shadow: var(--glow-cyan); }
.cool-media { position: relative; aspect-ratio: 16/9; overflow: hidden; }
.cool-media img { width: 100%; height: 100%; object-fit: cover; }
.cool-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 30%, rgba(18,22,32,.95)); }
.cool-tag { position: absolute; z-index: 2; inset-block-start: 14px; inset-inline-start: 14px; font-family: var(--font-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; padding: 6px 12px; border-radius: 6px; background: rgba(10,11,13,.7); border: 1px solid var(--line-2); }
.cool-air .cool-tag { color: var(--gold); }
.cool-water .cool-tag { color: var(--cyan); }
.cool-body { padding: 26px 26px 28px; display: flex; flex-direction: column; gap: 14px; flex: 1; }
.cool-body h3 { font-family: var(--font-disp); font-size: clamp(20px,2.6vw,26px); }
.cool-lead { color: var(--muted); font-size: 15px; }
.cool-list { display: grid; gap: 11px; }
.cool-list li { display: flex; gap: 11px; align-items: flex-start; font-size: 14.5px; color: var(--text); }
.cool-list li i { color: var(--gold); margin-block-start: 4px; font-size: 13px; flex-shrink: 0; }
.cool-water .cool-list li i { color: var(--cyan); }
.cool-fit { margin-block-start: auto; padding-block-start: 14px; border-block-start: 1px dashed var(--line-2); font-size: 14px; color: var(--muted); }
.cool-fit strong { color: var(--text); }

/* ================= HOW ================= */
.how-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: step; }
.step {
  position: relative; padding: 30px 22px 24px; border: 1px solid var(--line);
  border-radius: var(--radius); background: linear-gradient(180deg, rgba(23,28,39,.6), rgba(18,22,32,.4));
  transition: transform .25s ease, border-color .25s ease;
}
.step:hover { transform: translateY(-4px); border-color: var(--line-2); }
.step-num {
  font-family: var(--font-mono); font-weight: 700; font-size: 15px; color: #1A1204;
  width: 42px; height: 42px; border-radius: 9px; display: grid; place-items: center;
  background: linear-gradient(150deg,var(--gold-soft),var(--gold)); box-shadow: var(--glow-gold); margin-bottom: 18px;
}
.step-ico { position: absolute; inset-block-start: 30px; inset-inline-end: 22px; font-size: 20px; color: var(--muted-2); }
.step h3 { font-size: 17px; margin-bottom: 9px; }
.step p { color: var(--muted); font-size: 14px; }
.how-grid .step:not(:last-child)::after {
  content: ""; position: absolute; inset-block-start: 51px; inset-inline-end: -10px;
  width: 20px; height: 2px; background: linear-gradient(90deg,var(--gold),transparent);
}
[dir="rtl"] .how-grid .step:not(:last-child)::after { transform: scaleX(-1); }

/* ================= DASHBOARD ================= */
.dash-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px,4vw,56px); align-items: center; }
.dash-features { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.dash-feat { border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; background: rgba(255,255,255,.02); transition: border-color .25s ease; }
.dash-feat:hover { border-color: var(--line-2); }
.dash-feat i { font-size: 20px; color: var(--cyan); margin-bottom: 12px; }
.dash-feat h3 { font-size: 15.5px; margin-bottom: 7px; }
.dash-feat p { color: var(--muted); font-size: 13.5px; }

/* mockup */
.dash-mock {
  border: 1px solid var(--line-2); border-radius: 14px; overflow: hidden;
  background: linear-gradient(180deg,#12161f,#0c0f15); box-shadow: var(--shadow); position: relative;
}
.dash-mock::before { content: ""; position: absolute; inset: 0; background: linear-gradient(120deg, rgba(245,165,36,.06), transparent 50%, rgba(34,211,238,.06)); pointer-events: none; }
.dm-bar { display: flex; align-items: center; gap: 8px; padding: 13px 16px; border-block-end: 1px solid var(--line); }
.dm-bar .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--muted-2); }
.dm-bar .dot:nth-child(1){ background:#FB5D5D;} .dm-bar .dot:nth-child(2){ background:var(--gold);} .dm-bar .dot:nth-child(3){ background:var(--green);}
.dm-bar .dm-title { margin-inline-start: 10px; font-family: var(--font-mono); font-size: 12px; color: var(--muted); }
.dm-live { margin-inline-start: auto; font-family: var(--font-mono); font-size: 11px; color: var(--green); display: inline-flex; align-items: center; gap: 6px; }
.dm-live::before { content:""; width:7px;height:7px;border-radius:50%;background:var(--green);box-shadow:0 0 8px var(--green); }
.dm-body { padding: 18px; display: grid; gap: 14px; }
.dm-kpis { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; }
.dm-kpi { border: 1px solid var(--line); border-radius: 7px; padding: 13px; background: rgba(255,255,255,.02); }
.dm-kpi .k { font-size: 10.5px; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; font-family: var(--font-mono); }
.dm-kpi .v { font-family: var(--font-mono); font-size: 19px; font-weight: 700; margin-top: 5px; }
.dm-kpi .v.gold { color: var(--gold-soft); } .dm-kpi .v.cyan { color: var(--cyan); } .dm-kpi .v.green { color: var(--green); }
.dm-chart { border: 1px solid var(--line); border-radius: 8px; padding: 14px; background: rgba(255,255,255,.02); }
.dm-chart .lbl { font-family: var(--font-mono); font-size: 11px; color: var(--muted); margin-bottom: 10px; display: flex; justify-content: space-between; }
.dm-bars { display: flex; align-items: flex-end; gap: 6px; height: 92px; }
.dm-bars span { flex: 1; border-radius: 3px 3px 0 0; background: linear-gradient(180deg,var(--cyan),rgba(34,211,238,.15)); animation: barGrow 1.2s ease both; }
@keyframes barGrow { from { transform: scaleY(.15); } to { transform: scaleY(1); } }
.dm-bars span { transform-origin: bottom; }
.dm-rows { display: grid; gap: 8px; }
.dm-row { display: flex; align-items: center; gap: 10px; font-family: var(--font-mono); font-size: 12px; padding: 9px 11px; border: 1px solid var(--line); border-radius: 6px; }
.dm-row .st { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 7px var(--green); }
.dm-row .rig { color: var(--text); } .dm-row .hr { margin-inline-start: auto; color: var(--gold-soft); } .dm-row .tp { color: var(--cyan); }

/* ================= FAQ ================= */
.faq { max-width: 880px; }
.faq-list { display: grid; gap: 12px; }
.faq-item { border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255,255,255,.02); overflow: hidden; transition: border-color .25s ease; }
.faq-item.open { border-color: rgba(245,165,36,.4); }
.faq-q {
  width: 100%; text-align: start; background: transparent; border: 0; color: var(--text);
  font-size: clamp(15px,2vw,17px); font-weight: 600; padding: 20px 22px;
  display: flex; align-items: center; gap: 14px;
}
.faq-q .q-ico { width: 30px; height: 30px; flex-shrink: 0; display: grid; place-items: center; border-radius: 6px; background: rgba(245,165,36,.1); color: var(--gold); transition: transform .3s ease; font-size: 13px; }
.faq-item.open .q-ico { transform: rotate(45deg); background: var(--gold); color: #1A1204; }
.faq-q span { flex: 1; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.faq-a p { padding: 0 22px 22px calc(22px + 44px); color: var(--muted); font-size: 14.5px; }
[dir="rtl"] .faq-a p { padding: 0 calc(22px + 44px) 22px 22px; }

/* ================= CONTACT ================= */
.contact-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 22px; align-items: start; }
.contact-form-card, .contact-aside { border: 1px solid var(--line); border-radius: 12px; background: var(--panel); padding: clamp(24px,3vw,34px); }
.field-set { display: block; margin-bottom: 16px; }
.d-label { display: block; font-size: 13px; font-weight: 600; color: var(--muted); margin-bottom: 8px; font-family: var(--font-mono); letter-spacing: .02em; }
.form-control {
  width: 100%; background: rgba(0,0,0,.28); border: 1px solid var(--line-2); color: var(--text);
  border-radius: 7px; padding: 13px 15px; font-family: inherit; font-size: 15px;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.form-control::placeholder { color: var(--muted-2); }
.form-control:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(245,165,36,.15); }
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 {
  -webkit-appearance: none; appearance: none; width: 100%; cursor: pointer;
  background: linear-gradient(180deg,var(--gold-soft),var(--gold)); color: #1A1204;
  border: 0; border-radius: var(--radius); padding: 15px 22px; font-weight: 700; font-size: 15.5px;
  box-shadow: var(--glow-gold); transition: transform .18s ease, box-shadow .25s ease;
}
.btn-main:hover { transform: translateY(-2px); box-shadow: 0 10px 34px rgba(245,165,36,.4); }
.btn-main[disabled] { opacity: .6; cursor: wait; transform: none; }
.hidden { display: none !important; }
.success, .error { border-radius: var(--radius); padding: 22px; font-size: 15px; display: flex; align-items: center; gap: 12px; }
.success { background: rgba(52,211,153,.1); border: 1px solid rgba(52,211,153,.4); color: #b8f0da; }
.error { background: rgba(251,93,93,.1); border: 1px solid rgba(251,93,93,.4); color: #f7c4c4; }
.success::before { content: "\f058"; font-family: "Font Awesome 6 Free"; font-weight: 900; color: var(--green); font-size: 20px; }
.error::before { content: "\f06a"; font-family: "Font Awesome 6 Free"; font-weight: 900; color: var(--red); font-size: 20px; }
.position-relative { position: relative; } .z1000 { z-index: 1; } .mt20 { margin-top: 4px; } .mb20 { margin-bottom: 4px; }

/* aside */
.contact-aside { background: linear-gradient(180deg, rgba(23,28,39,.9), rgba(18,22,32,.7)); }
.contact-aside h3 { font-family: var(--font-disp); font-size: 22px; margin-bottom: 12px; }
.contact-aside > p { color: var(--muted); font-size: 14.5px; margin-bottom: 22px; }
.wa-btn {
  display: flex; align-items: center; justify-content: center; gap: 11px; width: 100%;
  background: #1FA855; color: #fff; border-radius: var(--radius); padding: 15px; font-weight: 700; font-size: 15px;
  transition: transform .18s ease, box-shadow .25s ease;
}
.wa-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(31,168,85,.4); }
.wa-btn i { font-size: 20px; }
.aside-hours { display: flex; align-items: center; gap: 10px; margin-top: 18px; font-size: 13.5px; color: var(--muted); font-family: var(--font-mono); }
.aside-hours i { color: var(--cyan); }
.aside-sep { height: 1px; background: var(--line); margin-block: 24px; }
.aside-mini { display: flex; align-items: center; gap: 13px; padding: 12px 0; }
.aside-mini .ic { width: 40px; height: 40px; border-radius: 8px; display: grid; place-items: center; background: rgba(34,211,238,.1); color: var(--cyan); font-size: 16px; flex-shrink: 0; }
.aside-mini .tx b { display: block; font-size: 14px; } .aside-mini .tx span { font-size: 12.5px; color: var(--muted); }

/* ================= FOOTER ================= */
.site-footer { border-block-start: 1px solid var(--line); background: var(--bg-2); padding-block: clamp(44px,6vw,64px) 0; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 34px; }
.footer-brand p { color: var(--muted); font-size: 14px; margin-top: 16px; max-width: 340px; }
.footer-col h4 { font-family: var(--font-mono); font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); margin-bottom: 16px; }
.footer-col a, .footer-col li { color: var(--muted); font-size: 14px; padding-block: 5px; display: block; transition: color .2s ease; }
.footer-col a:hover { color: var(--text); }
.footer-col li i { color: var(--cyan); margin-inline-end: 8px; }
.footer-bottom { margin-top: 40px; border-block-start: 1px solid var(--line); padding-block: 22px; text-align: center; color: var(--muted-2); font-size: 13px; }

/* ================= BACK TO TOP ================= */
.to-top {
  position: fixed; inset-block-end: 22px; inset-inline-end: 22px; z-index: 70;
  width: 48px; height: 48px; border-radius: 10px; border: 1px solid var(--line-2);
  background: rgba(18,22,32,.9); color: var(--gold); font-size: 17px; backdrop-filter: blur(8px);
  display: grid; place-items: center; opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: opacity .25s ease, transform .25s ease, visibility .25s, box-shadow .25s ease;
}
.to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { box-shadow: var(--glow-gold); border-color: var(--gold); }

/* ================= REVEAL ================= */
[data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .6s ease, transform .6s ease; }
[data-reveal].in { opacity: 1; transform: none; }
[data-reveal][data-delay="1"] { transition-delay: .08s; }
[data-reveal][data-delay="2"] { transition-delay: .16s; }
[data-reveal][data-delay="3"] { transition-delay: .24s; }
[data-reveal][data-delay="4"] { transition-delay: .32s; }
[data-reveal][data-delay="5"] { transition-delay: .4s; }

/* ================= MOBILE NAV PANEL ================= */
.mobile-panel {
  position: fixed; inset: 0; z-index: 90; background: rgba(10,11,13,.97);
  backdrop-filter: blur(10px); display: flex; flex-direction: column; padding: 24px var(--gutter);
  transform: translateX(100%); transition: transform .3s ease; visibility: hidden;
}
[dir="rtl"] .mobile-panel { transform: translateX(-100%); }
.mobile-panel.open { transform: translateX(0); visibility: visible; }
.mp-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 30px; }
.mp-close { width: 44px; height: 44px; border-radius: 8px; background: rgba(255,255,255,.04); border: 1px solid var(--line-2); color: var(--text); font-size: 18px; }
.mobile-panel nav { display: flex; flex-direction: column; gap: 4px; }
.mobile-panel nav a { font-size: 20px; font-weight: 600; padding: 14px 4px; border-block-end: 1px solid var(--line); color: var(--text); }
.mobile-panel .btn { margin-top: 26px; }

/* ================= RESPONSIVE ================= */
@media (max-width: 1080px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { order: -1; max-width: 560px; }
  .lm-grid { grid-template-columns: 1fr 1fr; }
  #live-weather { grid-column: 1 / -1; }
  #live-weather .lm-wx { min-height: 0; }
}
@media (max-width: 900px) {
  .main-nav, .header-cta { display: none; }
  .burger { display: inline-flex; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .how-grid { grid-template-columns: repeat(2, 1fr); }
  .how-grid .step::after { display: none; }
  .dash-grid { grid-template-columns: 1fr; }
  .dash-mock { order: -1; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
  .cooling-split { grid-template-columns: 1fr; }
  .lm-grid { grid-template-columns: 1fr; }
  #live-crypto { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .hero-stats { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .how-grid { grid-template-columns: 1fr; }
  .dash-features { grid-template-columns: 1fr; }
  #live-network { grid-template-columns: 1fr; }
  .dm-kpis { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .row { grid-template-columns: 1fr; }
}

/* fixed-attachment backgrounds are janky on mobile */
@media (max-width: 900px) { .why { background-attachment: scroll; } }

/* ================= REDUCED MOTION ================= */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  html { scroll-behavior: auto; }
  body::before { animation: none; }
}
