:root {
  --bg: #0b0e1a;
  --bg-alt: #f7f8fc;
  --ink: #0f1224;
  --ink-soft: #565b78;
  --white: #ffffff;
  --violet: #6c5ce7;
  --cyan: #00b8d9;
  --mint: #00e5c7;
  --coral: #f97066;
  --card: #ffffff;
  --border: #e7e8f2;
  --shadow: 0 20px 50px -20px rgba(20, 20, 60, 0.25);
  --radius: 18px;
  --grad-brand: linear-gradient(135deg, var(--violet), var(--cyan));
  --container: 1180px;
  font-size: 16px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--ink);
  background: var(--bg-alt);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, .brand-name { font-family: 'Manrope', 'Inter', sans-serif; }
h1, h2, h3 { margin: 0; line-height: 1.15; font-weight: 800; }
p { margin: 0; color: var(--ink-soft); line-height: 1.65; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; }

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

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--violet);
  color: #fff;
  padding: 10px 16px;
  border-radius: 0 0 8px 0;
  z-index: 999;
}
.skip-link:focus { left: 0; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--grad-brand);
  color: #fff;
  box-shadow: 0 12px 30px -8px rgba(108, 92, 231, 0.55);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 34px -6px rgba(108, 92, 231, 0.65); }
.btn-ghost {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(6px);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.14); transform: translateY(-2px); }
.btn-lg { padding: 16px 34px; font-size: 1.05rem; }
.btn-sm { padding: 9px 18px; font-size: 0.85rem; }
.btn-block { width: 100%; }

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 14, 26, 0.75);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 76px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.brand-name {
  color: #fff;
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
}
.main-nav {
  display: flex;
  gap: 32px;
  flex: 1;
  justify-content: center;
}
.main-nav a {
  color: rgba(255, 255, 255, 0.75);
  font-weight: 600;
  font-size: 0.95rem;
  transition: color 0.2s ease;
  position: relative;
}
.main-nav a:hover { color: #fff; }

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}
.lang-switch {
  display: flex;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  padding: 3px;
}
.lang-btn {
  border: none;
  background: transparent;
  color: rgba(255, 255, 255, 0.65);
  font-weight: 700;
  font-size: 0.78rem;
  padding: 6px 13px;
  border-radius: 999px;
  transition: background 0.2s ease, color 0.2s ease;
}
.lang-btn.active {
  background: var(--grad-brand);
  color: #fff;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
}
.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 0 auto;
  background: #fff;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== Hero ===== */
.hero {
  position: relative;
  background: linear-gradient(180deg, #0b0e1a 0%, #131736 55%, #171b3f 100%);
  overflow: hidden;
  padding: 96px 0 110px;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.grid-lines { position: absolute; inset: 0; opacity: 0.6; }
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.45;
}
.blob-1 {
  width: 480px; height: 480px;
  background: var(--violet);
  top: -160px; left: -120px;
  animation: float1 14s ease-in-out infinite;
}
.blob-2 {
  width: 420px; height: 420px;
  background: var(--cyan);
  bottom: -180px; right: -100px;
  animation: float2 16s ease-in-out infinite;
}
@keyframes float1 {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(40px, 30px); }
}
@keyframes float2 {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-30px, -40px); }
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

.eyebrow {
  display: inline-block;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(0, 229, 199, 0.12);
  border: 1px solid rgba(0, 229, 199, 0.35);
  color: var(--mint);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.02em;
  margin-bottom: 22px;
}
.hero-copy h1 {
  color: #fff;
  font-size: clamp(2.2rem, 4.2vw, 3.4rem);
  letter-spacing: -0.02em;
  margin-bottom: 22px;
}
.hero-sub {
  color: rgba(255, 255, 255, 0.72);
  font-size: 1.08rem;
  max-width: 520px;
  margin-bottom: 34px;
}
.hero-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}
.hero-stats {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}
.stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.stat-num, .stat-suffix {
  display: inline-block;
  color: #fff;
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: 2rem;
}
.stat-label {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.85rem;
  font-weight: 500;
}

/* Hero visual */
.hero-visual {
  position: relative;
  min-height: 420px;
}
.viz-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 20px;
  backdrop-filter: blur(16px);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.5);
}
.viz-main {
  padding: 22px 22px 26px;
}
.viz-head {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 18px;
}
.viz-head .dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
}
.viz-title {
  margin-left: 8px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.8rem;
  font-weight: 600;
}
.viz-chart { margin-bottom: 20px; }
.chart-line {
  stroke-dasharray: 700;
  stroke-dashoffset: 700;
  animation: draw 2.4s ease forwards 0.3s;
}
.chart-area {
  opacity: 0;
  animation: fadeIn 1.5s ease forwards 1.4s;
}
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fadeIn { to { opacity: 1; } }

.viz-bars {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 70px;
}
.viz-bars span {
  flex: 1;
  height: var(--h);
  border-radius: 6px 6px 2px 2px;
  background: linear-gradient(180deg, var(--cyan), var(--violet));
  transform: scaleY(0);
  transform-origin: bottom;
  animation: growBar 0.9s cubic-bezier(.2,.8,.2,1) forwards;
}
.viz-bars span:nth-child(1) { animation-delay: 0.1s; }
.viz-bars span:nth-child(2) { animation-delay: 0.2s; }
.viz-bars span:nth-child(3) { animation-delay: 0.3s; }
.viz-bars span:nth-child(4) { animation-delay: 0.4s; }
.viz-bars span:nth-child(5) { animation-delay: 0.5s; }
.viz-bars span:nth-child(6) { animation-delay: 0.6s; }
.viz-bars span:nth-child(7) { animation-delay: 0.7s; }
@keyframes growBar { to { transform: scaleY(1); } }

.viz-float {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  animation: bob 5s ease-in-out infinite;
}
.viz-float-1 { top: -8%; right: -4%; animation-delay: 0.4s; }
.viz-float-2 { bottom: 4%; left: -8%; animation-delay: 1.1s; }
@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.donut { position: relative; width: 52px; height: 52px; flex-shrink: 0; }
.donut-svg { transform: rotate(-90deg); }
.donut-arc {
  stroke-dasharray: 0 100;
  animation: donutFill 1.6s ease forwards 0.8s;
}
@keyframes donutFill { to { stroke-dasharray: 72 100; } }
.donut-num {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
}
.viz-float-text { display: flex; flex-direction: column; }
.viz-float-text strong { color: #fff; font-size: 0.9rem; }
.viz-float-text small { color: rgba(255, 255, 255, 0.55); font-size: 0.75rem; }

.pulse-dot {
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--mint);
  flex-shrink: 0;
  position: relative;
}
.pulse-dot::after {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid var(--mint);
  animation: pulse 2s ease-out infinite;
}
@keyframes pulse {
  0% { transform: scale(0.6); opacity: 0.9; }
  100% { transform: scale(1.8); opacity: 0; }
}

/* ===== Trust strip ===== */
.trust-strip {
  background: #10142a;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding: 26px 0;
}
.trust-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
  justify-content: space-between;
}
.trust-inner p {
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.85rem;
  font-weight: 600;
  white-space: nowrap;
}
.trust-icons {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
}
.trust-icons span {
  color: rgba(255, 255, 255, 0.35);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
}

/* ===== Section head ===== */
.section-head {
  max-width: 620px;
  margin: 0 auto 56px;
  text-align: center;
}
.section-tag {
  display: inline-block;
  color: var(--violet);
  background: rgba(108, 92, 231, 0.1);
  border: 1px solid rgba(108, 92, 231, 0.25);
  padding: 6px 14px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.78rem;
  margin-bottom: 16px;
}
.section-head h2 {
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  margin-bottom: 14px;
  letter-spacing: -0.02em;
}

/* ===== Offers ===== */
.offers { padding: 110px 0; background: var(--bg-alt); }
.offers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.offer-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 26px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.offer-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: rgba(108, 92, 231, 0.25);
}
.offer-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: #fff;
  background: linear-gradient(135deg, var(--c1), var(--c2));
}
.offer-icon svg { width: 24px; height: 24px; }
.offer-card h3 { font-size: 1.12rem; margin-bottom: 10px; }
.offer-card p { font-size: 0.94rem; }

/* ===== Steps ===== */
.steps { padding: 110px 0; background: #10142a; }
.steps .section-tag { color: var(--mint); background: rgba(0, 229, 199, 0.1); border-color: rgba(0, 229, 199, 0.3); }
.steps .section-head h2 { color: #fff; }
.steps .section-head p { color: rgba(255, 255, 255, 0.55); }

.steps-track {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}
.steps-track::before {
  content: '';
  position: absolute;
  top: 26px;
  left: 8%;
  right: 8%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.18), transparent);
}
.step-item { position: relative; }
.step-num {
  width: 52px; height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--grad-brand);
  color: #fff;
  font-weight: 800;
  font-family: 'Manrope', sans-serif;
  margin-bottom: 22px;
  position: relative;
  z-index: 1;
  box-shadow: 0 0 0 6px #10142a;
}
.step-item h3 { color: #fff; font-size: 1.1rem; margin-bottom: 10px; }
.step-item p { color: rgba(255, 255, 255, 0.55); font-size: 0.92rem; }

/* ===== CTA banner ===== */
.cta-banner {
  background: var(--grad-brand);
  padding: 70px 0;
}
.cta-banner-inner {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.cta-banner h2 { color: #fff; font-size: clamp(1.5rem, 2.6vw, 2rem); max-width: 620px; }
.cta-banner p { color: rgba(255, 255, 255, 0.85); margin-bottom: 10px; }
.cta-banner .btn-primary {
  background: #fff;
  color: var(--violet);
  box-shadow: 0 12px 30px -8px rgba(0, 0, 0, 0.3);
}
.cta-banner .btn-primary:hover { background: #f3f2ff; }

/* ===== Contacts ===== */
.contacts { padding: 110px 0; background: var(--bg-alt); }
.contacts-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.contacts-info h2 {
  font-size: clamp(1.6rem, 2.8vw, 2.1rem);
  margin: 16px 0 14px;
  letter-spacing: -0.02em;
}
.contacts-info > p { margin-bottom: 32px; max-width: 460px; }

.contact-list { list-style: none; margin: 0 0 30px; padding: 0; display: flex; flex-direction: column; gap: 18px; }
.contact-list li { display: flex; align-items: center; gap: 16px; }
.contact-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--violet);
  flex-shrink: 0;
}
.contact-icon svg { width: 20px; height: 20px; }
.contact-list strong { display: block; font-size: 0.8rem; color: var(--ink-soft); font-weight: 600; }
.contact-list a, .contact-list span { font-weight: 700; font-size: 1rem; }

.social-row { display: flex; gap: 12px; }
.social-btn {
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.social-btn svg { width: 18px; height: 18px; }
.social-btn:hover { background: var(--grad-brand); color: #fff; transform: translateY(-2px); }

/* Form */
.contact-form {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.form-row { display: flex; flex-direction: column; gap: 8px; }
.form-row label { font-size: 0.85rem; font-weight: 700; color: var(--ink); }
.form-row input, .form-row textarea {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 13px 15px;
  font-family: inherit;
  font-size: 0.95rem;
  background: #fafafe;
  color: var(--ink);
  resize: vertical;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.form-row input:focus, .form-row textarea:focus {
  outline: none;
  border-color: var(--violet);
  box-shadow: 0 0 0 3px rgba(108, 92, 231, 0.15);
}
.form-success {
  display: none;
  text-align: center;
  color: #16a34a;
  font-weight: 600;
  font-size: 0.9rem;
  background: rgba(22, 163, 74, 0.08);
  border-radius: 10px;
  padding: 10px;
}
.form-success.show { display: block; }

/* ===== Footer ===== */
.site-footer { background: #0b0e1a; padding: 36px 0; }
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.brand-footer .brand-name { color: #fff; }
.footer-copy { color: rgba(255, 255, 255, 0.4); font-size: 0.85rem; }

/* ===== Responsive ===== */
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { min-height: 360px; max-width: 460px; margin: 0 auto; }
  .offers-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-track { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .steps-track::before { display: none; }
  .contacts-inner { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .main-nav { display: none; }
  .nav-toggle { display: flex; }
  .header-actions { gap: 10px; }
  .header-actions .btn-sm { display: none; }

  .site-header.menu-open .main-nav {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    background: #0d1024;
    padding: 20px 24px 28px;
    gap: 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .hero { padding: 56px 0 72px; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { width: 100%; }
  .hero-stats { gap: 24px; justify-content: space-between; }
  .stat-num, .stat-suffix { font-size: 1.5rem; }

  .offers, .steps, .contacts { padding: 72px 0; }
  .offers-grid { grid-template-columns: 1fr; }
  .steps-track { grid-template-columns: 1fr; gap: 28px; }

  .contact-form { padding: 24px; }
  .cta-banner { padding: 52px 0; }

  .viz-float { position: static; margin-top: 14px; animation: none; }
  .hero-visual { display: flex; flex-direction: column; gap: 14px; }
}

@media (max-width: 420px) {
  .container { padding: 0 18px; }
  .hero-stats { flex-wrap: wrap; row-gap: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}
