/* === Atlas Landing Page === */
:root {
  --bg: #0a0e12;
  --bg-2: #11171d;
  --bg-3: #1a2332;
  --border: #1e2a3a;
  --text: #e1e8ed;
  --text-2: #8899a6;
  --accent: #3b82f6;
  --accent-2: #60a5fa;
  --green: #22c55e;
  --red: #ef4444;
  --orange: #f59e0b;
  --purple: #a855f7;
  --radius: 12px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; background: var(--bg); color: var(--text); line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { color: var(--accent-2); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { line-height: 1.3; font-weight: 700; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); text-align: center; margin-bottom: 1rem; }
h2 em { color: var(--accent-2); font-style: normal; }
.section-sub { text-align: center; color: var(--text-2); font-size: 1.15rem; max-width: 640px; margin: 0 auto 3rem; }

/* Navigation */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; background: rgba(10,14,18,0.85); backdrop-filter: blur(12px); border-bottom: 1px solid var(--border); }
.nav-inner { max-width: 1200px; margin: 0 auto; padding: 0 24px; height: 60px; display: flex; align-items: center; justify-content: space-between; }
.logo { font-size: 1.4rem; font-weight: 800; color: var(--text); letter-spacing: -0.03em; }
.logo:hover { text-decoration: none; }
.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-links a { font-size: 0.9rem; color: var(--text-2); font-weight: 500; transition: color 0.15s; }
.nav-links a:hover { color: var(--text); text-decoration: none; }
.nav-cta { background: var(--accent); color: #fff !important; padding: 8px 20px; border-radius: 8px; font-weight: 600; }
.nav-cta:hover { background: var(--accent-2); text-decoration: none; }

/* Hero */
.hero { min-height: 90vh; display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; padding: 120px 24px 60px; }
.hero-bg { position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 0%, rgba(59,130,246,0.08) 0%, transparent 60%); pointer-events: none; }
.hero-content { max-width: 800px; text-align: center; position: relative; }
.hero-badge { display: inline-block; padding: 6px 16px; background: rgba(59,130,246,0.1); border: 1px solid rgba(59,130,246,0.2); border-radius: 100px; font-size: 0.85rem; color: var(--accent-2); margin-bottom: 24px; font-weight: 500; }
.hero h1 { margin-bottom: 1.5rem; }
.hero h1 em { color: var(--accent-2); font-style: normal; }
.hero-sub { font-size: 1.15rem; color: var(--text-2); max-width: 600px; margin: 0 auto 2rem; line-height: 1.7; }
.hero-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-bottom: 3rem; }
.hero-stats { display: flex; gap: 32px; justify-content: center; flex-wrap: wrap; }
.stat { font-size: 0.85rem; color: var(--text-2); }
.stat-value { display: block; font-size: 1.5rem; font-weight: 700; color: var(--accent-2); margin-bottom: 2px; }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 28px; border-radius: 10px; font-size: 1rem; font-weight: 600; transition: all 0.2s; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-2); text-decoration: none; transform: translateY(-1px); }
.btn-secondary { background: var(--bg-2); color: var(--text); border: 1px solid var(--border); }
.btn-secondary:hover { background: var(--bg-3); text-decoration: none; }

/* Sections */
.section { padding: 100px 24px; }
.section-inner { max-width: 1100px; margin: 0 auto; }

/* Problem */
.problem { background: var(--bg-2); }
.problem-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.problem-card { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; }
.problem-icon { font-size: 2rem; margin-bottom: 12px; }
.problem-card h3 { font-size: 1.1rem; margin-bottom: 8px; }
.problem-card p { font-size: 0.95rem; color: var(--text-2); line-height: 1.6; }

/* Solution */
.solution-show { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: start; }
.terminal-window { background: #0d1117; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.terminal-header { padding: 12px 16px; background: #161b22; border-bottom: 1px solid var(--border); display: flex; gap: 8px; align-items: center; }
.terminal-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--red); }
.terminal-dot:nth-child(2) { background: var(--orange); }
.terminal-dot:nth-child(3) { background: var(--green); }
.terminal-title { margin-left: 8px; font-size: 0.8rem; color: var(--text-2); }
.terminal-body { padding: 20px; font-family: 'SF Mono', 'Fira Code', 'Consolas', monospace; font-size: 0.85rem; line-height: 1.7; }
.terminal-body .prompt { color: var(--green); font-weight: 700; }
.terminal-body .output { color: var(--accent-2); margin-bottom: 4px; }
.terminal-body .cursor { animation: blink 1s step-end infinite; color: var(--text); }
@keyframes blink { 50% { opacity: 0; } }
.solution-features { display: flex; flex-direction: column; gap: 16px; }
.feature { display: flex; gap: 12px; align-items: center; font-size: 1rem; padding: 16px; background: var(--bg-2); border-radius: var(--radius); }
.feature-icon { font-size: 1.3rem; flex-shrink: 0; }

/* Steps */
.steps { display: flex; align-items: center; justify-content: center; gap: 24px; flex-wrap: wrap; }
.step { background: var(--bg-2); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; max-width: 300px; text-align: center; }
.step-number { width: 40px; height: 40px; border-radius: 50%; background: var(--accent); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 1.1rem; margin: 0 auto 12px; }
.step h3 { font-size: 1.1rem; margin-bottom: 6px; }
.step p { font-size: 0.9rem; color: var(--text-2); }
.step-arrow { font-size: 1.5rem; color: var(--text-2); }

/* Registry */
.registry { background: var(--bg-2); }
.registry-search { max-width: 500px; margin: 0 auto 24px; }
.registry-search input { width: 100%; padding: 12px 16px; border: 1px solid var(--border); border-radius: 8px; background: var(--bg); color: var(--text); font-size: 1rem; }
.registry-search input:focus { outline: none; border-color: var(--accent); }
.package-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 16px; }
.package-card { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; transition: border-color 0.2s; }
.package-card:hover { border-color: var(--accent); }
.package-name { font-weight: 700; font-size: 1.1rem; margin-bottom: 6px; }
.package-desc { font-size: 0.9rem; color: var(--text-2); margin-bottom: 12px; }
.package-meta { display: flex; gap: 12px; font-size: 0.8rem; color: var(--text-2); }
.package-meta span { background: var(--bg-2); padding: 2px 8px; border-radius: 4px; }

/* Install */
.install-cmds { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; margin-bottom: 2rem; }
.install-card { background: var(--bg-2); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.install-label { padding: 12px 16px; background: #161b22; border-bottom: 1px solid var(--border); font-weight: 600; font-size: 0.9rem; }
.install-code { padding: 16px; font-family: 'SF Mono', 'Fira Code', 'Consolas', monospace; font-size: 0.85rem; color: var(--accent-2); line-height: 1.6; }
.install-extra { text-align: center; color: var(--text-2); font-size: 0.9rem; }
.install-extra a { color: var(--accent-2); }

/* Comparison */
.comparison { background: var(--bg-2); }
.table-wrap { overflow-x: auto; }
.compare-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.compare-table th, .compare-table td { padding: 14px 16px; text-align: center; border-bottom: 1px solid var(--border); }
.compare-table th { background: var(--bg-3); font-weight: 600; white-space: nowrap; }
.compare-table th:first-child { text-align: left; }
.compare-table td:first-child { text-align: left; font-weight: 500; white-space: nowrap; }
.compare-table td.yes { color: var(--green); font-weight: 600; }
.compare-table td.no { color: var(--text-2); }
.compare-table td.partial { color: var(--orange); }

/* Footer */
.footer { border-top: 1px solid var(--border); padding: 60px 24px 20px; }
.footer-inner { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }
.footer-logo { font-size: 1.3rem; font-weight: 800; margin-bottom: 8px; }
.footer-col p { font-size: 0.9rem; color: var(--text-2); }
.footer-col h4 { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 1px; color: var(--text-2); margin-bottom: 12px; }
.footer-col a { display: block; font-size: 0.9rem; color: var(--text-2); margin-bottom: 6px; }
.footer-col a:hover { color: var(--text); }
.footer-bottom { text-align: center; margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--border); font-size: 0.85rem; color: var(--text-2); }

/* Responsive */
@media (max-width: 768px) {
  .nav-links a:not(.nav-cta) { display: none; }
  .solution-show { grid-template-columns: 1fr; }
  .steps { flex-direction: column; }
  .step-arrow { transform: rotate(90deg); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}
