:root {
  --bg: #1c1c1e;
  --header: #323236;
  --card: #444446;
  --orange: #f5a623;
  --blue: #2e86de;
  --text: #ffffff;
  --muted: #d3d1d1;
  --hint: #aeaeb2;
  --border: #3a3a3c;
  --radius-lg: 43px;
  --radius-md: 31px;
  --radius-sm: 14px;
  --shadow-orange: 0 4px 60px rgba(245, 166, 35, 0.18);
  --shadow-card: 0 4px 48px rgba(0, 0, 0, 0.43);
  --max: 1120px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(var(--max), calc(100% - 32px));
  margin-inline: auto;
}

/* ── Header ───────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--header);
  box-shadow: var(--shadow-orange);
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.site-header__brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.site-header__logo {
  width: 48px;
  height: auto;
}

.site-header__name {
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: -0.02em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px 20px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.site-nav a {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  opacity: 0.92;
  transition: color 0.15s, opacity 0.15s;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--orange);
  opacity: 1;
}

.nav-toggle {
  display: none;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text);
  border-radius: 10px;
  padding: 8px 12px;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

@media (max-width: 768px) {
  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    display: none;
    position: absolute;
    left: 16px;
    right: 16px;
    top: calc(100% + 8px);
    flex-direction: column;
    align-items: stretch;
    background: var(--header);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 12px;
    box-shadow: var(--shadow-card);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 10px 12px;
    border-radius: 8px;
  }

  .site-nav a:hover {
    background: rgba(255, 255, 255, 0.06);
  }
}

/* ── Hero ─────────────────────────────────────────────── */
.hero {
  text-align: center;
  padding: 48px 0 56px;
}

.hero__title {
  margin: 0 0 8px;
  font-size: clamp(2.5rem, 8vw, 4.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.hero__headline {
  margin: 0 auto 16px;
  max-width: 900px;
  font-size: clamp(1.35rem, 3.5vw, 2rem);
  font-weight: 600;
  line-height: 1.25;
}

.hero__sub {
  margin: 0 auto 32px;
  max-width: 820px;
  font-size: clamp(1rem, 2vw, 1.35rem);
  font-weight: 400;
  color: var(--muted);
}

.hero__actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

@media (min-width: 520px) {
  .hero__actions {
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 32px;
  border-radius: var(--radius-lg);
  font-weight: 700;
  font-size: 1.05rem;
  border: none;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s;
  text-align: center;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn--primary {
  background: var(--orange);
  color: #1c1c1e;
  box-shadow: 17px 0 40px rgba(245, 166, 35, 0.25);
  min-width: min(100%, 320px);
}

.btn--secondary {
  background: var(--card);
  color: var(--text);
  border: 1px solid var(--border);
}

.btn--tg {
  background: #ffd60a;
  color: #1c1c1e;
}

/* ── Sections ───────────────────────────────────────── */
.section {
  padding: 56px 0;
}

.section__title {
  margin: 0 0 40px;
  text-align: center;
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 700;
  line-height: 1.15;
}

/* Steps */
.steps {
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr;
}

@media (min-width: 900px) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
  }
}

.step-card {
  background: var(--card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: 28px 24px 32px;
  text-align: center;
}

.step-card__icon {
  font-size: 3rem;
  line-height: 1;
  margin-bottom: 12px;
}

.step-card__title {
  margin: 0 0 16px;
  font-size: 1.35rem;
  font-weight: 700;
}

.step-card__text {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  color: var(--muted);
  line-height: 1.45;
}

/* Security grid */
.security-grid {
  display: grid;
  gap: 28px;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .security-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.security-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px 20px;
  align-items: start;
}

.security-item__icon {
  font-size: 2.5rem;
  line-height: 1;
}

.security-item__title {
  margin: 0 0 8px;
  font-size: 1.25rem;
  font-weight: 700;
  grid-column: 2;
}

.security-item__text {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  grid-column: 2;
}

/* Screenshot */
.screenshot-wrap {
  margin: 0 auto;
  max-width: 960px;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 4px 50px rgba(0, 0, 0, 0.57);
}

.screenshot-wrap img {
  width: 100%;
}

.screenshot-caption {
  margin: 24px auto 0;
  max-width: 900px;
  text-align: center;
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  font-weight: 700;
}

/* Phones */
.phones {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
  margin-top: 32px;
}

.phones img {
  width: min(280px, 42vw);
  border-radius: 24px;
  box-shadow: var(--shadow-card);
}

.phones__title {
  text-align: center;
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  font-weight: 700;
  margin: 0 0 8px;
}

/* Pricing */
.pricing-card {
  background: var(--card);
  border-radius: var(--radius-lg);
  padding: 28px 28px 32px;
  max-width: 640px;
  margin: 0 auto;
  box-shadow: var(--shadow-card);
}

.pricing-card__price {
  color: var(--orange);
  font-size: 1.75rem;
  font-weight: 700;
  margin: 0 0 12px;
}

.pricing-card p {
  margin: 0 0 12px;
  color: var(--muted);
}

.pricing-card ul {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
}

.pricing-card li {
  padding: 6px 0 6px 24px;
  position: relative;
}

.pricing-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--orange);
  font-weight: 700;
}

.pricing-card a.link {
  color: var(--blue);
  font-weight: 600;
}

/* FAQ */
.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: grid;
  gap: 12px;
}

.faq-item {
  background: var(--card);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  overflow: hidden;
}

.faq-item summary {
  padding: 16px 20px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  float: right;
  color: var(--orange);
  font-weight: 700;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item__body {
  padding: 0 20px 16px;
  color: var(--muted);
  font-size: 0.95rem;
}

.faq-item__body h4 {
  margin: 16px 0 8px;
  font-size: 1rem;
  color: var(--text);
}

.faq-item__body h4:first-child {
  margin-top: 0;
}

.faq-item__body ul,
.faq-item__body ol {
  margin: 8px 0 12px;
  padding-left: 1.25em;
}

.faq-item__body li {
  margin: 4px 0;
}

.faq-item__body a {
  color: var(--blue);
}

.faq-item__body strong {
  color: var(--text);
  font-weight: 600;
}

/* Footer */
.site-footer {
  padding: 40px 0 48px;
  text-align: center;
  font-size: 0.9rem;
  color: var(--hint);
  border-top: 1px solid var(--border);
}

.site-footer a {
  color: var(--blue);
}

.site-footer p {
  margin: 8px 0 0;
  font-size: 0.8rem;
  opacity: 0.85;
}
