:root {
    --brand: #0ea5e9;
    --brand-dark: #0284c7;
    --brand-light: #e0f2fe;
    --brand-2: #6366f1;
    --gradient: linear-gradient(135deg, #0ea5e9 0%, #6366f1 100%);
    --text: #0f172a;
    --muted: #64748b;
    --border: #e2e8f0;
}

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

body {
    font-family: 'Instrument Sans', ui-sans-serif, system-ui, sans-serif;
    color: var(--text); background: #fff; line-height: 1.6;
}

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

a { text-decoration: none; color: inherit; }

/* ── ANNOUNCE BAR ── */
.announce-bar {
    background: var(--gradient); color: #fff;
    padding: 10px 5%; font-size: 0.85rem; font-weight: 500;
    display: flex; align-items: center; justify-content: center; gap: 10px;
    position: relative;
}
.announce-bar__text { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; justify-content: center; }
.announce-bar__desktop { display: inline; }
.announce-bar__mobile  { display: none; }
.announce-bar a {
    color: #fff; font-weight: 700;
    white-space: nowrap;
    display: inline-flex; align-items: center; gap: 5px;
    background: rgba(255,255,255,.2); padding: 3px 10px;
    border-radius: 50px; transition: background .15s;
}
.announce-bar a:hover { background: rgba(255,255,255,.3); }
.announce-bar__close {
    position: absolute; right: 14px; top: 50%; transform: translateY(-50%);
    background: rgba(255,255,255,.2); border: none; color: #fff;
    width: 24px; height: 24px; border-radius: 50%; cursor: pointer;
    font-size: 14px; line-height: 1; display: flex; align-items: center; justify-content: center;
    transition: background .15s; flex-shrink: 0;
}
.announce-bar__close:hover { background: rgba(255,255,255,.35); }

/* ── MODAL ── */
.modal-overlay {
    display: none; position: fixed; inset: 0; z-index: 200;
    background: rgba(0,0,0,.55); backdrop-filter: blur(4px);
    align-items: center; justify-content: center; padding: 16px;
}
.modal-overlay.active { display: flex; }
.modal {
    background: #fff; border-radius: 24px;
    padding: 48px 40px; max-width: 460px; width: 100%;
    text-align: center; position: relative;
    box-shadow: 0 24px 64px rgba(0,0,0,.15);
    animation: modalIn .25s ease;
}
@keyframes modalIn { from { opacity:0; transform:scale(.95) translateY(8px); } to { opacity:1; transform:none; } }
.modal-close {
    position: absolute; top: 16px; right: 20px;
    background: none; border: none; cursor: pointer;
    color: var(--muted); font-size: 1.4rem; line-height: 1;
}
.modal-close:hover { color: var(--text); }
.modal-icon { font-size: 3rem; margin-bottom: 16px; }
.modal h2 { font-size: 1.4rem; font-weight: 700; margin-bottom: 10px; }
.modal p { font-size: 0.9rem; color: var(--muted); line-height: 1.6; margin-bottom: 28px; }
.modal-actions { display: flex; flex-direction: column; gap: 10px; }
.btn-telegram {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 14px 28px; border-radius: 10px;
    background: #0ea5e9; color: #fff; font-weight: 600; font-size: 0.95rem;
    transition: opacity .2s, transform .15s, box-shadow .2s;
}
.btn-telegram:hover { opacity: .9; transform: translateY(-1px); box-shadow: 0 4px 16px rgba(14,165,233,.4); }
.modal-skip { font-size: 0.82rem; color: var(--muted); cursor: pointer; }
.modal-skip:hover { color: var(--text); }

/* ── BUTTONS ── */
.btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 10px 22px; border-radius: 8px;
    font-weight: 600; font-size: 0.9rem; cursor: pointer; transition: all 0.2s;
}
.btn-primary { background: var(--gradient); color: #fff; border: none; }
.btn-primary:hover { opacity: .9; transform: translateY(-1px); box-shadow: 0 4px 20px rgba(14,165,233,0.4); }
.btn-outline { background: transparent; color: var(--brand); border: 1.5px solid var(--brand); }
.btn-outline:hover { background: var(--brand-light); }
.btn-ghost { background: transparent; color: var(--muted); border: 1.5px solid var(--border); }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); }
.btn-lg { padding: 14px 32px; font-size: 1rem; border-radius: 10px; }

/* ── NAV ── */
.header-wrap { position: sticky; top: 0; z-index: 50; }
.nav {
    display: flex; align-items: center; justify-content: space-between;
    padding: 0 5%; height: 68px;
    background: rgba(255,255,255,0.95); backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
}
.nav-logo { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 1.1rem; }
.nav-logo svg { width: 32px; height: 32px; }
.nav-links {
    display: flex; align-items: center; gap: 32px; list-style: none;
    font-size: 0.9rem; font-weight: 500; color: var(--muted);
}
.nav-links a:hover { color: var(--brand); }
.nav-actions { display: flex; align-items: center; gap: 10px; }

/* ── HERO ── */
.hero {
    display: flex; flex-direction: column; align-items: center; text-align: center;
    padding: 96px 5% 80px;
    background: linear-gradient(160deg, #f0f9ff 0%, #eef2ff 50%, #fff 100%);
    position: relative; overflow: hidden;
}
.hero__icons { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.hero > *:not(.hero__icons) { position: relative; z-index: 1; }
.hero__icon { position: absolute; opacity: .18; border-radius: 14px; }

@keyframes ifl1 { 0%,100%{transform:translate(0,0) rotate(0deg)} 33%{transform:translate(14px,-22px) rotate(5deg)} 66%{transform:translate(-8px,-38px) rotate(-3deg)} }
@keyframes ifl2 { 0%,100%{transform:translate(0,0) rotate(0deg)} 33%{transform:translate(-18px,-14px) rotate(-6deg)} 66%{transform:translate(10px,-32px) rotate(4deg)} }
@keyframes ifl3 { 0%,100%{transform:translate(0,0) rotate(0deg)} 50%{transform:translate(8px,-28px) rotate(3deg)} }
@keyframes ifl4 { 0%,100%{transform:translate(0,0) rotate(0deg)} 25%{transform:translate(18px,-10px) rotate(4deg)} 50%{transform:translate(12px,-32px) rotate(-2deg)} 75%{transform:translate(-6px,-18px) rotate(6deg)} }

.hero__icon--1  { width:44px; top:8%;    left:5%;   animation:ifl1 14s ease-in-out infinite; }
.hero__icon--2  { width:40px; top:13%;   right:6%;  animation:ifl2 18s ease-in-out infinite 2s; }
.hero__icon--3  { width:38px; bottom:22%;left:8%;   animation:ifl3 16s ease-in-out infinite 1s; }
.hero__icon--4  { width:42px; bottom:16%;right:5%;  animation:ifl4 20s ease-in-out infinite 3s; }
.hero__icon--5  { width:34px; top:44%;   left:3%;   animation:ifl2 12s ease-in-out infinite 4s; }
.hero__icon--6  { width:36px; top:42%;   right:4%;  animation:ifl1 15s ease-in-out infinite 1.5s; }
.hero__icon--7  { width:32px; top:7%;    left:40%;  animation:ifl3 22s ease-in-out infinite 5s; }
.hero__icon--8  { width:36px; bottom:9%; right:33%; animation:ifl4 17s ease-in-out infinite 2.5s; }
.hero__icon--9  { width:30px; bottom:36%;left:19%;  animation:ifl1 19s ease-in-out infinite 6s; }
.hero__icon--10 { width:38px; top:28%;   right:19%; animation:ifl2 13s ease-in-out infinite 3.5s; }
.hero__icon--11 { width:34px; bottom:13%;left:50%;  animation:ifl3 21s ease-in-out infinite 7s; }

.hero-logo {
    margin-bottom: 48px; animation: float 3s ease-in-out infinite;
    filter: drop-shadow(0 0 32px rgba(14,165,233,.4));
}
.hero-logo svg { width: 100px; height: 100px; }
@keyframes float { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-10px)} }

.hero-badge {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 6px 14px; border-radius: 999px;
    background: var(--brand-light); color: var(--brand);
    font-size: 0.8rem; font-weight: 600; letter-spacing: 0.04em;
    margin-bottom: 28px; text-transform: uppercase;
    border: 1px solid rgba(38,168,230,.2);
}
.hero-badge__dot {
    width: 7px; height: 7px; border-radius: 50%; background: var(--brand);
    animation: pulse-dot 1.6s ease-in-out infinite; flex-shrink: 0;
}
@keyframes pulse-dot {
    0%,100% { opacity: 1; transform: scale(1); }
    50% { opacity: .4; transform: scale(.65); }
}
.hero h1 {
    font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 700; line-height: 1.15;
    max-width: 760px; margin-bottom: 24px;
}
.hero h1 span {
    background: var(--gradient);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero p { font-size: 1.1rem; color: var(--muted); max-width: 560px; margin-bottom: 40px; }
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; }

/* ── SECTIONS ── */
.section { padding: 80px 5%; }
.section--dark { background: #0f172a; }
.section--gray { background: #f8fafc; }
.section-inner { max-width: 1100px; margin: 0 auto; }
.section-label {
    font-size: 0.8rem; font-weight: 600; letter-spacing: 0.08em;
    text-transform: uppercase; color: var(--brand); margin-bottom: 12px;
}
.section-title { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 700; margin-bottom: 16px; }
.section-title--white { color: #fff; }
.section-sub { font-size: 1rem; color: var(--muted); max-width: 520px; margin-bottom: 56px; }
.section-sub--white { color: rgba(255,255,255,.5); }

/* ── SECTION HEADER ── */
.section-header { margin-bottom: 56px; }
.section-header--center { text-align: center; }
.section-header--center .section-sub { margin-left: auto; margin-right: auto; margin-bottom: 0; }

/* ── FEATURES ── */
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
.feature-card {
    padding: 32px 28px; border-radius: 16px; border: 1px solid var(--border);
    transition: all 0.2s; position: relative; overflow: hidden;
}
.feature-card::before {
    content: ''; position: absolute; left: 0; top: 0; bottom: 0;
    width: 3px; background: var(--brand);
    transform: scaleY(0); transform-origin: bottom;
    transition: transform .25s ease; border-radius: 3px 0 0 3px;
}
.feature-card:hover { border-color: var(--brand); box-shadow: 0 8px 32px rgba(38,168,230,0.12); transform: translateY(-4px); }
.feature-card:hover::before { transform: scaleY(1); }
.feature-icon {
    width: 48px; height: 48px; border-radius: 12px; background: var(--brand-light);
    display: flex; align-items: center; justify-content: center; margin-bottom: 20px;
}
.feature-icon svg { width: 22px; height: 22px; }
.feature-card h3 { font-size: 1rem; font-weight: 600; margin-bottom: 8px; }
.feature-card p { font-size: 0.88rem; color: var(--muted); line-height: 1.6; }

/* ── FREE LIKES BANNER ── */
.free-banner {
    margin: 0 5%; padding: 36px 48px;
    background: linear-gradient(135deg, var(--brand-light) 0%, #d6effa 100%);
    border: 1.5px solid rgba(38,168,230,.3); border-radius: 20px;
    display: flex; align-items: center; justify-content: space-between; gap: 32px;
    flex-wrap: wrap;
}
.free-banner__left { display: flex; align-items: center; gap: 20px; }
.free-banner__icon {
    width: 56px; height: 56px; border-radius: 16px;
    background: var(--brand); flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
}
.free-banner__icon svg { width: 26px; height: 26px; }
.free-banner__badge {
    display: inline-block; background: var(--brand); color: #fff;
    font-size: 0.7rem; font-weight: 800; letter-spacing: 0.06em;
    text-transform: uppercase; padding: 3px 10px; border-radius: 50px; margin-bottom: 6px;
}
.free-banner h3 { font-size: 1.1rem; font-weight: 700; color: var(--text); margin-bottom: 4px; }
.free-banner p { font-size: 0.875rem; color: var(--muted); line-height: 1.5; max-width: 480px; }

/* ── SERVICES ── */
.catalog-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
    max-width: 1100px; margin: 0 auto;
}
.catalog-card {
    background: #fff; border: 1px solid var(--border); border-radius: 16px;
    padding: 20px 24px; transition: all .2s;
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.catalog-card:hover {
    border-color: rgba(38,168,230,.35); box-shadow: 0 4px 20px rgba(0,0,0,.06); transform: translateY(-1px);
}
.catalog-card__left { display: flex; align-items: center; gap: 14px; min-width: 0; }
.catalog-card__icon {
    flex-shrink: 0; width: 40px; height: 40px;
    border-radius: 10px; display: flex; align-items: center; justify-content: center;
}
.catalog-card__icon svg { width: 20px; height: 20px; }
.catalog-card__name { font-size: .95rem; font-weight: 600; color: var(--text); }
.catalog-card__price { font-size: .78rem; color: var(--muted); margin-top: 2px; }
.catalog-card__badge {
    background: var(--brand-light); color: var(--brand);
    font-size: .72rem; font-weight: 700; padding: 4px 12px; border-radius: 50px;
    white-space: nowrap; flex-shrink: 0;
}

/* ── HOW IT WORKS ── */
.steps-grid {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
    position: relative; max-width: 1100px; margin: 0 auto;
}
.steps-grid::before {
    content: ''; position: absolute; top: 36px;
    left: calc(12.5% + 36px); right: calc(12.5% + 36px);
    height: 2px; background: linear-gradient(90deg, var(--brand), rgba(38,168,230,.1));
}
.step { text-align: center; padding: 0 20px; }
.step__num {
    width: 72px; height: 72px; border-radius: 50%;
    background: var(--gradient);
    color: #fff; font-size: 1.3rem; font-weight: 800;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 24px; position: relative; z-index: 1;
    box-shadow: 0 8px 24px rgba(14,165,233,.4);
}
.step h3 { font-size: 1rem; font-weight: 700; color: #fff; margin-bottom: 8px; }
.step p { font-size: .875rem; color: rgba(255,255,255,.45); line-height: 1.6; }

/* ── GUARANTEES ── */
.guarantees-grid {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
    max-width: 1100px; margin: 0 auto;
}
.guarantee-card {
    background: #fff; border: 1px solid #e8edf3; border-radius: 20px;
    padding: 32px 24px; text-align: center; transition: box-shadow .2s, transform .2s;
    border-top: 3px solid var(--brand);
}
.guarantee-card:hover { box-shadow: 0 8px 32px rgba(38,168,230,.1); transform: translateY(-3px); }
.guarantee-card__icon {
    width: 52px; height: 52px; border-radius: 14px; background: var(--brand-light);
    display: flex; align-items: center; justify-content: center; margin: 0 auto 16px;
}
.guarantee-card__icon svg { width: 24px; height: 24px; }
.guarantee-card h3 { font-size: 1rem; font-weight: 700; color: var(--text); margin-bottom: 10px; }
.guarantee-card p { font-size: .875rem; color: var(--muted); line-height: 1.6; }

/* ── FAQ ── */
.faq { max-width: 780px; margin: 0 auto; }
.faq-item {
    border: 1px solid var(--border); border-radius: 14px;
    margin-bottom: 10px; overflow: hidden; background: #fff; transition: border-color .2s;
}
.faq-item.open { border-color: rgba(38,168,230,.25); }
.faq-item__q {
    padding: 22px 28px; font-size: 1rem; font-weight: 600; color: var(--text);
    cursor: pointer; display: flex; align-items: center; justify-content: space-between;
    user-select: none; transition: background .15s;
}
.faq-item__q:hover { background: #f7f9fc; }
.faq-arrow {
    width: 28px; height: 28px; border-radius: 50%; background: #f0f4f8;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0; transition: all .25s; color: var(--muted); font-size: .8rem;
}
.faq-item.open .faq-arrow { background: var(--brand-light); color: var(--brand); transform: rotate(180deg); }
.faq-item__a {
    display: none; padding: 16px 28px 24px;
    font-size: .9375rem; color: var(--muted); line-height: 1.75;
    border-top: 1px solid #f0f4f8;
}
.faq-item.open .faq-item__a { display: block; }

/* ── CTA ── */
.cta-section {
    margin: 0 5% 80px;
    background: linear-gradient(135deg, #0a0a1a 0%, #0f1a35 40%, #1a0a35 100%);
    border-radius: 28px; padding: 80px 60px;
    text-align: center; position: relative; overflow: hidden;
    border: 1px solid rgba(99,102,241,.2);
}
.cta-section::before {
    content: '';
    position: absolute; top: -120px; left: 50%; transform: translateX(-50%);
    width: 600px; height: 600px; border-radius: 50%;
    background: radial-gradient(circle, rgba(14,165,233,.12) 0%, rgba(99,102,241,.08) 50%, transparent 70%);
    pointer-events: none;
}
.cta-section__label {
    display: inline-flex; align-items: center; gap: 7px;
    background: rgba(14,165,233,.2); border: 1px solid rgba(14,165,233,.4);
    color: #7dd3fc; font-size: .8rem; font-weight: 700; letter-spacing: .06em;
    text-transform: uppercase; padding: 6px 16px; border-radius: 50px;
    margin-bottom: 24px; position: relative;
}
.cta-section__label-dot {
    width: 6px; height: 6px; border-radius: 50%; background: #38bdf8;
    animation: pulse-dot 1.6s ease-in-out infinite;
}
.cta-section h2 {
    font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 800; color: #fff;
    letter-spacing: -1px; margin-bottom: 16px; position: relative;
    line-height: 1.15;
}
.cta-section h2 span {
    background: var(--gradient);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
}
.cta-section p { font-size: 1rem; color: rgba(255,255,255,.5); margin-bottom: 32px; position: relative; max-width: 500px; margin-left: auto; margin-right: auto; }
.cta-section__perks {
    display: flex; gap: 12px; justify-content: center; flex-wrap: wrap;
    margin-bottom: 36px; position: relative;
}
.cta-section__perk {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12);
    color: rgba(255,255,255,.85); font-size: .875rem; font-weight: 500;
    padding: 8px 18px; border-radius: 50px; white-space: nowrap;
}
.cta-section__perk svg { flex-shrink: 0; width: 14px; height: 14px; }
.cta-section__btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; position: relative; }

/* ── FOOTER ── */
.footer { background: var(--text); color: #94a3b8; padding: 56px 5% 32px; }
.footer-inner { max-width: 1100px; margin: 0 auto; }
.footer-top {
    display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px;
    margin-bottom: 48px; padding-bottom: 48px; border-bottom: 1px solid #1e293b;
}
.footer-logo {
    display: flex; align-items: center; gap: 10px;
    font-weight: 600; font-size: 1rem; color: #fff; margin-bottom: 16px;
}
.footer-logo svg { width: 28px; height: 28px; }
.footer-about { font-size: 0.875rem; line-height: 1.7; max-width: 320px; }
.footer-col h4 { color: #fff; font-size: 0.875rem; font-weight: 600; margin-bottom: 16px; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul a { font-size: 0.85rem; transition: color 0.2s; }
.footer-col ul a:hover { color: var(--brand); }
.footer-bottom {
    display: flex; align-items: center; justify-content: space-between;
    flex-wrap: wrap; gap: 12px; font-size: 0.8rem;
}

/* ── SCROLL TO TOP ── */
.scroll-top {
    position: fixed; bottom: 28px; right: 28px; z-index: 100;
    width: 44px; height: 44px; border-radius: 50%;
    background: var(--brand); color: #fff; border: none;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; box-shadow: 0 4px 16px rgba(38,168,230,.4);
    opacity: 0; transform: translateY(12px);
    transition: opacity .25s, transform .25s, background .2s;
    pointer-events: none;
}
.scroll-top.visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
.scroll-top:hover { background: var(--brand-dark); box-shadow: 0 6px 20px rgba(38,168,230,.5); }

/* ── SCROLL ANIMATIONS ── */
.reveal {
    opacity: 0; transform: translateY(28px);
    transition: opacity .55s ease, transform .55s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }
.reveal-delay-4 { transition-delay: .4s; }
.reveal-delay-5 { transition-delay: .5s; }
.reveal-delay-6 { transition-delay: .6s; }

/* ── BURGER ── */
.nav-burger {
    display: none; flex-direction: column; justify-content: center; gap: 5px;
    width: 36px; height: 36px; background: none; border: none; cursor: pointer;
    padding: 4px; border-radius: 8px; transition: background .15s;
}
.nav-burger:hover { background: var(--brand-light); }
.nav-burger span { display: block; height: 2px; background: var(--text); border-radius: 2px; transition: all .25s; }
.nav-burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── MOBILE MENU ── */
.mobile-menu {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: #fff; padding: 24px 5%;
    border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
    flex-direction: column; gap: 4px;
    overflow-y: auto; max-height: calc(100vh - 68px);
    box-shadow: 0 8px 24px rgba(0,0,0,.08);
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
    display: block; padding: 14px 16px; border-radius: 10px;
    font-size: 1rem; font-weight: 500; color: var(--text); transition: background .15s;
}
.mobile-menu a:hover { background: var(--brand-light); color: var(--brand); }
.mobile-menu-divider { height: 1px; background: var(--border); margin: 8px 0; }
.mobile-menu-actions { display: flex; flex-direction: column; gap: 10px; margin-top: 8px; }

/* ── HISTORY TIMELINE ── */
.history { padding: 80px 5%; background: #f8fafc; }
.history-inner { max-width: 1100px; margin: 0 auto; }

.timeline {
    display: grid; grid-template-columns: repeat(4, 1fr);
    gap: 0; position: relative; margin-top: 56px;
}
.timeline::before {
    content: ''; position: absolute;
    top: 28px; left: calc(12.5% - 1px); right: calc(12.5% - 1px);
    height: 2px; background: var(--border); z-index: 0;
}
.timeline-item { text-align: center; padding: 0 16px; position: relative; }

.timeline-dot {
    width: 56px; height: 56px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 20px; position: relative; z-index: 1;
    font-size: .85rem; font-weight: 800; letter-spacing: -.5px;
}
.timeline-dot--past {
    background: #e2e8f0; color: #94a3b8;
    border: 3px solid #fff;
    box-shadow: 0 0 0 2px #e2e8f0;
}
.timeline-dot--pause {
    background: #fef3c7; color: #d97706;
    border: 3px solid #fff;
    box-shadow: 0 0 0 2px #fde68a;
}
.timeline-dot--now {
    background: var(--gradient); color: #fff;
    border: 3px solid #fff;
    box-shadow: 0 6px 20px rgba(14,165,233,.35);
}

.timeline-year {
    font-size: .75rem; font-weight: 700; letter-spacing: .06em;
    text-transform: uppercase; margin-bottom: 6px;
}
.timeline-item--past .timeline-year { color: var(--muted); }
.timeline-item--pause .timeline-year { color: #d97706; }
.timeline-item--now .timeline-year { color: var(--brand); }

.timeline-title { font-size: .95rem; font-weight: 700; color: var(--text); margin-bottom: 6px; }
.timeline-desc { font-size: .82rem; color: var(--muted); line-height: 1.5; }

.timeline-screenshot {
    margin-top: 14px; border-radius: 8px; overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: 0 2px 12px rgba(0,0,0,.08);
    transition: box-shadow .2s, transform .2s;
    cursor: zoom-in;
}
.timeline-screenshot:hover { box-shadow: 0 6px 24px rgba(0,0,0,.14); transform: translateY(-2px); }
.timeline-screenshot img { width: 100%; display: block; }
.timeline-screenshot-label {
    font-size: .72rem; color: var(--muted); text-align: center;
    padding: 6px 10px; background: #f8fafc; border-top: 1px solid var(--border);
    display: flex; align-items: center; justify-content: center; gap: 5px;
}

/* ── LIGHTBOX ── */
.lightbox {
    display: none; position: fixed; inset: 0; z-index: 300;
    background: rgba(0,0,0,.92); backdrop-filter: blur(8px);
    align-items: center; justify-content: center; padding: 20px;
    cursor: zoom-out;
}
.lightbox.active { display: flex; animation: modalIn .2s ease; }
.lightbox__img {
    max-width: 100%; max-height: 90vh;
    border-radius: 8px; box-shadow: 0 24px 80px rgba(0,0,0,.6);
    cursor: default;
}
.lightbox__close {
    position: absolute; top: 16px; right: 20px;
    background: rgba(255,255,255,.15); border: none; color: #fff;
    width: 36px; height: 36px; border-radius: 50%; cursor: pointer;
    font-size: 1.2rem; display: flex; align-items: center; justify-content: center;
    transition: background .15s;
}
.lightbox__close:hover { background: rgba(255,255,255,.25); }
.lightbox__caption {
    position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%);
    color: rgba(255,255,255,.6); font-size: .82rem; white-space: nowrap;
}

@media (max-width: 768px) {
    .history { padding: 60px 5%; }
    .timeline { grid-template-columns: 1fr; gap: 0; }
    .timeline::before {
        top: 0; bottom: 0; left: 27px; right: auto;
        width: 2px; height: auto;
    }
    .timeline-item {
        display: flex; align-items: flex-start; gap: 20px;
        text-align: left; padding: 0 0 32px 0;
    }
    .timeline-item:last-child { padding-bottom: 0; }
    .timeline-dot { flex-shrink: 0; margin: 0; width: 56px; height: 56px; }
    .timeline-content { flex: 1; padding-top: 12px; }
}

/* ── TELEGRAM WIDGET ── */
.tg-section { padding: 80px 5%; background: #f8fafc; }
.tg-section-inner { max-width: 600px; margin: 0 auto; }
.tg-widget-wrap { border-radius: 16px; overflow: hidden; }

@media (max-width: 768px) { .tg-section { padding: 60px 5%; } }

/* ── RESPONSIVE ── */
@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; transition: none; }
}

@media (max-width: 1024px) {
    .guarantees-grid { grid-template-columns: repeat(2, 1fr); }
    .steps-grid { grid-template-columns: repeat(2, 1fr); gap: 40px; }
    .steps-grid::before { display: none; }
}

@media (max-width: 900px) {
    .catalog-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .btn-telegram.btn-lg { width: 100%; justify-content: center; padding: 14px 20px; font-size: .95rem; }

    .nav-links { display: none; }
    .nav-actions { display: none; }
    .nav-burger { display: flex; }

    .announce-bar { padding: 9px 40px 9px 5%; font-size: 0.8rem; }
    .announce-bar__desktop { display: none; }
    .announce-bar__mobile  { display: inline; }
    .announce-bar__close { right: 10px; }

    .hero { padding: 56px 5% 48px; }
    .hero-logo svg { width: 72px; height: 72px; }
    .hero__icons { display: none; }
    .hero h1 { font-size: clamp(1.8rem, 7vw, 2.6rem); }
    .hero p { font-size: 1rem; }
    .hero-cta { flex-direction: column; align-items: stretch; }
    .hero-cta .btn { justify-content: center; }

    .section { padding: 60px 5%; }
    .section-header { margin-bottom: 40px; }

    .features-grid { grid-template-columns: 1fr; gap: 16px; }
    .feature-card { padding: 24px 20px; }

    .free-banner { flex-direction: column; align-items: flex-start; gap: 20px; padding: 28px 24px; margin: 0 4%; }
    .free-banner .btn { width: 100%; justify-content: center; }

    .steps-grid { grid-template-columns: 1fr 1fr; gap: 40px 20px; }

    .guarantees-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
    .guarantee-card { padding: 24px 16px; }

    .cta-section { margin: 0 4% 60px; padding: 56px 28px; }
    .cta-section__btns { flex-direction: column; align-items: stretch; }
    .cta-section__btns .btn-telegram,
    .cta-section__btns .btn { justify-content: center; }

    .footer-top { grid-template-columns: 1fr; gap: 32px; }
    .footer-bottom { flex-direction: column; align-items: flex-start; gap: 8px; }

    .modal { padding: 36px 24px; border-radius: 20px; }
    .scroll-top { bottom: 20px; right: 16px; width: 40px; height: 40px; }
}

@media (max-width: 560px) {
    .catalog-grid { grid-template-columns: 1fr; }
    .guarantees-grid { grid-template-columns: 1fr; }
    .steps-grid { grid-template-columns: 1fr; gap: 32px; }
    .hero { padding: 48px 4% 40px; }
    .faq-item__q { padding: 18px 20px; font-size: .95rem; }
    .faq-item__a { padding: 12px 20px 20px; }
    .free-banner { margin: 0 4%; }
    .cta-section { margin: 0 0 48px; border-radius: 0; border-left: none; border-right: none; }
}
