/* =========================================================
   ShredStrike — styles
   Dark "tactical fintech" aesthetic · Solana neon · glass
   ========================================================= */

:root {
  --bg:          #05060a;
  --bg-2:        #080a11;
  --surface:     rgba(255, 255, 255, 0.035);
  --surface-2:   rgba(255, 255, 255, 0.06);
  --border:      rgba(255, 255, 255, 0.08);
  --border-str:  rgba(255, 255, 255, 0.16);

  --text:        #eef1f8;
  --muted:       #8b93a7;
  --faint:       #5b6276;

  --green:       #14f195;
  --green-soft:  #6affc1;
  --violet:      #9945ff;
  --violet-soft: #b98bff;
  --strike:      #ff3a64;

  --grad:        linear-gradient(100deg, #14f195 0%, #62e6c6 35%, #9945ff 100%);
  --grad-strike: linear-gradient(100deg, #14f195, #ff3a64);

  --font-display: 'Space Grotesk', system-ui, sans-serif;
  --font-body:    'Inter', system-ui, sans-serif;
  --font-mono:    'JetBrains Mono', ui-monospace, monospace;

  --maxw: 1180px;
  --radius: 18px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* layered background glows */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(900px 600px at 78% -8%, rgba(153, 69, 255, 0.18), transparent 60%),
    radial-gradient(800px 600px at 8% 12%, rgba(20, 241, 149, 0.12), transparent 55%),
    radial-gradient(700px 700px at 50% 110%, rgba(153, 69, 255, 0.10), transparent 60%),
    var(--bg);
}
/* faint grid */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(circle at 50% 40%, #000 0%, transparent 78%);
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

.container { width: min(100% - 2.6rem, var(--maxw)); margin-inline: auto; }

/* ---------- overlays: grain + scanline ---------- */
.grain {
  position: fixed; inset: 0; z-index: 9998; pointer-events: none;
  opacity: 0.05; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.scanline {
  position: fixed; inset: 0; z-index: 9997; pointer-events: none;
  background: repeating-linear-gradient(to bottom, rgba(255,255,255,0.018) 0 1px, transparent 1px 3px);
  opacity: 0.5;
}

/* ---------- custom crosshair cursor ---------- */
.crosshair {
  position: fixed; top: 0; left: 0; z-index: 9999; pointer-events: none;
  width: 38px; height: 38px;
  transition: opacity 0.25s;
  mix-blend-mode: screen; opacity: 0;
}
.crosshair__ring {
  position: absolute; inset: 0; border-radius: 50%;
  border: 1px solid rgba(20, 241, 149, 0.55);
  box-shadow: 0 0 12px rgba(20,241,149,0.25);
}
.crosshair__dot {
  position: absolute; top: 50%; left: 50%; translate: -50% -50%;
  width: 3px; height: 3px; border-radius: 50%; background: var(--green);
}
.crosshair__line {
  position: absolute; background: rgba(20,241,149,0.7);
}
.crosshair__line--t, .crosshair__line--b { left: 50%; width: 1px; height: 7px; translate: -50% 0; }
.crosshair__line--l, .crosshair__line--r { top: 50%; height: 1px; width: 7px; translate: 0 -50%; }
.crosshair__line--t { top: -10px; } .crosshair__line--b { bottom: -10px; }
.crosshair__line--l { left: -10px; } .crosshair__line--r { right: -10px; }
/* crosshair position + scale are driven together in script.js (avoids the scale-multiplies-position jump on click) */
body.cursor-ready { cursor: none; }
body.cursor-ready a, body.cursor-ready button { cursor: none; }

/* ---------- buttons ---------- */
.btn {
  --bw: 1px;
  display: inline-flex; align-items: center; gap: 0.55em;
  font-family: var(--font-display); font-weight: 600; font-size: 0.95rem;
  padding: 0.85em 1.4em; border-radius: 12px; border: var(--bw) solid transparent;
  cursor: pointer; position: relative; isolation: isolate;
  transition: transform 0.25s var(--ease), box-shadow 0.3s var(--ease), background 0.3s;
  white-space: nowrap;
}
.btn svg { transition: transform 0.25s var(--ease); }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  color: #03130c; background: var(--grad);
  box-shadow: 0 8px 28px rgba(20,241,149,0.25), inset 0 1px 0 rgba(255,255,255,0.4);
}
.btn--primary:hover { box-shadow: 0 12px 40px rgba(20,241,149,0.4), 0 0 0 1px rgba(20,241,149,0.4); }
.btn--primary:hover svg { transform: translateX(4px); }

.btn--ghost {
  color: var(--text); background: var(--surface); border-color: var(--border-str);
  backdrop-filter: blur(8px);
}
.btn--ghost:hover { background: var(--surface-2); border-color: var(--green); color: #fff; }

/* ---------- focus states (keyboard a11y) ---------- */
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; border-radius: 6px; }
.btn:focus-visible { outline-offset: 4px; box-shadow: 0 0 0 4px rgba(20, 241, 149, 0.18); }
.nav__links a:focus-visible, .contact__socials a:focus-visible, .nav__logo:focus-visible { outline-offset: 6px; }

/* ---------- eyebrow / kickers ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.6em;
  font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--green-soft);
  padding: 0.45em 0.9em; border: 1px solid var(--border-str); border-radius: 100px;
  background: var(--surface); backdrop-filter: blur(8px);
}
.eyebrow__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 10px var(--green); animation: pulse 1.8s infinite; }

.section__kicker {
  font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--green);
  display: inline-block; margin-bottom: 0.9rem;
}
.section__kicker::before { content: "// "; color: var(--violet-soft); }

/* ---------- gradient text ---------- */
.grad {
  background: var(--grad); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

/* ---------- nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.1rem clamp(1.2rem, 4vw, 2.6rem);
  transition: padding 0.3s var(--ease), background 0.3s, border-color 0.3s, backdrop-filter 0.3s;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  padding-block: 0.7rem;
  background: rgba(7, 9, 15, 0.72);
  backdrop-filter: blur(18px) saturate(140%);
  border-bottom-color: var(--border);
}
.nav__logo {
  display: inline-flex; align-items: center; gap: 0.55rem;
  font-family: var(--font-display); font-weight: 700; font-size: 1.18rem; letter-spacing: -0.01em;
}
.nav__mark { color: var(--green); filter: drop-shadow(0 0 8px rgba(20,241,149,0.4)); }
.nav__logo-accent { color: var(--green); }
.nav__links { display: flex; gap: 2rem; }
.nav__links a {
  font-size: 0.95rem; color: var(--muted); font-weight: 500;
  position: relative; transition: color 0.25s;
}
.nav__links a::after {
  content: ""; position: absolute; left: 0; bottom: -6px; height: 2px; width: 0;
  background: var(--grad); transition: width 0.3s var(--ease);
}
.nav__links a:hover { color: var(--text); }
.nav__links a:hover::after { width: 100%; }
.nav__cta { padding: 0.6em 1.1em; font-size: 0.9rem; }

.nav__burger { display: none; flex-direction: column; gap: 5px; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav__burger span { width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: 0.3s var(--ease); }
.nav__burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger.is-open span:nth-child(2) { opacity: 0; }
.nav__burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- hero ---------- */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: center;
  padding: 7rem 0 4rem; overflow: hidden;
}
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; opacity: 0.8; }
.hero__glow {
  position: absolute; z-index: 0; top: 30%; left: 60%; width: 60vw; height: 60vw;
  max-width: 720px; max-height: 720px; translate: -50% -50%;
  background: radial-gradient(circle, rgba(153,69,255,0.22), transparent 65%);
  filter: blur(20px); pointer-events: none;
}
.hero__inner {
  position: relative; z-index: 2; width: min(100% - 2.6rem, var(--maxw)); margin-inline: auto;
  display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 3.5rem; align-items: center;
}
.hero__title {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(2.8rem, 7vw, 5.4rem); line-height: 0.98; letter-spacing: -0.03em;
  margin: 1.4rem 0 1.3rem;
}
.hero__sub { font-size: clamp(1.02rem, 1.6vw, 1.22rem); color: var(--muted); max-width: 34ch; }
.hero__actions { display: flex; gap: 0.9rem; margin: 2.1rem 0 2.4rem; flex-wrap: wrap; }

.hero__ticker {
  display: flex; align-items: center; gap: 1.4rem; flex-wrap: wrap;
  padding-top: 1.6rem; border-top: 1px solid var(--border);
}
.hero__ticker li { display: flex; flex-direction: column; }
.hero__ticker strong { font-family: var(--font-mono); font-size: 1.5rem; font-weight: 700; color: #fff; }
.hero__ticker span { font-size: 0.78rem; color: var(--faint); text-transform: uppercase; letter-spacing: 0.08em; }
.hero__ticker-div { width: 1px; height: 34px; background: var(--border); }

.hero__scroll {
  position: absolute; bottom: 2rem; left: 50%; translate: -50% 0; z-index: 2;
  width: 26px; height: 42px; border: 1px solid var(--border-str); border-radius: 14px;
  display: grid; place-items: start center; padding-top: 7px;
}
.hero__scroll span { width: 3px; height: 8px; border-radius: 3px; background: var(--green); animation: scrolldot 1.6s infinite; }

/* ---------- terminal ---------- */
.terminal {
  background: linear-gradient(180deg, rgba(13,16,24,0.92), rgba(8,10,16,0.92));
  border: 1px solid var(--border-str); border-radius: var(--radius);
  overflow: hidden; backdrop-filter: blur(14px);
  box-shadow: 0 30px 80px rgba(0,0,0,0.55), 0 0 0 1px rgba(20,241,149,0.05), inset 0 1px 0 rgba(255,255,255,0.05);
}
.terminal__bar {
  display: flex; align-items: center; gap: 0.5rem;
  padding: 0.75rem 1rem; border-bottom: 1px solid var(--border);
  background: rgba(255,255,255,0.02);
}
.terminal__dot { width: 11px; height: 11px; border-radius: 50%; background: #2a2f3d; }
.terminal__dot:nth-child(1) { background: #ff5f57; } .terminal__dot:nth-child(2) { background: #febc2e; } .terminal__dot:nth-child(3) { background: #28c840; }
.terminal__title { font-family: var(--font-mono); font-size: 0.78rem; color: var(--faint); margin-left: 0.5rem; }
.terminal__status { margin-left: auto; font-family: var(--font-mono); font-size: 0.74rem; color: var(--green); display: inline-flex; align-items: center; gap: 0.4em; text-transform: uppercase; letter-spacing: 0.08em; }
.pulse { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 8px var(--green); animation: pulse 1.4s infinite; }
.terminal__body { padding: 1.2rem 1.2rem 1.4rem; font-family: var(--font-mono); font-size: 0.86rem; min-height: 230px; }
.t-line { margin-bottom: 0.6rem; color: #c4ccdc; opacity: 0; transform: translateY(4px); }
.t-line.show { opacity: 1; transform: none; transition: 0.35s var(--ease); }
.t-muted { color: var(--faint); } .t-ok { color: var(--green); } .t-strike { color: var(--strike); }
.t-addr { color: var(--violet-soft); } .t-num { color: #fff; } .t-up { color: var(--green); font-weight: 700; }
.cursor-blink::after { content: "▋"; color: var(--green); animation: blink 1s steps(2) infinite; margin-left: 2px; }

/* ---------- generic section ---------- */
.section { padding: clamp(4.5rem, 9vw, 8rem) 0; position: relative; }
.section__head { max-width: 640px; margin-bottom: 3.2rem; }
.section__title {
  font-family: var(--font-display); font-weight: 700; letter-spacing: -0.025em;
  font-size: clamp(2rem, 4.2vw, 3.1rem); line-height: 1.05;
}
.section__lead { color: var(--muted); font-size: 1.08rem; margin-top: 1rem; }

/* ---------- stats band ---------- */
.stats { padding: 2.4rem 0; border-block: 1px solid var(--border); background: rgba(255,255,255,0.012); }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.stat { text-align: center; padding: 0.6rem; }
.stat__value { font-family: var(--font-mono); font-weight: 700; font-size: clamp(1.7rem, 3.6vw, 2.7rem); color: #fff; letter-spacing: -0.02em; }
.stat__value span { background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.stat__label { color: var(--muted); font-size: 0.88rem; margin-top: 0.4rem; }

/* ---------- performance shots ---------- */
.shots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.shot { position: relative; }
.shot__frame {
  border-radius: 14px; overflow: hidden; border: 1px solid var(--border-str);
  background: var(--surface); aspect-ratio: 4 / 3;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s;
}
.shot__frame img { width: 100%; height: 100%; object-fit: contain; background: #0a0a0f; }
.shot:hover .shot__frame { transform: translateY(-6px); border-color: var(--green); box-shadow: 0 24px 60px rgba(0,0,0,0.5), 0 0 30px rgba(20,241,149,0.15); }
.shot__placeholder {
  display: grid; place-content: center; text-align: center; gap: 0.4rem;
  color: var(--faint); font-family: var(--font-mono);
  background:
    repeating-linear-gradient(45deg, rgba(255,255,255,0.015) 0 12px, transparent 12px 24px),
    var(--surface);
}
.shot__placeholder span { color: var(--muted); font-size: 0.95rem; }
.shot__placeholder small { font-size: 0.72rem; }
.shot figcaption { margin-top: 0.8rem; color: var(--muted); font-size: 0.85rem; text-align: center; }

/* ---------- features ---------- */
.features__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.3rem; }
.feature {
  position: relative; padding: 1.9rem 1.7rem; border-radius: var(--radius);
  border: 1px solid var(--border); background: var(--surface);
  overflow: hidden; transition: transform 0.35s var(--ease), border-color 0.35s, background 0.35s;
}
.feature::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px;
  background: var(--grad); opacity: 0;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  transition: opacity 0.35s;
}
.feature:hover { transform: translateY(-5px); background: var(--surface-2); }
.feature:hover::before { opacity: 1; }
.feature__icon {
  width: 50px; height: 50px; border-radius: 13px; display: grid; place-items: center;
  margin-bottom: 1.2rem; color: var(--green);
  background: rgba(20,241,149,0.08); border: 1px solid rgba(20,241,149,0.2);
  transition: transform 0.35s var(--ease);
}
.feature:hover .feature__icon { transform: scale(1.08) rotate(-4deg); }
.feature__icon svg { width: 24px; height: 24px; }
.feature h3 { font-family: var(--font-display); font-size: 1.2rem; margin-bottom: 0.5rem; letter-spacing: -0.01em; }
.feature p { color: var(--muted); font-size: 0.95rem; }

/* ---------- steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.3rem; counter-reset: step; }
.step { position: relative; padding: 1.8rem 1.5rem; border-radius: var(--radius); border: 1px solid var(--border); background: var(--surface); }
.step__num { font-family: var(--font-mono); font-size: 0.9rem; color: var(--violet-soft); display: block; margin-bottom: 1.4rem; }
.step h3 { font-family: var(--font-display); font-size: 1.25rem; margin-bottom: 0.5rem; }
.step p { color: var(--muted); font-size: 0.93rem; }
.step::after { content: "→"; position: absolute; top: 1.6rem; right: -1rem; color: var(--faint); font-size: 1.1rem; z-index: 3; }
.step:last-child::after { display: none; }

/* ---------- tech badges ---------- */
.badges { display: flex; flex-wrap: wrap; gap: 0.8rem; }
.badge {
  font-family: var(--font-mono); font-size: 0.9rem; color: var(--text);
  padding: 0.6em 1.1em; border-radius: 100px; border: 1px solid var(--border-str);
  background: var(--surface); transition: 0.3s var(--ease);
}
.badge:hover { border-color: var(--green); color: var(--green); transform: translateY(-3px); box-shadow: 0 8px 24px rgba(20,241,149,0.12); }

/* ---------- about ---------- */
.about__grid { display: grid; grid-template-columns: 1.3fr 0.7fr; gap: 3rem; align-items: center; }
.about__text { max-width: 680px; margin-inline: auto; }
.about__text p { color: var(--muted); margin-top: 1.1rem; font-size: 1.04rem; max-width: 52ch; }
.about__text .btn { margin-top: 1.8rem; }
.about__card {
  padding: 1.8rem; border-radius: var(--radius); border: 1px solid var(--border-str);
  background: var(--surface); backdrop-filter: blur(10px);
  box-shadow: 0 24px 60px rgba(0,0,0,0.4);
}
.about__avatar {
  position: relative; overflow: hidden;
  aspect-ratio: 1; border-radius: 14px; display: grid; place-items: center;
  background: var(--grad); color: #03130c; font-family: var(--font-display); font-weight: 700;
  text-align: center; line-height: 1.1; font-size: 1.3rem; margin-bottom: 1.4rem;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.4);
}
.about__avatar img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.about__meta { display: grid; gap: 0.9rem; }
.about__meta > div { display: flex; justify-content: space-between; align-items: center; padding-bottom: 0.9rem; border-bottom: 1px solid var(--border); }
.about__meta > div:last-child { border-bottom: 0; padding-bottom: 0; }
.about__meta strong { font-family: var(--font-mono); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--faint); }
.about__meta span { color: var(--text); font-size: 0.95rem; }
.about__meta .ok { color: var(--green); }

/* ---------- milestones ---------- */
.miles { margin-top: 1.6rem; display: grid; gap: 0.7rem; }
.miles li { position: relative; padding-left: 1.7rem; color: var(--muted); font-size: 0.98rem; }
.miles li::before {
  content: ""; position: absolute; left: 0; top: 0.55em; width: 7px; height: 7px;
  border-radius: 50%; background: var(--green); box-shadow: 0 0 10px var(--green);
}
.miles strong { color: var(--text); font-weight: 600; }

/* ---------- KPI row (performance) ---------- */
.kpis { margin-top: 2.2rem; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.kpi {
  text-align: center; padding: 1.4rem 1rem; border-radius: 14px;
  border: 1px solid var(--border); background: var(--surface);
  transition: border-color 0.3s, transform 0.3s var(--ease);
}
.kpi:hover { transform: translateY(-3px); border-color: var(--border-str); }
.kpi__val {
  display: block; font-family: var(--font-mono); font-weight: 700;
  font-size: clamp(1.4rem, 2.6vw, 1.9rem); color: #fff; letter-spacing: -0.01em;
}
.kpi__label { display: block; margin-top: 0.4rem; color: var(--muted); font-size: 0.85rem; }
.kpi[data-empty] { border-style: dashed; }
.kpi[data-empty] .kpi__val { color: var(--faint); }

/* ---------- native PnL calendars ---------- */
.pnlcals { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.pnlcal { border: 1px solid var(--border); background: var(--surface); border-radius: var(--radius); padding: 1.1rem 1.1rem 1.2rem; }
.pnlcal__month { font-family: var(--font-mono); font-size: 0.74rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.pnlcal__total { font-family: var(--font-mono); font-weight: 700; font-size: 1.5rem; color: var(--green); margin: 0.15rem 0 0.55rem; letter-spacing: -0.01em; }
.pnlcal__bar { height: 4px; border-radius: 4px; background: rgba(255,58,100,0.5); overflow: hidden; }
.pnlcal__bar span { display: block; height: 100%; background: var(--green); border-radius: 4px; }
.pnlcal__counts { display: flex; justify-content: space-between; margin-top: 0.45rem; font-family: var(--font-mono); font-size: 0.72rem; }
.pnlcal__counts .up { color: var(--green); }
.pnlcal__counts .down { color: var(--strike); }
.pnlcal__dow { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; margin: 1rem 0 0.4rem; }
.pnlcal__dow span { text-align: center; font-family: var(--font-mono); font-size: 0.6rem; color: var(--faint); }
.pnlcal__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.pnlday {
  aspect-ratio: 1; border-radius: 5px; border: 1px solid var(--border);
  display: flex; flex-direction: column; justify-content: space-between; padding: 3px 4px; overflow: hidden;
  transition: transform 0.15s var(--ease);
}
.pnlday:hover { transform: scale(1.14); position: relative; z-index: 2; }
.pnlday__d { font-family: var(--font-mono); font-size: 0.5rem; color: var(--faint); line-height: 1; }
.pnlday__v { font-family: var(--font-mono); font-size: 0.5rem; font-weight: 600; line-height: 1; }
.pnlday--pos .pnlday__v { color: #84f7c6; }
.pnlday--neg .pnlday__v { color: #ff93a0; }
.pnlday--zero .pnlday__v { color: var(--faint); }
.pnlday--empty { border-color: transparent; background: transparent !important; }
.pnlday--best { border-color: #ffd06a; box-shadow: 0 0 0 1px rgba(255,208,106,0.4); }
.pnlday--best .pnlday__v { color: #ffdc92; }
@media (max-width: 900px) {
  .pnlcals { grid-template-columns: 1fr; max-width: 470px; margin-inline: auto; }
  .pnlday__d, .pnlday__v { font-size: 0.62rem; }
}

/* ---------- regions / global infrastructure ---------- */
.regions__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.region {
  position: relative; padding: 1.6rem 1.6rem 1.5rem; border-radius: var(--radius);
  border: 1px solid var(--border); background: var(--surface); overflow: hidden;
  transition: transform 0.35s var(--ease), border-color 0.35s, background 0.35s;
}
.region:hover { transform: translateY(-5px); border-color: var(--green); background: var(--surface-2); }
.region h3 { font-family: var(--font-display); font-size: 1.3rem; letter-spacing: -0.01em; }
.region__code { font-family: var(--font-mono); font-size: 0.82rem; color: var(--violet-soft); display: block; margin-top: 0.2rem; }
.region__tag {
  display: inline-block; margin-top: 1.1rem; font-family: var(--font-mono); font-size: 0.72rem;
  text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted);
  padding: 0.35em 0.8em; border-radius: 100px; border: 1px solid var(--border-str); background: rgba(255,255,255,0.02);
}
.region__tag--hot { color: var(--green); border-color: rgba(20,241,149,0.4); }
.region__ping {
  position: absolute; top: 1.5rem; right: 1.5rem; width: 9px; height: 9px; border-radius: 50%;
  background: var(--green); animation: ping 2.4s var(--ease) infinite;
}
.region--star { border-color: rgba(20,241,149,0.3); background: linear-gradient(160deg, rgba(20,241,149,0.06), var(--surface)); }
@keyframes ping {
  0% { box-shadow: 0 0 0 0 rgba(20,241,149,0.45); }
  70% { box-shadow: 0 0 0 12px rgba(20,241,149,0); }
  100% { box-shadow: 0 0 0 0 rgba(20,241,149,0); }
}

/* responsive for new components */
@media (max-width: 960px) {
  .regions__grid { grid-template-columns: repeat(2, 1fr); }
  .kpis { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .regions__grid { grid-template-columns: 1fr; }
}

/* ---------- contact ---------- */
.contact { text-align: center; }
.contact__inner { max-width: 680px; margin-inline: auto; }
.contact__title { font-family: var(--font-display); font-weight: 700; font-size: clamp(2.2rem, 5.5vw, 3.8rem); letter-spacing: -0.03em; line-height: 1.02; margin: 0.6rem 0 1rem; }
.contact__lead { color: var(--muted); font-size: 1.1rem; }
.contact__actions { margin: 2rem 0 1.4rem; }
.contact__actions .btn { font-family: var(--font-mono); }
.contact__socials { display: flex; justify-content: center; gap: 1.8rem; }
.contact__socials a { font-family: var(--font-mono); font-size: 0.9rem; color: var(--muted); position: relative; transition: color 0.25s; }
.contact__socials a:hover { color: var(--green); }

/* ---------- footer ---------- */
.footer { border-top: 1px solid var(--border); padding: 2.2rem 0; }
.footer__inner { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; }
.footer__logo { font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; }
.footer p { color: var(--faint); font-size: 0.85rem; }

/* ---------- reveal animation ---------- */
[data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
[data-reveal].is-visible { opacity: 1; transform: none; }

/* ---------- keyframes ---------- */
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.35; } }
@keyframes blink { 0%,100% { opacity: 1; } 50% { opacity: 0; } }
@keyframes scrolldot { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(14px); opacity: 0; } 100% { opacity: 0; } }

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .hero__inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .terminal { max-width: 480px; }
  .features__grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .step:nth-child(2)::after { display: none; }
  .about__grid { grid-template-columns: 1fr; gap: 2rem; }
  .about__card { max-width: 360px; }
}

@media (max-width: 720px) {
  .nav__links, .nav__cta { display: none; }
  .nav__burger { display: flex; }
  .nav__links.is-open {
    display: flex; flex-direction: column; gap: 1.4rem;
    position: absolute; top: 100%; left: 0; right: 0;
    padding: 1.8rem 2rem 2.2rem; background: rgba(7,9,15,0.97);
    backdrop-filter: blur(18px); border-bottom: 1px solid var(--border);
  }
  .stats__grid { grid-template-columns: repeat(2, 1fr); gap: 1.8rem 1rem; }
  .shots { grid-template-columns: 1fr; }
  .features__grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .step::after { display: none; }
  .hero__ticker { gap: 1rem; }
  .hero__ticker-div { display: none; }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
  [data-reveal] { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* hide custom cursor on touch / small screens */
@media (max-width: 900px), (hover: none) {
  .crosshair { display: none; }
  body.cursor-ready, body.cursor-ready a, body.cursor-ready button { cursor: auto; }
}
