/* === NAV === */
.m-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(12,12,12,0.85);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
}
.m-nav-inner {
  max-width: var(--m-page-width); margin: 0 auto;
  padding: 20px clamp(24px, 5vw, 80px);
  display: flex; justify-content: space-between; align-items: center;
}
.m-nav-brand {
  display: flex; align-items: center; gap: 10px; text-decoration: none;
}
.m-nav-brand-text {
  font-size: 16px; font-weight: 700; color: var(--m-text);
  letter-spacing: 3px;
}
.m-nav-links {
  display: flex; gap: 32px; align-items: center;
}
.m-nav-link {
  font-size: 13px; font-weight: 500; color: var(--m-text-muted);
  text-decoration: none; transition: color 0.2s;
}
.m-nav-link:hover { color: var(--m-text); }
.m-nav-cta {
  padding: 8px 20px; background: var(--m-emerald); color: var(--m-void);
  font-size: 12px; font-weight: 600; text-decoration: none;
  text-transform: uppercase; letter-spacing: 1.5px; transition: all 0.2s;
}
.m-nav-cta:hover { background: var(--m-emerald-hover); }

/* === HERO === */
.m-hero {
  min-height: 70vh; display: flex; flex-direction: column;
  align-items: center; justify-content: center; text-align: center;
  padding: 120px clamp(24px, 5vw, 80px) 60px;
  position: relative; overflow: hidden;
  background:
    linear-gradient(to bottom, rgba(12,12,12,0.3), rgba(12,12,12,0.95)),
    linear-gradient(135deg, #1a1a2e, #16213e, #222244, #1a1a2e);
  background-size: 100%, 300% 300%;
  animation: heroGradient 12s ease infinite;
}
.m-hero::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(0,229,160,0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,229,160,0.015) 1px, transparent 1px);
  background-size: 80px 80px;
}
.m-hero-content {
  position: relative; z-index: 2; max-width: 700px;
  animation: fadeUp 1s ease;
}
.m-hero-logo { margin-bottom: 24px; }
.m-hero-tagline {
  font-size: 11px; text-transform: uppercase; letter-spacing: 4px;
  color: var(--m-emerald); font-weight: 600; margin-bottom: 32px;
}
.m-hero h1 {
  font-size: 48px; font-weight: 800; color: var(--m-text);
  letter-spacing: -2.5px; line-height: 1.05; margin-bottom: 24px;
}
.m-hero-sub {
  font-size: 17px; color: var(--m-text-secondary);
  line-height: 1.7; max-width: 540px; margin: 0 auto;
}

/* === PRODUCTS === */
.m-products {
  padding: 80px clamp(24px, 5vw, 80px);
  max-width: calc(var(--m-page-width) + clamp(24px, 5vw, 80px) * 2);
  margin: 0 auto;
}
.m-products-header { margin-bottom: 60px; }
.m-products-label {
  font-size: 10px; text-transform: uppercase; letter-spacing: 3px;
  color: var(--m-text-dim); margin-bottom: 20px;
}

/* Terminal typing */
.m-terminal-line {
  font-family: var(--m-font-mono); font-size: 22px; line-height: 1.4;
}
.m-terminal-prompt { color: var(--m-text-dim); }
.m-terminal-static { color: var(--m-text-secondary); }
.m-terminal-typed {
  color: var(--m-emerald); font-weight: 500; transition: color 0.3s;
}
.m-terminal-typed.color-stacksight { color: var(--m-violet); }
.m-terminal-typed.color-slonstage { color: var(--m-purple); }
.m-terminal-typed.color-sctm { color: var(--m-amber); }
.m-terminal-typed.color-mycelium { color: var(--m-cyan); }
.m-terminal-typed.color-brand { color: var(--m-emerald); }
.m-terminal-cursor {
  display: inline-block; width: 2px; height: 1.1em;
  background: var(--m-emerald); vertical-align: text-bottom;
  margin-left: 2px; animation: blink 1s step-end infinite;
  transition: background 0.3s;
}

/* Product cards */
.m-product-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px;
}
.m-product-card {
  background: var(--m-deep); padding: 48px 36px;
  transition: all 0.4s; position: relative; overflow: hidden;
  display: flex; flex-direction: column; text-decoration: none;
}
.m-product-card:hover {
  background: #1e1e36; transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
}
.m-product-card.highlighted { background: #1e1e36; }
.m-product-card--stacksight.highlighted { background: rgba(124,92,252,0.06); }
.m-product-card--slonstage.highlighted { background: rgba(168,85,247,0.06); }
.m-product-card--sctm.highlighted { background: rgba(255,200,87,0.06); }
.m-product-card::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0;
  height: 2px; transform: scaleX(0); transition: transform 0.3s;
  transform-origin: left;
}
.m-product-card:hover::after { transform: scaleX(1); }
.m-product-card--stacksight::after { background: var(--m-violet); }
.m-product-card--slonstage::after { background: var(--m-purple); }
.m-product-card--sctm::after { background: var(--m-amber); }
.m-product-icon { margin-bottom: 28px; }
.m-product-name {
  font-size: 20px; font-weight: 700; color: var(--m-text);
  margin-bottom: 16px; letter-spacing: -0.5px;
}
.m-product-pitch {
  font-size: 14px; color: var(--m-text-secondary);
  line-height: 1.7; flex: 1; margin-bottom: 28px;
}
.m-product-cta {
  font-size: 11px; font-weight: 600; text-transform: uppercase;
  letter-spacing: 2px; display: inline-flex; align-items: center;
  gap: 8px; transition: gap 0.2s;
}
.m-product-card:hover .m-product-cta { gap: 12px; }
.m-product-cta--violet { color: var(--m-violet); }
.m-product-cta--purple { color: var(--m-purple); }
.m-product-cta--amber { color: var(--m-amber); }

/* === PHILOSOPHY === */
.m-philosophy {
  padding: 100px clamp(24px, 5vw, 80px);
  max-width: calc(var(--m-page-width) + clamp(24px, 5vw, 80px) * 2);
  margin: 0 auto; display: grid;
  grid-template-columns: 1fr 1fr; gap: 80px; align-items: center;
}
.m-philosophy-label {
  font-size: 10px; text-transform: uppercase; letter-spacing: 3px;
  color: var(--m-emerald); font-weight: 600; margin-bottom: 20px;
}
.m-philosophy-title {
  font-size: 36px; font-weight: 800; color: var(--m-text);
  letter-spacing: -1.5px; line-height: 1.1; margin-bottom: 20px;
}
.m-philosophy-body {
  font-size: 15px; color: var(--m-text-secondary); line-height: 1.8;
}
.m-philosophy-body strong { color: var(--m-text); }
.m-philosophy-stats {
  display: grid; grid-template-columns: 1fr 1fr; gap: 2px;
}
.m-stat-box {
  background: var(--m-deep); padding: 36px; text-align: center;
}
.m-stat-number {
  font-size: 42px; font-weight: 800; letter-spacing: -2px;
  line-height: 1; margin-bottom: 8px;
}
.m-stat-desc {
  font-size: 11px; color: var(--m-text-dim);
  text-transform: uppercase; letter-spacing: 2px;
}

/* === CHRIS CTA === */
.m-chris-cta {
  padding: 100px clamp(24px, 5vw, 80px);
  max-width: calc(var(--m-page-width) + clamp(24px, 5vw, 80px) * 2);
  margin: 0 auto;
}
.m-chris-cta-inner {
  background: linear-gradient(135deg, rgba(0,229,160,0.05), rgba(0,196,212,0.03));
  padding: 64px; display: flex; align-items: center; gap: 48px;
  position: relative; overflow: hidden;
}
.m-chris-cta-inner::before {
  content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(circle at 80% 20%, rgba(0,229,160,0.06) 0%, transparent 50%);
}
.m-chris-avatar {
  width: 80px; height: 80px;
  background: linear-gradient(135deg, var(--m-emerald), var(--m-cyan));
  flex-shrink: 0; position: relative;
}
.m-chris-content { position: relative; flex: 1; }
.m-chris-name {
  font-size: 22px; font-weight: 700; color: var(--m-text); margin-bottom: 8px;
}
.m-chris-role {
  font-size: 13px; color: var(--m-text-secondary);
  margin-bottom: 20px; line-height: 1.6;
}
.m-chris-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 600; text-transform: uppercase;
  letter-spacing: 2px; color: var(--m-emerald); text-decoration: none;
  transition: gap 0.2s;
}
.m-chris-link:hover { gap: 12px; }
.m-chris-prompt {
  position: relative; flex-shrink: 0;
  font-family: var(--m-font-mono); font-size: 14px;
  font-weight: 700; color: var(--m-text);
}
.m-chris-prompt span { color: var(--m-emerald); font-weight: 600; }

/* === FOOTER === */
.m-footer {
  padding: 48px clamp(24px, 5vw, 80px);
  max-width: calc(var(--m-page-width) + clamp(24px, 5vw, 80px) * 2);
  margin: 0 auto;
}
.m-footer-inner {
  display: flex; justify-content: space-between; align-items: center;
}
.m-footer-copy { font-size: 13px; color: var(--m-text-dim); }
.m-footer-links { display: flex; gap: 24px; }
.m-footer-link {
  font-size: 13px; color: var(--m-text-muted);
  text-decoration: none;
}
.m-footer-link:hover { color: var(--m-emerald); }

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .m-nav-links { display: none; }
  .m-hero h1 { font-size: 32px; }
  .m-product-grid { grid-template-columns: 1fr; }
  .m-philosophy { grid-template-columns: 1fr; gap: 40px; }
  .m-chris-cta-inner { flex-direction: column; text-align: center; padding: 40px 24px; }
  .m-chris-prompt { display: none; }
  .m-footer-inner { flex-direction: column; gap: 16px; }
  .m-terminal-line { font-size: 16px; }
}
