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

:root {
  --black: #050505;
  --red: #FF2D2D;
  --red2: #CC1515;
  --white: #F0F0F0;
  --grey: #0E0E0E;
  --grey2: #1A1A1A;
  --grey3: #222;
  --muted: #555;
  --muted2: #888;
  --font-display: 'Bebas Neue', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

html { scroll-behavior: smooth; }
body { background: var(--black); color: var(--white); font-family: var(--font-body); overflow-x: hidden; }
::-webkit-scrollbar { width: 3px; }
::-webkit-scrollbar-track { background: var(--black); }
::-webkit-scrollbar-thumb { background: var(--red); }

/* NAV */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 999;
  padding: 20px 56px; display: flex; align-items: center; justify-content: space-between;
  background: rgba(5,5,5,0.92); backdrop-filter: blur(24px);
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.nav-logo { display: flex; align-items: center; text-decoration: none; }
.nav-logo img { height: 34px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 32px; list-style: none; }
.nav-links a {
  font-size: 11px; color: var(--muted2); text-decoration: none; font-weight: 500;
  letter-spacing: 1.5px; transition: color 0.2s; text-transform: uppercase; font-family: var(--font-mono);
}
.nav-links a:hover { color: var(--white); }
.nav-cta { background: var(--red) !important; color: white !important; padding: 10px 20px !important; border-radius: 6px !important; }
.nav-cta:hover { background: var(--red2) !important; }

.btn-primary {
  display: inline-flex; align-items: center; gap: 12px;
  background: var(--white); color: var(--black);
  padding: 18px 36px; border-radius: 8px; text-decoration: none;
  font-weight: 700; font-size: 13px; letter-spacing: 1px;
  transition: all 0.25s; font-family: var(--font-mono); text-transform: uppercase;
}
.btn-primary:hover { background: var(--red); color: white; transform: translateY(-2px); box-shadow: 0 20px 60px rgba(255,45,45,0.3); }
.btn-primary svg { width: 20px; height: 20px; flex-shrink: 0; }

/* BLOG INDEX */
.blog-hero { padding: 160px 56px 60px; max-width: 1300px; margin: 0 auto; }
.blog-eyebrow { font-family: var(--font-mono); font-size: 11px; color: var(--red); letter-spacing: 4px; text-transform: uppercase; margin-bottom: 20px; display: flex; align-items: center; gap: 16px; }
.blog-eyebrow::before { content: ''; width: 48px; height: 1px; background: var(--red); }
.blog-hero h1 { font-family: var(--font-display); font-size: clamp(56px, 8vw, 110px); line-height: 0.88; margin-bottom: 20px; }
.blog-hero h1 .r { color: var(--red); }
.blog-hero p { font-size: 17px; color: var(--muted2); max-width: 600px; line-height: 1.7; }

.blog-grid { max-width: 1300px; margin: 0 auto; padding: 0 56px 140px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.blog-card { background: var(--grey); border: 1px solid rgba(255,255,255,0.05); border-radius: 8px; overflow: hidden; text-decoration: none; display: flex; flex-direction: column; transition: all 0.25s; }
.blog-card:hover { border-color: var(--red); transform: translateY(-4px); }
.blog-card img { width: 100%; height: 190px; object-fit: cover; display: block; }
.blog-card-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.blog-tag { font-family: var(--font-mono); font-size: 9px; color: var(--red); letter-spacing: 2px; text-transform: uppercase; margin-bottom: 12px; }
.blog-card h2 { font-family: var(--font-display); font-size: 26px; color: var(--white); line-height: 1.05; margin-bottom: 10px; letter-spacing: 0.5px; }
.blog-card p { font-size: 13px; color: var(--muted2); line-height: 1.6; flex: 1; }
.blog-card .read-more { margin-top: 16px; font-family: var(--font-mono); font-size: 10px; color: var(--muted2); letter-spacing: 1.5px; text-transform: uppercase; }
.blog-card:hover .read-more { color: var(--red); }

/* ARTICLE PAGE */
.article-hero { padding: 150px 24px 50px; max-width: 780px; margin: 0 auto; }
.article-hero .blog-tag { margin-bottom: 20px; }
.article-hero h1 { font-family: var(--font-display); font-size: clamp(40px, 6vw, 68px); line-height: 0.95; margin-bottom: 24px; }
.article-hero .article-sub { font-size: 17px; color: var(--muted2); line-height: 1.7; margin-bottom: 28px; }
.article-meta { font-family: var(--font-mono); font-size: 10px; color: var(--muted); letter-spacing: 1.5px; text-transform: uppercase; display: flex; gap: 20px; }
.article-hero-img { max-width: 900px; margin: 0 auto 60px; padding: 0 24px; }
.article-hero-img img { width: 100%; border-radius: 8px; display: block; }

.article-body { max-width: 720px; margin: 0 auto; padding: 0 24px 60px; font-size: 17px; line-height: 1.8; color: #d4d4d4; }
.article-body h2 { font-family: var(--font-display); font-size: 34px; color: var(--white); margin: 56px 0 20px; letter-spacing: 0.5px; }
.article-body h3 { font-family: var(--font-body); font-weight: 700; font-size: 20px; color: var(--white); margin: 36px 0 14px; }
.article-body p { margin-bottom: 22px; }
.article-body ul, .article-body ol { margin: 0 0 22px 22px; }
.article-body li { margin-bottom: 10px; }
.article-body strong { color: var(--white); font-weight: 700; }
.article-body a { color: var(--red); text-decoration: underline; text-decoration-color: rgba(255,45,45,0.4); }
.article-body blockquote { border-left: 2px solid var(--red); padding: 4px 0 4px 24px; color: var(--muted2); font-style: italic; margin: 32px 0; }
.article-body table { width: 100%; border-collapse: collapse; margin: 24px 0; font-size: 14px; }
.article-body th, .article-body td { text-align: left; padding: 12px 14px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.article-body th { font-family: var(--font-mono); font-size: 10px; color: var(--red); text-transform: uppercase; letter-spacing: 1px; }

.article-cta { max-width: 720px; margin: 0 auto; padding: 48px 32px; background: var(--grey); border: 1px solid rgba(255,45,45,0.15); border-radius: 8px; text-align: center; margin-bottom: 100px; }
.article-cta h3 { font-family: var(--font-display); font-size: 36px; margin-bottom: 12px; }
.article-cta h3 .r { color: var(--red); }
.article-cta p { color: var(--muted2); font-size: 14px; margin-bottom: 28px; }

/* FOOTER */
footer { padding: 36px 56px; border-top: 1px solid rgba(255,255,255,0.04); background: var(--black); display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
.footer-logo img { height: 26px; width: auto; }
.footer-links { display: flex; gap: 28px; list-style: none; flex-wrap: wrap; }
.footer-links a { font-size: 11px; color: var(--muted); text-decoration: none; font-family: var(--font-mono); letter-spacing: 1px; text-transform: uppercase; transition: color 0.2s; }
.footer-links a:hover { color: var(--white); }
.footer-copy { font-size: 10px; color: var(--muted); font-family: var(--font-mono); letter-spacing: 1px; }

@media (max-width: 1024px) {
  nav { padding: 16px 24px; }
  .nav-links { display: none; }
  .blog-hero { padding: 120px 24px 40px; }
  .blog-grid { padding: 0 24px 80px; grid-template-columns: 1fr; }
  footer { padding: 24px; flex-direction: column; text-align: center; }
}
