/* ===== REDITUS PROJECT — STYLE SYSTEM v2 ===== */
/* DNA: Terminal aesthetic */
/* Accent: Warm Gold — investment, value, return */

@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@400;500;600;700&family=IBM+Plex+Sans:wght@400;500;600&display=swap');

:root {
  --bg: #0a0e14;
  --bg-light: #0f1419;
  --bg-surface: #111820;
  --text: #c5cdd8;
  --text-bright: #e8ecf1;
  --text-dim: #6b7a8d;
  --accent: #D4A84B;
  --accent-bright: #E4BE6A;
  --accent-dim: #A68438;
  --green: #59c990;
  --border: #1e2a38;
  --font-mono: 'IBM Plex Mono', 'Courier New', monospace;
  --font-body: 'IBM Plex Sans', 'Helvetica Neue', Arial, sans-serif;
  --max-w: 740px;
}

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

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

.scanline {
  position: fixed; top: 0; left: 0; width: 100%; height: 100%;
  background: repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(0,0,0,0.03) 2px, rgba(0,0,0,0.03) 4px);
  pointer-events: none; z-index: 9999;
}

.container { max-width: var(--max-w); margin: 0 auto; padding: 0 1.5rem; }

/* ===== HEADER ===== */
.site-header {
  display: flex; justify-content: space-between; align-items: center;
  padding: 1.5rem 0; border-bottom: 1px solid var(--border);
}
.logo-mark { display: flex; align-items: center; gap: 0.5rem; }
.prompt-char {
  color: var(--accent); font-size: 1.1rem;
  animation: blink 1.2s step-end infinite;
}
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .prompt-char { animation: none; } }
.logo-text {
  font-family: var(--font-mono); font-weight: 700; font-size: 0.95rem;
  letter-spacing: 0.15em; color: var(--text-bright); text-decoration: none;
}
.top-nav { display: flex; gap: 1.25rem; align-items: center; }
.top-nav a {
  font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.05em;
  color: var(--text-dim); text-decoration: none; transition: color 0.2s;
}
.top-nav a:hover { color: var(--text-bright); }
.nav-cta {
  color: var(--accent) !important; border: 1px solid var(--accent-dim);
  padding: 0.35rem 0.85rem; font-weight: 600;
}
.nav-cta:hover { background: var(--accent-dim); color: var(--bg) !important; }

/* ===== HERO ===== */
.hero { padding: 3rem 0 1.5rem; }
.system-line {
  font-family: var(--font-mono); font-size: 0.85rem; color: var(--accent);
  letter-spacing: 0.05em; margin-bottom: 1rem;
}
.page-title {
  font-family: var(--font-mono); font-weight: 700;
  font-size: clamp(1.6rem, 4vw, 2.4rem); color: var(--text-bright);
  line-height: 1.3; letter-spacing: -0.01em;
}
.hero-sub {
  margin-top: 1rem; color: var(--text);
  font-size: 1.05rem; line-height: 1.75;
}

/* ===== CONTENT ===== */
.content-block { padding: 2rem 0; }
.content-block h2 {
  font-family: var(--font-mono); font-size: 1rem; font-weight: 600;
  color: var(--accent); text-transform: uppercase;
  letter-spacing: 0.12em; margin-bottom: 1.25rem;
}
.content-block p { margin-bottom: 1rem; }
.content-block p:last-child { margin-bottom: 0; }

.terminal-block {
  background: var(--bg-light); border-left: 3px solid var(--accent-dim);
  padding: 1.25rem 1.5rem; margin: 1.25rem 0;
  font-family: var(--font-mono); font-size: 0.9rem;
  line-height: 1.7; color: var(--text);
}
.terminal-block p { margin-bottom: 0.75rem; }

.divider {
  color: var(--border); text-align: center; padding: 0.5rem 0;
  font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.1em;
  user-select: none;
}

/* ===== PRODUCT GRID ===== */
.product-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem;
  margin: 1.5rem 0;
}
.product-card {
  background: var(--bg-light); border: 1px solid var(--border);
  padding: 1.5rem; display: flex; flex-direction: column;
  transition: border-color 0.2s;
}
.product-card:hover { border-color: var(--accent-dim); }
.product-card .card-tag {
  font-family: var(--font-mono); font-size: 0.65rem; letter-spacing: 0.1em;
  text-transform: uppercase; padding: 0.15rem 0.5rem; display: inline-block;
  margin-bottom: 0.75rem; width: fit-content;
}
.card-tag.cert { background: rgba(212,168,75,0.15); color: var(--accent); }
.card-tag.home { background: rgba(89,201,144,0.15); color: var(--green); }
.card-tag.vet { background: rgba(200,120,80,0.15); color: #c87850; }
.card-tag.tools { background: rgba(140,160,200,0.15); color: #8ca0c8; }
.product-card h3 {
  font-family: var(--font-mono); font-size: 0.95rem; font-weight: 600;
  color: var(--text-bright); margin-bottom: 0.5rem; line-height: 1.4;
}
.product-card .card-desc {
  font-size: 0.88rem; color: var(--text-dim); line-height: 1.55;
  flex: 1; margin-bottom: 0.75rem;
}
.product-card .card-footer {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 0.75rem; border-top: 1px solid var(--border);
}
.product-card .card-price {
  font-family: var(--font-mono); font-weight: 700; color: var(--green);
}
.product-card .card-link {
  font-family: var(--font-mono); font-size: 0.8rem;
  color: var(--accent); text-decoration: none; font-weight: 600;
}
.product-card .card-link:hover { color: var(--accent-bright); }

/* Featured product - full width */
.product-featured {
  background: var(--bg-light); border: 2px solid var(--accent);
  padding: 2rem 1.5rem; margin: 1.5rem 0;
}
.product-featured h3 {
  font-family: var(--font-mono); font-weight: 700;
  font-size: 1.2rem; color: var(--text-bright); margin-bottom: 0.5rem;
}
.product-featured .feat-meta {
  font-family: var(--font-mono); font-size: 0.8rem; color: var(--text-dim);
  margin-bottom: 1rem;
}
.product-featured .feat-price {
  font-family: var(--font-mono); font-size: 1.5rem; font-weight: 700;
  color: var(--green); margin: 1rem 0 0.25rem;
}
.product-featured .feat-includes {
  list-style: none; padding: 0; margin: 1rem 0;
  font-family: var(--font-mono); font-size: 0.85rem;
}
.product-featured .feat-includes li {
  padding: 0.3rem 0; border-bottom: 1px solid var(--border);
}
.product-featured .feat-includes li::before {
  content: "+ "; color: var(--green); font-weight: 700;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-block; font-family: var(--font-mono); font-size: 0.85rem;
  font-weight: 600; letter-spacing: 0.08em; text-decoration: none;
  padding: 0.75rem 1.75rem; transition: all 0.2s; cursor: pointer;
}
.btn-primary {
  background: var(--accent); color: var(--bg); border: 1px solid var(--accent);
}
.btn-primary:hover { background: var(--accent-bright); }
.btn-secondary {
  background: transparent; color: var(--accent);
  border: 1px solid var(--accent-dim);
}
.btn-secondary:hover { background: rgba(212,168,75,0.1); }
.btn-full { width: 100%; text-align: center; }

/* ===== STAT LINE ===== */
.stat-line {
  display: flex; justify-content: space-around; padding: 1.5rem 0;
  flex-wrap: wrap; gap: 1rem;
}
.stat-item { text-align: center; }
.stat-item .stat-num {
  font-family: var(--font-mono); font-size: 1.2rem; font-weight: 700;
  color: var(--accent); display: block;
}
.stat-item .stat-label {
  font-family: var(--font-mono); font-size: 0.7rem; color: var(--text-dim);
  letter-spacing: 0.08em; text-transform: uppercase;
}

/* ===== EMAIL CAPTURE ===== */
.email-capture {
  background: var(--bg-light); border: 1px solid var(--accent-dim);
  padding: 2rem 1.5rem; margin: 1.5rem 0; text-align: center;
}
.email-capture h3 {
  font-family: var(--font-mono); font-size: 1rem; font-weight: 600;
  color: var(--text-bright); margin-bottom: 0.5rem;
}
.email-capture p { color: var(--text-dim); font-size: 0.9rem; margin-bottom: 1rem; }
.email-form { display: flex; gap: 0.5rem; max-width: 440px; margin: 0 auto; }
.email-form input {
  flex: 1; padding: 0.65rem 0.85rem;
  background: var(--bg); border: 1px solid var(--border);
  color: var(--text-bright); font-family: var(--font-body); font-size: 0.95rem;
}
.email-form input:focus { outline: none; border-color: var(--accent); }

/* ===== BLOG PREVIEW ===== */
.post-list { list-style: none; padding: 0; margin: 1.5rem 0; }
.post-item {
  padding: 1rem 0; border-bottom: 1px solid var(--border);
  display: flex; justify-content: space-between; align-items: baseline;
  gap: 1rem;
}
.post-item a {
  font-family: var(--font-mono); font-size: 0.9rem;
  color: var(--text-bright); text-decoration: none; font-weight: 500;
}
.post-item a:hover { color: var(--accent); }
.post-item .post-tag {
  font-family: var(--font-mono); font-size: 0.65rem;
  color: var(--text-dim); letter-spacing: 0.08em; text-transform: uppercase;
  white-space: nowrap;
}

/* ===== PAGE NAV ===== */
.page-nav {
  display: flex; justify-content: space-between; padding: 2rem 0;
  border-top: 1px solid var(--border); margin-top: 1rem;
}
.page-nav a {
  font-family: var(--font-mono); font-size: 0.8rem;
  color: var(--text-dim); text-decoration: none; letter-spacing: 0.05em;
}
.page-nav a:hover { color: var(--accent); }

/* ===== FOOTER ===== */
footer {
  border-top: 1px solid var(--border); padding: 1.5rem 0; margin-top: 2rem;
}
.footer-content {
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--font-mono); font-size: 0.7rem; color: var(--text-dim);
}
.footer-links a { color: var(--text-dim); text-decoration: none; }
.footer-links a:hover { color: var(--accent); }

/* ===== RESPONSIVE ===== */
@media (max-width: 640px) {
  .site-header { flex-direction: column; gap: 1rem; text-align: center; }
  .top-nav { flex-wrap: wrap; justify-content: center; gap: 0.75rem; }
  .product-grid { grid-template-columns: 1fr; }
  .stat-line { flex-direction: column; align-items: center; }
  .footer-content { flex-direction: column; gap: 0.75rem; text-align: center; }
  .email-form { flex-direction: column; }
  .post-item { flex-direction: column; gap: 0.25rem; }
}

@media print {
  body { background: #fff; color: #000; }
  .scanline, .prompt-char { display: none; }
  .terminal-block { border-left: 2px solid #333; background: #f5f5f5; }
}
