:root {
  --charcoal:   #3F3744;
  --gold:       #FDC123;
  --dark-brown: #3D2E09;
  --blue:       #3507B0;
  --silver:     #8C8491;
  --off-white:  #F7F5F0;
  --bg:         #1c1a20;
  --card:       #2a2730;
  --border:     rgba(253,193,35,0.18);
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; background: var(--bg); color: var(--off-white); overflow-x: hidden; }

/* NAV */
nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; display: flex; align-items: center; justify-content: space-between; padding: 0 5vw; height: 68px; background: rgba(28,26,32,0.92); backdrop-filter: blur(12px); border-bottom: 1px solid var(--border); }
.nav-logo { display: flex; align-items: center; text-decoration: none; }
.nav-logo img { height: 38px; width: auto; display: block; }
.nav-links { display: flex; gap: 32px; list-style: none; }
.nav-links a { font-size: .85rem; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--silver); text-decoration: none; transition: color .2s; }
.nav-links a:hover, .nav-links a.active { color: var(--gold); }
.nav-cta { background: var(--gold); color: var(--dark-brown); font-family: 'Barlow Condensed', sans-serif; font-weight: 700; font-size: 1rem; letter-spacing: .06em; text-transform: uppercase; border: none; cursor: pointer; padding: 10px 24px; border-radius: 4px; text-decoration: none; transition: opacity .2s; }
.nav-cta:hover { opacity: .85; }

/* BLOG HERO */
.blog-hero { padding: 130px 5vw 70px; background: var(--charcoal); position: relative; overflow: hidden; }
.blog-hero::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgba(253,193,35,.03) 1px, transparent 1px), linear-gradient(90deg, rgba(253,193,35,.03) 1px, transparent 1px); background-size: 48px 48px; }
.blog-hero-inner { position: relative; z-index: 2; max-width: 820px; }
.breadcrumb { font-family: 'JetBrains Mono', monospace; font-size: .72rem; color: var(--silver); letter-spacing: .08em; margin-bottom: 28px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.breadcrumb a { color: var(--gold); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.section-label { font-family: 'JetBrains Mono', monospace; font-size: .72rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin-bottom: 16px; }

/* BLOG INDEX GRID */
.blog-list { padding: 70px 5vw 100px; }
h1.page-title { font-family: 'Barlow Condensed', sans-serif; font-size: clamp(2.4rem, 6vw, 4.5rem); font-weight: 900; text-transform: uppercase; line-height: .92; margin-bottom: 20px; }
h1.page-title em { font-style: normal; color: var(--gold); }
.page-intro { font-size: 1rem; color: var(--silver); line-height: 1.7; max-width: 560px; margin-bottom: 60px; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.card { background: var(--card); border: 1px solid var(--border); border-radius: 10px; overflow: hidden; text-decoration: none; display: flex; flex-direction: column; transition: transform .2s, border-color .2s; }
.card:hover { transform: translateY(-4px); border-color: rgba(253,193,35,.4); }
.card-body { padding: 28px 24px; flex: 1; display: flex; flex-direction: column; }
.tag { font-family: 'JetBrains Mono', monospace; font-size: .68rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); margin-bottom: 12px; }
.card-title { font-family: 'Barlow Condensed', sans-serif; font-size: 1.3rem; font-weight: 700; text-transform: uppercase; letter-spacing: .03em; color: var(--off-white); margin-bottom: 10px; line-height: 1.15; }
.card-desc { font-size: .88rem; color: var(--silver); line-height: 1.6; flex: 1; }
.card-meta { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--border); font-family: 'JetBrains Mono', monospace; font-size: .72rem; color: var(--silver); display: flex; gap: 16px; }

/* POST PAGE */
.post-hero { padding: 130px 5vw 60px; background: var(--charcoal); position: relative; overflow: hidden; }
.post-hero::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgba(253,193,35,.03) 1px, transparent 1px), linear-gradient(90deg, rgba(253,193,35,.03) 1px, transparent 1px); background-size: 48px 48px; }
.post-hero-inner { position: relative; z-index: 2; max-width: 820px; }
h1.post-title { font-family: 'Barlow Condensed', sans-serif; font-size: clamp(2rem, 5vw, 4rem); font-weight: 900; text-transform: uppercase; line-height: .92; margin-bottom: 20px; }
h1.post-title em { font-style: normal; color: var(--gold); }
.post-meta { font-family: 'JetBrains Mono', monospace; font-size: .78rem; color: var(--silver); display: flex; gap: 20px; flex-wrap: wrap; }
.post-body { max-width: 820px; margin: 0 auto; padding: 60px 5vw 100px; }
.post-body h2 { font-family: 'Barlow Condensed', sans-serif; font-size: 1.9rem; font-weight: 900; text-transform: uppercase; margin: 48px 0 16px; }
.post-body h3 { font-family: 'Barlow Condensed', sans-serif; font-size: 1.25rem; font-weight: 700; text-transform: uppercase; color: var(--gold); margin: 32px 0 12px; }
.post-body p { color: var(--silver); line-height: 1.8; margin-bottom: 20px; }
.post-body ul, .post-body ol { color: var(--silver); line-height: 1.8; padding-left: 24px; margin-bottom: 20px; }
.post-body li { margin-bottom: 8px; }
.post-body strong { color: var(--off-white); }
.post-body a { color: var(--gold); }
.post-body blockquote { border-left: 3px solid var(--gold); padding: 14px 20px; margin: 28px 0; background: rgba(253,193,35,.05); border-radius: 0 6px 6px 0; }
.post-body blockquote p { color: var(--off-white); margin: 0; }
.post-body table { width: 100%; border-collapse: collapse; margin: 28px 0; font-size: .88rem; }
.post-body th { font-family: 'Barlow Condensed', sans-serif; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; background: var(--card); color: var(--gold); padding: 12px 16px; text-align: left; border-bottom: 2px solid var(--border); }
.post-body td { padding: 12px 16px; border-bottom: 1px solid var(--border); color: var(--silver); }
.post-body tr:last-child td { border-bottom: none; }
.post-body tr:nth-child(even) td { background: rgba(255,255,255,.02); }
.post-cta { margin-top: 60px; padding: 40px; background: var(--card); border: 1px solid var(--border); border-radius: 12px; text-align: center; }
.post-cta h3 { font-family: 'Barlow Condensed', sans-serif; font-size: 1.7rem; font-weight: 900; text-transform: uppercase; margin-bottom: 12px; }
.post-cta p { color: var(--silver); margin-bottom: 24px; }
.post-nav { margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--border); display: flex; gap: 20px; flex-wrap: wrap; }
.btn-primary { background: var(--gold); color: var(--dark-brown); font-family: 'Barlow Condensed', sans-serif; font-weight: 700; font-size: 1.1rem; letter-spacing: .06em; text-transform: uppercase; border: none; cursor: pointer; padding: 14px 36px; border-radius: 4px; text-decoration: none; transition: transform .15s, box-shadow .15s; display: inline-block; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(253,193,35,.3); }
.btn-outline { border: 1.5px solid var(--silver); color: var(--off-white); font-family: 'Barlow Condensed', sans-serif; font-weight: 600; font-size: 1rem; letter-spacing: .06em; text-transform: uppercase; background: transparent; cursor: pointer; padding: 12px 28px; border-radius: 4px; text-decoration: none; transition: border-color .2s, color .2s; display: inline-block; }
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }

/* FOOTER */
footer { background: var(--bg); border-top: 1px solid var(--border); padding: 32px 5vw; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
footer p { font-size: .82rem; color: var(--silver); }
footer strong { color: var(--gold); }
.footer-logo img { height: 28px; width: auto; opacity: .7; }

/* WA */
.wa-float { position: fixed; bottom: 28px; right: 28px; z-index: 200; width: 62px; height: 62px; border-radius: 50%; background: #25D366; display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 24px rgba(37,211,102,.4); text-decoration: none; transition: transform .2s; animation: pulse 2.5s infinite; }
.wa-float:hover { transform: scale(1.1); animation: none; }
.wa-float svg { width: 34px; height: 34px; fill: #fff; }

@keyframes pulse { 0%,100% { box-shadow: 0 6px 24px rgba(37,211,102,.4); } 50% { box-shadow: 0 6px 32px rgba(37,211,102,.7), 0 0 0 12px rgba(37,211,102,.08); } }
@media (max-width: 900px) { .nav-links { display: none; } }
@media (max-width: 600px) { .post-nav { flex-direction: column; } }
