/* ============================================================
   SHARED CSS — dze.armatools.com
   Landing page styles. Tool pages have their own stylesheet.
   ============================================================ */
:root {
  --bg:          #0d0d0d;
  --bg-panel:    #111111;
  --bg-card:     #1c1c1c;
  --bg-card2:    #222222;
  --border:      #2a2a2a;
  --border-hi:   #3e5a28;
  --accent:      #4e8a2e;
  --accent-hi:   #62ae3a;
  --accent-dim:  #2e5018;
  --text:        #d0d0d0;
  --text-muted:  #5e5e5e;
  --text-hi:     #eaeaea;
  --danger:      #c0392b;
  --danger-hi:   #e74c3c;
  --radius:      8px;
  --shadow:      0 2px 16px rgba(0,0,0,.6);
  --font:        'Segoe UI', system-ui, -apple-system, sans-serif;
  --mono:        'Consolas', 'Courier New', monospace;
  --max-w:       1100px;
}

/* ============================================================
   RESET / BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { font-size: 15px; scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a { color: var(--accent-hi); text-decoration: none; }
a:hover { color: var(--text-hi); }

code {
  font-family: var(--mono);
  background: #1e1e1e;
  border: 1px solid var(--border);
  border-radius: 3px;
  padding: 1px 5px;
  font-size: .875em;
  color: #98d66e;
}

/* ============================================================
   SITE NAV
   ============================================================ */
.site-nav {
  background: #0a0a0a;
  border-bottom: 1px solid var(--border);
  padding: 0 1.25rem;
  position: sticky;
  top: 0;
  z-index: 100;
}

.site-nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.site-brand {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: 1rem;
  font-weight: 800;
  color: var(--text-hi);
  letter-spacing: .02em;
  text-decoration: none;
}
.site-brand:hover { color: var(--accent-hi); }
.site-brand-icon { font-size: 1.25rem; }
.site-brand-dim { color: var(--text-muted); font-weight: 400; }

.site-nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.site-nav-links a {
  font-size: .875rem;
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: none;
  padding: .25rem 0;
  border-bottom: 2px solid transparent;
  transition: color .15s, border-color .15s;
}
.site-nav-links a:hover,
.site-nav-links a.active {
  color: var(--accent-hi);
  border-bottom-color: var(--accent);
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, #0e1a09 0%, #0d0d0d 60%);
  border-bottom: 1px solid var(--border);
  padding: 5rem 1.25rem 4rem;
  text-align: center;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 680px;
  margin: 0 auto;
}

.hero-eyebrow {
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .78rem;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: .75rem;
}

.hero-title {
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 900;
  color: var(--text-hi);
  line-height: 1.1;
  margin-bottom: 1rem;
  text-shadow: 0 2px 24px rgba(78,138,46,.25);
}

.hero-sub {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.7;
}
.hero-sub strong { color: var(--text); }

/* Decorative dot-grid background */
.hero-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle, rgba(78,138,46,.12) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
}

/* ============================================================
   TOOLS MAIN
   ============================================================ */
.tools-main {
  flex: 1;
  max-width: var(--max-w);
  width: 100%;
  margin: 0 auto;
  padding: 2.5rem 1.25rem 3rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* ============================================================
   TOOLS GRID
   ============================================================ */
.tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1rem;
}

/* ============================================================
   TOOL CARD
   ============================================================ */
.tool-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  text-decoration: none;
  color: inherit;
  transition: border-color .2s, background .2s, transform .15s;
  box-shadow: var(--shadow);
  position: relative;
}

a.tool-card:hover {
  border-color: var(--accent);
  background: #1a2a12;
  transform: translateY(-2px);
}

.tool-card--soon {
  opacity: .45;
  cursor: default;
}

.tool-card-icon {
  font-size: 2rem;
  line-height: 1;
  flex-shrink: 0;
  width: 2.5rem;
  text-align: center;
  filter: drop-shadow(0 0 8px var(--accent));
}
.muted-icon { filter: none; }

.tool-card-body {
  flex: 1;
  min-width: 0;
}

.tool-card-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-hi);
  margin-bottom: .35rem;
}

.tool-card-desc {
  font-size: .85rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: .65rem;
}

.tool-card-tags {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: .35rem;
}

.tool-card-tags li {
  font-size: .72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .04em;
  background: var(--accent-dim);
  color: var(--accent-hi);
  border: 1px solid #3e5a20;
  border-radius: 3px;
  padding: .1rem .45rem;
}

.tool-card-arrow {
  font-size: 1.3rem;
  color: var(--accent);
  align-self: center;
  flex-shrink: 0;
  transition: transform .15s;
}
a.tool-card:hover .tool-card-arrow { transform: translateX(4px); }

/* ============================================================
   PRIVACY NOTE
   ============================================================ */
.privacy-note {
  font-size: .82rem;
  color: var(--text-muted);
  padding: .6rem 1rem;
  border: 1px solid #1e2a10;
  border-radius: var(--radius);
  background: #111a09;
  text-align: center;
}

/* ============================================================
   SITE FOOTER
   ============================================================ */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 1rem 1.25rem;
  font-size: .78rem;
  color: var(--text-muted);
}

.site-footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-links {
  display: flex;
  gap: 1rem;
}
.footer-links a { color: var(--text-muted); }
.footer-links a:hover { color: var(--accent-hi); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 640px) {
  .hero { padding: 3rem 1rem 2.5rem; }
  .tools-grid { grid-template-columns: 1fr; }
  .site-footer-inner { flex-direction: column; text-align: center; }
}
