:root {
  --bg: #02070a;
  --bg-2: #050f14;
  --panel: rgba(5, 17, 23, .78);
  --panel-2: rgba(7, 25, 33, .9);
  --ice: #dcf7ff;
  --cyan: #96eaff;
  --cyan-2: #47cdef;
  --cyan-soft: rgba(150, 234, 255, .18);
  --line: rgba(150, 234, 255, .24);
  --muted: #7fa0aa;
  --black: #010304;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  color: var(--ice);
  background:
    radial-gradient(circle at 50% 7%, rgba(67, 182, 211, .11), transparent 28%),
    linear-gradient(180deg, #02080b 0%, #010406 55%, #02080b 100%);
  font-family: "Courier New", Courier, monospace;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -3;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(111, 226, 255, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(111, 226, 255, .035) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, #000, transparent 88%);
}

#network {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  opacity: .48;
  pointer-events: none;
}

.scanlines {
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
  opacity: .085;
  background: repeating-linear-gradient(to bottom, transparent 0 3px, rgba(210, 248, 255, .15) 4px);
  mix-blend-mode: screen;
}

::selection { background: var(--cyan); color: var(--black); }
a { color: inherit; }
img { display: block; max-width: 100%; }
button, a { -webkit-tap-highlight-color: transparent; }

.shell {
  width: min(1220px, calc(100% - 44px));
  margin-inline: auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 10px max(22px, calc((100vw - 1220px) / 2));
  border-bottom: 1px solid var(--line);
  background: rgba(2, 7, 10, .82);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ice);
  text-decoration: none;
  font-family: Arial, Helvetica, sans-serif;
  font-size: .84rem;
  font-weight: 900;
  letter-spacing: .08em;
}

.brand-dot,
.eyebrow span,
.image-status span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 4px rgba(150,234,255,.08), 0 0 18px var(--cyan);
  animation: pulse 1.6s ease-in-out infinite;
}

.nav { display: flex; align-items: center; gap: 20px; }
.nav a {
  text-decoration: none;
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .08em;
  color: #a8c4cc;
  transition: color .18s ease;
}
.nav a:hover { color: var(--cyan); }
.nav .top-buy {
  padding: 10px 15px;
  color: #001116;
  background: var(--cyan);
  border: 1px solid var(--ice);
  box-shadow: 0 0 22px rgba(150,234,255,.22);
}

.hero {
  min-height: calc(100vh - 70px);
  display: grid;
  grid-template-columns: 1fr .86fr;
  align-items: center;
  gap: clamp(44px, 7vw, 92px);
  padding-block: clamp(58px, 8vw, 112px);
}

.eyebrow,
.section-label {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  color: var(--cyan);
  font-size: .68rem;
  font-weight: 900;
  letter-spacing: .15em;
  text-transform: uppercase;
}

h1,
h2 {
  margin: 0;
  font-family: Impact, "Arial Black", Arial, sans-serif;
  text-transform: uppercase;
}

h1 {
  margin-top: 20px;
  font-size: clamp(5.2rem, 10.5vw, 9.7rem);
  line-height: .78;
  letter-spacing: -.045em;
  color: #ecfbff;
  text-shadow: 0 0 34px rgba(150,234,255,.12);
}

h1 strong {
  color: transparent;
  -webkit-text-stroke: 2px var(--cyan);
  text-shadow: 0 0 24px rgba(150,234,255,.22);
}

.lead {
  max-width: 680px;
  margin: 31px 0 10px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(1.4rem, 2.5vw, 2.1rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -.035em;
}

.sublead {
  max-width: 620px;
  margin: 0;
  color: var(--muted);
  font-family: Arial, Helvetica, sans-serif;
  font-size: .98rem;
  line-height: 1.6;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
  margin-top: 29px;
}

.btn {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 17px;
  border: 1px solid rgba(150,234,255,.45);
  background: rgba(5, 20, 26, .72);
  color: var(--ice);
  text-decoration: none;
  font-size: .71rem;
  font-weight: 900;
  letter-spacing: .06em;
  transition: transform .16s ease, background .16s ease, box-shadow .16s ease;
}
.btn:hover:not(.is-placeholder) {
  transform: translateY(-3px);
  background: rgba(10, 39, 50, .95);
  box-shadow: 0 0 24px rgba(150,234,255,.15);
}
.btn-main {
  background: var(--cyan);
  color: #001015;
  border-color: var(--ice);
  box-shadow: 0 0 28px rgba(150,234,255,.18);
}
.btn-main:hover:not(.is-placeholder) { background: var(--ice); }

.is-placeholder {
  opacity: .42;
  cursor: default;
}

.ca-panel {
  width: min(680px, 100%);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  margin-top: 24px;
  padding: 12px;
  border: 1px solid var(--line);
  background: rgba(1, 8, 11, .68);
  box-shadow: inset 0 0 28px rgba(150,234,255,.025);
}
.ca-copy { min-width: 0; }
.ca-copy span {
  display: block;
  margin-bottom: 5px;
  color: var(--muted);
  font-size: .56rem;
  font-weight: 900;
  letter-spacing: .13em;
}
.ca-copy code {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--cyan);
  font-size: .75rem;
}
.ca-panel button {
  min-height: 40px;
  padding: 8px 12px;
  border: 1px solid var(--cyan);
  background: transparent;
  color: var(--cyan);
  font: 900 .67rem/1 "Courier New", monospace;
  cursor: pointer;
}
.ca-panel button:hover { background: var(--cyan); color: #001015; }

.hero-visual { position: relative; }
.image-frame {
  position: relative;
  padding: 12px;
  border: 1px solid rgba(150,234,255,.42);
  background: rgba(2, 9, 12, .86);
  box-shadow: 0 0 70px rgba(106, 221, 255, .10), inset 0 0 38px rgba(106, 221, 255, .04);
}
.image-frame::before {
  content: "";
  position: absolute;
  inset: 12px;
  z-index: 2;
  pointer-events: none;
  border: 1px solid rgba(150,234,255,.08);
}
.image-frame img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  filter: contrast(1.04) brightness(.92);
}
.image-frame::after {
  content: "";
  position: absolute;
  inset: 12px;
  pointer-events: none;
  background: radial-gradient(circle at 50% 45%, transparent 20%, rgba(0, 9, 13, .05) 54%, rgba(0, 8, 12, .34) 100%);
}
.corner {
  position: absolute;
  z-index: 4;
  width: 24px;
  height: 24px;
  border-color: var(--cyan);
  filter: drop-shadow(0 0 6px rgba(150,234,255,.3));
}
.c1 { top: -1px; left: -1px; border-top: 2px solid; border-left: 2px solid; }
.c2 { top: -1px; right: -1px; border-top: 2px solid; border-right: 2px solid; }
.c3 { bottom: -1px; left: -1px; border-bottom: 2px solid; border-left: 2px solid; }
.c4 { bottom: -1px; right: -1px; border-bottom: 2px solid; border-right: 2px solid; }
.image-status {
  position: absolute;
  left: 25px;
  bottom: 25px;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px 10px;
  border: 1px solid rgba(150,234,255,.32);
  background: rgba(0, 7, 10, .78);
  color: var(--cyan);
  font-size: .6rem;
  font-weight: 900;
  letter-spacing: .12em;
}
.image-status span { width: 7px; height: 7px; }
.coords {
  margin-top: 10px;
  text-align: right;
  color: #52707a;
  font-size: .58rem;
  letter-spacing: .11em;
}

.ticker-strip {
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: rgba(7, 28, 37, .74);
}
.ticker-track {
  width: max-content;
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 13px 0;
  color: #b8f2ff;
  font-size: .68rem;
  font-weight: 900;
  letter-spacing: .11em;
  animation: crawl 20s linear infinite;
}
.ticker-track i { color: var(--cyan-2); font-style: normal; }
@keyframes crawl { to { transform: translateX(-50%); } }

.about,
.links {
  position: relative;
  display: grid;
  grid-template-columns: 80px 1fr .9fr;
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
  padding-block: clamp(90px, 10vw, 145px);
}
.section-index {
  align-self: start;
  color: rgba(150,234,255,.13);
  font-family: Impact, "Arial Black", sans-serif;
  font-size: 4.7rem;
  line-height: 1;
}
.about-copy h2,
.links-head h2,
.buy-inner h2 {
  margin: 14px 0 24px;
  font-size: clamp(3.4rem, 6.5vw, 6.6rem);
  line-height: .84;
  letter-spacing: -.035em;
}
.about-copy h2 span { color: var(--cyan); }
.about-copy p:not(.section-label) {
  max-width: 650px;
  color: #8ca7b0;
  font-family: Arial, Helvetica, sans-serif;
  font-size: .98rem;
  line-height: 1.7;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border: 1px solid var(--line);
  background: var(--panel);
}
.stats-grid div {
  min-height: 135px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 20px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.stats-grid div:nth-child(2n) { border-right: 0; }
.stats-grid div:nth-last-child(-n+2) { border-bottom: 0; }
.stats-grid span { color: var(--muted); font-size: .58rem; letter-spacing: .12em; }
.stats-grid strong { color: var(--cyan); font-size: clamp(.95rem, 2vw, 1.25rem); overflow-wrap: anywhere; }

.links { grid-template-columns: 80px 1fr; align-items: start; padding-top: 30px; }
.links-head { grid-column: 2; }
.link-grid {
  grid-column: 2;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.link-card {
  min-height: 178px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 22px;
  border: 1px solid var(--line);
  background: linear-gradient(145deg, rgba(7,25,33,.75), rgba(2,10,14,.75));
  text-decoration: none;
  transition: transform .16s ease, border-color .16s ease, background .16s ease;
}
.link-card:hover:not(.is-placeholder) {
  transform: translateY(-4px);
  border-color: var(--cyan);
  background: rgba(10, 42, 54, .78);
}
.link-card span { color: var(--muted); font-size: .57rem; letter-spacing: .14em; }
.link-card strong { color: var(--ice); font-family: Arial, Helvetica, sans-serif; font-size: clamp(1.25rem, 2.6vw, 2rem); }
.link-card em { color: var(--cyan); font-size: .68rem; font-style: normal; font-weight: 900; }

.buy-zone {
  position: relative;
  overflow: hidden;
  border-block: 1px solid var(--line);
  background:
    radial-gradient(circle at 78% 42%, rgba(76, 211, 241, .13), transparent 23%),
    #02090c;
}
.buy-zone::before {
  content: "BRAINSAHUR";
  position: absolute;
  left: -1vw;
  bottom: -4vw;
  color: rgba(150,234,255,.025);
  font-family: Impact, "Arial Black", sans-serif;
  font-size: 17vw;
  line-height: 1;
  white-space: nowrap;
  pointer-events: none;
}
.buy-inner {
  position: relative;
  z-index: 2;
  min-height: 450px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 60px;
  padding-block: 78px;
}
.buy-inner h2 { color: var(--ice); }
.buy-inner > div > p:last-child { color: var(--muted); font-family: Arial, Helvetica, sans-serif; }
.mega-buy {
  width: min(410px, 100%);
  min-height: 205px;
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto 1fr;
  align-items: end;
  gap: 5px 20px;
  padding: 28px;
  border: 1px solid var(--cyan);
  background: rgba(5, 30, 39, .74);
  box-shadow: 0 0 50px rgba(150,234,255,.09), inset 0 0 32px rgba(150,234,255,.04);
  text-decoration: none;
  transition: transform .18s ease, background .18s ease, box-shadow .18s ease;
}
.mega-buy:hover { transform: translateY(-5px); background: rgba(13, 50, 63, .9); box-shadow: 0 0 62px rgba(150,234,255,.16); }
.mega-buy span { grid-column: 1 / -1; align-self: start; color: var(--muted); font-size: .65rem; letter-spacing: .15em; }
.mega-buy strong { color: var(--cyan); font-family: Impact, "Arial Black", sans-serif; font-size: clamp(2rem, 4vw, 3.35rem); line-height: .95; }
.mega-buy em { align-self: end; color: var(--cyan); font-size: 2rem; font-style: normal; }

.footer {
  min-height: 102px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: #5f7a83;
  font-size: .6rem;
  font-weight: 900;
  letter-spacing: .11em;
}
.footer a { color: var(--cyan); text-decoration: none; font-family: Arial, Helvetica, sans-serif; font-size: .9rem; }

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.visible { opacity: 1; transform: none; }

@keyframes pulse {
  0%, 100% { opacity: .72; transform: scale(.88); }
  50% { opacity: 1; transform: scale(1.12); }
}

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-visual { width: min(650px, 100%); margin-inline: auto; }
  .about { grid-template-columns: 1fr; }
  .about .section-index { position: absolute; top: 75px; right: 0; }
  .stats-grid { width: min(620px, 100%); }
  .links { grid-template-columns: 1fr; }
  .links .section-index { display: none; }
  .links-head, .link-grid { grid-column: 1; }
  .buy-inner { grid-template-columns: 1fr; }
}

@media (max-width: 650px) {
  .shell { width: min(100% - 28px, 1220px); }
  .topbar { min-height: 64px; padding-inline: 14px; }
  .nav { gap: 11px; }
  .nav a[href="#about"] { display: none; }
  .nav a { font-size: .64rem; }
  .brand { font-size: .73rem; }
  .hero { padding-block: 50px 75px; gap: 48px; }
  h1 { font-size: clamp(4.4rem, 22vw, 7.1rem); }
  .lead { font-size: 1.45rem; }
  .actions { display: grid; grid-template-columns: 1fr 1fr; }
  .btn-main { grid-column: 1 / -1; }
  .btn { padding-inline: 8px; font-size: .66rem; }
  .ca-panel { grid-template-columns: 1fr; }
  .ca-panel button { width: 100%; }
  .about, .links { padding-block: 76px; }
  .about-copy h2, .links-head h2, .buy-inner h2 { font-size: clamp(3.2rem, 16vw, 5.2rem); }
  .stats-grid, .link-grid { grid-template-columns: 1fr; }
  .stats-grid div { border-right: 0; }
  .stats-grid div:nth-last-child(2) { border-bottom: 1px solid var(--line); }
  .link-card { min-height: 145px; }
  .buy-inner { min-height: 0; padding-block: 65px; }
  .mega-buy { min-height: 175px; }
  .footer { min-height: 110px; flex-wrap: wrap; padding-block: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ticker-track, .brand-dot, .eyebrow span, .image-status span { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
