:root {
  --bg: #0b0d0c;
  --panel: #141816;
  --line: #242a27;
  --text: #eef2ef;
  --muted: #9aa5a0;
  --accent: #d4ff3a;
  --accent-ink: #0b0d0c;
  --radius: 14px;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.55 Manrope, system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img, video { display: block; max-width: 100%; }

/* Шапка */
.top {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; gap: 24px;
  padding: 12px max(16px, calc((100vw - 1160px) / 2));
  background: rgba(11, 13, 12, .86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; text-decoration: none; }
.brand img { border-radius: 50%; }
.nav { display: flex; gap: 20px; margin-left: auto; }
.nav a { color: var(--muted); text-decoration: none; font-weight: 500; }
.nav a:hover { color: var(--text); }
.lang { display: flex; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; }
.lang button {
  background: none; border: 0; color: var(--muted); padding: 6px 10px;
  font: 700 12px/1 Manrope, sans-serif; cursor: pointer;
}
.lang button[aria-pressed="true"] { background: var(--accent); color: var(--accent-ink); }

main { max-width: 1160px; margin: 0 auto; padding: 0 16px; }

/* Бірінші экран */
.hero {
  display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; align-items: center;
  padding: 64px 0 40px;
}
.eyebrow { color: var(--accent); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; font-size: 13px; margin: 0 0 12px; }
h1 { font-size: clamp(36px, 6vw, 64px); line-height: 1.05; margin: 0 0 20px; font-weight: 800; letter-spacing: -.02em; }
.lead { font-size: 19px; color: #cfd8d3; margin: 0 0 28px; max-width: 34em; }
.note { color: var(--muted); font-size: 14px; margin: 18px 0 0; }
.hero-reel { justify-self: center; width: min(320px, 100%); }
.hero-reel video {
  width: 100%; aspect-ratio: 9 / 16; object-fit: cover;
  border-radius: 28px; border: 1px solid var(--line);
  box-shadow: 0 30px 80px rgba(212, 255, 58, .12);
}

.cta { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 13px 20px; border-radius: 999px; border: 1px solid var(--line);
  text-decoration: none; font-weight: 700; background: var(--panel);
  transition: border-color .15s, transform .15s;
}
.btn:hover { border-color: var(--muted); transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.btn-primary:hover { border-color: var(--accent); }

/* Бөлімдер */
.block { padding: 56px 0; border-top: 1px solid var(--line); }
h2 { font-size: clamp(28px, 4vw, 40px); margin: 0 0 8px; letter-spacing: -.01em; }
h3 { font-size: 20px; margin: 36px 0 14px; }
.sub { color: var(--muted); margin: 0 0 8px; }

.grid { display: grid; gap: 14px; }
.grid-v { grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); }
.grid-h { grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); }
.work { margin: 0; }
.work .frame {
  position: relative; overflow: hidden; border-radius: var(--radius);
  background: #000; border: 1px solid var(--line); cursor: pointer;
}
.grid-v .frame { aspect-ratio: 9 / 16; }
.grid-h .frame { aspect-ratio: 16 / 9; }
.frame img, .frame video { width: 100%; height: 100%; object-fit: contain; }
.frame .play {
  position: absolute; inset: auto auto 12px 12px;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--accent); display: grid; place-items: center;
  transition: transform .15s;
}
.frame .play::before {
  content: ""; margin-left: 4px;
  border-left: 14px solid var(--accent-ink); border-top: 9px solid transparent; border-bottom: 9px solid transparent;
}
.frame:hover .play { transform: scale(1.08); }
.work figcaption { padding: 10px 2px 0; }
.work b { display: block; }
.work span { color: var(--muted); font-size: 14px; }
.work figcaption a { display: inline-block; margin-top: 6px; font-size: 14px; font-weight: 600; }

/* Баға */
.prices { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 14px; margin-top: 24px; }
.price { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.price h3 { margin: 0 0 6px; font-size: 17px; }
.price .amount { color: var(--accent); font-size: 22px; line-height: 1.2; font-weight: 800; margin: 0 0 8px; }
.price p { margin: 0; color: #c3ccc7; font-size: 15px; }
.steps { counter-reset: s; list-style: none; padding: 0; margin: 28px 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; }
.steps li { counter-increment: s; padding: 16px 18px; border: 1px dashed var(--line); border-radius: var(--radius); color: #cfd8d3; }
.steps li::before { content: counter(s); display: block; color: var(--accent); font-weight: 800; font-size: 22px; margin-bottom: 4px; }

/* Код жобалары */
.projects { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 14px; margin-top: 24px; }
.project { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; display: flex; flex-direction: column; gap: 8px; }
.project h3 { margin: 0; font-size: 17px; }
.project p { margin: 0; color: #c3ccc7; font-size: 15px; }
.project .facts { color: var(--accent); font-weight: 700; font-size: 14px; margin-top: auto; padding-top: 6px; }
.project .stack { color: var(--muted); font-size: 13px; }
.project a { color: var(--accent); }

.contact { text-align: center; }
.contact .cta { justify-content: center; margin-top: 20px; }

.foot { border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; text-align: center; padding: 28px 16px 40px; }
.foot p { margin: 4px 0; }

/* Privacy беттері */
.doc { max-width: 760px; margin: 0 auto; padding: 48px 16px 64px; }
.doc h1 { font-size: clamp(30px, 5vw, 42px); }
.doc h2 { font-size: 22px; margin-top: 32px; }
.doc p, .doc li { color: #cfd8d3; }
.doc .muted { color: var(--muted); }

@media (max-width: 820px) {
  .nav { display: none; }
  .lang { margin-left: auto; }
  .hero { grid-template-columns: 1fr; gap: 32px; padding-top: 36px; }
  .hero-reel { width: min(260px, 80%); }
  .grid-v { grid-template-columns: repeat(2, 1fr); }
  .grid-h { grid-template-columns: 1fr; }
  .projects { grid-template-columns: 1fr; }
  .btn { flex: 1 1 auto; }
}
