:root {
  --bg-0: #07070d;
  --bg-1: #0f1020;
  --bg-2: #171931;
  --surface-0: #121427;
  --surface-1: #1a1d36;
  --surface-2: #21254a;
  --line: #313660;
  --text: #f3f5ff;
  --text-soft: #c2c8df;
  --text-dim: #99a1c2;
  --brand: #8e4dff;
  --brand-strong: #7338dc;
  --brand-soft: #c9a5ff;
  --ok: #2ed9a0;
  --radius-s: 10px;
  --radius-m: 16px;
  --radius-l: 24px;
  --shadow-s: 0 6px 18px rgba(7, 7, 13, 0.35);
  --shadow-m: 0 18px 48px rgba(8, 8, 18, 0.55);
  --container: 1160px;
  --header-h: 78px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Manrope", "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(900px 500px at 95% -10%, rgba(142, 77, 255, 0.24), transparent 60%),
    radial-gradient(700px 420px at -15% 20%, rgba(115, 56, 220, 0.2), transparent 62%),
    linear-gradient(180deg, #090912 0%, #0a0b14 40%, #090b14 100%);
  line-height: 1.6;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

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

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

.skip-link {
  position: absolute;
  left: 0.8rem;
  top: -120px;
  z-index: 1300;
  background: #ffffff;
  color: #090912;
  padding: 0.65rem 0.9rem;
  border-radius: 10px;
  font-weight: 700;
  box-shadow: var(--shadow-s);
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 0.8rem;
}

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

.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(12px);
  background: rgba(7, 7, 13, 0.72);
  border-bottom: 1px solid rgba(201, 165, 255, 0.12);
}

.nav {
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.nav__logo {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}

.nav__logo-img {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  object-fit: cover;
  border: 1px solid rgba(201, 165, 255, 0.26);
  box-shadow: 0 0 0 3px rgba(142, 77, 255, 0.16);
}

.nav__logo-text {
  font-family: "Space Grotesk", "Manrope", sans-serif;
  font-size: 1.08rem;
  letter-spacing: 0.03em;
  font-weight: 700;
  color: var(--text);
}

.nav__toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(201, 165, 255, 0.2);
  border-radius: 12px;
  background: rgba(27, 30, 56, 0.65);
  color: var(--text);
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.nav__toggle-icon,
.nav__toggle-icon::before,
.nav__toggle-icon::after {
  content: "";
  position: absolute;
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: var(--text);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav__toggle-icon {
  position: relative;
}

.nav__toggle-icon::before {
  transform: translateY(-6px);
}

.nav__toggle-icon::after {
  transform: translateY(6px);
}

.nav__toggle[aria-expanded="true"] .nav__toggle-icon {
  background: transparent;
}

.nav__toggle[aria-expanded="true"] .nav__toggle-icon::before {
  transform: rotate(45deg);
}

.nav__toggle[aria-expanded="true"] .nav__toggle-icon::after {
  transform: rotate(-45deg);
}

.nav__menu {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
}

.nav__link {
  color: var(--text-soft);
  font-weight: 600;
  padding: 0.62rem 0.9rem;
  border-radius: 10px;
  transition: background 0.2s ease, color 0.2s ease;
}

.nav__link:hover,
.nav__link:focus-visible {
  background: rgba(142, 77, 255, 0.17);
  color: var(--text);
}

main section {
  padding-block: clamp(4rem, 6vw, 6.5rem);
}

.section-header {
  max-width: 700px;
  margin-inline: auto;
  text-align: center;
  margin-bottom: 2.75rem;
}

.section-header--left {
  margin-inline: 0;
  text-align: left;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--brand-soft);
}

.section-tag::before {
  content: "";
  width: 18px;
  height: 2px;
  background: var(--brand);
  border-radius: 99px;
}

.section-title {
  margin: 0;
  font-family: "Space Grotesk", "Manrope", sans-serif;
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.section-subtitle {
  margin-top: 0.9rem;
  color: var(--text-soft);
  font-size: clamp(1rem, 2.2vw, 1.15rem);
}

.hero {
  position: relative;
  min-height: calc(100dvh - var(--header-h));
  display: grid;
  align-items: center;
}

.hero__content {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(1.5rem, 3vw, 3.5rem);
  align-items: center;
}

.hero__badge {
  display: inline-flex;
  padding: 0.4rem 0.78rem;
  border-radius: 999px;
  border: 1px solid rgba(201, 165, 255, 0.35);
  background: rgba(142, 77, 255, 0.14);
  color: var(--brand-soft);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.hero__title {
  margin: 1rem 0 1rem;
  font-family: "Space Grotesk", "Manrope", sans-serif;
  font-size: clamp(2.1rem, 6vw, 4rem);
  line-height: 1.05;
}

.hero__highlight {
  color: var(--brand-soft);
  text-shadow: 0 0 24px rgba(142, 77, 255, 0.35);
}

.hero__description {
  color: var(--text-soft);
  max-width: 58ch;
  margin-bottom: 1.8rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.84rem 1.15rem;
  min-width: 180px;
  border-radius: 12px;
  font-weight: 700;
  letter-spacing: 0.01em;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.btn--primary {
  background: linear-gradient(180deg, var(--brand) 0%, var(--brand-strong) 100%);
  color: #ffffff;
  box-shadow: 0 10px 24px rgba(115, 56, 220, 0.35);
}

.btn--primary:hover,
.btn--primary:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(115, 56, 220, 0.45);
}

.btn--outline {
  border: 1px solid rgba(201, 165, 255, 0.4);
  background: rgba(33, 37, 74, 0.35);
  color: var(--text);
}

.btn--outline:hover,
.btn--outline:focus-visible {
  background: rgba(142, 77, 255, 0.18);
  transform: translateY(-2px);
}

.btn--large {
  min-width: 220px;
  padding: 0.95rem 1.35rem;
}

.hero__trust {
  margin-top: 1.8rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(110px, 1fr));
  gap: 0.9rem;
}

.trust-item {
  border: 1px solid rgba(153, 161, 194, 0.2);
  background: linear-gradient(180deg, rgba(29, 32, 61, 0.8) 0%, rgba(20, 23, 45, 0.9) 100%);
  border-radius: 12px;
  padding: 0.8rem;
  text-align: center;
}

.trust-number {
  display: block;
  font-family: "Space Grotesk", "Manrope", sans-serif;
  font-size: 1.7rem;
  line-height: 1;
  color: var(--brand-soft);
  font-weight: 700;
}

.trust-label {
  display: block;
  margin-top: 0.45rem;
  color: var(--text-dim);
  font-size: 0.82rem;
}

.hero__visual {
  position: relative;
  display: grid;
  place-items: center;
}

.hero__logo {
  width: min(500px, 100%);
  border-radius: 24px;
  border: 1px solid rgba(201, 165, 255, 0.22);
  box-shadow: var(--shadow-m);
}

.hero__orb {
  position: absolute;
  filter: blur(42px);
  pointer-events: none;
}

.hero__orb--1 {
  width: 220px;
  height: 220px;
  background: rgba(142, 77, 255, 0.3);
  top: 4%;
  right: -8%;
}

.hero__orb--2 {
  width: 200px;
  height: 200px;
  background: rgba(52, 101, 255, 0.24);
  left: -6%;
  bottom: 2%;
}

.hero__orb--3 {
  width: 120px;
  height: 120px;
  background: rgba(201, 165, 255, 0.38);
  top: 38%;
  left: 6%;
}

.hero__scroll {
  position: absolute;
  left: 50%;
  bottom: 1rem;
  transform: translateX(-50%);
  color: var(--text-dim);
  display: grid;
  justify-items: center;
  gap: 0.3rem;
}

.hero__scroll-text {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hero__scroll-icon {
  width: 18px;
  animation: jump 1.8s ease-in-out infinite;
}

@keyframes jump {
  0%,
  100% { transform: translateY(0); }
  50% { transform: translateY(5px); }
}

.services {
  background: linear-gradient(180deg, rgba(15, 16, 32, 0.35) 0%, rgba(15, 16, 32, 0.75) 100%);
  border-top: 1px solid rgba(153, 161, 194, 0.16);
  border-bottom: 1px solid rgba(153, 161, 194, 0.16);
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.service-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(201, 165, 255, 0.18);
  border-radius: var(--radius-m);
  background: linear-gradient(180deg, rgba(29, 32, 62, 0.85) 0%, rgba(21, 24, 48, 0.95) 100%);
  padding: 1.35rem;
  box-shadow: var(--shadow-s);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  border-color: rgba(201, 165, 255, 0.42);
  box-shadow: 0 18px 30px rgba(10, 10, 20, 0.45);
}

.service-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(142, 77, 255, 0.14);
  border: 1px solid rgba(201, 165, 255, 0.24);
  color: var(--brand-soft);
}

.service-card__icon svg {
  width: 24px;
  height: 24px;
}

.service-card__title {
  margin-top: 1rem;
  margin-bottom: 0.7rem;
  font-family: "Space Grotesk", "Manrope", sans-serif;
  font-size: 1.24rem;
  line-height: 1.25;
}

.service-card__description {
  color: var(--text-soft);
  font-size: 0.96rem;
}

.service-card__features {
  list-style: none;
  margin-top: 1rem;
  margin-bottom: 1.1rem;
  padding: 0;
  display: grid;
  gap: 0.45rem;
}

.service-card__features li {
  color: var(--text-dim);
  font-size: 0.91rem;
  position: relative;
  padding-left: 1.2rem;
}

.service-card__features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.54rem;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ok);
}

.service-card__link {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 700;
  color: var(--brand-soft);
}

.about__content {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 1.4rem;
  align-items: start;
}

.about__story p {
  color: var(--text-soft);
}

.about__story p + p {
  margin-top: 0.9rem;
}

.about__values {
  margin-top: 1.3rem;
  display: grid;
  gap: 0.75rem;
}

.value {
  border: 1px solid rgba(153, 161, 194, 0.19);
  background: rgba(23, 25, 49, 0.6);
  border-radius: 14px;
  padding: 0.9rem 1rem;
}

.value__icon {
  width: 36px;
  height: 36px;
  color: var(--brand-soft);
}

.value__icon svg {
  width: 100%;
  height: 100%;
}

.value__title {
  margin-top: 0.5rem;
  margin-bottom: 0.2rem;
  font-size: 1.04rem;
}

.value__desc {
  font-size: 0.92rem;
  color: var(--text-dim);
}

.about__visual {
  border: 1px solid rgba(201, 165, 255, 0.2);
  background: linear-gradient(180deg, rgba(29, 32, 62, 0.72) 0%, rgba(17, 20, 39, 0.92) 100%);
  border-radius: var(--radius-l);
  padding: 1rem;
}

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

.stat {
  border: 1px solid rgba(153, 161, 194, 0.2);
  border-radius: 12px;
  padding: 0.8rem;
  background: rgba(14, 16, 30, 0.62);
}

.stat__number {
  display: block;
  font-family: "Space Grotesk", "Manrope", sans-serif;
  font-size: 1.45rem;
  color: var(--brand-soft);
  line-height: 1;
  font-weight: 700;
}

.stat__label {
  display: block;
  margin-top: 0.35rem;
  color: var(--text-dim);
  font-size: 0.85rem;
}

.about__tech {
  margin-top: 0.95rem;
}

.about__tech-label {
  display: inline-block;
  font-size: 0.79rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--brand-soft);
  margin-bottom: 0.55rem;
}

.tech-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.tech-badge {
  border: 1px solid rgba(201, 165, 255, 0.23);
  background: rgba(142, 77, 255, 0.09);
  color: var(--text-soft);
  border-radius: 999px;
  padding: 0.36rem 0.7rem;
  font-size: 0.78rem;
  font-weight: 600;
}

.contact {
  background: linear-gradient(180deg, rgba(11, 12, 23, 0.45) 0%, rgba(12, 13, 25, 0.8) 100%);
  border-top: 1px solid rgba(153, 161, 194, 0.15);
}

.contact__grid {
  display: grid;
  grid-template-columns: 1fr 0.92fr;
  gap: 1.2rem;
}

.contact__info {
  border: 1px solid rgba(153, 161, 194, 0.2);
  border-radius: var(--radius-m);
  padding: 1.2rem;
  background: rgba(18, 20, 39, 0.7);
}

.contact__title {
  margin: 0;
  font-family: "Space Grotesk", "Manrope", sans-serif;
  font-size: 1.3rem;
}

.contact__description {
  margin-top: 0.55rem;
  color: var(--text-soft);
}

.contact__methods {
  list-style: none;
  margin-top: 0.9rem;
  display: grid;
  gap: 0.6rem;
}

.contact-method {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.75rem;
  align-items: start;
  border: 1px solid rgba(153, 161, 194, 0.18);
  border-radius: 12px;
  padding: 0.68rem;
  background: rgba(13, 15, 29, 0.55);
}

.contact-method__icon {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  color: var(--brand-soft);
  background: rgba(142, 77, 255, 0.13);
  border: 1px solid rgba(201, 165, 255, 0.22);
}

.contact-method__icon svg {
  width: 18px;
  height: 18px;
}

.contact-method__label {
  margin: 0;
  font-size: 0.92rem;
}

.contact-method__value {
  margin-top: 0.18rem;
  font-size: 0.9rem;
  color: var(--text-soft);
  font-style: normal;
}

.contact-method__content a {
  color: var(--brand-soft);
  font-weight: 600;
}

.is-hidden {
  display: none !important;
}

.contact-method__content a:hover {
  color: #e7dbff;
}

.contact__cta {
  display: grid;
}

.cta-card {
  border: 1px solid rgba(201, 165, 255, 0.26);
  border-radius: var(--radius-m);
  padding: 1.3rem;
  background:
    radial-gradient(560px 200px at 70% -50%, rgba(142, 77, 255, 0.26), transparent 70%),
    rgba(18, 20, 39, 0.9);
  box-shadow: var(--shadow-s);
  align-self: stretch;
}

.cta-card__icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: var(--brand-soft);
  border: 1px solid rgba(201, 165, 255, 0.26);
  background: rgba(142, 77, 255, 0.12);
}

.cta-card__icon svg {
  width: 22px;
  height: 22px;
}

.cta-card__title {
  margin-top: 0.8rem;
  margin-bottom: 0.42rem;
  font-family: "Space Grotesk", "Manrope", sans-serif;
  font-size: 1.36rem;
}

.cta-card__description {
  margin-bottom: 1rem;
  color: var(--text-soft);
}

.cta-card__note {
  margin-top: 0.62rem;
  font-size: 0.82rem;
  color: var(--text-dim);
}

.footer {
  border-top: 1px solid rgba(153, 161, 194, 0.14);
  padding-block: 2.2rem 1.2rem;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1.4rem;
}

.footer__brand {
  max-width: 420px;
}

.footer__logo {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
}

.footer__logo-img {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid rgba(201, 165, 255, 0.25);
}

.footer__logo-text {
  font-family: "Space Grotesk", "Manrope", sans-serif;
  font-weight: 700;
}

.footer__tagline {
  margin-top: 0.5rem;
  color: var(--text-dim);
}

.footer__social {
  margin-top: 0.8rem;
  display: flex;
  gap: 0.5rem;
}

.footer__social-link {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid rgba(153, 161, 194, 0.2);
  color: var(--text-soft);
  display: grid;
  place-items: center;
  background: rgba(20, 23, 45, 0.76);
}

.footer__social-link:hover {
  border-color: rgba(201, 165, 255, 0.4);
  color: #ffffff;
  background: rgba(142, 77, 255, 0.16);
}

.footer__social-link svg {
  width: 18px;
  height: 18px;
}

.footer__nav {
  display: grid;
  grid-template-columns: repeat(3, minmax(130px, 1fr));
  gap: 0.9rem;
}

.footer__nav-title {
  margin: 0;
  margin-bottom: 0.4rem;
  font-size: 0.92rem;
  color: var(--text);
}

.footer__nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.2rem;
}

.footer__nav-link {
  font-size: 0.88rem;
  color: var(--text-dim);
}

.footer__nav-link:hover {
  color: var(--text);
}

.footer__bottom {
  margin-top: 1.3rem;
  padding-top: 0.9rem;
  border-top: 1px solid rgba(153, 161, 194, 0.16);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.footer__copyright,
.footer__made {
  margin: 0;
  color: var(--text-dim);
  font-size: 0.82rem;
}

.footer__made span {
  color: var(--brand-soft);
}

/* Reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* Accessibility */
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--brand-soft);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

/* Responsive */
@media (max-width: 1050px) {
  .hero__content,
  .about__content,
  .contact__grid {
    grid-template-columns: 1fr;
  }

  .hero__visual {
    order: -1;
  }

  .hero__logo {
    width: min(480px, 86vw);
  }

  .about__visual {
    margin-top: 0.2rem;
  }
}

@media (max-width: 900px) {
  .services__grid {
    grid-template-columns: 1fr;
  }

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

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

@media (max-width: 760px) {
  :root {
    --header-h: 70px;
  }

  .nav__toggle {
    display: inline-flex;
    position: relative;
  }

  .nav__menu {
    position: fixed;
    right: 1rem;
    top: calc(var(--header-h) + 0.55rem);
    width: min(280px, calc(100vw - 2rem));
    border: 1px solid rgba(201, 165, 255, 0.22);
    border-radius: 14px;
    background: rgba(15, 16, 32, 0.97);
    box-shadow: var(--shadow-m);
    padding: 0.5rem;
    display: grid;
    gap: 0.2rem;
    transform-origin: top right;
    transform: scale(0.94);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.2s ease, opacity 0.2s ease;
  }

  .nav__menu.is-open {
    transform: scale(1);
    opacity: 1;
    pointer-events: auto;
  }

  .nav__link {
    display: block;
    width: 100%;
  }

  .hero__title {
    font-size: clamp(1.9rem, 9.5vw, 2.8rem);
  }

  .hero__description {
    font-size: 0.97rem;
  }

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

  .section-header {
    text-align: left;
    margin-bottom: 1.9rem;
  }

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

  .footer__bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}
