:root {
  --bg: #0A0B0D; --surface: #14161A; --surface2: #1B1E23; --edge: rgba(255,255,255,.09);
  --text: #F3F5F7; --muted: #8C929C; --lime: #D4FF3A; --cyan: #38E1FF;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
a { color: var(--lime); }
.top { display: flex; align-items: center; justify-content: space-between; max-width: 1040px; margin: 0 auto; padding: 18px 16px; }
.brand { display: flex; gap: 10px; align-items: center; color: var(--text); text-decoration: none; font-weight: 700; font-size: 20px; }
.langs a { color: var(--muted); text-decoration: none; margin-inline-start: 14px; font-weight: 600; }
.langs a:hover { color: var(--text); }
.hero { max-width: 1040px; margin: 0 auto; padding: 40px 16px 24px; display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.hero h1 { font-size: clamp(36px, 6vw, 60px); line-height: 1.05; margin: 0 0 16px; letter-spacing: -.02em; }
.hero h1 em { font-style: normal; color: var(--lime); }
.hero p { color: var(--muted); font-size: 18px; margin: 0 0 28px; }
.btn { display: inline-flex; align-items: center; gap: 10px; background: var(--lime); color: #0A0B0D; padding: 14px 22px; border-radius: 16px; font-weight: 700; text-decoration: none; box-shadow: 0 10px 30px rgba(212,255,58,.3); }
.btn.ghost { background: transparent; border: 1px solid var(--edge); color: var(--text); margin-inline-start: 10px; box-shadow: none; }
.squeeze { justify-self: center; position: relative; width: min(420px, 86vw); aspect-ratio: 16/10; display: grid; place-items: center; }
.squeeze::before { content: ""; position: absolute; inset: -20%; background: radial-gradient(circle, rgba(212,255,58,.22), transparent 60%); }
.squeeze .frame { width: 62%; aspect-ratio: 16/9; border-radius: 16px; border: 3px solid #fff; background: linear-gradient(#FF9A5A, #FF5FCB 55%, #5B2EB5); position: relative; overflow: hidden; animation: sq 2.6s ease-in-out infinite; }
.squeeze .bar { position: absolute; top: 8%; bottom: 8%; width: 8px; border-radius: 4px; background: var(--lime); box-shadow: 0 0 18px var(--lime); animation: bar 2.6s ease-in-out infinite; }
.squeeze .bar.l { left: 8%; } .squeeze .bar.r { right: 8%; animation-name: barr; }
@keyframes sq { 0%,100% { transform: scaleX(1); } 45%,70% { transform: scaleX(.6); } }
@keyframes bar { 0%,100% { transform: translateX(0); } 45%,70% { transform: translateX(60px); } }
@keyframes barr { 0%,100% { transform: translateX(0); } 45%,70% { transform: translateX(-60px); } }
.features { max-width: 1040px; margin: 0 auto; padding: 24px 16px 56px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card { background: var(--surface); border: 1px solid var(--edge); border-radius: 22px; padding: 22px; }
.card h3 { margin: 0 0 6px; font-size: 17px; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }
.card .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--lime); margin-bottom: 14px; box-shadow: 0 0 12px var(--lime); }
.doc { max-width: 760px; margin: 0 auto; padding: 8px 16px 48px; }
.doc section { background: var(--surface); border: 1px solid var(--edge); border-radius: 24px; padding: 28px; margin-bottom: 24px; }
.doc h1 { margin-top: 0; font-size: 30px; }
.doc h2 { font-size: 19px; margin-top: 28px; }
.muted { color: var(--muted); }
.foot { text-align: center; color: var(--muted); padding: 24px 16px 40px; font-size: 14px; }
@media (max-width: 760px) {
  .hero { grid-template-columns: 1fr; padding-top: 16px; }
  .features { grid-template-columns: 1fr; }
  .btn.ghost { margin: 10px 0 0; }
  .doc section { padding: 20px; }
}
