@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,600;1,9..40,300&display=swap');

:root {
  --bg: #07070d;
  --bg2: #0e0e1a;
  --bg3: #13131f;
  --neon: #00e5ff;
  --hot: #ff1a5e;
  --gold: #ffd166;
  --text: #e8e8f0;
  --muted: #7a7a9a;
  --border: rgba(0,229,255,0.12);
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  font-size: 17px;
  line-height: 1.75;
  overflow-x: hidden;
}

/* ─── NOISE OVERLAY ─── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 1000;
  opacity: 0.4;
}

/* ─── NAV ─── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 999;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  background: rgba(7,7,13,0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.nav-logo {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.6rem;
  letter-spacing: 0.08em;
  color: var(--text);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav-logo span { color: var(--neon); }

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: color 0.2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--neon); }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 5px;
}
.hamburger span {
  width: 24px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s;
}

/* ─── HERO ─── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 120px 60px 80px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('https://images.unsplash.com/photo-1553190166-853a6c2e5a02?w=1600&q=80');
  background-size: cover;
  background-position: center;
  filter: brightness(0.25) saturate(0.8);
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(7,7,13,0.7) 0%, transparent 60%, rgba(7,7,13,0.9) 100%);
}

.hero-glow {
  position: absolute;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,229,255,0.08) 0%, transparent 70%);
  top: -100px; right: -100px;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.hero-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--neon);
  border: 1px solid var(--neon);
  padding: 6px 14px;
  border-radius: 2px;
  margin-bottom: 28px;
  animation: fadeUp 0.8s ease both;
}

.hero h1 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(4rem, 10vw, 9rem);
  line-height: 0.92;
  letter-spacing: 0.02em;
  color: var(--text);
  margin-bottom: 28px;
  animation: fadeUp 0.8s 0.1s ease both;
}

.hero h1 em {
  font-style: normal;
  color: var(--neon);
  display: block;
}

.hero p {
  font-size: 1.15rem;
  color: rgba(232,232,240,0.7);
  max-width: 520px;
  margin-bottom: 44px;
  font-weight: 300;
  animation: fadeUp 0.8s 0.2s ease both;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  animation: fadeUp 0.8s 0.3s ease both;
}

.btn-primary {
  background: var(--neon);
  color: var(--bg);
  padding: 14px 32px;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 2px;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-primary:hover { background: #fff; box-shadow: 0 0 30px rgba(0,229,255,0.4); }

.btn-ghost {
  border: 1px solid rgba(232,232,240,0.3);
  color: var(--text);
  padding: 14px 32px;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 2px;
  transition: all 0.2s;
}
.btn-ghost:hover { border-color: var(--neon); color: var(--neon); }

.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 60px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  animation: fadeUp 0.8s 0.5s ease both;
}
.hero-scroll::before {
  content: '';
  width: 40px; height: 1px;
  background: var(--muted);
}

/* ─── SECTIONS ─── */
.section {
  padding: 100px 60px;
  max-width: 1200px;
  margin: 0 auto;
}

.section-full {
  padding: 100px 60px;
}

.section-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--neon);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.section-label::before {
  content: '';
  width: 30px; height: 1px;
  background: var(--neon);
}

h2 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  line-height: 1;
  letter-spacing: 0.03em;
  color: var(--text);
  margin-bottom: 24px;
}

h3 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  letter-spacing: 0.04em;
  color: var(--text);
  margin-bottom: 16px;
}

h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

p { color: rgba(232,232,240,0.75); margin-bottom: 16px; }
p:last-child { margin-bottom: 0; }

/* ─── STATS BAR ─── */
.stats-bar {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 40px 60px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  text-align: center;
}
.stat-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 3rem;
  color: var(--neon);
  letter-spacing: 0.05em;
  line-height: 1;
}
.stat-label {
  font-size: 0.78rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 6px;
}

/* ─── CARDS GRID ─── */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2px;
}

.card {
  background: var(--bg2);
  padding: 40px;
  border: 1px solid var(--border);
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}
.card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 2px;
  background: linear-gradient(90deg, transparent, var(--neon), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}
.card:hover { background: var(--bg3); transform: translateY(-3px); }
.card:hover::before { opacity: 1; }

.card-icon {
  width: 48px; height: 48px;
  background: rgba(0,229,255,0.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 1.4rem;
}

/* ─── IMAGE SECTIONS ─── */
.img-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.img-split.reverse { direction: rtl; }
.img-split.reverse > * { direction: ltr; }

.img-frame {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  aspect-ratio: 4/3;
}
.img-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}
.img-frame:hover img { transform: scale(1.04); }
.img-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid var(--border);
  border-radius: 4px;
  pointer-events: none;
}

/* ─── DIVIDER ─── */
.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border) 30%, var(--border) 70%, transparent);
  margin: 0 60px;
}

/* ─── ARTICLE CONTENT ─── */
.article-hero {
  min-height: 60vh;
  display: flex;
  align-items: flex-end;
  padding: 120px 60px 80px;
  position: relative;
  overflow: hidden;
}

.article-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: brightness(0.2) saturate(0.7);
}
.article-hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--bg) 0%, transparent 60%);
}

.article-hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.article-body {
  max-width: 800px;
  margin: 0 auto;
  padding: 80px 60px;
}

.article-body h2 {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  margin-top: 60px;
  margin-bottom: 20px;
  padding-top: 60px;
  border-top: 1px solid var(--border);
}
.article-body h2:first-child { margin-top: 0; padding-top: 0; border-top: none; }

.article-body h3 {
  font-size: clamp(1.3rem, 2vw, 1.9rem);
  margin-top: 40px;
  margin-bottom: 14px;
  color: var(--neon);
}

.article-body ul, .article-body ol {
  padding-left: 24px;
  margin-bottom: 20px;
  color: rgba(232,232,240,0.75);
}
.article-body li { margin-bottom: 8px; }

.highlight-box {
  background: rgba(0,229,255,0.06);
  border-left: 3px solid var(--neon);
  padding: 24px 28px;
  margin: 32px 0;
  border-radius: 0 4px 4px 0;
}
.highlight-box p { color: rgba(232,232,240,0.85); margin: 0; }

.article-img {
  width: 100%;
  border-radius: 4px;
  margin: 40px 0;
  object-fit: cover;
  max-height: 450px;
  display: block;
  border: 1px solid var(--border);
}

/* ─── NAV CARDS (internal links) ─── */
.nav-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-top: 60px;
}
.nav-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  padding: 28px;
  text-decoration: none;
  border-radius: 4px;
  transition: all 0.3s;
  display: block;
}
.nav-card:hover { border-color: var(--neon); transform: translateY(-3px); }
.nav-card .nc-label {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--neon);
  margin-bottom: 8px;
  display: block;
}
.nav-card .nc-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.4rem;
  letter-spacing: 0.05em;
  color: var(--text);
}

/* ─── FOOTER ─── */
footer {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  padding: 60px 60px 40px;
}

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

.footer-brand .nav-logo { margin-bottom: 16px; display: flex; }
.footer-brand p { font-size: 0.9rem; color: var(--muted); max-width: 280px; }

.footer-col h5 {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 20px;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a {
  color: rgba(232,232,240,0.6);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--neon); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  color: var(--muted);
}

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

.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible { opacity: 1; transform: none; }

/* ─── RESPONSIVE ─── */
@media (max-width: 900px) {
  nav { padding: 0 24px; }
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 70px; left: 0; right: 0;
    background: var(--bg2);
    padding: 24px;
    gap: 20px;
    border-bottom: 1px solid var(--border);
    z-index: 998;
  }
  .hamburger { display: flex; }

  .hero { padding: 100px 24px 60px; }
  .hero-scroll { left: 24px; }

  .section { padding: 60px 24px; }
  .section-full { padding: 60px 24px; }
  .stats-bar { grid-template-columns: repeat(2,1fr); padding: 30px 24px; }
  .img-split { grid-template-columns: 1fr; gap: 30px; }
  .img-split.reverse { direction: ltr; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  footer { padding: 40px 24px 28px; }
  .article-hero { padding: 100px 24px 60px; }
  .article-body { padding: 50px 24px; }
  .divider { margin: 0 24px; }
}
