:root {
  --bg: #0A0A0F;
  --surface: #111118;
  --surface2: #18181F;
  --border: rgba(255,255,255,0.07);
  --accent: #FF4500;
  --accent-hover: #FF6030;
  --accent-dim: rgba(255,69,0,0.12);
  --text: #F0F0F5;
  --text-muted: #8888A0;
  --font-head: 'PT Sans Narrow', sans-serif;
  --font-body: 'Inter', sans-serif;
  --radius: 12px;
  --max-w: 1160px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; }

/* ─── HEADER ─── */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: transparent;
  transition: background .3s, box-shadow .3s;
}
.site-header.scrolled {
  background: rgba(10,10,15,0.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--border);
}
.header-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  height: 68px;
  display: flex;
  align-items: center;
  gap: 32px;
}
.logo {
  display: flex; align-items: center; gap: 10px;
  flex-shrink: 0;
}
.logo-text {
  font-family: var(--font-head);
  font-size: 22px;
  letter-spacing: .5px;
}
.logo-text span { color: var(--accent); }

.main-nav {
  display: flex; gap: 28px; margin-left: auto;
}
.main-nav a {
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 500;
  transition: color .2s;
}
.main-nav a:hover { color: var(--text); }

.lang-switcher {
  display: flex; gap: 4px; flex-shrink: 0;
}
.lang-btn {
  background: none; border: 1px solid var(--border);
  color: var(--text-muted);
  padding: 4px 10px; border-radius: 6px;
  font-size: 12px; font-weight: 600;
  cursor: pointer; transition: all .2s;
  font-family: var(--font-body);
}
.lang-btn:hover { color: var(--text); border-color: rgba(255,255,255,0.2); }
.lang-btn.active { background: var(--accent); border-color: var(--accent); color: #fff; }

.burger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.burger span {
  display: block; width: 22px; height: 2px;
  background: var(--text); border-radius: 2px; transition: all .3s;
}
.burger.open span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

.mobile-nav {
  display: none; flex-direction: column; gap: 0;
  background: rgba(10,10,15,0.98);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--border);
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  padding: 16px 24px;
  border-bottom: 1px solid var(--border);
  color: var(--text-muted); font-size: 15px;
}
.mobile-nav a:hover { color: var(--text); }
.mobile-lang { padding: 16px 24px; }

/* ─── HERO ─── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex; flex-direction: column;
  justify-content: center;
  padding: 120px 24px 0;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(ellipse 60% 50% at 70% 40%, rgba(255,69,0,0.12) 0%, transparent 70%),
    radial-gradient(ellipse 40% 60% at 20% 70%, rgba(255,69,0,0.06) 0%, transparent 60%);
}
.hero-bg::after {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
}
.hero-inner {
  position: relative; z-index: 1;
  max-width: var(--max-w); margin: 0 auto; width: 100%;
}
.hero-badge {
  display: inline-block;
  background: var(--accent-dim);
  border: 1px solid rgba(255,69,0,0.3);
  color: var(--accent);
  font-size: 12px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase;
  padding: 6px 14px; border-radius: 999px;
  margin-bottom: 24px;
}
.hero-title {
  font-family: var(--font-head);
  font-size: clamp(52px, 8vw, 96px);
  line-height: 1.0;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.hero-title br { display: block; }
.hero-sub {
  font-size: 17px; color: var(--text-muted);
  max-width: 580px; margin-bottom: 28px; line-height: 1.7;
}
.hero-platforms {
  display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 36px;
}
.hero-platforms span {
  background: var(--surface2);
  border: 1px solid var(--border);
  padding: 5px 14px; border-radius: 999px;
  font-size: 13px; color: var(--text-muted);
}
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }

.btn-primary {
  background: var(--accent);
  color: #fff; font-weight: 600; font-size: 15px;
  padding: 14px 32px; border-radius: var(--radius);
  transition: background .2s, transform .15s;
  display: inline-block;
}
.btn-primary:hover { background: var(--accent-hover); transform: translateY(-1px); }

.btn-ghost {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-muted); font-weight: 500; font-size: 15px;
  padding: 14px 32px; border-radius: var(--radius);
  transition: all .2s; display: inline-block;
}
.btn-ghost:hover { border-color: rgba(255,255,255,0.2); color: var(--text); }

.hero-stats {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--border);
  margin-top: 80px;
  max-width: 80vw;
  margin-inline: auto;
  width: 100%;
}
.stat-item {
  padding: 32px 24px;
  border-right: 1px solid var(--border);
}
.stat-item:last-child { border-right: none; }
.stat-num {
  display: block;
  font-family: var(--font-head);
  font-size: 48px; color: var(--accent); line-height: 1;
  margin-bottom: 6px;
}
.stat-label { font-size: 13px; color: var(--text-muted); }

/* ─── SECTIONS ─── */
.section-inner {
  max-width: var(--max-w); margin: 0 auto; padding: 0 24px;
}
.services, .advantages, .process, .contact {
  padding: 100px 0;
}
.advantages { background: var(--surface); }
.process { background: var(--bg); }
.contact { background: var(--surface); }

.section-label {
  font-size: 12px; font-weight: 600; letter-spacing: 2px;
  text-transform: uppercase; color: var(--accent);
  margin-bottom: 12px;
}
.section-title {
  font-family: var(--font-head);
  font-size: clamp(36px, 5vw, 56px);
  text-transform: uppercase; letter-spacing: .5px;
  margin-bottom: 56px;
}

/* ─── SERVICES ─── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.service-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  position: relative;
  transition: border-color .2s, transform .2s;
}
.service-card:hover {
  border-color: rgba(255,69,0,0.3);
  transform: translateY(-3px);
}
.service-card.featured {
  border-color: rgba(255,69,0,0.4);
  background: linear-gradient(160deg, rgba(255,69,0,0.06) 0%, var(--surface) 50%);
}
.service-icon { margin-bottom: 16px; }
.service-tag {
  position: absolute; top: 20px; right: 20px;
  font-size: 11px; font-weight: 600; letter-spacing: .5px;
  text-transform: uppercase;
  background: var(--accent-dim); color: var(--accent);
  border: 1px solid rgba(255,69,0,0.2);
  padding: 3px 10px; border-radius: 999px;
}
.service-tag.featured-tag {
  background: var(--accent); color: #fff; border-color: var(--accent);
}
.service-card h3 {
  font-family: var(--font-head);
  font-size: 26px; letter-spacing: .5px; text-transform: uppercase;
  margin-bottom: 10px;
}
.service-card p { font-size: 14px; color: var(--text-muted); margin-bottom: 20px; }
.service-features { margin-bottom: 24px; }
.service-features li {
  font-size: 13px; color: var(--text-muted);
  padding: 5px 0; border-bottom: 1px solid var(--border);
  display: flex; align-items: center; gap: 8px;
}
.service-features li::before {
  content: '';
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--accent); flex-shrink: 0;
}
.service-price {
  display: flex; align-items: baseline; gap: 6px;
  margin-bottom: 16px;
}
.price-from { font-size: 13px; color: var(--text-muted); }
.price-num {
  font-family: var(--font-head);
  font-size: 40px; color: var(--text); line-height: 1;
}
.btn-card {
  display: block; text-align: center;
  background: var(--accent-dim);
  border: 1px solid rgba(255,69,0,0.25);
  color: var(--accent); font-weight: 600; font-size: 14px;
  padding: 10px; border-radius: 8px;
  transition: all .2s;
}
.btn-card:hover { background: var(--accent); color: #fff; border-color: var(--accent); }
.service-card.featured .btn-card {
  background: var(--accent); color: #fff; border-color: var(--accent);
}
.service-card.featured .btn-card:hover { background: var(--accent-hover); }

/* ─── ADVANTAGES ─── */
.adv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.adv-card {
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: border-color .2s;
}
.adv-card:hover { border-color: rgba(255,69,0,0.2); }
.adv-icon {
  width: 52px; height: 52px;
  background: var(--accent-dim);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.adv-card h4 {
  font-size: 16px; font-weight: 600; margin-bottom: 8px;
}
.adv-card p { font-size: 14px; color: var(--text-muted); line-height: 1.65; }

/* ─── PROCESS ─── */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.step {
  padding: 36px 28px;
  border-right: 1px solid var(--border);
  position: relative;
}
.step:last-child { border-right: none; }
.step-num {
  font-family: var(--font-head);
  font-size: 64px; line-height: 1;
  color: rgba(255,69,0,0.12);
  margin-bottom: 16px;
}
.step-body h4 { font-size: 16px; font-weight: 600; margin-bottom: 8px; }
.step-body p { font-size: 14px; color: var(--text-muted); line-height: 1.65; }

/* ─── CONTACT ─── */
.contact-sub {
  font-size: 17px; color: var(--text-muted);
  max-width: 480px; margin-bottom: 40px;
}
.contact-cards { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; }
.contact-card {
  display: flex; align-items: center; gap: 16px;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 28px;
  transition: border-color .2s, transform .2s;
  min-width: 280px;
}
.contact-card:hover { border-color: rgba(255,69,0,0.3); transform: translateY(-2px); }
.contact-card-title { font-weight: 600; font-size: 16px; margin-bottom: 3px; }
.contact-card-sub { font-size: 13px; color: var(--text-muted); }
.contact-note {
  font-size: 13px; color: var(--text-muted);
  border-top: 1px solid var(--border);
  padding-top: 20px; margin-top: 8px;
}

/* ─── FOOTER ─── */
.site-footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 28px 0;
}
.footer-inner {
  max-width: var(--max-w); margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.footer-links { display: flex; gap: 20px; }
.footer-links a { font-size: 13px; color: var(--text-muted); transition: color .2s; }
.footer-links a:hover { color: var(--text); }
.footer-copy { font-size: 13px; color: var(--text-muted); }

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2) { border-right: none; }
  .stat-item:nth-child(3) { border-top: 1px solid var(--border); }
  .stat-item:nth-child(4) { border-top: 1px solid var(--border); border-right: none; }
  .process-steps { grid-template-columns: repeat(2, 1fr); }
  .step:nth-child(2) { border-right: none; }
  .step:nth-child(3) { border-top: 1px solid var(--border); }
  .step:nth-child(4) { border-top: 1px solid var(--border); border-right: none; }
}

@media (max-width: 768px) {
  .main-nav { display: none; }
  .burger { display: flex; margin-left: auto; }
  .lang-switcher:not(.mobile-lang) { display: none; }
  .services-grid { grid-template-columns: 1fr; }
  .adv-grid { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .hero { padding-top: 100px; }
  .services, .advantages, .process, .contact { padding: 64px 0; }
  .section-title { margin-bottom: 36px; }
  .process-steps { grid-template-columns: 1fr; }
  .step { border-right: none; border-bottom: 1px solid var(--border); }
  .step:last-child { border-bottom: none; }
  .footer-inner { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .stat-item { padding: 20px 16px; }
  .stat-num { font-size: 36px; }
  .hero-cta { flex-direction: column; }
  .btn-primary, .btn-ghost { text-align: center; }
}
