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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: #fafafa;
  color: #1a1a1a;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  transition: background 0.3s, color 0.3s;
}

a { color: inherit; text-decoration: none; }

/* DARK THEME */
body.dark { background: #0a0a0a; color: #e5e5e5; }
body.dark nav { background: rgba(10,10,10,0.92); border-color: #1a1a1a; }
body.dark .nav-brand { color: #e5e5e5; }
body.dark .nav-right a { color: #888; }
body.dark .nav-right a:hover { color: #e5e5e5; }
body.dark .hero-tag { background: #1a1a1a; color: #888; }
body.dark .hero h1 { color: #e5e5e5; }
body.dark .hero-sub { color: #888; }
body.dark .btn-outline { border-color: #333; color: #888; }
body.dark .btn-outline:hover { border-color: #666; color: #e5e5e5; }
body.dark .hero-proof { color: #666; }
body.dark .sep { color: #333; }
body.dark .code-window { background: #111; border-color: #222; }
body.dark .code-bar { background: #0a0a0a; border-color: #1a1a1a; color: #666; }
body.dark .code-window pre { color: #ccc; }
body.dark .c-comment { color: #666; }
body.dark .c-kw { color: #f97583; }
body.dark .c-str { color: #79c0ff; }
body.dark .section-label { color: #666; }
body.dark .section-inner h2 { color: #e5e5e5; }
body.dark .cap { background: #111; border-color: #1a1a1a; }
body.dark .cap:hover { border-color: #333; }
body.dark .cap h3 { color: #e5e5e5; }
body.dark .cap p { color: #666; }
body.dark .cap-icon { color: #444; }
body.dark .bench-row { border-color: #1a1a1a; }
body.dark .bench-row.bench-header { border-color: #222; }
body.dark .bench-name { color: #888; }
body.dark .bench-val { color: #666; }
body.dark .bench-val.highlight { color: #a78bfa; }
body.dark .tweet { background: #111; border-color: #1a1a1a; }
body.dark .tweet p { color: #ccc; }
body.dark .tweet-author { color: #666; }
body.dark .cta-box { background: #e5e5e5; }
body.dark .cta-box h2 { color: #0a0a0a; }
body.dark .cta-box p { color: #666; }
body.dark .cta-box .btn-primary.light { background: #0a0a0a; color: #e5e5e5; }
body.dark .cta-box .btn-primary.light:hover { background: #222; }
body.dark footer { border-color: #1a1a1a; }
body.dark .footer-inner { color: #444; }
body.dark .footer-inner span:first-child { color: #888; }

/* NAV */
nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; background: rgba(250,250,250,0.92); backdrop-filter: blur(12px); border-bottom: 1px solid #eee; transition: background 0.3s, border-color 0.3s; }
.nav-inner { max-width: 1100px; margin: 0 auto; padding: 14px 24px; display: flex; align-items: center; justify-content: space-between; }
.nav-brand { font-size: 18px; font-weight: 800; color: #1a1a1a; letter-spacing: -0.5px; }
.nav-right { display: flex; align-items: center; gap: 24px; }
.nav-right a { font-size: 14px; color: #666; transition: color 0.15s; }
.nav-right a:hover { color: #1a1a1a; }
.nav-cta { background: #1a1a1a !important; color: #fff !important; padding: 8px 18px; border-radius: 8px; font-weight: 500 !important; }
body.dark .nav-cta { background: #e5e5e5 !important; color: #0a0a0a !important; }
.theme-toggle { background: none; border: 1px solid #ddd; border-radius: 6px; padding: 5px 7px; cursor: pointer; color: #666; display: flex; align-items: center; transition: border-color 0.15s; }
.theme-toggle:hover { border-color: #999; }
body.dark .theme-toggle { border-color: #333; color: #888; }
body.dark .theme-toggle:hover { border-color: #666; }
.icon-moon { display: none; }
body.dark .icon-sun { display: none; }
body.dark .icon-moon { display: block; }

/* HERO */
.hero { max-width: 1100px; margin: 0 auto; padding: 140px 24px 80px; text-align: center; }
.hero-tag { display: inline-block; font-size: 13px; font-weight: 600; color: #a78bfa; background: rgba(167,139,250,0.08); padding: 6px 16px; border-radius: 20px; margin-bottom: 24px; letter-spacing: 1px; text-transform: uppercase; }
.hero h1 { font-size: 64px; font-weight: 900; line-height: 1.05; letter-spacing: -2.5px; margin-bottom: 20px; }
.hero-sub { font-size: 18px; color: #666; max-width: 540px; margin: 0 auto 32px; line-height: 1.6; }
.hero-btns { display: flex; gap: 12px; justify-content: center; margin-bottom: 40px; }
.btn-primary { display: inline-block; background: #1a1a1a; color: #fff; padding: 14px 28px; border-radius: 10px; font-size: 15px; font-weight: 600; transition: background 0.15s, transform 0.1s; }
.btn-primary:hover { background: #333; transform: translateY(-1px); }
.btn-primary.light { background: #fff; color: #1a1a1a; }
.btn-primary.light:hover { background: #f0f0f0; }
.btn-outline { display: inline-block; padding: 14px 28px; border-radius: 10px; font-size: 15px; font-weight: 500; color: #666; border: 1px solid #ddd; transition: border-color 0.15s, color 0.15s; }
.btn-outline:hover { border-color: #999; color: #1a1a1a; }
.hero-proof { display: flex; gap: 8px; justify-content: center; font-size: 13px; color: #999; }
.sep { color: #ddd; }

/* CODE */
.code-section { max-width: 600px; margin: 0 auto 80px; padding: 0 24px; }
.code-window { background: #fff; border: 1px solid #e5e5e5; border-radius: 12px; overflow: hidden; box-shadow: 0 2px 8px rgba(0,0,0,0.04); transition: background 0.3s, border-color 0.3s; }
.code-bar { display: flex; align-items: center; gap: 10px; padding: 10px 16px; background: #fafafa; border-bottom: 1px solid #eee; font-size: 12px; color: #999; transition: background 0.3s; }
.dots { display: flex; gap: 5px; }
.dots i { width: 10px; height: 10px; border-radius: 50%; display: block; }
.dots i:nth-child(1) { background: #ff5f57; }
.dots i:nth-child(2) { background: #febc2e; }
.dots i:nth-child(3) { background: #28c840; }
.code-window pre { padding: 20px; font-size: 13px; line-height: 1.7; font-family: 'SF Mono', 'Fira Code', monospace; color: #333; overflow-x: auto; }
.c-comment { color: #999; }
.c-kw { color: #d73a49; }
.c-str { color: #032f62; }

/* CAPABILITIES */
.section-inner { max-width: 1100px; margin: 0 auto; padding: 80px 24px; }
.section-label { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 2px; color: #a78bfa; margin-bottom: 12px; text-align: center; }
.section-inner h2 { font-size: 36px; font-weight: 800; text-align: center; margin-bottom: 48px; letter-spacing: -1px; }
.cap-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.cap { background: #fff; border: 1px solid #e5e5e5; border-radius: 12px; padding: 28px; transition: border-color 0.2s, transform 0.2s, background 0.3s; }
.cap:hover { border-color: #ccc; transform: translateY(-2px); }
.cap-icon { font-size: 14px; font-weight: 700; color: #ccc; margin-bottom: 14px; font-family: 'SF Mono', monospace; }
.cap h3 { font-size: 16px; font-weight: 600; margin-bottom: 6px; }
.cap p { font-size: 13px; color: #888; line-height: 1.5; }

/* BENCHMARKS */
.bench-table { max-width: 700px; margin: 0 auto; }
.bench-row { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; padding: 14px 0; border-bottom: 1px solid #eee; transition: border-color 0.3s; }
.bench-row.bench-header { border-bottom: 2px solid #eee; padding-bottom: 16px; margin-bottom: 4px; }
.bench-name { font-size: 14px; font-weight: 500; }
.bench-val { font-size: 14px; color: #888; text-align: center; }
.bench-val.highlight { color: #a78bfa; font-weight: 700; }
.bench-header .bench-val { font-weight: 600; color: #666; font-size: 13px; text-transform: uppercase; letter-spacing: 0.5px; }

/* TWEETS */
.tweets { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.tweet { background: #fff; border: 1px solid #e5e5e5; border-radius: 12px; padding: 20px; transition: background 0.3s, border-color 0.3s; }
.tweet p { font-size: 14px; line-height: 1.5; color: #333; margin-bottom: 12px; }
.tweet-author { font-size: 12px; color: #999; }

/* CTA */
.cta-section { max-width: 1100px; margin: 0 auto; padding: 0 24px 80px; }
.cta-box { background: #1a1a1a; border-radius: 16px; padding: 60px 40px; text-align: center; transition: background 0.3s; }
.cta-box h2 { font-size: 32px; font-weight: 800; color: #fff; margin-bottom: 8px; letter-spacing: -1px; }
.cta-box p { font-size: 16px; color: #999; margin-bottom: 24px; }

/* FOOTER */
footer { border-top: 1px solid #eee; padding: 20px 24px; transition: border-color 0.3s; }
.footer-inner { max-width: 1100px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; font-size: 13px; color: #bbb; }
.footer-inner span:first-child { color: #666; font-weight: 700; }

@media (max-width: 768px) {
  .hero h1 { font-size: 40px; letter-spacing: -1px; }
  .hero-sub { font-size: 16px; }
  .hero-btns { flex-direction: column; align-items: center; }
  .hero-proof { flex-direction: column; gap: 4px; }
  .cap-grid, .tweets { grid-template-columns: 1fr; }
  .bench-row { grid-template-columns: 1.5fr 1fr 1fr 1fr; font-size: 12px; }
  .nav-right a:not(.nav-cta) { display: none; }
  .cta-box { padding: 40px 20px; }
  .footer-inner { flex-direction: column; gap: 4px; text-align: center; }
}
