/* Лендинг fixlife.app — цвета как в тёмной теме приложения Finance */
:root {
  --bg: #0b0a14;
  --surface: #16141f;
  --surface-2: #201d2c;
  --border: #2a2638;
  --text: #f4f2fb;
  --muted: #9a95ad;
  --accent: #7c5cff;
  --accent-2: #5b3be6;
  --income: #34d399;
  --radius: 20px;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background:
    radial-gradient(80rem 40rem at 70% -10%, rgba(124, 92, 255, 0.28), transparent 60%),
    radial-gradient(50rem 30rem at -10% 30%, rgba(91, 59, 230, 0.16), transparent 60%),
    var(--bg);
  background-repeat: no-repeat;
  color: var(--text);
  font: 16px/1.55 -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.15; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.6rem, 4vw, 2.3rem); margin-bottom: 1.5rem; }
.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 640px) { .wrap { padding: 0 28px; } }
.section { padding: 56px 16px; }
@media (min-width: 640px) { .section { padding: 80px 28px; } }

/* Шапка */
.top { position: sticky; top: 0; z-index: 10; background: rgba(11, 10, 20, 0.72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid rgba(255, 255, 255, 0.05); }
.top-row { display: flex; align-items: center; gap: 16px; height: 60px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.1rem; text-decoration: none; }
.brand img { border-radius: 9px; }
.top-nav { display: none; margin-left: auto; gap: 24px; }
.top-nav a { color: var(--muted); text-decoration: none; font-size: 0.95rem; }
.top-nav a:hover { color: var(--text); }
@media (min-width: 720px) { .top-nav { display: flex; } }
.lang { margin-left: auto; background: var(--surface-2); color: var(--text); border: 1px solid var(--border); border-radius: 10px; padding: 6px 12px; font: inherit; font-size: 0.85rem; font-weight: 600; cursor: pointer; }
@media (min-width: 720px) { .lang { margin-left: 8px; } }

/* Главный блок */
.hero { display: grid; gap: 40px; align-items: center; padding-top: 40px; padding-bottom: 24px; }
@media (min-width: 900px) { .hero { grid-template-columns: 1.1fr 0.9fr; padding-top: 72px; } }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 18px; padding: 6px 12px 6px 8px; border-radius: 999px; background: rgba(124, 92, 255, 0.14); color: #c9bbff; font-weight: 600; font-size: 0.9rem; }
.eyebrow img { border-radius: 6px; }
.eyebrow span { color: var(--muted); font-weight: 500; }
.hero h1 { font-size: clamp(2.1rem, 6.5vw, 3.6rem); }
.lead { color: var(--muted); font-size: 1.1rem; margin: 18px 0 28px; max-width: 34rem; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 22px; border-radius: 14px; font-weight: 600; text-decoration: none; transition: transform 0.15s, background 0.15s; }
.btn:active { transform: scale(0.98); }
.btn-primary { background: linear-gradient(135deg, #8a6bff, var(--accent-2)); color: #fff; box-shadow: 0 10px 30px -10px rgba(124, 92, 255, 0.7); }
.btn-ghost { background: var(--surface-2); border: 1px solid var(--border); }
.btn-ghost:hover { background: #2a2638; }
@media (max-width: 480px) { .cta-row .btn { width: 100%; } }
.note { color: var(--muted); font-size: 0.9rem; margin: 16px 0 0; }
.hero-phone { display: flex; justify-content: center; }
.hero-phone .phone { width: min(300px, 78vw); transform: rotate(-3deg); }

/* Рамка телефона */
.phone { margin: 0; padding: 9px; border-radius: 44px; background: linear-gradient(160deg, #3a3550, #16141f); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(255, 255, 255, 0.06) inset; }
.phone img { width: 100%; height: auto; border-radius: 36px; }

/* Карточки возможностей */
.grid { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 600px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .grid { grid-template-columns: repeat(3, 1fr); } }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; }
.card h3 { font-size: 1.1rem; margin: 14px 0 6px; }
.card p { margin: 0; color: var(--muted); font-size: 0.95rem; }
.ico { display: inline-flex; width: 44px; height: 44px; align-items: center; justify-content: center; border-radius: 13px; background: rgba(124, 92, 255, 0.15); }
.ico svg { width: 22px; height: 22px; fill: none; stroke: #a48bff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* Экраны — горизонтальная лента */
.shots { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 8px max(16px, calc((100vw - 1120px) / 2 + 28px)) 24px; scrollbar-width: none; }
.shots::-webkit-scrollbar { display: none; }
.shots .phone { flex: 0 0 auto; width: min(240px, 66vw); scroll-snap-align: center; }
.shots figcaption { text-align: center; color: var(--muted); font-size: 0.9rem; padding: 14px 0 4px; }

/* Цены */
.plans { display: grid; gap: 16px; }
@media (min-width: 760px) { .plans { grid-template-columns: 1fr 1fr; } }
.plan { display: flex; flex-direction: column; gap: 14px; background: var(--surface); border: 1px solid var(--border); border-radius: 24px; padding: 26px; }
.plan h3 { font-size: 1.3rem; }
.plan-pro { border-color: rgba(124, 92, 255, 0.6); background: linear-gradient(160deg, rgba(124, 92, 255, 0.16), var(--surface) 55%); }
.price { margin: 0; font-size: 1.5rem; font-weight: 700; }
.price small { display: block; font-size: 0.9rem; font-weight: 500; color: var(--muted); }
.plan ul { list-style: none; margin: 0 0 6px; padding: 0; display: grid; gap: 10px; flex: 1; }
.plan li { position: relative; padding-left: 28px; color: #d9d5e8; }
.plan li::before { content: ''; position: absolute; left: 2px; top: 0.35em; width: 16px; height: 16px; border-radius: 50%; background: rgba(52, 211, 153, 0.16) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2334d399' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 10px no-repeat; }
.small { margin: 0; color: var(--muted); font-size: 0.85rem; text-align: center; }

/* Установка */
.steps { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 12px; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.steps li { display: flex; gap: 14px; align-items: flex-start; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px; }
.steps b { flex: 0 0 auto; display: inline-flex; width: 32px; height: 32px; align-items: center; justify-content: center; border-radius: 50%; background: var(--accent); }
.link { color: #b4a2ff; font-weight: 600; text-decoration: none; }

/* Вопросы */
details { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; margin-bottom: 10px; }
summary { cursor: pointer; list-style: none; padding: 18px 48px 18px 20px; font-weight: 600; position: relative; }
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); color: var(--muted); font-size: 1.4rem; font-weight: 400; transition: transform 0.2s; }
details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
details p { margin: 0; padding: 0 20px 18px; color: var(--muted); }

/* Бренд и подвал */
.brand-block { text-align: center; }
.brand-block p { color: var(--muted); max-width: 36rem; margin: -8px auto 24px; }
.foot { border-top: 1px solid var(--border); padding: 28px 0 calc(28px + env(safe-area-inset-bottom)); color: var(--muted); font-size: 0.9rem; }
.foot-row { display: flex; flex-wrap: wrap; gap: 12px 24px; }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--text); }
