:root {
  color-scheme: light;
  --bg: #0b0b14;
  --bg-alt: #131325;
  --surface: #17172c;
  --surface-light: #1d1d36;
  --ink: #f8f7ff;
  --muted: #c9c7ff;
  --line: rgba(255, 255, 255, 0.08);
  --accent: #ff6b2c;
  --accent-2: #6b8dff;
  --accent-3: #19d1a2;
  --shadow: 0 30px 80px rgba(3, 2, 20, 0.45);
}

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

body {
  font-family: "Space Grotesk", system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
}

h1,
h2,
h3 {
  font-family: "Syne", "Space Grotesk", sans-serif;
  font-weight: 700;
  line-height: 1.12;
}

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

img {
  max-width: 100%;
  display: block;
}

.bg {
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at 15% 10%, rgba(255, 107, 44, 0.25), transparent 45%),
    radial-gradient(circle at 80% 20%, rgba(107, 141, 255, 0.3), transparent 40%),
    radial-gradient(circle at 60% 85%, rgba(25, 209, 162, 0.3), transparent 42%),
    linear-gradient(160deg, #0b0b14 0%, #141437 40%, #1a1a3f 100%);
  z-index: -1;
}

.container {
  width: min(1120px, 90vw);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  backdrop-filter: blur(18px);
  background: rgba(11, 11, 20, 0.72);
  border-bottom: 1px solid var(--line);
  z-index: 10;
}

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-mark {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: #fff;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.brand-mark--logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand-name {
  font-size: 1.1rem;
  letter-spacing: 0.4px;
}

.brand-note {
  font-size: 0.85rem;
  color: var(--muted);
}

.nav {
  display: flex;
  gap: 18px;
  font-size: 0.95rem;
  color: var(--muted);
}

.nav a {
  padding: 6px 0;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.nav a:hover {
  color: var(--ink);
  border-color: var(--accent-2);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(107, 141, 255, 0.15);
  color: var(--muted);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 12px 30px rgba(255, 107, 44, 0.35);
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 40px rgba(255, 107, 44, 0.45);
}

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: rgba(255, 255, 255, 0.25);
  box-shadow: none;
}

.hero {
  padding: 90px 0 50px;
}

.hero-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 46px;
  align-items: center;
}

.hero-text h1 {
  font-size: clamp(2.4rem, 3.6vw, 3.6rem);
  margin: 18px 0 16px;
}

.hero-title-secondary {
  display: block;
  font-size: 0.78em;
  font-weight: 600;
  color: var(--muted);
}

.hero-title-primary {
  display: block;
  white-space: normal;
}

.lead {
  font-size: 1.1rem;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 26px 0;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  font-size: 0.9rem;
  color: var(--muted);
}

.hero-stats strong {
  color: var(--ink);
  display: block;
  margin-top: 6px;
}

.hero-visual {
  position: relative;
}

.hero-card {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.01));
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 28px;
  padding: 32px;
  box-shadow: var(--shadow);
}

.hero-card__title {
  font-size: 1.3rem;
  margin-bottom: 14px;
}

.hero-list {
  list-style: none;
  display: grid;
  gap: 10px;
  color: var(--muted);
}

.hero-list li::before {
  content: "•";
  color: var(--accent-3);
  margin-right: 10px;
}

.hero-card__accent {
  margin-top: 22px;
  padding: 16px;
  border-radius: 16px;
  background: rgba(255, 107, 44, 0.15);
  color: var(--ink);
  font-weight: 500;
}

.section {
  padding: 70px 0;
}

.section--accent {
  background: rgba(255, 255, 255, 0.04);
}

.section-head {
  margin-bottom: 28px;
}

.section-head p {
  color: var(--muted);
  margin-top: 10px;
}

#reviews .section-head {
  max-width: 820px;
  margin: 0 auto 28px;
  text-align: left;
}

.grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.grid--three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card {
  padding: 26px;
  border-radius: 22px;
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow);
}

.card p {
  color: var(--muted);
  margin-top: 10px;
}

.card--brands {
  display: flex;
  align-items: center;
}

.tech-brands {
  list-style: none;
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: 18px;
  row-gap: 2px;
}

.tech-brands__item {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 24px;
}

.tech-brands__logo {
  height: 21px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  display: block;
}

.tech-brands__logo--big {
  height: 24px;
}

.tech-brands__logo--samsung {
  height: 36px;
}

.tech-brands__logo--focus {
  height: 26px;
}

.tech-brands__logo--plus20 {
  height: 31px;
}

.split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 36px;
}

.stack {
  display: grid;
  gap: 16px;
}

.pill {
  padding: 20px 22px;
  border-radius: 20px;
  background: var(--surface-light);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.pill p {
  color: var(--muted);
  margin-top: 8px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.step {
  padding: 20px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
}

.step span {
  font-size: 0.8rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.step h3 {
  font-size: 1.1rem;
  margin: 10px 0 8px;
}

.reviews-slider {
  display: grid;
  gap: 16px;
  max-width: 820px;
  margin: 0 auto;
}

.reviews-viewport {
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: var(--surface-light);
  box-shadow: var(--shadow);
  aspect-ratio: 16 / 9;
  max-height: 420px;
}

.reviews-track {
  display: flex;
  transition: transform 0.6s ease;
  will-change: transform;
}

.review-slide {
  min-width: 100%;
  margin: 0;
  padding: 12px;
}

.review-slide img {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 16px;
  background: #fff;
  object-fit: contain;
}

.reviews-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.reviews-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.2);
  cursor: pointer;
  padding: 0;
}

.reviews-dot.is-active {
  background: var(--accent-2);
  border-color: var(--accent-2);
  box-shadow: 0 0 0 4px rgba(107, 141, 255, 0.18);
}

.section--cta {
  background: linear-gradient(135deg, rgba(255, 107, 44, 0.18), rgba(107, 141, 255, 0.2));
}

.section--map {
  background: rgba(255, 255, 255, 0.02);
}

.map {
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow);
}

.map-photo {
  margin-top: 16px;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow);
  background: #0f0f22;
}

.map-photo img {
  width: 100%;
  display: block;
  height: auto;
}

.cta-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 32px;
  align-items: start;
}

.cta-tag {
  display: inline-flex;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(25, 209, 162, 0.16);
  color: var(--muted);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
}

.bonus {
  font-weight: 600;
  margin-top: 12px;
  color: var(--ink);
}

.contact-mini {
  margin-top: 24px;
  display: grid;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--muted);
}

.contact-mini strong {
  color: var(--ink);
  display: block;
  margin-top: 4px;
}

.form {
  background: #0f0f22;
  border-radius: 24px;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow);
  display: grid;
  gap: 16px;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.form-actions .btn {
  flex: 1 1 140px;
}

label {
  display: grid;
  gap: 8px;
  font-size: 0.95rem;
  color: var(--muted);
}

input,
select,
textarea {
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 12px 14px;
  font-size: 0.95rem;
  font-family: inherit;
  background: rgba(255, 255, 255, 0.04);
  color: var(--ink);
}

input:focus,
select:focus,
textarea:focus {
  outline: 2px solid rgba(107, 141, 255, 0.4);
  border-color: var(--accent-2);
}

.form-note {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.6);
}

.site-footer {
  padding: 40px 0 60px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.footer-row {
  display: flex;
  justify-content: space-between;
  gap: 24px;
}

.footer-contacts {
  display: grid;
  gap: 6px;
  font-size: 0.95rem;
}

.footer-contacts a {
  color: var(--ink);
  font-weight: 600;
}

.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: none;
  background: var(--accent-2);
  color: #fff;
  font-size: 1.2rem;
  font-weight: 700;
  cursor: pointer;
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 12px 30px rgba(107, 141, 255, 0.35);
  z-index: 20;
}

.back-to-top.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.back-to-top:hover {
  box-shadow: 0 16px 40px rgba(107, 141, 255, 0.45);
}

@media (max-width: 980px) {
  .header-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav {
    flex-wrap: wrap;
  }

  .hero-grid,
  .split,
  .grid,
  .steps,
  .reviews,
  .cta-grid {
    grid-template-columns: 1fr;
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }

  .footer-row {
    flex-direction: column;
  }

  .tech-brands {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .hero {
    padding-top: 70px;
  }

  .btn {
    width: 100%;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .tech-brands {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
