/* LaunchRocket.am — фирменный стиль: тёмный #080808, акцент лайм #C8FF00 */

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --bg: #080808;
  --surface: #101010;
  --surface-2: #161616;
  --surface-3: #1C1C1C;
  --border: rgba(255,255,255,0.07);
  --border-strong: rgba(255,255,255,0.14);
  --accent: #C8FF00;
  --accent-dim: rgba(200,255,0,0.10);
  --accent-glow: rgba(200,255,0,0.18);
  --text: #FFFFFF;
  --text-2: #D6D6D6;
  --muted: #8A8A8A;
  --faint: #4A4A4A;
  --red: #FF5F57;
  --fd: 'Unbounded', 'Noto Sans Armenian', sans-serif;
  --fb: 'Manrope', 'Noto Sans Armenian', sans-serif;
  --fm: 'JetBrains Mono', ui-monospace, monospace;
  --pad: clamp(20px, 5vw, 72px);
  --maxw: 1280px;
}

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--fb);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Армянский: Unbounded не содержит армянских глифов */
html[lang="hy"] { --fd: 'Noto Sans Armenian', sans-serif; --fb: 'Noto Sans Armenian', sans-serif; }
html[lang="hy"] h1, html[lang="hy"] h2, html[lang="hy"] h3 { letter-spacing: -0.01em; }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }

::selection { background: var(--accent); color: #000; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad); }

section { position: relative; padding: clamp(72px, 10vw, 140px) 0; }
section + section { border-top: 1px solid var(--border); }

/* ─── типографика ─── */
.sec-tag {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--fm); font-size: 11px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--accent);
  padding: 6px 12px; border: 1px solid var(--accent-dim);
  border-radius: 100px; background: rgba(200,255,0,0.04);
  margin-bottom: 22px;
}
.sec-tag::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); }

h1 { font-family: var(--fd); font-weight: 900; line-height: 1.03; letter-spacing: -0.035em;
     font-size: clamp(34px, 5vw, 66px); }
h2 { font-family: var(--fd); font-weight: 700; line-height: 1.08; letter-spacing: -0.03em;
     font-size: clamp(28px, 4.4vw, 52px); }
h3 { font-family: var(--fd); font-weight: 700; line-height: 1.2; letter-spacing: -0.02em;
     font-size: clamp(17px, 1.9vw, 21px); }

.lead { color: var(--muted); font-size: clamp(15px, 1.5vw, 19px); line-height: 1.65; max-width: 62ch; }

/* ─── кнопки ─── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--fd); font-weight: 700; font-size: 13px; letter-spacing: -0.01em;
  padding: 16px 28px; border-radius: 100px; border: 1px solid transparent;
  cursor: pointer; transition: transform .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
  text-align: center;
}
.btn-primary { background: var(--accent); color: #000; }
.btn-primary:hover { background: #fff; transform: translateY(-2px); }
.btn-ghost { border-color: var(--border-strong); color: var(--text); background: transparent; }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }
.btn-lg { padding: 19px 34px; font-size: 14px; }

/* ─── навигация ─── */
nav {
  position: fixed; inset: 0 0 auto 0; z-index: 300;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 18px var(--pad); transition: all .35s ease;
}
nav.scrolled { background: rgba(8,8,8,.9); backdrop-filter: blur(20px); border-bottom: 1px solid var(--border); padding: 12px var(--pad); }
.brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand img { width: 26px; height: 26px; object-fit: contain; }
.brand span { font-family: var(--fd); font-weight: 700; font-size: 15px; letter-spacing: -0.02em; }
.brand span i { color: var(--accent); font-style: normal; }
.nav-links { display: flex; gap: 26px; font-size: 13.5px; color: var(--muted); }
.nav-links a { transition: color .2s; white-space: nowrap; }
.nav-links a:hover { color: var(--text); }
.nav-right { display: flex; align-items: center; gap: 14px; }

.lang { display: flex; gap: 2px; border: 1px solid var(--border); border-radius: 100px; padding: 3px; }
.lang button {
  background: none; border: 0; cursor: pointer; padding: 5px 10px; border-radius: 100px;
  font-family: var(--fm); font-size: 11px; letter-spacing: .06em; color: var(--muted); transition: all .2s;
}
.lang button:hover { color: var(--text); }
.lang button.on { background: var(--accent); color: #000; font-weight: 700; }

.burger { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.burger span { display: block; width: 20px; height: 2px; background: var(--text); margin: 4px 0; transition: .25s; }

/* ─── HERO ─── */
.hero { padding-top: clamp(120px, 16vw, 180px); padding-bottom: clamp(60px, 8vw, 100px); border-top: 0; }
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 span { display: block; }
.hero h1 .accent { color: var(--accent); }
.hero .lead { margin: 26px 0 34px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.cta-note { font-family: var(--fm); font-size: 11.5px; color: var(--faint); letter-spacing: .02em; margin-top: 12px; }

.hero-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin-top: 56px;
  background: var(--border); border: 1px solid var(--border); border-radius: 14px; overflow: hidden; }
.hero-stats div { background: var(--bg); padding: 18px 16px; }
.hero-stats b { display: block; font-family: var(--fd); font-weight: 700; font-size: clamp(17px, 2vw, 23px); letter-spacing: -0.02em; }
.hero-stats small { display: block; color: var(--faint); font-size: 11.5px; line-height: 1.4; margin-top: 6px; }

/* «Счёт за рутину» */
.receipt {
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--border-strong); border-radius: 18px;
  padding: 26px; font-family: var(--fm); font-size: 13px;
  box-shadow: 0 30px 80px rgba(0,0,0,.6);
}
.receipt-head { display: flex; justify-content: space-between; align-items: center;
  padding-bottom: 16px; margin-bottom: 16px; border-bottom: 1px dashed var(--border-strong);
  font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.receipt-head b { color: var(--accent); }
.receipt-row { display: flex; justify-content: space-between; gap: 14px; padding: 9px 0; color: var(--text-2); }
.receipt-row span:last-child { color: var(--muted); white-space: nowrap; }
.receipt-total { display: flex; justify-content: space-between; align-items: baseline; gap: 14px;
  margin-top: 16px; padding-top: 16px; border-top: 1px dashed var(--border-strong); }
.receipt-total span { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.receipt-total b { font-family: var(--fd); font-size: clamp(24px, 3vw, 34px); color: var(--accent); letter-spacing: -0.02em; }
.receipt-foot { margin-top: 14px; font-size: 11px; color: var(--faint); line-height: 1.5; }

/* ─── сетки карточек ─── */
.grid { display: grid; gap: 16px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: 16px;
  padding: 26px; transition: border-color .25s, transform .25s, background .25s;
}
.card:hover { border-color: var(--border-strong); transform: translateY(-3px); }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 14.5px; line-height: 1.6; }
.card-num { font-family: var(--fm); font-size: 11px; color: var(--accent); letter-spacing: .12em; margin-bottom: 14px; }

/* блок «как делаем мы» */
.ours { margin-top: 20px; background: linear-gradient(135deg, rgba(200,255,0,.07), rgba(200,255,0,.01));
  border: 1px solid var(--accent-dim); border-radius: 16px; padding: clamp(24px, 3vw, 34px); }
.ours h3 { color: var(--accent); margin-bottom: 18px; }
.ours ul { list-style: none; display: grid; gap: 12px; }
.ours li { display: flex; gap: 12px; color: var(--text-2); font-size: 15px; line-height: 1.55; }
.ours li::before { content: '→'; color: var(--accent); flex-shrink: 0; font-family: var(--fm); }

/* ─── АУДИТ ─── */
.audit-box { display: grid; grid-template-columns: 1fr .8fr; gap: clamp(24px, 4vw, 56px);
  background: var(--surface); border: 1px solid var(--border-strong); border-radius: 22px;
  padding: clamp(26px, 4vw, 52px); margin-top: 34px; }
.audit-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-top: 30px; }
.audit-cols h4, .price-card h4 { font-family: var(--fm); font-size: 11px; letter-spacing: .12em;
  text-transform: uppercase; color: var(--faint); margin-bottom: 14px; }
.audit-cols ul { list-style: none; display: grid; gap: 11px; }
.audit-cols li { display: flex; gap: 10px; font-size: 14.5px; color: var(--text-2); line-height: 1.5; }
.audit-cols li::before { content: '—'; color: var(--accent); flex-shrink: 0; }

.price-card { background: var(--bg); border: 1px solid var(--border); border-radius: 18px;
  padding: clamp(22px, 3vw, 32px); align-self: start; position: sticky; top: 96px; }
.price-old { font-family: var(--fm); font-size: 15px; color: var(--faint); text-decoration: line-through; }
.price-new { font-family: var(--fd); font-weight: 900; font-size: clamp(40px, 6vw, 64px);
  color: var(--accent); letter-spacing: -0.04em; line-height: 1; margin: 6px 0 14px; }
.price-note { font-size: 13px; color: var(--muted); line-height: 1.55; margin-bottom: 22px; }
.price-card .btn { width: 100%; }
.guarantee { margin-top: 22px; padding-top: 22px; border-top: 1px solid var(--border); }
.guarantee b { display: inline-block; font-family: var(--fm); font-size: 10.5px; letter-spacing: .12em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 8px; }
.guarantee p { font-size: 13px; color: var(--muted); line-height: 1.6; }

/* ─── каталог ─── */
.cat-card { position: relative; }
.cat-card .tag { position: absolute; top: 22px; right: 22px; font-family: var(--fm); font-size: 10px;
  letter-spacing: .1em; text-transform: uppercase; padding: 4px 9px; border-radius: 100px; }
.tag.save { background: rgba(255,255,255,.07); color: var(--text-2); }
.tag.earn { background: var(--accent); color: #000; font-weight: 700; }
.cat-card h3 { padding-right: 92px; }
.cat-card .metric { display: flex; gap: 9px; margin-top: 16px; padding-top: 16px;
  border-top: 1px solid var(--border); font-size: 12.5px; color: var(--accent); line-height: 1.45; }
.cat-card .metric::before { content: '↗'; flex-shrink: 0; }

/* ─── примеры ─── */
.tabs { display: inline-flex; gap: 4px; padding: 4px; border: 1px solid var(--border);
  border-radius: 100px; margin: 26px 0 30px; }
.tabs button { background: none; border: 0; cursor: pointer; padding: 11px 22px; border-radius: 100px;
  font-family: var(--fd); font-weight: 700; font-size: 12.5px; color: var(--muted); transition: all .2s; }
.tabs button.on { background: var(--accent); color: #000; }

.ex-card { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; overflow: hidden; }
.ex-card > h3 { padding: 24px 26px 0; }
.ex-rows { padding: 18px 26px 0; display: grid; gap: 14px; }
.ex-row { display: grid; grid-template-columns: 74px 1fr; gap: 14px; align-items: start; }
.ex-row b { font-family: var(--fm); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase;
  color: var(--faint); padding-top: 3px; }
.ex-row.before p { color: var(--muted); }
.ex-row p { font-size: 14px; line-height: 1.55; color: var(--text-2); }
.ex-effect { margin-top: 20px; padding: 18px 26px; background: rgba(200,255,0,.06);
  border-top: 1px solid var(--accent-dim); }
.ex-effect b { display: block; font-family: var(--fd); font-weight: 700; font-size: 21px;
  color: var(--accent); letter-spacing: -0.02em; }
.ex-effect small { display: block; margin-top: 8px; font-size: 12.5px; color: var(--muted); line-height: 1.55; }
.disclaimer { margin-top: 24px; font-size: 12.5px; color: var(--faint); line-height: 1.6; max-width: 82ch; }

/* ─── калькулятор ─── */
.calc-box { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 48px);
  background: var(--surface); border: 1px solid var(--border-strong); border-radius: 22px;
  padding: clamp(26px, 4vw, 46px); margin-top: 32px; }
.field { margin-bottom: 26px; }
.field label { display: flex; justify-content: space-between; align-items: baseline; gap: 12px;
  font-size: 13.5px; color: var(--text-2); margin-bottom: 12px; }
.field label b { font-family: var(--fm); font-size: 15px; color: var(--accent); }
input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 3px;
  background: var(--surface-3); border-radius: 3px; outline: none; }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 20px; height: 20px;
  border-radius: 50%; background: var(--accent); cursor: pointer; border: 3px solid var(--bg);
  box-shadow: 0 0 0 1px var(--accent); }
input[type=range]::-moz-range-thumb { width: 20px; height: 20px; border-radius: 50%; background: var(--accent);
  cursor: pointer; border: 3px solid var(--bg); }

.calc-res { background: var(--bg); border: 1px solid var(--border); border-radius: 18px;
  padding: clamp(22px, 3vw, 32px); display: flex; flex-direction: column; justify-content: center; }
.calc-money { font-family: var(--fd); font-weight: 900; font-size: clamp(38px, 6vw, 62px);
  color: var(--accent); letter-spacing: -0.04em; line-height: 1; }
.calc-money-lbl { font-size: 13px; color: var(--muted); margin-top: 8px; }
.calc-sub { display: flex; flex-wrap: wrap; gap: 26px; margin: 26px 0; padding: 22px 0;
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.calc-sub div b { display: block; font-family: var(--fd); font-size: 22px; letter-spacing: -0.02em; }
.calc-sub div small { display: block; color: var(--faint); font-size: 12px; margin-top: 4px; max-width: 22ch; }
.calc-note { font-size: 12px; color: var(--faint); line-height: 1.55; margin-bottom: 20px; }

/* ─── шаги ─── */
.step { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 26px;
  position: relative; overflow: hidden; }
.step::after { content: attr(data-n); position: absolute; right: 14px; bottom: -14px;
  font-family: var(--fd); font-weight: 900; font-size: 78px; color: rgba(255,255,255,.03); line-height: 1; }
.step .card-num { color: var(--accent); }

/* ─── FAQ ─── */
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q { width: 100%; background: none; border: 0; cursor: pointer; text-align: left;
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 24px 0; font-family: var(--fd); font-weight: 700; font-size: clamp(15px, 1.7vw, 18px);
  letter-spacing: -0.01em; transition: color .2s; }
.faq-q:hover { color: var(--accent); }
.faq-q i { flex-shrink: 0; width: 26px; height: 26px; border: 1px solid var(--border-strong);
  border-radius: 50%; display: grid; place-items: center; font-style: normal; font-family: var(--fm);
  font-size: 14px; transition: .25s; }
.faq-item.open .faq-q i { background: var(--accent); color: #000; border-color: var(--accent); transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.faq-a p { padding: 0 0 24px; color: var(--muted); font-size: 15px; line-height: 1.65; max-width: 76ch; }

/* ─── финальный блок и форма ─── */
.final { background: linear-gradient(160deg, rgba(200,255,0,.08), transparent 60%); }
.final-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
form { display: grid; gap: 14px; background: var(--surface); border: 1px solid var(--border-strong);
  border-radius: 20px; padding: clamp(24px, 3.5vw, 38px); }
form input, form textarea {
  width: 100%; background: var(--bg); border: 1px solid var(--border); border-radius: 12px;
  padding: 15px 17px; font-size: 14.5px; transition: border-color .2s; outline: none;
}
form input::placeholder, form textarea::placeholder { color: var(--faint); }
form input:focus, form textarea:focus { border-color: var(--accent); }
form textarea { min-height: 104px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-note { font-size: 12px; color: var(--faint); line-height: 1.5; }
.consent { display: flex; gap: 11px; align-items: flex-start; cursor: pointer;
  font-size: 12.5px; line-height: 1.5; color: var(--muted); }
.consent input { appearance: none; -webkit-appearance: none; flex-shrink: 0;
  width: 18px; height: 18px; margin-top: 1px; border: 1px solid var(--border-strong);
  border-radius: 5px; background: var(--bg); cursor: pointer; transition: .2s; position: relative; }
.consent input:checked { background: var(--accent); border-color: var(--accent); }
.consent input:checked::after { content: '✓'; position: absolute; inset: 0; display: grid; place-items: center;
  color: #000; font-size: 12px; font-weight: 700; }
.consent input:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.consent a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.consent a:hover { color: #fff; }
.form-msg { display: none; padding: 14px 16px; border-radius: 12px; font-size: 14px; }
.form-msg.ok { display: block; background: rgba(200,255,0,.1); color: var(--accent); border: 1px solid var(--accent-dim); }
.form-msg.err { display: block; background: rgba(255,95,87,.1); color: var(--red); border: 1px solid rgba(255,95,87,.25); }

/* ─── подвал ─── */
footer { padding: 56px 0 40px; border-top: 1px solid var(--border); }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.foot-grid h5 { font-family: var(--fm); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--faint); margin-bottom: 14px; }
.foot-grid a, .foot-grid p { color: var(--muted); font-size: 14px; line-height: 1.9; display: block; }
.foot-grid a:hover { color: var(--accent); }
.foot-bottom { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--border);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  font-size: 12.5px; color: var(--faint); }

/* ─── анимация появления ─── */
.rv { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.rv.in { opacity: 1; transform: none; }

/* ─── адаптив ─── */
@media (max-width: 1080px) {
  .hero-grid, .audit-box, .calc-box, .final-grid { grid-template-columns: 1fr; }
  .price-card { position: static; }
  .g4 { grid-template-columns: repeat(2, 1fr); }
  .g3 { grid-template-columns: repeat(2, 1fr); }
  .nav-links { display: none; }
  .burger { display: block; }
  nav.open .nav-links { display: flex; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; gap: 0; background: rgba(8,8,8,.98); backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border); padding: 8px var(--pad) 20px; }
  nav.open .nav-links a { padding: 13px 0; border-bottom: 1px solid var(--border); font-size: 15px; }
}
@media (max-width: 680px) {
  .nav-right > .btn { display: none; }
  .brand span { font-size: 13px; }
  .brand img { width: 22px; height: 22px; }
  .lang button { padding: 5px 8px; font-size: 10px; }
  nav { padding: 14px var(--pad); gap: 10px; }
}
.only-mobile { display: none; }
@media (max-width: 1080px) { nav.open .only-mobile { display: block; color: var(--accent); } }

@media (max-width: 760px) {
  .g2, .g3, .g4, .audit-cols, .form-row { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .foot-grid { grid-template-columns: 1fr; gap: 26px; }
  .hero-cta .btn { width: 100%; }
  .ex-row { grid-template-columns: 1fr; gap: 4px; }
  .tabs { width: 100%; }
  .tabs button { flex: 1; padding: 12px 10px; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  .rv { opacity: 1; transform: none; }
}
