:root {
  --bg: #0f1419;
  --bg-alt: #161d26;
  --surface: #1c2530;
  --text: #e8edf2;
  --text-muted: #9aa8b6;
  --accent: #2aabee;
  --accent-hover: #1e96d4;
  --warm: #e8a87c;
  --warm-soft: rgba(232, 168, 124, 0.15);
  --border: rgba(255, 255, 255, 0.08);
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  --font: "Manrope", system-ui, sans-serif;
  --container: min(1120px, 100% - 2rem);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

.container {
  width: var(--container);
  margin-inline: auto;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(12px);
  background: rgba(15, 20, 25, 0.85);
  border-bottom: 1px solid var(--border);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  gap: 1rem;
}

.logo {
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--text);
  text-decoration: none;
  letter-spacing: -0.02em;
}

.logo span {
  color: var(--warm);
}

.logo:hover {
  text-decoration: none;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: inherit;
  font-weight: 600;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
}

.btn--sm {
  padding: 0.55rem 1.1rem;
  font-size: 0.875rem;
}

.btn--lg {
  padding: 0.95rem 1.75rem;
  font-size: 1rem;
}

.btn--telegram {
  background: linear-gradient(135deg, var(--accent), #229ed9);
  color: #fff;
  box-shadow: 0 8px 24px rgba(42, 171, 238, 0.35);
}

.btn--telegram:hover {
  background: linear-gradient(135deg, var(--accent-hover), #1a8fc4);
  color: #fff;
}

.btn--ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}

.btn--ghost:hover {
  background: var(--surface);
  color: var(--text);
}

.btn--light {
  background: #fff;
  color: #0d3d56;
  box-shadow: var(--shadow);
}

.btn--light:hover {
  background: #f0f7fb;
  color: #0d3d56;
}

.icon {
  width: 1.15em;
  height: 1.15em;
}

/* Hero */
.hero {
  position: relative;
  padding: 3rem 0 4.5rem;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 20%, rgba(42, 171, 238, 0.12), transparent),
    radial-gradient(ellipse 50% 40% at 10% 80%, var(--warm-soft), transparent);
  pointer-events: none;
}

.hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: start;
}

@media (min-width: 900px) {
  .hero__grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 3rem;
    padding-top: 1.5rem;
    align-items: start;
  }

  .hero__visual {
    display: flex;
    justify-content: center;
    align-items: flex-start;
  }
}

.badge {
  display: inline-block;
  margin: 0 0 1rem;
  padding: 0.35rem 0.85rem;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--warm);
  background: var(--warm-soft);
  border-radius: 999px;
  border: 1px solid rgba(232, 168, 124, 0.25);
}

.hero__title {
  margin: 0 0 1.25rem;
  font-size: clamp(1.85rem, 4.5vw, 2.75rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.hero__title em {
  font-style: normal;
  color: var(--warm);
}

.hero__lead {
  margin: 0 0 1.75rem;
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 34rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
}

.hero__stats {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1.25rem;
}

.hero__stats li {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.hero__stats strong {
  font-size: 1.05rem;
  color: var(--text);
}

.hero__stats span {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Phone mock */
.phone-mock {
  width: 100%;
  max-width: 300px;
  margin-inline: auto;
  padding: 10px;
  background: linear-gradient(145deg, #2a3340, #1a222c);
  border-radius: 32px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.phone-mock__screen {
  border-radius: 24px;
  overflow: hidden;
  background: #0e1621;
  line-height: 0;
}

.phone-mock__video {
  display: block;
  width: 100%;
  height: auto;
  max-height: min(72vh, 640px);
  object-fit: contain;
  object-position: center top;
  background: #0e1621;
}

/* Sections */
.section {
  padding: 4rem 0;
}

.section--alt {
  background: var(--bg-alt);
}

.section__title {
  margin: 0 0 0.75rem;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  text-align: center;
}

.section__subtitle {
  margin: 0 auto 2.5rem;
  max-width: 36rem;
  text-align: center;
  color: var(--text-muted);
}

.section__cta-wrap {
  text-align: center;
  margin-top: 2.5rem;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
}

.card {
  padding: 1.5rem;
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.card:hover {
  border-color: rgba(42, 171, 238, 0.35);
  transform: translateY(-2px);
}

.card__icon {
  font-size: 1.75rem;
  margin-bottom: 0.75rem;
}

.card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
  font-weight: 700;
}

.card p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* Steps */
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  max-width: 640px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.step {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}

.step__num {
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1rem;
  background: linear-gradient(135deg, var(--accent), #1e7fb8);
  color: #fff;
  border-radius: 50%;
}

.step h3 {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
}

.step p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Audience */
.audience {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.audience__item {
  padding: 1.25rem 1.5rem;
  text-align: center;
  font-weight: 600;
  background: var(--surface);
  border-radius: var(--radius-sm);
  border: 1px dashed rgba(232, 168, 124, 0.35);
}

/* CTA banner */
.cta-banner {
  padding: 3.5rem 0;
  background: linear-gradient(135deg, #1a5f7a 0%, #2aabee 50%, #1e4d6b 100%);
}

.cta-banner__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .cta-banner__inner {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

.cta-banner h2 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  font-weight: 800;
}

.cta-banner p {
  margin: 0;
  opacity: 0.92;
  font-size: 1.05rem;
}

/* Footer */
.footer {
  padding: 2rem 0;
  border-top: 1px solid var(--border);
}

.footer__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.footer__copy {
  margin: 0;
}

/* Floating action */
.fab {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 90;
  width: 3.5rem;
  height: 3.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  color: #fff;
  border-radius: 50%;
  box-shadow: 0 8px 28px rgba(42, 171, 238, 0.5);
  transition: transform 0.15s ease, background 0.15s ease;
}

.fab:hover {
  transform: scale(1.06);
  background: var(--accent-hover);
  text-decoration: none;
}

.fab svg {
  width: 1.5rem;
  height: 1.5rem;
}
