/* ============================================================
   CloudSniper — shared design system (monochrome)
   ============================================================ */
:root {
  --bg: #050505;
  --bg-soft: #0c0c0d;
  --panel: #101012;
  --line: rgba(255, 255, 255, 0.1);
  --line-strong: rgba(255, 255, 255, 0.22);
  --fg: #f4f4f5;
  --muted: #8a8a90;
  --muted-dim: #5a5a60;
  --white: #ffffff;
  --radius: 16px;
  --maxw: 1180px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --banner-h: 0px;
}

html.has-os-banner {
  --banner-h: 42px;
}

body {
  padding-top: var(--banner-h);
}

/* Windows-only notice banner */
.os-banner {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--banner-h);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 16px;
  background: #fff;
  color: #000;
  font-family: "Space Grotesk", sans-serif;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
  border-bottom: 1px solid rgba(0, 0, 0, 0.15);
}

.os-banner svg {
  flex: none;
}

@media (max-width: 480px) {
  html.has-os-banner {
    --banner-h: 54px;
  }
  .os-banner {
    font-size: 11px;
    letter-spacing: 0.05em;
    line-height: 1.25;
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family:
    "Inter",
    system-ui,
    -apple-system,
    sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  font-family: "Space Grotesk", sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--line-strong);
}

.muted {
  color: var(--muted);
}

/* ---------- floating clouds background ---------- */
.clouds {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.clouds::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    130% 120% at 50% -10%,
    transparent 35%,
    rgba(0, 0, 0, 0.6) 100%
  );
}

.cloud {
  position: absolute;
  opacity: 0.5;
  will-change: transform;
  animation: drift linear infinite;
}

.cloud svg {
  display: block;
}

.cloud--ghost {
  opacity: 0.06;
}

@keyframes drift {
  from {
    transform: translateX(-40vw);
  }
  to {
    transform: translateX(140vw);
  }
}

@keyframes bob {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-14px);
  }
}

/* ---------- header ---------- */
header {
  position: fixed;
  top: var(--banner-h);
  left: 0;
  right: 0;
  z-index: 50;
  transition:
    background 0.4s var(--ease),
    border-color 0.4s var(--ease),
    backdrop-filter 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}

header.solid,
header.scrolled {
  background: rgba(5, 5, 5, 0.72);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  align-items: center;
  gap: 26px;
  height: 76px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 19px;
  letter-spacing: -0.02em;
}

.brand .logo-mark {
  width: 34px;
  height: 34px;
  flex: none;
}

.brand .logo-mark svg {
  width: 100%;
  height: 100%;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-left: auto;
  list-style: none;
  padding: 0;
  margin-top: 0;
  margin-bottom: 0;
}

.nav-links a {
  font-size: 14.5px;
  color: var(--muted);
  transition: color 0.2s var(--ease);
  position: relative;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 1px;
  background: var(--white);
  transition: width 0.25s var(--ease);
}

.nav-links a:hover {
  color: var(--fg);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-left: 8px;
}

.menu-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  border-radius: 10px;
  width: 42px;
  height: 42px;
  color: var(--fg);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

/* ---------- language switch ---------- */
.lang {
  position: relative;
}

.lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 12px;
  color: var(--fg);
  font-family: "Space Grotesk", sans-serif;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.2s var(--ease);
}

.lang-btn:hover {
  border-color: var(--line-strong);
}

.lang-btn .chev {
  transition: transform 0.25s var(--ease);
}

.lang.open .lang-btn .chev {
  transform: rotate(180deg);
}

.lang-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 150px;
  background: var(--bg-soft);
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  padding: 6px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition:
    opacity 0.2s var(--ease),
    transform 0.2s var(--ease),
    visibility 0.2s var(--ease);
  z-index: 60;
}

.lang.open .lang-menu {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.lang-menu button {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  background: none;
  border: none;
  color: var(--muted);
  font-family: inherit;
  font-size: 14px;
  text-align: left;
  padding: 9px 11px;
  border-radius: 8px;
  cursor: pointer;
  transition:
    background 0.15s var(--ease),
    color 0.15s var(--ease);
}

.lang-menu button:hover,
.lang-menu button.active {
  background: rgba(255, 255, 255, 0.06);
  color: var(--fg);
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 600;
  font-size: 14.5px;
  letter-spacing: -0.01em;
  padding: 12px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition:
    transform 0.18s var(--ease),
    background 0.25s var(--ease),
    color 0.25s var(--ease),
    border-color 0.25s var(--ease);
  white-space: nowrap;
}

.btn-primary {
  background: var(--white);
  color: #000;
}

.btn-primary:hover {
  transform: translateY(-2px);
  background: #e6e6e6;
}

.btn-ghost {
  background: transparent;
  color: var(--fg);
  border-color: var(--line-strong);
}

.btn-ghost:hover {
  border-color: var(--white);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 15px 30px;
  font-size: 16px;
}

.btn-block {
  width: 100%;
}

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

/* ---------- layout primitives ---------- */
main {
  position: relative;
  z-index: 1;
}

section {
  position: relative;
}

.section-pad {
  padding: 110px 0;
}

.section-head {
  max-width: 640px;
  margin: 0 auto 64px;
  text-align: center;
}

.section-head h2 {
  font-size: clamp(30px, 4vw, 46px);
  margin-top: 18px;
}

.section-head p {
  color: var(--muted);
  margin-top: 16px;
  font-size: 17px;
}

/* ---------- hero ---------- */
.hero {
  padding: 190px 0 120px;
  text-align: center;
}

.hero .pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 16px 7px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 13px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.02);
  margin-bottom: 30px;
}

.hero .pill .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.5);
  }
  70% {
    box-shadow: 0 0 0 9px rgba(255, 255, 255, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
  }
}

.hero h1 {
  font-size: clamp(40px, 6.5vw, 76px);
  max-width: 15ch;
  margin: 0 auto;
}

.hero h1 .stroke {
  -webkit-text-stroke: 1.4px rgba(255, 255, 255, 0.85);
  color: transparent;
}

.hero p {
  max-width: 600px;
  margin: 26px auto 0;
  color: var(--muted);
  font-size: 18px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  margin-top: 38px;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 56px;
  margin-top: 76px;
  flex-wrap: wrap;
}

.hero-stats .stat .n {
  font-family: "Space Grotesk", sans-serif;
  font-size: 34px;
  font-weight: 600;
}

.hero-stats .stat .l {
  font-size: 13px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-top: 4px;
}

/* ---------- how it works ---------- */
.how-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

.nft-frame {
  position: relative;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--panel);
  padding: 16px;
  animation: bob 7s ease-in-out infinite;
}

.nft-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 12px;
  overflow: hidden;
  background: #0a0a0c;
  filter: grayscale(1) contrast(1.05);
}

.nft-stage img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  transform: scale(1.05);
  transition:
    opacity 0.8s var(--ease),
    transform 0.8s var(--ease);
}

.nft-stage img.active {
  opacity: 1;
  transform: scale(1);
}

.nft-tags {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  justify-content: space-between;
  padding: 14px;
}

.tag {
  font-size: 12px;
  font-weight: 500;
  padding: 6px 11px;
  border-radius: 999px;
  backdrop-filter: blur(6px);
}

.tag-dark {
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  border: 1px solid var(--line);
}

.tag-light {
  background: #fff;
  color: #000;
}

.steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.step {
  display: flex;
  gap: 20px;
  padding: 22px;
  border-radius: 14px;
  border: 1px solid transparent;
  transition:
    border-color 0.3s var(--ease),
    background 0.3s var(--ease);
}

.step:hover {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.02);
}

.step .num {
  font-family: "Space Grotesk", sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #000;
  background: #fff;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
}

.step h3 {
  font-size: 19px;
  margin-bottom: 7px;
}

.step p {
  color: var(--muted);
  font-size: 15px;
  margin: 0;
}

/* ---------- features ---------- */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.feature {
  background: var(--bg);
  padding: 38px 32px;
  transition: background 0.3s var(--ease);
}

.feature:hover {
  background: var(--bg-soft);
}

.feature .ic {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  color: var(--white);
}

.feature h4 {
  font-size: 19px;
  margin-bottom: 10px;
}

.feature p {
  color: var(--muted);
  font-size: 15px;
  margin: 0;
}

/* ---------- banner ---------- */
.banner {
  border: 1px solid var(--line);
  border-radius: 24px;
  background: linear-gradient(180deg, #131315, #0a0a0b);
  padding: 72px 32px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.banner h2 {
  font-size: clamp(28px, 4vw, 44px);
}

.banner p {
  color: var(--muted);
  max-width: 540px;
  margin: 16px auto 32px;
  font-size: 17px;
}

/* ---------- pricing ---------- */
.pricing {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.plan {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 30px;
  background: var(--bg-soft);
  display: flex;
  flex-direction: column;
  transition:
    transform 0.3s var(--ease),
    border-color 0.3s var(--ease);
}

.plan:hover {
  transform: translateY(-6px);
  border-color: var(--line-strong);
}

.plan.featured {
  background: #fff;
  color: #000;
  border-color: #fff;
}

.plan.featured .per {
  color: #555;
}

.plan .badge {
  align-self: flex-start;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 5px 11px;
  border-radius: 999px;
  background: #000;
  color: #fff;
  margin-bottom: 18px;
}

.plan h5 {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: inherit;
}

.plan .price {
  font-family: "Space Grotesk", sans-serif;
  font-size: 46px;
  font-weight: 600;
  margin: 14px 0 24px;
}

.plan .price .per {
  font-size: 15px;
  font-weight: 400;
  color: var(--muted);
}

.plan ul {
  list-style: none;
  padding: 0;
  margin: 26px 0 0;
  display: flex;
  flex-direction: column;
  gap: 13px;
  font-size: 15px;
}

.plan li {
  display: flex;
  gap: 11px;
  align-items: flex-start;
}

.plan li svg {
  flex: none;
  margin-top: 3px;
}

.plan.featured .btn-primary {
  background: #000;
  color: #fff;
}

.plan.featured .btn-primary:hover {
  background: #1a1a1a;
}

/* ---------- faq ---------- */
.faq {
  max-width: 800px;
  margin: 0 auto;
}

.acc {
  border-bottom: 1px solid var(--line);
}

.acc-q {
  width: 100%;
  background: none;
  border: none;
  color: var(--fg);
  font-family: "Space Grotesk", sans-serif;
  font-size: 18px;
  font-weight: 500;
  text-align: left;
  padding: 26px 0;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.acc-q .pm {
  flex: none;
  width: 24px;
  height: 24px;
  position: relative;
  transition: transform 0.3s var(--ease);
}

.acc-q .pm::before,
.acc-q .pm::after {
  content: "";
  position: absolute;
  background: var(--muted);
  transition: opacity 0.3s var(--ease);
}

.acc-q .pm::before {
  top: 11px;
  left: 4px;
  width: 16px;
  height: 2px;
}

.acc-q .pm::after {
  left: 11px;
  top: 4px;
  width: 2px;
  height: 16px;
}

.acc.open .acc-q .pm::after {
  opacity: 0;
}

.acc-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease);
}

.acc-a p {
  color: var(--muted);
  margin: 0 0 26px;
  font-size: 15.5px;
  max-width: 90%;
}

/* ---------- footer ---------- */
footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--line);
  padding: 70px 0 40px;
  background: var(--bg);
}

.foot-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
}

.foot-grid h6 {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-dim);
  margin-bottom: 18px;
}

.foot-grid ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.foot-grid a {
  color: var(--muted);
  font-size: 15px;
  transition: color 0.2s var(--ease);
}

.foot-grid a:hover {
  color: var(--fg);
}

.foot-about p {
  color: var(--muted);
  font-size: 15px;
  margin: 16px 0 0;
  max-width: 38ch;
}

.foot-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 56px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
  flex-wrap: wrap;
  gap: 12px;
}

.foot-bottom p {
  color: var(--muted-dim);
  font-size: 13.5px;
  margin: 0;
}

/* ---------- 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;
}

/* ---------- demo modal ---------- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.3s var(--ease),
    visibility 0.3s var(--ease);
}

.modal.open {
  opacity: 1;
  visibility: visible;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(8px);
}

.modal-card {
  position: relative;
  width: 100%;
  max-width: 880px;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  background: var(--bg-soft);
  border: 1px solid var(--line-strong);
  border-radius: 22px;
  overflow: hidden;
  transform: translateY(18px) scale(0.98);
  transition: transform 0.4s var(--ease);
}

.modal.open .modal-card {
  transform: none;
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 3;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.4);
  color: var(--fg);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    background 0.2s var(--ease),
    border-color 0.2s var(--ease);
}

.modal-close:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--white);
}

.modal-demo {
  position: relative;
  background: radial-gradient(120% 120% at 30% 0%, #16161a, #0a0a0c);
  padding: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 340px;
}

.modal-demo > img.demo-gif {
  width: 100%;
  border-radius: 14px;
  display: none;
}

.demo-card {
  position: relative;
  width: 100%;
  max-width: 280px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #0d0d10;
  overflow: hidden;
}

.demo-thumb {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  filter: grayscale(1) contrast(1.05);
}

.demo-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.demo-scan {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #fff, transparent);
  box-shadow: 0 0 14px 2px rgba(255, 255, 255, 0.6);
  animation: scan 3.6s var(--ease) infinite;
}

@keyframes scan {
  0% {
    top: 0;
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  45% {
    top: 100%;
    opacity: 1;
  }
  50%,
  100% {
    top: 100%;
    opacity: 0;
  }
}

.demo-cross {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  animation: crossIn 3.6s var(--ease) infinite;
}

.demo-cross svg {
  width: 84px;
  height: 84px;
  color: #fff;
}

@keyframes crossIn {
  0%,
  50% {
    opacity: 0;
    transform: scale(1.3);
  }
  58% {
    opacity: 1;
    transform: scale(1);
  }
  92% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

.demo-stamp {
  position: absolute;
  top: 12px;
  left: 12px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 999px;
  background: #fff;
  color: #000;
  opacity: 0;
  animation: stampIn 3.6s var(--ease) infinite;
}

@keyframes stampIn {
  0%,
  55% {
    opacity: 0;
    transform: translateY(-6px);
  }
  62%,
  92% {
    opacity: 1;
    transform: none;
  }
  100% {
    opacity: 0;
  }
}

.demo-meta {
  padding: 14px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.demo-meta .price {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 600;
  font-size: 18px;
}

.demo-meta .floor {
  font-size: 12px;
  color: var(--muted);
}

.demo-badge {
  font-size: 11px;
  font-weight: 600;
  padding: 4px 9px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  color: var(--fg);
}

.modal-body {
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.modal-body .eyebrow {
  margin-bottom: 14px;
}

.modal-body h3 {
  font-size: 26px;
  margin-bottom: 10px;
}

.modal-body > p {
  color: var(--muted);
  font-size: 15px;
  margin: 0 0 22px;
}

.modal-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.modal-note {
  font-size: 12.5px;
  color: var(--muted-dim);
  margin: 16px 0 0;
  text-align: center;
}

/* ---------- cta setup panel ---------- */
.cta-panel {
  position: relative;
  width: 100%;
  max-width: 460px;
  background: var(--bg-soft);
  border: 1px solid var(--line-strong);
  border-radius: 20px;
  padding: 2rem;
  color: var(--fg);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.55);
  transform: translateY(18px) scale(0.98);
  transition: transform 0.4s var(--ease);
}

.modal.open .cta-panel {
  transform: none;
}

.cta-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.cta-head h2 {
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0;
}

.cta-steps {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.cta-step {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.cta-step-num {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--white);
  color: #000;
  font-family: "Space Grotesk", sans-serif;
  font-size: 13px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

.cta-kbd {
  display: inline-flex;
  align-items: center;
  gap: 0;
  padding: 0.3rem 0.85rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  font-family: "Space Grotesk", monospace;
  font-size: 14px;
  font-weight: 600;
  color: var(--white);
  letter-spacing: 0.03em;
  margin-bottom: 0.4rem;
}

.cta-step-desc {
  font-size: 13px;
  color: var(--muted);
  margin: 0;
  line-height: 1.5;
}

.cta-img {
  width: 100%;
  border-radius: 10px;
  display: block;
  margin-top: 1.5rem;
  border: 1px solid var(--line);
  filter: grayscale(1) contrast(1.03);
}

/* ---------- forms (auth + sniper) ---------- */
.field {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 16px;
}

.field label {
  font-size: 13px;
  color: var(--muted);
  font-weight: 500;
}

.field input,
.field select {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 11px;
  padding: 13px 15px;
  color: var(--fg);
  font-family: inherit;
  font-size: 15px;
  transition: border-color 0.2s var(--ease);
}

.field input::placeholder {
  color: var(--muted-dim);
}

.field input:focus,
.field select:focus {
  outline: none;
  border-color: var(--white);
}

.form-error {
  color: #ff6b6b;
  font-size: 13.5px;
  margin: 0 0 14px;
  min-height: 1px;
}

/* ---------- auth page ---------- */
.auth-wrap {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 110px 24px 60px;
}

.auth-card {
  width: 100%;
  max-width: 440px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 38px 36px;
}

.auth-card .brand {
  justify-content: center;
  margin-bottom: 26px;
}

.auth-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 4px;
  margin-bottom: 28px;
}

.auth-tabs button {
  background: none;
  border: none;
  color: var(--muted);
  font-family: "Space Grotesk", sans-serif;
  font-weight: 600;
  font-size: 14px;
  padding: 11px;
  border-radius: 9px;
  cursor: pointer;
  transition:
    background 0.2s var(--ease),
    color 0.2s var(--ease);
}

.auth-tabs button.active {
  background: var(--white);
  color: #000;
}

.auth-pane {
  display: none;
}

.auth-pane.active {
  display: block;
}

.auth-pane h1 {
  font-size: 24px;
  margin-bottom: 8px;
}

.auth-pane > p.sub {
  color: var(--muted);
  font-size: 14.5px;
  margin: 0 0 24px;
}

.auth-foot {
  text-align: center;
  font-size: 13.5px;
  color: var(--muted-dim);
  margin-top: 22px;
}

.auth-foot a {
  color: var(--fg);
}

/* register benefit points */
.reg-points {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 4px 0 26px;
}

.reg-point {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 14.5px;
  color: var(--fg);
}

.reg-point svg {
  flex: none;
  color: var(--muted);
}

/* account-number reveal after registration */
.account-reveal {
  text-align: center;
}

.account-reveal .check {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: var(--white);
}

.account-number-wrap {
  position: relative;
  margin: 18px 0;
  cursor: pointer;
}

.account-number {
  font-family: "Space Grotesk", sans-serif;
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 0.08em;
  background: var(--bg);
  border: 1px dashed var(--line-strong);
  border-radius: 12px;
  padding: 18px;
  user-select: all;
  filter: blur(7px);
  transition: filter 0.3s var(--ease);
}

.account-number-wrap:hover .account-number,
.account-number-wrap.revealed .account-number {
  filter: blur(0);
}

.reveal-hint {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Inter", sans-serif;
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--muted);
  pointer-events: none;
  transition: opacity 0.3s var(--ease);
}

.account-number-wrap:hover .reveal-hint,
.account-number-wrap.revealed .reveal-hint {
  opacity: 0;
}

.copy-btn {
  background: none;
  border: 1px solid var(--line);
  color: var(--muted);
  border-radius: 8px;
  font-size: 12.5px;
  padding: 7px 12px;
  cursor: pointer;
  transition:
    color 0.2s,
    border-color 0.2s;
}

.copy-btn:hover {
  color: var(--fg);
  border-color: var(--line-strong);
}

/* ---------- dashboard shell (sidebar) ---------- */
.dash-layout {
  position: relative;
  z-index: 1;
  min-height: 100vh;
}

.sidebar {
  position: fixed;
  top: var(--banner-h);
  left: 0;
  bottom: 0;
  width: 252px;
  background: rgba(8, 8, 9, 0.9);
  backdrop-filter: blur(14px);
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  padding: 24px 18px;
  z-index: 40;
}

.sidebar .brand {
  padding: 4px 8px 22px;
}

.side-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.side-link {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  background: none;
  border: none;
  color: var(--muted);
  font-family: "Space Grotesk", sans-serif;
  font-size: 14.5px;
  font-weight: 500;
  text-align: left;
  padding: 11px 12px;
  border-radius: 10px;
  cursor: pointer;
  transition:
    background 0.18s var(--ease),
    color 0.18s var(--ease);
}

.side-link svg {
  flex: none;
}

.side-link:hover {
  color: var(--fg);
  background: rgba(255, 255, 255, 0.04);
}

.side-link.active {
  color: #000;
  background: var(--white);
}

.side-foot {
  margin-top: auto;
  padding-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.side-foot .lang {
  align-self: stretch;
}

.side-foot .lang-btn {
  width: 100%;
  justify-content: flex-start;
}

.side-profile {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 12px;
}

.side-profile .who {
  min-width: 0;
  flex: 1;
}

.side-profile .uname {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 600;
  font-size: 14px;
  color: var(--fg);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.side-profile .anum {
  font-size: 11.5px;
  color: var(--muted-dim);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.icon-btn {
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  border: 1px solid var(--line);
  background: none;
  color: var(--muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    color 0.18s var(--ease),
    border-color 0.18s var(--ease),
    background 0.18s var(--ease);
}

.icon-btn:hover {
  color: var(--fg);
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.04);
}

/* avatar */
.avatar {
  flex: none;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  overflow: hidden;
  background: linear-gradient(135deg, #2a2a30, #131316);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 600;
  font-size: 14px;
  color: var(--fg);
  text-transform: uppercase;
}

.avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.avatar.xl {
  width: 84px;
  height: 84px;
  font-size: 30px;
}

/* content area */
.dash-content {
  margin-left: 252px;
  padding: 42px 36px 90px;
  position: relative;
  z-index: 1;
}

.view {
  display: none;
  max-width: 1120px;
  margin: 0 auto;
}

.view.active {
  display: block;
  animation: viewIn 0.4s var(--ease);
}

@keyframes viewIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* mobile top bar + bottom tabbar (hidden on desktop) */
.dash-mtop {
  display: none;
}

.mobile-tabbar {
  display: none;
}

.dash-head {
  margin-bottom: 32px;
}

.dash-head h1 {
  font-size: clamp(26px, 3.5vw, 36px);
}

.dash-head p {
  color: var(--muted);
  margin: 8px 0 0;
}

.dash-grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 24px;
  align-items: start;
}

.stat-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}

.stat-card {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
}

.stat-card .label {
  font-size: 12.5px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  display: flex;
  align-items: center;
  gap: 8px;
}

.stat-card .value {
  font-family: "Space Grotesk", sans-serif;
  font-size: 32px;
  font-weight: 600;
  margin-top: 12px;
}

.stat-card .delta {
  font-size: 12.5px;
  color: var(--muted-dim);
  margin-top: 4px;
}

.panel {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}

.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.panel-head h3 {
  font-size: 17px;
}

.panel-head .tabs {
  display: flex;
  gap: 6px;
}

.panel-head .tabs span {
  font-size: 12px;
  color: var(--muted-dim);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px 10px;
}

.panel-head .tabs span.on {
  color: var(--fg);
  border-color: var(--line-strong);
}

.chart-box {
  position: relative;
  height: 240px;
}

.chart-empty {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: var(--muted-dim);
  pointer-events: none;
}

/* side: empty sniper state */
.side-card {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  text-align: center;
}

.side-card .ic {
  width: 54px;
  height: 54px;
  margin: 0 auto 16px;
  border-radius: 14px;
  border: 1px dashed var(--line-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
}

.side-card h3 {
  font-size: 18px;
  margin-bottom: 8px;
}

.side-card p {
  color: var(--muted);
  font-size: 14px;
  margin: 0 0 20px;
}

.sniper-list {
  list-style: none;
  padding: 0;
  margin: 0 0 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: left;
}

.sniper-item {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.sniper-item .meta {
  font-size: 13px;
  color: var(--muted);
}

.sniper-item .name {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 600;
  font-size: 15px;
  color: var(--fg);
}

.sniper-item .status {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #4ade80;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.sniper-item .status .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.6);
  animation: pulse-g 2s infinite;
}

@keyframes pulse-g {
  0% {
    box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.5);
  }
  70% {
    box-shadow: 0 0 0 7px rgba(74, 222, 128, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(74, 222, 128, 0);
  }
}

.sniper-item .right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  flex: none;
}

.sniper-actions {
  display: flex;
  gap: 6px;
}

.sniper-btn {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: none;
  color: var(--muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    color 0.18s var(--ease),
    border-color 0.18s var(--ease),
    background 0.18s var(--ease);
}

.sniper-btn:hover {
  color: var(--fg);
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.04);
}

.sniper-item.paused .status {
  color: var(--muted-dim);
}

.sniper-item.paused .status .dot {
  background: var(--muted-dim);
  animation: none;
  box-shadow: none;
}

.sniper-item.draft {
  opacity: 0.55;
  border-style: dashed;
}

.draft-note {
  font-size: 12px;
  color: var(--muted-dim);
  margin-top: 5px;
  font-style: italic;
}

.status-draft {
  color: var(--muted-dim);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* clickable chart tabs */
.panel-head .tabs span {
  cursor: pointer;
  user-select: none;
  transition:
    color 0.18s var(--ease),
    border-color 0.18s var(--ease);
}

.panel-head .tabs span:hover {
  color: var(--fg);
}

/* count-up pop when a stat changes */
.stat-card .value.bump {
  animation: bump 0.4s var(--ease);
}

@keyframes bump {
  0% {
    transform: scale(1);
  }
  40% {
    transform: scale(1.14);
  }
  100% {
    transform: scale(1);
  }
}

/* ---------- settings ---------- */
.settings-stack {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 720px;
}

.card {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 28px;
}

.card > h3 {
  font-size: 17px;
  margin-bottom: 4px;
}

.card > .card-sub {
  color: var(--muted);
  font-size: 13.5px;
  margin: 0 0 20px;
}

.avatar-row {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 22px;
}

.avatar-row .meta {
  font-size: 13px;
  color: var(--muted);
}

.avatar-actions {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}

.btn-sm {
  padding: 8px 14px;
  font-size: 13px;
}

.row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
}

.row:first-of-type {
  border-top: none;
}

.row .row-label {
  font-size: 14.5px;
  color: var(--fg);
  font-weight: 500;
}

.row .row-hint {
  font-size: 12.5px;
  color: var(--muted);
  margin-top: 3px;
}

.row .row-value {
  font-family: "Space Grotesk", sans-serif;
  font-size: 14px;
  color: var(--muted);
}

/* toggle switch */
.switch {
  position: relative;
  width: 44px;
  height: 26px;
  flex: none;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.switch .slider {
  position: absolute;
  inset: 0;
  background: var(--line-strong);
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.2s var(--ease);
}

.switch .slider::before {
  content: "";
  position: absolute;
  width: 20px;
  height: 20px;
  left: 3px;
  top: 3px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.2s var(--ease);
}

.switch input:checked + .slider {
  background: #fff;
}

.switch input:checked + .slider::before {
  transform: translateX(18px);
  background: #000;
}

.danger {
  border-color: rgba(255, 107, 107, 0.3);
}

.danger > h3 {
  color: #ff6b6b;
}

.btn-danger {
  background: transparent;
  color: #ff6b6b;
  border-color: rgba(255, 107, 107, 0.45);
}

.btn-danger:hover {
  background: rgba(255, 107, 107, 0.1);
  border-color: #ff6b6b;
  transform: translateY(-2px);
}

.save-note {
  font-size: 13px;
  color: #4ade80;
  opacity: 0;
  transition: opacity 0.2s var(--ease);
}

.save-note.show {
  opacity: 1;
}

/* activity empty */
.activity-empty {
  text-align: center;
  padding: 70px 24px;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
}

.activity-empty .ic {
  width: 56px;
  height: 56px;
  margin: 0 auto 18px;
  border-radius: 14px;
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
}

.activity-empty h3 {
  font-size: 18px;
  margin-bottom: 8px;
}

.activity-empty p {
  color: var(--muted);
  font-size: 14px;
  max-width: 360px;
  margin: 0 auto;
}

/* ---------- responsive ---------- */
@media (max-width: 1024px) {
  .dash-grid {
    grid-template-columns: 1fr;
  }
}

/* dashboard → mobile: hide sidebar, show top bar + bottom tabbar */
@media (max-width: 900px) {
  .sidebar {
    display: none;
  }
  .dash-content {
    margin-left: 0;
    padding: 24px 18px calc(80px + env(safe-area-inset-bottom, 0px));
  }
  .dash-mtop {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: var(--banner-h);
    z-index: 30;
    padding: 14px 18px;
    background: rgba(8, 8, 9, 0.92);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line);
  }
  .dash-mtop .right {
    display: flex;
    align-items: center;
    gap: 10px;
  }
  .mobile-tabbar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 45;
    background: rgba(8, 8, 9, 0.95);
    backdrop-filter: blur(14px);
    border-top: 1px solid var(--line);
    padding-bottom: env(safe-area-inset-bottom, 0px);
  }
  .tabbar-link {
    background: none;
    border: none;
    color: var(--muted);
    font-family: "Inter", sans-serif;
    font-size: 11px;
    padding: 10px 4px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    cursor: pointer;
    transition: color 0.18s var(--ease);
  }
  .tabbar-link.active {
    color: var(--fg);
  }
}

@media (max-width: 940px) {
  .how-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .features {
    grid-template-columns: repeat(2, 1fr);
  }
  .pricing {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin: 0 auto;
  }
  .foot-grid {
    grid-template-columns: 1fr 1fr;
  }
  .stat-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 720px) {
  .modal-card {
    grid-template-columns: 1fr;
    max-width: 420px;
  }
  .modal-demo {
    min-height: 240px;
  }
}

@media (max-width: 680px) {
  .nav-links {
    display: none;
  }
  .menu-toggle {
    display: flex;
  }
  .nav-links.open {
    display: flex;
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    flex-direction: column;
    background: rgba(5, 5, 5, 0.96);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line);
    padding: 22px 24px 28px;
    gap: 20px;
    margin: 0;
  }
  .section-pad {
    padding: 80px 0;
  }
  .hero {
    padding: 150px 0 90px;
  }
  .features {
    grid-template-columns: 1fr;
  }
  .foot-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .hero-stats {
    gap: 32px;
  }
  .stat-cards {
    grid-template-columns: 1fr 1fr;
  }

  /* keep the header from crowding: move login + CTA into the menu */
  .nav-right .nav-link-login,
  .nav-right > .btn {
    display: none;
  }
  .nav-links.open .mobile-only {
    display: block;
  }

  /* dashboard topbar */
  .dash-topbar .nav {
    gap: 12px;
  }
  .acct-chip {
    display: none;
  }
  .dash-topbar .lang-label {
    display: none;
  }
}

.mobile-only {
  display: none;
}

/* small phones: keep everything centred and breathing, no overflow */
@media (max-width: 560px) {
  .container {
    padding: 0 18px;
  }
  .auth-wrap {
    padding: 90px 16px 48px;
  }
  .auth-card {
    padding: 28px 22px;
  }
  .card {
    padding: 22px 20px;
  }
  .modal {
    padding: 14px;
  }
  .banner {
    padding: 48px 22px;
  }
  .hero-stats {
    gap: 26px;
  }
  .hero-stats .stat .n {
    font-size: 28px;
  }
  .dash-head h1 {
    font-size: 24px;
  }
  .row {
    flex-wrap: wrap;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  .cloud,
  .nft-frame {
    animation: none !important;
  }
}
