/* FlintReadyOS — Mission Control Theme
 * Matches flintready.com brand identity exactly:
 *   Background: #1A1F2E (deep navy)   Accent: #FF6B35 (burnt orange)
 *   Cards: #2A3142                    Text: #F0F0F0 / #B0B0B0
 */

:root {
  --bg-primary:   #1a1f2e;
  --bg-secondary: #141827;
  --bg-card:      #2a3142;
  --bg-card-hover:#303852;
  --border:       #3a4157;
  --border-light: #444e68;
  --text-primary: #f0f0f0;
  --text-secondary: #b0b0b0;
  --text-muted:   #6b7695;
  --accent:       #ff6b35;
  --accent-dim:   #e05520;
  --accent-glow:  rgba(255, 107, 53, 0.10);
  --accent-glow-strong: rgba(255, 107, 53, 0.18);
  --ok:           #22c55e;
  --warn:         #f59e0b;
  --danger:       #ef4444;
  --mono:         'DM Mono', 'SF Mono', 'Courier New', monospace;
  --sans:         'Space Grotesk', -apple-system, sans-serif;
  --radius:       6px;
}

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

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

body {
  background: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

/* ── NAV ─────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(20, 24, 39, 0.90);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: -0.01em;
  color: var(--text-primary);
}

/* Logo image — loaded from flintready.com; sized to match nav height */
.nav-logo-img {
  height: 32px;
  width: auto;
  display: block;
}

.footer-logo-img {
  height: 24px;
  width: auto;
  display: block;
  opacity: 0.8;
  transition: opacity 0.2s;
}

.footer-logo:hover .footer-logo-img {
  opacity: 1;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.nav-links a {
  font-size: 0.875rem;
  color: var(--text-secondary);
  transition: color 0.2s;
  letter-spacing: 0.01em;
}

.nav-links a:hover { color: var(--text-primary); }

.nav-cta {
  background: var(--accent) !important;
  color: #fff !important;
  padding: 7px 18px !important;
  border-radius: var(--radius) !important;
  font-weight: 600 !important;
  font-size: 0.85rem !important;
  transition: background 0.2s, transform 0.15s !important;
}

.nav-cta:hover {
  background: var(--accent-dim) !important;
  transform: translateY(-1px) !important;
}

.nav-status {
  display: flex;
  align-items: center;
  gap: 7px;
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.09em;
}

.status-dot {
  width: 7px; height: 7px;
  background: var(--ok);
  border-radius: 50%;
  animation: pulse-ok 2s ease-in-out infinite;
}

@keyframes pulse-ok {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.5); }
  50%       { opacity: 0.7; box-shadow: 0 0 0 5px rgba(34, 197, 94, 0); }
}

/* ── HERO ────────────────────────────── */
.hero {
  padding: 148px 32px 96px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -10%;
  width: 55%;
  height: 180%;
  background: radial-gradient(ellipse, rgba(255, 107, 53, 0.06) 0%, transparent 65%);
  pointer-events: none;
}

.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 64px;
  align-items: center;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 0.7rem;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.13em;
  margin-bottom: 28px;
  padding: 5px 14px;
  border: 1px solid rgba(255, 107, 53, 0.30);
  border-radius: var(--radius);
  background: var(--accent-glow);
}

.eyebrow-dot {
  width: 5px; height: 5px;
  background: var(--accent);
  border-radius: 50%;
  animation: blink 2.4s ease-in-out infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.3; }
}

.hero-title {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.035em;
  color: var(--text-primary);
  margin-bottom: 24px;
}

.hero-accent { color: var(--accent); }

.hero-lede {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 560px;
  line-height: 1.72;
  margin-bottom: 44px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius);
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  letter-spacing: 0.01em;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  border: none;
}

.btn-primary:hover {
  background: var(--accent-dim);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 107, 53, 0.30);
}

.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid var(--border);
}

.btn-ghost:hover {
  color: var(--text-primary);
  border-color: var(--border-light);
  background: rgba(255,255,255,0.03);
}

/* Hero right — field kit preview */
.hero-kit {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
}

.kit-header {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.kit-title {
  font-family: var(--mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
}

.kit-badge {
  font-family: var(--mono);
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ok);
  padding: 2px 8px;
  border: 1px solid rgba(34, 197, 94, 0.30);
  border-radius: 3px;
  background: rgba(34, 197, 94, 0.08);
}

.kit-item {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  transition: background 0.15s;
}

.kit-item:last-child { border-bottom: none; }
.kit-item:hover { background: var(--bg-card-hover); }

.kit-item-info { flex: 1; }

.kit-item-name {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 3px;
}

.kit-item-desc {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.kit-item-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
}

.kit-price {
  font-family: var(--mono);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--accent);
}

.kit-link {
  font-size: 0.72rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.15s;
}

.kit-link:hover { color: var(--accent); }

.kit-best {
  font-family: var(--mono);
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  padding: 2px 7px;
  border: 1px solid rgba(255, 107, 53, 0.35);
  border-radius: 3px;
  background: var(--accent-glow);
}

/* ── STAT BAR ────────────────────────── */
.stat-bar {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-secondary);
  overflow: hidden;
}

.stat-bar-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
}

.stat-item {
  background: var(--bg-secondary);
  padding: 28px 32px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.stat-value {
  font-family: var(--mono);
  font-size: 1.6rem;
  font-weight: 500;
  color: var(--text-primary);
}

.stat-value span { color: var(--accent); }

.stat-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.09em;
}

/* ── THREAT FEEDS ────────────────────── */
.threats {
  padding: 100px 32px;
  border-top: 1px solid var(--border);
}

.threats-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.section-header {
  margin-bottom: 56px;
}

.section-tag {
  display: inline-block;
  font-family: var(--mono);
  font-size: 0.68rem;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-bottom: 14px;
}

.section-header h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.7rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 14px;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 540px;
  line-height: 1.65;
}

.threat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.threat-card {
  background: var(--bg-card);
  padding: 28px 24px;
  transition: background 0.2s;
}

.threat-card:hover { background: var(--bg-card-hover); }

.threat-card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 20px;
}

.threat-icon { font-size: 1.5rem; }

.threat-level {
  font-family: var(--mono);
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 3px 9px;
  border-radius: 3px;
  border: 1px solid;
}

.level-ok    { color: var(--ok);   border-color: rgba(34, 197, 94, 0.3);  background: rgba(34, 197, 94, 0.07);  }
.level-warn  { color: var(--warn); border-color: rgba(245, 158, 11, 0.3); background: rgba(245, 158, 11, 0.07); }
.level-alert { color: var(--accent); border-color: rgba(255, 107, 53, 0.3); background: var(--accent-glow); }

.threat-card h3 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.threat-stat {
  font-family: var(--mono);
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ── FIELD GUIDES ───────────────────── */
.guides {
  padding: 100px 32px;
  border-top: 1px solid var(--border);
}

.guides-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.guides-header-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 48px;
  gap: 32px;
}

.guide-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 40px;
}

.guide-card {
  background: var(--bg-card);
  padding: 32px 28px;
  transition: background 0.2s;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.guide-card:hover { background: var(--bg-card-hover); }

.guide-track {
  font-family: var(--mono);
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}

.guide-icon { font-size: 1.4rem; margin-bottom: 4px; }

.guide-card h3 {
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.3;
}

.guide-card p {
  font-size: 0.84rem;
  color: var(--text-secondary);
  line-height: 1.55;
  flex: 1;
}

.guide-cta {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.8rem;
  color: var(--accent);
  font-weight: 500;
  margin-top: 4px;
  transition: gap 0.2s;
}

.guide-card:hover .guide-cta { gap: 9px; }

.guides-footer {
  text-align: center;
}

/* ── PRODUCTS / FIELD KIT ───────────── */
.field-kit {
  padding: 100px 32px;
  border-top: 1px solid var(--border);
  background: var(--bg-secondary);
}

.field-kit-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 48px;
}

.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
  position: relative;
}

.product-card:hover {
  border-color: var(--border-light);
  box-shadow: 0 8px 24px rgba(0,0,0,0.25);
  transform: translateY(-3px);
}

.product-card.featured {
  border-color: rgba(255, 107, 53, 0.40);
  box-shadow: 0 0 0 1px rgba(255, 107, 53, 0.15);
}

.product-card.featured:hover {
  border-color: var(--accent);
  box-shadow: 0 8px 32px rgba(255, 107, 53, 0.18);
}

.product-badge {
  position: absolute;
  top: -10px;
  left: 20px;
  font-family: var(--mono);
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 3px 10px;
  border-radius: 3px;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
}

.product-icon { font-size: 1.6rem; margin-bottom: 4px; }

.product-name {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text-primary);
}

.product-desc {
  font-size: 0.84rem;
  color: var(--text-secondary);
  line-height: 1.55;
  flex: 1;
}

.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  border-top: 1px solid var(--border);
  margin-top: auto;
}

.product-price {
  font-family: var(--mono);
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--accent);
}

.product-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-primary);
  padding: 7px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all 0.18s;
}

.product-link:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-glow);
}

.product-card.featured .product-link {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.product-card.featured .product-link:hover {
  background: var(--accent-dim);
  border-color: var(--accent-dim);
}

/* ── QUIZ CTA ───────────────────────── */
.quiz-cta {
  padding: 100px 32px;
  border-top: 1px solid var(--border);
}

.quiz-cta-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.quiz-left h2 {
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.03em;
  margin-bottom: 18px;
}

.quiz-left p {
  font-size: 1.02rem;
  color: var(--text-secondary);
  line-height: 1.68;
  margin-bottom: 32px;
}

.quiz-gauge {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 36px 32px;
  text-align: center;
}

.gauge-ring {
  width: 120px;
  height: 120px;
  margin: 0 auto 20px;
  position: relative;
}

.gauge-ring svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.gauge-bg { fill: none; stroke: var(--border); stroke-width: 8; }
.gauge-fill { fill: none; stroke: var(--accent); stroke-width: 8; stroke-linecap: round;
              stroke-dasharray: 283; stroke-dashoffset: 200;
              transition: stroke-dashoffset 1s ease; }

.gauge-label {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}

.gauge-score {
  font-family: var(--mono);
  font-size: 1.6rem;
  font-weight: 500;
  color: var(--accent);
  display: block;
}

.gauge-unit {
  font-family: var(--mono);
  font-size: 0.65rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.gauge-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.gauge-checks {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 24px;
  text-align: left;
}

.gauge-check {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.check-icon { color: var(--ok); font-size: 0.9rem; }

/* ── BRIEF SIGNUP ───────────────────── */
.brief {
  padding: 80px 32px;
  border-top: 1px solid var(--border);
  background: var(--bg-secondary);
}

.brief-inner {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}

.brief h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 14px;
}

.brief p {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 32px;
}

.brief-form {
  display: flex;
  gap: 10px;
  max-width: 480px;
  margin: 0 auto;
}

.brief-input {
  flex: 1;
  padding: 12px 18px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text-primary);
  font-family: var(--sans);
  font-size: 0.92rem;
  outline: none;
  transition: border-color 0.2s;
}

.brief-input::placeholder { color: var(--text-muted); }
.brief-input:focus { border-color: var(--accent); }

.brief-form .btn-primary {
  white-space: nowrap;
  padding: 12px 22px;
}

.brief-note {
  margin-top: 12px;
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* ── PHILOSOPHY QUOTE ───────────────── */
.philosophy {
  padding: 80px 32px;
  border-top: 1px solid var(--border);
}

.philosophy-inner {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.philosophy blockquote {
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: 18px;
  font-style: normal;
}

.philosophy-attr {
  font-size: 0.88rem;
  color: var(--text-muted);
  font-family: var(--mono);
}

/* ── FOOTER ─────────────────────────── */
.footer {
  padding: 28px 32px;
  border-top: 1px solid var(--border);
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--text-secondary);
}

.footer-logo .logo-flame { font-size: 1rem; }

.footer-links {
  display: flex;
  align-items: center;
  gap: 6px;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 0.78rem;
  transition: color 0.15s;
}

.footer-links a:hover { color: var(--text-secondary); }

.footer-sep { opacity: 0.3; margin: 0 2px; }

/* ── RESPONSIVE ─────────────────────── */
@media (max-width: 1024px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .threat-grid  { grid-template-columns: repeat(2, 1fr); }
  .hero-inner   { grid-template-columns: 1fr; gap: 48px; }
  .hero-kit     { max-width: 480px; }
}

@media (max-width: 768px) {
  .hero           { padding: 110px 20px 72px; }
  .hero-inner     { grid-template-columns: 1fr; }
  .stat-bar-inner { grid-template-columns: repeat(2, 1fr); }
  .product-grid   { grid-template-columns: 1fr; }
  .threat-grid    { grid-template-columns: 1fr; }
  .guide-grid     { grid-template-columns: 1fr; }
  .quiz-cta-inner { grid-template-columns: 1fr; gap: 40px; }
  .threats, .guides, .field-kit, .quiz-cta { padding: 72px 20px; }
  .brief          { padding: 64px 20px; }
  .brief-form     { flex-direction: column; }
  .nav-inner      { padding: 12px 20px; }
  .nav-links      { display: none; }
  .footer-inner   { flex-direction: column; gap: 14px; text-align: center; }
  .guides-header-row { flex-direction: column; align-items: flex-start; }
}
