:root {
  color-scheme: dark;
  --bg: #07111f;
  --bg-soft: #0d1b2f;
  --card: rgba(255, 255, 255, 0.08);
  --card-strong: rgba(255, 255, 255, 0.14);
  --text: #f8fbff;
  --muted: #b8c5d8;
  --primary: #37d4ff;
  --primary-dark: #0f91d4;
  --accent: #7c5cff;
  --success: #39f2ae;
  --border: rgba(255, 255, 255, 0.14);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
  --radius-lg: 32px;
  --radius-md: 22px;
  --radius-sm: 14px;
  --container: 1180px;
  --on-primary: #04101f;
  --glow-a: rgba(55, 212, 255, 0.16);
  --glow-b: rgba(124, 92, 255, 0.2);
  --glow-opacity: 0.35;
  --nav-bg: rgba(7, 17, 31, 0.78);
  --menu-bg: rgba(7, 17, 31, 0.96);
  --surface: rgba(255, 255, 255, 0.08);
  --surface-faint: rgba(255, 255, 255, 0.04);
  --card-a: rgba(255, 255, 255, 0.13);
  --card-b: rgba(255, 255, 255, 0.05);
  --primary-soft: rgba(55, 212, 255, 0.14);
  --primary-glow: rgba(55, 212, 255, 0.26);
}

:root:not([data-theme="dark"]) {
  color-scheme: light;
  --bg: #f3f7fd;
  --bg-soft: #e6eef9;
  --card: rgba(11, 26, 46, 0.05);
  --card-strong: rgba(11, 26, 46, 0.1);
  --text: #0b1a2e;
  --muted: #4a5b73;
  --primary: #0a78b8;
  --primary-dark: #075f94;
  --accent: #6a4cf0;
  --success: #0e9f6e;
  --border: rgba(11, 26, 46, 0.12);
  --shadow: 0 20px 60px rgba(30, 60, 110, 0.14);
  --on-primary: #ffffff;
  --glow-a: rgba(55, 180, 255, 0.22);
  --glow-b: rgba(124, 92, 255, 0.14);
  --glow-opacity: 0.18;
  --nav-bg: rgba(255, 255, 255, 0.8);
  --menu-bg: rgba(255, 255, 255, 0.97);
  --surface: rgba(11, 26, 46, 0.05);
  --surface-faint: rgba(11, 26, 46, 0.03);
  --card-a: rgba(255, 255, 255, 0.95);
  --card-b: rgba(255, 255, 255, 0.6);
  --primary-soft: rgba(10, 120, 184, 0.1);
  --primary-glow: rgba(10, 120, 184, 0.28);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  background:
    radial-gradient(circle at top left, var(--glow-a), transparent 34rem),
    radial-gradient(circle at top right, var(--glow-b), transparent 30rem),
    var(--bg);
  transition: background-color 0.3s ease, color 0.3s ease;
  color: var(--text);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

body.nav-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

.container {
  width: min(100% - 40px, var(--container));
  margin-inline: auto;
}

.section-padding {
  padding: 110px 0;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: fixed;
  inset: 18px 0 auto;
  z-index: 20;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 18px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--nav-bg);
  backdrop-filter: blur(22px);
  box-shadow: var(--shadow);
}

.brand,
.nav__links {
  display: flex;
  align-items: center;
}

.brand {
  gap: 12px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.brand__logo {
  display: block;
  width: auto;
  height: 46px;
}

.brand__logo--light,
:root:not([data-theme="dark"]) .brand__logo--dark {
  display: none;
}

:root:not([data-theme="dark"]) .brand__logo--light {
  display: block;
}

.brand__mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: var(--on-primary);
  box-shadow: 0 10px 30px rgba(55, 212, 255, 0.35);
}

.nav__links {
  gap: 6px;
}

.nav__links a {
  padding: 10px 16px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 600;
  transition: background 0.2s ease, color 0.2s ease;
}

.nav__links a:hover,
.nav__links a:focus-visible {
  background: var(--card);
  color: var(--text);
}

.nav__actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.theme-toggle,
.nav__toggle {
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: var(--card-strong);
  color: var(--text);
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.theme-toggle {
  display: grid;
  place-items: center;
}

.theme-toggle:hover,
.theme-toggle:focus-visible {
  transform: rotate(14deg);
}

.theme-toggle svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.theme-toggle__moon,
:root:not([data-theme="dark"]) .theme-toggle__sun {
  display: none;
}

:root:not([data-theme="dark"]) .theme-toggle__moon {
  display: block;
}

.nav__toggle {
  display: none;
}

.nav__toggle span:not(.sr-only) {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  border-radius: 999px;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  align-items: center;
  overflow: hidden;
  padding-top: 170px;
}

.hero__glow {
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  filter: blur(12px);
  opacity: var(--glow-opacity);
  animation: floatGlow 8s ease-in-out infinite alternate;
}

.hero__glow--one {
  left: 8%;
  top: 18%;
  background: var(--primary);
}

.hero__glow--two {
  right: 8%;
  bottom: 14%;
  background: var(--accent);
  animation-delay: -2s;
}

.solutions__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 64px;
}

.hero__content {
  max-width: 920px;
  margin-inline: auto;
  text-align: center;
}

.hero__content h1,
.hero__content .hero__lead {
  margin-inline: auto;
}

.solutions__grid > * {
  min-width: 0;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  letter-spacing: -0.05em;
  line-height: 1.08;
  overflow-wrap: break-word;
}

h1 {
  max-width: 760px;
  margin-bottom: 26px;
  font-size: clamp(2.2rem, 5.4vw, 4.6rem);
}

h2 {
  margin-bottom: 22px;
  font-size: clamp(2.35rem, 5vw, 4.8rem);
}

h3 {
  margin-bottom: 12px;
  font-size: 1.25rem;
}

.hero__lead {
  max-width: 760px;
}

.hero__lead,
.solutions__content p,
.cta__card p,
.section-heading h2 + p {
  color: var(--muted);
  font-size: 1.08rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin: 36px 0 0;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 800;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-3px);
}

.button--primary {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: var(--on-primary);
  box-shadow: 0 18px 48px var(--primary-glow);
}

.button--secondary {
  border-color: var(--border);
  background: var(--card);
  color: var(--text);
}

.service-card,
.timeline-card,
.process-step,
.cta__card {
  border: 1px solid var(--border);
  background: linear-gradient(145deg, var(--card-a), var(--card-b));
  box-shadow: var(--shadow);
  backdrop-filter: blur(24px);
}

.trust-strip {
  border-block: 1px solid var(--border);
  background: var(--surface-faint);
  overflow: hidden;
}

.trust-strip__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px 32px;
  padding: 22px 0;
  color: var(--muted);
  font-weight: 800;
}

.section-heading {
  max-width: 780px;
  margin-bottom: 46px;
}

.service-grid,
.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.service-card,
.process-step {
  position: relative;
  overflow: hidden;
  min-height: 310px;
  padding: 30px;
  border-radius: var(--radius-md);
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.service-card::before,
.process-step::before {
  position: absolute;
  inset: auto -20% -45% 20%;
  height: 190px;
  content: "";
  background: radial-gradient(circle, var(--primary-soft), transparent 70%);
}

.service-card:hover,
.process-step:hover {
  transform: translateY(-8px);
  border-color: rgba(55, 212, 255, 0.45);
}

.service-card__icon {
  display: grid;
  width: 58px;
  height: 58px;
  margin-bottom: 28px;
  place-items: center;
  border-radius: 18px;
  background: var(--primary-soft);
  font-size: 1.6rem;
}

.service-card p,
.process-step p,
.timeline-card p {
  color: var(--muted);
}

.solutions {
  background: linear-gradient(180deg, transparent, var(--surface-faint), transparent);
}

.feature-list {
  display: grid;
  gap: 14px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.feature-list li {
  position: relative;
  padding-left: 34px;
  color: var(--muted);
}

.feature-list li::before {
  position: absolute;
  left: 0;
  top: 0.2em;
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  border-radius: 50%;
  background: rgba(57, 242, 174, 0.14);
  color: var(--success);
  content: "✓";
  font-size: 0.76rem;
  font-weight: 900;
}

.solutions__panel {
  display: grid;
  gap: 18px;
}

.timeline-card {
  padding: 24px;
  border-radius: var(--radius-md);
}

.timeline-card__number,
.process-step span {
  color: var(--primary);
  font-weight: 900;
}

.process-step span {
  display: inline-flex;
  margin-bottom: 56px;
  font-size: 0.9rem;
  letter-spacing: 0.14em;
}

.cta__card {
  padding: 56px 42px;
  border-radius: var(--radius-lg);
}

.cta__card h2 {
  max-width: 820px;
}

.contact-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px 32px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.contact-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--text);
  font-size: 0.98rem;
  overflow-wrap: anywhere;
}

.contact-list li:first-child {
  grid-column: 1 / -1;
}

.contact-list address {
  font-style: normal;
  color: var(--muted);
}

.contact-list a {
  font-weight: 700;
  transition: color 0.2s ease;
}

.contact-list__icon {
  display: grid;
  flex: none;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 12px;
  background: var(--primary-soft);
}

.contact-list__icon--telegram {
  background: rgba(38, 165, 228, 0.16);
  color: #26a5e4;
}

.contact-list__icon svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.site-footer {
  border-top: 1px solid var(--border);
}

.site-footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 28px 0;
  color: var(--muted);
}

.site-footer p {
  margin: 0;
}

.footer-brand {
  display: inline-flex;
}

.site-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 22px;
}

.site-footer a:hover,
.site-footer a:focus-visible,
.contact-list a:hover,
.contact-list a:focus-visible {
  color: var(--primary);
}

[data-animate] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

[data-animate].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes floatGlow {
  from {
    transform: translate3d(0, 0, 0) scale(1);
  }

  to {
    transform: translate3d(24px, -30px, 0) scale(1.1);
  }
}

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

@media (max-width: 920px) {
  .section-padding {
    padding: 84px 0;
  }

  .nav__toggle {
    display: block;
  }

  .nav__links {
    position: fixed;
    inset: 76px 20px auto;
    display: grid;
    padding: 18px;
    border: 1px solid var(--border);
    border-radius: 24px;
    background: var(--menu-bg);
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-12px);
    transition: opacity 0.2s ease, transform 0.2s ease;
  }

  .nav__links.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

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

  .hero {
    min-height: auto;
  }

  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .service-card,
  .process-step {
    min-height: 0;
  }

  .process-step span {
    margin-bottom: 24px;
  }
}

@media (max-width: 620px) {
  .container {
    width: min(100% - 28px, var(--container));
  }

  .site-header {
    inset: 10px 0 auto;
  }

  .brand__logo {
    height: 38px;
  }

  .section-padding {
    padding: 64px 0;
  }

  .hero {
    padding-top: 120px;
  }

  .nav {
    padding: 10px 12px;
  }

  .nav__links {
    inset: 68px 14px auto;
  }

  h2 {
    font-size: clamp(1.9rem, 9vw, 2.6rem);
    letter-spacing: -0.04em;
  }

  .hero__actions {
    margin: 28px 0;
  }

  .hero__actions .button {
    flex: 1 1 100%;
  }

  .service-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .service-card,
  .process-step {
    padding: 24px;
  }

  .service-card__icon {
    width: 50px;
    height: 50px;
    margin-bottom: 18px;
  }

  .section-heading {
    margin-bottom: 32px;
  }

  .trust-strip__inner {
    gap: 10px 20px;
    font-size: 0.9rem;
  }

  h1 {
    font-size: clamp(2rem, 9.5vw, 2.9rem);
  }

  .cta__card {
    padding: 24px;
  }

  .site-footer__inner {
    flex-direction: column;
  }

  .site-footer__links {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}
