/* ============================================
   黑牛模式 — Black Bull Mode
   Pure CSS · Cyber-finance aesthetic
   ============================================ */

:root {
  --bg: #050505;
  --bg-elevated: #0a0a0a;
  --bg-panel: #0d0f0d;
  --green: #b8ff00;
  --green-dim: #7ab800;
  --green-acid: #d4ff4a;
  --green-glow: rgba(184, 255, 0, 0.45);
  --green-soft: rgba(184, 255, 0, 0.12);
  --white: #f2f2f2;
  --gray: #8a8a8a;
  --gray-dim: #3a3a3a;
  --border: rgba(184, 255, 0, 0.28);
  --font-display: "Arial Black", Impact, "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-body: "Helvetica Neue", Helvetica, Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
  --nav-h: 72px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-sharp: cubic-bezier(0.2, 0.8, 0.2, 1);
  --max: 1180px;
}

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

html {
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: var(--green-dim) var(--bg);
}

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

body.is-intro {
  overflow: hidden;
}

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

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

button {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  cursor: pointer;
}

code {
  font-family: ui-monospace, "Cascadia Code", "Segoe UI Mono", Consolas, monospace;
}

::selection {
  background: var(--green);
  color: #000;
}

:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 3px;
}

/* ---------- Custom cursor ---------- */
.cursor {
  display: none;
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 10000;
}

.cursor__dot,
.cursor__ring {
  position: fixed;
  top: 0;
  left: 0;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  will-change: transform;
}

.cursor__dot {
  width: 6px;
  height: 6px;
  background: var(--green);
  box-shadow: 0 0 10px var(--green-glow);
  z-index: 2;
}

.cursor__ring {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(184, 255, 0, 0.55);
  transition: width 0.25s var(--ease-out), height 0.25s var(--ease-out), border-color 0.25s;
  z-index: 1;
}

.cursor.is-hover .cursor__ring {
  width: 56px;
  height: 56px;
  border-color: var(--green);
}

body.has-cursor,
body.has-cursor * {
  cursor: none !important;
}

body.has-cursor .cursor {
  display: block;
}

/* ---------- Atmosphere ---------- */
.atmosphere {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.atmosphere__grid {
  position: absolute;
  inset: -20%;
  background-image:
    linear-gradient(rgba(184, 255, 0, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(184, 255, 0, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  transform: perspective(600px) rotateX(55deg) translateY(-10%);
  transform-origin: center top;
  animation: gridDrift 28s linear infinite;
  opacity: 0.55;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,0.7), transparent 75%);
  -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,0.7), transparent 75%);
}

@keyframes gridDrift {
  from { background-position: 0 0; }
  to { background-position: 0 60px; }
}

.atmosphere__glow {
  position: absolute;
  width: 55vmax;
  height: 55vmax;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(184, 255, 0, 0.14), transparent 65%);
  top: -15%;
  right: -10%;
  filter: blur(40px);
  animation: glowDrift 18s ease-in-out infinite alternate;
}

.atmosphere__glow--2 {
  width: 40vmax;
  height: 40vmax;
  top: auto;
  bottom: -20%;
  left: -15%;
  right: auto;
  background: radial-gradient(circle, rgba(122, 184, 0, 0.1), transparent 70%);
  animation-duration: 24s;
  animation-direction: alternate-reverse;
}

@keyframes glowDrift {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(-8%, 6%) scale(1.12); }
}

.atmosphere__candles,
.atmosphere__particles {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.atmosphere__streaks {
  position: absolute;
  inset: 0;
}

.atmosphere__streak {
  position: absolute;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--green), transparent);
  opacity: 0;
  filter: blur(0.5px);
  animation: streakShoot 4s ease-in-out infinite;
}

@keyframes streakShoot {
  0%, 85%, 100% { opacity: 0; transform: translateX(-20%) scaleX(0.2); }
  90% { opacity: 0.7; transform: translateX(0) scaleX(1); }
  95% { opacity: 0; transform: translateX(30%) scaleX(0.4); }
}

.atmosphere__noise {
  position: absolute;
  inset: 0;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px 180px;
  mix-blend-mode: overlay;
}

.atmosphere__scanlines {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    to bottom,
    transparent 0,
    transparent 2px,
    rgba(0, 0, 0, 0.12) 2px,
    rgba(0, 0, 0, 0.12) 3px
  );
  opacity: 0.35;
  animation: scanMove 8s linear infinite;
}

@keyframes scanMove {
  from { background-position: 0 0; }
  to { background-position: 0 60px; }
}

.atmosphere__vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 40%, rgba(0, 0, 0, 0.75) 100%);
}

.atmosphere__spotlight {
  position: absolute;
  width: 40vmax;
  height: 40vmax;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(184, 255, 0, 0.08), transparent 60%);
  transform: translate(-50%, -50%);
  left: 50%;
  top: 40%;
  transition: opacity 0.4s;
  opacity: 0;
  will-change: transform;
}

body.is-ready .atmosphere__spotlight {
  opacity: 1;
}

/* ---------- Intro sweep ---------- */
.intro-sweep {
  position: fixed;
  inset: 0;
  z-index: 9998;
  pointer-events: none;
  background: linear-gradient(
    105deg,
    transparent 0%,
    transparent 40%,
    rgba(184, 255, 0, 0.35) 50%,
    transparent 60%,
    transparent 100%
  );
  transform: translateX(-120%);
  opacity: 0;
}

body.is-intro .intro-sweep {
  animation: sweepFlash 1.1s var(--ease-out) forwards;
}

@keyframes sweepFlash {
  0% { transform: translateX(-120%); opacity: 0; }
  20% { opacity: 1; }
  100% { transform: translateX(120%); opacity: 0; }
}

/* ---------- Nav ---------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-h);
  transition: background 0.35s, backdrop-filter 0.35s, border-color 0.35s;
  border-bottom: 1px solid transparent;
}

.nav.is-scrolled {
  background: rgba(5, 5, 5, 0.78);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom-color: rgba(184, 255, 0, 0.12);
}

.nav__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.25rem;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.nav__brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  z-index: 1001;
}

.nav__logo {
  width: 40px;
  height: 40px;
  object-fit: cover;
  border-radius: 2px;
  box-shadow: 0 0 18px rgba(184, 255, 0, 0.25);
}

.nav__name {
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  font-weight: 900;
}

.nav__menu {
  display: flex;
  align-items: center;
  gap: 0.35rem 1.35rem;
}

.nav__link {
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray);
  transition: color 0.25s;
  position: relative;
}

.nav__link:hover,
.nav__link.is-active {
  color: var(--green);
}

.nav__link.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 1px;
  background: var(--green);
  box-shadow: 0 0 8px var(--green-glow);
}

.nav__toggle {
  display: none;
  width: 44px;
  height: 44px;
  position: relative;
  z-index: 1001;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
}

.nav__toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--green);
  transition: transform 0.3s var(--ease-out), opacity 0.3s;
}

.nav__toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.nav__toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.nav__toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.75rem 1.35rem;
  font-family: var(--font-display);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  position: relative;
  clip-path: polygon(
    0 0,
    calc(100% - 10px) 0,
    100% 10px,
    100% 100%,
    10px 100%,
    0 calc(100% - 10px)
  );
  transition: transform 0.25s var(--ease-out), background 0.25s, box-shadow 0.25s, color 0.25s, border-color 0.25s;
  white-space: nowrap;
}

.btn--primary {
  background: #0a1200;
  color: var(--green);
  border: 1px solid var(--green);
  box-shadow: 0 0 0 0 transparent, inset 0 0 20px rgba(184, 255, 0, 0.05);
}

.btn--primary:hover {
  background: rgba(184, 255, 0, 0.12);
  box-shadow: 0 0 28px rgba(184, 255, 0, 0.35), inset 0 0 24px rgba(184, 255, 0, 0.08);
  color: var(--green-acid);
}

.btn--secondary {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(184, 255, 0, 0.35);
}

.btn--secondary:hover {
  border-color: var(--green);
  color: var(--green);
  box-shadow: 0 0 20px rgba(184, 255, 0, 0.15);
}

.btn--lg {
  padding: 0.95rem 1.7rem;
  font-size: 0.85rem;
}

.btn--nav {
  padding: 0.65rem 1.1rem;
  font-size: 0.72rem;
}

.btn--icon {
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid rgba(184, 255, 0, 0.35);
  color: var(--white);
  clip-path: polygon(
    0 0,
    calc(100% - 8px) 0,
    100% 8px,
    100% 100%,
    8px 100%,
    0 calc(100% - 8px)
  );
}

.btn--icon:hover {
  color: var(--green);
  border-color: var(--green);
  box-shadow: 0 0 20px rgba(184, 255, 0, 0.2);
}

.btn__arrow {
  display: inline-block;
  transition: transform 0.3s var(--ease-out);
}

.btn--primary:hover .btn__arrow {
  transform: translateX(4px);
}

.btn--activate {
  margin-top: 1.75rem;
  padding: 1.1rem 2.2rem;
  font-size: clamp(0.9rem, 2.5vw, 1.1rem);
  background: #081000;
  border: 1px solid var(--green);
  color: var(--green);
  overflow: hidden;
  width: min(100%, 420px);
}

.btn--activate:hover {
  box-shadow: 0 0 40px rgba(184, 255, 0, 0.4);
  background: rgba(184, 255, 0, 0.1);
}

.btn__pulse {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(184, 255, 0, 0.25), transparent 60%);
  opacity: 0;
  animation: ctaPulse 2.8s ease-in-out infinite;
}

@keyframes ctaPulse {
  0%, 100% { opacity: 0; transform: scale(0.8); }
  50% { opacity: 0.55; transform: scale(1.1); }
}

.btn--copy {
  min-width: 100px;
}

/* ---------- Layout helpers ---------- */
main {
  position: relative;
  z-index: 1;
}

section {
  position: relative;
  padding: clamp(4.5rem, 10vw, 7.5rem) 1.25rem;
}

.section-head {
  max-width: 760px;
  margin: 0 auto 3rem;
  text-align: center;
}

.eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 0.85rem;
  font-family: var(--font-display);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 5vw, 3.4rem);
  line-height: 1.1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.accent {
  color: var(--green);
  text-shadow: 0 0 24px rgba(184, 255, 0, 0.35);
}

.section-lead {
  color: var(--gray);
  font-size: clamp(1rem, 2vw, 1.15rem);
  max-width: 42rem;
  margin: 0 auto;
}

/* ---------- Reveals ---------- */
.reveal,
.reveal-line {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.reveal.is-visible,
.reveal-line.is-visible {
  opacity: 1;
  transform: translateY(0);
}

body.is-ready .hero .reveal {
  transition-delay: 0s;
}

body.is-ready .hero .hero__status { transition-delay: 0.15s; }
body.is-ready .hero .hero__title { transition-delay: 0.28s; }
body.is-ready .hero .hero__headline { transition-delay: 0.42s; }
body.is-ready .hero .hero__sub { transition-delay: 0.52s; }
body.is-ready .hero .hero__ctas { transition-delay: 0.65s; }
body.is-ready .hero .hero__visual { transition-delay: 0.35s; }

/* ---------- Hero ---------- */
.hero {
  min-height: 100vh;
  min-height: 100dvh;
  padding-top: calc(var(--nav-h) + 2rem);
  padding-bottom: 4rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
}

.hero__banner-wash {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.14;
  filter: saturate(1.2) contrast(1.1) blur(2px);
  transform: scale(1.05);
  mask-image: linear-gradient(to bottom, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.4) 70%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.4) 70%, transparent 100%);
}

.hero__inner {
  max-width: var(--max);
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.hero__status {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  color: var(--green);
  margin-bottom: 1.1rem;
}

.status-dot {
  width: 8px;
  height: 8px;
  background: var(--green);
  box-shadow: 0 0 12px var(--green);
  animation: statusBlink 1.6s ease-in-out infinite;
}

@keyframes statusBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 10vw, 6.5rem);
  line-height: 0.95;
  letter-spacing: -0.02em;
  margin-bottom: 0.85rem;
  text-transform: none;
}

.hero__title-text {
  background: linear-gradient(100deg, var(--green) 0%, var(--green-acid) 40%, #fff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 30px rgba(184, 255, 0, 0.25));
}

.hero__headline {
  font-family: var(--font-display);
  font-size: clamp(1rem, 2.4vw, 1.35rem);
  letter-spacing: 0.16em;
  color: var(--white);
  margin-bottom: 0.85rem;
}

.hero__sub {
  color: var(--gray);
  font-size: clamp(0.95rem, 1.8vw, 1.1rem);
  max-width: 28rem;
  margin-bottom: 2rem;
}

.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem;
}

.hero__visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: min(62vw, 520px);
}

.hero__glow {
  position: absolute;
  width: 80%;
  height: 80%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(184, 255, 0, 0.35), transparent 65%);
  filter: blur(28px);
  animation: bullGlow 4s ease-in-out infinite alternate;
  z-index: 0;
}

@keyframes bullGlow {
  from { opacity: 0.55; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1.08); }
}

.hero__bull-wrap {
  position: relative;
  z-index: 2;
  width: min(100%, 520px);
  will-change: transform;
}

.hero__bull {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 0 40px rgba(184, 255, 0, 0.35));
  transition: filter 0.4s;
  animation: bullBreathe 5s ease-in-out infinite;
}

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

.hero__bull-wrap:hover .hero__bull {
  filter: drop-shadow(0 0 55px rgba(184, 255, 0, 0.65)) drop-shadow(0 -10px 30px rgba(184, 255, 0, 0.3));
}

.hero__energy {
  position: absolute;
  inset: 8% 12%;
  border: 1px solid rgba(184, 255, 0, 0.15);
  clip-path: polygon(0 12px, 12px 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%);
  pointer-events: none;
  z-index: 1;
  animation: energyPulse 3.5s ease-in-out infinite;
}

.hero__energy::before,
.hero__energy::after {
  content: "";
  position: absolute;
  width: 18px;
  height: 18px;
  border: 1px solid var(--green);
}

.hero__energy::before {
  top: -1px;
  left: -1px;
  border-right: none;
  border-bottom: none;
}

.hero__energy::after {
  bottom: -1px;
  right: -1px;
  border-left: none;
  border-top: none;
}

@keyframes energyPulse {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 0.9; }
}

.hero__sparks {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero__spark {
  position: absolute;
  width: 3px;
  height: 3px;
  background: var(--green);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--green);
  animation: sparkFloat 2.8s ease-in-out infinite;
  opacity: 0;
}

@keyframes sparkFloat {
  0% { opacity: 0; transform: translateY(10px) scale(0.5); }
  30% { opacity: 1; }
  100% { opacity: 0; transform: translateY(-40px) scale(1); }
}

.hero__scroll {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  color: var(--gray-dim);
}

.hero__scroll-line {
  width: 1px;
  height: 42px;
  background: linear-gradient(to bottom, var(--green), transparent);
  animation: scrollLine 1.8s ease-in-out infinite;
}

@keyframes scrollLine {
  0% { transform: scaleY(0); transform-origin: top; opacity: 0; }
  40% { transform: scaleY(1); opacity: 1; }
  100% { transform: scaleY(1); transform-origin: bottom; opacity: 0; }
}

/* ---------- Mode ---------- */
.mode {
  padding-top: clamp(3rem, 8vw, 5rem);
}

.mode__panel {
  max-width: 640px;
  margin: 0 auto;
  padding: clamp(1.75rem, 4vw, 2.75rem);
  background: linear-gradient(160deg, rgba(12, 18, 4, 0.92), rgba(8, 8, 8, 0.95));
  border: 1px solid var(--border);
  position: relative;
  text-align: center;
  clip-path: polygon(
    0 16px, 16px 0, 100% 0, 100% calc(100% - 16px), calc(100% - 16px) 100%, 0 100%
  );
  overflow: hidden;
}

.mode__hud-corners span {
  position: absolute;
  width: 22px;
  height: 22px;
  border: 1px solid var(--green);
  opacity: 0.7;
}

.mode__hud-corners span:nth-child(1) { top: 10px; left: 10px; border-right: none; border-bottom: none; }
.mode__hud-corners span:nth-child(2) { top: 10px; right: 10px; border-left: none; border-bottom: none; }
.mode__hud-corners span:nth-child(3) { bottom: 10px; left: 10px; border-right: none; border-top: none; }
.mode__hud-corners span:nth-child(4) { bottom: 10px; right: 10px; border-left: none; border-top: none; }

.mode__scanner {
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--green), transparent);
  top: 0;
  opacity: 0.5;
  animation: scanPanel 3.2s linear infinite;
  box-shadow: 0 0 16px var(--green-glow);
}

@keyframes scanPanel {
  from { top: 0; }
  to { top: 100%; }
}

.mode__status {
  font-family: ui-monospace, Consolas, monospace;
  text-align: left;
  display: grid;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}

.mode__row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.55rem 0.75rem;
  border-left: 2px solid rgba(184, 255, 0, 0.25);
  background: rgba(184, 255, 0, 0.03);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
}

.mode__label {
  color: var(--gray);
}

.mode__value {
  color: var(--green);
  font-weight: 700;
}

.mode__value--dim {
  color: var(--gray);
}

.mode__result {
  min-height: 1.5rem;
  margin-top: 1.25rem;
  font-family: var(--font-display);
  letter-spacing: 0.12em;
  color: var(--green);
  text-shadow: 0 0 20px var(--green-glow);
  opacity: 0;
  transition: opacity 0.35s;
}

.mode__result.is-shown {
  opacity: 1;
}

.mode__panel.is-activated {
  animation: modePulse 0.7s var(--ease-out);
  box-shadow: 0 0 60px rgba(184, 255, 0, 0.25);
}

.mode__panel.is-activated .mode__row {
  animation: hudFlash 0.5s ease;
}

@keyframes modePulse {
  0% { filter: brightness(1); }
  30% { filter: brightness(1.6); }
  100% { filter: brightness(1); }
}

@keyframes hudFlash {
  0%, 100% { background: rgba(184, 255, 0, 0.03); }
  50% { background: rgba(184, 255, 0, 0.18); }
}

.mode-flash {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(184, 255, 0, 0.18);
  pointer-events: none;
  opacity: 0;
  animation: flashOnce 0.45s ease-out forwards;
}

@keyframes flashOnce {
  0% { opacity: 0; }
  30% { opacity: 1; }
  100% { opacity: 0; }
}

/* ---------- About / principles ---------- */
.principles {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.25rem, 3vw, 2rem);
}

.principle {
  padding: 1.75rem 1.35rem;
  border-top: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(184, 255, 0, 0.04), transparent 60%);
  transition: transform 0.35s var(--ease-out), border-color 0.35s;
}

.principle:hover {
  transform: translateY(-6px);
  border-color: var(--green);
}

.principle__icon {
  width: 56px;
  height: 56px;
  color: var(--green);
  margin-bottom: 1.25rem;
}

.principle__icon svg {
  width: 100%;
  height: 100%;
}

.principle__title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: 0.16em;
  margin-bottom: 0.65rem;
  color: var(--white);
}

.principle__text {
  color: var(--gray);
  font-size: 0.95rem;
}

/* ---------- Manifesto ---------- */
.manifesto {
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 1.25rem;
  background:
    linear-gradient(180deg, transparent, rgba(184, 255, 0, 0.03), transparent);
}

.manifesto__inner {
  max-width: var(--max);
  width: 100%;
  text-align: center;
}

.manifesto__line {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 11vw, 8rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  margin: 0.15em 0;
  opacity: 0;
  transform: translateY(60px) skewY(2deg);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}

.manifesto__line.is-visible {
  opacity: 1;
  transform: translateY(0) skewY(0);
}

.manifesto__line--accent {
  background: linear-gradient(90deg, var(--green), #fff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.manifesto__line:nth-child(1) { transition-delay: 0s; }
.manifesto__line:nth-child(2) { transition-delay: 0.12s; }
.manifesto__line:nth-child(3) { transition-delay: 0.24s; }

/* ---------- Community ---------- */
.community {
  overflow: hidden;
  background:
    radial-gradient(ellipse at center, rgba(184, 255, 0, 0.08), transparent 55%),
    linear-gradient(180deg, #050505, #081000, #050505);
}

.community__lines {
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      105deg,
      transparent 0,
      transparent 40px,
      rgba(184, 255, 0, 0.04) 40px,
      rgba(184, 255, 0, 0.04) 41px
    );
  mask-image: radial-gradient(ellipse at center, black 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 20%, transparent 70%);
  animation: linesConverge 12s linear infinite;
  opacity: 0.7;
}

@keyframes linesConverge {
  from { transform: scale(1) rotate(0deg); }
  to { transform: scale(1.15) rotate(2deg); }
}

.community__inner {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  position: relative;
}

.community__ctas {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.85rem;
  margin-top: 2.25rem;
}

/* ---------- Contract ---------- */
.contract {
  padding-top: 2rem;
  padding-bottom: clamp(4rem, 8vw, 6rem);
}

.contract__panel {
  max-width: 720px;
  margin: 0 auto;
  padding: 1.5rem 1.35rem;
  background: #080c04;
  border: 1px solid var(--border);
  position: relative;
  clip-path: polygon(
    0 10px, 10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%
  );
}

.contract__hud {
  position: absolute;
  top: 8px;
  right: 12px;
  width: 8px;
  height: 8px;
  background: var(--green);
  box-shadow: 0 0 10px var(--green);
  animation: statusBlink 1.4s infinite;
}

.contract__label {
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  color: var(--green-dim);
  margin-bottom: 0.85rem;
  font-family: ui-monospace, Consolas, monospace;
}

.contract__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem;
  justify-content: space-between;
}

.contract__ca {
  font-size: clamp(0.95rem, 2.5vw, 1.2rem);
  color: var(--green);
  letter-spacing: 0.08em;
  word-break: break-all;
}

/* ---------- Footer ---------- */
.footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid rgba(184, 255, 0, 0.12);
  padding: 2rem 1.25rem 2.5rem;
  background: rgba(0, 0, 0, 0.5);
}

.footer__inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-display);
  letter-spacing: 0.04em;
}

.footer__logo {
  width: 36px;
  height: 36px;
  object-fit: cover;
  border-radius: 2px;
}

.footer__links {
  display: flex;
  gap: 1.35rem;
}

.footer__links a {
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gray);
  transition: color 0.25s;
}

.footer__links a:hover {
  color: var(--green);
}

.footer__tag {
  max-width: var(--max);
  margin: 1.35rem auto 0;
  text-align: center;
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  color: var(--gray-dim);
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero__inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero__sub {
    margin-left: auto;
    margin-right: auto;
  }

  .hero__ctas {
    justify-content: center;
  }

  .hero__status {
    justify-content: center;
  }

  .hero__visual {
    order: -1;
    min-height: auto;
  }

  .hero__bull-wrap {
    width: min(78%, 420px);
  }

  .principles {
    grid-template-columns: 1fr;
    max-width: 420px;
  }
}

@media (max-width: 768px) {
  :root {
    --nav-h: 64px;
  }

  .nav__toggle {
    display: flex;
  }

  .nav__menu {
    position: fixed;
    inset: 0;
    background: rgba(5, 5, 5, 0.96);
    backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    gap: 1.5rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px);
    transition: opacity 0.35s var(--ease-out), transform 0.35s var(--ease-out), visibility 0.35s;
  }

  .nav__menu.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .nav__menu .nav__link {
    font-size: 1.1rem;
    letter-spacing: 0.2em;
  }

  .btn--nav {
    margin-top: 0.5rem;
    font-size: 0.9rem;
    padding: 0.9rem 1.5rem;
  }

  .hero__scroll {
    display: none;
  }

  .contract__row {
    flex-direction: column;
    align-items: stretch;
  }

  .btn--copy {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .hero__title {
    font-size: clamp(2.6rem, 14vw, 3.4rem);
  }

  .hero__headline {
    letter-spacing: 0.08em;
  }

  .community__ctas .btn {
    width: 100%;
  }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal,
  .reveal-line,
  .manifesto__line {
    opacity: 1;
    transform: none;
  }

  .atmosphere__grid,
  .atmosphere__glow,
  .atmosphere__scanlines,
  .hero__bull,
  .hero__glow,
  .mode__scanner {
    animation: none !important;
  }

  .cursor {
    display: none !important;
  }

  body.has-cursor,
  body.has-cursor * {
    cursor: auto !important;
  }
}
