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

:root {
  --bg-primary: #07080c;
  --bg-secondary: #0d0e17;
  --bg-card: rgba(255, 255, 255, 0.03);
  --bg-card-hover: rgba(255, 255, 255, 0.06);
  --border: rgba(255, 255, 255, 0.06);
  --border-hover: rgba(255, 255, 255, 0.12);
  --text-primary: #f0f2f5;
  --text-secondary: #8a8fa8;
  --text-tertiary: #5a5e72;
  --accent-1: #06b6d4;
  --accent-2: #8b5cf6;
  --accent-gradient: linear-gradient(135deg, #06b6d4, #8b5cf6);
  --glow: rgba(6, 182, 212, 0.15);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --max-width: 1200px;
  --header-height: 64px;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

::selection {
  background: rgba(6, 182, 212, 0.3);
  color: white;
}

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-primary); }
::-webkit-scrollbar-thumb {
  background: var(--text-tertiary);
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover { background: var(--text-secondary); }

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

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* ========== ANIMATED BG ========== */
.bg-glow {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -1;
  overflow: hidden;
}
.bg-glow::before,
.bg-glow::after {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.08;
  animation: glowFloat 20s ease-in-out infinite alternate;
}
.bg-glow::before {
  top: -200px;
  right: -200px;
  background: var(--accent-1);
}
.bg-glow::after {
  bottom: -200px;
  left: -200px;
  background: var(--accent-2);
  animation-delay: -10s;
}
@keyframes glowFloat {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(60px, -40px) scale(1.3); }
}

/* ========== HEADER ========== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(7, 8, 12, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  height: var(--header-height);
  transition: background 0.3s;
}
.header.scrolled {
  background: rgba(7, 8, 12, 0.95);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}
.logo {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.5px;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.nav {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav a {
  font-size: 14px;
  color: var(--text-secondary);
  transition: color 0.2s;
  position: relative;
}
.nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--accent-gradient);
  transition: width 0.3s;
}
.nav a:hover {
  color: var(--text-primary);
}
.nav a:hover::after {
  width: 100%;
}
.header-phone {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  border-radius: 100px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  transition: all 0.3s;
}
.header-phone:hover {
  border-color: var(--accent-1);
  background: var(--bg-card-hover);
  box-shadow: 0 0 30px var(--glow);
}
.header-phone svg {
  width: 16px;
  height: 16px;
  color: var(--accent-1);
}

/* Mobile menu */
.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.mobile-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all 0.3s;
}
.mobile-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.mobile-toggle.active span:nth-child(2) { opacity: 0; }
.mobile-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ========== HERO ========== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 20px 80px;
  position: relative;
  overflow: hidden;
}
.hero-content {
  max-width: 800px;
  position: relative;
  z-index: 1;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 16px;
  border-radius: 100px;
  background: rgba(6, 182, 212, 0.08);
  border: 1px solid rgba(6, 182, 212, 0.15);
  font-size: 13px;
  font-weight: 500;
  color: var(--accent-1);
  margin-bottom: 24px;
}
.hero-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-1);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}
.hero h1 {
  font-size: clamp(36px, 6vw, 72px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -2px;
  margin-bottom: 12px;
}
.hero h1 .gradient {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-subtitle {
  font-size: clamp(16px, 2vw, 20px);
  color: var(--text-secondary);
  margin-bottom: 8px;
  font-weight: 500;
}
.hero-description {
  font-size: clamp(14px, 1.5vw, 17px);
  color: var(--text-tertiary);
  max-width: 600px;
  margin: 0 auto 36px;
  line-height: 1.7;
}
.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 100px;
  font-size: 15px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all 0.3s;
}
.btn-primary {
  background: var(--accent-gradient);
  color: white;
  box-shadow: 0 4px 30px var(--glow);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 40px rgba(6, 182, 212, 0.25);
}
.btn-secondary {
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-primary);
}
.btn-secondary:hover {
  border-color: var(--text-tertiary);
  background: var(--bg-card-hover);
  transform: translateY(-2px);
}

/* Hero metrics */
.hero-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  max-width: 900px;
  margin: 48px auto 0;
  padding-top: 48px;
  border-top: 1px solid var(--border);
}
.hero-metric {
  text-align: center;
}
.hero-metric-value {
  font-size: 24px;
  font-weight: 700;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 4px;
}
.hero-metric-label {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.4;
}

/* ========== SECTIONS ========== */
.section {
  padding: 80px 0;
}
.section-header {
  text-align: center;
  margin-bottom: 56px;
}
.section-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent-1);
  margin-bottom: 12px;
}
.section-title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  letter-spacing: -1px;
  margin-bottom: 12px;
}
.section-subtitle {
  font-size: 16px;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

/* ========== SERVICES ========== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
}
.service-card {
  padding: 32px;
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  border: 1px solid var(--border);
  transition: all 0.4s;
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--accent-gradient);
  opacity: 0;
  transition: opacity 0.4s;
}
.service-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-hover);
  transform: translateY(-4px);
}
.service-card:hover::before {
  opacity: 1;
}
.service-card-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: rgba(6, 182, 212, 0.08);
  border: 1px solid rgba(6, 182, 212, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.service-card-icon svg {
  width: 22px;
  height: 22px;
  color: var(--accent-1);
}
.service-card h3 {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 8px;
}
.service-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}
.service-card .service-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent-1);
  transition: gap 0.3s;
}
.service-card .service-link:hover {
  gap: 10px;
}

/* Additional services */
.services-extra {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
  margin-top: 40px;
}
.services-extra-label {
  grid-column: 1 / -1;
  font-size: 14px;
  color: var(--text-secondary);
  font-weight: 500;
}
.service-chip {
  padding: 14px 20px;
  border-radius: var(--radius-md);
  background: var(--bg-card);
  border: 1px solid var(--border);
  text-align: center;
  font-size: 14px;
  color: var(--text-primary);
  transition: all 0.3s;
}
.service-chip:hover {
  border-color: var(--border-hover);
  background: var(--bg-card-hover);
}
.service-chip.with-link {
  color: var(--accent-1);
}

/* ========== PROCESS ========== */
.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  counter-reset: step;
}
.process-step {
  text-align: center;
  padding: 32px 20px;
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  border: 1px solid var(--border);
  position: relative;
  transition: all 0.3s;
}
.process-step:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
}
.process-step-number {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--accent-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
  color: white;
  margin: 0 auto 16px;
  box-shadow: 0 4px 20px rgba(6, 182, 212, 0.2);
}
.process-step h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
}
.process-step p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ========== LIMITATIONS ========== */
.limitations {
  background: var(--bg-secondary);
  border-radius: var(--radius-xl);
  padding: 48px;
  border: 1px solid var(--border);
}
.limitations h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 20px;
}
.limitations-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.limitations-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.5;
}
.limitations-list li svg {
  width: 18px;
  height: 18px;
  color: var(--accent-2);
  flex-shrink: 0;
  margin-top: 2px;
}

/* ========== FAQ ========== */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 720px;
  margin: 0 auto;
}
.faq-item {
  border-radius: var(--radius-md);
  background: var(--bg-card);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: border-color 0.3s;
}
.faq-item.active {
  border-color: rgba(6, 182, 212, 0.2);
}
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 24px;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  transition: color 0.3s;
}
.faq-item.active .faq-question {
  color: var(--accent-1);
}
.faq-question svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--text-tertiary);
  transition: transform 0.3s;
}
.faq-item.active .faq-question svg {
  transform: rotate(180deg);
  color: var(--accent-1);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
}
.faq-item.active .faq-answer {
  max-height: 300px;
}
.faq-answer-inner {
  padding: 0 24px 18px;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ========== CONTACTS ========== */
.contacts-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.contacts-info {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.contacts-info h3 {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.5px;
}
.contacts-info p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
}
.contact-item {
  display: flex;
  align-items: center;
  gap: 14px;
}
.contact-item-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: rgba(6, 182, 212, 0.08);
  border: 1px solid rgba(6, 182, 212, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-item-icon svg {
  width: 20px;
  height: 20px;
  color: var(--accent-1);
}
.contact-item-content {}
.contact-item-label {
  font-size: 12px;
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
}
.contact-item-value {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
  margin-top: 2px;
}

/* Map placeholder */
.contacts-map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border);
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.contacts-map-inner {
  text-align: center;
  color: var(--text-tertiary);
}
.contacts-map-inner svg {
  width: 48px;
  height: 48px;
  margin-bottom: 12px;
  color: var(--text-tertiary);
  opacity: 0.5;
}
.contacts-map-inner p {
  font-size: 14px;
}

/* ========== FOOTER ========== */
.footer {
  border-top: 1px solid var(--border);
  padding: 48px 0 100px;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-brand {}
.footer-brand .logo {
  display: inline-block;
  margin-bottom: 8px;
}
.footer-brand p {
  font-size: 13px;
  color: var(--text-tertiary);
}
.footer-links {
  display: flex;
  gap: 24px;
}
.footer-links a {
  font-size: 13px;
  color: var(--text-secondary);
  transition: color 0.2s;
}
.footer-links a:hover {
  color: var(--text-primary);
}

/* ========== MOBILE TAB BAR ========== */
.tab-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(7, 8, 12, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid var(--border);
  padding: 8px 0;
  padding-bottom: max(8px, env(safe-area-inset-bottom));
}
.tab-bar-inner {
  display: flex;
  justify-content: space-around;
  align-items: center;
}
.tab-bar-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 4px 12px;
  color: var(--text-tertiary);
  font-size: 10px;
  font-weight: 500;
  transition: color 0.2s;
  border: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
}
.tab-bar-item svg {
  width: 20px;
  height: 20px;
}
.tab-bar-item.active,
.tab-bar-item:hover {
  color: var(--accent-1);
}

/* ========== PAGE HEADER (inner pages) ========== */
.page-header {
  padding: 120px 0 48px;
}
.page-header-inner {
  max-width: 800px;
}
.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-tertiary);
  margin-bottom: 24px;
}
.breadcrumbs a {
  color: var(--text-secondary);
  transition: color 0.2s;
}
.breadcrumbs a:hover {
  color: var(--accent-1);
}
.breadcrumbs svg {
  width: 14px;
  height: 14px;
}
.page-header h1 {
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 800;
  letter-spacing: -1.5px;
  line-height: 1.1;
  margin-bottom: 16px;
}
.page-header p {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 600px;
}

/* ========== CONTENT (inner pages) ========== */
.content-section {
  padding: 48px 0;
}
.content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}
.content-text h2 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}
.content-text p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 16px;
}
.content-text ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.content-text ul li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.5;
}
.content-text ul li svg {
  width: 18px;
  height: 18px;
  color: var(--accent-1);
  flex-shrink: 0;
  margin-top: 2px;
}

/* Service illustration */
.content-visual {
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  border: 1px solid var(--border);
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.content-visual svg {
  width: 120px;
  height: 120px;
  color: var(--text-tertiary);
  opacity: 0.3;
}

/* ========== RELATED NAV ========== */
.related-nav {
  padding: 48px 0;
  border-top: 1px solid var(--border);
}
.related-nav h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 20px;
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
}

/* ========== PRIVACY ========== */
.privacy-content {
  max-width: 720px;
  margin: 0 auto;
  padding: 40px 0 80px;
}
.privacy-content h2 {
  font-size: 20px;
  font-weight: 600;
  margin-top: 32px;
  margin-bottom: 12px;
}
.privacy-content p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 12px;
}

/* ========== ANIMATIONS ========== */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}
.fade-in {
  opacity: 0;
  transition: opacity 0.8s ease;
}
.fade-in.visible {
  opacity: 1;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
  .nav { display: none; }
  .nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: rgba(7, 8, 12, 0.98);
    backdrop-filter: blur(20px);
    padding: 20px;
    gap: 16px;
    border-bottom: 1px solid var(--border);
  }
  .header-phone { display: none; }
  .mobile-toggle { display: flex; }

  .hero-metrics {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .hero-metric-value { font-size: 20px; }

  .services-grid { grid-template-columns: 1fr; }
  .services-extra { grid-template-columns: 1fr 1fr; }

  .process-grid { grid-template-columns: 1fr; }

  .contacts-grid { grid-template-columns: 1fr; gap: 32px; }

  .content-grid { grid-template-columns: 1fr; gap: 24px; }
  .content-visual { min-height: 240px; }

  .limitations { padding: 32px 24px; }

  .footer-inner { flex-direction: column; text-align: center; }
  .footer-links { flex-wrap: wrap; justify-content: center; }

  .tab-bar { display: block; }
  .footer { padding-bottom: 80px; }
}

.site-image {
  width: 100%;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(6,182,212,0.12), rgba(139,92,246,0.12));
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.site-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.process-image { aspect-ratio: 16/9; }

@media (max-width: 480px) {
  .services-extra { grid-template-columns: 1fr; }
  .hero { padding: 100px 16px 60px; }
  .section { padding: 56px 0; }
  .faq-question { padding: 14px 16px; font-size: 14px; }
  .faq-answer-inner { padding: 0 16px 14px; }
}
