:root {
  --ink: #090b10;
  --muted: #5d6677;
  --paper: #f6f7fb;
  --line: rgba(10, 14, 22, 0.1);
  --blue: #1376ff;
  --cyan: #10d1e5;
  --green: #13b981;
  --card: #ffffff;
  --night: #070913;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
}

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

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

.site-header {
  position: fixed;
  z-index: 20;
  top: 16px;
  left: 50%;
  width: min(1240px, calc(100% - 32px));
  height: 64px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 10px 12px 10px 18px;
  color: #fff;
  background: rgba(7, 9, 19, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  backdrop-filter: blur(20px);
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.site-header.is-scrolled {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.86);
  border-color: rgba(10, 14, 22, 0.1);
}

.brand,
.nav,
.hero-actions,
.price-row,
.footer {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 800;
}

.brand-mark {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--green));
  border-radius: 8px;
}

.nav {
  gap: 24px;
  font-size: 14px;
  font-weight: 600;
}

.header-action,
.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 0;
  border-radius: 8px;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.header-action {
  color: #fff;
  background: var(--blue);
}

.button-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--blue), #00a783);
}

.button-ghost {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.32);
}

.button-dark {
  width: 100%;
  color: #fff;
  background: var(--ink);
}

.telegram-button {
  width: 100%;
  color: #fff;
  background: #229ed9;
}

.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  align-items: center;
  gap: 36px;
  padding: 118px max(24px, calc((100vw - 1240px) / 2)) 64px;
  color: #fff;
  background:
    radial-gradient(circle at 80% 40%, rgba(19, 118, 255, 0.45), transparent 28%),
    linear-gradient(135deg, #06080f 0%, #111827 46%, #0b3e4c 100%);
  overflow: hidden;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--cyan);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  max-width: 700px;
  margin-bottom: 22px;
  font-size: clamp(52px, 8vw, 98px);
  line-height: 0.92;
  letter-spacing: 0;
}

.hero-text {
  max-width: 540px;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 20px;
  line-height: 1.55;
}

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

.hero-stage {
  position: relative;
  min-height: 640px;
  display: grid;
  place-items: center;
  perspective: 1200px;
}

.hero-phone {
  position: relative;
  z-index: 2;
  width: min(560px, 90%);
  filter: drop-shadow(0 46px 72px rgba(0, 0, 0, 0.42));
  animation: floatPhone 6s ease-in-out infinite, heroGlow 4.8s ease-in-out infinite;
  transform-origin: center;
}

.orbital {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
}

.orbital-one {
  width: 78%;
  aspect-ratio: 1;
  animation: orbitOne 14s linear infinite;
}

.orbital-two {
  width: 56%;
  aspect-ratio: 1;
  animation: orbitTwo 18s linear infinite reverse;
}

.hero-badge {
  position: absolute;
  z-index: 3;
  right: 18px;
  bottom: 90px;
  min-width: 220px;
  padding: 18px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.9);
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.18);
  animation: badgePulse 4s ease-in-out infinite;
}

.hero-badge span,
.price-row span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.hero-badge strong {
  display: block;
  margin-top: 4px;
  font-size: 22px;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin: -34px auto 0;
  width: min(1180px, calc(100% - 32px));
  position: relative;
  z-index: 4;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.trust-strip div {
  min-height: 96px;
  padding: 22px;
  background: #fff;
}

.trust-strip strong,
.trust-strip span {
  display: block;
}

.trust-strip strong {
  margin-bottom: 7px;
  font-size: 18px;
}

.trust-strip span {
  color: var(--muted);
}

.section {
  padding: 96px max(24px, calc((100vw - 1240px) / 2));
}

.section-head {
  max-width: 680px;
  margin-bottom: 34px;
}

.section h2,
.order-section h2 {
  margin-bottom: 14px;
  font-size: clamp(34px, 5vw, 62px);
  line-height: 1;
  letter-spacing: 0;
}

.section-head p,
.experience-copy p,
.order-section p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}

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

.product-card {
  display: flex;
  min-height: 680px;
  flex-direction: column;
  overflow: hidden;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 50px rgba(31, 41, 55, 0.08);
}

.product-card.featured {
  background: #10141e;
  color: #fff;
}

.product-media {
  position: relative;
  flex: 0 0 380px;
  height: 380px;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 26px;
  background: linear-gradient(180deg, #eef4ff, #ffffff);
}

.featured .product-media {
  background:
    radial-gradient(circle at 64% 30%, rgba(16, 209, 229, 0.18), transparent 32%),
    linear-gradient(145deg, #171d2a 0%, #0f1420 55%, #0a101b 100%);
}

.product-media img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.product-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 26px;
}

.model-line {
  margin-bottom: 9px;
  color: var(--blue);
  font-weight: 800;
}

.featured .model-line,
.featured .price-row span {
  color: var(--cyan);
}

.product-card h3 {
  margin-bottom: 0;
  min-height: 58px;
  font-size: 24px;
  line-height: 1.2;
}

.colors-line {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.45;
}

.featured .colors-line {
  color: rgba(255, 255, 255, 0.66);
}

.storage {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: transparent;
  color: inherit;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

.chip.is-active {
  color: #fff;
  background: var(--blue);
  border-color: var(--blue);
}

.price-row {
  margin-top: auto;
  justify-content: space-between;
  gap: 12px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.featured .price-row {
  border-color: rgba(255, 255, 255, 0.14);
}

.price-row strong {
  white-space: nowrap;
  font-size: 19px;
}

.experience {
  display: grid;
  grid-template-columns: 1fr;
  gap: 34px;
  align-items: start;
  color: #fff;
  background: var(--night);
}

.experience-copy {
  max-width: 760px;
}

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

.feature-board article {
  min-height: 280px;
  padding: 28px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.05));
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
}

.feature-board span {
  color: var(--cyan);
  font-weight: 800;
}

.feature-board h3 {
  margin: 58px 0 14px;
  font-size: 24px;
  line-height: 1.18;
  overflow-wrap: break-word;
}

.feature-board p {
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.55;
}

.gallery-section {
  overflow: hidden;
  padding: 20px 0;
  background: #fff;
}

.gallery-track {
  display: grid;
  grid-template-columns: repeat(4, minmax(240px, 1fr));
  gap: 12px;
  width: min(1320px, calc(100% - 32px));
  margin: 0 auto;
}

.gallery-track img {
  width: 100%;
  height: 360px;
  object-fit: contain;
  background: #f3f6fb;
  border-radius: 8px;
}

.compare-table {
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.compare-table > div {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr 1fr;
  gap: 14px;
  padding: 20px 24px;
  border-top: 1px solid var(--line);
}

.compare-table > div:first-child {
  border-top: 0;
}

.table-head {
  color: var(--muted);
  background: #f9fafc;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.compare-table span {
  min-width: 0;
}

.order-section {
  display: grid;
  grid-template-columns: 0.8fr 1fr;
  gap: 48px;
  align-items: center;
  padding: 96px max(24px, calc((100vw - 1240px) / 2));
  color: #fff;
  background:
    linear-gradient(135deg, rgba(19, 118, 255, 0.82), rgba(19, 185, 129, 0.78)),
    url("hero-phone-cutout.png") center right / contain no-repeat,
    #0b1220;
}

.order-section .eyebrow,
.order-section p {
  color: rgba(255, 255, 255, 0.82);
}

.order-card {
  display: grid;
  gap: 16px;
  padding: 28px;
  background: rgba(255, 255, 255, 0.92);
  border-radius: 8px;
}

.order-card strong {
  color: var(--ink);
  font-size: 24px;
  font-weight: 800;
  line-height: 1.25;
}

.order-card span {
  color: var(--muted);
  line-height: 1.55;
}

.footer {
  justify-content: space-between;
  gap: 18px;
  padding: 26px max(24px, calc((100vw - 1240px) / 2));
  color: #fff;
  background: #05070d;
}

.reveal {
  opacity: 0;
  transform: translateY(34px) scale(0.985);
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

@keyframes floatPhone {
  0%,
  100% {
    transform: translateY(0) rotateY(-4deg) rotateX(1deg);
  }
  50% {
    transform: translateY(-18px) rotateY(4deg) rotateX(-1deg);
  }
}

@keyframes heroGlow {
  0%,
  100% {
    filter: drop-shadow(0 46px 72px rgba(0, 0, 0, 0.42)) drop-shadow(0 0 0 rgba(16, 209, 229, 0));
  }
  50% {
    filter: drop-shadow(0 54px 82px rgba(0, 0, 0, 0.5)) drop-shadow(0 0 28px rgba(16, 209, 229, 0.24));
  }
}

@keyframes orbitOne {
  from {
    transform: rotate(-18deg) scaleY(0.62);
  }
  to {
    transform: rotate(342deg) scaleY(0.62);
  }
}

@keyframes orbitTwo {
  from {
    transform: rotate(24deg) scaleY(0.72);
  }
  to {
    transform: rotate(384deg) scaleY(0.72);
  }
}

@keyframes badgePulse {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

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

@media (max-width: 940px) {
  .site-header {
    top: 10px;
    width: calc(100% - 20px);
  }

  .nav {
    display: none;
  }

  .hero,
  .experience,
  .order-section {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 108px;
  }

  .hero-stage {
    min-height: 500px;
  }

  .product-grid,
  .feature-board,
  .trust-strip {
    grid-template-columns: 1fr;
  }

  .product-card {
    min-height: auto;
  }

  .compare-table {
    display: grid;
    gap: 12px;
    background: transparent;
    border: 0;
    border-radius: 0;
  }

  .compare-table > div {
    grid-template-columns: 1fr;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
  }

  .table-head {
    display: none !important;
  }
}

@media (max-width: 620px) {
  .brand span:last-child {
    display: none;
  }

  .header-action {
    min-height: 40px;
    padding: 0 14px;
  }

  h1 {
    font-size: 48px;
  }

  .hero {
    min-height: auto;
  }

  .hero-text,
  .section-head p,
  .experience-copy p,
  .order-section p {
    font-size: 16px;
  }

  .hero-stage {
    min-height: 420px;
  }

  .hero-badge {
    right: 0;
    bottom: 38px;
    min-width: 190px;
  }

  .section,
  .order-section {
    padding-top: 70px;
    padding-bottom: 70px;
  }

  .gallery-track {
    grid-template-columns: 1fr 1fr;
  }

  .gallery-track img {
    height: 240px;
  }

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

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