:root {
  --bg: #08090d;
  --bg2: #0e1018;
  --surface: #13151f;
  --surface2: #1a1d2a;
  --border: rgba(255,255,255,0.09);
  --accent: #4DFFA0;
  --accent2: #4D9FFF;
  --tg: #26a5e4;
  --max: #0088cc;
  --text: #f0f2f8;
  --text-secondary: #c8ccd8;
  --muted: #8b91a8;
  --glow: rgba(77,255,160,0.15);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  cursor: none;
}

/* ====== CURSOR ====== */
.cursor {
  position: fixed; top: 0; left: 0; width: 12px; height: 12px;
  background: var(--accent); border-radius: 50%; pointer-events: none;
  z-index: 9999; transform: translate(-50%,-50%);
  transition: width 0.3s, height 0.3s, background 0.3s;
  mix-blend-mode: screen;
}
.cursor-ring {
  position: fixed; top: 0; left: 0; width: 36px; height: 36px;
  border: 1px solid rgba(77,255,160,0.4); border-radius: 50%; pointer-events: none;
  z-index: 9998; transform: translate(-50%,-50%);
  transition: width 0.3s, height 0.3s;
}
body:has(a:hover) .cursor,
body:has(button:hover) .cursor { width: 20px; height: 20px; }
body:has(a:hover) .cursor-ring,
body:has(button:hover) .cursor-ring { width: 56px; height: 56px; }

/* ====== NOISE ====== */
body::before {
  content: '';
  position: fixed; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none; z-index: 0; opacity: 0.4;
}

/* ====== NAV ====== */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 20px 48px;
  display: flex; align-items: center; justify-content: space-between;
  backdrop-filter: blur(20px);
  background: rgba(8,9,13,0.6);
  border-bottom: 1px solid var(--border);
  transition: background 0.3s;
}
.nav-logo {
  font-family: 'Syne', sans-serif;
  font-weight: 800; font-size: 20px;
  display: flex; align-items: center; gap: 10px;
  text-decoration: none; color: var(--text);
}
.nav-logo-dot {
  width: 8px; height: 8px;
  background: var(--accent); border-radius: 50%;
  box-shadow: 0 0 12px var(--accent);
  animation: pulse 2s infinite;
}
.nav-cta {
  background: var(--accent); color: #08090d;
  padding: 10px 24px; border-radius: 100px;
  font-weight: 600; font-size: 14px; letter-spacing: 0.02em;
  border: none; cursor: none; text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
  display: inline-flex; align-items: center; gap: 8px;
}
.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(77,255,160,0.35); }

/* ====== SECTIONS ====== */
section { position: relative; z-index: 1; }

/* ====== HERO ====== */
#hero {
  min-height: 100vh;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center; padding: 120px 24px 80px;
  overflow: hidden;
}
.hero-grid-bg {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(77,255,160,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(77,255,160,0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, black, transparent);
}
.hero-glow {
  position: absolute; width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(77,255,160,0.08) 0%, transparent 70%);
  top: 50%; left: 50%; transform: translate(-50%, -50%);
  pointer-events: none;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(77,255,160,0.08);
  border: 1px solid rgba(77,255,160,0.2);
  border-radius: 100px; padding: 6px 16px;
  font-size: 13px; font-weight: 500; color: var(--accent);
  margin-bottom: 32px;
  opacity: 0; animation: fadeUp 0.8s 0.2s forwards;
  letter-spacing: 0.04em;
}
.hero-badge-dot {
  width: 6px; height: 6px;
  background: var(--accent); border-radius: 50%;
  animation: pulse 1.5s infinite;
}

h1 {
  font-family: 'DM Syne', sans-serif;
  font-size: clamp(42px, 7vw, 88px);
  font-weight: 800; line-height: 1.0;
  letter-spacing: -0.03em;
  color: var(--text);
  opacity: 0; animation: fadeUp 0.9s 0.4s forwards;
}
h1 .line { display: block; }
h1 .accent-word { color: var(--accent); position: relative; }
h1 .accent-word::after {
  content: '';
  position: absolute; bottom: 4px; left: 0; right: 0; height: 3px;
  background: var(--accent); border-radius: 2px; opacity: 0.5;
  transform: scaleX(0); transform-origin: left;
  animation: lineIn 0.6s 1.4s forwards;
}

.hero-sub {
  max-width: 560px;
  font-size: 18px; line-height: 1.7;
  color: var(--text-secondary);
  font-weight: 400;
  margin: 28px auto 48px;
  opacity: 0; animation: fadeUp 0.9s 0.6s forwards;
}
.hero-sub strong { color: var(--text); font-weight: 600; }

.hero-buttons {
  display: flex; flex-wrap: wrap; gap: 16px; justify-content: center;
  opacity: 0; animation: fadeUp 0.9s 0.8s forwards;
}
.btn-primary {
  background: var(--accent); color: #08090d;
  padding: 16px 36px; border-radius: 100px;
  font-family: 'Syne', sans-serif; font-weight: 700; font-size: 16px;
  border: none; cursor: none; text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
  display: inline-flex; align-items: center; gap: 10px;
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 12px 40px rgba(77,255,160,0.4); }
.btn-secondary {
  background: transparent; color: var(--text);
  padding: 16px 36px; border-radius: 100px;
  font-family: 'Syne', sans-serif; font-weight: 600; font-size: 16px;
  border: 1px solid rgba(255,255,255,0.15); cursor: none; text-decoration: none;
  transition: border-color 0.2s, background 0.2s;
}
.btn-secondary:hover { border-color: rgba(255,255,255,0.3); background: rgba(255,255,255,0.05); }

.hero-scroll {
  position: absolute; bottom: 36px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  opacity: 0; animation: fadeIn 1s 1.6s forwards;
  color: var(--muted); font-size: 12px; letter-spacing: 0.1em;
}
.scroll-line {
  width: 1px; height: 48px;
  background: linear-gradient(to bottom, var(--accent), transparent);
  animation: scrollDown 1.8s 2s infinite;
}

/* ====== MESSENGER VISUAL ====== */
.messenger-visual {
  margin-top: 80px; margin-bottom: -40px;
  opacity: 0; animation: fadeUp 1s 1s forwards;
  display: flex; align-items: center; justify-content: center;
  gap: 0; position: relative;
}
.messenger-card {
  width: 100px; height: 100px; border-radius: 28px;
  display: flex; align-items: center; justify-content: center;
  position: relative;
  box-shadow: 0 20px 60px rgba(0,0,0,0.6);
  transition: transform 0.3s;
  overflow: hidden;
}
.messenger-card:hover { transform: translateY(-6px) scale(1.05); }
.messenger-card img,
.messenger-card svg { width: 60px; height: 60px; }
.card-tg { background: linear-gradient(145deg, #2AABEE, #1a8dc7); }
.card-bridge {
  background: var(--surface2);
  border: 1px solid var(--border);
  width: 80px; height: 80px;
  margin: 0 -10px; z-index: 2;
  font-size: 28px;
}
.card-bridge svg { width: 36px; height: 36px; }
.card-max { background: linear-gradient(145deg, #0088cc, #005fa3); }
.card-wa { background: linear-gradient(145deg, #25d366, #128c50); width: 80px; height: 80px; margin-left: 16px; }
.card-wa svg { width: 46px; height: 46px; }
.card-more {
  background: var(--surface); border: 1px solid var(--border);
  width: 72px; height: 72px; border-radius: 20px;
  margin-left: 12px; opacity: 0.5; font-size: 22px;
  color: var(--muted); font-family: 'Syne', sans-serif; font-weight: 700;
}

.bridge-connector {
  position: relative; width: 160px; height: 2px;
  margin: 0 -16px; z-index: 3;
}
.bridge-line-bg {
  position: absolute; top: 0; left: 0; right: 0; height: 2px;
  opacity: 0.5;
}
.flow-dot {
  position: absolute; width: 8px; height: 8px;
  background: var(--accent); border-radius: 50%;
  top: 50%; transform: translateY(-50%);
  animation: flowDot 2s infinite linear;
  box-shadow: 0 0 12px var(--accent);
}
.flow-dot:nth-child(2) { animation-delay: 0.67s; }
.flow-dot:nth-child(3) { animation-delay: 1.34s; }

/* ====== SECTION LABELS & HEADINGS ====== */
.section-label {
  font-size: 12px; letter-spacing: 0.15em; color: var(--accent);
  text-transform: uppercase; font-weight: 600;
  display: block; margin-bottom: 16px;
  opacity: 0; transition: opacity 0.6s;
}
.section-label.visible { opacity: 1; }

h2 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 800; letter-spacing: -0.025em;
  line-height: 1.1; color: var(--text);
  opacity: 0; transition: opacity 0.7s 0.1s, transform 0.7s 0.1s;
  transform: translateY(20px);
}
h2.visible { opacity: 1; transform: translateY(0); }

/* ====== HOW IT WORKS ====== */
#how { padding: 120px 24px; overflow: hidden; }
.how-inner { max-width: 1100px; margin: 0 auto; }
.how-header { margin-bottom: 72px; }

.steps-slider { position: relative; }
.steps-track {
  display: flex; gap: 24px;
  transition: transform 0.7s cubic-bezier(0.77,0,0.18,1);
}
.step-card {
  flex: 0 0 calc(33.333% - 16px);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px; padding: 40px 36px;
  position: relative; overflow: hidden;
  opacity: 0; transition: opacity 0.5s, transform 0.5s, border-color 0.3s;
  transform: translateY(32px);
}
.step-card.visible { opacity: 1; transform: translateY(0); }
.step-card:hover { border-color: rgba(77,255,160,0.25); }
.step-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(to right, var(--accent), transparent);
  opacity: 0; transition: opacity 0.3s;
}
.step-card:hover::before { opacity: 1; }
.step-num {
  font-family: 'Syne', sans-serif;
  font-size: 72px; font-weight: 800;
  color: rgba(77,255,160,0.06);
  position: absolute; top: 20px; right: 28px; line-height: 1;
}
.step-icon {
  width: 52px; height: 52px; border-radius: 16px;
  background: rgba(77,255,160,0.1);
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; margin-bottom: 24px;
  border: 1px solid rgba(77,255,160,0.15);
}
.step-card h3 {
  font-family: 'Syne', sans-serif;
  font-size: 20px; font-weight: 700;
  margin-bottom: 12px; letter-spacing: -0.01em;
  color: var(--text);
}
.step-card p {
  font-size: 15px; line-height: 1.75;
  color: var(--text-secondary);
}

.slide-dots {
  display: none; gap: 8px; justify-content: center; margin-top: 40px;
}
.slide-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--border); cursor: none;
  transition: background 0.3s, transform 0.3s;
}
.slide-dot.active { background: var(--accent); transform: scale(1.4); }

/* ====== PROBLEM ====== */
#problem { padding: 80px 24px; }
.problem-inner {
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center;
}
.problem-text .section-label { margin-bottom: 16px; }
.problem-text h2 { margin-bottom: 24px; }
.problem-text p {
  color: var(--text-secondary);
  font-size: 16px; line-height: 1.85; margin-bottom: 20px;
}
.problem-text p strong { color: var(--text); font-weight: 600; }

.problem-visual {
  position: relative;
  opacity: 0; transform: translateX(40px);
  transition: opacity 0.7s 0.2s, transform 0.7s 0.2s;
}
.problem-visual.visible { opacity: 1; transform: translateX(0); }

.chat-mockup {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 20px; padding: 20px;
  position: relative; overflow: hidden;
}
.chat-header {
  display: flex; align-items: center; gap: 12px;
  padding-bottom: 16px; margin-bottom: 16px;
  border-bottom: 1px solid var(--border);
}
.chat-avatar {
  width: 36px; height: 36px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; flex-shrink: 0;
}
.chat-avatar.tg-av { background: linear-gradient(145deg, #2AABEE, #1a8dc7); }
.chat-avatar.max-av { background: linear-gradient(145deg, #0088cc, #005fa3); }
.chat-avatar svg { width: 22px; height: 22px; }
.chat-name { font-weight: 600; font-size: 14px; color: var(--text); }
.chat-status-tg { font-size: 12px; color: var(--accent); }
.chat-status-neutral { font-size: 12px; color: var(--muted); }
.chat-msg { display: flex; gap: 10px; margin-bottom: 12px; align-items: flex-end; }
.chat-msg.out { flex-direction: row-reverse; }
.chat-bubble {
  max-width: 75%; padding: 10px 14px; border-radius: 16px;
  font-size: 13px; line-height: 1.55; color: var(--text);
  background: var(--surface2);
}
.chat-msg.out .chat-bubble {
  background: rgba(77,255,160,0.1);
  border: 1px solid rgba(77,255,160,0.15);
}
.chat-locked {
  position: absolute; inset: 0;
  background: rgba(8,9,13,0.85);
  backdrop-filter: blur(8px);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  border-radius: 20px; gap: 12px;
}
.lock-icon { font-size: 40px; }
.lock-text {
  font-family: 'Syne', sans-serif; font-weight: 700; font-size: 16px;
  color: var(--text);
}
.lock-sub { font-size: 13px; color: var(--muted); text-align: center; max-width: 200px; }
.arrow-down {
  position: absolute; bottom: -48px; left: 50%;
  transform: translateX(-50%); color: var(--accent); font-size: 24px;
  animation: bounceDown 1.5s infinite;
}
.chat-mockup2 { margin-top: 64px; }

.tag {
  display: inline-block;
  background: rgba(77,159,255,0.08);
  border: 1px solid rgba(77,159,255,0.18);
  color: #7ab8ff;
  border-radius: 100px; padding: 5px 14px;
  font-size: 12px; font-weight: 500;
  margin: 4px 4px 4px 0;
}

/* ====== FEATURES ====== */
#features { padding: 80px 24px 120px; }
.features-inner { max-width: 1100px; margin: 0 auto; }
.features-header { margin-bottom: 72px; }
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}
.feat-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px; padding: 32px;
  opacity: 0; transform: translateY(24px);
  transition: opacity 0.5s, transform 0.5s, border-color 0.3s, background 0.3s;
}
.feat-card.visible { opacity: 1; transform: translateY(0); }
.feat-card:hover { background: var(--surface2); border-color: rgba(77,159,255,0.2); }
.feat-icon { font-size: 32px; margin-bottom: 20px; }
.feat-card h3 {
  font-family: 'Syne', sans-serif;
  font-size: 18px; font-weight: 700;
  margin-bottom: 10px; letter-spacing: -0.01em;
  color: var(--text);
}
.feat-card p { font-size: 14px; line-height: 1.8; color: var(--text-secondary); }

/* ====== CTA ====== */
#cta { padding: 120px 24px; text-align: center; position: relative; overflow: hidden; }
.cta-glow {
  position: absolute; width: 800px; height: 800px;
  background: radial-gradient(circle, rgba(77,255,160,0.06) 0%, transparent 60%);
  top: 50%; left: 50%; transform: translate(-50%,-50%);
  pointer-events: none;
}
.cta-inner { max-width: 640px; margin: 0 auto; position: relative; z-index: 1; }
#cta h2 { opacity: 1; transform: none; margin-bottom: 20px; }
.cta-sub { font-size: 18px; color: var(--text-secondary); margin-bottom: 48px; line-height: 1.8; }
.cta-sub strong { color: var(--text); font-weight: 600; }

.waitlist-bar {
  display: flex; align-items: center; justify-content: center; gap: 16px;
  background: rgba(77,255,160,0.06); border: 1px solid rgba(77,255,160,0.12);
  border-radius: 100px; padding: 12px 24px; margin-bottom: 40px;
  font-size: 14px; color: var(--text-secondary);
  max-width: 400px; margin-left: auto; margin-right: auto;
  opacity: 0; animation: fadeUp 0.8s 0.3s forwards;
}
.waitlist-dots { display: flex; gap: 4px; }
.waitlist-dot {
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--surface2); border: 2px solid var(--bg);
  font-size: 11px; display: flex; align-items: center; justify-content: center;
  margin-left: -8px;
}
.waitlist-dot:first-child { margin-left: 0; }
#counter { font-weight: 700; color: var(--accent); font-family: 'Syne', sans-serif; }

.cta-form { display: flex; gap: 12px; max-width: 460px; margin: 0 auto 20px; }
.cta-input {
  flex: 1; background: var(--surface); border: 1px solid var(--border);
  border-radius: 100px; padding: 14px 22px;
  color: var(--text); font-family: 'DM Sans', sans-serif; font-size: 15px;
  outline: none; transition: border-color 0.2s;
}
.cta-input:focus { border-color: rgba(77,255,160,0.4); }
.cta-input::placeholder { color: var(--muted); }
.cta-submit {
  background: var(--accent); color: #08090d;
  padding: 14px 28px; border-radius: 100px;
  font-family: 'Syne', sans-serif; font-weight: 700; font-size: 15px;
  border: none; cursor: none; white-space: nowrap;
  transition: transform 0.2s, box-shadow 0.2s;
}
.cta-submit:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(77,255,160,0.35); }
.cta-note { font-size: 13px; color: var(--muted); }

.cta-success {
  display: none;
  background: rgba(77,255,160,0.08);
  border: 1px solid rgba(77,255,160,0.2);
  border-radius: 20px; padding: 28px 32px;
  font-family: 'Syne', sans-serif;
}
.cta-success.show { display: block; animation: fadeUp 0.5s forwards; }
.cta-success h3 { font-size: 20px; font-weight: 700; margin-bottom: 8px; color: var(--accent); }
.cta-success p { font-size: 14px; color: var(--text-secondary); font-family: 'DM Sans', sans-serif; }

/* ====== FOOTER ====== */
footer {
  padding: 40px 48px;
  border-top: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
  color: var(--muted); font-size: 13px;
  position: relative; z-index: 1;
}
footer a { color: var(--muted); text-decoration: none; transition: color 0.2s; }
footer a:hover { color: var(--text); }
footer .footer-right { color: var(--text-secondary); }

/* ====== KEYFRAMES ====== */
@keyframes pulse {
  0%,100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.4); }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes lineIn { to { transform: scaleX(1); } }
@keyframes scrollDown {
  0% { transform: scaleY(0); transform-origin: top; opacity: 1; }
  50% { transform: scaleY(1); transform-origin: top; opacity: 1; }
  100% { transform: scaleY(1); transform-origin: bottom; opacity: 0; }
}
@keyframes flowDot {
  from { left: 0; opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  to { left: calc(100% - 8px); opacity: 0; }
}
@keyframes bounceDown {
  0%,100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ====== RESPONSIVE ====== */
@media (max-width: 768px) {
  nav { padding: 16px 20px; }
  .step-card { flex: 0 0 80vw; }
  .problem-inner { grid-template-columns: 1fr; gap: 48px; }
  .cta-form { flex-direction: column; }
  footer { flex-direction: column; gap: 16px; text-align: center; }
  .card-more, .card-wa { display: none; }
}

/* ====== MOBILE ADAPTATION (Up to 768px) ====== */
@media (max-width: 768px) {
  /* 1. Отключаем кастомный курсор на мобильных устройствах */
  .cursor, .cursor-ring {
    display: none !important;
  }
  body {
    cursor: auto !important;
  }

  .hero-scroll {
    position: relative !important; /* Отменяем фиксированную позицию */
    bottom: auto !important;       /* Убираем привязку к низу экрана */
    margin-top: 100px !important;  /* Выталкиваем его вниз из-под иконок */
    left: 0 !important;
    transform: none !important;
    opacity: 1 !important;         /* Проверяем видимость */
    padding-bottom: 40px;
  }

  .messenger-visual {
    margin-bottom: 0 !important;   /* Убираем "минус", чтобы не наезжало */
    transform: scale(0.7);         /* Оставляем уменьшение для мобилок */
  }

  /* 2. Навигация */
  nav {
    padding: 16px 20px;
  }
  .nav-cta {
    padding: 8px 16px;
    font-size: 13px;
  }

  /* 3. Hero секция */
  #hero {
  padding: 100px 20px 60px;
  }
  h1 {
    font-size: 42px; /* Фиксируем размер для очень узких экранов */
    line-height: 1.1;
  }
  .hero-sub {
    font-size: 16px;
    margin: 20px auto 32px;
  }
  .hero-buttons {
    flex-direction: column;
    width: 100%;
    max-width: 300px;
  }
  .btn-primary, .btn-secondary {
    width: 100%;
    justify-content: center;
    padding: 14px 24px;
  }

  /* 4. Визуализация мессенджеров (Messenger Visual) */
  .messenger-visual {
    margin-top: 40px;
    transform: scale(0.8); /* Уменьшаем масштаб, чтобы влезло по ширине */
  }
  .card-wa, .card-more {
    display: none; /* Скрываем лишние карточки на мобилках для чистоты */
  }
  .bridge-connector {
    width: 80px; /* Укорачиваем соединитель */
  }

  /* 5. Секция "Как это работает" (How It Works) */
  .steps-track {
    overflow-x: auto;
    padding-bottom: 20px;
    scroll-snap-type: x mandatory;
    gap: 16px;
  }
  .step-card {
    flex: 0 0 85vw; /* Карточка занимает почти всю ширину экрана */
    scroll-snap-align: center;
    padding: 30px 24px;
  }
  .step-num {
    font-size: 48px;
    top: 10px;
    right: 20px;
  }

  /* 6. Проблемная секция */
  .problem-inner {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  .problem-visual {
    transform: none !important;
  }
  .chat-mockup {
    max-width: 100%;
  }

  /* 7. Особенности (Features) */
  .features-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .feat-card {
    padding: 24px;
  }

  /* 8. CTA форма */
  .cta-inner {
    padding: 0 10px;
  }
  .cta-form {
    flex-direction: column;
    gap: 12px;
  }
  .cta-input, .cta-submit {
    width: 100%;
    border-radius: 50px;
  }

  /* 9. Футер */
  footer {
    flex-direction: column;
    gap: 20px;
    text-align: center;
    padding: 32px 20px;
  }
}

/* Дополнительная правка для совсем маленьких экранов (iPhone SE и т.д.) */
@media (max-width: 380px) {
  h1 {
    font-size: 34px;
  }
  .messenger-visual {
    transform: scale(0.7);
  }
}

@media (max-width: 768px) {
  /* Улучшаем навигацию */
  nav {
    padding: 12px 16px; /* Уменьшаем отступы */
    justify-content: space-between;
  }

  .nav-logo {
    font-size: 18px;
  }

  /* Исправляем кнопку в листе ожидания */
  .nav-cta {
    padding: 8px 14px;
    font-size: 12px;
    white-space: nowrap; /* Чтобы текст не переносился */
    gap: 4px;
  }

  /* Убираем стрелочку в кнопке на мобилках, если она мешает */
  .nav-cta span {
    display: none;
  }

  /* Если кнопка всё равно мешает, можно уменьшить логотип или скрыть dot */
  .nav-logo-dot {
    width: 6px;
    height: 6px;
  }
}
