/* =====================================================
   DataFusionX Portfolio - Shared Styles
   https://manojkarki2020.com.np
   ===================================================== */

:root {
  --carbon: #080d14;
  --panel: #0f172a;
  --panel-hover: #1e293b;
  --line: #1e293b;
  --line-active: #334155;
  --bone: #f8fafc;
  --bone-dim: #94a3b8;
  --moss: #10b981;
  --moss-dim: #059669;
  --gold: #f59e0b;
  --gold-dim: #d97706;
  --cyan: #06b6d4;
  --accent-glow: rgba(16, 185, 129, 0.12);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--carbon);
  color: var(--bone);
  font-family: 'Inter', sans-serif;
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
::selection { background: var(--moss); color: var(--carbon); }
.wrap { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
.bg-grid {
  background-image:
    linear-gradient(rgba(248, 250, 252, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(248, 250, 252, 0.03) 1px, transparent 1px);
  background-size: 36px 36px;
}

/* ===== Header / Nav ===== */
header.site {
  position: sticky; top: 0; z-index: 100;
  background: rgba(8, 13, 20, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'IBM Plex Mono', monospace;
  font-weight: 600;
  font-size: 15px;
}
.brand .dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--moss);
  box-shadow: 0 0 10px var(--moss);
}
nav.desktop-links {
  display: flex;
  gap: 28px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 13px;
  color: var(--bone-dim);
}
nav.desktop-links a { transition: color 0.15s; }
nav.desktop-links a:hover { color: var(--gold); }
.nav-cta {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 13px;
  font-weight: 600;
  border: 1px solid var(--moss-dim);
  color: var(--moss);
  padding: 9px 16px;
  border-radius: 6px;
  transition: all 0.2s;
  background: var(--accent-glow);
}
.nav-cta:hover {
  border-color: var(--moss);
  background: var(--moss);
  color: var(--carbon);
}

/* Dropdown */
.nav-dropdown { position: relative; }
.nav-dropdown > a {
  display: flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
}
.nav-dropdown > a::after {
  content: '▾';
  font-size: 11px;
  transition: transform 0.2s;
}
.nav-dropdown:hover > a::after { transform: rotate(180deg); }
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  margin-top: 12px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 10px;
  min-width: 270px;
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s;
  box-shadow: 0 12px 30px rgba(0,0,0,0.4);
  z-index: 200;
}
.nav-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
}
.dropdown-menu a {
  display: block;
  padding: 11px 18px;
  font-size: 13px;
  color: var(--bone-dim);
  transition: all 0.15s;
}
.dropdown-menu a:hover {
  background: var(--accent-glow);
  color: var(--moss);
}
.dropdown-menu .dropdown-label {
  padding: 8px 18px 4px;
  font-size: 11px;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
}

/* Mobile */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--bone);
  font-size: 24px;
  cursor: pointer;
}
.drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
  z-index: 85;
}
.drawer-overlay.open {
  opacity: 1;
  pointer-events: auto;
}
.mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 290px;
  height: 100vh;
  background: var(--panel);
  border-left: 1px solid var(--line);
  padding: 80px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  z-index: 90;
  font-family: 'IBM Plex Mono', monospace;
  overflow-y: auto;
}
.mobile-drawer.open { transform: translateX(0); }
.mobile-drawer a {
  font-size: 15px;
  color: var(--bone-dim);
}
.mobile-drawer a:hover { color: var(--gold); }

/* ===== Common Components ===== */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent-glow);
  color: var(--moss);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 20px;
}
.btn-primary {
  background: var(--moss);
  color: var(--carbon);
  font-weight: 600;
  padding: 14px 26px;
  border-radius: 10px;
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background 0.2s;
  border: none;
  cursor: pointer;
}
.btn-primary:hover { background: var(--moss-dim); }
.btn-secondary {
  background: transparent;
  border: 1px solid var(--line-active);
  color: var(--bone);
  padding: 14px 26px;
  border-radius: 10px;
  font-size: 15px;
  transition: all 0.2s;
  cursor: pointer;
}
.btn-secondary:hover {
  border-color: var(--moss);
  color: var(--moss);
}

/* Stats */
.stats-strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--panel);
}
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat-card {
  padding: 28px 20px;
  border-right: 1px solid var(--line);
  text-align: center;
}
.stat-card:last-child { border-right: none; }
.stat-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--gold);
}
.stat-lbl {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  color: var(--bone-dim);
  margin-top: 6px;
  letter-spacing: 0.05em;
}

/* Sections */
section { padding: 72px 0; }
.section-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 12px;
}
.section-desc {
  color: var(--bone-dim);
  margin-bottom: 36px;
  max-width: 600px;
}

/* Cards */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}
.feature-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 26px;
  transition: border-color 0.2s;
}
.feature-card:hover { border-color: var(--moss); }
.feature-card h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.1rem;
  margin-bottom: 10px;
}
.feature-card p {
  color: var(--bone-dim);
  font-size: 0.95rem;
}

/* Code */
.code-block {
  background: #020617;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 24px;
  overflow-x: auto;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 13px;
  line-height: 1.55;
  color: #e2e8f0;
  white-space: pre;
}

/* CTA */
.cta-box {
  background: linear-gradient(135deg, #0f172a, #0a1f1a);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 50px 40px;
  text-align: center;
  margin: 20px 0 60px;
}
.cta-box h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.8rem;
  margin-bottom: 12px;
}
.cta-box p {
  color: var(--bone-dim);
  margin-bottom: 28px;
}

/* FAQ */
.faq-item {
  border-bottom: 1px solid var(--line);
  padding: 22px 0;
}
.faq-item h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.1rem;
  margin-bottom: 8px;
}
.faq-item p {
  color: var(--bone-dim);
  font-size: 0.95rem;
}

/* Footer */
footer {
  border-top: 1px solid var(--line);
  padding: 30px 0;
  text-align: center;
  color: var(--bone-dim);
  font-size: 0.9rem;
}

/* ===== Actor Detail Pages ===== */
.hero {
  padding: 90px 0 60px;
  border-bottom: 1px solid var(--line);
}
.hero h1 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2.1rem, 5vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 18px;
}
.hero h1 span { color: var(--moss); }
.hero-desc {
  font-size: 1.15rem;
  color: var(--bone-dim);
  max-width: 680px;
  margin-bottom: 32px;
}
.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* ===== Actors Hub ===== */
.hero-center {
  padding: 80px 0 40px;
  text-align: center;
  border-bottom: 1px solid var(--line);
}
.hero-center .hero-desc {
  margin: 0 auto 28px;
}
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  padding: 30px 0 10px;
}
.filter-btn {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 13px;
  padding: 8px 16px;
  border-radius: 20px;
  border: 1px solid var(--line-active);
  color: var(--bone-dim);
  background: transparent;
  cursor: pointer;
  transition: 0.2s;
}
.filter-btn:hover,
.filter-btn.active {
  border-color: var(--moss);
  color: var(--moss);
  background: var(--accent-glow);
}
.actor-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 20px;
}
.actor-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  transition: 0.2s;
}
.actor-card:hover {
  border-color: var(--moss);
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.3);
}
.actor-badge {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  font-weight: 600;
  color: var(--moss);
  background: var(--accent-glow);
  padding: 4px 10px;
  border-radius: 20px;
  width: fit-content;
  margin-bottom: 12px;
}
.actor-badge.secondary {
  color: var(--gold);
  background: rgba(245,158,11,0.12);
}
.actor-card h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.15rem;
  margin-bottom: 8px;
}
.actor-card p {
  color: var(--bone-dim);
  font-size: 0.92rem;
  flex-grow: 1;
  margin-bottom: 16px;
}
.actor-meta {
  display: flex;
  gap: 14px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  color: var(--bone-dim);
  margin-bottom: 16px;
}
.actor-meta span { color: var(--gold); }
.actor-links {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.actor-links .btn-primary,
.actor-links .btn-secondary {
  padding: 10px 16px;
  font-size: 13px;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  nav.desktop-links,
  .nav-cta { display: none; }
  .mobile-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    position: relative;
    z-index: 210;
  }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-card { border-bottom: 1px solid var(--line); }
  .actor-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }

  .wrap { padding: 0 16px; }
  .form-container { padding: 24px 18px; }
  .mcp-box { padding: 24px 18px; }
  .form-grid { gap: 16px; }
}

/* =====================================================
   Homepage-specific styles
   ===================================================== */
.font-display { font-family: 'Space Grotesk', sans-serif; }
.font-mono { font-family: 'IBM Plex Mono', monospace; }

.hero-home { padding: 80px 0 60px; }
.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 48px; align-items: center; }
.eyebrow {
  font-family: 'IBM Plex Mono', monospace; font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--gold); display: flex; align-items: center; gap: 10px; margin-bottom: 20px;
}
.eyebrow::before { content: ''; width: 24px; height: 2px; background: var(--gold); display: inline-block; }
.profile-badge { display: flex; align-items: center; gap: 20px; margin-bottom: 24px; }
.avatar-container { position: relative; width: 84px; height: 84px; flex-shrink: 0; }
.avatar-ring {
  position: absolute; inset: -4px; border-radius: 50%;
  background: conic-gradient(from 0deg, var(--moss), var(--cyan), var(--gold), var(--moss));
  animation: spinRing 4s linear infinite; opacity: 0.85;
}
.profile-img {
  position: relative; width: 84px; height: 84px; border-radius: 50%;
  border: 3px solid var(--panel); object-fit: cover; z-index: 2;
  animation: avatarFloat 3.5s ease-in-out infinite alternate;
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.4);
}
@keyframes spinRing { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }
@keyframes avatarFloat { 0% { transform: translateY(0) scale(1); } 100% { transform: translateY(-4px) scale(1.03); } }
.profile-title h1 { font-family: 'Space Grotesk', sans-serif; font-size: 38px; font-weight: 700; margin: 0; line-height: 1.1; }
.profile-title p { font-family: 'IBM Plex Mono', monospace; font-size: 14px; color: var(--moss); margin: 4px 0 0; }
.sub-hero { color: var(--bone-dim); font-size: 17px; line-height: 1.6; margin-bottom: 32px; }
.cta-row { display: flex; gap: 16px; flex-wrap: wrap; }
.btn {
  font-family: 'IBM Plex Mono', monospace; font-size: 14px; font-weight: 600;
  padding: 14px 24px; border-radius: 6px; display: inline-flex; align-items: center; gap: 10px;
  transition: all 0.2s; cursor: pointer; border: none;
}
.btn.btn-primary { background: var(--moss); color: var(--carbon); }
.btn.btn-primary:hover { background: #34d399; transform: translateY(-2px); box-shadow: 0 8px 20px rgba(16, 185, 129, 0.3); }
.btn-ghost { border: 1px solid var(--line-active); color: var(--bone); background: var(--panel); }
.btn-ghost:hover { border-color: var(--bone-dim); background: var(--panel-hover); transform: translateY(-2px); }

.terminal {
  background: var(--panel); border: 1px solid var(--line); border-radius: 12px;
  overflow: hidden; box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}
.term-bar { display: flex; align-items: center; gap: 8px; padding: 12px 16px; background: #020617; border-bottom: 1px solid var(--line); }
.term-dot { width: 11px; height: 11px; border-radius: 50%; }
.term-body { padding: 20px; font-family: 'IBM Plex Mono', monospace; font-size: 13px; line-height: 1.8; min-height: 250px; color: #cbd5e1; }
.term-prompt { color: var(--moss); }
.term-line { opacity: 0; animation: fadeIn 0.3s forwards; }
.cursor { display: inline-block; width: 8px; height: 15px; background: var(--gold); vertical-align: -2px; animation: blink 1s step-end infinite; }
@keyframes fadeIn { to { opacity: 1; } }
@keyframes blink { 50% { opacity: 0; } }

.skills-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.skill-card { background: var(--panel); border: 1px solid var(--line); border-radius: 10px; padding: 20px; transition: border-color 0.2s; }
.skill-card:hover { border-color: var(--moss); }
.skill-card h3 { font-family: 'Space Grotesk', sans-serif; font-size: 16px; color: var(--gold); margin: 0 0 12px; }
.skill-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.skill-tag {
  font-family: 'IBM Plex Mono', monospace; font-size: 11.5px;
  background: #020617; border: 1px solid var(--line-active); padding: 4px 10px; border-radius: 4px; color: var(--bone-dim);
}

.section-head { margin-bottom: 48px; }
.kicker { font-family: 'IBM Plex Mono', monospace; font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--moss); }
h2.section-title { font-family: 'Space Grotesk', sans-serif; font-size: 32px; font-weight: 700; margin: 8px 0 12px; }

/* Homepage actor cards (2-col) */
.home-actor-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.home-actor-card {
  background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 28px;
  display: flex; flex-direction: column; justify-content: space-between; transition: all 0.2s;
}
.home-actor-card:hover { border-color: var(--moss); transform: translateY(-3px); box-shadow: 0 12px 30px rgba(0,0,0,0.3); }
.actor-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 16px; }
.home-actor-card .actor-badge {
  font-family: 'IBM Plex Mono', monospace; font-size: 11px; padding: 4px 10px; border-radius: 20px;
  background: rgba(245, 158, 11, 0.12); color: var(--gold); border: 1px solid rgba(245, 158, 11, 0.3);
}
.actor-title { font-family: 'Space Grotesk', sans-serif; font-size: 20px; font-weight: 600; margin: 0 0 10px; color: var(--bone); }
.actor-usecase { color: var(--bone-dim); font-size: 14px; line-height: 1.6; margin-bottom: 20px; }
.actor-target { font-family: 'IBM Plex Mono', monospace; font-size: 12px; color: var(--cyan); margin-bottom: 20px; padding: 8px 12px; background: rgba(6, 182, 212, 0.08); border-radius: 6px; }
.actor-footer { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--line); padding-top: 16px; margin-top: auto; }
.actor-stat { font-family: 'IBM Plex Mono', monospace; font-size: 13px; color: var(--moss); }
.actor-link { font-family: 'IBM Plex Mono', monospace; font-size: 13px; font-weight: 600; color: var(--gold); display: flex; align-items: center; gap: 6px; }

.seo-board { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; margin-top: 40px; }
.seo-row {
  display: grid; grid-template-columns: 2.2fr 1.5fr 1fr; gap: 16px; align-items: center;
  padding: 16px 24px; border-bottom: 1px solid var(--line); font-size: 14px;
}
.seo-row:last-child { border-bottom: none; }
.seo-row:hover { background: var(--panel-hover); }
.seo-title { font-family: 'Space Grotesk', sans-serif; font-weight: 600; color: var(--bone); }
.seo-kw { font-family: 'IBM Plex Mono', monospace; font-size: 12px; color: var(--cyan); }
.seo-action { text-align: right; font-family: 'IBM Plex Mono', monospace; font-size: 13px; font-weight: 600; color: var(--gold); }

.mcp-box { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 36px; }
.mcp-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 32px; }
.mcp-card { background: #020617; border: 1px solid var(--line); border-radius: 8px; padding: 24px; }
.mcp-card h3 { font-family: 'Space Grotesk', sans-serif; font-size: 18px; color: var(--cyan); margin: 0 0 12px; }
.mcp-card p { font-size: 14px; color: var(--bone-dim); line-height: 1.6; margin: 0; }

.form-container { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 40px; }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-group.full { grid-column: span 2; }
label { font-family: 'IBM Plex Mono', monospace; font-size: 13px; color: var(--bone); }
input, select, textarea {
  width: 100%; 
  background: #020617; border: 1px solid var(--line-active); border-radius: 6px;
  padding: 12px 16px; 
  color: var(--bone); 
  font-family: 'Inter',
  sans-serif; font-size: 14px;
  transition: border-color 0.2s;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--moss); }
textarea { resize: vertical; min-height: 120px; }

.social-strip { border-top: 1px solid var(--line); background: var(--panel); padding: 50px 0; }
.social-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.social-card {
  background: #020617; border: 1px solid var(--line); border-radius: 10px; padding: 24px;
  display: flex; align-items: center; justify-content: space-between; transition: all 0.2s; min-height: 90px;
}
.social-card:hover { border-color: var(--gold); transform: translateY(-2px); }
.social-info { display: flex; align-items: center; gap: 16px; }
.social-icon-box {
  width: 44px; height: 44px; border-radius: 8px; background: rgba(248, 250, 252, 0.05);
  display: flex; align-items: center; justify-content: center; font-size: 22px; flex-shrink: 0;
}
.social-text { display: flex; flex-direction: column; justify-content: center; }
.social-name { font-family: 'Space Grotesk', sans-serif; font-weight: 600; font-size: 16px; color: var(--bone); margin: 0; line-height: 1.2; }
.social-sub { font-family: 'IBM Plex Mono', monospace; font-size: 12px; color: var(--bone-dim); margin-top: 4px; }
.social-arrow { font-family: 'IBM Plex Mono', monospace; font-size: 14px; font-weight: 600; color: var(--gold); flex-shrink: 0; }

.chat-widget-btn {
  position: fixed; bottom: 28px; right: 28px; z-index: 99;
  background: var(--moss); color: var(--carbon); border: none; border-radius: 50px;
  padding: 14px 22px; font-family: 'IBM Plex Mono', monospace; font-weight: 600; font-size: 14px;
  box-shadow: 0 10px 25px rgba(16, 185, 129, 0.4); cursor: pointer; display: flex; align-items: center; gap: 10px;
  transition: transform 0.2s;
}
.chat-widget-btn:hover { transform: scale(1.05); }
.chat-drawer {
  position: fixed; bottom: 90px; right: 28px; width: 380px; height: 500px;
  background: var(--panel); border: 1px solid var(--line-active); border-radius: 12px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.6); display: flex; flex-direction: column;
  z-index: 99; opacity: 0; pointer-events: none; transform: translateY(20px); transition: all 0.3s ease;
}
.chat-drawer.open { opacity: 1; pointer-events: auto; transform: translateY(0); }
.chat-header {
  background: #020617; padding: 16px 20px; border-bottom: 1px solid var(--line);
  display: flex; justify-content: space-between; align-items: center; border-radius: 12px 12px 0 0;
}
.chat-title { font-family: 'Space Grotesk', sans-serif; font-weight: 600; font-size: 15px; color: var(--moss); display: flex; align-items: center; gap: 8px; }
.chat-close { background: none; border: none; color: var(--bone-dim); font-size: 20px; cursor: pointer; }
.chat-messages { flex: 1; padding: 16px; overflow-y: auto; display: flex; flex-direction: column; gap: 12px; font-size: 13px; }
.msg { max-width: 85%; padding: 10px 14px; border-radius: 8px; line-height: 1.5; }
.msg-ai { background: #020617; border: 1px solid var(--line); color: var(--bone); align-self: flex-start; }
.msg-user { background: var(--moss-dim); color: var(--bone); align-self: flex-end; }
.chat-input-area { padding: 12px; border-top: 1px solid var(--line); display: flex; gap: 8px; background: #020617; border-radius: 0 0 12px 12px; }
.chat-input-area input { flex: 1; padding: 8px 12px; font-size: 13px; }

@media (max-width: 960px) {
  .skills-grid { grid-template-columns: repeat(2, 1fr); }
  .social-grid { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .home-actor-grid { grid-template-columns: 1fr; }
  .mcp-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .form-group.full { grid-column: span 1; }
}
@media (max-width: 640px) {
  .skills-grid { grid-template-columns: 1fr; }
  .seo-row { grid-template-columns: 1fr; gap: 8px; }
  .seo-action { text-align: left; margin-top: 4px; }
  .chat-drawer { width: calc(100vw - 32px); right: 16px; bottom: 80px; }
}

@media (max-width: 768px) {
  .section-head { text-align: center; }
  .hero-home { text-align: center; }
  .cta-row { justify-content: center; }
  .profile-badge { justify-content: center; }
  .eyebrow { justify-content: center; }
  .eyebrow::before { display: none; }
  .home-actor-grid { grid-template-columns: 1fr; }
}
