﻿:root {
  --x6-bg: #030b1a;
  --x6-bg-soft: #07132c;
  --x6-line: rgba(39, 95, 189, 0.27);
  --x6-glass: rgba(8, 23, 52, 0.55);
  --x6-card: rgba(7, 20, 44, 0.88);
  --x6-text: #e6f1ff;
  --x6-muted: #9db0d4;
  --x6-neon: #00bfff;
  --x6-neon-2: #1daeff;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  color: var(--x6-text);
  background:
    radial-gradient(900px 500px at 82% 8%, rgba(18, 124, 255, 0.2), transparent 65%),
    radial-gradient(600px 380px at 12% 16%, rgba(0, 191, 255, 0.14), transparent 60%),
    var(--x6-bg);
}

.x6-bg-grid {
  background-image:
    linear-gradient(var(--x6-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--x6-line) 1px, transparent 1px);
  background-size: 52px 52px;
}

.x6-shell { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.x6-nav { transition: .25s ease; }
.x6-nav:hover { color: #fff; text-shadow: 0 0 16px rgba(29, 174, 255, 0.5); }
.x6-chip {
  display: inline-block;
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #bde8ff;
  border: 1px solid rgba(65, 146, 247, 0.38);
  background: rgba(8, 36, 75, 0.45);
  padding: 8px 14px;
  border-radius: 999px;
}

.x6-btn-main,
.x6-btn-ghost {
  border-radius: 999px;
  padding: 12px 22px;
  font-weight: 700;
  transition: .28s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.x6-btn-main {
  color: #00273d;
  background: linear-gradient(90deg, var(--x6-neon), var(--x6-neon-2));
  box-shadow: 0 0 0 1px rgba(88, 205, 255, 0.4), 0 10px 35px rgba(0, 153, 255, 0.32);
}
.x6-btn-main:hover { transform: translateY(-2px); box-shadow: 0 0 0 1px rgba(88, 205, 255, 0.6), 0 14px 44px rgba(0, 153, 255, 0.4); }

.x6-btn-ghost {
  color: #cfe9ff;
  border: 1px solid rgba(86, 154, 235, 0.45);
  background: rgba(7, 31, 69, 0.28);
}
.x6-btn-ghost:hover { background: rgba(9, 46, 98, 0.44); }

.x6-mock-wrap {
  border-radius: 28px;
  padding: 14px;
  background: linear-gradient(145deg, rgba(0, 191, 255, 0.2), rgba(14, 50, 99, 0.2));
  border: 1px solid rgba(82, 154, 246, 0.35);
  box-shadow: 0 0 120px rgba(0, 162, 255, 0.2);
}

.x6-kicker {
  font-size: 12px;
  letter-spacing: .2em;
  color: #8ad9ff;
  text-transform: uppercase;
  font-weight: 600;
}
.x6-title-wrap { text-align: center; }
.x6-title {
  font-size: clamp(30px, 4vw, 52px);
  font-weight: 800;
  margin-top: 10px;
  line-height: 1.1;
  color: #f2f8ff;
}

.x6-problem-card {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid rgba(79, 143, 225, 0.36);
  background: rgba(6, 24, 52, 0.5);
  border-radius: 18px;
  padding: 16px;
  color: #cfe4ff;
  transition: .25s ease;
}
.x6-problem-card span { color: var(--x6-neon); text-shadow: 0 0 14px rgba(0, 191, 255, 0.5); }
.x6-problem-card:hover { border-color: rgba(89, 183, 255, 0.65); box-shadow: 0 10px 35px rgba(8, 128, 233, 0.22); }

.x6-service-card,
.x6-case-card,
.x6-step,
.x6-team-card,
.x6-contact-info,
.x6-contact-form-wrap,
.x6-testimonial {
  border: 1px solid rgba(78, 140, 219, 0.35);
  background: linear-gradient(180deg, rgba(8, 27, 60, 0.94), rgba(5, 20, 44, 0.96));
  border-radius: 22px;
}

.x6-service-card,
.x6-case-card,
.x6-team-card,
.x6-problem-card {
  position: relative;
  overflow: hidden;
}

.x6-service-card::after,
.x6-case-card::after,
.x6-team-card::after,
.x6-problem-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(280px circle at var(--mx, 50%) var(--my, 50%), rgba(0, 191, 255, 0.14), transparent 60%);
  opacity: 0;
  transition: opacity .25s ease;
  pointer-events: none;
}

.x6-service-card:hover::after,
.x6-case-card:hover::after,
.x6-team-card:hover::after,
.x6-problem-card:hover::after {
  opacity: 1;
}

.x6-service-card,
.x6-case-card,
.x6-step,
.x6-team-card { padding: 20px; }

.x6-service-card h3,
.x6-case-card h3,
.x6-step h3,
.x6-team-card h3 { color: #f5f9ff; margin: 0; font-size: 20px; font-weight: 700; }
.x6-service-card p,
.x6-case-card p,
.x6-step p,
.x6-team-card small { color: var(--x6-muted); margin-top: 8px; display: block; line-height: 1.55; }
.x6-service-card a,
.x6-case-card a { color: #8ad9ff; font-weight: 600; margin-top: 12px; display: inline-block; }

.x6-service-card:hover,
.x6-case-card:hover,
.x6-team-card:hover,
.x6-step:hover {
  transform: translateY(-4px);
  border-color: rgba(113, 189, 255, 0.72);
  box-shadow: 0 16px 42px rgba(8, 125, 227, 0.26);
}

.x6-case-cat { font-size: 12px; letter-spacing: .14em; color: #80d6ff; text-transform: uppercase; margin-bottom: 8px; }
.x6-tech { font-size: 13px; color: #7db6ef; margin-top: 10px; }

.x6-timeline { position: relative; }
.x6-timeline::before {
  content: "";
  position: absolute;
  top: 20px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--x6-neon), var(--x6-neon-2), transparent);
  opacity: .75;
}
.x6-step span { color: var(--x6-neon); font-weight: 800; font-size: 14px; }

.x6-team-card img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 16px;
  border: 1px solid rgba(95, 154, 230, 0.35);
}
.x6-team-card p { color: #84d4ff; margin: 4px 0 0; font-size: 14px; }

.x6-testimonial-wrap {
  display: grid;
  grid-template-columns: 48px 1fr 48px;
  align-items: center;
  gap: 16px;
}
.x6-testimonial { padding: 30px; min-height: 200px; }
.x6-testimonial p { margin: 0; font-size: 22px; line-height: 1.5; color: #e7f5ff; }
.x6-testimonial strong { margin-top: 18px; display: block; font-size: 16px; }
.x6-testimonial span { color: #86bce8; font-size: 14px; display: block; margin-top: 4px; }
.x6-test-nav {
  width: 46px;
  height: 46px;
  border-radius: 999px;
  border: 1px solid rgba(89, 154, 234, 0.45);
  background: rgba(10, 41, 85, 0.6);
  color: #d5ecff;
  font-size: 25px;
}

.x6-contact-info,
.x6-contact-form-wrap { padding: 26px; }
.x6-input {
  width: 100%;
  border-radius: 12px;
  border: 1px solid rgba(87, 148, 223, 0.4);
  background: rgba(5, 20, 44, 0.82);
  color: #e8f3ff;
  padding: 12px 13px;
}
.x6-input:focus { outline: none; border-color: rgba(111, 196, 255, 0.78); box-shadow: 0 0 0 3px rgba(29, 174, 255, 0.18); }

.x6-footer {
  border-top: 1px solid rgba(54, 108, 188, 0.34);
  background: rgba(2, 8, 20, 0.85);
}

.reveal { opacity: 1; transform: none; }
body.js-ready .reveal { opacity: 0; transform: translateY(18px); transition: .65s ease; }
body.js-ready .reveal.show { opacity: 1; transform: translateY(0); }

@media (max-width: 900px) {
  .x6-timeline::before { display: none; }
  .x6-testimonial-wrap { grid-template-columns: 1fr; }
  .x6-test-nav { justify-self: center; }
}
.x6-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 60;
  background: transparent;
  transition: background .28s ease, border-color .28s ease, box-shadow .28s ease, backdrop-filter .28s ease;
  border-bottom: 1px solid transparent;
}

.x6-header.scrolled {
  background: rgba(4, 13, 29, 0.62);
  backdrop-filter: blur(14px);
  border-bottom-color: rgba(77, 138, 226, 0.26);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.28);
}

.x6-lang-select {
  background: rgba(6, 28, 60, 0.8);
  border: 1px solid rgba(98, 158, 240, 0.38);
  color: #e5f3ff;
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 12px;
  font-weight: 700;
}

.hero-wrap {
  position: relative;
  overflow: hidden;
}

#hero-particles {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: 0.8;
}
