/* Čudokan Landing Page — Dark Arcade Aesthetic */
@import url('https://fonts.googleapis.com/css2?family=Press+Start+2P&family=Share+Tech+Mono&family=Bebas+Neue&display=swap');

/* ─── DESIGN TOKENS ────────────────────────────────────────── */
:root {
  --bg:          #060809;
  --bg-card:     #0c1014;
  --bg-dark:     #04060a;
  --accent:      #00ff66;
  --accent-dim:  #00cc50;
  --accent-glow: rgba(0, 255, 102, 0.22);
  --gold:        #d4a853;
  --gold-glow:   rgba(212, 168, 83, 0.25);
  --text:        #dde8e0;
  --text-muted:  #4a5e52;
  --border:      rgba(0, 255, 102, 0.12);
  --border-gold: rgba(212, 168, 83, 0.2);

  --font-pixel:  'Press Start 2P', monospace;
  --font-mono:   'Share Tech Mono', monospace;
  --font-display:'Bebas Neue', sans-serif;
}

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

html { scroll-behavior: smooth; }

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

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

/* ─── AMBIENT BACKGROUND ───────────────────────────────────── */
.ambient-layer {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.ambient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.3;
}
.orb-1 {
  width: 600px; height: 600px;
  top: -200px; left: -150px;
  background: radial-gradient(circle, var(--accent) 0%, transparent 70%);
  animation: orbFloat 18s ease-in-out infinite alternate;
}
.orb-2 {
  width: 500px; height: 500px;
  bottom: -100px; right: -100px;
  background: radial-gradient(circle, rgba(212, 168, 83, 0.6) 0%, transparent 70%);
  animation: orbFloat 22s ease-in-out infinite alternate-reverse;
}
@keyframes orbFloat {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(40px, 30px) scale(1.12); }
}

.scan-lines {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(0, 0, 0, 0.04) 2px,
    rgba(0, 0, 0, 0.04) 4px
  );
}

.grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 255, 102, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 255, 102, 0.025) 1px, transparent 1px);
  background-size: 60px 60px;
}

/* ─── LAYOUT UTILITIES ─────────────────────────────────────── */
.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 32px;
  position: relative;
  z-index: 1;
}

.section {
  padding: 100px 0;
  position: relative;
  z-index: 1;
}

.section-dark { background: var(--bg-dark); }

/* ─── NAV ──────────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 16px 32px;
  transition: background 0.3s, border-color 0.3s;
  border-bottom: 1px solid transparent;
}

.nav.scrolled {
  background: rgba(6, 8, 9, 0.92);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-color: var(--border);
}

.nav-inner {
  max-width: 1140px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-pixel);
  font-size: 11px;
  color: var(--accent);
  text-shadow: 0 0 12px var(--accent-glow);
  flex-shrink: 0;
}

.nav-icon {
  width: 28px;
  height: 28px;
  object-fit: contain;
  image-rendering: pixelated;
  filter: drop-shadow(0 0 6px var(--accent-glow));
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 28px;
  margin-left: auto;
}

.nav-links a {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-muted);
  letter-spacing: 0.5px;
  transition: color 0.2s;
}

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

/* ─── BUTTONS ──────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-pixel);
  font-size: 9px;
  letter-spacing: 0.5px;
  padding: 13px 22px;
  cursor: pointer;
  transition: all 0.18s;
  border: none;
  text-decoration: none;
}

.btn-primary {
  background: var(--accent);
  color: #050d07;
  box-shadow: 0 0 24px var(--accent-glow), 0 4px 16px rgba(0,0,0,0.5);
}
.btn-primary:hover {
  background: #00e85a;
  box-shadow: 0 0 40px rgba(0, 255, 102, 0.5), 0 8px 24px rgba(0,0,0,0.6);
  transform: translateY(-2px);
}
.btn-primary:active { transform: translateY(0); }

.btn-ghost {
  background: transparent;
  color: var(--text-muted);
  border: 1px solid var(--border);
  font-size: 9px;
}
.btn-ghost:hover {
  color: var(--text);
  border-color: rgba(0, 255, 102, 0.4);
  box-shadow: 0 0 12px rgba(0, 255, 102, 0.1);
}

.btn-nav {
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--accent);
  font-size: 8px;
  padding: 10px 18px;
  margin-left: auto;
}
.btn-nav:hover {
  background: var(--accent);
  color: #050d07;
}

.btn-large { font-size: 11px; padding: 18px 36px; }

/* ─── HERO ─────────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 32px 80px;
  position: relative;
  z-index: 1;
}

.hero-eyebrow {
  margin-bottom: 28px;
  animation: fadeDown 0.8s ease both;
}

.badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 2px;
  padding: 6px 16px;
  border: 1px solid var(--border);
  background: rgba(0, 255, 102, 0.06);
  color: var(--accent);
}

.badge-live { animation: pulse-badge 2.5s ease-in-out infinite; }
@keyframes pulse-badge {
  0%, 100% { box-shadow: 0 0 0 0 var(--accent-glow); }
  50% { box-shadow: 0 0 0 6px transparent; }
}

.hero-title-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.hero-title {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  font-family: var(--font-display);
  line-height: 0.9;
  letter-spacing: 2px;
}

.title-line {
  display: block;
  color: var(--text);
  opacity: 0;
  transform: translateX(-40px);
}
.title-line.line-1 { font-size: clamp(72px, 12vw, 140px); animation: slideRight 0.7s 0.1s ease forwards; }
.title-line.line-2 { font-size: clamp(42px, 7vw, 84px);  color: var(--accent); text-shadow: 0 0 40px var(--accent-glow); animation: slideRight 0.7s 0.25s ease forwards; }
.title-line.line-3 { font-size: clamp(72px, 12vw, 140px); animation: slideRight 0.7s 0.4s ease forwards; }

@keyframes slideRight {
  to { opacity: 1; transform: translateX(0); }
}

/* Hero icon */
.hero-icon-wrap {
  position: relative;
  width: 180px;
  height: 180px;
  flex-shrink: 0;
  animation: fadeIn 1s 0.5s ease both;
}

.icon-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
}
.ring-outer {
  width: 160px; height: 160px;
  border-color: var(--border);
  animation: spin-ring 20s linear infinite;
}
.ring-inner {
  width: 120px; height: 120px;
  border-color: var(--border-gold);
  animation: spin-ring 14s linear infinite reverse;
}
@keyframes spin-ring {
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

.hero-icon {
  width: 100px;
  height: 100px;
  object-fit: contain;
  image-rendering: pixelated;
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  filter: drop-shadow(0 0 20px var(--accent-glow));
  animation: iconPulse 4s ease-in-out infinite;
}
@keyframes iconPulse {
  0%, 100% { filter: drop-shadow(0 0 20px var(--accent-glow)); }
  50% { filter: drop-shadow(0 0 40px rgba(0, 255, 102, 0.5)); }
}

.hero-sub {
  font-family: var(--font-mono);
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 520px;
  margin: 0 auto 36px;
  animation: fadeUp 0.8s 0.6s ease both;
}
.hero-sub em { color: var(--gold); font-style: normal; }

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 56px;
  flex-wrap: wrap;
  animation: fadeUp 0.8s 0.75s ease both;
}

/* Hero counter stats */
.hero-stats {
  display: flex;
  align-items: center;
  gap: 0;
  animation: fadeUp 0.8s 0.9s ease both;
  border: 1px solid var(--border);
  background: rgba(12, 16, 20, 0.7);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.hstat {
  padding: 20px 40px;
  text-align: center;
}

.hstat-value {
  display: block;
  font-family: var(--font-display);
  font-size: 52px;
  color: var(--accent);
  text-shadow: 0 0 20px var(--accent-glow);
  line-height: 1;
}

.hstat-unit {
  font-family: var(--font-display);
  font-size: 28px;
  color: var(--accent-dim);
}

.hstat-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-top: 6px;
}

.hstat-divider {
  width: 1px;
  height: 60px;
  background: var(--border);
  flex-shrink: 0;
}

/* Scroll hint */
.hero-scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 3px;
  color: var(--text-muted);
  animation: fadeUp 1s 1.4s ease both;
}

.scroll-arrow {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--accent), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.2); }
}

/* ─── SECTION HEADERS ──────────────────────────────────────── */
.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 4px;
  color: var(--accent);
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(44px, 6vw, 72px);
  line-height: 1;
  letter-spacing: 2px;
  color: var(--text);
}

/* ─── FEATURES GRID ────────────────────────────────────────── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--border);
}

.feature-card {
  background: var(--bg-card);
  padding: 40px 32px;
  position: relative;
  overflow: hidden;
  cursor: default;
  transition: background 0.3s;
  animation: fadeUp 0.6s var(--delay, 0ms) ease both;
}

.feature-card:hover { background: #0f1820; }
.feature-card:hover .feature-glow { opacity: 1; }

.feature-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 0% 100%, var(--accent-glow) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}

.feature-icon {
  font-size: 32px;
  margin-bottom: 20px;
  display: block;
}

.feature-name {
  font-family: var(--font-pixel);
  font-size: 9px;
  color: var(--gold);
  letter-spacing: 1px;
  margin-bottom: 14px;
  text-shadow: 0 0 8px var(--gold-glow);
}

.feature-desc {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ─── HOW IT WORKS ─────────────────────────────────────────── */
.steps-wrap {
  max-width: 700px;
  margin: 0 auto;
  position: relative;
}

.step-line {
  position: absolute;
  left: 40px;
  top: 28px;
  bottom: 28px;
  width: 1px;
  background: linear-gradient(to bottom, var(--accent), var(--gold), transparent);
  opacity: 0.3;
}

.step {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  padding: 40px 0;
  border-bottom: 1px solid var(--border);
  position: relative;
}
.step:last-child { border-bottom: none; }

.step-num {
  font-family: var(--font-display);
  font-size: 72px;
  color: var(--accent);
  opacity: 0.15;
  line-height: 1;
  flex-shrink: 0;
  min-width: 80px;
  text-align: center;
  transition: opacity 0.3s;
}
.step:hover .step-num { opacity: 0.5; }

.step-title {
  font-family: var(--font-pixel);
  font-size: 10px;
  color: var(--text);
  letter-spacing: 1px;
  margin-bottom: 14px;
}

.step-desc {
  font-family: var(--font-mono);
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
}
.step-desc strong { color: var(--accent); }
.step-desc em { color: var(--gold); font-style: normal; }

/* ─── MARQUEE ──────────────────────────────────────────────── */
.marquee-wrap {
  overflow: hidden;
  padding: 20px 0;
  background: var(--accent);
  position: relative;
  z-index: 1;
}

.marquee-track {
  display: flex;
  gap: 40px;
  white-space: nowrap;
  animation: marquee 30s linear infinite;
  width: max-content;
}

.marquee-track span {
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: 3px;
  color: #050d07;
}

.marquee-dot {
  font-size: 14px !important;
  opacity: 0.5;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ─── CTA ──────────────────────────────────────────────────── */
.section-cta {
  padding: 100px 0;
  position: relative;
  z-index: 1;
}

.cta-box {
  border: 1px solid var(--border);
  background: var(--bg-card);
  padding: 80px 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 800px;
  margin: 0 auto;
}

.cta-bg-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(0,255,102,0.07) 0%, transparent 70%);
  pointer-events: none;
}

.cta-icon {
  width: 64px;
  height: 64px;
  object-fit: contain;
  image-rendering: pixelated;
  margin-bottom: 28px;
  filter: drop-shadow(0 0 16px var(--accent-glow));
}

/* Feature card delay classes (animation-delay per card) */
.feature-delay-0 { --delay: 0ms; }
.feature-delay-1 { --delay: 80ms; }
.feature-delay-2 { --delay: 160ms; }
.feature-delay-3 { --delay: 240ms; }
.feature-delay-4 { --delay: 320ms; }
.feature-delay-5 { --delay: 400ms; }

.cta-title {
  font-family: var(--font-display);
  font-size: clamp(48px, 7vw, 80px);
  line-height: 1;
  letter-spacing: 2px;
  color: var(--text);
  margin-bottom: 20px;
}

.cta-sub {
  font-family: var(--font-mono);
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 480px;
  margin: 0 auto 40px;
}

/* ─── FOOTER ───────────────────────────────────────────────── */
.footer {
  border-top: 1px solid var(--border);
  padding: 40px 32px;
  position: relative;
  z-index: 1;
}

.footer-inner {
  max-width: 1140px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-pixel);
  font-size: 9px;
  color: var(--accent);
}

.footer-copy {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-muted);
  margin-left: auto;
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-muted);
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--accent); }

/* ─── ANIMATIONS ───────────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeDown {
  from { opacity: 0; transform: translateY(-16px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* ─── RESPONSIVE ───────────────────────────────────────────── */
@media (max-width: 900px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-title-wrap { flex-direction: column; gap: 24px; }
  .title-line.line-1, .title-line.line-3 { font-size: 72px; }
  .title-line.line-2 { font-size: 44px; }
  .nav-links { display: none; }
  .hero-stats { flex-wrap: wrap; justify-content: center; }
  .hstat-divider { display: none; }
}

@media (max-width: 600px) {
  .features-grid { grid-template-columns: 1fr; }
  .hstat { padding: 16px 28px; }
  .step { gap: 20px; }
  .step-num { font-size: 48px; min-width: 52px; }
  .cta-box { padding: 50px 28px; }
  .nav { padding: 14px 20px; }
  .container { padding: 0 20px; }
  .footer-copy { margin-left: 0; }
  .btn-large { font-size: 9px; padding: 14px 24px; }
}
