/* ============================================
   #ОКОЛОКАЧАЛКИ — Landing Page
   ============================================ */

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

:root {
    --bg: #000;
    --bg-card: #111113;
    --bg-card-hover: #1a1a1d;
    --text: #f5f5f7;
    --text-muted: #86868b;
    --blue: #0A84FF;
    --green: #30D158;
    --border: rgba(255,255,255,0.06);
    --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --max-w: 1120px;
    --r: 20px;
    --r-lg: 28px;
}

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body { font-family: var(--font); background: var(--bg); color: var(--text); line-height: 1.5; overflow-x: hidden; }
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }

.wrap { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }

/* --- NAV --- */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; padding: 16px 0; transition: background .3s, backdrop-filter .3s; }
.nav--solid { background: rgba(0,0,0,.72); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); border-bottom: 1px solid var(--border); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; }
.nav__logo { height: 20px; }
.nav__links { display: flex; align-items: center; gap: 32px; }
.nav__link { font-size: 14px; font-weight: 500; color: var(--text-muted); transition: color .2s; }
.nav__link:hover { color: var(--text); }
.nav__cta { font-size: 14px; font-weight: 600; background: var(--text); color: #000; padding: 8px 20px; border-radius: 100px; transition: opacity .2s; }
.nav__cta:hover { opacity: .85; }

/* --- HERO --- */
.hero { padding: 160px 0 100px; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.hero__badge { display: inline-block; font-size: 13px; font-weight: 600; color: var(--green); border: 1px solid rgba(48,209,88,.25); padding: 6px 16px; border-radius: 100px; margin-bottom: 28px; letter-spacing: .3px; }
.hero__title { font-size: clamp(40px, 5.5vw, 64px); font-weight: 800; line-height: 1.05; letter-spacing: -0.03em; margin-bottom: 24px; }
.hero__title span { color: var(--text-muted); }
.hero__desc { font-size: 18px; color: var(--text-muted); line-height: 1.6; max-width: 420px; margin-bottom: 36px; }
.hero__actions { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.hero__phone { position: relative; display: flex; justify-content: center; }

/* Phone mockup */
.phone { width: 280px; border-radius: 40px; overflow: hidden; border: 3px solid #333; background: #000; box-shadow: 0 40px 80px rgba(0,0,0,.5), 0 0 0 1px rgba(255,255,255,.05); }
.phone img { width: 100%; display: block; }
.phone--sm { width: 220px; border-radius: 32px; border-width: 2px; }

/* Buttons */
.btn-appstore { display: inline-flex; align-items: center; gap: 10px; background: #fff; color: #000; padding: 14px 28px; border-radius: 14px; font-size: 15px; font-weight: 600; transition: transform .2s, box-shadow .2s; }
.btn-appstore:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(255,255,255,.1); }
.btn-appstore svg { width: 22px; height: 22px; }

.btn-link { font-size: 15px; font-weight: 600; color: var(--text-muted); display: inline-flex; align-items: center; gap: 6px; transition: color .2s; }
.btn-link:hover { color: var(--text); }

/* --- SECTION TITLES --- */
.section { padding: 120px 0; }
.section--sm { padding: 80px 0; }
.section__label { font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 1.5px; color: var(--text-muted); margin-bottom: 16px; }
.section__title { font-size: clamp(32px, 4vw, 52px); font-weight: 800; line-height: 1.1; letter-spacing: -0.02em; }
.section__title span { color: var(--text-muted); }
.section__desc { font-size: 18px; color: var(--text-muted); line-height: 1.6; margin-top: 20px; max-width: 560px; }

/* --- FEATURES GRID (4 cards) --- */
.features-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 56px; }
.fcard { background: var(--bg-card); border-radius: var(--r); padding: 32px 24px; border: 1px solid var(--border); transition: background .2s; }
.fcard:hover { background: var(--bg-card-hover); }
.fcard__num { font-size: 48px; font-weight: 800; color: rgba(255,255,255,.08); line-height: 1; margin-bottom: 20px; }
.fcard__title { font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.fcard__desc { font-size: 14px; color: var(--text-muted); line-height: 1.55; }

/* --- SPLIT SECTION (image + text) --- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split--reverse { direction: rtl; }
.split--reverse > * { direction: ltr; }
.split__img { border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4/3; }
.split__img img { width: 100%; height: 100%; object-fit: cover; }
.split__text { max-width: 480px; }
.split__stats { display: flex; gap: 48px; margin-top: 32px; }
.stat__value { font-size: 32px; font-weight: 800; letter-spacing: -0.02em; }
.stat__label { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; color: var(--text-muted); margin-top: 4px; }

/* --- SCREENSHOTS CAROUSEL --- */
.carousel { display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; padding: 0 24px; }

/* --- CTA --- */
.cta { text-align: center; padding: 140px 0; }
.cta__title { font-size: clamp(36px, 5vw, 56px); font-weight: 800; line-height: 1.1; letter-spacing: -0.03em; margin-bottom: 20px; }
.cta__desc { font-size: 18px; color: var(--text-muted); margin-bottom: 40px; }
.cta__fine { font-size: 13px; color: var(--text-muted); margin-top: 16px; }

/* --- FOOTER --- */
.footer { border-top: 1px solid var(--border); padding: 32px 0; }
.footer .wrap { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
.footer__brand { font-size: 14px; font-weight: 700; }
.footer__links { display: flex; gap: 24px; }
.footer__link { font-size: 13px; color: var(--text-muted); transition: color .2s; }
.footer__link:hover { color: var(--text); }
.footer__copy { font-size: 13px; color: var(--text-muted); }

/* --- RESPONSIVE --- */
@media (max-width: 900px) {
    .hero .wrap { grid-template-columns: 1fr; text-align: center; }
    .hero__desc { margin-left: auto; margin-right: auto; }
    .hero__actions { justify-content: center; }
    .hero__phone { margin-top: 40px; }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .split { grid-template-columns: 1fr; gap: 40px; }
    .split--reverse { direction: ltr; }
    .split__text { max-width: 100%; }
    .nav__links { gap: 16px; }
    .nav__link { display: none; }
}

@media (max-width: 600px) {
    .hero { padding: 120px 0 60px; }
    .section { padding: 80px 0; }
    .features-grid { grid-template-columns: 1fr; }
    .split__stats { gap: 32px; }
    .carousel { gap: 12px; }
    .phone--sm { width: 160px; border-radius: 24px; }
    .footer .wrap { flex-direction: column; text-align: center; }
    .footer__links { flex-wrap: wrap; justify-content: center; }
}
