@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:ital,wght@0,300;0,400;0,700;0,800;1,400&family=Syne:wght@700;800&display=swap');

:root {
  --bg: #030303;
  --bg-subtle: #0a0a0a;
  --bg-card: #0e0e0e;
  --border: #222222;
  --border-hover: #ffffff;
  --text-main: #ffffff;
  --text-muted: #888888;
  --text-dim: #444444;
  --accent: #ffffff;
  --danger: #ffffff;
  --font-mono: 'JetBrains Mono', monospace;
  --font-display: 'Syne', sans-serif;
  --shadow-glow: 0 0 20px rgba(255, 255, 255, 0.15);
  --shadow-glow-strong: 0 0 30px rgba(255, 255, 255, 0.3);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  background-color: var(--bg);
  color: var(--text-main);
  font-family: var(--font-mono);
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: var(--bg);
  background-image: 
    radial-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(0,0,0,0.8), rgba(3,3,3,1));
  background-size: 24px 24px, 100% 100%;
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

/* Scanline Effect */
body::before {
  content: " ";
  display: block;
  position: fixed;
  top: 0; left: 0; bottom: 0; right: 0;
  background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.25) 50%), linear-gradient(90deg, rgba(255, 0, 0, 0.03), rgba(0, 255, 0, 0.01), rgba(0, 0, 255, 0.03));
  z-index: 9999;
  background-size: 100% 3px, 6px 100%;
  pointer-events: none;
  opacity: 0.6;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: -0.02em;
  font-weight: 800;
  color: #fff;
}

h1 { font-size: clamp(2.2rem, 5vw, 4rem); line-height: 1.05; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.5rem); line-height: 1.15; }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); }

p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

a {
  color: var(--text-main);
  text-decoration: none;
  transition: all 0.2s ease;
}

a:hover {
  color: #fff;
  text-shadow: 0 0 8px rgba(255,255,255,0.6);
}

/* HUD Box Component */
.hud-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  position: relative;
  padding: 24px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.hud-box:hover {
  border-color: var(--border-hover);
  box-shadow: var(--shadow-glow);
}

/* Corner Bracket Accents */
.hud-box::before,
.hud-box::after {
  content: '';
  position: absolute;
  width: 8px;
  height: 8px;
  border: 1px solid #ffffff;
  pointer-events: none;
}

.hud-box::before { top: -1px; left: -1px; border-right: none; border-bottom: none; }
.hud-box::after { bottom: -1px; right: -1px; border-left: none; border-top: none; }

.hud-corners-full::before { top: -1px; right: -1px; border-left: none; border-bottom: none; }

/* Status Badges */
.badge-alert {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  color: #000000;
  font-weight: 800;
  font-size: 0.75rem;
  padding: 4px 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.badge-alert .dot {
  width: 6px;
  height: 6px;
  background: #000;
  border-radius: 50%;
  animation: pulse-dot 1s infinite alternate;
}

@keyframes pulse-dot {
  0% { opacity: 0.2; }
  100% { opacity: 1; }
}

.badge-outline {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--border-hover);
  color: #fff;
  font-size: 0.75rem;
  padding: 4px 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Navigation */
.cyber-nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(3, 3, 3, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.3rem;
  color: #fff;
  letter-spacing: -0.03em;
}

.brand-logo-img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  transition: transform 0.2s ease;
}

.brand-link:hover .brand-logo-img {
  transform: scale(1.1);
}

.brand-logo-icon {
  width: 28px;
  height: 28px;
  background: #fff;
  color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-weight: 800;
  font-size: 0.9rem;
  clip-path: polygon(0 0, 100% 0, 100% 75%, 75% 100%, 0 100%);
}

.hero-logo-display {
  width: 90px;
  height: 90px;
  object-fit: contain;
  margin-bottom: 16px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  list-style: none;
}

.nav-link-item {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  position: relative;
  padding: 4px 0;
}

.nav-link-item:hover, .nav-link-item.active {
  color: #ffffff;
}

.nav-link-item.active::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: #ffffff;
}

/* Cyber Buttons */
.cyber-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 24px;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  cursor: pointer;
  border: 1px solid #ffffff;
  background: transparent;
  color: #ffffff;
  transition: all 0.2s ease;
  position: relative;
  user-select: none;
}

.cyber-btn-primary {
  background: #ffffff;
  color: #000000;
  border-color: #ffffff;
}

.cyber-btn-primary:hover {
  background: #e6e6e6;
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.4);
  transform: translateY(-1px);
}

.cyber-btn-outline:hover {
  background: #ffffff;
  color: #000000;
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
  transform: translateY(-1px);
}

.cyber-btn-sm {
  padding: 8px 16px;
  font-size: 0.75rem;
}

/* Layout Containers */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 80px 0;
  border-bottom: 1px solid var(--border);
}

/* Hero Section */
.hero {
  padding: 100px 0 80px;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 40px;
  align-items: center;
}

.hero-tag {
  margin-bottom: 16px;
}

.hero-title {
  margin-bottom: 24px;
}

.hero-desc {
  font-size: 1.1rem;
  margin-bottom: 36px;
  max-width: 650px;
  color: #cccccc;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

/* Alert Ticker */
.ticker-wrap {
  width: 100%;
  background: #000000;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  padding: 10px 0;
  display: flex;
  align-items: center;
}

.ticker-title {
  background: #ffffff;
  color: #000000;
  font-weight: 800;
  font-size: 0.75rem;
  padding: 4px 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  white-space: nowrap;
  margin-right: 16px;
}

.ticker-content {
  display: flex;
  white-space: nowrap;
  animation: ticker-slide 30s linear infinite;
  font-size: 0.85rem;
  color: var(--text-muted);
}

@keyframes ticker-slide {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Feature & Grid Layouts */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }



/* Footer */
.cyber-footer {
  background: #000000;
  border-top: 1px solid var(--border);
  padding: 60px 0 30px;
  margin-top: auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-bottom {
  border-top: 1px solid #1a1a1a;
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--text-dim);
}

/* Instagram Corner Badge */
.ig-corner-badge {
  position: fixed;
  bottom: 16px;
  right: 16px;
  z-index: 990;
  background: rgba(0, 0, 0, 0.85);
  border: 1px solid var(--border);
  padding: 6px 12px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  text-decoration: none;
  backdrop-filter: blur(8px);
  transition: all 0.2s ease;
}

.ig-corner-badge:hover {
  color: #ffffff;
  border-color: var(--border-hover);
  background: #000000;
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.25);
}

/* Language Dropdown Selector */
.cyber-lang-select {
  background: #000000;
  color: #ffffff;
  border: 1px solid var(--border);
  padding: 6px 10px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  cursor: pointer;
  outline: none;
  transition: all 0.2s ease;
}

.cyber-lang-select:hover, .cyber-lang-select:focus {
  border-color: #ffffff;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.25);
}

/* Mobile Responsiveness */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .nav-links.mobile-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: #050505;
    border-bottom: 1px solid #333;
    padding: 20px;
  }
}
