/* VIKO Landing Page — styles */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --black:  #040D18;
  --card:   #071525;
  --txt:    #F2F9FF;
  --body:   #DCEEF8;
  --dim:    #6AABCC;
  --pri:    #00D4FF;
  --amb:    #FFB347;
  --suc:    #00FF9F;
  --border: #122840;
}

html { scroll-behavior: smooth; }

body {
  background: var(--black);
  color: var(--txt);
  font-family: 'Courier New', Courier, monospace;
  font-size: 17px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

/* ── Scroll reveal ── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: none; }

/* ── Utilities ── */
.label {
  font-size: 11px;
  color: var(--pri);
  letter-spacing: 4px;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.sep { width: 48px; height: 2px; background: var(--pri); margin-bottom: 20px; }
.section-title {
  font-size: 32px; font-weight: bold; color: var(--txt);
  letter-spacing: 2px; line-height: 1.2; margin-bottom: 12px;
}
.section-sub {
  font-size: 16px; color: var(--body);
  max-width: 560px; line-height: 1.8;
}

/* ── Shared buttons ── */
.btn-primary {
  padding: 12px 28px;
  background: var(--pri); color: #000;
  font-family: 'Courier New', monospace;
  font-size: 12px; font-weight: bold; letter-spacing: 2px;
  border: none; border-radius: 2px; cursor: pointer;
  text-decoration: none; display: inline-block;
}
.btn-outline {
  padding: 12px 28px;
  background: transparent; color: var(--pri);
  font-family: 'Courier New', monospace;
  font-size: 12px; letter-spacing: 2px;
  border: 1px solid rgba(0,212,255,0.35); border-radius: 2px;
  cursor: pointer; text-decoration: none; display: inline-block;
  transition: border-color 0.2s, background 0.2s;
}
.btn-outline:hover { border-color: var(--pri); background: rgba(0,212,255,0.05); }

/* ════ HEADER ════ */
header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(4,13,24,0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 0 48px; height: 64px;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-brand { display: flex; align-items: center; gap: 12px; }
.nav-logo { width: 32px; height: 32px; object-fit: contain; }
.nav-name { font-size: 20px; font-weight: bold; color: var(--pri); letter-spacing: 4px; }
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-link {
  font-size: 12px; color: var(--dim); letter-spacing: 2px;
  text-decoration: none; text-transform: uppercase; transition: color 0.2s;
}
.nav-link:hover { color: var(--pri); }
.nav-cta {
  padding: 8px 20px; background: var(--pri); color: #000;
  font-family: 'Courier New', monospace; font-size: 11px;
  font-weight: bold; letter-spacing: 2px;
  border-radius: 2px; text-decoration: none;
}

/* ════ HERO ════ */
.hero {
  position: relative; height: 600px;
  overflow: hidden; display: flex; align-items: center;
  border-bottom: 1px solid var(--border);
}

/* Layer 1 — faint screenshot BG */
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: top left; opacity: 0.35; }

/* Layer 2 — gradient overlays */
.hero-fade-top {
  position: absolute; top: 0; left: 0; right: 0; height: 80px;
  background: linear-gradient(to bottom, #040D18, transparent); z-index: 2;
}
.hero-fade-left {
  position: absolute; left: 0; top: 0; bottom: 0; width: 65%;
  background: linear-gradient(to right, rgba(4,13,24,0.92) 40%, transparent 100%); z-index: 2;
}
.hero-fade-bottom {
  position: absolute; bottom: 0; left: 0; right: 0; height: 140px;
  background: linear-gradient(to bottom, transparent, #040D18); z-index: 2;
}

/* Layer 3 — HUD circle */
.hero-hud {
  position: absolute; left: 50%; top: 50%;
  transform: translate(-5%, -50%);
  width: 820px; height: 820px; z-index: 3; opacity: 0.78;
}
.hero-hud svg { width: 100%; height: 100%; }

/* Layer 4 — text content */
.hero-content {
  position: relative; z-index: 5;
  padding: 0 64px; width: 54%;
  display: flex; flex-direction: column; gap: 16px;
}

.hero-eyebrow { font-size: 11px; color: var(--pri); letter-spacing: 5px; text-transform: uppercase; }
.hero-title {
  font-size: 80px; font-weight: bold; color: var(--pri);
  letter-spacing: 8px; line-height: 1;
  text-shadow: 0 0 40px rgba(0,212,255,0.3);
}
.hero-tagline { font-size: 20px; color: var(--txt); line-height: 1.5; max-width: 380px; }
.hero-desc { font-size: 16px; color: var(--body); line-height: 1.8; max-width: 380px; }
.hero-cta { display: flex; gap: 12px; margin-top: 8px; }

/* Voice bar */
.voice-bar { display: flex; gap: 4px; align-items: center; height: 28px; margin: 4px 0; }
.voice-bar span {
  display: inline-block; width: 4px; background: var(--pri);
  border-radius: 2px; animation: vbar 0.9s ease-in-out infinite alternate;
}
.voice-bar span:nth-child(1){height:6px;  animation-delay:0.00s; opacity:0.25}
.voice-bar span:nth-child(2){height:12px; animation-delay:0.10s; opacity:0.50}
.voice-bar span:nth-child(3){height:22px; animation-delay:0.05s}
.voice-bar span:nth-child(4){height:28px; animation-delay:0.15s}
.voice-bar span:nth-child(5){height:22px; animation-delay:0.08s}
.voice-bar span:nth-child(6){height:14px; animation-delay:0.20s; opacity:0.60}
.voice-bar span:nth-child(7){height:8px;  animation-delay:0.25s; opacity:0.35}
.voice-bar span:nth-child(8){height:18px; animation-delay:0.12s; opacity:0.70}
.voice-bar span:nth-child(9){height:10px; animation-delay:0.18s; opacity:0.40}
@keyframes vbar { from { transform: scaleY(0.25); } to { transform: scaleY(1); } }

/* ════ WHY VIKO ════ */
.story {
  padding: 96px 64px;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: center;
  border-bottom: 1px solid var(--border);
}
.story-title {
  font-size: 36px; font-weight: bold; color: var(--txt);
  letter-spacing: 2px; line-height: 1.3; margin-bottom: 24px;
}
.story-title em { color: var(--pri); font-style: normal; }
.story-body { font-size: 16px; color: var(--body); line-height: 2; }
.story-body p + p { margin-top: 16px; }
.story-body em { color: var(--txt); font-style: italic; }

.story-stats { display: flex; flex-direction: column; gap: 24px; }
.stat-block {
  padding: 28px 32px; background: var(--card);
  border: 1px solid var(--border); border-left: 3px solid var(--pri);
}
.stat-block.amber { border-left-color: var(--amb); }
.stat-block.green  { border-left-color: var(--suc); }
.stat-number {
  font-size: 40px; font-weight: bold; color: var(--pri);
  letter-spacing: 2px; line-height: 1; margin-bottom: 6px;
}
.stat-block.amber .stat-number { color: var(--amb); }
.stat-block.green  .stat-number { color: var(--suc); }
.stat-label { font-size: 13px; color: var(--body); letter-spacing: 1px; }

/* ════ FEATURES ════ */
.features { padding: 96px 64px; border-bottom: 1px solid var(--border); }
.features-intro { margin-bottom: 48px; }
.features-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1px; background: var(--border);
  border: 1px solid var(--border);
}
.feature-card {
  background: var(--card); padding: 28px 24px;
  display: flex; flex-direction: column; gap: 10px;
  transition: background 0.2s;
}
.feature-card:hover { background: #0D2038; }
.feature-icon { font-size: 20px; color: var(--pri); line-height: 1; }
.feature-card.amber .feature-icon { color: var(--amb); }
.feature-card.green  .feature-icon { color: var(--suc); }
.feature-name { font-size: 13px; font-weight: bold; color: var(--txt); letter-spacing: 1.5px; line-height: 1.3; }
.feature-desc { font-size: 14px; color: var(--body); line-height: 1.7; flex: 1; }

/* ════ SCREENSHOTS ════ */
.screenshots { padding: 96px 64px; background: var(--card); border-bottom: 1px solid var(--border); }
.screenshots-intro { margin-bottom: 48px; }
.screenshots-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.shot-card { border: 1px solid var(--border); overflow: hidden; transition: border-color 0.2s; }
.shot-card:hover { border-color: rgba(0,212,255,0.4); }
.shot-img { width: 100%; aspect-ratio: 16/10; overflow: hidden; background: #000; display: flex; align-items: center; justify-content: center; font-size: 11px; color: #1a3a5a; }
.shot-img img { width: 100%; height: 100%; object-fit: cover; object-position: top left; display: block; }
.shot-caption { padding: 14px 16px; border-top: 1px solid var(--border); font-size: 14px; color: var(--body); letter-spacing: 1px; }
.shot-caption strong { display: block; color: var(--txt); margin-bottom: 2px; letter-spacing: 2px; }

/* ════ GITHUB CTA ════ */
.github-cta {
  padding: 96px 64px; border-bottom: 1px solid var(--border);
  text-align: center; display: flex; flex-direction: column;
  align-items: center; gap: 20px;
}
.github-cta .label { text-align: center; }
.github-cta-title { font-size: 36px; font-weight: bold; color: var(--txt); letter-spacing: 2px; line-height: 1.3; }
.github-cta-title span { color: var(--pri); }
.github-cta-sub { font-size: 16px; color: var(--body); max-width: 480px; line-height: 1.8; }
.github-tech { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 8px; }
.tech-pill { padding: 6px 14px; background: transparent; border: 1px solid var(--border); font-size: 12px; color: var(--dim); letter-spacing: 1px; border-radius: 2px; }
.tech-pill.cyan  { border-color: rgba(0,212,255,0.35); color: var(--pri); }
.tech-pill.amber { border-color: rgba(255,179,71,0.35); color: var(--amb); }

/* ════ FOOTER ════ */
footer { padding: 40px 64px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px; }
.footer-brand { display: flex; align-items: center; gap: 10px; }
.footer-logo { width: 24px; height: 24px; object-fit: contain; opacity: 0.8; }
.footer-name { font-size: 18px; font-weight: bold; color: var(--pri); letter-spacing: 4px; }
.footer-center { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.footer-links { display: flex; gap: 24px; }
.footer-link { font-size: 12px; color: var(--dim); letter-spacing: 1.5px; text-decoration: none; text-transform: uppercase; }
.footer-link:hover { color: var(--pri); }
.footer-email { font-size: 12px; color: var(--dim); text-decoration: none; }
.footer-email:hover { color: var(--pri); }
.footer-copy { font-size: 11px; color: var(--dim); }

/* ════ RESPONSIVE ════ */

/* Tablet (≤900px) */
@media (max-width: 900px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .screenshots-grid { grid-template-columns: repeat(2, 1fr); }
  .story { grid-template-columns: 1fr; gap: 48px; padding: 64px 40px; }
  .hero-content { width: 70%; padding: 0 40px; }
  .hero-hud { width: 600px; height: 600px; }
  .hero-title { font-size: 64px; }
  .features { padding: 64px 40px; }
  .screenshots { padding: 64px 40px; }
  .github-cta { padding: 64px 40px; }
  footer { padding: 32px 40px; }
}

/* Mobile (≤600px) */
@media (max-width: 600px) {
  header { padding: 0 20px; }
  .nav-links .nav-link { display: none; }
  .nav-cta { font-size: 10px; padding: 7px 14px; }

  .hero { height: auto; min-height: 500px; padding: 80px 0 48px; }
  .hero-hud { right: 50%; transform: translate(50%, -50%); width: 420px; height: 420px; opacity: 0.2; }
  .hero-fade-left { width: 100%; background: rgba(4,13,24,0.75); }
  .hero-content { width: 100%; padding: 0 24px; }
  .hero-title { font-size: 52px; letter-spacing: 6px; }
  .hero-tagline { font-size: 18px; }
  .hero-desc { font-size: 14px; }
  .hero-cta { flex-direction: column; gap: 10px; }
  .btn-primary, .btn-outline { width: 100%; text-align: center; }

  .story { padding: 56px 24px; gap: 36px; }
  .story-title { font-size: 26px; }
  .story-body { font-size: 15px; }

  .features { padding: 56px 24px; }
  .features-grid { grid-template-columns: 1fr; }
  .section-title { font-size: 24px; }

  .screenshots { padding: 56px 24px; }
  .screenshots-grid { grid-template-columns: 1fr; }

  .github-cta { padding: 56px 24px; }
  .github-cta-title { font-size: 26px; }
  .github-cta-sub { font-size: 14px; }

  footer { padding: 28px 24px; flex-direction: column; align-items: flex-start; gap: 16px; }
  .footer-center { align-items: flex-start; }
}
