*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
:root { --bg: #111111; --accent: #43C97E; --text: #d4d4d4; --muted: #666; --nav-height: 64px; }
html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--text); font-family: 'JetBrains Mono', monospace; font-weight: 300; min-height: 100vh; overflow-x: hidden; }
body::before { content: ''; position: fixed; inset: 0; background-image: linear-gradient(rgba(255,255,255,0.012) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.012) 1px, transparent 1px); background-size: 60px 60px; pointer-events: none; z-index: 0; }
nav { position: fixed; top: 0; left: 0; right: 0; height: var(--nav-height); display: flex; align-items: center; justify-content: space-between; padding: 0 2.5rem; background: rgba(17,17,17,0.85); backdrop-filter: blur(12px); border-bottom: 1px solid #1e1e1e; z-index: 100; }
.nav-logo { font-size: 1rem; font-weight: 700; color: #fff; text-decoration: none; letter-spacing: -0.02em; transition: color .2s; }
.nav-logo:hover { color: var(--accent); }
.nav-links { display: flex; gap: .25rem; list-style: none; }
.nav-links a { font-size: .82rem; color: var(--muted); text-decoration: none; padding: .4rem .85rem; border-radius: 6px; transition: color .2s, background .2s; }
.nav-links a:hover { color: var(--accent); background: rgba(67,201,126,.07); }
.page { position: relative; z-index: 1; max-width: 680px; margin: 0 auto; padding: calc(var(--nav-height) + 4rem) 2.5rem 5rem; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }
.section-label { font-size: .7rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #666; margin-bottom: 1.8rem; display: block; }
.section-divider { border: none; border-top: 1px solid #2e2e2e; margin: 2.8rem 0; }
h1 { font-size: clamp(1.7rem, 4vw, 2.3rem); font-weight: 700; color: #fff; letter-spacing: -.03em; margin-bottom: 3rem; line-height: 1.15; animation: fadeUp .7s ease both; }
.cards { display: flex; flex-direction: column; gap: .5rem; }
.card { background: #141414; border: 1px solid #1e1e1e; border-radius: 10px; padding: 1.4rem 1.6rem; animation: fadeUp .6s ease both; opacity: 0; transition: border-color .2s, background .2s; }
.card:hover { border-color: #2e2e2e; background: #161616; }
.card-label { font-size: .65rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #444; margin-bottom: .7rem; display: block; }
.card-text { font-size: .9rem; line-height: 1.75; color: var(--text); }
.card-text a { color: var(--accent); text-decoration: none; border-bottom: 1px solid rgba(67,201,126,.3); transition: border-color .2s, opacity .2s; }
.card-text a:hover { border-color: var(--accent); opacity: .85; }
footer { position: relative; z-index: 1; display: flex; justify-content: center; gap: 2rem; padding: 1.5rem 2.5rem; border-top: 1px solid #1e1e1e; }
footer a { font-size: .78rem; color: #666; text-decoration: none; transition: color .2s; }
footer a:hover { color: var(--accent); }
@media (max-width: 600px) { nav { padding: 0 1.2rem; } .nav-links a { padding: .35rem .5rem; font-size: .75rem; } .page { padding-left: 1.2rem; padding-right: 1.2rem; } }

.section-divider { border: none; border-top: 1px solid #2e2e2e; margin: 2.8rem 0; }

.accordion { display: flex; flex-direction: column; gap: .4rem; }
.acc-item { border: 1px solid #1e1e1e; border-radius: 8px; overflow: hidden; }
.acc-header { width: 100%; background: #161616; border: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; padding: .65rem 1rem; font-family: 'JetBrains Mono', monospace; font-size: .82rem; font-weight: 600; color: var(--text); transition: background .2s, color .2s; text-align: left; }
.acc-header:hover { background: #1c1c1c; color: var(--accent); }
.acc-header.open { color: var(--accent); background: #0e1e14; }
.acc-arrow { font-size: .6rem; color: var(--muted); transition: transform .25s; flex-shrink: 0; }
.acc-header.open .acc-arrow { transform: rotate(180deg); color: var(--accent); }
.acc-body { max-height: 0; overflow: hidden; transition: max-height .3s ease; background: #0e1610; }
.acc-body-inner { padding: .65rem 1rem .8rem; }

.acc-api-list { display: flex; flex-direction: column; gap: .6rem; }
.api-row { display: flex; flex-direction: column; gap: .15rem; }
.api-name { font-size: .78rem; font-weight: 600; color: var(--accent); text-decoration: none; transition: opacity .2s; }
.api-name:hover { opacity: .75; }
.api-desc { font-size: .72rem; color: var(--muted); line-height: 1.5; }

.love-block {
  background: #141414;
  border: 1px solid #1e1e1e;
  border-radius: 10px;
  padding: 1.6rem 1.6rem;
  text-align: center;
  transition: border-color .2s, background .2s;
}
.love-block:hover { border-color: #2e2e2e; background: #161616; }
.love-text { font-size: .9rem; color: var(--text); line-height: 1.75; margin-bottom: .6rem; }
.love-sub { font-size: .65rem; color: #444; }
.love-sub a { color: #555; text-decoration: none; border-bottom: 1px solid #333; transition: color .2s, border-color .2s; }
.love-sub a:hover { color: var(--muted); border-color: var(--muted); }
