@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('./fonts/inter-cyrillic.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('./fonts/inter-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

:root {
  color-scheme: dark;
  --background: #0a0a0a;
  --text: #fff;
  --muted: #9ca3af;
  --subtle: #6b7280;
  --blue: #60a5fa;
  --purple: #c084fc;
  --green: #4ade80;
  --border: rgba(255, 255, 255, .1);
  --gradient: linear-gradient(to right, #3b82f6, #a855f7);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scrollbar-width: none; }
body {
  margin: 0;
  min-width: 280px;
  background: linear-gradient(135deg, #111827, #000, #111827);
  color: var(--text);
  font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
::-webkit-scrollbar { width: 0; height: 0; }
::selection { background: rgba(59, 130, 246, .3); color: #fff; }
h1, h2, h3, h4, p, ul, dl, dd { margin: 0; }
ul { list-style: none; padding: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
button { color: inherit; cursor: pointer; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 4px; }
svg, img { display: block; }
[hidden] { display: none !important; }
.icon-library { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 20px; height: 20px; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.icon-small { width: 16px; height: 16px; }
.blue { color: var(--blue); }
.purple { color: var(--purple); }
.green { color: var(--green); }
.red { color: #f87171; }
.orange { color: #fb923c; }
.yellow { color: #facc15; }
.amber { color: #fbbf24; }
.container { width: 100%; max-width: 1280px; margin-inline: auto; padding-inline: 16px; position: relative; }
.glass, .glass-dark, .glass-card { border: 1px solid var(--border); }
.glass {
  background: rgba(255, 255, 255, .05);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 32px rgba(31, 38, 135, .37);
}
.glass-dark {
  background: rgba(10, 10, 10, .7);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, .5);
}
.glass-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, .1), rgba(255, 255, 255, .05));
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 32px rgba(31, 38, 135, .2);
  transition: transform .3s, box-shadow .3s, border-color .3s;
}
.gradient-text {
  color: var(--purple);
  background: linear-gradient(to right, #60a5fa, #c084fc);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  overflow: hidden;
  padding: 16px 32px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-weight: 500;
  text-align: center;
  color: #fff;
  transition: background .3s, filter .3s;
}
.button::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .2), transparent);
  transform: translateX(-100%);
  transition: transform .5s;
  pointer-events: none;
}
.button-primary { background: var(--gradient); }
.button-green { background: linear-gradient(to right, #22c55e, #10b981); }
.button-telegram { background: linear-gradient(to right, #3b82f6, #06b6d4); }
.button-max { background: linear-gradient(to right, #a855f7, #6366f1); }
.button.glass { border-color: var(--border); }
.button-row { display: flex; flex-direction: column; justify-content: center; gap: 16px; }
.icon-box {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: linear-gradient(135deg, #3b82f6, #a855f7);
  transition: transform .3s;
}
.icon-box .icon { width: 24px; height: 24px; }
.icon-box-green { background: linear-gradient(135deg, #22c55e, #10b981); }
.icon-box-cyan { background: linear-gradient(135deg, #3b82f6, #06b6d4); }
.icon-box-pink { background: linear-gradient(135deg, #a855f7, #ec4899); }
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 100; transform: translateY(-160%); background: #1e293b; padding: 12px 20px; border-radius: 8px; }
.skip-link:focus { transform: translateY(0); }

/* Navigation */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 50; border-bottom: 1px solid transparent; transition: background .3s, border-color .3s; }
.site-header.is-scrolled { background: rgba(10, 10, 10, .85); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); border-color: var(--border); }
.header-inner { height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; flex-shrink: 0; }
.brand-mark { display: flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 8px; background: linear-gradient(135deg, #3b82f6, #a855f7); font-size: 14px; font-weight: 700; }
.brand-name, .header-contacts, .header-phone-label { display: none; }
.desktop-nav { display: flex; align-items: center; gap: 12px; font-size: 13px; font-weight: 500; color: #d1d5db; }
.desktop-nav a { transition: color .2s; }
.desktop-nav a:hover, .desktop-nav a[aria-current] { color: #fff; }
.header-contacts { align-items: center; gap: 16px; }
.header-contacts .button { padding: 8px 16px; border-radius: 8px; }
.menu-toggle, .menu-close { align-items: center; justify-content: center; background: transparent; border: 0; min-width: 44px; min-height: 44px; padding: 10px; }
.menu-toggle { display: none; }
.menu-toggle .icon, .menu-close .icon { width: 24px; height: 24px; }
.js .menu-toggle { display: flex; }
.js .desktop-nav { display: none; }
.mobile-menu { position: fixed; inset: 0; z-index: 60; }
.menu-backdrop { position: absolute; inset: 0; background: rgba(0, 0, 0, .6); }
.menu-panel { position: absolute; top: 0; right: 0; height: 100%; height: 100dvh; width: min(320px, 100%); padding: 24px; display: flex; flex-direction: column; overflow-y: auto; animation: menu-in .3s ease-out; }
.menu-heading { display: flex; align-items: center; justify-content: space-between; margin-bottom: 32px; }
.mobile-nav { flex: 1; }
.mobile-nav li + li { margin-top: 16px; }
.mobile-nav a { display: block; padding: 12px 16px; color: #d1d5db; border-radius: 8px; }
.mobile-nav a:hover { color: #fff; background: rgba(255,255,255,.05); }
.menu-contacts { display: grid; gap: 16px; padding-top: 24px; margin-top: 24px; border-top: 1px solid var(--border); }
.menu-contacts .button { justify-content: flex-start; padding: 12px 16px; text-align: left; }
.menu-contacts strong, .menu-contacts small { display: block; }
.menu-contacts strong { font-size: 14px; font-weight: 500; }
.menu-contacts small { font-size: 12px; font-weight: 400; }
@keyframes menu-in { from { transform: translateX(100%); } to { transform: translateX(0); } }

/* Hero */
.hero { min-height: 100vh; min-height: 100svh; display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; padding: 96px 16px 40px; background: linear-gradient(135deg, rgba(30,58,138,.2), rgba(88,28,135,.2), rgba(131,24,67,.2)); }
.hero-glows { position: absolute; inset: 0; pointer-events: none; }
.glow { position: absolute; border-radius: 50%; filter: blur(64px); animation: pulse 3s ease-in-out infinite; }
.glow-blue { top: 80px; left: 80px; width: 288px; height: 288px; background: rgba(59,130,246,.1); }
.glow-purple { bottom: 80px; right: 80px; width: 384px; height: 384px; background: rgba(168,85,247,.1); animation-delay: 1s; }
.glow-pink { top: 50%; left: 50%; width: 320px; height: 320px; transform: translate(-50%, -50%); background: rgba(236,72,153,.1); animation-delay: 2s; }
@keyframes pulse { 50% { opacity: .5; } }
.hero-card { position: relative; width: 100%; max-width: 896px; padding: 24px; border-radius: 24px; text-align: center; }
.hero h1 { font-size: 36px; line-height: 1.1; font-weight: 700; margin-bottom: 24px; }
.hero h1 .gradient-text { background-image: linear-gradient(to right, #60a5fa, #c084fc, #f472b6); }
.hero-position, .hero-experience, .location-heading { display: flex; align-items: center; justify-content: center; gap: 8px; }
.hero-position { margin-bottom: 16px; font-size: 20px; line-height: 1.4; color: #d1d5db; }
.hero-experience { margin-bottom: 24px; font-size: 18px; color: var(--muted); }
.hero-description { max-width: 672px; margin: 0 auto 32px; font-size: 18px; line-height: 1.625; color: var(--muted); }
.location-card { max-width: 672px; margin: 0 auto; padding: 24px; border-radius: 16px; }
.location-heading { margin-bottom: 16px; font-weight: 500; color: #d1d5db; }
.location-card p { color: var(--muted); }
.location-card p + p { margin-top: 8px; }
.hero .button-row { margin-top: 32px; }

/* Sections and service cards */
.section { position: relative; padding: 80px 0; scroll-margin-top: 64px; background: linear-gradient(to bottom, transparent, rgba(30,58,138,.1), rgba(88,28,135,.1)); }
.section-heading { margin-bottom: 64px; text-align: center; }
.section-heading h2 { font-size: 30px; line-height: 1.2; font-weight: 700; margin-bottom: 16px; }
.section-heading p { max-width: 672px; margin-inline: auto; color: var(--muted); font-size: 18px; }
.pain-section { padding: 64px 0; background: linear-gradient(to bottom, transparent, rgba(127,29,29,.05), rgba(124,45,18,.05)); }
.pain-section .section-heading { margin-bottom: 48px; }
.pain-section h2 .gradient-text { background-image: linear-gradient(to right, #f87171, #fb923c); }
.pain-card { padding: 24px; max-width: 1024px; margin: 0 auto 48px; border-radius: 24px; }
.pain-list li { display: flex; align-items: center; justify-content: center; gap: 12px; font-size: 18px; text-align: center; }
.pain-list li + li { margin-top: 16px; }
.pain-cross { display: flex; align-items: center; justify-content: center; width: 20px; height: 20px; flex-shrink: 0; border-radius: 8px; background: linear-gradient(135deg, #ef4444, #f97316); }
.pain-cross .icon { width: 16px; height: 16px; }
.callout { padding: 24px; border-radius: 24px; max-width: 768px; margin-inline: auto; text-align: center; }
.callout h3 { font-size: 24px; line-height: 1.35; margin-bottom: 16px; }
.callout > p { color: var(--muted); margin-bottom: 24px; }
.solution { max-width: 896px; }
.solution-heading { display: flex; align-items: flex-start; justify-content: center; gap: 16px; margin-bottom: 24px; }
.solution-heading p { font-size: 24px; line-height: 1.625; text-align: left; color: #d1d5db; }
.solution-heading strong { color: #fff; }
.solution-heading .green { font-weight: 600; }
.solution-check { width: 40px; height: 40px; border-radius: 50%; background: linear-gradient(135deg, #4ade80, #34d399); }
.solution .button { margin-top: 24px; }
.services-grid, .extensions-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; margin-bottom: 64px; }
.service-card { border-radius: 16px; padding: 24px; }
.service-card .icon-box { margin-bottom: 16px; }
.service-card h3 { font-size: 20px; line-height: 1.4; font-weight: 600; margin-bottom: 12px; }
.service-card > p { font-size: 14px; color: var(--muted); line-height: 1.625; margin-bottom: 16px; }
.service-features li { display: flex; align-items: flex-start; gap: 8px; font-size: 12px; color: var(--subtle); }
.service-features li + li { margin-top: 4px; }
.service-features li::before { content: '–'; color: var(--blue); }

/* Pricing */
.pricing-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; margin-bottom: 64px; }
.plan-card { position: relative; border-radius: 16px; padding: 32px; }
.plan-card .icon-box { margin-bottom: 24px; }
.plan-popular { box-shadow: 0 0 0 2px rgba(168,85,247,.5), 0 8px 32px rgba(31,38,135,.2); }
.plan-badge { position: absolute; top: -16px; left: 50%; transform: translateX(-50%); padding: 4px 16px; border-radius: 999px; background: linear-gradient(to right, #a855f7, #ec4899); font-size: 14px; font-weight: 500; white-space: nowrap; }
.plan-card h3 { font-size: 20px; font-weight: 600; margin-bottom: 8px; }
.plan-subtitle { color: var(--muted); font-size: 14px; margin-bottom: 16px; }
.plan-price { font-size: 30px; line-height: 1.2; font-weight: 700; margin-bottom: 24px; }
.plan-features { margin-bottom: 24px; }
.plan-features li { display: flex; align-items: flex-start; gap: 12px; color: #d1d5db; font-size: 14px; }
.plan-features li + li { margin-top: 12px; }
.plan-features .icon { color: var(--green); width: 16px; height: 16px; margin-top: 2px; }
.plan-notes { padding-top: 16px; border-top: 1px solid var(--border); }
.plan-notes p:first-child { color: var(--green); font-size: 14px; font-weight: 500; margin-bottom: 8px; }
.plan-notes p + p { font-size: 12px; color: var(--muted); margin-bottom: 4px; }
.extensions-grid { gap: 32px; }
.extension-card { border-radius: 16px; padding: 24px; }
.extension-card h3 { font-size: 18px; font-weight: 600; margin-bottom: 8px; }
.extension-card > p { font-size: 14px; color: var(--muted); margin-bottom: 16px; }
.extension-prices { margin-bottom: 16px; font-size: 14px; }
.extension-prices > div { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.extension-prices > div + div { margin-top: 12px; }
.extension-prices dt { color: #d1d5db; min-width: 0; }
.extension-prices dd { text-align: right; font-weight: 500; flex-shrink: 0; max-width: 45%; }
.extension-note { font-size: 12px; color: var(--muted); background: rgba(255,255,255,.05); padding: 12px; border-radius: 8px; }

/* Contacts */
.contact-grid { max-width: 672px; margin-inline: auto; }
.contact-grid h3 { font-size: 24px; font-weight: 600; margin-bottom: 24px; text-align: center; }
.contact-methods { display: grid; gap: 16px; }
.contact-method { display: flex; align-items: center; gap: 16px; padding: 24px; border-radius: 16px; }
.contact-method > div:last-child { min-width: 0; }
.contact-method h4 { font-size: 18px; font-weight: 500; margin-bottom: 4px; }
.contact-method p { color: var(--muted); overflow-wrap: anywhere; }
.quick-contact { max-width: none; margin-top: 32px; }
.quick-contact > p { margin-bottom: 16px; }
.site-footer { border-top: 1px solid var(--border); padding: 32px 16px; text-align: center; font-size: 12px; color: #4b5563; }
.site-footer p + p { margin-top: 4px; }

/* 404 */
.error-page { min-height: 100vh; min-height: 100svh; display: flex; align-items: center; justify-content: center; padding: 48px 16px; background: radial-gradient(ellipse at top, rgba(30,58,138,.2), transparent), linear-gradient(135deg, #111827, rgba(30,58,138,.2), rgba(88,28,135,.2)); }
.error-content { max-width: 672px; width: 100%; text-align: center; }
.error-number { font-size: 96px; line-height: 1; font-weight: 700; margin-bottom: 32px; }
.error-card { padding: 32px; border-radius: 24px; margin-bottom: 32px; }
.error-card h1 { font-size: 30px; line-height: 1.2; margin-bottom: 16px; }
.error-card > p { color: #d1d5db; font-size: 18px; margin-bottom: 24px; }
.error-card .button { padding: 12px 24px; }
.error-links { padding: 24px; border-radius: 16px; }
.error-links h2 { display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 18px; font-weight: 600; margin-bottom: 16px; }
.error-links nav { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; }
.error-links nav a { padding: 12px; border-radius: 12px; color: #d1d5db; font-size: 14px; }

/* Only animate elements as they enter view; content stays visible without JS. */
.is-revealing { animation: reveal .6s ease-out both; }
@keyframes reveal { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
@media (hover: hover) {
  .glass-card:hover { transform: translateY(-5px); box-shadow: 0 12px 40px rgba(31,38,135,.3); border-color: rgba(255,255,255,.2); }
  .plan-popular:hover { box-shadow: 0 0 0 2px rgba(168,85,247,.5), 0 12px 40px rgba(31,38,135,.3); }
  .glass-card:hover .icon-box { transform: scale(1.1); }
  .button:hover::before { transform: translateX(100%); }
  .button:hover { filter: brightness(1.1); }
  .button.glass:hover { background: rgba(255,255,255,.1); }
}
@media (min-width: 640px) {
  .container { padding-inline: 24px; }
  .brand-name { display: inline; }
  .button-row { flex-direction: row; }
  .error-number { font-size: 128px; }
  .error-card h1 { font-size: 36px; }
  .error-links nav { grid-template-columns: repeat(4, minmax(0,1fr)); }
}
@media (min-width: 768px) {
  .desktop-nav, .js .desktop-nav { display: flex; gap: 32px; font-size: 16px; }
  .js .menu-toggle { display: none; }
  .hero { padding-inline: 32px; }
  .hero-card { padding: 40px; }
  .hero h1 { font-size: 60px; }
  .hero-position { font-size: 24px; }
  .hero-description { font-size: 20px; }
  .section-heading h2 { font-size: 36px; }
  .pain-card, .solution { padding: 32px; }
  .pain-list li { justify-content: flex-start; text-align: left; }
  .services-grid, .extensions-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pricing-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .plan-card { padding: 24px; }
}
@media (min-width: 1024px) {
  .container { padding-inline: 32px; }
  .header-contacts { display: flex; }
  .hero h1 { font-size: 72px; }
  .section-heading h2 { font-size: 48px; }
  .plan-card { padding: 32px; }
}
@media (min-width: 1280px) { .header-phone-label { display: inline; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
