/* Общее оформление сайта angelinavpn.com — в стиле приложения и кабинета («Воздух 2»). */

@font-face { font-family: 'Jost'; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url(/static/fonts/jost-cyrillic-wght-normal.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Jost'; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url(/static/fonts/jost-latin-wght-normal.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url(/static/fonts/inter-cyrillic-wght-normal.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url(/static/fonts/inter-latin-wght-normal.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --bg: #0c0c0d;
  --card: #151517;
  --line: rgba(255, 255, 255, 0.08);
  --text: #f3f1ec;
  --soft: rgba(243, 241, 236, 0.8);
  --muted: #96938c;
  --danger: #f0616d;
  --warn: #e0a458;
  --a: 217, 190, 130; /* шампань */
  --accent: rgb(var(--a));
  --on-accent: #0c0c0d;
  --display: 'Jost', system-ui, sans-serif;
  --body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html, body { margin: 0; background: var(--bg); }
body { color: var(--text); font: 400 16px/1.6 var(--body); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; letter-spacing: 0.01em; margin: 0; }
p { margin: 0; }
a { color: var(--accent); text-decoration: none; }
img { max-width: 100%; }
:focus-visible { outline: 2px solid rgba(var(--a), 0.7); outline-offset: 2px; }
[id] { scroll-margin-top: 84px; }

/* шапка */
.bar { position: sticky; top: 0; z-index: 50; background: rgba(12, 12, 13, 0.72); -webkit-backdrop-filter: blur(22px) saturate(1.5); backdrop-filter: blur(22px) saturate(1.5); border-bottom: 1px solid var(--line); }
.bar-in { max-width: 1120px; margin: 0 auto; padding: 0 20px; height: 64px; display: flex; align-items: center; gap: 28px; }
.wordmark { font: 400 21px var(--display); letter-spacing: 0.02em; color: var(--text); white-space: nowrap; }
.wordmark b { font-weight: 400; color: var(--accent); }
.bar-links { display: none; gap: 22px; flex: 1; min-width: 0; }
.bar-links a { color: var(--muted); font-size: 14px; transition: color 0.2s; }
.bar-links a:hover { color: var(--text); }
.bar-right { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.pill { display: inline-flex; align-items: center; justify-content: center; height: 38px; padding: 0 16px; border-radius: 19px; font-weight: 600; font-size: 14px; white-space: nowrap; background: var(--accent); color: var(--on-accent); transition: opacity 0.2s; }
.pill:hover { opacity: 0.88; }
.pill.ghost { background: transparent; color: var(--text); border: 1px solid var(--line); }
.pill.ghost:hover { opacity: 1; border-color: rgba(var(--a), 0.6); color: var(--accent); }
/* вторая по важности кнопка: полупрозрачная шампань, чтобы не сливалась с фоном */
.pill.soft, .btn.soft { background: rgba(var(--a), 0.14); color: var(--accent); border: 1px solid rgba(var(--a), 0.28); }
.pill.soft:hover, .btn.soft:hover { opacity: 1; background: rgba(var(--a), 0.22); }
.bar .pill.bot { display: none; }
.burger { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); background: none; color: var(--text); display: grid; place-items: center; cursor: pointer; padding: 0; }
.burger svg { display: block; }
.menu { display: none; position: fixed; inset: 65px 0 0; z-index: 49; background: rgba(12, 12, 13, 0.96); -webkit-backdrop-filter: blur(22px); backdrop-filter: blur(22px); padding: 12px 20px 28px; overflow: auto; }
.menu.open { display: block; }
.menu a { display: block; padding: 17px 4px; font: 400 22px var(--display); color: var(--text); border-bottom: 1px solid var(--line); }
.menu a.btn { display: flex; margin-top: 24px; border: 0; padding: 0; font: 600 15px var(--body); color: var(--on-accent); }

/* кнопки */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; height: 54px; padding: 0 28px; border-radius: 27px; font: 600 15px var(--body); background: var(--accent); color: var(--on-accent); transition: transform 0.12s, opacity 0.2s; cursor: pointer; border: 0; }
.btn:hover { opacity: 0.9; }
.btn:active { transform: scale(0.985); }
.btn.ghost { background: transparent; color: var(--text); border: 1px solid var(--line); }
.btn.ghost:hover { opacity: 1; border-color: rgba(var(--a), 0.6); color: var(--accent); }

/* подвал */
.foot { border-top: 1px solid var(--line); margin-top: 40px; }
.foot-in { max-width: 1120px; margin: 0 auto; padding: 34px 20px 44px; display: flex; flex-direction: column; gap: 18px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.foot-links a { color: var(--muted); font-size: 14px; }
.foot-links a:hover { color: var(--text); }
.foot-copy { color: var(--muted); font-size: 13px; opacity: 0.75; }

.lk-full { display: none; }
@media (max-width: 1099px) { .bar-in { gap: 12px; } }
@media (min-width: 420px) { .lk-full { display: inline; } .lk-short { display: none; } }
@media (min-width: 520px) { .bar .pill.bot { display: inline-flex; } }
@media (min-width: 900px) {
  .bar-in, .foot-in { padding-left: 40px; padding-right: 40px; }
  .foot-in { flex-direction: row; align-items: center; justify-content: space-between; }
}
/* ссылки в шапке показываем, только когда они целиком помещаются в ширину контента */
@media (min-width: 1100px) {
  .bar-links { display: flex; }
  .burger, .menu.open { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; transition: none !important; }
}
