/* ══════════════════════════════════════════════════════════════════════
   X Labs — Dark Glassmorphism + Warm Accent Gradients · People DNA
   ══════════════════════════════════════════════════════════════════════ */

/* ── TOKENS ── */
:root {
  --red: #FF4757;
  --orange: #FF6B35;
  --amber: #FFA726;
  --peach: #FF8A65;
  --coral: #FF7043;

  --bg-base: #08080d;
  --bg-surface: rgba(255, 255, 255, 0.03);
  --bg-elevated: rgba(255, 255, 255, 0.06);

  --text-primary: #f0f0f5;
  --text-secondary: #9898b0;
  --text-muted: #606078;
  --text-faint: #40405a;

  --border: rgba(255, 255, 255, 0.08);
  --border-warm: rgba(255, 107, 53, 0.12);
  --border-hover: rgba(255, 107, 53, 0.35);

  --glass: rgba(255, 255, 255, 0.04);
  --glass-mid: rgba(255, 255, 255, 0.06);
  --glass-strong: rgba(255, 255, 255, 0.08);
  --glass-warm: rgba(255, 107, 53, 0.04);

  --font-display: 'Space Grotesk', system-ui, -apple-system, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;

  --radius: 16px;
  --radius-sm: 10px;
  --radius-xs: 6px;

  --shadow: 0 4px 24px rgba(0, 0, 0, 0.25);
  --shadow-lg: 0 12px 48px rgba(0, 0, 0, 0.4);
  --shadow-glow: 0 8px 30px rgba(255, 71, 87, 0.25);
  --shadow-glow-hover: 0 14px 44px rgba(255, 71, 87, 0.4);
  --shadow-warm: 0 4px 20px rgba(255, 107, 53, 0.06);
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: var(--font-body);
  color: var(--text-primary);
  background: var(--bg-base);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Subtle gradient mesh behind everything */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 20% 80%, rgba(255, 71, 87, 0.06), transparent),
    radial-gradient(ellipse 60% 40% at 80% 20%, rgba(255, 107, 53, 0.05), transparent),
    radial-gradient(ellipse 50% 60% at 50% 50%, rgba(255, 167, 38, 0.03), transparent);
  pointer-events: none;
  z-index: 0;
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; }

/* ── UTILITY ── */
.glass-card {
  background: var(--glass-mid);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.gradient-text {
  background: linear-gradient(135deg, var(--red), var(--orange), var(--amber));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── NAV ── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(8, 8, 13, 0.6);
  backdrop-filter: blur(24px) saturate(1.2);
  -webkit-backdrop-filter: blur(24px) saturate(1.2);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-x {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--red), var(--orange));
  color: white;
  border-radius: var(--radius-sm);
  box-shadow: 0 0 16px rgba(255, 71, 87, 0.3);
}

.logo-text {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.1rem;
}

.nav-links {
  display: flex;
  gap: 4px;
}

.nav-link {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-muted);
  padding: 8px 16px;
  border-radius: 8px;
  transition: all 0.2s ease;
}
.nav-link:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.06);
}

.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* ── HERO ── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 100px 24px 80px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.2;
  animation: orbFloat 25s ease-in-out infinite;
}

/* Subtle dot grid overlay */
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}
.orb-1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, var(--orange), transparent 70%);
  top: -15%; right: -10%;
}
.orb-2 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, var(--red), transparent 70%);
  bottom: -10%; left: -8%;
  animation-delay: -8s;
}
.orb-3 {
  width: 350px; height: 350px;
  background: radial-gradient(circle, var(--amber), transparent 70%);
  top: 45%; left: 55%;
  animation-delay: -16s;
}

@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -25px) scale(1.06); }
  66% { transform: translate(-25px, 20px) scale(0.94); }
}

.hero-content {
  position: relative;
  text-align: center;
  max-width: 720px;
}

.hero-eyebrow {
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--orange);
  margin-bottom: 16px;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6vw, 4.5rem);
  font-weight: 700;
  line-height: 1.08;
  margin-bottom: 24px;
}

.hero-sub {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 40px;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-bottom: 60px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 14px 32px;
  border: none;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--red), var(--orange));
  color: white;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: var(--shadow-glow);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow-hover);
}

.btn-ghost {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 14px 32px;
  border: 1.5px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(12px);
  color: var(--text-primary);
  cursor: pointer;
  transition: all 0.25s ease;
}
.btn-ghost:hover {
  border-color: rgba(255, 107, 53, 0.4);
  background: rgba(255, 107, 53, 0.08);
  box-shadow: 0 0 20px rgba(255, 107, 53, 0.1);
}

.hero-stats {
  display: inline-flex;
  align-items: center;
  gap: 36px;
  padding: 22px 48px;
}

.stat-item { text-align: center; }
.stat-num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--orange);
  display: block;
  line-height: 1.2;
}
.stat-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 500;
}
.stat-divider {
  width: 1px;
  height: 44px;
  background: rgba(255, 255, 255, 0.08);
}

/* ── SECTIONS ── */
.section {
  position: relative;
  padding: 100px 24px;
  z-index: 1;
}

.section-alt {
  background:
    linear-gradient(170deg, rgba(255, 107, 53, 0.03), rgba(255, 71, 87, 0.02), transparent);
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.section-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.section-title {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 12px;
}

.section-sub {
  text-align: center;
  color: var(--text-secondary);
  font-size: 1.05rem;
  margin-bottom: 60px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

/* ── PROJECT CARDS ── */
.project-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.project-card {
  position: relative;
  background: var(--glass-mid);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, 0.04);
  transition: all 0.35s ease;
  overflow: hidden;
}

.card-top-line {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), transparent);
  opacity: 0.6;
}

.project-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg), 0 0 40px rgba(255, 107, 53, 0.06);
  border-color: rgba(255, 255, 255, 0.14);
  background: var(--glass-strong);
}
.project-card:hover .card-top-line { opacity: 1; }

.card-header {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
}

.card-icon {
  width: 46px; height: 46px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  flex-shrink: 0;
  background: var(--accent);
  box-shadow: 0 0 16px color-mix(in srgb, var(--accent) 30%, transparent);
}
.card-icon svg {
  flex-shrink: 0;
}

.card-titles { flex: 1; }
.card-name {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.2;
}
.card-tagline {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.badge {
  font-size: 0.68rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-xs);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.badge-commercial {
  background: rgba(255, 71, 87, 0.12);
  color: var(--red);
  border: 1px solid rgba(255, 71, 87, 0.2);
}
.badge-oss {
  background: rgba(255, 167, 38, 0.12);
  color: var(--amber);
  border: 1px solid rgba(255, 167, 38, 0.2);
}

.card-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 20px;
}

.card-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px 16px;
  margin-bottom: 20px;
}
.card-features li {
  font-size: 0.8rem;
  color: var(--text-secondary);
  padding-left: 14px;
  position: relative;
}
.card-features li::before {
  content: '';
  position: absolute;
  left: 0; top: 8px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.7;
  box-shadow: 0 0 6px color-mix(in srgb, var(--accent) 40%, transparent);
}

.card-footer {
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.stack-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.stack-tag {
  font-size: 0.7rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: var(--radius-xs);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-secondary);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

/* ── RUNE SPOTLIGHT SECTION ── */
.rune-spotlight {
  background:
    linear-gradient(170deg, rgba(16, 185, 129, 0.04), rgba(5, 150, 105, 0.02), transparent 60%);
  border-top: 1px solid rgba(16, 185, 129, 0.08);
  border-bottom: 1px solid rgba(16, 185, 129, 0.08);
}

.spotlight-header {
  text-align: center;
  margin-bottom: 48px;
}

.spotlight-badge {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 6px 16px;
  border-radius: 20px;
  background: rgba(16, 185, 129, 0.1);
  color: #10b981;
  border: 1px solid rgba(16, 185, 129, 0.2);
  margin-bottom: 20px;
}

.spotlight-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}

.spotlight-stat {
  text-align: center;
  padding: 28px 16px;
  background: var(--glass-mid);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(16, 185, 129, 0.1);
  border-radius: var(--radius);
  transition: all 0.3s ease;
}
.spotlight-stat:hover {
  transform: translateY(-4px);
  border-color: rgba(16, 185, 129, 0.25);
  box-shadow: 0 8px 32px rgba(16, 185, 129, 0.08);
}

.spotlight-num {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 700;
  color: #10b981;
  display: block;
  line-height: 1.2;
}

.spotlight-label {
  font-size: 0.82rem;
  color: var(--text-secondary);
  font-weight: 500;
  margin-top: 4px;
  display: block;
}

.spotlight-platforms {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.plat-chip {
  font-size: 0.78rem;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 20px;
  background: rgba(16, 185, 129, 0.06);
  color: var(--text-secondary);
  border: 1px solid rgba(16, 185, 129, 0.12);
  transition: all 0.2s ease;
}
.plat-chip:hover {
  color: #10b981;
  border-color: rgba(16, 185, 129, 0.3);
  background: rgba(16, 185, 129, 0.1);
}

.spotlight-cta {
  display: flex;
  justify-content: center;
  gap: 16px;
}

.spotlight-cta .btn-primary {
  background: linear-gradient(135deg, #10b981, #059669);
  box-shadow: 0 8px 30px rgba(16, 185, 129, 0.25);
}
.spotlight-cta .btn-primary:hover {
  box-shadow: 0 14px 44px rgba(16, 185, 129, 0.4);
}

.spotlight-cta .btn-ghost:hover {
  border-color: rgba(16, 185, 129, 0.4);
  background: rgba(16, 185, 129, 0.08);
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.1);
}

.project-card-link {
  display: contents;
  text-decoration: none;
  color: inherit;
}

/* ── RUNE FEATURED CARD ── */
.rune-featured {
  border-color: rgba(16, 185, 129, 0.15);
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.04), var(--glass-mid));
}
.rune-featured:hover {
  border-color: rgba(16, 185, 129, 0.3);
  box-shadow: var(--shadow-lg), 0 0 50px rgba(16, 185, 129, 0.08);
}
.rune-featured .card-top-line {
  background: linear-gradient(90deg, #10b981, #059669, transparent);
  opacity: 0.8;
}

.rune-arch {
  display: flex;
  gap: 6px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}

.arch-layer {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  color: var(--text-secondary);
  padding: 4px 10px;
  border-radius: var(--radius-xs);
  background: rgba(16, 185, 129, 0.06);
  border: 1px solid rgba(16, 185, 129, 0.1);
  white-space: nowrap;
}

.arch-tag {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.65rem;
  color: #10b981;
  padding: 1px 5px;
  border-radius: 3px;
  background: rgba(16, 185, 129, 0.12);
}

.arch-count {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.7rem;
  color: #10b981;
  margin-left: 2px;
}

/* ── PHILOSOPHY ── */
.phil-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.phil-card {
  padding: 32px 24px;
  text-align: center;
  transition: all 0.3s ease;
}
.phil-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg), 0 0 30px rgba(255, 107, 53, 0.05);
  border-color: rgba(255, 255, 255, 0.12);
  background: var(--glass-strong);
}

.phil-num {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--red), var(--orange));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 0.3;
  line-height: 1;
  margin-bottom: 12px;
}

.phil-card h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.phil-card p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* ── FLOW ── */
.flow-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.flow-step {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: var(--glass-mid);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  max-width: 220px;
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.flow-num {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  width: 32px; height: 32px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--red), var(--orange));
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 0 14px rgba(255, 71, 87, 0.3);
}

.flow-body h4 {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 4px;
}
.flow-body p {
  font-size: 0.8rem;
  color: var(--text-secondary);
  line-height: 1.5;
}
.flow-body strong { color: var(--orange); font-weight: 600; }

.flow-arrow {
  font-size: 1.4rem;
  color: var(--text-faint);
  font-weight: 300;
}

/* ── CONTACT ── */
.contact-center { text-align: center; }

.contact-grid {
  display: flex;
  gap: 24px;
  justify-content: center;
}

.contact-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 32px 40px;
  min-width: 160px;
  transition: all 0.3s ease;
}
.contact-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg), 0 0 30px rgba(255, 107, 53, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
  background: var(--glass-strong);
}

.contact-icon {
  width: 48px; height: 48px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--red), var(--orange));
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 18px rgba(255, 71, 87, 0.25);
}
.contact-icon svg {
  flex-shrink: 0;
}

.contact-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
}
.contact-handle {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* ── FOOTER ── */
.footer {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 40px 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--text-muted);
  font-size: 0.85rem;
}
.footer strong { color: var(--orange); }
.footer-sub { font-size: 0.75rem; margin-top: 4px; opacity: 0.6; }

/* ── NEURAL MEMORY MODAL ── */
.nm-card { cursor: pointer; }
.nm-card:hover { border-color: rgba(255, 138, 101, 0.3); }

.nm-overlay {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  animation: nmFadeIn 0.25s ease;
}
.nm-overlay[hidden] { display: none; }

@keyframes nmFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.nm-modal {
  position: relative;
  width: 100%;
  max-width: 720px;
  max-height: 90vh;
  overflow-y: auto;
  background: rgba(14, 14, 22, 0.92);
  backdrop-filter: blur(32px) saturate(1.3);
  -webkit-backdrop-filter: blur(32px) saturate(1.3);
  border: 1px solid rgba(255, 138, 101, 0.15);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow-lg), 0 0 80px rgba(255, 138, 101, 0.08);
  animation: nmSlideUp 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes nmSlideUp {
  from { opacity: 0; transform: translateY(24px) scale(0.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.nm-close {
  position: absolute;
  top: 16px; right: 16px;
  width: 36px; height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-xs);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.2s ease;
}
.nm-close:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 138, 101, 0.3);
}

.nm-hero-row {
  display: flex;
  gap: 32px;
  align-items: center;
  margin-bottom: 32px;
}

.nm-visual {
  flex-shrink: 0;
  width: 180px;
  height: 180px;
  position: relative;
}

.nm-brain-svg {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 0 20px rgba(255, 138, 101, 0.2));
}

.nm-info { flex: 1; }

.nm-badge-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.nm-version {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--peach);
  padding: 3px 10px;
  border-radius: var(--radius-xs);
  background: rgba(255, 138, 101, 0.1);
  border: 1px solid rgba(255, 138, 101, 0.2);
}

.nm-title {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 4px;
  background: linear-gradient(135deg, var(--peach), var(--amber));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nm-tagline {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 12px;
}

.nm-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.nm-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 24px;
}

.nm-stat {
  text-align: center;
  padding: 16px 8px;
  background: rgba(255, 138, 101, 0.04);
  border: 1px solid rgba(255, 138, 101, 0.1);
  border-radius: var(--radius-sm);
  transition: all 0.25s ease;
}
.nm-stat:hover {
  border-color: rgba(255, 138, 101, 0.25);
  background: rgba(255, 138, 101, 0.08);
  transform: translateY(-2px);
}

.nm-stat-num {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--peach);
  display: block;
  line-height: 1.2;
}

.nm-stat-label {
  font-size: 0.72rem;
  color: var(--text-secondary);
  font-weight: 500;
  margin-top: 2px;
  display: block;
}

.nm-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}

.nm-chip {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 5px 14px;
  border-radius: 20px;
  background: rgba(255, 138, 101, 0.06);
  color: var(--text-secondary);
  border: 1px solid rgba(255, 138, 101, 0.12);
  transition: all 0.2s ease;
}
.nm-chip:hover {
  color: var(--peach);
  border-color: rgba(255, 138, 101, 0.3);
  background: rgba(255, 138, 101, 0.1);
}

.nm-ctas {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.nm-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  padding: 12px 24px;
}

.nm-ctas .btn-primary {
  background: linear-gradient(135deg, var(--peach), var(--orange));
  box-shadow: 0 8px 30px rgba(255, 138, 101, 0.25);
}
.nm-ctas .btn-primary:hover {
  box-shadow: 0 14px 44px rgba(255, 138, 101, 0.4);
}

.nm-ctas .btn-ghost:hover {
  border-color: rgba(255, 138, 101, 0.4);
  background: rgba(255, 138, 101, 0.08);
  box-shadow: 0 0 20px rgba(255, 138, 101, 0.1);
}

.nm-install {
  text-align: center;
  padding: 12px 20px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-sm);
}

.nm-install code {
  font-family: 'JetBrains Mono', 'Fira Code', monospace;
  font-size: 0.85rem;
  color: var(--peach);
  letter-spacing: 0.02em;
}

@media (max-width: 768px) {
  .nm-modal { padding: 24px; }
  .nm-hero-row { flex-direction: column; text-align: center; }
  .nm-visual { width: 140px; height: 140px; }
  .nm-stats { grid-template-columns: repeat(2, 1fr); }
  .nm-ctas { flex-direction: column; align-items: stretch; }
  .nm-btn { justify-content: center; }
  .nm-title { font-size: 1.6rem; }
}

/* ── RUNE MODAL ── */
.rune-card { cursor: pointer; }
.rune-card:hover { border-color: rgba(16, 185, 129, 0.35); }

.rune-overlay {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  animation: nmFadeIn 0.25s ease;
}
.rune-overlay[hidden] { display: none; }

.rune-modal {
  position: relative;
  width: 100%;
  max-width: 720px;
  max-height: 90vh;
  overflow-y: auto;
  background: rgba(14, 14, 22, 0.92);
  backdrop-filter: blur(32px) saturate(1.3);
  -webkit-backdrop-filter: blur(32px) saturate(1.3);
  border: 1px solid rgba(16, 185, 129, 0.15);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow-lg), 0 0 80px rgba(16, 185, 129, 0.08);
  animation: nmSlideUp 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.rune-close {
  position: absolute;
  top: 16px; right: 16px;
  width: 36px; height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-xs);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.2s ease;
}
.rune-close:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(16, 185, 129, 0.3);
}

.rune-hero-row {
  display: flex;
  gap: 32px;
  align-items: center;
  margin-bottom: 32px;
}

.rune-visual {
  flex-shrink: 0;
  width: 180px;
  height: 180px;
}

.rune-mesh-svg {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 0 20px rgba(16, 185, 129, 0.2));
}

.rune-info { flex: 1; }

.rune-badge-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.rune-version {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  color: #10b981;
  padding: 3px 10px;
  border-radius: var(--radius-xs);
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.2);
}

.rune-title {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 4px;
  background: linear-gradient(135deg, #10b981, #34d399);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.rune-tagline {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 12px;
}

.rune-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.rune-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 24px;
}

.rune-stat {
  text-align: center;
  padding: 16px 8px;
  background: rgba(16, 185, 129, 0.04);
  border: 1px solid rgba(16, 185, 129, 0.1);
  border-radius: var(--radius-sm);
  transition: all 0.25s ease;
}
.rune-stat:hover {
  border-color: rgba(16, 185, 129, 0.25);
  background: rgba(16, 185, 129, 0.08);
  transform: translateY(-2px);
}

.rune-stat-num {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: #10b981;
  display: block;
  line-height: 1.2;
}

.rune-stat-label {
  font-size: 0.72rem;
  color: var(--text-secondary);
  font-weight: 500;
  margin-top: 2px;
  display: block;
}

/* Architecture layer rows */
.rune-layers {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 24px;
}

.rune-layer-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: rgba(16, 185, 129, 0.03);
  border: 1px solid rgba(16, 185, 129, 0.08);
  border-radius: var(--radius-xs);
  transition: all 0.2s ease;
}
.rune-layer-row:hover {
  background: rgba(16, 185, 129, 0.06);
  border-color: rgba(16, 185, 129, 0.18);
}

.rune-layer-tag {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.68rem;
  color: #10b981;
  padding: 2px 8px;
  border-radius: 4px;
  background: rgba(16, 185, 129, 0.12);
  flex-shrink: 0;
}

.rune-layer-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.82rem;
  color: var(--text-primary);
  min-width: 100px;
  flex-shrink: 0;
}

.rune-layer-detail {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.rune-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}

.rune-chip {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 5px 14px;
  border-radius: 20px;
  background: rgba(16, 185, 129, 0.06);
  color: var(--text-secondary);
  border: 1px solid rgba(16, 185, 129, 0.12);
  transition: all 0.2s ease;
}
.rune-chip:hover {
  color: #10b981;
  border-color: rgba(16, 185, 129, 0.3);
  background: rgba(16, 185, 129, 0.1);
}

.rune-ctas {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.rune-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  padding: 12px 24px;
}

.rune-ctas .btn-primary {
  background: linear-gradient(135deg, #10b981, #059669);
  box-shadow: 0 8px 30px rgba(16, 185, 129, 0.25);
}
.rune-ctas .btn-primary:hover {
  box-shadow: 0 14px 44px rgba(16, 185, 129, 0.4);
}

.rune-ctas .btn-ghost:hover {
  border-color: rgba(16, 185, 129, 0.4);
  background: rgba(16, 185, 129, 0.08);
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.1);
}

.rune-install {
  text-align: center;
  padding: 12px 20px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-sm);
}

.rune-install code {
  font-family: 'JetBrains Mono', 'Fira Code', monospace;
  font-size: 0.85rem;
  color: #10b981;
  letter-spacing: 0.02em;
}

@media (max-width: 768px) {
  .rune-modal { padding: 24px; }
  .rune-hero-row { flex-direction: column; text-align: center; }
  .rune-visual { width: 140px; height: 140px; }
  .rune-stats { grid-template-columns: repeat(2, 1fr); }
  .rune-ctas { flex-direction: column; align-items: stretch; }
  .rune-btn { justify-content: center; }
  .rune-title { font-size: 1.6rem; }
  .rune-layer-row { flex-wrap: wrap; }
  .rune-layer-detail { width: 100%; margin-top: 2px; }
}

/* ── CHAT FAB (AiConcierge style) ── */
.chat-fab {
  position: fixed;
  bottom: 24px; right: 24px;
  z-index: 200;
  width: 56px; height: 56px;
  border-radius: 50%;
  border: none;
  background: linear-gradient(135deg, var(--red), var(--orange));
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-glow);
  transition: all 0.25s ease;
}
.chat-fab:hover {
  transform: scale(1.1);
  box-shadow: var(--shadow-glow-hover);
}
.chat-fab.hidden { display: none; }

.chat-fab-pulse {
  position: absolute;
  top: -2px; right: -2px;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: #4CAF50;
  border: 2px solid var(--bg-base);
  animation: fabPulse 2s ease-in-out infinite;
}
@keyframes fabPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.7; transform: scale(1.15); }
}

/* ── CHAT PANEL (AiConcierge style) ── */
.chat-panel {
  position: fixed;
  bottom: 24px; right: 24px;
  z-index: 200;
  width: 380px;
  max-height: 520px;
  border-radius: var(--radius);
  background: rgba(14, 14, 22, 0.85);
  backdrop-filter: blur(32px) saturate(1.3);
  -webkit-backdrop-filter: blur(32px) saturate(1.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow-lg), 0 0 60px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  animation: chatSlide 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.chat-panel[hidden] { display: none; }

@keyframes chatSlide {
  from { opacity: 0; transform: translateY(16px) scale(0.95); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.chat-header {
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.02);
}
.chat-header-left {
  display: flex;
  align-items: center;
  gap: 8px;
}
.chat-sparkle { color: var(--orange); }
.chat-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
}
.chat-close {
  width: 32px; height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-xs);
  border: none;
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.2s ease;
}
.chat-close:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.08);
}

.chat-body {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 200px;
  max-height: 340px;
}

/* Welcome state */
.chat-welcome {
  text-align: center;
  padding: 24px 0 8px;
}
.chat-welcome-icon {
  color: var(--orange);
  opacity: 0.35;
  margin-bottom: 8px;
}
.chat-welcome-text {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}
.chat-quick-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.chat-chip {
  padding: 10px 12px;
  font-family: var(--font-body);
  font-size: 0.78rem;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-xs);
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: left;
  line-height: 1.4;
}
.chat-chip:hover {
  background: rgba(255, 107, 53, 0.1);
  color: var(--text-primary);
  border-color: rgba(255, 107, 53, 0.3);
}

.chat-msg { display: flex; }
.chat-msg.user { justify-content: flex-end; }
.chat-msg.bot { justify-content: flex-start; }

.msg-bubble {
  max-width: 85%;
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 0.84rem;
  line-height: 1.55;
  word-break: break-word;
}
.chat-msg.user .msg-bubble {
  background: linear-gradient(135deg, var(--red), var(--orange));
  color: white;
  border-bottom-right-radius: 4px;
}
.chat-msg.bot .msg-bubble {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--text-primary);
  border-bottom-left-radius: 4px;
}

/* Spinner loader */
.msg-loading {
  padding: 10px 16px;
}
.msg-loading svg {
  animation: spin 1s linear infinite;
  color: var(--orange);
}
@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Streaming cursor blink */
.msg-streaming::after {
  content: '▊';
  color: var(--orange);
  animation: blink 0.6s step-end infinite;
  margin-left: 1px;
}
@keyframes blink {
  50% { opacity: 0; }
}

.chat-input-row {
  padding: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  gap: 8px;
}
.chat-input {
  flex: 1;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.04);
  font-family: var(--font-body);
  font-size: 0.84rem;
  color: var(--text-primary);
  outline: none;
  transition: all 0.2s ease;
}
.chat-input:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
  background: rgba(255, 255, 255, 0.06);
}
.chat-input::placeholder { color: var(--text-faint); }
.chat-input:disabled { opacity: 0.5; }

.chat-send {
  width: 40px; height: 40px;
  border-radius: var(--radius-sm);
  border: none;
  background: linear-gradient(135deg, var(--red), var(--orange));
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  flex-shrink: 0;
}
.chat-send:hover { transform: scale(1.06); }
.chat-send:disabled { opacity: 0.4; cursor: not-allowed; transform: none; }

/* ── SCROLL REVEAL ── */
.project-card,
.phil-card,
.flow-step,
.contact-card,
.spotlight-stat {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.project-card.visible,
.phil-card.visible,
.flow-step.visible,
.contact-card.visible,
.spotlight-stat.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .project-grid { grid-template-columns: 1fr; }
  .phil-grid { grid-template-columns: repeat(2, 1fr); }
  .flow-grid { flex-direction: column; }
  .flow-arrow { transform: rotate(90deg); }
  .spotlight-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-burger { display: flex; }

  .hero-title { font-size: 2rem; }
  .hero-actions { flex-direction: column; align-items: center; }
  .hero-stats { flex-direction: column; gap: 16px; padding: 20px 32px; }
  .stat-divider { width: 60px; height: 1px; }

  .phil-grid { grid-template-columns: 1fr; }
  .contact-grid { flex-direction: column; align-items: center; }
  .card-features { grid-template-columns: 1fr; }
  .spotlight-grid { grid-template-columns: repeat(2, 1fr); }
  .spotlight-cta { flex-direction: column; align-items: center; }
  .rune-arch { justify-content: center; }

  .section { padding: 60px 16px; }
  .section-title { font-size: 1.6rem; }

  .chat-panel {
    width: calc(100vw - 32px);
    right: 16px;
    bottom: 16px;
  }
}

/* ── COMPANION MODAL (Google 4-color: Blue #4285F4, Red #EA4335, Yellow #FBBC04, Green #34A853) ── */
.companion-card { cursor: pointer; }
.companion-card:hover { border-color: rgba(66, 133, 244, 0.3); }
.companion-card .card-top-line { background: linear-gradient(90deg, #4285F4, #EA4335, #FBBC04, #34A853) !important; }

.comp-overlay {
  position: fixed; inset: 0; z-index: 300;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
  animation: nmFadeIn 0.25s ease;
}
.comp-overlay[hidden] { display: none; }

.comp-modal {
  position: relative; width: 100%; max-width: 720px; max-height: 90vh;
  overflow-y: auto;
  background: rgba(14, 14, 22, 0.92);
  backdrop-filter: blur(32px) saturate(1.3); -webkit-backdrop-filter: blur(32px) saturate(1.3);
  border: 1px solid rgba(66, 133, 244, 0.12);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow-lg), 0 0 60px rgba(66, 133, 244, 0.06), 0 0 60px rgba(234, 67, 53, 0.04);
  animation: nmSlideUp 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.comp-close {
  position: absolute; top: 16px; right: 16px;
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  border-radius: var(--radius-xs);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-muted); cursor: pointer;
  transition: all 0.2s ease;
}
.comp-close:hover { background: rgba(255, 255, 255, 0.08); color: #fff; }

.comp-hero-row { display: flex; gap: 32px; align-items: flex-start; margin-bottom: 28px; }

.comp-visual {
  flex-shrink: 0; width: 180px; height: 180px;
  display: flex; align-items: center; justify-content: center;
  filter: drop-shadow(0 0 20px rgba(66, 133, 244, 0.15));
}
.comp-visual svg { width: 100%; height: 100%; }

.comp-info { flex: 1; }
.comp-badge-row { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.comp-version { font-size: 12px; font-weight: 600; color: #4285F4; background: rgba(66, 133, 244, 0.1); padding: 2px 8px; border-radius: 6px; }
.comp-title {
  font-family: var(--font-display); font-size: 1.6rem; font-weight: 700; margin: 0 0 4px;
  background: linear-gradient(135deg, #4285F4, #EA4335, #FBBC04, #34A853);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.comp-tagline { font-size: 0.95rem; color: #4285F4; font-weight: 500; margin: 0 0 10px; }
.comp-desc { font-size: 0.82rem; color: var(--text-secondary); line-height: 1.6; margin: 0; }

.comp-stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
  margin-bottom: 24px; padding: 20px;
  background: linear-gradient(135deg, rgba(66,133,244,0.04), rgba(234,67,53,0.03), rgba(251,188,4,0.03), rgba(52,168,83,0.04));
  border: 1px solid rgba(66, 133, 244, 0.1);
  border-radius: 12px;
}
.comp-stat { text-align: center; }
.comp-stat:nth-child(1) .comp-stat-num { color: #4285F4; }
.comp-stat:nth-child(2) .comp-stat-num { color: #EA4335; }
.comp-stat:nth-child(3) .comp-stat-num { color: #FBBC04; }
.comp-stat:nth-child(4) .comp-stat-num { color: #34A853; }
.comp-stat-num { display: block; font-family: var(--font-mono); font-size: 1.5rem; font-weight: 700; }
.comp-stat-label { display: block; font-size: 0.7rem; color: var(--text-muted); margin-top: 2px; }

.comp-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.comp-chip {
  font-size: 0.72rem; font-weight: 500;
  padding: 4px 12px; border-radius: 9999px;
}
.comp-chip:nth-child(4n+1) { color: rgba(66,133,244,0.9); background: rgba(66,133,244,0.08); border: 1px solid rgba(66,133,244,0.15); }
.comp-chip:nth-child(4n+2) { color: rgba(234,67,53,0.9); background: rgba(234,67,53,0.08); border: 1px solid rgba(234,67,53,0.15); }
.comp-chip:nth-child(4n+3) { color: rgba(251,188,4,0.9); background: rgba(251,188,4,0.08); border: 1px solid rgba(251,188,4,0.15); }
.comp-chip:nth-child(4n+4) { color: rgba(52,168,83,0.9); background: rgba(52,168,83,0.08); border: 1px solid rgba(52,168,83,0.15); }

.comp-ctas { display: flex; gap: 10px; margin-bottom: 16px; }
.comp-btn { font-size: 0.82rem; font-weight: 600; padding: 10px 22px; border-radius: 10px; text-decoration: none; transition: all 0.2s ease; }
.comp-btn.btn-primary { background: #4285F4; color: #fff; box-shadow: 0 2px 8px rgba(66,133,244,0.3); }
.comp-btn.btn-primary:hover { background: #3b78e7; transform: translateY(-1px); box-shadow: 0 4px 16px rgba(66,133,244,0.4); }
.comp-btn.btn-ghost { background: rgba(255,255,255,0.04); color: var(--text-secondary); border: 1px solid rgba(255,255,255,0.1); }
.comp-btn.btn-ghost:hover { background: rgba(255,255,255,0.08); color: #fff; }

.comp-install {
  background: rgba(0, 0, 0, 0.3); border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px; padding: 12px 16px;
}
.comp-install code { font-family: var(--font-mono); font-size: 0.78rem; color: #4285F4; }

@media (max-width: 768px) {
  .comp-hero-row { flex-direction: column; }
  .comp-visual { width: 120px; height: 120px; margin: 0 auto; }
  .comp-stats { grid-template-columns: repeat(2, 1fr); }
}
