:root {
  --bg: #0c0d10;
  --bg-elevated: #16181e;
  --bg-card: #1c1f26;
  --line: #2a2e38;
  --text: #f4f5f7;
  --muted: #9aa0ad;
  --orange: #f2761b;
  --orange-deep: #e05e0c;
  --orange-soft: rgba(242, 118, 27, 0.14);
  --purple: #8b7cf6;
  --blue: #5b9fff;
  --green: #4ecf7a;
  --radius: 18px;
  --max: 1120px;
  --font: "Manrope", system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.wrap {
  width: min(var(--max), calc(100% - 40px));
  margin-inline: auto;
}

/* —— Header —— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(16px);
  background: rgba(12, 13, 16, 0.78);
  border-bottom: 1px solid transparent;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 72px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.01em;
  flex-shrink: 0;
}

.brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(145deg, var(--orange), var(--orange-deep));
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 700;
  font-size: 18px;
  box-shadow: 0 8px 24px rgba(242, 118, 27, 0.35);
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: auto;
  margin-right: 8px;
}

.nav a {
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
}

.nav a:hover {
  color: var(--text);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 0;
  cursor: pointer;
  font-family: inherit;
  font-weight: 600;
  border-radius: 999px;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-sm {
  height: 40px;
  padding: 0 18px;
  font-size: 14px;
  background: var(--orange);
  color: #fff;
  box-shadow: 0 8px 22px rgba(242, 118, 27, 0.28);
}

.btn-sm:hover {
  background: var(--orange-deep);
}

.btn-lg {
  height: 56px;
  padding: 0 28px;
  font-size: 16px;
  background: linear-gradient(135deg, var(--orange), var(--orange-deep));
  color: #fff;
  box-shadow: 0 14px 36px rgba(242, 118, 27, 0.38);
}

.btn-lg:hover {
  box-shadow: 0 18px 40px rgba(242, 118, 27, 0.48);
}

.btn svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--bg-elevated);
  color: var(--text);
  margin-left: auto;
}

/* —— Hero —— */
.hero {
  position: relative;
  overflow: hidden;
  padding: 48px 0 80px;
}

.hero-glow {
  position: absolute;
  inset: -20% -10% auto auto;
  width: min(720px, 90vw);
  height: min(720px, 90vw);
  background:
    radial-gradient(circle at 50% 50%, rgba(242, 118, 27, 0.22), transparent 58%),
    radial-gradient(circle at 70% 30%, rgba(242, 118, 27, 0.12), transparent 45%);
  pointer-events: none;
  filter: blur(8px);
}

.hero-rings {
  position: absolute;
  right: -8%;
  top: -12%;
  width: min(680px, 85vw);
  height: min(680px, 85vw);
  border-radius: 50%;
  border: 1px solid rgba(242, 118, 27, 0.18);
  pointer-events: none;
  animation: pulse-ring 8s ease-in-out infinite;
}

.hero-rings::before,
.hero-rings::after {
  content: "";
  position: absolute;
  inset: 12%;
  border-radius: 50%;
  border: 1px solid rgba(242, 118, 27, 0.12);
}

.hero-rings::after {
  inset: 24%;
  border-color: rgba(242, 118, 27, 0.08);
}

@keyframes pulse-ring {
  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.03);
    opacity: 0.85;
  }
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 16px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.hero h1 {
  margin: 0 0 18px;
  font-size: clamp(34px, 5vw, 52px);
  line-height: 1.08;
  letter-spacing: -0.03em;
  font-weight: 700;
}

.hero h1 .accent {
  color: var(--orange);
}

.lead {
  margin: 0 0 28px;
  max-width: 46ch;
  color: var(--muted);
  font-size: 17px;
}

.hero-cta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 28px;
}

.price-note {
  margin: 0;
  color: var(--text);
  font-size: 14px;
  font-weight: 500;
}

.trust {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 28px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
  max-width: 220px;
}

.trust-item svg {
  width: 22px;
  height: 22px;
  color: var(--orange);
  flex-shrink: 0;
}

/* Phone stage + mockup */
.phone-stage {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 520px;
}

.phone-stage .phone-glow {
  position: absolute;
  left: 50%;
  top: 42%;
  width: min(520px, 120%);
  height: min(520px, 120%);
  transform: translate(-50%, -50%);
  background:
    radial-gradient(circle at 50% 50%, rgba(242, 118, 27, 0.38), rgba(242, 118, 27, 0.12) 42%, transparent 68%);
  filter: blur(10px);
  pointer-events: none;
  z-index: 0;
}

.phone-stage .phone-rings {
  position: absolute;
  left: 50%;
  top: 42%;
  width: min(460px, 108%);
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 1px solid rgba(242, 118, 27, 0.28);
  pointer-events: none;
  z-index: 0;
  animation: pulse-ring 8s ease-in-out infinite;
}

.phone-stage .phone-rings::before,
.phone-stage .phone-rings::after {
  content: "";
  position: absolute;
  inset: 12%;
  border-radius: 50%;
  border: 1px solid rgba(242, 118, 27, 0.18);
}

.phone-stage .phone-rings::after {
  inset: 24%;
  border-color: rgba(242, 118, 27, 0.12);
}

/* Второй телефон — такая же яркая подсветка, как в hero */
.phone-stage--left .phone-glow {
  width: min(580px, 135%);
  height: min(580px, 135%);
  background:
    radial-gradient(circle at 50% 48%, rgba(242, 118, 27, 0.48), rgba(242, 118, 27, 0.16) 40%, transparent 66%);
  filter: blur(12px);
}

.phone-stage--left .phone-rings {
  width: min(500px, 118%);
  border-color: rgba(242, 118, 27, 0.32);
  animation-delay: -2s;
}

.phone {
  width: min(300px, 78%);
  margin-inline: auto;
  aspect-ratio: 9 / 19.2;
  border-radius: 42px;
  padding: 10px;
  background: linear-gradient(160deg, #2a2d35, #12141a 55%, #0a0b0e);
  box-shadow:
    0 40px 80px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(255, 255, 255, 0.06),
    0 0 60px rgba(242, 118, 27, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  position: relative;
  z-index: 1;
  transform: rotate(4deg);
  animation: float-phone 6s ease-in-out infinite;
}

.phone--left {
  transform: rotate(-4deg);
}

@keyframes float-phone {
  0%,
  100% {
    transform: rotate(4deg) translateY(0);
  }
  50% {
    transform: rotate(4deg) translateY(-10px);
  }
}

.phone--left {
  animation-name: float-phone-left;
}

@keyframes float-phone-left {
  0%,
  100% {
    transform: rotate(-4deg) translateY(0);
  }
  50% {
    transform: rotate(-4deg) translateY(-10px);
  }
}

.phone-screen {
  width: 100%;
  height: 100%;
  border-radius: 32px;
  overflow: hidden;
  background: #1c1f24;
}

.phone-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.phone-notch {
  position: absolute;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: 28%;
  height: 18px;
  border-radius: 999px;
  background: #0a0b0e;
  z-index: 2;
}

/* —— Sections —— */
.section {
  position: relative;
  padding: 96px 0;
  border-top: 1px solid rgba(42, 46, 56, 0.9);
}

.section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(180px, 40vw);
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, var(--orange), transparent);
  box-shadow: 0 0 24px rgba(242, 118, 27, 0.45);
  pointer-events: none;
}

.section-muted {
  background:
    linear-gradient(180deg, rgba(22, 24, 30, 0.55), rgba(12, 13, 16, 0.2) 40%, transparent);
}

.section-head {
  max-width: 34ch;
  margin-bottom: 36px;
}

.section-head.wide {
  max-width: 42ch;
}

.features-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: center;
}

.feature-list {
  display: grid;
  gap: 22px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.feature-item {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 16px;
  align-items: start;
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
}

.feature-icon svg {
  width: 24px;
  height: 24px;
}

.feature-icon.orange {
  background: var(--orange-soft);
  color: var(--orange);
}
.feature-icon.purple {
  background: rgba(139, 124, 246, 0.14);
  color: var(--purple);
}
.feature-icon.blue {
  background: rgba(91, 159, 255, 0.14);
  color: var(--blue);
}
.feature-icon.green {
  background: rgba(78, 207, 122, 0.14);
  color: var(--green);
}

.feature-item h3 {
  margin: 2px 0 4px;
  font-size: 17px;
  font-weight: 600;
}

.feature-item p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

h2 {
  margin: 0 0 12px;
  font-size: clamp(28px, 3.6vw, 40px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 700;
}

h2 .accent {
  color: var(--orange);
}

/* Security / pricing cards */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}

.card h3 {
  margin: 0 0 8px;
  font-size: 17px;
  font-weight: 600;
}

.card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.card-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--orange-soft);
  color: var(--orange);
  display: grid;
  place-items: center;
  margin-bottom: 16px;
}

.card-icon svg {
  width: 22px;
  height: 22px;
}

.cards--pricing {
  grid-template-columns: 1fr 1.2fr 1fr;
}

.amount-sm {
  font-size: 28px;
  font-weight: 700;
  margin: 10px 0;
  letter-spacing: -0.02em;
}

.card-lead {
  margin-top: 12px;
}

.btn-block {
  width: 100%;
}

.btn-footer-cta {
  max-width: 280px;
}

.price-card {
  grid-column: span 1;
  background:
    radial-gradient(circle at 100% 0%, rgba(242, 118, 27, 0.18), transparent 50%),
    var(--bg-card);
}

.price-card .amount {
  font-size: 40px;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin: 8px 0 4px;
}

.price-card .amount span {
  font-size: 16px;
  font-weight: 500;
  color: var(--muted);
}

.price-card ul {
  margin: 18px 0 22px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.price-card li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: var(--muted);
  font-size: 14px;
}

.price-card li::before {
  content: "";
  width: 8px;
  height: 8px;
  margin-top: 6px;
  border-radius: 50%;
  background: var(--orange);
  flex-shrink: 0;
}

/* FAQ */
.faq {
  display: grid;
  gap: 12px;
  max-width: 760px;
}

details.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 4px 18px;
}

details.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 16px 0;
  font-weight: 600;
  font-size: 15px;
}

details.faq-item summary::-webkit-details-marker {
  display: none;
}

details.faq-item summary::after {
  content: "+";
  float: right;
  color: var(--orange);
  font-weight: 500;
}

details.faq-item[open] summary::after {
  content: "–";
}

details.faq-item p {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 14px;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 48px 0 36px;
  background: #090a0c;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1.1fr;
  gap: 32px;
  align-items: start;
}

.footer-col h4 {
  margin: 0 0 14px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}

.footer-col a,
.footer-col p {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text);
  font-size: 14px;
  margin: 0 0 10px;
}

.footer-col a:hover {
  color: var(--orange);
}

.footer-col svg {
  width: 16px;
  height: 16px;
  color: var(--muted);
}

.footer-note {
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
}

.web-link {
  display: inline-block;
  margin-top: 10px;
  color: var(--muted);
  font-size: 13px;
  border-bottom: 1px solid var(--line);
}

.web-link:hover {
  color: var(--orange);
  border-bottom-color: var(--orange);
}

.legal-page {
  max-width: 720px;
  margin: 48px auto 80px;
  padding: 0 20px;
}

.legal-page h1 {
  font-size: 28px;
  margin-bottom: 8px;
}

.legal-page .meta {
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 28px;
}

.legal-page h2 {
  font-size: 18px;
  margin: 28px 0 8px;
}

.legal-page p,
.legal-page li {
  color: var(--muted);
  font-size: 14px;
}

/* Tablet / mobile */
@media (max-width: 920px) {
  .wrap {
    width: min(var(--max), calc(100% - 32px));
  }

  .site-header {
    position: sticky;
  }

  .header-inner {
    min-height: 60px;
    gap: 12px;
  }

  .brand span:last-child {
    max-width: 42vw;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .nav {
    display: none;
  }

  .nav.is-open {
    display: flex;
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: rgba(12, 13, 16, 0.98);
    border-bottom: 1px solid var(--line);
    padding: 8px 16px 16px;
    margin: 0;
    z-index: 50;
  }

  .nav.is-open a {
    padding: 14px 4px;
    border-bottom: 1px solid var(--line);
    font-size: 15px;
  }

  .menu-toggle {
    display: grid;
    place-items: center;
    flex-shrink: 0;
  }

  .header-inner > .btn-sm {
    height: 36px;
    padding: 0 14px;
    font-size: 13px;
    flex-shrink: 0;
  }

  .hero-grid,
  .features-grid,
  .footer-grid,
  .cards,
  .cards--pricing {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 20px 0 48px;
  }

  .hero-glow,
  .hero-rings {
    right: -30%;
    top: auto;
    bottom: 10%;
    width: min(420px, 110vw);
    height: min(420px, 110vw);
    opacity: 0.7;
  }

  .hero-grid {
    gap: 28px;
  }

  .hero h1 {
    font-size: clamp(28px, 8.2vw, 36px);
  }

  .lead {
    font-size: 15px;
    max-width: none;
  }

  .hero-cta .btn-lg {
    width: 100%;
  }

  .trust {
    gap: 12px 16px;
  }

  .trust-item {
    max-width: none;
    flex: 1 1 100%;
  }

  /* Текст сверху, макет телефона ниже */
  .features-grid .phone-stage {
    order: 2;
  }

  .features-grid > div:last-child {
    order: 1;
  }

  .phone,
  .phone--left {
    transform: none;
    animation: none;
    width: min(260px, 68vw);
    border-radius: 36px;
    padding: 8px;
  }

  .phone-screen {
    border-radius: 28px;
  }

  .phone-stage {
    min-height: 0;
    padding: 24px 0 8px;
    overflow: hidden;
    width: 100%;
  }

  .phone-stage .phone-glow,
  .phone-stage .phone-rings,
  .phone-stage--left .phone-glow,
  .phone-stage--left .phone-rings {
    width: min(340px, 95%);
    height: min(340px, 95%);
  }

  .section {
    padding: 56px 0;
  }

  .section-head,
  .section-head.wide {
    max-width: none;
    margin-bottom: 24px;
  }

  .feature-item {
    grid-template-columns: 44px 1fr;
    gap: 12px;
  }

  .feature-item h3 {
    font-size: 16px;
  }

  .cards {
    gap: 12px;
  }

  .card {
    padding: 20px;
  }

  .price-card .amount {
    font-size: 34px;
  }

  .footer-grid {
    gap: 28px;
  }

  .btn-footer-cta {
    max-width: none;
  }

  .legal-page {
    margin: 28px auto 56px;
    padding: 0 16px;
  }

  .legal-page h1 {
    font-size: 24px;
  }
}

@media (max-width: 480px) {
  .wrap {
    width: calc(100% - 24px);
  }

  .brand-mark {
    width: 32px;
    height: 32px;
    font-size: 16px;
    border-radius: 9px;
  }

  .brand {
    font-size: 13px;
    gap: 8px;
  }

  .brand span:last-child {
    max-width: 38vw;
  }

  .btn-lg {
    height: 52px;
    font-size: 15px;
    padding: 0 20px;
  }

  .phone,
  .phone--left {
    width: min(240px, 72vw);
  }

  .phone-notch {
    top: 14px;
    height: 14px;
  }

  .eyebrow {
    font-size: 11px;
    letter-spacing: 0.12em;
  }

  h2 {
    font-size: clamp(24px, 7vw, 30px);
  }
}

/* Prefer reduced motion on phones */
@media (prefers-reduced-motion: reduce) {
  .phone,
  .phone--left,
  .hero-rings,
  .phone-stage .phone-rings {
    animation: none;
  }
}
