:root {
  color-scheme: dark;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  color: #eef4f8;
  background: #0b131c;
  --surface: #111d29;
  --surface-2: #162534;
  --line: #26394a;
  --muted: #93a7b7;
  --accent: #ffd83d;
  --accent-ink: #171a1d;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  background: radial-gradient(circle at 75% 10%, #18344a 0, transparent 33%), linear-gradient(#0d1723, #091119 70%);
  color: #eef4f8;
}
a { color: inherit; }

.site-header {
  height: 76px;
  max-width: 1180px;
  margin: auto;
  padding: 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: #fff;
  text-decoration: none;
  font-weight: 750;
  font-size: 19px;
  letter-spacing: -.02em;
}
.brand-mark {
  width: 40px;
  height: 40px;
  display: block;
  object-fit: contain;
  box-sizing: border-box;
  padding: 2px;
  border-radius: 10px;
  background: linear-gradient(145deg, #edf5ff, #8fbcff);
  box-shadow: 0 8px 22px rgba(79, 141, 247, .22);
}
.header-link { color: #cbd8e1; text-decoration: none; padding: 9px 13px; border-radius: 8px; }
.header-link:hover { background: rgba(255,255,255,.05); color: #fff; }
main { max-width: 1180px; margin: auto; padding: 0 28px; }

.hero {
  min-height: 560px;
  display: grid;
  grid-template-columns: minmax(0,1.25fr) minmax(300px,.75fr);
  align-items: center;
  gap: 72px;
  padding: 76px 0 64px;
}
.eyebrow { margin: 0 0 15px; color: #8fa8ba; font-size: 11px; font-weight: 750; letter-spacing: .18em; }
.hero h1, .product-hero h1 { margin: 0; font-size: clamp(44px,6.2vw,78px); line-height: 1.02; letter-spacing: -.055em; }
.hero h1 span, .product-hero h1 span { color: var(--accent); }
.lead { max-width: 670px; margin: 27px 0 0; color: #adbfcb; font-size: 19px; line-height: 1.65; }
.hero-actions { margin-top: 34px; }
.hero-action-buttons { display: flex; flex-wrap: nowrap; gap: 10px; }
.hero-action-buttons .button { padding: 0 14px; white-space: nowrap; font-size: 14px; }
.hero-actions > .download-meta { display: block; margin-top: 12px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid var(--line);
  border-radius: 9px;
  text-decoration: none;
  font-weight: 700;
}
.button.primary { border-color: var(--accent); background: var(--accent); color: var(--accent-ink); }
.button.primary:hover { background: #ffe268; }
.button.secondary { background: rgba(255,255,255,.03); color: #f5f8fa; }
.button.secondary:hover { background: rgba(255,255,255,.07); }

.hero-card {
  position: relative;
  padding: 30px;
  border: 1px solid #385167;
  border-radius: 18px;
  background: linear-gradient(145deg,rgba(23,41,56,.87),rgba(16,29,41,.93));
  box-shadow: 0 28px 70px rgba(0,0,0,.47);
}
.hero-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(120deg,rgba(255,255,255,.043),transparent 36%);
  pointer-events: none;
}
.hero-card-head { display: flex; align-items: center; gap: 9px; color: #a9bdca; font-size: 12px; text-transform: uppercase; letter-spacing: .1em; }
.live-dot { width: 9px; height: 9px; border-radius: 50%; background: #5cd18b; box-shadow: 0 0 0 5px rgba(92,209,139,.114); }
.hero-card strong { display: block; margin: 28px 0 18px; font-size: 25px; line-height: 1.25; }
.hero-card ul { list-style: none; margin: 0; padding: 0; }
.hero-card li { padding: 12px 0; border-top: 1px solid rgba(255,255,255,.07); color: #c1d0da; }
.hero-card li::before { content: "✓"; margin-right: 11px; color: var(--accent); font-weight: 800; }

.services, .product-section { padding: 72px 0 100px; border-top: 1px solid rgba(255,255,255,.07); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 40px; margin-bottom: 28px; }
.section-head h2, .download-panel h2 { margin: 0; font-size: 32px; letter-spacing: -.025em; }
.section-head > p { max-width: 390px; margin: 0; color: var(--muted); line-height: 1.55; }
.service-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 16px; }
.service-card {
  min-height: 245px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: var(--surface);
  display: flex;
  flex-direction: column;
  text-decoration: none;
  transition: transform .18s,border-color .18s,background .18s;
}
.service-card[href]:hover { transform: translateY(-3px); border-color: #54738b; background: var(--surface-2); }
.service-card.accent { border-color: #806f2d; background: linear-gradient(145deg,#24271d,#14212b); }
.service-card h3 { margin: 0 0 9px; font-size: 22px; }
.service-title { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.service-title h3 { margin: 0; }
.service-logo { width: 44px; height: 44px; flex: 0 0 auto; border-radius: 12px; }
.service-card p { margin: 0; color: var(--muted); line-height: 1.55; }
.service-action { margin-top: auto; padding-top: 24px; color: #f5df71; font-weight: 700; }

.product-hero {
  min-height: 610px;
  display: grid;
  grid-template-columns: minmax(0,1.1fr) minmax(370px,.9fr);
  align-items: center;
  gap: 70px;
  padding: 72px 0;
}
.download-meta { color: #8fa8ba; font-size: 13px; }
.product-logo { width: 88px; height: 88px; display: block; margin: 0 0 22px; border-radius: 22px; box-shadow: 0 18px 46px rgba(0,0,0,.3); }
.remote-window {
  overflow: hidden;
  border: 1px solid #385167;
  border-radius: 18px;
  background: linear-gradient(145deg,rgba(23,41,56,.95),rgba(12,24,35,.98));
  box-shadow: 0 30px 80px rgba(0,0,0,.5);
}
.window-bar { height: 48px; display: flex; align-items: center; gap: 7px; padding: 0 16px; border-bottom: 1px solid rgba(255,255,255,.07); }
.window-dot { width: 8px; height: 8px; border-radius: 50%; background: #415669; }
.window-title { margin-left: 8px; color: #8fa8ba; font-size: 12px; }
.remote-list { padding: 16px; }
.remote-item { display: grid; grid-template-columns: 38px 1fr auto; align-items: center; gap: 12px; padding: 15px 14px; border: 1px solid transparent; border-radius: 12px; }
.remote-item + .remote-item { margin-top: 7px; }
.remote-item.active { border-color: #7c6d31; background: rgba(255,216,61,.08); }
.remote-item strong, .remote-item small { display: block; }
.remote-item strong { font-size: 14px; }
.remote-item small { margin-top: 4px; color: #7990a2; font-size: 11px; }
.computer-icon { position: relative; width: 32px; height: 23px; border: 2px solid #7f98aa; border-radius: 5px; }
.computer-icon::after { content: ""; position: absolute; left: 9px; right: 9px; bottom: -6px; height: 2px; background: #7f98aa; box-shadow: 0 3px 0 -1px #7f98aa; }
.connect-arrow { color: var(--accent); font-size: 19px; }

.feature-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; }
.feature-card { min-height: 220px; padding: 25px; border: 1px solid var(--line); border-radius: 15px; background: var(--surface); }
.feature-card[href] { color: inherit; text-decoration: none; transition: transform .18s,border-color .18s,background .18s; }
.feature-card[href]:hover { transform: translateY(-3px); border-color: #6b43f2; background: var(--surface-2); }
.feature-number { color: var(--accent); font-size: 12px; font-weight: 800; letter-spacing: .12em; }
.feature-card h3 { margin: 42px 0 10px; font-size: 21px; }
.feature-card p { margin: 0; color: var(--muted); line-height: 1.6; }
.faq-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; }
.faq-card { padding: 25px; border: 1px solid var(--line); border-radius: 15px; background: rgba(17,29,41,.72); }
.faq-card h3 { margin: 0 0 12px; font-size: 19px; }
.faq-card p { margin: 0; color: var(--muted); line-height: 1.65; }
.download-panel {
  margin: 0 0 100px;
  padding: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  border: 1px solid #806f2d;
  border-radius: 18px;
  background: linear-gradient(145deg,#24271d,#14212b);
}
.download-panel p:last-child { margin: 12px 0 0; color: var(--muted); }
.download-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 12px; }
.messenger-window { padding: 18px; }
.messenger-appbar { display: flex; align-items: center; gap: 12px; padding: 4px 2px 17px; border-bottom: 1px solid rgba(255,255,255,.07); }
.messenger-avatar { width: 42px; height: 42px; display: block; flex: 0 0 auto; border-radius: 13px; }
.messenger-appbar strong, .messenger-appbar small { display: block; }
.messenger-appbar small { margin-top: 3px; color: #7990a2; font-size: 11px; }
.message-list { display: flex; min-height: 270px; padding: 24px 4px 4px; flex-direction: column; justify-content: flex-end; gap: 10px; }
.message { max-width: 82%; padding: 11px 14px; border-radius: 15px 15px 15px 5px; background: #20384a; color: #dce8ef; font-size: 13px; line-height: 1.45; }
.message.outgoing { align-self: flex-end; border-radius: 15px 15px 5px 15px; background: rgba(255,216,61,.15); color: #fff3b1; }
.checksum { max-width: 700px; overflow-wrap: anywhere; font: 11px/1.5 ui-monospace,Consolas,monospace; color: #8fa8ba; }

footer {
  max-width: 1180px;
  margin: auto;
  padding: 28px;
  border-top: 1px solid rgba(255,255,255,.07);
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 30px;
  color: #7f95a5;
  font-size: 12px;
}
.footer-brand { font-size: 15px; }
.footer-brand .brand-mark { width: 32px; height: 32px; border-radius: 8px; }
footer p { margin: 0; }

@media (max-width: 850px) {
  .hero, .product-hero { grid-template-columns: 1fr; gap: 38px; padding-top: 55px; }
  .hero-card, .remote-window { max-width: 540px; }
  .service-grid, .feature-grid, .faq-grid { grid-template-columns: 1fr 1fr; }
  .section-head { align-items: start; flex-direction: column; gap: 12px; }
}
@media (max-width: 590px) {
  .site-header, main, footer { padding-left: 18px; padding-right: 18px; }
  .hero, .product-hero { min-height: 0; padding: 48px 0 56px; }
  .hero h1, .product-hero h1 { font-size: 44px; }
  .lead { font-size: 16px; }
  .hero-action-buttons { flex-direction: column; }
  .hero-action-buttons .button { width: 100%; }
  .download-meta { text-align: center; }
  .service-grid, .feature-grid, .faq-grid { grid-template-columns: 1fr; }
  .services, .product-section { padding: 55px 0 70px; }
  .section-head h2, .download-panel h2 { font-size: 27px; }
  .download-panel { margin-bottom: 70px; padding: 27px 22px; align-items: stretch; flex-direction: column; }
  .download-actions { justify-content: flex-start; flex-direction: column; }
  footer { grid-template-columns: 1fr; gap: 13px; }
}
