        :root {
            --font: "Segoe UI", SegoeUI, -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif;
            --blue1: #1e40ff;
            --blue2: #18a8ff;
            --ink: #0b1220;
            --muted: #5e6a7b;
            --card: #ffffff;
            --border: rgba(0, 0, 0, .07);
            --shadow: 0 26px 70px rgba(0, 0, 0, .10);
        }

        html,
        body {
            font-family: var(--font) !important;
            color: var(--ink);
            background: #fff;
        }

        body {
            background:
                radial-gradient(900px 520px at 16% 10%, rgba(30, 64, 255, .10), transparent 55%),
                radial-gradient(760px 420px at 86% 16%, rgba(24, 168, 255, .12), transparent 55%),
                #fff;
        }

        /* Navbar: glass + sticky */
        .navbar-modern {
            position: sticky;
            top: 0;
            z-index: 1030;
            background: rgba(255, 255, 255, .84) !important;
            backdrop-filter: blur(14px);
            -webkit-backdrop-filter: blur(14px);
            border-bottom: 1px solid var(--border);
        }

        .brand-title {
            font-weight: 800;
            letter-spacing: -0.02em;
        }

        .text-gradient {
            background: linear-gradient(90deg, var(--blue1), var(--blue2));
            -webkit-background-clip: text;
            background-clip: text;
            -webkit-text-fill-color: transparent;
        }

        .nav-link {
            border-radius: 999px;
            padding: .55rem .95rem !important;
            transition: transform .18s ease, background-color .18s ease;
        }

        .nav-link:hover {
            background: rgba(30, 64, 255, .08);
            transform: translateY(-1px);
        }

        .nav-link.active {
            background: rgba(30, 64, 255, .10);
        }

        /* Hero */
        .hero {
            border: 1px solid var(--border);
            background: rgba(255, 255, 255, .78);
            border-radius: 26px;
            box-shadow: var(--shadow);
            overflow: hidden;
        }

        .pill {
            display: inline-flex;
            gap: .5rem;
            align-items: center;
            border-radius: 999px;
            padding: .55rem .9rem;
            background: linear-gradient(90deg, rgba(30, 64, 255, .16), rgba(24, 168, 255, .16));
            border: 1px solid rgba(30, 64, 255, .18);
            color: var(--ink);
            font-weight: 700;
        }

        .lead-muted {
            color: var(--muted);
        }

        /* Buttons */
        .btn-modern {
            border-radius: 14px;
            transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
        }

        .btn-modern:hover {
            transform: translateY(-2px);
            box-shadow: 0 16px 36px rgba(0, 0, 0, .12);
            filter: saturate(1.06);
        }

        .btn-modern:active {
            transform: translateY(0) scale(.985);
        }

        /* Screenshot frame */
        .shot-wrap {
            position: relative;
            border-radius: 22px;
            background: linear-gradient(135deg, rgba(30, 64, 255, .22), rgba(24, 168, 255, .16));
            padding: 18px;
            border: 1px solid rgba(30, 64, 255, .22);
            max-width: 1100px;
            margin-left: auto;
        }

        .shot {
            width: 100%;
            border-radius: 16px;
            border: 1px solid rgba(0, 0, 0, .12);
            box-shadow: 0 24px 70px rgba(0, 0, 0, .18);
            transform: translateZ(0);
        }

        .floaty {
            animation: floaty 6s ease-in-out infinite;
        }

        @keyframes floaty {

            0%,
            100% {
                transform: translateY(0);
            }

            50% {
                transform: translateY(-10px);
            }
        }

        /* Feature cards */
        .feature-card {
            border: 1px solid var(--border);
            background: var(--card);
            border-radius: 18px;
            padding: 18px;
            height: 100%;
            box-shadow: 0 10px 28px rgba(0, 0, 0, .06);
            transition: transform .18s ease, box-shadow .18s ease;
        }

        .feature-card:hover {
            transform: translateY(-3px);
            box-shadow: 0 18px 44px rgba(0, 0, 0, .10);
        }

        .icon-bubble {
            width: 44px;
            height: 44px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 14px;
            background: rgba(30, 64, 255, .10);
            border: 1px solid rgba(30, 64, 255, .16);
            color: var(--blue1);
            flex: 0 0 auto;
        }

        .section-title {
            font-weight: 900;
            letter-spacing: -0.02em;
        }

        .section-sub {
            color: var(--muted);
        }

        /* Reveal on scroll */
        .reveal {
            opacity: 0;
            transform: translateY(14px);
            transition: opacity .75s ease, transform .75s ease;
        }

        .reveal-in {
            opacity: 1;
            transform: translateY(0);
        }

        /* Footer */
        .footer-modern {
            border-top: 1px solid var(--border);
        }

        /* Gallery */
        .gallery-card {
            background: #fff;
            border-radius: 18px;
            overflow: hidden;
            border: 1px solid rgba(0, 0, 0, .08);
            box-shadow: 0 16px 40px rgba(0, 0, 0, .10);
            transition: transform .22s ease, box-shadow .22s ease;
            height: 100%;
            cursor: zoom-in;
        }

        .gallery-card img {
            width: 100%;
            display: block;
        }

        .gallery-card:hover {
            transform: translateY(-6px);
            box-shadow: 0 26px 60px rgba(0, 0, 0, .16);
        }

        .gallery-caption {
            padding: 14px 16px;
            font-size: .95rem;
            color: var(--muted);
            background: linear-gradient(180deg, #fff, #f8fafc);
        }

        /* Pricing */
        .pricing-wrap {
            border: 1px solid var(--border);
            background: rgba(255, 255, 255, .78);
            border-radius: 24px;
            box-shadow: var(--shadow);
            overflow: hidden;
        }

        .price-card {
            background: #fff;
            border: 1px solid rgba(0, 0, 0, .08);
            border-radius: 18px;
            box-shadow: 0 16px 44px rgba(0, 0, 0, .08);
            padding: 22px;
            height: 100%;
            transition: transform .2s ease, box-shadow .2s ease;
        }

        .price-card:hover {
            transform: translateY(-6px);
            box-shadow: 0 26px 70px rgba(0, 0, 0, .14);
        }

        .price-tag {
            font-weight: 900;
            font-size: 2.2rem;
            letter-spacing: -0.02em;
            margin: 10px 0 6px;
        }

        .price-sub {
            color: var(--muted);
        }

        .price-badge {
            display: inline-flex;
            gap: .45rem;
            align-items: center;
            border-radius: 999px;
            padding: .45rem .75rem;
            font-weight: 700;
            background: rgba(30, 64, 255, .10);
            border: 1px solid rgba(30, 64, 255, .16);
            color: var(--blue1);
        }

        .price-card.featured {
            border: 1px solid rgba(30, 64, 255, .30);
            background: linear-gradient(180deg, rgba(30, 64, 255, .06), #fff 40%);
            position: relative;
        }

        .featured-ribbon {
            position: absolute;
            top: 14px;
            right: 14px;
            background: linear-gradient(90deg, var(--blue1), var(--blue2));
            color: #fff;
            padding: .35rem .65rem;
            border-radius: 999px;
            font-size: .8rem;
            font-weight: 800;
        }

        .price-list {
            list-style: none;
            padding: 0;
            margin: 14px 0 0;
        }

        .price-list li {
            display: flex;
            gap: .6rem;
            align-items: flex-start;
            padding: .45rem 0;
            color: #1f2a3a;
        }

        .price-list i {
            color: var(--blue1);
            margin-top: 2px;
        }

        /* Fullscreen lightbox */
        .lightbox {
            position: fixed;
            inset: 0;
            background: rgba(5, 10, 20, .86);
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
            display: none;
            align-items: center;
            justify-content: center;
            z-index: 2000;
            padding: 26px;
        }

        .lightbox.open {
            display: flex;
        }

        .lightbox-inner {
            position: relative;
            width: min(1100px, 96vw);
            max-height: 92vh;
        }

        .lightbox-img {
            width: 100%;
            max-height: 92vh;
            object-fit: contain;
            border-radius: 16px;
            border: 1px solid rgba(255, 255, 255, .14);
            box-shadow: 0 30px 90px rgba(0, 0, 0, .45);
        }

        .lightbox-close,
        .lightbox-prev,
        .lightbox-next {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            border: 0;
            width: 44px;
            height: 44px;
            border-radius: 999px;
            background: rgba(255, 255, 255, .12);
            color: #fff;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: background .18s ease, transform .18s ease;
        }

        .lightbox-close {
            top: -12px;
            right: -12px;
            transform: none;
            background: rgba(255, 255, 255, .16);
        }

        .lightbox-prev {
            left: -56px;
        }

        .lightbox-next {
            right: -56px;
        }

        .lightbox-prev:hover,
        .lightbox-next:hover,
        .lightbox-close:hover {
            background: rgba(255, 255, 255, .22);
        }

        .lightbox-prev:active,
        .lightbox-next:active {
            transform: translateY(-50%) scale(.98);
        }

        /* Reduce motion */
        @media (prefers-reduced-motion: reduce) {
            .floaty {
                animation: none !important;
            }

            .reveal {
                transition: none !important;
                transform: none !important;
                opacity: 1 !important;
            }

            .btn-modern,
            .feature-card,
            .nav-link,
            .gallery-card,
            .price-card {
                transition: none !important;
            }
        }

        @media (max-width: 992px) {

            .lightbox-prev,
            .lightbox-next {
                left: 12px;
                right: 12px;
            }

            .lightbox-prev {
                left: 10px;
            }

            .lightbox-next {
                right: 10px;
            }
        }

        /* ===== Auth modal (login/signup) ===== */
        .auth-btn {
            padding: .55rem .9rem;
            border-radius: 999px;
        }

        .auth-modal .modal-dialog {
            max-width: 520px;
        }

        .auth-modal-content {
            border: 1px solid var(--border);
            border-radius: 22px;
            overflow: hidden;
            box-shadow: var(--shadow);
            background:
                radial-gradient(700px 320px at 18% 0%, rgba(30, 64, 255, .10), transparent 55%),
                radial-gradient(640px 320px at 86% 10%, rgba(24, 168, 255, .12), transparent 55%),
                #fff;
        }

        .auth-head {
            border-bottom: 1px solid rgba(0, 0, 0, .06);
            background: rgba(255, 255, 255, .70);
            backdrop-filter: blur(14px);
            -webkit-backdrop-filter: blur(14px);
        }

        .auth-logo {
            width: 44px;
            height: 44px;
            border-radius: 14px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            background: rgba(30, 64, 255, .10);
            border: 1px solid rgba(30, 64, 255, .16);
            color: var(--blue1);
        }

        .auth-title {
            font-weight: 900;
            letter-spacing: -0.02em;
            line-height: 1.1;
        }

        .auth-sub {
            color: var(--muted);
            font-size: .92rem;
        }

        .auth-x {
            border-radius: 12px;
        }

        .auth-tabs .nav-link {
            border-radius: 999px;
            padding: .5rem .9rem;
            font-weight: 800;
        }

        .auth-tabs .nav-link.active {
            background: linear-gradient(90deg, var(--blue1), var(--blue2));
            color: #fff;
        }

        .auth-body {
            background: rgba(255, 255, 255, .78);
        }

        .auth-input {
            border-radius: 14px;
            border: 1px solid rgba(0, 0, 0, .10);
            padding: .85rem .95rem;
            box-shadow: 0 10px 22px rgba(0, 0, 0, .05);
        }

        .auth-input:focus {
            border-color: rgba(30, 64, 255, .35);
            box-shadow: 0 0 0 .2rem rgba(30, 64, 255, .12);
        }

        .auth-eye {
            border-radius: 14px;
        }

        .auth-link {
            color: var(--blue1);
            text-decoration: none;
        }

        .auth-link:hover {
            text-decoration: underline;
        }

        .auth-hint {
            color: var(--muted);
            font-size: .92rem;
        }

        .auth-footer-note {
            color: var(--muted);
        }

        /* ДОБАВЬ ЭТО В КОНЕЦ theme.css (about.html использует те же базовые стили) */

.install-badge {
    display: flex;
    gap: .9rem;
    align-items: center;
    background: rgba(255, 255, 255, .72);
    border: 1px solid rgba(0, 0, 0, .08);
    border-radius: 18px;
    padding: 14px 16px;
}

.install-badge-icon {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(30, 64, 255, .10);
    border: 1px solid rgba(30, 64, 255, .16);
    color: var(--blue1);
    flex: 0 0 auto;
    font-size: 1.2rem;
}

.install-note {
    background: linear-gradient(180deg, rgba(255, 255, 255, .85), rgba(248, 250, 252, .9));
    border: 1px solid rgba(0, 0, 0, .08);
    border-radius: 18px;
    padding: 14px 16px;
}

.install-step .text-muted {
    line-height: 1.55;
}

.step-num {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(90deg, rgba(30, 64, 255, .16), rgba(24, 168, 255, .16));
    border: 1px solid rgba(30, 64, 255, .18);
    color: var(--ink);
    font-weight: 900;
    flex: 0 0 auto;
}

.install-code {
    display: inline-block;
    padding: .08rem .45rem;
    border-radius: 10px;
    border: 1px solid rgba(0, 0, 0, .10);
    background: rgba(255, 255, 255, .75);
    font-weight: 700;
    font-size: .95em;
}

.install-tip {
    display: flex;
    gap: .55rem;
    align-items: flex-start;
    padding: 12px 14px;
    border-radius: 16px;
    background: rgba(30, 64, 255, .06);
    border: 1px solid rgba(30, 64, 255, .12);
    color: #1f2a3a;
}

.install-tip i {
    color: var(--blue1);
    margin-top: 2px;
}

/* ABOUT extras */
.about-quote {
    display: flex;
    gap: .9rem;
    align-items: flex-start;
    border-radius: 18px;
    padding: 16px 16px;
    background: rgba(255, 255, 255, .75);
    border: 1px solid rgba(0, 0, 0, .08);
}

.about-quote-icon {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(30, 64, 255, .10);
    border: 1px solid rgba(30, 64, 255, .16);
    color: var(--blue1);
    flex: 0 0 auto;
    font-size: 1.2rem;
}

.about-quote-text {
    color: #1f2a3a;
    line-height: 1.55;
    font-weight: 600;
}

.about-mini {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.about-mini-item {
    display: flex;
    gap: .5rem;
    align-items: center;
    border-radius: 14px;
    padding: 10px 12px;
    background: rgba(255, 255, 255, .72);
    border: 1px solid rgba(0, 0, 0, .08);
    color: #1f2a3a;
    font-weight: 700;
}

.about-mini-item i {
    color: var(--blue1);
}

.about-accent {
    border-radius: 26px;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, .78);
    box-shadow: var(--shadow);
}

.about-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.about-list li {
    display: flex;
    gap: .6rem;
    align-items: flex-start;
    padding: .45rem 0;
    color: #1f2a3a;
    font-weight: 600;
}

.about-list i {
    color: var(--blue1);
    margin-top: 2px;
}

/* ДОБАВЬ В КОНЕЦ theme.css */

.contact-side {
    padding: 6px 2px 2px;
}

.contact-side-title {
    font-weight: 900;
    letter-spacing: -0.02em;
    font-size: 1.1rem;
}

.contact-side-sub {
    color: var(--muted);
    margin-top: 2px;
    font-size: .95rem;
}

.contact-link {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    font-weight: 800;
    text-decoration: none;
    color: var(--ink);
    border-bottom: 1px dashed rgba(30, 64, 255, .35);
    padding-bottom: 2px;
}

.contact-link:hover {
    color: var(--blue1);
    border-bottom-color: rgba(30, 64, 255, .55);
}

.contact-note {
    display: flex;
    gap: .55rem;
    align-items: flex-start;
    padding: 12px 14px;
    border-radius: 16px;
    background: rgba(30, 64, 255, .06);
    border: 1px solid rgba(30, 64, 255, .12);
    color: #1f2a3a;
}

.contact-note i {
    color: var(--blue1);
    margin-top: 2px;
}


/* Auth modal styling */
.auth-modal .modal-dialog { max-width: 520px; }
.auth-modal-content{
    border: 1px solid rgba(0,0,0,.08);
    border-radius: 22px;
    overflow: hidden;
    box-shadow: var(--shadow);
    background: rgba(255,255,255,.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}
.auth-head{
    background: linear-gradient(180deg, rgba(30,64,255,.08), rgba(24,168,255,.04));
    border-bottom: 1px solid var(--border);
}
.auth-logo{
    width: 44px; height: 44px;
    border-radius: 14px;
    display:flex; align-items:center; justify-content:center;
    background: rgba(30,64,255,.10);
    border: 1px solid rgba(30,64,255,.16);
    color: var(--blue1);
}
.auth-title{ font-weight: 900; letter-spacing: -0.02em; }
.auth-sub{ color: var(--muted); font-size: .95rem; }
.auth-tabs .nav-link{
    border-radius: 999px;
    padding: .45rem .85rem;
    font-weight: 800;
}
.auth-input{ border-radius: 14px; padding: .75rem .9rem; }
.auth-eye{ border-radius: 14px; }
.auth-link{ text-decoration: none; }
.auth-hint{ color: var(--muted); font-size: .92rem; }

.auth-alert{
    margin-top: 12px;
    padding: 10px 12px;
    border-radius: 14px;
    font-weight: 700;
    font-size: .92rem;
}
.auth-alert-danger{
    background: rgba(220,53,69,.10);
    border: 1px solid rgba(220,53,69,.22);
    color: #b02a37;
}
.auth-alert-success{
    background: rgba(25,135,84,.10);
    border: 1px solid rgba(25,135,84,.22);
    color: #146c43;
}
.auth-footer-note{ color: var(--muted); }
