:root {
    --bg: #0b0c0e;
    --bg-2: #101216;
    --card: #14171c;
    --card-2: #191d23;
    --line: rgba(255, 255, 255, 0.08);
    --line-2: rgba(255, 255, 255, 0.14);
    --text: #e8ebef;
    --muted: #9aa3ad;
    --dim: #6d7680;
    --accent: #1380ec;
    --accent-2: #6a3de8;
    --accent-soft: rgba(19, 128, 236, 0.14);
    --ok: #3ddc84;
    --radius: 16px;
    --radius-sm: 10px;
    --max: 1160px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
    background: var(--bg);
    color: var(--text);
    font: 16px/1.6 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
    font-feature-settings: 'cv11', 'ss01';
    -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.tnum { font-variant-numeric: tabular-nums; }

/* Шапка */
.site-header {
    position: sticky; top: 0; z-index: 40;
    background: rgba(11, 12, 14, 0.78);
    backdrop-filter: saturate(160%) blur(14px);
    -webkit-backdrop-filter: saturate(160%) blur(14px);
    border-bottom: 1px solid var(--line);
}
.site-header .container { display: flex; align-items: center; gap: 24px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 17px; letter-spacing: -0.01em; }
.brand img { width: 30px; height: 30px; border-radius: 50%; }
.nav { display: flex; gap: 4px; margin-left: 8px; }
.nav a { padding: 8px 12px; border-radius: 8px; color: var(--muted); font-size: 14px; font-weight: 500; transition: color .15s, background .15s; }
.nav a:hover { color: var(--text); background: rgba(255, 255, 255, 0.05); }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.lang-btn {
    height: 36px; padding: 0 12px; border-radius: 8px; border: 1px solid var(--line-2);
    background: transparent; font-size: 13px; font-weight: 600; cursor: pointer; color: var(--text);
}
.lang-btn:hover { border-color: var(--accent); }
.menu-btn { display: none; width: 40px; height: 40px; border-radius: 8px; border: 1px solid var(--line-2); background: transparent; cursor: pointer; align-items: center; justify-content: center; }
.mobile-nav { display: none; }

/* Кнопки */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    height: 46px; padding: 0 20px; border-radius: 12px; font-weight: 600; font-size: 15px;
    border: 1px solid transparent; cursor: pointer; transition: background .15s, border-color .15s, transform .15s;
    white-space: nowrap;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: #2b8ff0; }
.btn-ghost { border-color: var(--line-2); color: var(--text); background: rgba(255, 255, 255, 0.02); }
.btn-ghost:hover { border-color: rgba(255, 255, 255, 0.3); background: rgba(255, 255, 255, 0.05); }
.btn-sm { height: 36px; padding: 0 14px; font-size: 14px; border-radius: 10px; }
.btn:disabled { opacity: .6; cursor: default; }

/* Первый экран */
.hero { position: relative; overflow: hidden; padding: 72px 0 56px; }
.hero::before {
    content: ''; position: absolute; inset: -20% -10% auto 40%; height: 620px; pointer-events: none;
    background: radial-gradient(closest-side, rgba(19, 128, 236, 0.22), transparent 70%),
                radial-gradient(closest-side at 70% 60%, rgba(106, 61, 232, 0.18), transparent 70%);
}
.hero .container { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.eyebrow {
    display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px;
    border: 1px solid var(--line-2); color: var(--muted); font-size: 13px; font-weight: 500; margin-bottom: 22px;
}
.eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--ok); }
.hero h1 { font-size: clamp(34px, 4.6vw, 54px); line-height: 1.05; letter-spacing: -0.035em; font-weight: 800; margin-bottom: 20px; }
.hero h1 .grad { background: linear-gradient(90deg, #6cb4ff, #a58bff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.lead { font-size: 18px; color: var(--muted); max-width: 540px; margin-bottom: 30px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.platforms { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.platforms span { font-size: 13px; color: var(--dim); }
.platforms b { font-weight: 600; color: var(--muted); }

.hero-visual { position: relative; height: 440px; }
.hero-visual .face { position: absolute; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 50%; box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55); }
.hero-visual .face-1 { width: 300px; left: 50%; top: 50%; transform: translate(-50%, -52%); z-index: 3; }
.hero-visual .face-2 { width: 190px; left: 2%; top: 10%; z-index: 2; opacity: .92; }
.hero-visual .face-3 { width: 170px; right: 0; bottom: 4%; z-index: 2; opacity: .92; }
.hero-visual .tile {
    position: absolute; z-index: 4; display: flex; align-items: center; gap: 10px; padding: 10px 14px 10px 10px;
    border-radius: 14px; background: rgba(20, 23, 28, 0.86); border: 1px solid var(--line-2);
    backdrop-filter: blur(10px); box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4); font-size: 13px; font-weight: 600;
}
.hero-visual .tile img { width: 36px; height: 36px; border-radius: 10px; }
.hero-visual .tile small { display: block; color: var(--dim); font-weight: 500; font-size: 12px; }
.hero-visual .tile-1 { left: 0; bottom: 14%; }
.hero-visual .tile-2 { right: 2%; top: 6%; }
.hero-visual .tile { transition: opacity .4s ease, transform .4s ease; }
.hero-visual .tile.tile-swap { opacity: 0; transform: translateY(6px); }

/* Цифры */
.stats { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-2); }
.stats .container { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 26px 20px; text-align: center; }
.stat + .stat { border-left: 1px solid var(--line); }
.stat-number { font-size: 32px; font-weight: 800; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.stat-label { color: var(--dim); font-size: 13px; text-transform: uppercase; letter-spacing: .06em; margin-top: 2px; }

/* Секции */
.section { padding: 88px 0; }
.section-head { max-width: 640px; margin-bottom: 36px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.kicker { color: #6cb4ff; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 10px; }
.section h2 { font-size: clamp(28px, 3.4vw, 40px); line-height: 1.12; letter-spacing: -0.028em; font-weight: 800; margin-bottom: 12px; }
.section-head p { color: var(--muted); font-size: 17px; }

.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); transition: border-color .2s, transform .2s; }
.card:hover { border-color: var(--line-2); }

/* Приложения */
.apps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.app-tile { display: flex; flex-direction: column; padding: 22px; }
.app-top { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 14px; }
.app-top img { width: 60px; height: 60px; border-radius: 15px; flex: none; }
.app-top h3 { font-size: 17px; line-height: 1.3; font-weight: 700; letter-spacing: -0.01em; margin-bottom: 8px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.app-chip { font-size: 12px; font-weight: 600; line-height: 1; padding: 5px 9px; border-radius: 999px; color: #cfd6de; background: rgba(255, 255, 255, 0.05); border: 1px solid var(--line-2); }
.app-chip-android { color: #8be0a4; border-color: rgba(61, 220, 132, 0.3); }
.app-chip-wear { color: #8cc4ff; border-color: rgba(19, 128, 236, 0.4); }
.app-tile p { color: var(--muted); font-size: 14.5px; margin-bottom: 18px; }
.store-row { margin-top: auto; display: flex; flex-wrap: wrap; gap: 8px; }
.store-btn {
    display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 13px; border-radius: 10px;
    background: #0b0c0e; border: 1px solid var(--line-2); font-size: 13.5px; font-weight: 600; transition: border-color .15s;
}
.store-btn:hover { border-color: var(--accent); }
.apps-more { margin-top: 20px; display: flex; justify-content: center; }
.stores-cta { margin-top: 28px; display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.store-cta {
    display: inline-flex; align-items: center; gap: 14px; min-width: 240px; height: 64px; padding: 0 22px; border-radius: 14px;
    background: #000; border: 1px solid rgba(255, 255, 255, 0.22); color: #fff; transition: border-color .15s, transform .15s, background .15s;
}
.store-cta:hover { border-color: var(--accent); background: #0b0c0e; transform: translateY(-1px); }
.store-cta span { display: flex; flex-direction: column; line-height: 1.15; text-align: left; }
.store-cta small { font-size: 12.5px; color: #c9ced5; font-weight: 500; }
.store-cta b { font-size: 21px; font-weight: 700; letter-spacing: -0.01em; }
@media (max-width: 640px) { .store-cta { width: 100%; justify-content: center; } }
.apps-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.apps-tab {
    display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 14px; border-radius: 999px;
    background: transparent; border: 1px solid var(--line-2); color: var(--muted); font-family: inherit; font-size: 14px; font-weight: 600; line-height: 1; cursor: pointer;
    transition: border-color .15s, color .15s, background .15s;
}
.apps-tab:hover { color: var(--text, #e8ebef); border-color: var(--accent); }
.apps-tab.active { background: var(--accent); border-color: var(--accent); color: #fff; }
.apps-tab-n { font-size: 12px; font-variant-numeric: tabular-nums; opacity: .75; }
.apps-show-all { display: block; margin: 18px auto 0; }

/* Циферблаты */
.faces-block + .faces-block { margin-top: 36px; }
.faces-title { display: flex; align-items: center; gap: 10px; font-size: 18px; font-weight: 700; margin-bottom: 16px; }
.faces-title .badge { font-size: 12px; font-weight: 600; padding: 4px 9px; border-radius: 999px; background: var(--accent-soft); color: #8cc4ff; }
.faces-row { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.watchface-card { display: block; border-radius: 50%; transition: transform .2s; }
.watchface-card:hover { transform: scale(1.04); }
.watchface-preview { aspect-ratio: 1; border-radius: 50%; background: #15181d center/cover no-repeat; box-shadow: 0 10px 28px rgba(0, 0, 0, 0.45); }
.skeleton { aspect-ratio: 1; border-radius: 50%; background: linear-gradient(100deg, #15181d 40%, #1c2027 50%, #15181d 60%); background-size: 200% 100%; animation: shimmer 1.4s infinite linear; }
@keyframes shimmer { to { background-position: -200% 0; } }
.faces-error { color: #ff8a80; text-align: center; padding: 24px; }
.hidden { display: none !important; }

/* Услуги */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.service { padding: 26px; }
.service .icon {
    width: 44px; height: 44px; border-radius: 12px; display: flex; align-items: center; justify-content: center;
    background: var(--accent-soft); color: #8cc4ff; margin-bottom: 18px;
}
.service h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; letter-spacing: -0.01em; }
.service p { color: var(--muted); font-size: 14.5px; }
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 16px; }
.step { padding: 20px 22px; }
.step .num { font-size: 13px; font-weight: 700; color: #6cb4ff; margin-bottom: 6px; font-variant-numeric: tabular-nums; }
.step h4 { font-size: 15px; font-weight: 700; margin-bottom: 4px; }
.step p { color: var(--muted); font-size: 13.5px; }
.services-cta { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; padding: 22px 26px;
    background: linear-gradient(90deg, rgba(19, 128, 236, 0.12), rgba(106, 61, 232, 0.10)); border: 1px solid rgba(19, 128, 236, 0.3); border-radius: var(--radius); }
.services-cta p { font-weight: 600; font-size: 16px; }

/* О нас */
.about-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.about-card { padding: 26px; }
.about-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.about-card p { color: var(--muted); font-size: 14.5px; }

/* Контакты */
.contact-wrap { display: grid; grid-template-columns: 1.3fr 1fr; gap: 16px; }
.contact-form { padding: 28px; }
.contact-form h3, .contact-info h3 { font-size: 18px; font-weight: 700; margin-bottom: 6px; }
.contact-form > p { color: var(--muted); font-size: 14.5px; margin-bottom: 20px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-grid .full { grid-column: 1 / -1; }
.field label { display: block; font-size: 13px; color: var(--muted); margin-bottom: 6px; font-weight: 500; }
.field input, .field select, .field textarea {
    width: 100%; height: 46px; padding: 0 14px; border-radius: 10px; background: var(--bg); border: 1px solid var(--line-2);
    outline: none; transition: border-color .15s; font-size: 15px;
}
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, #9aa3ad 50%), linear-gradient(135deg, #9aa3ad 50%, transparent 50%);
    background-position: calc(100% - 20px) 20px, calc(100% - 15px) 20px; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 36px; }
.field textarea { height: 130px; padding: 12px 14px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--accent); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-actions { display: flex; align-items: center; gap: 14px; margin-top: 16px; flex-wrap: wrap; }
.form-note { font-size: 12.5px; color: var(--dim); }
.form-status { margin-top: 14px; padding: 12px 14px; border-radius: 10px; font-size: 14px; }
.form-status.ok { background: rgba(61, 220, 132, 0.1); border: 1px solid rgba(61, 220, 132, 0.35); color: #9be8b6; }
.form-status.err { background: rgba(255, 107, 107, 0.08); border: 1px solid rgba(255, 107, 107, 0.35); color: #ffb3b3; }
.contact-info { padding: 28px; display: flex; flex-direction: column; gap: 4px; }
.contact-line { display: flex; gap: 12px; align-items: flex-start; padding: 12px 0; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 15px; }
.contact-line:last-child { border-bottom: 0; }
.contact-line svg { flex: none; margin-top: 3px; color: #6cb4ff; }
.contact-line a:hover { color: var(--text); }

/* Подвал */
.site-footer { border-top: 1px solid var(--line); padding: 32px 0 40px; color: var(--dim); font-size: 14px; }
.site-footer .container { display: flex; flex-wrap: wrap; gap: 16px 28px; align-items: center; justify-content: space-between; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.footer-links a:hover { color: var(--text); }

/* Согласие на cookies */
.consent {
    position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 60; max-width: 560px; margin: 0 auto;
    background: var(--card-2); border: 1px solid var(--line-2); border-radius: 14px; padding: 16px 18px;
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.5); display: flex; gap: 14px; align-items: center; flex-wrap: wrap;
}
.consent p { flex: 1 1 260px; font-size: 13.5px; color: var(--muted); }
.consent p a { color: #8cc4ff; }
.consent .btns { display: flex; gap: 8px; }

/* Адаптив */
@media (max-width: 1000px) {
    .hero .container { grid-template-columns: 1fr; }
    .hero-visual { height: 360px; max-width: 520px; width: 100%; margin: 0 auto; }
    .hero-visual .face-1 { width: 240px; }
    .hero-visual .face-2 { width: 150px; }
    .hero-visual .face-3 { width: 140px; }
    .apps-grid, .services-grid, .about-grid { grid-template-columns: 1fr 1fr; }
    .process { grid-template-columns: 1fr 1fr; }
    .contact-wrap { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
    .nav, .header-actions .btn { display: none; }
    .menu-btn { display: inline-flex; }
    .mobile-nav.open { display: flex; flex-direction: column; padding: 8px 20px 16px; border-bottom: 1px solid var(--line); background: var(--bg); }
    .mobile-nav a { padding: 12px 4px; color: var(--muted); font-weight: 500; border-bottom: 1px solid var(--line); }
    .mobile-nav a:last-child { border-bottom: 0; }
}
@media (max-width: 640px) {
    .hero { padding: 44px 0 36px; }
    .hero p.lead { font-size: 16.5px; }
    .hero-visual { height: 300px; }
    .hero-visual .face-1 { width: 200px; }
    .hero-visual .face-2 { width: 120px; }
    .hero-visual .face-3 { width: 112px; }
    .hero-visual .tile { font-size: 12px; padding: 8px 12px 8px 8px; }
    .hero-visual .tile img { width: 30px; height: 30px; }
    .section { padding: 60px 0; }
    .stats .container { grid-template-columns: 1fr 1fr; }
    .stat:nth-child(3) { border-left: 0; }
    .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
    .apps-grid, .services-grid, .about-grid, .process { grid-template-columns: 1fr; }
    .faces-row { grid-template-columns: repeat(3, 1fr); }
    .faces-row > :nth-child(n+7) { display: none; }
    .form-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .skeleton { animation: none; }
}
.form-note a, .consent p a { color: #8cc4ff; }

/* TD Intelligence — блок на главной */
.intel-card {
    display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 32px 36px; position: relative; overflow: hidden;
    border-color: rgba(124, 92, 255, .35); background: linear-gradient(120deg, rgba(124, 92, 255, .16), rgba(19, 128, 236, .08) 55%, var(--card));
}
.intel-card:hover { border-color: rgba(124, 92, 255, .6); }
.intel-card h2 { margin-bottom: 8px; }
.intel-card h2 span { background: linear-gradient(90deg, #7c5cff, #1380ec 60%, #5ad1ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.intel-card p { color: var(--muted); font-size: 16.5px; max-width: 560px; }
.intel-badge { display: inline-flex; align-items: center; gap: 8px; padding: 5px 11px; border-radius: 999px; font-size: 12.5px; font-weight: 600; color: #cbb8ff; background: rgba(124, 92, 255, .12); border: 1px solid rgba(124, 92, 255, .35); margin-bottom: 14px; }
.intel-badge i { width: 7px; height: 7px; border-radius: 50%; background: #a68bff; box-shadow: 0 0 10px #a68bff; }
.intel-card .btn { flex: none; }
@media (max-width: 640px) { .intel-card { flex-direction: column; align-items: flex-start; padding: 26px 22px; } }

/* TD Intelligence — анимация блока на главной */
.intel-card::before {
    content: ""; position: absolute; inset: -40%; pointer-events: none; z-index: 0;
    background: radial-gradient(circle at 30% 40%, rgba(124, 92, 255, .22), transparent 35%), radial-gradient(circle at 70% 60%, rgba(19, 128, 236, .18), transparent 35%);
    animation: intelDrift 14s ease-in-out infinite alternate;
}
.intel-card > * { position: relative; z-index: 1; }
@keyframes intelDrift { from { transform: translate(-6%, -4%) rotate(0deg); } to { transform: translate(6%, 4%) rotate(12deg); } }
.intel-badge i { animation: intelBlink 1.6s ease-in-out infinite; }
@keyframes intelBlink { 50% { opacity: .35; } }
.intel-card h2 span { background-size: 200% auto; animation: intelShine 6s linear infinite; }
@keyframes intelShine { to { background-position: 200% center; } }
.intel-net { flex: 1 1 auto; max-width: 360px; min-width: 220px; height: auto; }
.intel-net .ip { fill: none; stroke: rgba(255, 255, 255, .09); stroke-width: 2; }
.intel-net .if { fill: none; stroke: url(#igf); stroke-width: 2.2; stroke-dasharray: 5 11; animation: intelDash 1.4s linear infinite; }
.intel-net .if.o { animation-duration: 1.1s; }
@keyframes intelDash { to { stroke-dashoffset: -32; } }
.intel-net .in { fill: #14171c; stroke: rgba(90, 209, 255, .6); stroke-width: 1.5; }
.intel-net .out { fill: #14171c; stroke: rgba(166, 139, 255, .7); stroke-width: 1.5; }
.intel-net .icore { fill: #1d1640; stroke: rgba(166, 139, 255, .75); stroke-width: 1.5; }
.intel-net .itxt { fill: #e8ebef; font: 800 16px Inter, sans-serif; }
.intel-net .iring { fill: none; stroke: #a68bff; stroke-width: 1.5; transform-box: fill-box; transform-origin: center; animation: intelRing 2.6s ease-out infinite; }
.intel-net .iring.r2 { animation-delay: 1.3s; }
@keyframes intelRing { from { transform: scale(.8); opacity: .7; } to { transform: scale(1.45); opacity: 0; } }
.intel-card:hover .btn { border-color: #a68bff; }
@media (max-width: 900px) { .intel-net { display: none; } }
@media (prefers-reduced-motion: reduce) {
    .intel-card::before, .intel-badge i, .intel-card h2 span, .intel-net .if, .intel-net .iring { animation: none; }
}

/* Анимации главной */
.js-rv .rv { opacity: 0; transform: translateY(18px); transition: opacity .7s cubic-bezier(.2, .8, .2, 1), transform .7s cubic-bezier(.2, .8, .2, 1); }
.js-rv .rv.in { opacity: 1; transform: none; }
.js-rv .rv-grid.in > * { animation: rvUp .6s cubic-bezier(.2, .8, .2, 1) both; }
.js-rv .rv-grid.in > :nth-child(2) { animation-delay: .06s; } .js-rv .rv-grid.in > :nth-child(3) { animation-delay: .12s; }
.js-rv .rv-grid.in > :nth-child(4) { animation-delay: .18s; } .js-rv .rv-grid.in > :nth-child(5) { animation-delay: .24s; }
.js-rv .rv-grid.in > :nth-child(n+6) { animation-delay: .3s; }
@keyframes rvUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

.hero-visual::before {
    content: ""; position: absolute; left: 50%; top: 48%; width: 420px; height: 420px; margin: -210px 0 0 -210px; border-radius: 50%; z-index: 0; pointer-events: none;
    background: radial-gradient(circle, rgba(19, 128, 236, .32), rgba(124, 92, 255, .14) 45%, transparent 70%); filter: blur(10px);
    animation: heroGlow 6s ease-in-out infinite alternate;
}
@keyframes heroGlow { from { opacity: .55; transform: scale(.92); } to { opacity: 1; transform: scale(1.08); } }
.hero-visual .face, .hero-visual .tile { translate: calc(var(--mx, 0) * var(--d, 0) * 1px) calc(var(--my, 0) * var(--d, 0) * 1px); transition: translate .8s cubic-bezier(.2, .8, .2, 1), opacity .4s ease, transform .4s ease; }
.hero-visual .face-1 { --d: 8; } .hero-visual .face-2 { --d: 16; } .hero-visual .face-3 { --d: 14; }
.hero-visual .tile-1 { --d: 22; } .hero-visual .tile-2 { --d: 20; }

.app-tile { transition: border-color .2s, transform .25s cubic-bezier(.2, .8, .2, 1), box-shadow .25s; }
.app-tile:hover { transform: translateY(-3px); border-color: rgba(19, 128, 236, .55); box-shadow: 0 14px 34px rgba(0, 0, 0, .35); }
.app-top img { transition: transform .3s cubic-bezier(.2, .8, .2, 1); }
.app-tile:hover .app-top img { transform: scale(1.06) rotate(-2deg); }

.watchface-preview { position: relative; overflow: hidden; }
.watchface-preview::after {
    content: ""; position: absolute; inset: 0; border-radius: 50%; pointer-events: none;
    background: linear-gradient(115deg, transparent 35%, rgba(255, 255, 255, .22) 50%, transparent 65%); transform: translateX(-120%);
}
.watchface-card:hover .watchface-preview::after { transition: transform .8s ease; transform: translateX(120%); }

@media (prefers-reduced-motion: reduce) {
    .js-rv .rv { opacity: 1; transform: none; transition: none; }
    .js-rv .rv-grid.in > * { animation: none; }
    .hero-visual::before { animation: none; }
    .hero-visual .face, .hero-visual .tile { translate: none; }
    .app-tile:hover, .app-tile:hover .app-top img { transform: none; }
    .watchface-preview::after { display: none; }
}

/* Обложка и ролик в карточке приложения */
.app-tile.has-media { padding-top: 0; overflow: hidden; }
.app-media { position: relative; margin: 0 -22px 18px; aspect-ratio: 2 / 1; background: #0b0c0e; border-bottom: 1px solid var(--line); overflow: hidden; }
.app-media img, .app-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.app-media video { opacity: 0; transition: opacity .35s ease; }
.app-media.playing video { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .app-media video { display: none; } }
