:root {
  --bg0: #080c16;
  --bg1: #060913;
  --bg2: #03050a;

  --surface: #121a2b;
  --surface2: #1a2436;
  --text: #ecf2ff;
  --muted: #b0bcd4;
  --muted2: #7f8ba4;
  --brand: #58a6ff;

  --border: rgba(255, 255, 255, 0.08);
  --shadow: rgba(0, 0, 0, 0.35);
  --shadow2: rgba(0, 0, 0, 0.55);

  --r-sm: 12px;
  --r-md: 16px;
  --r-lg: 22px;
  --r-xl: 28px;

  --wrap: 1120px;
}

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

html,
body {
  height: 100%;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: radial-gradient(1200px 900px at 12% 10%, rgba(88, 166, 255, 0.22), transparent 55%),
    radial-gradient(900px 700px at 88% 16%, rgba(88, 166, 255, 0.12), transparent 45%),
    linear-gradient(135deg, rgba(5, 9, 19, 1), rgba(3, 5, 10, 1));
  font-family: "IBM Plex Sans", ui-sans-serif, system-ui, -apple-system, Segoe UI, sans-serif;
  letter-spacing: -0.01em;
  overflow-x: hidden;
}

.skip {
  position: absolute;
  left: 10px;
  top: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(18, 26, 43, 0.85);
  border: 1px solid var(--border);
  color: var(--text);
  text-decoration: none;
  transform: translateY(-140%);
  transition: transform 160ms ease-out;
  z-index: 9999;
}
.skip:focus {
  transform: translateY(0);
  outline: none;
  box-shadow: 0 0 0 4px rgba(88, 166, 255, 0.25);
}

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

.bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
}
.bg__mesh {
  position: absolute;
  inset: -20%;
  background: radial-gradient(800px 500px at 18% 22%, rgba(88, 166, 255, 0.22), transparent 65%),
    radial-gradient(900px 600px at 76% 62%, rgba(88, 166, 255, 0.12), transparent 60%),
    radial-gradient(700px 420px at 60% 10%, rgba(255, 255, 255, 0.06), transparent 55%);
  filter: blur(2px);
  opacity: 0.95;
}
.bg__grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(to right, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(60% 55% at 50% 20%, rgba(0, 0, 0, 0.85), transparent 70%);
  opacity: 0.65;
}
.bg__grain {
  position: absolute;
  inset: -50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='.45'/%3E%3C/svg%3E");
  opacity: 0.08;
  transform: rotate(12deg);
  mix-blend-mode: overlay;
}

.top {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(12px);
  background: rgba(5, 9, 19, 0.6);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.top__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text);
  min-width: 240px;
}
.brand__icon {
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}
.brand__text {
  display: grid;
  gap: 2px;
}
.brand__name {
  font-family: "M PLUS Rounded 1c", ui-rounded, system-ui, -apple-system, sans-serif;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.05;
  font-size: 15px;
}
.brand__tag {
  color: var(--muted2);
  font-size: 12px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.nav__link {
  color: var(--muted);
  text-decoration: none;
  font-size: 13px;
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: transform 160ms ease-out, background 160ms ease-out, border-color 160ms ease-out, color 160ms ease-out;
}
.nav__link:hover {
  color: var(--text);
  background: rgba(18, 26, 43, 0.65);
  border-color: var(--border);
  transform: translateY(-1px);
}
.nav__link:focus-visible {
  outline: none;
  box-shadow: 0 0 0 4px rgba(88, 166, 255, 0.22);
}

.hero {
  padding: 52px 0 30px;
}
.hero__inner {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 36px;
  align-items: center;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 999px;
  background: rgba(18, 26, 43, 0.62);
  border: 1px solid var(--border);
  color: var(--muted);
  font-size: 13px;
}
.pill__dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: radial-gradient(circle at 35% 30%, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.15)),
    linear-gradient(135deg, rgba(88, 166, 255, 1), rgba(88, 166, 255, 0.4));
  box-shadow: 0 0 0 5px rgba(88, 166, 255, 0.12);
}

.h1 {
  font-family: "M PLUS Rounded 1c", ui-rounded, system-ui, -apple-system, sans-serif;
  font-weight: 800;
  margin: 14px 0 10px;
  font-size: clamp(34px, 5.2vw, 56px);
  line-height: 1.03;
  letter-spacing: -0.03em;
}
.lead {
  margin: 0 0 18px;
  font-size: 18px;
  line-height: 1.45;
  color: var(--muted);
  max-width: 52ch;
}

.cta {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid transparent;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  user-select: none;
  transition: transform 160ms ease-out, box-shadow 160ms ease-out, background 160ms ease-out, border-color 160ms ease-out,
    color 160ms ease-out;
  will-change: transform;
}
.btn:focus-visible {
  outline: none;
  box-shadow: 0 0 0 4px rgba(88, 166, 255, 0.26);
}
.btn--primary {
  color: #051022;
  background: linear-gradient(135deg, rgba(88, 166, 255, 1), rgba(88, 166, 255, 0.84));
  border-color: rgba(88, 166, 255, 0.55);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
  overflow: hidden;
}
.btn--primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 22px 52px rgba(0, 0, 0, 0.45);
}
.btn__shine {
  position: absolute;
  inset: -40%;
  background: radial-gradient(closest-side, rgba(255, 255, 255, 0.55), transparent 60%);
  transform: translateX(-40%) translateY(-10%) rotate(18deg);
  opacity: 0.0;
  transition: opacity 180ms ease-out;
}
.btn--primary:hover .btn__shine {
  opacity: 0.35;
}
.btn--ghost {
  color: var(--text);
  background: rgba(18, 26, 43, 0.55);
  border-color: var(--border);
}
.btn--ghost:hover {
  transform: translateY(-1px);
  background: rgba(26, 36, 54, 0.55);
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}
.chip {
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(18, 26, 43, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.07);
  color: var(--muted);
  font-size: 12px;
}
.micro {
  margin-top: 12px;
  color: var(--muted2);
  font-size: 13px;
  line-height: 1.5;
  max-width: 72ch;
}

.hero__visual {
  position: relative;
  min-height: 560px;
}
.phones {
  position: relative;
  height: 520px;
  perspective: 1100px;
}
.phone {
  position: absolute;
  margin: 0;
  width: 68%;
  border-radius: 26px;
  background: rgba(18, 26, 43, 0.42);
  border: 1px solid rgba(255, 255, 255, 0.09);
  overflow: hidden;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.55);
  transform-origin: center;
  will-change: transform;
}
.phone img {
  width: 100%;
  height: auto;
  display: block;
}
.phone--a {
  left: 10%;
  top: 0%;
  transform: rotateY(-8deg) rotateZ(-6deg) translateZ(0);
}
.phone--b {
  left: 32%;
  top: 7%;
  transform: rotateY(10deg) rotateZ(4deg) translateZ(0);
  opacity: 0.92;
}
.phone--c {
  left: 16%;
  top: 28%;
  transform: rotateY(6deg) rotateZ(10deg) translateZ(0);
  opacity: 0.88;
}
.phone--d {
  left: 40%;
  top: 32%;
  transform: rotateY(-10deg) rotateZ(-2deg) translateZ(0);
  opacity: 0.86;
}

.logoCard {
  position: absolute;
  right: 12px;
  bottom: -12px;
  padding: 14px 16px;
  width: 184px;
  border-radius: 18px;
  background: rgba(18, 26, 43, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.09);
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.45);
  transform: rotateZ(3deg);
}
.logoCard img {
  width: 100%;
  height: auto;
  display: block;
  opacity: 0.95;
}

.shots {
  padding: 10px 0 40px;
}
.shots__rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(240px, 1fr);
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 10px 2px 18px;
  scrollbar-width: none;
}
.shots__rail::-webkit-scrollbar {
  display: none;
}
.shots__item {
  scroll-snap-align: start;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
  background: rgba(18, 26, 43, 0.35);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.35);
}
.shots__item img {
  width: 100%;
  height: auto;
  display: block;
}
.shots__hint {
  color: var(--muted2);
  font-size: 12px;
  margin-top: 6px;
  opacity: 0.7;
}

.section {
  padding: 56px 0;
}
.section__head {
  display: grid;
  gap: 8px;
  margin-bottom: 22px;
}
.h2 {
  font-family: "M PLUS Rounded 1c", ui-rounded, system-ui, -apple-system, sans-serif;
  font-weight: 800;
  margin: 0;
  font-size: clamp(24px, 3.2vw, 34px);
  letter-spacing: -0.02em;
}
.h3 {
  font-family: "M PLUS Rounded 1c", ui-rounded, system-ui, -apple-system, sans-serif;
  font-weight: 800;
  margin: 0 0 10px;
  font-size: 18px;
}
.sub {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
  max-width: 72ch;
}

.grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 14px;
}
.card {
  grid-column: span 4;
  background: rgba(18, 26, 43, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: var(--r-xl);
  padding: 18px 18px 16px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
  position: relative;
  overflow: hidden;
  transition: transform 180ms ease-out, border-color 180ms ease-out, background 180ms ease-out;
}
.card::before {
  content: "";
  position: absolute;
  inset: -40%;
  background: radial-gradient(closest-side, rgba(88, 166, 255, 0.16), transparent 60%);
  transform: translateX(-30%) translateY(-20%) rotate(18deg);
  opacity: 0.35;
  pointer-events: none;
}
.card:hover {
  transform: translateY(-3px);
  background: rgba(18, 26, 43, 0.72);
  border-color: rgba(88, 166, 255, 0.25);
}
.card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  position: relative;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid rgba(88, 166, 255, 0.26);
  background: rgba(88, 166, 255, 0.12);
  color: rgba(236, 242, 255, 0.95);
  font-weight: 600;
  font-size: 13px;
}
.list {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.55;
  position: relative;
}
.list li + li {
  margin-top: 8px;
}

.section--split {
  padding-top: 26px;
}
.split {
  display: grid;
  grid-template-columns: 1fr 0.92fr;
  gap: 18px;
  align-items: start;
}
.callout {
  margin-top: 16px;
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 12px;
  padding: 14px 14px;
  border-radius: var(--r-lg);
  background: rgba(18, 26, 43, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.callout__icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-weight: 800;
  color: rgba(5, 9, 19, 1);
  background: linear-gradient(135deg, rgba(88, 166, 255, 1), rgba(88, 166, 255, 0.75));
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
}
.callout__title {
  font-weight: 700;
  margin-bottom: 2px;
}
.callout__text {
  color: var(--muted);
}

.glass {
  border-radius: var(--r-xl);
  background: rgba(18, 26, 43, 0.58);
  border: 1px solid rgba(255, 255, 255, 0.09);
  box-shadow: 0 22px 90px rgba(0, 0, 0, 0.35);
  padding: 18px 18px;
}
.p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}
.links {
  margin-top: 12px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.link {
  color: rgba(88, 166, 255, 0.95);
  text-decoration: none;
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid rgba(88, 166, 255, 0.22);
  background: rgba(88, 166, 255, 0.08);
  transition: transform 160ms ease-out, background 160ms ease-out, border-color 160ms ease-out;
}
.link:hover {
  transform: translateY(-1px);
  background: rgba(88, 166, 255, 0.12);
  border-color: rgba(88, 166, 255, 0.32);
}
.link:focus-visible {
  outline: none;
  box-shadow: 0 0 0 4px rgba(88, 166, 255, 0.22);
}

.section--footer {
  padding: 34px 0 54px;
}
.foot {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 22px;
}
.foot__brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.foot__brand img {
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.foot__name {
  font-family: "M PLUS Rounded 1c", ui-rounded, system-ui, -apple-system, sans-serif;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.foot__tag {
  color: var(--muted2);
  font-size: 12px;
}
.foot__right {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.reveal {
  opacity: 0;
  transform: translateY(10px);
  filter: blur(4px);
  transition: opacity 520ms ease-out, transform 520ms ease-out, filter 520ms ease-out;
  transition-delay: var(--d, 0ms);
}
.is-ready .reveal {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

.inView {
  opacity: 1;
  transform: none;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%) translateY(18px);
  min-width: min(520px, calc(100% - 28px));
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(18, 26, 43, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text);
  box-shadow: 0 20px 90px rgba(0, 0, 0, 0.6);
  opacity: 0;
  pointer-events: none;
  transition: opacity 200ms ease-out, transform 200ms ease-out;
  backdrop-filter: blur(10px);
}
.toast.is-on {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

@media (max-width: 980px) {
  .hero__inner {
    grid-template-columns: 1fr;
  }
  .hero__visual {
    min-height: 420px;
  }
  .phones {
    height: 400px;
  }
  .phone {
    width: 74%;
  }
  .logoCard {
    display: none;
  }
  .grid {
    gap: 12px;
  }
  .card {
    grid-column: span 6;
  }
  .split {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .top__inner {
    padding: 12px 0;
  }
  .brand__text {
    display: none;
  }
  .nav__link {
    padding: 8px 9px;
  }
  .hero {
    padding-top: 36px;
  }
  .lead {
    font-size: 16px;
  }
  .hero__visual {
    min-height: 360px;
  }
  .phones {
    height: 340px;
  }
  .phone {
    width: 80%;
  }
  .phone--a {
    left: 0%;
  }
  .phone--b {
    left: 18%;
  }
  .phone--c {
    left: 6%;
  }
  .phone--d {
    left: 22%;
  }
  .card {
    grid-column: span 12;
  }
  .foot {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .reveal {
    transition: none;
    opacity: 1;
    transform: none;
    filter: none;
  }
  .btn,
  .nav__link,
  .link,
  .card {
    transition: none;
  }
  .toast {
    transition: none;
  }
}

