:root {
  --bg: #07080d;
  --bg-soft: #0b0d14;
  --panel: rgba(16, 18, 28, 0.82);
  --panel-strong: #11131d;
  --panel-hover: #171a27;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.14);
  --text: #f6f7fb;
  --muted: #a6a9b8;
  --soft: #74788a;
  --accent: #8b6cff;
  --accent-rgb: 139, 108, 255;
  --accent-2: #5e8dff;
  --success: #55d99a;
  --warning: #ffca62;
  --danger: #ff6b78;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.42);
  --radius-xl: 30px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --radius-sm: 12px;
  --content: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  background:
    radial-gradient(circle at 10% -10%, rgba(var(--accent-rgb), .13), transparent 34%),
    radial-gradient(circle at 92% 8%, rgba(65, 119, 255, .10), transparent 31%),
    var(--bg);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.65;
  overflow-x: hidden;
}
body.no-glow .ambient, body.no-glow .orbit { display: none; }
body.modal-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button { color: inherit; }
img { max-width: 100%; }
.hidden { display: none !important; }

.ambient {
  position: fixed;
  z-index: -2;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  filter: blur(120px);
  opacity: .14;
  pointer-events: none;
}
.ambient-one { top: 4%; left: -260px; background: var(--accent); }
.ambient-two { right: -280px; top: 44%; background: var(--accent-2); }
.section-shell { width: min(calc(100% - 40px), var(--content)); margin-inline: auto; }

.maintenance-banner {
  position: relative;
  z-index: 70;
  padding: 10px 20px;
  text-align: center;
  color: #17120a;
  background: var(--warning);
  font-size: 14px;
  font-weight: 800;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: min(calc(100% - 28px), 1280px);
  margin: 14px auto 0;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(8, 9, 14, .78);
  box-shadow: 0 14px 40px rgba(0, 0, 0, .22);
  backdrop-filter: blur(24px);
}
.brand { display: flex; align-items: center; gap: 12px; min-width: 0; }
.brand-logo { width: 44px; height: 44px; border-radius: 13px; box-shadow: 0 0 28px rgba(var(--accent-rgb), .28); }
.brand-copy { display: grid; line-height: 1.15; min-width: 0; }
.brand-copy strong { font-size: 17px; letter-spacing: .01em; }
.brand-copy small { margin-top: 5px; color: var(--muted); font-size: 11px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.main-nav { display: flex; align-items: center; gap: 8px; padding: 5px; border: 1px solid var(--line); border-radius: 14px; background: rgba(255,255,255,.025); }
.main-nav a { padding: 7px 12px; color: var(--muted); border-radius: 10px; font-size: 13px; font-weight: 700; transition: .2s ease; }
.main-nav a:hover { color: var(--text); background: rgba(255,255,255,.06); }
.header-actions { display: flex; justify-content: flex-end; align-items: center; gap: 9px; }
.icon-button, .mobile-menu-button { display: grid; place-items: center; border: 1px solid var(--line); background: rgba(255,255,255,.035); cursor: pointer; transition: .2s ease; }
.icon-button { width: 38px; height: 38px; border-radius: 12px; color: #c8baff; }
.icon-button:hover { border-color: rgba(var(--accent-rgb), .45); background: rgba(var(--accent-rgb), .10); }
.mobile-menu-button { display: none; width: 42px; height: 42px; border-radius: 12px; font-size: 20px; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 14px;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  transition: transform .18s ease, border-color .18s ease, background .18s ease, box-shadow .18s ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary { color: #fff; background: linear-gradient(135deg, var(--accent), var(--accent-2)); box-shadow: 0 14px 32px rgba(var(--accent-rgb), .24); }
.button-primary:hover { box-shadow: 0 18px 42px rgba(var(--accent-rgb), .34); }
.button-secondary { border-color: var(--line-strong); background: rgba(255,255,255,.045); }
.button-secondary:hover, .button-ghost:hover { border-color: rgba(var(--accent-rgb), .45); background: rgba(var(--accent-rgb), .09); }
.button-ghost { border-color: var(--line); background: transparent; }
.button-small { min-height: 38px; padding-inline: 14px; font-size: 13px; border-radius: 11px; }
.button-wide { width: 100%; }
.button[disabled], .button.disabled { opacity: .45; cursor: not-allowed; pointer-events: none; transform: none; box-shadow: none; }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(430px, .92fr);
  gap: 56px;
  align-items: center;
  min-height: 710px;
  padding-block: 90px 70px;
}
.hero-copy { position: relative; z-index: 2; }
.eyebrow, .section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #c6b8ff;
  font-size: 12px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.eyebrow { padding: 10px 13px; border: 1px solid rgba(var(--accent-rgb), .28); border-radius: 99px; background: rgba(var(--accent-rgb), .08); }
.hero h1 { max-width: 760px; margin: 22px 0 22px; font-size: clamp(48px, 6vw, 82px); line-height: .98; letter-spacing: -.055em; }
.hero-text { max-width: 710px; margin: 0; color: var(--muted); font-size: clamp(18px, 2vw, 22px); line-height: 1.65; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.trust-row { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 28px; color: var(--soft); font-size: 13px; font-weight: 700; }
.trust-row span { display: flex; align-items: center; gap: 8px; }
.trust-row i { width: 7px; height: 7px; border-radius: 50%; background: var(--success); box-shadow: 0 0 14px rgba(85,217,154,.6); }

.hero-visual { position: relative; min-height: 520px; display: grid; place-items: center; }
.hero-visual::before { content: ""; position: absolute; width: 360px; height: 360px; border-radius: 50%; background: rgba(var(--accent-rgb), .14); filter: blur(70px); }
.orbit { position: absolute; border: 1px solid rgba(var(--accent-rgb), .19); border-radius: 50%; animation: spin 28s linear infinite; }
.orbit::after { content: ""; position: absolute; top: 14%; left: 8%; width: 11px; height: 11px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 22px rgba(var(--accent-rgb), .8); }
.orbit-a { width: 430px; height: 430px; }
.orbit-b { width: 330px; height: 330px; animation-direction: reverse; animation-duration: 22s; }
.core-card { position: relative; z-index: 2; display: grid; place-items: center; width: 245px; height: 245px; border: 1px solid rgba(var(--accent-rgb), .28); border-radius: 48px; background: linear-gradient(145deg, rgba(24,26,39,.95), rgba(11,12,19,.92)); box-shadow: 0 30px 80px rgba(0,0,0,.45), inset 0 1px rgba(255,255,255,.06); transform: rotate(-4deg); }
.core-logo { width: 94px; height: 94px; margin-bottom: -20px; }
.core-logo img { border-radius: 28px; }
.core-card strong { font-size: 25px; letter-spacing: .08em; }
.core-card span { margin-top: -24px; color: var(--muted); font-size: 13px; }
.floating-app { position: absolute; z-index: 3; display: flex; align-items: center; gap: 11px; min-width: 170px; padding: 12px; border: 1px solid var(--line-strong); border-radius: 16px; background: rgba(14,16,25,.92); box-shadow: 0 16px 44px rgba(0,0,0,.35); backdrop-filter: blur(16px); animation: float 5s ease-in-out infinite; }
.floating-app div { display: grid; line-height: 1.25; }
.floating-app b { font-size: 13px; }
.floating-app small { margin-top: 4px; color: var(--soft); font-size: 10px; }
.mini-icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 13px; color: #dcd5ff; background: rgba(var(--accent-rgb), .14); font-size: 10px; font-weight: 900; }
.float-one { left: 0; top: 16%; }
.float-two { right: -5px; top: 27%; animation-delay: -1.7s; }
.float-three { left: 5%; bottom: 10%; animation-delay: -3.2s; }
.team-dots { position: absolute; right: 3%; bottom: 13%; z-index: 4; display: flex; align-items: center; padding: 9px 12px; border: 1px solid var(--line); border-radius: 99px; background: rgba(11,13,20,.9); }
.team-dots span { width: 28px; height: 28px; margin-left: -6px; border: 2px solid #11131d; border-radius: 50%; background: linear-gradient(135deg, var(--accent), var(--accent-2)); }
.team-dots span:first-child { margin-left: 0; }
.team-dots b { margin-left: 9px; color: var(--muted); font-size: 11px; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

.stats-strip { display: grid; grid-template-columns: repeat(4, 1fr); overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-lg); background: rgba(255,255,255,.025); }
.stats-strip article { display: grid; place-items: center; gap: 2px; padding: 25px 18px; border-right: 1px solid var(--line); }
.stats-strip article:last-child { border-right: 0; }
.stats-strip strong { font-size: 30px; line-height: 1.1; letter-spacing: -.04em; }
.stats-strip span { color: var(--soft); font-size: 13px; font-weight: 700; }

.content-section { padding-block: 105px 0; }
.section-heading { max-width: 720px; margin-bottom: 34px; }
.section-heading h2 { margin: 12px 0 12px; font-size: clamp(34px, 4vw, 52px); line-height: 1.08; letter-spacing: -.045em; }
.section-heading p { margin: 0; color: var(--muted); font-size: 18px; line-height: 1.7; }
.split-heading { display: flex; align-items: end; justify-content: space-between; max-width: none; gap: 30px; }
.centered-heading { margin-inline: auto; text-align: center; }
.catalog-tools { min-width: min(100%, 330px); }
.search-box { display: flex; align-items: center; gap: 9px; width: 100%; padding: 0 15px; border: 1px solid var(--line); border-radius: 14px; background: rgba(255,255,255,.035); }
.search-box span { color: var(--soft); font-size: 22px; }
.search-box input { width: 100%; height: 48px; border: 0; outline: none; color: var(--text); background: transparent; font-size: 15px; }
.search-box input::placeholder { color: #696d7d; }
.filter-row { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 24px; }
.filter-chip { min-height: 39px; padding: 0 15px; border: 1px solid var(--line); border-radius: 99px; color: var(--muted); background: rgba(255,255,255,.025); font-size: 13px; font-weight: 800; cursor: pointer; }
.filter-chip:hover, .filter-chip.active { color: #fff; border-color: rgba(var(--accent-rgb), .40); background: rgba(var(--accent-rgb), .12); }

.app-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.app-card { position: relative; display: flex; flex-direction: column; min-height: 380px; overflow: hidden; border: 1px solid var(--line); border-radius: 25px; background: linear-gradient(145deg, rgba(20,22,33,.94), rgba(11,12,19,.94)); box-shadow: 0 18px 55px rgba(0,0,0,.18); cursor: pointer; transition: transform .24s ease, border-color .24s ease, box-shadow .24s ease; }
.app-card:hover { transform: translateY(-7px); border-color: rgba(var(--accent-rgb), .48); border-color: color-mix(in srgb, var(--card-accent, var(--accent)) 48%, transparent); box-shadow: 0 26px 70px rgba(0,0,0,.34); }
.app-card::before { content: ""; position: absolute; inset: 0 0 auto; height: 165px; background: radial-gradient(circle at 72% 0%, rgba(var(--accent-rgb), .20), transparent 67%); background: radial-gradient(circle at 72% 0%, color-mix(in srgb, var(--card-accent, var(--accent)) 24%, transparent), transparent 67%); pointer-events: none; }
.app-card-top { position: relative; display: flex; align-items: flex-start; justify-content: space-between; padding: 24px 24px 0; }
.app-icon { display: grid; place-items: center; width: 66px; height: 66px; overflow: hidden; border: 1px solid color-mix(in srgb, var(--card-accent, var(--accent)) 35%, transparent); border-radius: 19px; color: #fff; background: rgba(var(--accent-rgb), .14); background: color-mix(in srgb, var(--card-accent, var(--accent)) 14%, #11131d); font-size: 20px; font-weight: 900; box-shadow: 0 12px 32px rgba(var(--accent-rgb), .15); box-shadow: 0 12px 32px color-mix(in srgb, var(--card-accent, var(--accent)) 15%, transparent); }
.app-icon img { width: 100%; height: 100%; object-fit: cover; }
.app-badges { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px; }
.badge { display: inline-flex; align-items: center; min-height: 26px; padding: 0 9px; border: 1px solid var(--line); border-radius: 99px; color: var(--muted); background: rgba(255,255,255,.04); font-size: 10px; font-weight: 900; letter-spacing: .05em; text-transform: uppercase; }
.badge-success { color: #9ff2c8; border-color: rgba(85,217,154,.22); background: rgba(85,217,154,.08); }
.badge-warning { color: #ffe0a0; border-color: rgba(255,202,98,.22); background: rgba(255,202,98,.08); }
.badge-purple { color: #d2c8ff; border-color: rgba(var(--accent-rgb), .25); background: rgba(var(--accent-rgb), .09); }
.app-card-body { position: relative; flex: 1; padding: 24px; }
.app-card h3 { margin: 0 0 10px; font-size: 23px; line-height: 1.22; letter-spacing: -.025em; }
.app-card p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.65; }
.tag-row { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 17px; }
.tag { padding: 5px 9px; border-radius: 8px; color: var(--soft); background: rgba(255,255,255,.04); font-size: 10px; font-weight: 800; }
.app-card-footer { display: flex; justify-content: space-between; align-items: center; gap: 14px; min-height: 62px; padding: 14px 22px; border-top: 1px solid var(--line); background: rgba(255,255,255,.015); }
.version-copy { display: grid; line-height: 1.2; }
.version-copy small { color: var(--soft); font-size: 10px; font-weight: 800; text-transform: uppercase; }
.version-copy strong { margin-top: 4px; font-size: 13px; }
.card-link { display: inline-flex; align-items: center; gap: 7px; color: #cfc5ff; font-size: 13px; font-weight: 800; }
.skeleton-card { height: 380px; border: 1px solid var(--line); border-radius: 25px; background: linear-gradient(100deg, rgba(255,255,255,.025) 20%, rgba(255,255,255,.065) 45%, rgba(255,255,255,.025) 70%); background-size: 220% 100%; animation: shimmer 1.4s infinite; }
@keyframes shimmer { to { background-position: -220% 0; } }
.empty-state { padding: 58px 20px; border: 1px dashed var(--line-strong); border-radius: 22px; text-align: center; }
.empty-icon { font-size: 44px; color: var(--soft); }
.empty-state h3 { margin: 8px 0 4px; }
.empty-state p { margin: 0; color: var(--muted); }

.release-list { display: grid; gap: 11px; }
.release-item { display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; align-items: center; gap: 16px; padding: 17px 18px; border: 1px solid var(--line); border-radius: 17px; background: rgba(255,255,255,.025); transition: .2s ease; }
.release-item:hover { border-color: var(--line-strong); background: rgba(255,255,255,.04); }
.release-icon { display: grid; place-items: center; width: 43px; height: 43px; border-radius: 13px; color: #d6ceff; background: rgba(var(--accent-rgb), .10); font-size: 13px; font-weight: 900; }
.release-main { min-width: 0; }
.release-main strong { display: block; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.release-main p { margin: 4px 0 0; color: var(--muted); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.release-meta { display: grid; justify-items: end; line-height: 1.25; }
.release-meta strong { font-size: 13px; }
.release-meta small { margin-top: 4px; color: var(--soft); font-size: 10px; }
.release-actions { display: flex; gap: 7px; }
.release-download { min-height: 38px; padding: 0 13px; border: 1px solid rgba(var(--accent-rgb), .25); border-radius: 11px; color: #d8d0ff; background: rgba(var(--accent-rgb), .09); font-size: 12px; font-weight: 800; }
.release-download:hover { background: rgba(var(--accent-rgb), .16); }

.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 15px; }
.feature-card { padding: 25px; border: 1px solid var(--line); border-radius: 21px; background: rgba(255,255,255,.025); }
.feature-symbol { display: grid; place-items: center; width: 45px; height: 45px; margin-bottom: 18px; border-radius: 14px; color: #d7ceff; background: rgba(var(--accent-rgb), .10); font-size: 16px; font-weight: 900; }
.feature-card h3 { margin: 0 0 9px; font-size: 17px; }
.feature-card p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.65; }

.team-section { position: relative; }
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; max-width: 980px; margin-inline: auto; }
.team-card { position: relative; padding: 28px; overflow: hidden; border: 1px solid var(--line); border-radius: 25px; background: linear-gradient(145deg, rgba(22,24,35,.9), rgba(11,12,19,.9)); text-align: center; }
.team-card::before { content: ""; position: absolute; inset: 0 0 auto; height: 100px; background: linear-gradient(180deg, rgba(var(--accent-rgb), .09), transparent); }
.team-avatar { position: relative; display: grid; place-items: center; width: 88px; height: 88px; margin: 3px auto 18px; overflow: hidden; border: 2px solid rgba(var(--accent-rgb), .30); border-radius: 27px; color: #fff; background: linear-gradient(135deg, rgba(var(--accent-rgb), .45), rgba(65,119,255,.35)); font-size: 26px; font-weight: 900; }
.team-avatar img { width: 100%; height: 100%; object-fit: cover; }
.team-card h3 { position: relative; margin: 0; font-size: 20px; }
.team-role { position: relative; display: block; margin-top: 6px; color: #c6b8ff; font-size: 12px; font-weight: 800; }
.team-card p { position: relative; margin: 15px 0 0; color: var(--muted); font-size: 14px; }
.team-links { position: relative; display: flex; justify-content: center; gap: 8px; margin-top: 18px; }
.team-links a { padding: 6px 10px; border: 1px solid var(--line); border-radius: 9px; color: var(--muted); font-size: 11px; font-weight: 800; }

.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.news-card { padding: 24px; border: 1px solid var(--line); border-radius: 21px; background: rgba(255,255,255,.025); }
.news-meta { display: flex; justify-content: space-between; gap: 10px; color: var(--soft); font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.news-card h3 { margin: 17px 0 10px; font-size: 19px; line-height: 1.35; }
.news-card p { margin: 0; color: var(--muted); font-size: 14px; }
.news-app { display: inline-flex; margin-top: 18px; padding: 5px 9px; border-radius: 8px; color: #cfc4ff; background: rgba(var(--accent-rgb), .09); font-size: 10px; font-weight: 800; }

.faq-layout { display: grid; grid-template-columns: minmax(260px, .65fr) minmax(0, 1.35fr); gap: 70px; align-items: start; }
.sticky-heading { position: sticky; top: 120px; }
.faq-list { display: grid; gap: 10px; }
.faq-item { overflow: hidden; border: 1px solid var(--line); border-radius: 17px; background: rgba(255,255,255,.025); }
.faq-question { display: flex; justify-content: space-between; align-items: center; width: 100%; min-height: 68px; padding: 16px 19px; border: 0; color: var(--text); background: transparent; text-align: left; font-size: 15px; font-weight: 800; cursor: pointer; }
.faq-question span:last-child { color: var(--soft); font-size: 22px; transition: transform .2s ease; }
.faq-answer { display: none; padding: 0 19px 19px; color: var(--muted); font-size: 14px; }
.faq-item.open .faq-answer { display: block; }
.faq-item.open .faq-question span:last-child { transform: rotate(45deg); }

.support-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 70px; align-items: start; padding-bottom: 30px; }
.support-copy h2 { margin: 12px 0 15px; font-size: clamp(36px, 4vw, 54px); line-height: 1.08; letter-spacing: -.045em; }
.support-copy > p { color: var(--muted); font-size: 18px; }
.status-card { display: flex; align-items: center; gap: 13px; margin-top: 28px; padding: 16px; border: 1px solid var(--line); border-radius: 16px; background: rgba(255,255,255,.025); }
.status-dot { width: 12px; height: 12px; border-radius: 50%; background: var(--success); box-shadow: 0 0 18px rgba(85,217,154,.55); }
.status-card div { display: grid; line-height: 1.2; }
.status-card strong { font-size: 14px; }
.status-card small { margin-top: 5px; color: var(--muted); font-size: 11px; }
.contact-card { display: grid; gap: 15px; padding: 26px; border: 1px solid var(--line); border-radius: 25px; background: rgba(16,18,28,.78); box-shadow: var(--shadow); }
.form-grid { display: grid; gap: 14px; }
.two-columns { grid-template-columns: repeat(2, 1fr); }
.contact-card label { display: grid; gap: 7px; }
.contact-card label > span { color: #c3c6d2; font-size: 12px; font-weight: 800; }
.contact-card input, .contact-card textarea, .contact-card select, .subscribe-form input { width: 100%; border: 1px solid var(--line); border-radius: 13px; outline: none; color: var(--text); background: #0c0e16; transition: border-color .2s ease, box-shadow .2s ease; }
.contact-card input, .contact-card select { height: 48px; padding: 0 14px; }
.contact-card textarea { min-height: 140px; padding: 13px 14px; resize: vertical; }
.contact-card input:focus, .contact-card textarea:focus, .contact-card select:focus, .subscribe-form input:focus { border-color: rgba(var(--accent-rgb), .55); box-shadow: 0 0 0 4px rgba(var(--accent-rgb), .09); }
.contact-card option { background: #11131d; }
.form-result { min-height: 20px; margin: 0; color: var(--muted); font-size: 13px; text-align: center; }
.form-result.success { color: var(--success); }
.form-result.error { color: var(--danger); }

.newsletter { display: flex; align-items: center; justify-content: space-between; gap: 30px; margin-top: 105px; padding: 32px; border: 1px solid rgba(var(--accent-rgb), .22); border-radius: 25px; background: linear-gradient(135deg, rgba(var(--accent-rgb), .12), rgba(65,119,255,.07)); }
.newsletter h2 { margin: 8px 0 0; font-size: 27px; line-height: 1.25; }
.subscribe-form { display: flex; gap: 9px; min-width: min(100%, 480px); }
.subscribe-form input { height: 48px; padding: 0 15px; }

.site-footer { margin-top: 80px; padding-block: 40px 28px; border-top: 1px solid var(--line); }
.footer-brand { display: flex; align-items: center; gap: 15px; }
.footer-brand img { width: 52px; height: 52px; border-radius: 15px; }
.footer-brand strong { font-size: 19px; }
.footer-brand p { margin: 4px 0 0; color: var(--muted); font-size: 12px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 28px; color: var(--muted); font-size: 13px; font-weight: 700; }
.footer-links a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--soft); font-size: 11px; }

.modal-shell { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 24px; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(2,3,7,.78); backdrop-filter: blur(16px); }
.app-modal { position: relative; z-index: 2; width: min(960px, 100%); max-height: calc(100vh - 48px); overflow: auto; border: 1px solid var(--line-strong); border-radius: 28px; background: #0c0e16; box-shadow: 0 40px 120px rgba(0,0,0,.65); }
.modal-close { position: sticky; top: 16px; float: right; z-index: 5; display: grid; place-items: center; width: 42px; height: 42px; margin: 16px 16px -58px 0; border: 1px solid var(--line); border-radius: 13px; color: #fff; background: rgba(7,8,13,.82); font-size: 26px; cursor: pointer; backdrop-filter: blur(10px); }
.app-detail-cover { min-height: 260px; padding: 34px; background: radial-gradient(circle at 80% 0%, rgba(var(--accent-rgb), .24), transparent 55%), linear-gradient(145deg, #171a27, #0c0e16); background: radial-gradient(circle at 80% 0%, color-mix(in srgb, var(--detail-accent, var(--accent)) 32%, transparent), transparent 55%), linear-gradient(145deg, #171a27, #0c0e16); }
.app-detail-head { display: flex; align-items: end; gap: 22px; min-height: 190px; }
.app-detail-icon { display: grid; place-items: center; flex: 0 0 auto; width: 106px; height: 106px; overflow: hidden; border: 1px solid color-mix(in srgb, var(--detail-accent, var(--accent)) 45%, transparent); border-radius: 28px; background: rgba(var(--accent-rgb), .14); background: color-mix(in srgb, var(--detail-accent, var(--accent)) 14%, #11131d); font-size: 31px; font-weight: 900; box-shadow: 0 20px 50px rgba(var(--accent-rgb), .20); box-shadow: 0 20px 50px color-mix(in srgb, var(--detail-accent, var(--accent)) 20%, transparent); }
.app-detail-icon img { width: 100%; height: 100%; object-fit: cover; }
.app-detail-title { min-width: 0; }
.app-detail-title h2 { margin: 10px 0 8px; font-size: 42px; line-height: 1; letter-spacing: -.045em; }
.app-detail-title p { margin: 0; color: #c2c5d1; font-size: 16px; }
.app-detail-body { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(260px, .65fr); gap: 28px; padding: 28px 34px 36px; }
.app-detail-body h3 { margin: 0 0 12px; font-size: 18px; }
.app-description { color: var(--muted); white-space: pre-wrap; }
.detail-side { display: grid; align-content: start; gap: 12px; }
.detail-info-card { padding: 16px; border: 1px solid var(--line); border-radius: 15px; background: rgba(255,255,255,.025); }
.detail-info-card small { display: block; color: var(--soft); font-size: 10px; font-weight: 800; text-transform: uppercase; }
.detail-info-card strong { display: block; margin-top: 6px; font-size: 13px; }
.latest-download-card { margin-top: 25px; padding: 20px; border: 1px solid rgba(var(--accent-rgb), .25); border: 1px solid color-mix(in srgb, var(--detail-accent, var(--accent)) 25%, transparent); border-radius: 18px; background: rgba(var(--accent-rgb), .08); background: color-mix(in srgb, var(--detail-accent, var(--accent)) 8%, transparent); }
.latest-download-top { display: flex; justify-content: space-between; gap: 15px; align-items: start; }
.latest-download-top h3 { margin: 0; }
.latest-download-top span { color: #d8d1ff; font-size: 12px; font-weight: 900; }
.latest-download-card p { color: var(--muted); font-size: 13px; white-space: pre-wrap; }
.download-buttons { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 16px; }
.modal-release-list { display: grid; gap: 9px; margin-top: 18px; }
.modal-release-item { display: flex; justify-content: space-between; gap: 16px; padding: 13px 14px; border: 1px solid var(--line); border-radius: 13px; }
.modal-release-item strong { font-size: 13px; }
.modal-release-item span { color: var(--soft); font-size: 11px; }
.toast { position: fixed; right: 22px; bottom: 22px; z-index: 120; max-width: min(420px, calc(100% - 44px)); padding: 14px 17px; border: 1px solid var(--line-strong); border-radius: 14px; color: #fff; background: #151824; box-shadow: var(--shadow); font-size: 13px; font-weight: 700; }
.toast.error { border-color: rgba(255,107,120,.35); }

@media (max-width: 1050px) {
  .site-header { grid-template-columns: 1fr auto; }
  .main-nav { position: absolute; top: calc(100% + 8px); left: 0; right: 0; display: none; flex-direction: column; align-items: stretch; padding: 10px; background: #0b0d14; }
  .site-header.menu-open .main-nav { display: flex; }
  .main-nav a { padding: 12px; }
  .header-actions { display: none; }
  .mobile-menu-button { display: grid; }
  .hero { grid-template-columns: 1fr; padding-top: 75px; }
  .hero-copy { text-align: center; }
  .hero-copy .eyebrow { justify-content: center; }
  .hero h1, .hero-text { margin-inline: auto; }
  .hero-actions, .trust-row { justify-content: center; }
  .hero-visual { min-height: 500px; }
  .app-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .support-layout { gap: 36px; }
}

@media (max-width: 760px) {
  body { font-size: 16px; }
  .section-shell { width: min(calc(100% - 24px), var(--content)); }
  .site-header { width: calc(100% - 16px); margin-top: 8px; border-radius: 16px; }
  .brand-copy small { display: none; }
  .hero { min-height: auto; gap: 20px; padding-block: 68px 35px; }
  .hero h1 { font-size: clamp(42px, 13vw, 62px); }
  .hero-text { font-size: 17px; }
  .hero-actions { display: grid; }
  .button { width: 100%; }
  .trust-row { gap: 10px 14px; }
  .hero-visual { min-height: 400px; transform: scale(.86); margin: -25px -35px; }
  .float-one { left: 2%; }
  .float-two { right: 2%; }
  .stats-strip { grid-template-columns: repeat(2, 1fr); }
  .stats-strip article:nth-child(2) { border-right: 0; }
  .stats-strip article:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .content-section { padding-top: 78px; }
  .split-heading { display: grid; }
  .catalog-tools { min-width: 100%; }
  .app-grid, .team-grid, .news-grid { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr; }
  .release-item { grid-template-columns: auto 1fr; }
  .release-meta { justify-items: start; grid-column: 2; }
  .release-actions { grid-column: 1 / -1; }
  .release-download { flex: 1; text-align: center; }
  .faq-layout, .support-layout { grid-template-columns: 1fr; gap: 28px; }
  .sticky-heading { position: static; }
  .two-columns { grid-template-columns: 1fr; }
  .newsletter { display: grid; padding: 24px; }
  .subscribe-form { display: grid; min-width: 0; }
  .footer-bottom { display: grid; }
  .modal-shell { padding: 8px; }
  .app-modal { max-height: calc(100vh - 16px); border-radius: 20px; }
  .app-detail-cover { padding: 24px; }
  .app-detail-head { align-items: start; flex-direction: column; justify-content: end; }
  .app-detail-title h2 { font-size: 34px; }
  .app-detail-body { grid-template-columns: 1fr; padding: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}


/* Triosoft 3.0.1 — production layout guards */
main, section, header, footer { min-width: 0; }
.hero-copy, .hero-visual, .section-heading, .catalog-tools, .app-grid, .release-list, .feature-grid, .team-grid, .news-grid, .faq-list { min-width: 0; }
.app-grid:empty, .release-list:empty, .feature-grid:empty, .team-grid:empty, .news-grid:empty, .faq-list:empty { min-height: 120px; }
.app-grid:empty::after, .release-list:empty::after, .feature-grid:empty::after, .team-grid:empty::after, .news-grid:empty::after, .faq-list:empty::after { content: "Загрузка…"; display: grid; place-items: center; min-height: 120px; border: 1px dashed var(--line); border-radius: 18px; color: var(--muted); background: rgba(255,255,255,.018); }
.site-header, .hero, .stats-strip, .content-section, .newsletter, .site-footer { position: relative; }
.stats-strip article, .app-card, .release-item, .feature-card, .team-card, .news-card, .faq-item, .contact-card { min-width: 0; }
.app-card p, .feature-card p, .team-card p, .news-card p, .section-heading p { overflow-wrap: anywhere; }
@media (max-width: 1180px) and (min-width: 761px) {
  .section-shell { width: min(calc(100% - 48px), var(--content)); }
  .hero { grid-template-columns: minmax(0, 1fr) minmax(380px, .82fr); gap: 34px; }
  .hero h1 { font-size: clamp(46px, 5.6vw, 72px); }
  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Uploaded site logo keeps its proportions everywhere */
[data-site-logo] { object-fit: contain; }
