:root{
  --bg-0: #0f0d1a;
  --bg-1: #1b1530;
  --acc-1: #6c3cff; /* фирменный фиолетовый */
  --acc-1-20: rgba(108,60,255,0.2);
  --text: #ffffff;
  --muted: #cfc9e6;
  --glass: rgba(255,255,255,0.06);
  --glass-bd: rgba(255,255,255,0.12);
  --shadow-lg: 0 20px 40px rgba(0,0,0,.35);
  --radius-xl: 24px;
  --radius-lg: 16px;
  --radius-md: 12px;
  --blur: 18px;
}

@media (prefers-color-scheme: light) {
  :root{
    --bg-0: #f6f7fb;
    --bg-1: #ffffff;
    --text: #0d0c22;
    --muted: #5b5970;
    --glass: rgba(255,255,255,0.65);
    --glass-bd: rgba(14,14,44,0.08);
    --shadow-lg: 0 20px 40px rgba(16,20,46,.12);
  }
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  color: var(--text);
  background:
    radial-gradient(1200px 800px at 20% -10%, #2b1f55 0%, transparent 60%),
    radial-gradient(1200px 800px at 100% 10%, #3f2a8a 0%, transparent 60%),
    linear-gradient(-45deg, var(--bg-0), var(--bg-1));
  overflow-x:hidden;
}

.container{
  width:min(1120px, 100%);
  margin-inline:auto;
  padding: clamp(16px, 3vw, 28px);
}

.bg{
  position:fixed; inset:0; pointer-events:none; z-index:-1;
  filter: blur(40px) saturate(120%);
}
.blob{
  position:absolute; border-radius:50%;
  opacity:.55; transform: translateZ(0);
}
.blob.b1{ width:38vw; height:38vw; left:-10vw; top:-8vw; background: radial-gradient(circle at 30% 30%, #7b5cff, #3a2b6b);}
.blob.b2{ width:32vw; height:32vw; right:-8vw; top:10vh; background: radial-gradient(circle at 60% 40%, #a06bff, #3f2b84);}
.blob.b3{ width:44vw; height:44vw; left:10vw; bottom:-18vw; background: radial-gradient(circle at 40% 60%, #4723ff, #2a1d52);}

.site-header{
  position:sticky; top:0; backdrop-filter:saturate(160%) blur(10px);
  background: color-mix(in oklab, var(--bg-1) 70%, transparent);
  border-bottom: 1px solid color-mix(in oklab, #ffffff 12%, transparent);
  z-index:10;
}
.site-header .container{
  display:flex; align-items:center; justify-content:space-between;
  padding-block: 12px;
}
.brand{
  display:flex; align-items:center; gap:12px; font-weight:700;
}
.logo{
  width:36px; height:36px; border-radius:12px;
  display:grid; place-items:center; font-weight:800;
  color:#fff; background: linear-gradient(135deg, #7b5cff, #4723ff);
  box-shadow: 0 10px 30px var(--acc-1-20);
}
.brand-name{letter-spacing:.2px}

.actions{display:flex; gap:10px}
a{
  color: inherit; text-decoration: none;
}
.btn{
  display:inline-flex; align-items:center; justify-content:center;
  height:44px; padding-inline:18px;
  border-radius:999px; border:1px solid transparent;
  font-weight:700; letter-spacing:.2px; cursor:pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
  will-change: transform;
  touch-action: manipulation;
}
.btn:focus-visible{ outline: 3px solid color-mix(in oklab, var(--acc-1) 40%, transparent); outline-offset: 2px; }
.btn:hover{ transform: translateY(-1px); }
.btn:active{ transform: translateY(0); }

.btn-primary{
  background: linear-gradient(135deg, #7b5cff, #4723ff);
  color:#fff; box-shadow: 0 12px 30px var(--acc-1-20);
}
.btn-primary:hover{
  box-shadow: 0 16px 40px var(--acc-1-20);
}
.btn-ghost{
  background: transparent;
  border-color: color-mix(in oklab, #ffffff 16%, transparent);
}
.btn-ghost:hover{
  background: color-mix(in oklab, #ffffff 8%, transparent);
}
.btn-soft{
  background: color-mix(in oklab, #ffffff 10%, transparent);
  border-color: color-mix(in oklab, #ffffff 20%, transparent);
  color: var(--text);
}
.btn-xl{ height:56px; padding-inline:26px; font-size:1.05rem; }

.glass{
  background: var(--glass);
  border: 1px solid var(--glass-bd);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(var(--blur)) saturate(140%);
}

.hero{
  margin-top: clamp(12px, 4vw, 28px);
  display:grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(16px, 4vw, 32px);
  align-items:center;
}
@media (max-width: 960px){
  .hero{ grid-template-columns: 1fr; }
}

.hero-title{
  margin:0 0 12px 0;
  font-size: clamp(28px, 4.2vw, 48px);
  line-height:1.08;
}
.hero-subtitle{
  margin:0 0 18px 0; color: var(--muted);
  font-size: clamp(15px, 2.2vw, 18px);
}
.cta{ display:flex; flex-wrap:wrap; gap:12px; margin: 6px 0 16px; }

.badges{ display:flex; flex-wrap:wrap; gap:10px; padding:0; margin:0; list-style:none; }
.chip{
  padding: 8px 12px; border-radius: 999px;
  background: color-mix(in oklab, #ffffff 12%, transparent);
  border: 1px solid color-mix(in oklab, #ffffff 18%, transparent);
  color: var(--muted); font-weight:600; font-size:.9rem;
}

.hero-visual{ display:grid; place-items:center; }
.device-card{
  position:relative; width: min(420px, 90%); aspect-ratio: 9/18;
  border-radius: 32px; padding: 18px; background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.14); backdrop-filter: blur(16px);
  box-shadow: 0 30px 60px rgba(0,0,0,.35);
}
.device-notch{
  position:absolute; top:10px; left:50%; transform:translateX(-50%);
  width:34%; height:18px; background: rgba(0,0,0,.8); border-radius: 10px;
}
.device-screen{
  width:100%; height:100%; border-radius: 24px; overflow:hidden;
  background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(0,0,0,.18));
  display:grid; place-items:center;
}
.grid-skeleton{
  width:84%; display:grid; gap:10px; grid-template-columns: repeat(2, 1fr);
}
.s-item{ height:84px; border-radius:14px;
  background: linear-gradient(135deg, rgba(255,255,255,.18), rgba(255,255,255,.06));
  border: 1px solid rgba(255,255,255,.22);
}
.s-item.wide{
  grid-column: 1/-1; height: 132px;
}

.features{
  margin-top: clamp(18px, 6vw, 48px);
  display:grid; gap: clamp(12px, 2vw, 18px);
  grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 960px){
  .features{ grid-template-columns: 1fr; }
}
.feature{ padding: 20px; }
.feature h3{ margin:10px 0 6px 0; }
.feature p{ margin:0; color: var(--muted); }
.f-icon{ font-size:22px }

.products{ margin-top: clamp(18px, 6vw, 54px); }
.section-title{
  margin:0 0 14px 0; font-size: clamp(20px, 3.2vw, 28px);
}
.product-grid{
  display:grid; gap: clamp(12px, 2vw, 18px);
  grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 960px){
  .product-grid{ grid-template-columns: 1fr; }
}
.product-card{ overflow:hidden; padding:12px; transition: transform .2s ease, box-shadow .2s ease; }
.product-card:hover{ transform: translateY(-2px); box-shadow: 0 24px 44px rgba(0,0,0,.25); }
.p-thumb{
  height: 180px; border-radius: var(--radius-lg); margin-bottom:10px;
  background:
    linear-gradient(135deg, rgba(255,255,255,.16), rgba(255,255,255,.04)),
    url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width=\"360\" height=\"240\"><defs><linearGradient id=\"g\" x1=\"0\" x2=\"1\" y1=\"0\" y2=\"1\"><stop offset=\"0\" stop-color=\"%23a68cff\"/><stop offset=\"1\" stop-color=\"%235c3cff\"/></linearGradient></defs><rect width=\"100%\" height=\"100%\" fill=\"url(%23g)\"/></svg>');
  background-size: cover; background-position:center;
  border:1px solid var(--glass-bd);
}
.p-info{ display:flex; align-items:center; justify-content:space-between; gap:10px; }
.p-info h4{ margin:0; font-size:1rem }
.p-price{ margin:0; font-weight:800 }

.more-center{ display:grid; place-items:center; margin-top:14px; }

.site-footer{
  margin: clamp(24px, 7vw, 72px) auto 24px;
  color: var(--muted); text-align:center;
}

/* Доступность: уменьшение движения */
@media (prefers-reduced-motion: reduce){
  .blob, .btn, .product-card { transition: none !important; animation: none !important; }
}