/* 
   CYBERFORGE WHISPER - CORE SYSTEM 7.0
   Design: Industrial Cyber-Luxury
   Typography: Inter + JetBrains Mono
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@100..900&family=JetBrains+Mono:wght@400;700&display=swap');

:root {
  --bg: #020202;
  --surface: #050505;
  --text: #ffffff;
  --text-dim: #444444;
  --accent: #2563eb;
  --accent-glow: rgba(37, 99, 235, 0.3);
  --border: rgba(255, 255, 255, 0.05);
  --font-main: 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --easing: cubic-bezier(0.16, 1, 0.3, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; -webkit-font-smoothing: antialiased; }

html, body { 
  background: var(--bg); 
  color: var(--text); 
  font-family: var(--font-main); 
  overflow-x: hidden;
  width: 100%;
}

/* --- OVERLAYS --- */
.noise { 
  position: fixed; inset: 0; 
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160' viewBox='0 0 160 160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
  opacity: 0.02; pointer-events: none; z-index: 9998; 
}

.scanlines {
  position: fixed; inset: 0;
  background: linear-gradient(to bottom, transparent 50%, rgba(0,0,0,0.1) 50%);
  background-size: 100% 4px;
  pointer-events: none;
  z-index: 9997;
}

/* --- INTRO PRELOADER --- */
#intro-overlay {
  position: fixed; inset: 0; background: #000; z-index: 9999;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.intro-text {
  font-size: clamp(1rem, 3vw, 2rem);
  font-weight: 900;
  letter-spacing: -0.05em;
  color: #fff;
  opacity: 0;
  text-transform: uppercase;
  text-align: center;
  font-family: var(--font-mono);
}

/* --- TYPOGRAPHY --- */
.h-forge { font-weight: 900; letter-spacing: -0.07em; line-height: 0.8; }
.hero-title { font-size: clamp(3.5rem, 12vw, 9rem); }
.section-title { font-size: clamp(2.5rem, 8vw, 5rem); font-weight: 800; letter-spacing: -0.05em; line-height: 0.9; }

.mono-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.4em;
  color: var(--accent);
}

/* --- BUTTONS: STEALTH LUXURY --- */
.btn-forge {
  background: rgba(255,255,255,0.02);
  color: #fff;
  border: 1px solid var(--border);
  padding: 20px 40px;
  border-radius: 2px; /* Industrial Sharp */
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  cursor: pointer;
  transition: all 0.6s var(--easing);
  backdrop-filter: blur(10px);
}

.btn-forge:hover {
  background: rgba(37, 99, 235, 0.1);
  border-color: var(--accent);
  box-shadow: 0 0 40px var(--accent-glow);
  transform: translateY(-2px);
}

.btn-primary-forge {
  background: #fff;
  color: #000;
  padding: 20px 40px;
  border-radius: 2px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border: none;
  cursor: pointer;
  transition: all 0.4s var(--easing);
}

/* --- UI ELEMENTS --- */
.obsidian-card {
  background: #050505;
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
  transition: all 0.8s var(--easing);
}

.obsidian-card:hover {
  border-color: rgba(37, 99, 235, 0.4);
}

.container { max-width: 1600px; margin: 0 auto; padding: 0 80px; }
@media (max-width: 768px) { .container { padding: 0 24px; } }

/* --- LANGUAGE SWITCHER --- */
.lang-btn {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono);
  font-size: 10px; font-weight: 700;
  cursor: pointer;
  transition: all 0.4s var(--easing);
}
.lang-btn:hover { border-color: var(--accent); color: var(--accent); }

/* --- ACCENT TEXT --- */
.text-accent { color: var(--accent); }

/* --- KINETIC LOGO (intro animation) --- */
#kinetic-logo {
  position: fixed;
  top: 0;
  left: 0;
  width: 420px;
  height: auto;
  opacity: 0;
  z-index: 10000;
  pointer-events: none;
}

@media (max-width: 420px) {
  #kinetic-logo {
    width: min(360px, 92vw);
  }
}

/* --- STEALTH BUTTON --- */
.btn-stealth {
  background: transparent;
  color: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 2px;
  padding: 20px 40px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  cursor: pointer;
  transition: all 0.4s var(--easing);
}
.btn-stealth:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.03);
}

/* --- FORGE CARD --- */
.forge-card {
  background: rgba(5, 5, 5, 0.9);
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
  transition: border-color 0.8s var(--easing);
}
.forge-card:hover { border-color: rgba(37, 99, 235, 0.25); }

/* --- LANGUAGE SELECTOR --- */
.lang-selector {
  position: relative;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.35);
  cursor: pointer;
  padding: 8px 14px;
  border: 1px solid var(--border);
  border-radius: 2px;
  user-select: none;
  transition: color 0.3s, border-color 0.3s;
  letter-spacing: 0.15em;
}
.lang-selector:hover { color: #fff; border-color: rgba(255, 255, 255, 0.15); }

.lang-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  min-width: 64px;
  background: #0c0c0c;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 2px;
  overflow: hidden;
  display: none;
  z-index: 200;
}
.lang-selector:hover .lang-dropdown { display: block; }

.lang-item {
  padding: 8px 14px;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: rgba(255, 255, 255, 0.35);
  cursor: pointer;
  transition: color 0.2s, background 0.2s;
}
.lang-item:hover { color: #fff; background: rgba(255, 255, 255, 0.04); }
.lang-item.active { color: var(--accent); }

/* --- SECTION SIDEBAR NAV --- */
.section-dot {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-direction: row-reverse;
}
.dot-pip {
  display: block;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  transition: all 0.4s var(--easing);
  flex-shrink: 0;
}
.dot-label {
  font-family: var(--font-mono);
  font-size: 8px;
  text-transform: uppercase;
  letter-spacing: 0.35em;
  color: rgba(255, 255, 255, 0.18);
  opacity: 0;
  transform: translateX(6px);
  transition: all 0.4s var(--easing);
  white-space: nowrap;
}
.section-dot:hover .dot-label,
.section-dot.active .dot-label {
  opacity: 1;
  transform: translateX(0);
}
.section-dot.active .dot-pip {
  background: var(--accent);
  height: 18px;
  border-radius: 2px;
  box-shadow: 0 0 8px var(--accent-glow);
}
.section-dot:hover:not(.active) .dot-pip {
  background: rgba(255, 255, 255, 0.5);
  height: 8px;
  border-radius: 2px;
}
