:root {
  --bg: #000000;
  --panel: #111111;
  --surface: #222222;
  --text: #ffffff;
  --muted: #888888;
  --primary: #ffffff;
  --border: #333333;
  --danger: #aa0000;
  --success: #ffffff; /* Replaced #00ff9d (green) with #ffffff (white) */
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border-radius: 0 !important;
  box-shadow: none !important;
  text-shadow: none !important;
  outline: none !important;
  font-family: monospace, sans-serif;
}

body {
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  font-size: 14px;
  line-height: 1.6;
}

/* Background Grid & Scanlines */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    linear-gradient(var(--panel) 1px, transparent 1px),
    linear-gradient(90deg, var(--panel) 1px, transparent 1px);
  background-size: 40px 40px;
  z-index: -2;
  opacity: 0.6;
}

.scanlines {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(to bottom, transparent 50%, rgba(0, 0, 0, 0.3) 51%);
  background-size: 100% 4px;
  z-index: 9999;
  opacity: 0.4;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

/* =========================================================
  TYPOGRAPHY & ELEMENTS
  ========================================================= */
h1, h2, h3 { text-transform: uppercase; font-weight: normal; color: var(--text); }
p { color: var(--muted); }
a { color: var(--text); text-decoration: none; }

.section-title { margin-bottom: 40px; border-bottom: 1px solid var(--border); padding-bottom: 10px; display: inline-block; }
.section-title h2 { font-size: 24px; letter-spacing: 2px; }
.section-title h2::before { content: "> "; color: var(--muted); }

/* Buttons & Selects */
.btn {
  background: var(--surface);
  color: var(--text);
  padding: 12px 24px;
  border: 1px solid var(--border) !important;
  text-transform: uppercase;
  font-weight: bold;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.2s linear;
  letter-spacing: 1px;
}
.btn:hover {
  background: var(--text);
  color: var(--bg);
  border-color: var(--text) !important;
}
.btn.primary {
  background: var(--text);
  color: var(--bg);
}
.btn.primary:hover {
  background: var(--muted);
  border-color: var(--muted) !important;
}
.btn.danger { color: var(--danger); border-color: var(--danger) !important; }
.btn.danger:hover { background: var(--danger); color: var(--text); }

.lang-select {
  background: var(--bg);
  color: var(--text);
  border: 1px solid var(--border) !important;
  padding: 8px 12px;
  text-transform: uppercase;
  font-weight: bold;
  cursor: pointer;
}
.lang-select:hover { border-color: var(--muted) !important; }

/* =========================================================
  NAVIGATION
  ========================================================= */
header {
  position: sticky;
  top: 0;
  background: rgba(0, 0, 0, 0.9);
  border-bottom: 1px solid var(--border) !important;
  z-index: 1000;
  backdrop-filter: blur(5px);
}
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
}
.logo {
  font-size: 20px;
  font-weight: bold;
  letter-spacing: 2px;
}
.logo::before { content: "[ "; color: var(--muted); }
.logo::after { content: " ]_SYS"; color: var(--muted); }

.nav-links { display: flex; gap: 30px; align-items: center; text-transform: uppercase; font-size: 12px; }
.nav-links a.link { color: var(--muted); transition: 0.2s; }
.nav-links a.link:hover { color: var(--text); }
.nav-links a.link::before { content: "./"; opacity: 0; transition: 0.2s; }
.nav-links a.link:hover::before { opacity: 1; }

/* =========================================================
  HERO SECTION
  ========================================================= */
.hero {
  padding: 120px 0 100px;
  min-height: 80vh;
  display: flex;
  align-items: center;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.sys-badge {
  display: inline-block;
  background: var(--panel);
  border: 1px solid var(--border) !important;
  padding: 4px 10px;
  font-size: 10px;
  color: var(--muted);
  margin-bottom: 20px;
  text-transform: uppercase;
}

.hero h1 {
  font-size: clamp(40px, 6vw, 70px);
  line-height: 1.1;
  margin-bottom: 20px;
  min-height: 210px; /* Prevents layout shift during typing */
}
.hero p {
  font-size: 14px;
  margin-bottom: 40px;
  max-width: 500px;
  border-left: 2px solid var(--border) !important;
  padding-left: 16px;
}

/* Floating IMAGE Cards */
.cards-container {
  position: relative;
  height: 400px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero-card-img {
  width: clamp(110px, 15vw, 150px);
  height: auto;
  position: absolute;
  border-radius: 8px !important;
  box-shadow: 0 20px 40px rgba(0,0,0,0.9) !important;
  border: 1px solid rgba(255,255,255,0.1) !important;
  transition: transform 0.3s ease, z-index 0s;
}
.hero-card-img.c1 { transform: rotate(-15deg) translate(-60px, 20px); z-index: 1; animation: float 6s infinite ease-in-out; }
.hero-card-img.c2 { transform: rotate(5deg) translate(20px, -20px); z-index: 2; animation: float 6s infinite ease-in-out 1s; }
.hero-card-img.c3 { transform: rotate(20deg) translate(90px, 30px); z-index: 3; animation: float 6s infinite ease-in-out 2s; }
.hero-card-img:hover { transform: translateY(-20px) scale(1.15) rotate(0deg) !important; z-index: 10; cursor: crosshair; }

/* =========================================================
  SECTIONS (Stats, Features, Rules, FAQ)
  ========================================================= */
section { padding: 80px 0; border-top: 1px dashed var(--border); }

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--border) !important;
}
.stat-box {
  padding: 30px;
  text-align: center;
  border-right: 1px solid var(--border) !important;
  background: var(--panel);
  transition: 0.2s;
}
.stat-box:last-child { border-right: none !important; }
.stat-box:hover { background: var(--surface); }
.stat-val { font-size: 32px; color: var(--text); margin-bottom: 5px; }
.stat-lbl { font-size: 10px; color: var(--muted); text-transform: uppercase; }

.feature-grid, .rules-grid, .steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.rules-grid { grid-template-columns: repeat(2, 1fr); }
.steps-grid { grid-template-columns: repeat(4, 1fr); }

.box {
  background: var(--panel);
  border: 1px solid var(--border) !important;
  padding: 30px;
  transition: 0.2s;
}
.box:hover {
  border-color: var(--muted) !important;
  background: var(--surface);
}
.box i { font-size: 20px; color: var(--text); margin-bottom: 20px; display: block; }
.box h3 { font-size: 16px; margin-bottom: 15px; }
.box p, .box li { font-size: 12px; color: var(--muted); }
.box ul { list-style: none; }
.box li::before { content: "- "; color: var(--text); }
.box li { margin-bottom: 8px; }

.step-num { font-size: 30px; font-weight: bold; color: var(--success); margin-bottom: 10px; }

/* FAQ */
.faq-item {
  border: 1px solid var(--border) !important;
  background: var(--panel);
  margin-bottom: 10px;
  padding: 20px;
}
.faq-item h3 { font-size: 14px; margin-bottom: 10px; color: var(--text); }
.faq-item p { font-size: 12px; }

/* =========================================================
  CTA & FOOTER
  ========================================================= */
.cta-box {
  background: var(--panel);
  border: 1px solid var(--border) !important;
  padding: 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-box::before {
  content: "/// SYSTEM READY ///";
  position: absolute;
  top: 10px; left: 10px;
  font-size: 10px; color: var(--success);
}
.cta-box h2 { font-size: 32px; margin-bottom: 15px; }

footer {
  border-top: 1px solid var(--border) !important;
  padding: 30px 0;
  text-align: center;
  font-size: 10px;
  color: var(--muted);
  background: var(--panel);
}

/* =========================================================
  ANIMATIONS
  ========================================================= */
@keyframes float {
  0% { transform: translateY(0) rotate(var(--rot)); }
  50% { transform: translateY(-15px) rotate(var(--rot)); }
  100% { transform: translateY(0) rotate(var(--rot)); }
}
.c1 { --rot: -15deg; }
.c2 { --rot: 5deg; }
.c3 { --rot: 20deg; }

/* Scroll Reveal */
.reveal { opacity: 0; transform: translateY(20px); transition: all 0.6s ease-out; }
.reveal.active { opacity: 1; transform: translateY(0); }

/* Blinking Cursor */
.cursor::after { content: '█'; animation: blink 1s step-start infinite; }
@keyframes blink { 50% { opacity: 0; } }

@media(max-width: 900px) {
  .hero-grid, .feature-grid, .rules-grid, .stats-grid, .steps-grid { grid-template-columns: 1fr; }
  .stat-box { border-right: none !important; border-bottom: 1px solid var(--border) !important; }
  .stat-box:last-child { border-bottom: none !important; }
  .nav-links { display: none; }
  .hero h1 { min-height: auto; }
}
