/* TRON × Dimus — Global CSS v2.0 (standalone, no Tailwind) */
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=JetBrains+Mono:wght@400;500;600&family=Inter:wght@400;500;600;700&display=swap');

:root {
  --void:    #020008;
  --base:    #07000F;
  --surface: #0D001A;
  --s2:      #140022;
  --magenta: #FF007F;
  --cyan:    #00E5FF;
  --purple:  #7B00FF;
  --fg:      #F4F0FF;
  --fg2:     #C8C0D4;
  --muted:   #8A7E99;
  --dim:     #4A4058;
  --bm:      rgba(255,0,127,0.18);
  --bc:      rgba(0,229,255,0.18);
  --radius:  2px;
}

html {
  background-color: var(--void);
  color: var(--fg);
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
  font-family: 'Inter', system-ui, sans-serif;
}

body {
  background-color: var(--void);
  position: relative;
}

body::after {
  content: '';
  position: fixed;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(255,0,127,0.015) 2px,
    rgba(255,0,127,0.015) 4px
  );
  pointer-events: none;
  z-index: 9999;
}

::selection {
  background: rgba(255,0,127,0.3);
  color: white;
}

h1, h2, h3 {
  font-family: 'Bebas Neue', sans-serif;
  letter-spacing: 0.03em;
}

/* ── Buttons ── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  background: var(--magenta);
  color: var(--void);
  font-weight: 600;
  transition: all 0.2s;
  border-radius: var(--radius);
  box-shadow: 0 0 20px rgba(255,0,127,0.4);
  border: none;
  cursor: pointer;
  text-decoration: none;
}
.btn-primary:hover {
  box-shadow: 0 0 32px rgba(255,0,127,0.7);
  transform: translateY(-1px);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border: 1px solid rgba(0,229,255,0.4);
  color: var(--cyan);
  transition: all 0.2s;
  border-radius: var(--radius);
  background: transparent;
  cursor: pointer;
  text-decoration: none;
}
.btn-secondary:hover {
  border-color: rgba(0,229,255,0.9);
  box-shadow: 0 0 16px rgba(0,229,255,0.25);
}

/* ── Cards ── */
.card {
  background: var(--surface);
  border: 1px solid var(--bm);
  padding: 1.5rem;
  border-radius: 4px;
  position: relative;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.card:hover {
  border-color: rgba(255,0,127,0.4);
  box-shadow: 0 0 20px rgba(255,0,127,0.12);
}

/* ── HUD Cards ── */
.hud-card {
  background: var(--surface);
  border: 1px solid rgba(255,0,127,0.15);
  padding: 1.5rem;
  border-radius: 4px;
  position: relative;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.hud-card::before {
  content: '';
  position: absolute;
  width: 12px;
  height: 12px;
  top: -1px;
  left: -1px;
  border-top: 2px solid var(--magenta);
  border-left: 2px solid var(--magenta);
}
.hud-card::after {
  content: '';
  position: absolute;
  width: 12px;
  height: 12px;
  top: -1px;
  right: -1px;
  border-top: 2px solid var(--cyan);
  border-right: 2px solid var(--cyan);
}
.hud-card:hover {
  border-color: rgba(255,0,127,0.35);
  box-shadow: 0 0 24px rgba(255,0,127,0.1);
}

/* ── Typography ── */
.label-mono {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
}
.label-mono::before { content: '// '; opacity: 0.5; }

.headline-tron {
  font-family: 'Bebas Neue', sans-serif;
  letter-spacing: 0.04em;
  line-height: 0.95;
}

.outline-text {
  -webkit-text-stroke: 1.5px var(--magenta);
  color: transparent;
}

/* ── Effects ── */
.horizon-line {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--magenta), transparent);
  box-shadow: 0 0 12px rgba(255,0,127,0.6);
}

.glow-m { text-shadow: 0 0 20px rgba(255,0,127,0.7), 0 0 40px rgba(255,0,127,0.3); }
.glow-c { text-shadow: 0 0 20px rgba(0,229,255,0.7), 0 0 40px rgba(0,229,255,0.3); }

.tron-grid {
  background-image:
    linear-gradient(rgba(255,0,127,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,0,127,0.06) 1px, transparent 1px);
  background-size: 60px 60px;
  background-position: center center;
}

.gradient-text {
  background: linear-gradient(135deg, var(--magenta), var(--cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Form ── */
.input-tron {
  background: var(--surface);
  border: 1px solid rgba(255,0,127,0.2);
  border-radius: 2px;
  color: var(--fg);
  font-family: 'Inter', sans-serif;
  padding: 0.75rem 1rem;
  width: 100%;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}
.input-tron:focus {
  border-color: var(--magenta);
  box-shadow: 0 0 12px rgba(255,0,127,0.25);
}
.input-tron::placeholder { color: var(--dim); }

/* ── Section wrapper ── */
.section {
  max-width: 64rem;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
  padding-top: 4rem;
  padding-bottom: 4rem;
}
@media (min-width: 640px) {
  .section {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    padding-top: 6rem;
    padding-bottom: 6rem;
  }
}

/* ── Nav link hover underline ── */
.nav-link {
  position: relative;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #8A7E99;
  text-decoration: none;
  transition: color 0.2s;
  padding-bottom: 2px;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: linear-gradient(90deg, #FF007F, #00E5FF);
  transition: width 0.3s cubic-bezier(0.22, 1, 0.36, 1);
  box-shadow: 0 0 6px rgba(0,229,255,0.6);
}
.nav-link:hover {
  color: #00E5FF;
}
.nav-link:hover::after {
  width: 100%;
}

/* ── Button secondary fill on hover ── */
.btn-secondary {
  position: relative;
  overflow: hidden;
}
.btn-secondary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--cyan);
  opacity: 0;
  transition: opacity 0.25s ease;
}
.btn-secondary:hover::before {
  opacity: 0.12;
}
.btn-secondary:hover {
  border-color: rgba(0,229,255,0.9);
  box-shadow: 0 0 20px rgba(0,229,255,0.3), inset 0 0 20px rgba(0,229,255,0.05);
  color: #fff;
}

/* ── Section divider / navezinha ── */
.section-divider {
  position: relative;
  height: 64px;
  overflow: visible;
  display: flex;
  align-items: center;
  justify-content: center;
}
.section-divider::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(255,0,127,0.25) 25%, rgba(0,229,255,0.35) 50%, rgba(255,0,127,0.25) 75%, transparent 100%);
}
.section-divider .nav-arrow {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  background: var(--void);
  padding: 8px 24px;
  z-index: 1;
}
.section-divider .nav-arrow svg:nth-child(1) {
  animation: tron-pulse-down 1.6s ease-in-out infinite;
  filter: drop-shadow(0 0 5px currentColor);
}
.section-divider .nav-arrow svg:nth-child(2) {
  animation: tron-pulse-down 1.6s ease-in-out 0.18s infinite;
  opacity: 0.6;
  filter: drop-shadow(0 0 3px currentColor);
}
.section-divider .nav-arrow svg:nth-child(3) {
  animation: tron-pulse-down 1.6s ease-in-out 0.36s infinite;
  opacity: 0.3;
}
@keyframes tron-pulse-down {
  0%   { opacity: 1;   transform: translateY(-2px); }
  50%  { opacity: 0.2; transform: translateY(4px);  }
  100% { opacity: 1;   transform: translateY(-2px); }
}

/* ── Between-fold texture band ── */
.fold-texture {
  position: relative;
  height: 48px;
  background:
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 40px,
      rgba(255,0,127,0.04) 40px,
      rgba(255,0,127,0.04) 41px
    ),
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 12px,
      rgba(0,229,255,0.03) 12px,
      rgba(0,229,255,0.03) 13px
    );
  border-top: 1px solid rgba(255,0,127,0.08);
  border-bottom: 1px solid rgba(0,229,255,0.08);
  overflow: hidden;
}
.fold-texture::after {
  content: '◈ ─────────────────── ◈ ─────────────────── ◈';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.5rem;
  letter-spacing: 0.15em;
  color: rgba(255,0,127,0.2);
  white-space: nowrap;
}

/* ── Counter stat ── */
.stat-counter {
  display: inline-block;
}


/* ── Nav link hover underline ── */
.nav-link {
  position: relative;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #8A7E99;
  text-decoration: none;
  transition: color 0.2s;
  padding-bottom: 2px;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: linear-gradient(90deg, #FF007F, #00E5FF);
  transition: width 0.3s cubic-bezier(0.22, 1, 0.36, 1);
  box-shadow: 0 0 6px rgba(0,229,255,0.6);
}
.nav-link:hover {
  color: #00E5FF;
}
.nav-link:hover::after {
  width: 100%;
}

/* ── Button secondary fill on hover ── */
.btn-secondary {
  position: relative;
  overflow: hidden;
}
.btn-secondary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--cyan);
  opacity: 0;
  transition: opacity 0.25s ease;
}
.btn-secondary:hover::before {
  opacity: 0.12;
}
.btn-secondary:hover {
  border-color: rgba(0,229,255,0.9);
  box-shadow: 0 0 20px rgba(0,229,255,0.3), inset 0 0 20px rgba(0,229,255,0.05);
  color: #fff;
}

/* ── Section divider / navezinha ── */
.section-divider {
  position: relative;
  height: 64px;
  overflow: visible;
  display: flex;
  align-items: center;
  justify-content: center;
}
.section-divider::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(255,0,127,0.25) 25%, rgba(0,229,255,0.35) 50%, rgba(255,0,127,0.25) 75%, transparent 100%);
}
.section-divider .nav-arrow {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  background: var(--void);
  padding: 8px 24px;
  z-index: 1;
}
.section-divider .nav-arrow svg:nth-child(1) {
  animation: tron-pulse-down 1.6s ease-in-out infinite;
  filter: drop-shadow(0 0 5px currentColor);
}
.section-divider .nav-arrow svg:nth-child(2) {
  animation: tron-pulse-down 1.6s ease-in-out 0.18s infinite;
  opacity: 0.6;
  filter: drop-shadow(0 0 3px currentColor);
}
.section-divider .nav-arrow svg:nth-child(3) {
  animation: tron-pulse-down 1.6s ease-in-out 0.36s infinite;
  opacity: 0.3;
}
@keyframes tron-pulse-down {
  0%   { opacity: 1;   transform: translateY(-2px); }
  50%  { opacity: 0.2; transform: translateY(4px);  }
  100% { opacity: 1;   transform: translateY(-2px); }
}

/* ── Between-fold texture band ── */
.fold-texture {
  position: relative;
  height: 48px;
  background:
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 40px,
      rgba(255,0,127,0.04) 40px,
      rgba(255,0,127,0.04) 41px
    ),
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 12px,
      rgba(0,229,255,0.03) 12px,
      rgba(0,229,255,0.03) 13px
    );
  border-top: 1px solid rgba(255,0,127,0.08);
  border-bottom: 1px solid rgba(0,229,255,0.08);
  overflow: hidden;
}
.fold-texture::after {
  content: '◈ ─────────────────── ◈ ─────────────────── ◈';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.5rem;
  letter-spacing: 0.15em;
  color: rgba(255,0,127,0.2);
  white-space: nowrap;
}

/* ── Counter stat ── */
.stat-counter {
  display: inline-block;
}


/* ── TRON Light-cycle navezinha ── */
.tron-lightcycle {
  position: relative;
  width: 100%;
  height: 80px;
  overflow: hidden;
  background: var(--void);
}
.tron-lightcycle::before,
.tron-lightcycle::after {
  content: '';
  position: absolute;
  height: 1.5px;
  border-radius: 0;
}
/* Magenta line - left to right */
.tron-lightcycle::before {
  top: 28px;
  left: -60%;
  width: 40%;
  background: linear-gradient(90deg, transparent, rgba(255,0,127,0.3), #FF007F, #FF007F);
  box-shadow: 0 0 8px #FF007F, 0 0 16px rgba(255,0,127,0.5);
  animation: lightcycle-m 3.2s linear infinite;
}
/* Cyan line - right to left (offset) */
.tron-lightcycle::after {
  top: 52px;
  right: -60%;
  width: 40%;
  background: linear-gradient(270deg, transparent, rgba(0,229,255,0.3), #00E5FF, #00E5FF);
  box-shadow: 0 0 8px #00E5FF, 0 0 16px rgba(0,229,255,0.5);
  animation: lightcycle-c 3.2s linear 1.6s infinite;
}
@keyframes lightcycle-m {
  0%   { left: -40%; }
  100% { left: 110%; }
}
@keyframes lightcycle-c {
  0%   { right: -40%; }
  100% { right: 110%; }
}
/* Circuit dots at endpoints */
.tron-lightcycle .dot-m {
  position: absolute;
  top: 24px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #FF007F;
  box-shadow: 0 0 8px #FF007F, 0 0 20px rgba(255,0,127,0.8);
  animation: lightcycle-dot-m 3.2s linear infinite;
}
.tron-lightcycle .dot-c {
  position: absolute;
  top: 48px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #00E5FF;
  box-shadow: 0 0 8px #00E5FF, 0 0 20px rgba(0,229,255,0.8);
  animation: lightcycle-dot-c 3.2s linear 1.6s infinite;
}
@keyframes lightcycle-dot-m {
  0%   { left: -2px; }
  100% { left: calc(110% - 2px); }
}
@keyframes lightcycle-dot-c {
  0%   { right: -2px; }
  100% { right: calc(110% - 2px); }
}
/* Circuit grid lines behind (subtle) */
.tron-lightcycle .circuit-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,0,127,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,229,255,0.04) 1px, transparent 1px);
  background-size: 40px 40px;
}

/* ── Hero scroll indicator (bottom of hero, in-screen) ── */
.hero-scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  z-index: 10;
}
.hero-scroll-hint span {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.55rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: rgba(255,0,127,0.4);
}
.hero-scroll-hint .scroll-arrows {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}
.hero-scroll-hint .scroll-arrows svg:nth-child(1) { animation: scroll-fade 1.8s ease-in-out infinite 0s; }
.hero-scroll-hint .scroll-arrows svg:nth-child(2) { animation: scroll-fade 1.8s ease-in-out infinite 0.2s; }
.hero-scroll-hint .scroll-arrows svg:nth-child(3) { animation: scroll-fade 1.8s ease-in-out infinite 0.4s; }
@keyframes scroll-fade {
  0%, 100% { opacity: 0.15; transform: translateY(-2px); }
  50%       { opacity: 1;    transform: translateY(2px);  }
}

/* ── Scroll hint inline arrows ── */
.scroll-arr-1 {
  filter: drop-shadow(0 0 4px #FF007F);
  animation: scroll-fade 1.8s ease-in-out infinite 0s;
}
.scroll-arr-2 {
  filter: drop-shadow(0 0 4px #FF007F);
  animation: scroll-fade 1.8s ease-in-out infinite 0.22s;
}
.scroll-arr-3 {
  filter: drop-shadow(0 0 4px #FF007F);
  animation: scroll-fade 1.8s ease-in-out infinite 0.44s;
}
@keyframes scroll-fade {
  0%, 100% { opacity: 0.15; transform: translateY(-3px); }
  50%       { opacity: 1;    transform: translateY(3px);  }
}

/* ── Infinite scroll bleed: show next section peeking ── */
.next-peek {
  margin-top: -48px;
  position: relative;
  z-index: 2;
}
