/* OGM Lightweight - Go Binary / Terminal Theme */

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

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

:root {
  --bg: #030806;
  --bg-card: #060d0a;
  --bg-card-hover: #0a1510;
  --bg-surface: #08100d;
  --text: #b8d4c8;
  --text-dim: #4a6b5a;
  --text-bright: #d8f0e4;
  --border: #12241a;
  --border-hover: #1a3628;
  --accent: #22d3a7;
  --accent-dim: rgba(34, 211, 167, 0.08);
  --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --mono: 'JetBrains Mono', 'Fira Code', monospace;
}

html { font-size: 16px; -webkit-font-smoothing: antialiased; }
body { font-family: var(--font); background: var(--bg); color: var(--text); line-height: 1.6; min-height: 100vh; }
a { color: inherit; text-decoration: none; }

/* Nav */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; background: rgba(3, 8, 6, 0.92); backdrop-filter: blur(24px); border-bottom: 1px solid var(--border); }
.nav-inner { max-width: 1000px; margin: 0 auto; padding: 0 2rem; height: 56px; display: flex; align-items: center; justify-content: space-between; }
.nav-brand { display: flex; align-items: center; gap: 10px; }
.nav-logo { width: 26px; height: 26px; background: var(--accent); border-radius: 5px; display: flex; align-items: center; justify-content: center; font-family: var(--mono); font-size: 0.7rem; font-weight: 700; color: var(--bg); }
.nav-title { font-size: 0.82rem; font-weight: 600; color: var(--text-bright); letter-spacing: -0.01em; font-family: var(--mono); }
.nav-links { display: flex; align-items: center; gap: 1.5rem; }
.nav-link { font-size: 0.8rem; color: var(--text-dim); transition: color 200ms; font-weight: 450; }
.nav-link:hover { color: var(--text); }

/* Hero */
.hero { padding: 120px 2rem 80px; max-width: 1000px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; min-height: 80vh; }
.hero-content { }
.hero-visual { }
.hero-badge { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border: 1px solid var(--border); border-radius: 100px; font-size: 0.72rem; color: var(--text-dim); margin-bottom: 1.5rem; font-weight: 450; font-family: var(--mono); }
.hero-badge .go { color: #00add8; font-weight: 600; }
.hero h1 { font-size: clamp(2rem, 3.5vw, 2.8rem); font-weight: 650; letter-spacing: -0.04em; line-height: 1.08; margin-bottom: 1.25rem; color: var(--text-bright); }
.hero h1 span { color: var(--accent); }
.hero .lead { font-size: 0.95rem; color: var(--text-dim); line-height: 1.7; margin-bottom: 2rem; max-width: 440px; }
.hero-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.btn { display: inline-flex; align-items: center; gap: 7px; padding: 9px 18px; border-radius: 6px; font-size: 0.82rem; font-weight: 500; font-family: var(--font); transition: all 200ms; cursor: pointer; border: none; }
.btn-primary { background: var(--accent); color: var(--bg); }
.btn-primary:hover { background: #1ab892; }
.btn-ghost { background: transparent; color: var(--text-dim); border: 1px solid var(--border); }
.btn-ghost:hover { color: var(--text); border-color: var(--border-hover); }
.btn svg { width: 14px; height: 14px; }

/* Binary Visual */
.binary-visual { background: var(--bg-card); border: 1px solid var(--border); border-radius: 10px; overflow: hidden; }
.binary-header { display: flex; align-items: center; gap: 6px; padding: 10px 14px; border-bottom: 1px solid var(--border); background: var(--bg-surface); }
.binary-dot { width: 8px; height: 8px; border-radius: 50%; }
.binary-header span { font-size: 0.7rem; color: var(--text-dim); font-family: var(--mono); margin-left: 6px; }
.binary-body { padding: 1.25rem; font-family: var(--mono); font-size: 0.72rem; line-height: 2; color: var(--text-dim); }
.binary-body .prompt { color: var(--accent); }
.binary-body .cmd { color: var(--text-bright); }
.binary-body .out { color: var(--text-dim); }
.binary-body .ok { color: var(--accent); }
.binary-body .dim { color: #2a4a3a; }

/* Section */
.section { padding: 80px 2rem; max-width: 1000px; margin: 0 auto; }
.section-label { font-size: 0.7rem; font-weight: 500; text-transform: uppercase; letter-spacing: 0.1em; color: var(--accent); margin-bottom: 0.75rem; font-family: var(--mono); }
.section-title { font-size: clamp(1.6rem, 3vw, 2rem); font-weight: 620; letter-spacing: -0.03em; line-height: 1.15; margin-bottom: 0.75rem; color: var(--text-bright); }
.section-desc { font-size: 0.92rem; color: var(--text-dim); max-width: 480px; line-height: 1.7; margin-bottom: 3rem; }

/* Three Operations */
.ops-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.op-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: 10px; padding: 1.5rem; text-align: center; transition: border-color 200ms; position: relative; }
.op-card:hover { border-color: var(--border-hover); }
.op-card .op-name { font-family: var(--mono); font-size: 0.82rem; font-weight: 600; color: var(--accent); margin-bottom: 0.5rem; }
.op-card h3 { font-size: 1.1rem; font-weight: 620; color: var(--text-bright); margin-bottom: 0.5rem; }
.op-card p { font-size: 0.78rem; color: var(--text-dim); line-height: 1.6; }
.op-card::after { content: ''; position: absolute; bottom: 0; left: 20%; right: 20%; height: 2px; background: var(--accent); opacity: 0.3; border-radius: 0 0 10px 10px; }

/* Data Model */
.model-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.model-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: 10px; padding: 1.25rem 1.5rem; display: flex; align-items: flex-start; gap: 14px; transition: border-color 200ms; }
.model-card:hover { border-color: var(--border-hover); }
.model-card .num { font-family: var(--mono); font-size: 0.7rem; color: var(--accent); font-weight: 600; width: 24px; height: 24px; border: 1px solid var(--border); border-radius: 4px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.model-card h4 { font-size: 0.88rem; font-weight: 620; color: var(--text-bright); margin-bottom: 0.25rem; }
.model-card p { font-size: 0.78rem; color: var(--text-dim); line-height: 1.5; }

/* Architecture */
.arch-block { background: var(--bg-card); border: 1px solid var(--border); border-radius: 10px; padding: 2rem; font-family: var(--mono); font-size: 0.78rem; line-height: 2.2; }
.arch-block .layer { display: flex; align-items: center; gap: 12px; }
.arch-block .layer-name { color: var(--accent); font-weight: 600; min-width: 110px; }
.arch-block .layer-desc { color: var(--text-dim); }
.arch-block .arrow { color: #1a3628; padding-left: 50px; }

/* Stack Visual */
.stack-visual { background: var(--bg-card); border: 1px solid var(--border); border-radius: 12px; padding: 2rem; overflow-x: auto; }
.stack-visual svg { width: 100%; max-width: 700px; height: auto; display: block; margin: 0 auto; min-width: 500px; }

/* Install Grid */
.install-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.install-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: 10px; overflow: hidden; transition: border-color 200ms; }
.install-card:hover { border-color: var(--border-hover); }
.install-header { display: flex; align-items: center; gap: 10px; padding: 1rem 1.25rem; border-bottom: 1px solid var(--border); }
.install-icon { width: 28px; height: 28px; border-radius: 5px; display: flex; align-items: center; justify-content: center; background: var(--accent-dim); color: var(--accent); }
.install-icon svg { width: 14px; height: 14px; }
.install-header h3 { font-size: 0.88rem; font-weight: 620; color: var(--text-bright); }
.install-card .code-block { border: none; border-radius: 0; }
.install-card .code-header { display: none; }
.install-card .code-body { padding: 1rem 1.25rem; font-size: 0.72rem; line-height: 1.8; }

/* Harness Visual */
.harness-visual { background: var(--bg-card); border: 1px solid var(--border); border-radius: 12px; padding: 2rem; overflow-x: auto; margin-bottom: 2rem; }
.harness-visual svg { width: 100%; max-width: 800px; height: auto; display: block; margin: 0 auto; min-width: 600px; }

/* Harness Commands */
.harness-commands { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-bottom: 2rem; }
.harness-cmd { }
.harness-name { display: flex; align-items: center; gap: 8px; margin-bottom: 0.75rem; font-size: 0.88rem; font-weight: 620; color: var(--text-bright); }
.h-icon { width: 28px; height: 28px; border-radius: 5px; display: flex; align-items: center; justify-content: center; font-size: 0.65rem; font-weight: 700; font-family: var(--mono); background: var(--accent-dim); }
.harness-cmd .code-block .code-header { padding: 6px 12px; }
.harness-cmd .code-block .code-body { padding: 1rem; font-size: 0.7rem; line-height: 1.7; }

/* MCP Tools */
.mcp-tools { background: var(--bg-card); border: 1px solid var(--border); border-radius: 10px; padding: 1.5rem; }
.mcp-tools-title { font-size: 0.78rem; font-weight: 620; color: var(--accent); margin-bottom: 1rem; font-family: var(--mono); }
.mcp-tools-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; }
.mcp-tool { text-align: center; padding: 0.75rem; background: var(--bg-surface); border: 1px solid var(--border); border-radius: 6px; }
.tool-name { display: block; font-size: 0.7rem; font-weight: 600; color: var(--accent); font-family: var(--mono); margin-bottom: 0.25rem; }
.tool-desc { display: block; font-size: 0.62rem; color: var(--text-dim); }

/* Features */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.feature-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: 10px; padding: 1.5rem; transition: border-color 200ms; }
.feature-card:hover { border-color: var(--border-hover); }
.feature-card .icon { width: 32px; height: 32px; border-radius: 6px; display: flex; align-items: center; justify-content: center; margin-bottom: 0.9rem; background: var(--accent-dim); color: var(--accent); }
.feature-card .icon svg { width: 16px; height: 16px; }
.feature-card h4 { font-size: 0.88rem; font-weight: 620; margin-bottom: 0.4rem; color: var(--text-bright); }
.feature-card p { font-size: 0.78rem; color: var(--text-dim); line-height: 1.6; }

/* Code Block */
.code-block { background: var(--bg-card); border: 1px solid var(--border); border-radius: 10px; overflow: hidden; }
.code-header { display: flex; align-items: center; justify-content: space-between; padding: 8px 14px; border-bottom: 1px solid var(--border); background: var(--bg-surface); }
.code-header span { font-size: 0.7rem; color: var(--text-dim); font-family: var(--mono); }
.code-dots { display: flex; gap: 5px; }
.code-dots span { width: 9px; height: 9px; border-radius: 50%; background: var(--border); }
.code-body { padding: 1.25rem; font-family: var(--mono); font-size: 0.78rem; line-height: 1.9; color: var(--text-dim); overflow-x: auto; }
.code-body .c { color: #2a4a3a; }
.code-body .k { color: var(--accent); }
.code-body .s { color: #00add8; }

/* Tech */
.tech-grid { display: flex; flex-wrap: wrap; gap: 8px; }
.tech-chip { display: inline-flex; align-items: center; gap: 5px; padding: 5px 12px; background: var(--bg-card); border: 1px solid var(--border); border-radius: 100px; font-size: 0.72rem; font-weight: 450; color: var(--text-dim); }
.tech-chip .dot { width: 5px; height: 5px; border-radius: 50%; }

/* Footer */
.footer { border-top: 1px solid var(--border); padding: 2.5rem 2rem; margin-top: 3rem; }
.footer-inner { max-width: 1000px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; }
.footer-left { font-size: 0.78rem; color: var(--text-dim); font-family: var(--mono); }
.footer-links { display: flex; gap: 1.25rem; }
.footer-link { font-size: 0.78rem; color: var(--text-dim); transition: color 200ms; }
.footer-link:hover { color: var(--text); }

/* Responsive */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; min-height: auto; padding-top: 100px; }
  .hero-visual { display: none; }
  .ops-grid, .features-grid { grid-template-columns: 1fr; }
  .model-grid { grid-template-columns: 1fr; }
  .install-grid { grid-template-columns: 1fr; }
  .harness-commands { grid-template-columns: 1fr; }
  .mcp-tools-grid { grid-template-columns: repeat(3, 1fr); }
  .nav-links { display: none; }
}

@media (max-width: 600px) {
  .mcp-tools-grid { grid-template-columns: repeat(2, 1fr); }
}
