:root {
    --bg: #020617;
    --bg-elevated: #020617;
    --accent: #22c55e;
    --accent-soft: rgba(34, 197, 94, 0.18);
    --accent-strong: #4ade80;
    --danger: #f97373;
    --danger-soft: rgba(248, 113, 113, 0.18);
    --text: #e5e7eb;
    --text-muted: #9ca3af;
    --border-subtle: rgba(148, 163, 184, 0.35);
    --shadow-soft: 0 22px 45px rgba(15, 23, 42, 0.9);
    --radius-lg: 22px;
    --radius-md: 14px;
    --transition-fast: 0.18s ease-out;
    --transition-medium: 0.28s ease-out;
    --font-sans: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text",
        "Segoe UI", sans-serif;
}

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

body {
    margin: 0;
    min-height: 100vh;
    font-family: var(--font-sans);
    background: radial-gradient(circle at top, #1f2937 0, #020617 55%, #000 100%);
    color: var(--text);
    overflow-x: hidden;
}

.page {
    min-height: 100vh;
    padding: 28px 44px 40px;
    max-width: 1600px;
    margin: 0 auto;
    overflow-x: hidden;
}

@media (max-width: 900px) {
    .page {
        padding: 20px 18px 24px;
    }
}

/* Мобилни: центриране на съдържанието */
@media (max-width: 768px) {
    .page {
        text-align: center;
    }

    .hero-text {
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
        text-align: center;
    }

    .hero-cta {
        align-items: center;
    }

    .primary-cta {
        align-self: center;
    }

    .cta-note {
        text-align: center;
    }

    .section-content,
    .section-split .section-content {
        margin-left: auto;
        margin-right: auto;
        text-align: center;
    }

    .bullets {
        padding-left: 24px;
        display: inline-block;
        text-align: left;
    }

    .contact-form {
        margin-left: auto;
        margin-right: auto;
    }

    .stats-grid,
    .product-grid,
    .testimonials-grid {
        max-width: 100%;
    }

    .mode-card,
    .devices-card {
        margin-left: auto;
        margin-right: auto;
    }
}

.site-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 28px;
    background: linear-gradient(
        90deg,
        rgba(15, 23, 42, 0.98) 0%,
        rgba(15, 23, 42, 0.95) 35%,
        rgba(6, 78, 59, 0.22) 70%,
        rgba(15, 23, 42, 0.92) 100%
    ), radial-gradient(circle at top left, rgba(34, 197, 94, 0.12), transparent 50%);
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.4);
    box-shadow:
        0 1px 0 0 rgba(34, 197, 94, 0.25),
        0 -1px 0 0 rgba(34, 197, 94, 0.15),
        0 18px 45px rgba(15, 23, 42, 0.95),
        0 0 0 1px rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(24px) saturate(180%);
    gap: 12px;
    position: relative;
    z-index: 50;
    max-width: 100%;
    min-width: 0;
    overflow: visible;
}

.logo {
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-size: 16px;
    flex-shrink: 0;
    padding: 8px 14px;
    margin: -8px 0 -8px -8px;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(6, 78, 59, 0.5) 0%, rgba(34, 197, 94, 0.2) 50%, rgba(22, 163, 74, 0.35) 100%);
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.logo span {
    color: var(--accent-strong);
}

/* Бутон меню – скрит на десктоп */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 10px;
    border: 1px solid rgba(148, 163, 184, 0.4);
    border-radius: 10px;
    background: rgba(15, 23, 42, 0.8);
    color: var(--text);
    cursor: pointer;
    transition: background var(--transition-fast), border-color var(--transition-fast);
}
.menu-toggle:hover {
    background: rgba(34, 197, 94, 0.12);
    border-color: rgba(34, 197, 94, 0.5);
}
.menu-toggle-bar {
    display: block;
    width: 20px;
    height: 2px;
    border-radius: 1px;
    background: currentColor;
    transition: transform var(--transition-medium), opacity var(--transition-fast);
}
.site-header.menu-open .menu-toggle-bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.site-header.menu-open .menu-toggle-bar:nth-child(2) {
    opacity: 0;
}
.site-header.menu-open .menu-toggle-bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.nav {
    display: flex;
    align-items: center;
    gap: 28px;
    font-size: 13px;
    min-width: 0;
    flex: 1;
    justify-content: space-between;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 22px;
    min-width: 0;
    margin-left: auto;
}

.nav-more {
    position: relative;
}

.nav-more-trigger {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 8px;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.5);
    background: rgba(15, 23, 42, 0.85);
    color: var(--text-muted);
    font-size: 11px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    cursor: pointer;
    transition:
        background var(--transition-fast),
        border-color var(--transition-fast),
        color var(--transition-fast),
        transform var(--transition-fast),
        box-shadow var(--transition-fast);
}

.nav-more-trigger:hover {
    background: rgba(34, 197, 94, 0.12);
    border-color: rgba(34, 197, 94, 0.7);
    color: var(--text);
    box-shadow:
        0 10px 26px rgba(15, 23, 42, 0.95),
        0 0 0 1px rgba(15, 23, 42, 0.95);
    transform: translateY(-1px);
}

.nav-more-chevron {
    font-size: 10px;
}

.nav-more-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 200px;
    padding: 8px 6px;
    border-radius: 12px;
    background: rgba(15, 23, 42, 0.98);
    border: 1px solid rgba(148, 163, 184, 0.35);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.9);
    display: none;
    flex-direction: column;
    gap: 2px;
    z-index: 40;
}

.nav-more.open .nav-more-menu {
    display: flex;
}

.nav-more-menu a {
    padding: 8px 10px;
    border-radius: 8px;
    text-transform: none;
    letter-spacing: 0.04em;
    font-size: 12px;
    text-align: left;
}

.nav-more-menu a:hover {
    background: rgba(34, 197, 94, 0.1);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-shrink: 0;
    min-width: 220px;
    padding-left: 24px;
}

.nav-actions::before {
    content: "";
    width: 1px;
    height: 22px;
    background: rgba(148, 163, 184, 0.5);
    margin-right: 20px;
    flex-shrink: 0;
}

.nav a {
    text-decoration: none;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.16em;
    position: relative;
    padding: 4px 2px 4px;
    white-space: nowrap;
    cursor: pointer;
}

.nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(to right, var(--accent), var(--accent-strong));
    border-radius: 999px;
    transition: width var(--transition-medium);
}

.nav a:hover::after {
    width: 100%;
}

@media (max-width: 768px) {
    .site-header {
        padding: 10px 12px;
        gap: 10px;
        border-radius: 16px;
    }
    .logo {
        font-size: 14px;
    }
    .menu-toggle {
        display: flex;
        flex-shrink: 0;
    }
    .nav {
        position: fixed;
        top: 60px;
        right: 12px;
        bottom: auto;
        left: auto;
        width: 220px;
        max-width: 70vw;
        margin: 0;
        padding: 16px 14px 18px;
        background: linear-gradient(180deg, rgba(15, 23, 42, 0.99) 0%, rgba(15, 23, 42, 0.98) 100%);
        border: none;
        border-left: 1px solid rgba(148, 163, 184, 0.25);
        border-radius: 14px;
        box-shadow: -8px 12px 32px rgba(0, 0, 0, 0.5);
        flex-direction: column;
        align-items: stretch;
        gap: 2px;
        max-height: calc(100vh - 80px);
        height: auto;
        overflow-y: auto;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-8px);
        transition: transform 0.22s ease-out, opacity 0.2s ease, visibility 0.2s;
        z-index: 60;
    }
    .site-header.menu-open .nav {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
    .menu-backdrop {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(2, 6, 23, 0.6);
        backdrop-filter: blur(4px);
        z-index: 55;
        opacity: 0;
        transition: opacity 0.2s ease;
    }
    .site-header.menu-open .menu-backdrop {
        display: block;
        opacity: 1;
    }
    .nav-links {
        flex-direction: column;
        align-items: stretch;
        gap: 2px;
    }

    .nav-more {
        width: 100%;
    }

    .nav-more-menu {
        position: static;
        width: 100%;
        margin-top: 4px;
        box-shadow: none;
        border-radius: 10px;
    }
    .nav-actions {
        margin-left: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 2px;
        border-top: 1px solid rgba(148, 163, 184, 0.3);
        padding-top: 10px;
        margin-top: 6px;
    }
    .nav-actions::before {
        display: none;
    }
    .nav a {
        flex-shrink: 0;
        font-size: 13px;
        letter-spacing: 0.05em;
        padding: 12px 14px;
        border-radius: 10px;
    }
    .nav a:hover {
        background: rgba(34, 197, 94, 0.1);
    }
    .lang-dropdown {
        flex-shrink: 0;
        margin-left: 0;
        margin-top: 6px;
        padding-top: 6px;
        border-top: 1px solid rgba(148, 163, 184, 0.3);
    }
    .lang-dropdown-trigger {
        width: 100%;
        justify-content: center;
        padding: 8px 12px;
    }
}

/* Language dropdown – изцяло вдясно */
.lang-dropdown {
    position: relative;
    margin-left: auto;
}

.lang-dropdown-trigger {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border: 1px solid rgba(148, 163, 184, 0.4);
    border-radius: 10px;
    background: rgba(15, 23, 42, 0.8);
    color: var(--text);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: border-color var(--transition-fast), background var(--transition-fast), color var(--transition-fast);
}

.lang-dropdown-trigger:hover {
    border-color: rgba(34, 197, 94, 0.5);
    background: rgba(34, 197, 94, 0.12);
    color: var(--accent-strong);
}

.lang-dropdown-trigger .lang-flag {
    font-size: 18px;
    line-height: 1;
}

/* SVG-подобни флагове чрез CSS (винаги се виждат) */
.lang-flag-icon {
    display: inline-block;
    width: 22px;
    height: 16px;
    border-radius: 2px;
    flex-shrink: 0;
    border: 1px solid rgba(148, 163, 184, 0.35);
    background-size: cover;
    background-position: center;
}
.lang-flag-bg {
    background: linear-gradient(to bottom, #ffffff 0%, #ffffff 33.33%, #00966e 33.33%, #00966e 66.66%, #d62612 66.66%, #d62612 100%);
}
.lang-flag-en {
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 30'%3E%3Crect width='60' height='30' fill='%23012169'/%3E%3Cpath d='M0 0v30h60V0H0zm30 0v30M0 15h60' stroke='%23fff' stroke-width='6' fill='none'/%3E%3Cpath d='M30 0v30M0 15h60' stroke='%23C8102E' stroke-width='4' fill='none'/%3E%3Cpath d='M0 0l60 30M60 0L0 30' stroke='%23fff' stroke-width='10' fill='none'/%3E%3Cpath d='M0 0l60 30M60 0L0 30' stroke='%23C8102E' stroke-width='6' fill='none'/%3E%3C/svg%3E") center/cover no-repeat;
}
.lang-flag-de {
    background: linear-gradient(to bottom, #000000 0%, #000000 33.33%, #dd0000 33.33%, #dd0000 66.66%, #ffce00 66.66%, #ffce00 100%);
}

.lang-dropdown-trigger .lang-flag-icon {
    width: 24px;
    height: 18px;
}

.lang-dropdown-trigger .lang-chevron {
    font-size: 10px;
    opacity: 0.8;
    transition: transform var(--transition-fast);
}

.lang-dropdown.open .lang-dropdown-trigger .lang-chevron {
    transform: rotate(180deg);
}

.lang-dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 140px;
    padding: 6px;
    background: rgba(15, 23, 42, 0.98);
    border: 1px solid rgba(148, 163, 184, 0.4);
    border-radius: 12px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5);
    z-index: 100;
    display: none;
}

/* На мобилни: падащото меню се отваря нагоре, за да не покрива съдържанието */
@media (max-width: 768px) {
    .lang-dropdown-menu {
        top: auto;
        bottom: calc(100% + 8px);
        box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.5);
    }
}

.lang-dropdown.open .lang-dropdown-menu {
    display: block;
}

.lang-option {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 10px 12px;
    border: none;
    border-radius: 8px;
    background: transparent;
    color: var(--text-muted);
    font-size: 13px;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    transition: background var(--transition-fast), color var(--transition-fast);
}

.lang-option:hover {
    background: rgba(148, 163, 184, 0.15);
    color: var(--text);
}

.lang-option.active,
.lang-option[data-lang].active {
    background: var(--accent-soft);
    color: var(--accent-strong);
}

.lang-option .lang-flag {
    font-size: 20px;
    line-height: 1;
}

.lang-option .lang-flag-icon {
    width: 24px;
    height: 18px;
}

.lang-btn {
    border: none;
    background: transparent;
    color: var(--text-muted);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.05em;
    padding: 6px 10px;
    border-radius: 8px;
    cursor: pointer;
    transition: color var(--transition-fast), background var(--transition-fast);
}

.lang-btn:hover {
    color: var(--text);
    background: rgba(148, 163, 184, 0.2);
}

.lang-btn.active {
    color: var(--accent-strong);
    background: var(--accent-soft);
}

main {
    margin-top: 32px;
}

.aura-3d-container {
    margin-top: 30px;
    display: flex;
    justify-content: center;
    perspective: 1200px;
}

.aura-3d-text {
    position: relative;
    font-size: clamp(32px, 5vw, 58px);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.24em;
    padding: 12px 34px;
    background: linear-gradient(120deg, #4ade80, #22c55e, #22d3ee, #6366f1);
    background-size: 220% 220%;
    -webkit-background-clip: text;
    color: transparent;
    text-align: center;
    transform-style: preserve-3d;
    transform-origin: center;
    animation:
        auraFloat 7s ease-in-out infinite,
        auraGlow 5s ease-in-out infinite,
        auraGradient 14s linear infinite;
    text-shadow:
        0 1px 0 rgba(15, 23, 42, 0.9),
        0 6px 12px rgba(15, 23, 42, 0.8),
        0 18px 35px rgba(15, 23, 42, 1);
}

.aura-3d-text span {
    background: linear-gradient(120deg, #f97316, #facc15, #f97316);
    background-size: 180% 180%;
    -webkit-background-clip: text;
    color: transparent;
}

.aura-3d-text::before {
    content: "";
    position: absolute;
    inset: 10px 18px -18px;
    border-radius: 40px;
    background: radial-gradient(circle at top, rgba(15, 23, 42, 0.95), rgba(15, 23, 42, 1));
    transform: translateZ(-40px) rotateX(70deg);
    opacity: 0.9;
    box-shadow:
        0 24px 60px rgba(0, 0, 0, 0.9),
        0 0 0 1px rgba(15, 23, 42, 0.9);
}

.aura-3d-text::after {
    content: "";
    position: absolute;
    inset: -10px -40px;
    background:
        radial-gradient(circle at 0 0, rgba(34, 197, 94, 0.1), transparent 60%),
        radial-gradient(circle at 100% 0, rgba(56, 189, 248, 0.12), transparent 60%),
        radial-gradient(circle at 50% 120%, rgba(129, 140, 248, 0.14), transparent 60%);
    opacity: 0.85;
    mix-blend-mode: screen;
    pointer-events: none;
}

.hero {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    gap: 32px;
    align-items: center;
}

@media (max-width: 900px) {
    .hero {
        grid-template-columns: minmax(0, 1fr);
        gap: 26px;
    }
}

.hero-text {
    max-width: 580px;
}

.eyebrow {
    margin: 0 0 10px;
    font-size: 12px;
    letter-spacing: 0.26em;
    text-transform: uppercase;
    color: var(--accent-strong);
}

.hero h1 {
    margin: 0 0 14px;
    font-size: 32px;
    line-height: 1.2;
}

@media (max-width: 900px) {
    .hero h1 {
        font-size: 26px;
    }
}

.hero-subtitle {
    margin: 0;
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-muted);
}

.hero-subtitle strong {
    color: var(--accent-strong);
}

.hero-cta {
    margin-top: 24px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.primary-cta {
    border: none;
    border-radius: 999px;
    padding: 11px 22px;
    font-size: 14px;
    cursor: pointer;
    background: radial-gradient(circle at top left, #4ade80, #22c55e);
    color: #022c22;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    align-self: flex-start;
    box-shadow:
        0 14px 32px rgba(34, 197, 94, 0.5),
        0 0 0 1px rgba(22, 101, 52, 0.7);
    transition:
        transform var(--transition-fast),
        box-shadow var(--transition-fast),
        filter var(--transition-fast);
}

.primary-cta:hover {
    transform: translateY(-1px);
    box-shadow:
        0 18px 40px rgba(34, 197, 94, 0.55),
        0 0 0 1px rgba(22, 101, 52, 0.8);
    filter: brightness(1.04);
}

.primary-cta:active {
    transform: translateY(0);
    box-shadow:
        0 8px 20px rgba(15, 23, 42, 0.9),
        0 0 0 1px rgba(22, 101, 52, 0.8);
    filter: brightness(0.98);
}

.cta-note {
    font-size: 12px;
    color: var(--text-muted);
}

.hero-visual {
    display: flex;
    justify-content: center;
}

.scene-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.scene-caption {
    margin: 0;
    font-size: 11px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text-muted);
    line-height: 1.4;
    min-height: 2.8em;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Phone mockup: фиксиран размер на всички езици – един и същ винаги */
.phone-mockup {
    width: 260px;
    flex-shrink: 0;
}

.phone-frame {
    position: relative;
    width: 260px;
    height: 520px;
    border-radius: 32px;
    padding: 8px;
    background: linear-gradient(145deg, #1e293b, #0f172a);
    box-shadow:
        0 0 0 2px rgba(148, 163, 184, 0.2),
        0 24px 48px rgba(0, 0, 0, 0.45),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.phone-notch {
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 20px;
    border-radius: 0 0 14px 14px;
    background: #0f172a;
    z-index: 2;
}

.phone-screen {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 0;
    border-radius: 24px;
    background: #0a0f1a;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.phone-status-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 20px 8px;
    padding-top: 28px;
    font-size: 14px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.95);
}

.phone-time {
    letter-spacing: 0.02em;
}

.phone-icons {
    display: flex;
    align-items: center;
    gap: 4px;
}

.phone-icon-signal,
.phone-icon-wifi,
.phone-icon-battery {
    display: inline-block;
    background: rgba(255, 255, 255, 0.75);
}

.phone-icon-signal {
    width: 18px;
    height: 10px;
    background: linear-gradient(90deg, rgba(255,255,255,0.4) 0%, rgba(255,255,255,0.4) 25%, rgba(255,255,255,0.6) 25%, rgba(255,255,255,0.6) 50%, rgba(255,255,255,0.85) 50%, rgba(255,255,255,0.85) 75%, rgba(255,255,255,1) 75%);
    border-radius: 1px;
}

.phone-icon-wifi {
    width: 14px;
    height: 10px;
    border-radius: 50%;
    opacity: 0.85;
}

.phone-icon-battery {
    position: relative;
    width: 22px;
    height: 10px;
    border-radius: 2px;
    background: transparent;
    border: 1.5px solid rgba(255, 255, 255, 0.75);
}

.phone-icon-battery::after {
    content: "";
    position: absolute;
    top: 2px;
    left: 2px;
    width: 14px;
    height: 5px;
    border-radius: 1px;
    background: rgba(52, 211, 153, 0.95);
}

/* Push notification – еднаква височина на всички езици */
.push-notification {
    position: absolute;
    top: 0;
    left: 12px;
    right: 12px;
    z-index: 3;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 14px;
    margin: 8px 0 0;
    min-height: 72px;
    border-radius: 16px;
    background: rgba(30, 41, 59, 0.98);
    border: 1px solid rgba(148, 163, 184, 0.2);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
    transform: translateY(-120%);
    opacity: 0;
    animation: push-notification-loop 10s ease-in-out 1.5s infinite;
}

.push-notification-icon {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(248, 113, 113, 0.35), rgba(239, 68, 68, 0.5));
    color: #fca5a5;
    display: flex;
    align-items: center;
    justify-content: center;
}

.push-notification-icon svg {
    width: 22px;
    height: 22px;
}

.push-notification-content {
    flex: 1;
    min-width: 0;
    min-height: 48px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.push-notification-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 2px;
}

.push-notification-app {
    font-size: 12px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
}

.push-notification-time {
    font-size: 11px;
    color: rgba(148, 163, 184, 0.9);
    flex-shrink: 0;
}

.push-notification-title {
    margin: 0;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.35;
    color: #fca5a5;
    min-height: 1.35em;
}

/* Loop: push влиза → остава дълго видим (като истинско известие) → излиза → repeat */
@keyframes push-notification-loop {
    0%, 5% {
        transform: translateY(-120%);
        opacity: 0;
    }
    10% {
        transform: translateY(0);
        opacity: 1;
    }
    75% {
        transform: translateY(0);
        opacity: 1;
    }
    82% {
        transform: translateY(-120%);
        opacity: 0;
    }
    100% {
        transform: translateY(-120%);
        opacity: 0;
    }
}

/* Scene inside phone: без отделен правоъгълник – само съдържанието върху екрана */
.phone-screen .scene {
    width: 100%;
    flex: 1;
    min-height: 160px;
    border-radius: 0;
    border: none;
    box-shadow: none;
    padding: 16px 12px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
}

.phone-screen .scene .scene-background-glow {
    display: none;
}

.scene {
    position: relative;
    width: 320px;
    height: 260px;
    border-radius: 26px;
    background: radial-gradient(circle at top, #020617, #020617);
    border: 1px solid rgba(148, 163, 184, 0.5);
    box-shadow: var(--shadow-soft);
    overflow: hidden;
    padding: 18px 20px;
}

.scene-status-panel {
    height: auto;
    min-height: 140px;
    padding: 20px 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.status-panel {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 260px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Еднаква височина на редовете на всички езици */
.status-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 48px;
    padding: 12px 16px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.02em;
    opacity: 0;
    transform: translateX(-12px);
    animation: status-row-in 0.5s ease-out forwards;
    transition: background 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.status-row .status-label,
.status-row .status-value {
    position: relative;
    z-index: 1;
    line-height: 1.3;
    word-break: break-word;
}

.status-row:nth-child(1) { animation-delay: 0.15s; }
.status-row:nth-child(2) { animation-delay: 0.4s; }

@keyframes status-row-in {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.status-row .status-label {
    color: var(--text-muted);
    min-width: 0;
    flex: 1;
}

.status-row .status-value {
    font-weight: 700;
    white-space: nowrap;
    flex-shrink: 0;
    min-width: 4.5em;
    text-align: right;
}

.status-row.status-open {
    background: rgba(248, 113, 113, 0.15);
    border: 1px solid rgba(248, 113, 113, 0.4);
    box-shadow: 0 0 0 0 rgba(248, 113, 113, 0);
    animation: status-row-in 0.5s ease-out 0.15s forwards, status-open-pulse 2.2s ease-in-out 1s infinite;
    position: relative;
    overflow: hidden;
}

/* Момент „засечено движение“ – светване преди push да пристигне */
.status-row.status-open::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: rgba(248, 113, 113, 0.35);
    opacity: 0;
    pointer-events: none;
    animation: sensor-trigger-flash 10s ease-out 1.5s infinite;
}

.status-row.status-open .status-value {
    color: #fca5a5;
}

.status-row.status-closed {
    background: rgba(34, 197, 94, 0.12);
    border: 1px solid rgba(34, 197, 94, 0.35);
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0);
    animation: status-row-in 0.5s ease-out 0.4s forwards, status-closed-pulse 2.6s ease-in-out 1.3s infinite;
}

.status-row.status-closed .status-value {
    color: var(--accent-strong);
}

@keyframes status-open-pulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(248, 113, 113, 0);
        border-color: rgba(248, 113, 113, 0.4);
    }
    50% {
        box-shadow: 0 0 12px 2px rgba(248, 113, 113, 0.25);
        border-color: rgba(248, 113, 113, 0.65);
    }
}

/* В момента на "движение на сензора" – кратък силен пулс, след който идва push */
@keyframes sensor-trigger-flash {
    0%, 7% { opacity: 0; }
    9% { opacity: 0.5; }
    12%, 100% { opacity: 0; }
}

@keyframes status-closed-pulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0);
        border-color: rgba(34, 197, 94, 0.35);
    }
    50% {
        box-shadow: 0 0 12px 2px rgba(34, 197, 94, 0.2);
        border-color: rgba(34, 197, 94, 0.55);
    }
}

.scene-background-glow {
    position: absolute;
    inset: -40%;
    background:
        radial-gradient(circle at 0 0, rgba(34, 197, 94, 0.22), transparent 60%),
        radial-gradient(circle at 100% 110%, rgba(59, 130, 246, 0.16), transparent 60%);
    opacity: 0.8;
    mix-blend-mode: screen;
    animation: scene-glow-pulse 4s ease-in-out infinite;
}

.house {
    position: relative;
    width: 160px;
    height: 130px;
    margin-top: 40px;
    margin-left: 10px;
    z-index: 1;
}

.roof {
    position: absolute;
    top: -30px;
    left: 12px;
    width: 130px;
    height: 60px;
    background: linear-gradient(135deg, #0b1220, #020617);
    transform: skewX(-20deg);
    border-top-left-radius: 10px;
    border-top-right-radius: 18px;
    box-shadow: 0 12px 20px rgba(15, 23, 42, 0.9);
}

.body {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    border-radius: 18px;
    background: linear-gradient(145deg, #020617, #020617);
    border: 1px solid rgba(148, 163, 184, 0.6);
    box-shadow:
        0 18px 32px rgba(15, 23, 42, 0.9),
        inset 0 0 0 1px rgba(15, 23, 42, 0.9);
}

.window {
    position: absolute;
    top: 22px;
    left: 18px;
    width: 54px;
    height: 42px;
    border-radius: 12px;
    background: rgba(15, 23, 42, 0.9);
    border: 1px solid rgba(248, 113, 113, 0.5);
    overflow: hidden;
    animation: window-alert-glow 2.2s ease-in-out infinite;
}

.window-glass {
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top left, rgba(248, 113, 113, 0.12), rgba(15, 23, 42, 0.95));
}

.sensor-dot {
    position: absolute;
    top: -6px;
    right: 8px;
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: var(--accent);
    box-shadow:
        0 0 0 4px var(--accent-soft),
        0 0 0 1px rgba(15, 23, 42, 0.9);
    animation: sensor-pulse 2.4s ease-out infinite;
}

.door {
    position: absolute;
    bottom: 0;
    right: 16px;
    width: 54px;
    height: 70px;
    border-radius: 14px 14px 4px 4px;
    background: linear-gradient(145deg, #020617, #020617);
    border: 1px solid rgba(34, 197, 94, 0.4);
    overflow: hidden;
    animation: door-secure-glow 3s ease-in-out infinite;
}

.door-inner {
    position: absolute;
    inset: 10px 8px 8px;
    border-radius: 10px;
    background: radial-gradient(circle at top, rgba(15, 23, 42, 0.4), rgba(15, 23, 42, 1));
}

.sensor-door {
    top: 10px;
    right: -4px;
}

.burglar {
    position: absolute;
    bottom: 32px;
    left: 130px;
    width: 46px;
    height: 70px;
    z-index: 2;
    animation: burglar-move 4.5s ease-in-out infinite;
}

.burglar-body {
    position: absolute;
    bottom: 0;
    left: 8px;
    width: 28px;
    height: 44px;
    border-radius: 16px;
    background: linear-gradient(145deg, #020617, #020617);
    border: 1px solid rgba(148, 163, 184, 0.7);
    box-shadow: 0 10px 18px rgba(15, 23, 42, 0.9);
}

.burglar-mask {
    position: absolute;
    bottom: 34px;
    left: 10px;
    width: 24px;
    height: 16px;
    border-radius: 999px;
    background: #020617;
    border: 1px solid rgba(148, 163, 184, 0.8);
    box-shadow: 0 6px 10px rgba(15, 23, 42, 0.9);
}

.burglar-mask::before,
.burglar-mask::after {
    content: "";
    position: absolute;
    top: 5px;
    width: 5px;
    height: 4px;
    border-radius: 999px;
    background: #e5e7eb;
}

.burglar-mask::before {
    left: 5px;
}

.burglar-mask::after {
    right: 5px;
}

.alert-badge {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 32px;
    height: 32px;
    border-radius: 999px;
    background: radial-gradient(circle at top, #f97373, #b91c1c);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fee2e2;
    font-weight: 700;
    font-size: 18px;
    box-shadow:
        0 0 0 6px var(--danger-soft),
        0 0 0 1px rgba(15, 23, 42, 0.95);
    z-index: 3;
    animation: alert-pulse 1.8s ease-out infinite;
}

.alert-icon {
    transform: translateY(-1px);
}

.phone-panel {
    position: absolute;
    bottom: 14px;
    right: 12px;
    width: 148px;
    min-height: 86px;
    border-radius: 20px;
    background: linear-gradient(145deg, rgba(15, 23, 42, 0.98), #020617);
    border: 1px solid rgba(148, 163, 184, 0.8);
    box-shadow:
        0 16px 30px rgba(15, 23, 42, 0.95),
        0 0 0 1px rgba(15, 23, 42, 0.9);
    z-index: 2;
    padding: 8px 10px;
}

.phone {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 18px;
    background: radial-gradient(circle at top, #020617, #020617);
    border: 1px solid rgba(148, 163, 184, 0.7);
    overflow: hidden;
}

.phone-screen {
    position: absolute;
    inset: 8px 6px 10px;
    border-radius: 14px;
    background: radial-gradient(circle at top, rgba(15, 23, 42, 0.6), rgba(15, 23, 42, 1));
    padding: 4px 4px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 9px;
    min-height: 0;
}

.notif {
    display: flex;
    align-items: center;
    gap: 4px;
    border-radius: 10px;
    padding: 4px 8px;
    flex-shrink: 0;
    animation: notif-in 0.4s ease-out backwards;
}

.notif-danger {
    background: var(--danger-soft);
    color: #fecaca;
    animation-delay: 0.2s;
}

.notif-safe {
    background: rgba(22, 163, 74, 0.2);
    color: #bbf7d0;
    animation-delay: 0.5s;
}

.notif-dot {
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: currentColor;
    flex-shrink: 0;
}

.notif-text {
    white-space: normal;
    line-height: 1.25;
    word-break: break-word;
}

.signal-wave {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 36px;
    height: 36px;
    border-radius: 999px;
    border: 1px solid rgba(52, 211, 153, 0.4);
    transform: translate(-50%, -50%);
    pointer-events: none;
    animation: signal-ping 2.4s ease-out infinite;
}

.signal-wave-2 {
    animation-delay: 0.9s;
}

.section {
    margin-top: 56px;
}

.section-split .section-content {
    max-width: 640px;
}

.section h2 {
    margin: 0 0 10px;
    font-size: 26px;
    font-weight: 800;
    letter-spacing: 0.02em;
    text-align: center;
    color: var(--text);
}

.section p {
    margin: 0;
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-muted);
}

.section p strong {
    color: var(--accent-strong);
}

.bullets {
    margin: 18px 0 0;
    padding-left: 18px;
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.7;
}

.bullets li + li {
    margin-top: 4px;
}

.section-alt {
    position: relative;
}

.section-alt::before {
    content: "";
    position: absolute;
    inset: -40px -40px auto auto;
    background:
        radial-gradient(circle at 100% 0, rgba(34, 197, 94, 0.18), transparent 60%),
        radial-gradient(circle at 0 120%, rgba(59, 130, 246, 0.12), transparent 60%);
    opacity: 0.7;
    pointer-events: none;
}

.section-stats {
    margin-top: 64px;
}

.section-subtitle {
    margin-top: 6px;
    text-align: center;
}

.section-product {
    margin-top: 52px;
}

.product-grid {
    margin-top: 24px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

@media (max-width: 900px) {
    .product-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

.product-wifi-note {
    margin-top: 20px;
    padding: 14px 20px;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text);
    background: var(--accent-soft);
    border: 1px solid rgba(34, 197, 94, 0.45);
    border-radius: var(--radius-md);
    text-align: center;
    box-shadow: 0 0 0 1px rgba(34, 197, 94, 0.15);
}

.section-advantages {
    margin-top: 52px;
}

.advantages-list {
    list-style: none;
    margin: 20px 0 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px 24px;
    text-align: left;
}

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

@media (max-width: 520px) {
    .advantages-list {
        grid-template-columns: 1fr;
        gap: 14px;
    }
}

.advantages-list li {
    position: relative;
    padding-left: 28px;
    font-size: 15px;
    line-height: 1.5;
    color: var(--text);
    text-align: left;
}

.advantages-list li strong {
    font-weight: 700;
    color: var(--accent-strong);
}

.advantages-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.35em;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--accent);
    opacity: 0.9;
}

.product-card {
    background: linear-gradient(145deg, rgba(15, 23, 42, 0.98), rgba(15, 23, 42, 0.98));
    border-radius: var(--radius-lg);
    padding: 16px 18px 14px;
    border: 1px solid var(--border-subtle);
    box-shadow: var(--shadow-soft);
    position: relative;
    overflow: hidden;
}

.product-card::before {
    content: "";
    position: absolute;
    inset: -60%;
    background:
        radial-gradient(circle at 0 0, rgba(34, 197, 94, 0.16), transparent 60%),
        radial-gradient(circle at 100% 120%, rgba(56, 189, 248, 0.14), transparent 60%);
    opacity: 0.7;
    mix-blend-mode: screen;
}

.product-card h3 {
    position: relative;
    margin: 0 0 8px;
    font-size: 15px;
}

.product-card p {
    position: relative;
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-muted);
}

.product-icon {
    position: relative;
    width: 48px;
    height: 48px;
    margin-bottom: 12px;
    color: rgba(226, 232, 240, 0.95);
}

.product-icon svg {
    width: 100%;
    height: 100%;
    display: block;
}

.product-icon-window::before,
.product-icon-window::after,
.product-icon-door::before,
.product-icon-door::after,
.product-icon-app::before,
.product-icon-app::after {
    display: none;
}

.stats-grid {
    margin-top: 26px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

@media (max-width: 800px) {
    .stats-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

.stat-card {
    background: linear-gradient(145deg, rgba(15, 23, 42, 0.98), rgba(15, 23, 42, 0.98));
    border-radius: var(--radius-lg);
    padding: 16px 18px 14px;
    border: 1px solid var(--border-subtle);
    box-shadow: var(--shadow-soft);
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: "";
    position: absolute;
    inset: -60%;
    background:
        radial-gradient(circle at 0 0, rgba(34, 197, 94, 0.18), transparent 60%),
        radial-gradient(circle at 100% 120%, rgba(56, 189, 248, 0.16), transparent 60%);
    opacity: 0.7;
    mix-blend-mode: screen;
}

.stat-number {
    position: relative;
    display: block;
    font-size: 30px;
    font-weight: 700;
    color: var(--accent-strong);
}

.stat-label {
    position: relative;
    display: block;
    margin-top: 4px;
    font-size: 13px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--text);
}

.stat-help {
    position: relative;
    margin-top: 6px;
    font-size: 12px;
    color: var(--text-muted);
}

.section-compatibility {
    margin-top: 52px;
}

.compatibility-list {
    list-style: none;
    margin: 20px 0 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px 32px;
}

.compatibility-list li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    color: var(--text);
}

.compatibility-icon {
    font-size: 1.2em;
}

.compatibility-list strong {
    color: var(--accent-strong);
}

.section-pricing {
    margin-top: 52px;
}

.pricing-grid {
    margin-top: 28px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    align-items: stretch;
}

@media (max-width: 900px) {
    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 360px;
        margin-left: auto;
        margin-right: auto;
    }
}

.pricing-card {
    position: relative;
    background: linear-gradient(145deg, rgba(15, 23, 42, 0.98), rgba(15, 23, 42, 0.98));
    border-radius: var(--radius-lg);
    padding: 22px 20px 24px;
    border: 1px solid var(--border-subtle);
    box-shadow: var(--shadow-soft);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.pricing-card-popular {
    border-color: rgba(34, 197, 94, 0.7);
    border-width: 2px;
    box-shadow:
        0 0 0 1px rgba(34, 197, 94, 0.35),
        0 12px 28px rgba(0, 0, 0, 0.35),
        0 0 24px rgba(34, 197, 94, 0.15);
    transform: scale(1.04);
}

.pricing-badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    padding: 4px 12px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--bg);
    background: var(--accent);
    border-radius: 999px;
    white-space: nowrap;
}

.pricing-badge-value {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.9), rgba(22, 163, 74, 0.95));
}

.pricing-card-name {
    display: block;
    margin: 0 0 4px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent-strong);
}

.pricing-card-popular .pricing-card-name,
.pricing-card-value .pricing-card-name {
    margin-top: 6px;
}

.pricing-card-title {
    margin: 0 0 8px;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text);
}

.pricing-card-price {
    margin: 0 0 12px;
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--accent-strong);
}

.pricing-card-desc {
    margin: 0 0 18px;
    font-size: 13px;
    line-height: 1.5;
    color: var(--text-muted);
    flex: 1;
}

.pricing-card-btn {
    margin-top: auto;
    width: 100%;
    max-width: 200px;
    cursor: pointer;
}

.pricing-note {
    margin-top: 14px;
    font-size: 11px;
    line-height: 1.5;
    color: var(--text-muted);
    text-align: center;
}

.section-faq {
    margin-top: 52px;
}

.faq-section-trigger {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    margin: 0 0 8px;
    padding: 14px 20px;
    font-size: 26px;
    font-weight: 800;
    letter-spacing: 0.02em;
    color: var(--text);
    text-align: center;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.6) 0%, rgba(6, 78, 59, 0.15) 100%);
    border: 1px solid rgba(148, 163, 184, 0.25);
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
}

.faq-section-trigger:hover {
    border-color: rgba(34, 197, 94, 0.4);
    color: var(--accent-strong);
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.8) 0%, rgba(34, 197, 94, 0.12) 100%);
}

.faq-section-chevron {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    margin-top: -6px;
    transition: transform 0.3s ease;
    opacity: 0.85;
}

.faq-section:not(.is-open) .faq-section-chevron {
    transform: rotate(-135deg);
    margin-top: 4px;
}

.faq-accordion-wrap {
    overflow: hidden;
    max-height: 2000px;
    transition: max-height 0.4s ease;
}

.faq-accordion-wrap:not(.is-open) {
    max-height: 0;
}

.faq-list {
    margin: 24px 0 0;
    padding: 0;
    list-style: none;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.faq-item {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: 1px solid var(--border-subtle);
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-q {
    margin: 0;
    font-size: 15px;
    font-weight: 600;
    color: var(--text);
}

.faq-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 14px 18px;
    margin: 0;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: var(--text-muted);
    text-align: left;
    background: rgba(15, 23, 42, 0.5);
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: var(--radius-md);
    cursor: pointer;
    gap: 14px;
    transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.faq-trigger:hover {
    color: var(--accent-strong);
    border-color: rgba(34, 197, 94, 0.35);
    background: rgba(34, 197, 94, 0.08);
}

.faq-item.is-open .faq-trigger {
    color: var(--text);
    border-color: rgba(34, 197, 94, 0.4);
    background: rgba(34, 197, 94, 0.1);
    box-shadow: 0 0 0 1px rgba(34, 197, 94, 0.15);
}

.faq-trigger .faq-chevron {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    margin-top: -4px;
    transition: transform 0.25s ease;
    opacity: 0.8;
}

.faq-item.is-open .faq-trigger .faq-chevron {
    transform: rotate(-135deg);
    margin-top: 4px;
}

.faq-a {
    margin: 0;
    padding: 0;
    font-size: 14px;
    line-height: 1.55;
    color: var(--text-muted);
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transition: max-height 0.3s ease, opacity 0.25s ease, padding 0.2s ease;
}

.faq-item.is-open .faq-a {
    max-height: 500px;
    opacity: 1;
    padding: 0 0 16px 0;
}

@media (max-width: 620px) {
    .faq-section-trigger {
        font-size: 20px;
        padding: 12px 16px;
    }
}

.section-cta {
    margin-top: 60px;
}

.cta-steps {
    margin: 18px 0 0;
    padding-left: 20px;
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.7;
}

.cta-steps li + li {
    margin-top: 4px;
}

.cta-actions {
    margin-top: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.cta-buy-btn {
    margin-top: 0;
    cursor: pointer;
}

.cta-actions-sep {
    font-size: 13px;
    color: var(--text-muted);
}

.cta-inquiry-label {
    margin: 20px 0 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
    text-align: center;
}

.contact-form {
    margin-top: 20px;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.form-order-section {
    padding: 16px 0;
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
    margin: 4px 0;
}

.form-order-title {
    margin: 0 0 12px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: var(--text);
}

.form-order-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-bottom: 14px;
}

.form-label-full {
    margin-bottom: 0;
}

.form-input-number {
    width: 100%;
    max-width: 100px;
}

.payment-returns-block {
    margin-top: 28px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    max-width: 720px;
}

.payment-returns-card {
    padding: 18px 20px;
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
}

.payment-returns-title {
    margin: 0 0 8px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: var(--text);
}

.payment-returns-text {
    margin: 0;
    font-size: 13px;
    line-height: 1.55;
    color: var(--text-muted);
}

.payment-returns-text strong {
    color: var(--text);
    font-weight: 600;
}

@media (max-width: 400px) {
    .form-order-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 620px) {
    .payment-returns-block {
        grid-template-columns: 1fr;
    }
}

/* Панел за директна поръчка (отдясно) */
.buy-panel-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.buy-panel-overlay.visible {
    opacity: 1;
    visibility: visible;
}

.buy-panel {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    max-width: 640px;
    height: 100vh;
    background: var(--bg-card);
    border-left: 1px solid var(--border-subtle);
    z-index: 1001;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
    box-shadow: -8px 0 32px rgba(0, 0, 0, 0.3);
}

.buy-panel.visible {
    transform: translateX(0);
}

.buy-panel-inner {
    padding: 40px 32px 40px;
    position: relative;
}

.buy-panel-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 50%;
    background: rgba(148, 163, 184, 0.2);
    color: var(--text);
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.buy-panel-close:hover {
    background: rgba(148, 163, 184, 0.35);
}

.buy-panel-title {
    margin: 0 0 12px;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text);
}

.buy-panel-desc {
    margin: 0 0 20px;
    font-size: 13px;
    line-height: 1.55;
    color: var(--text-muted);
}

.buy-panel-price-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 4px;
    gap: 12px;
    min-width: 0;
}

.buy-panel-price-label {
    font-size: 13px;
    color: var(--text-muted);
}

.buy-panel-price {
    font-size: 16px;
    font-weight: 700;
    color: var(--accent);
    white-space: nowrap;
    flex-shrink: 0;
}

.buy-panel-note {
    margin: 0 0 18px;
    font-size: 12px;
    line-height: 1.5;
    color: var(--text-muted);
}

.buy-panel-layout {
    display: grid;
    grid-template-columns: minmax(260px, 1.6fr) minmax(0, 1.4fr);
    gap: 28px;
    align-items: flex-start;
    margin-bottom: 18px;
}

.buy-panel-summary {
    padding: 18px 20px;
    border-radius: var(--radius-lg);
    background: radial-gradient(circle at top left, rgba(34, 197, 94, 0.12), transparent 55%), rgba(15, 23, 42, 0.9);
    border: 1px solid rgba(148, 163, 184, 0.3);
    min-width: 0;
}

.buy-summary-title {
    margin: 0 0 10px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.buy-summary-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.buy-summary-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    font-size: 13px;
    color: var(--text-muted);
    min-width: 0;
}

.buy-summary-total {
    margin-top: 6px;
    padding-top: 6px;
    border-top: 1px dashed rgba(148, 163, 184, 0.4);
    font-weight: 600;
    color: var(--text);
}

.buy-summary-value {
    font-weight: 500;
    color: var(--text);
    flex-shrink: 0;
    text-align: right;
}

.buy-summary-value-num {
    white-space: nowrap;
}

.buy-panel-payment {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

@media (max-width: 520px) {
    .buy-panel-layout {
        grid-template-columns: 1fr;
    }
}

.buy-panel-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.buy-panel-quantity {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.quantity-stepper {
    display: flex;
    align-items: center;
    gap: 0;
    width: fit-content;
}

.quantity-btn {
    width: 36px;
    min-width: 36px;
    max-width: 36px;
    height: 36px;
    min-height: 36px;
    max-height: 36px;
    flex-shrink: 0;
    border-radius: var(--radius-md, 8px);
    border: 1px solid rgba(34, 197, 94, 0.7);
    background: radial-gradient(circle at top left, rgba(34, 197, 94, 0.16), rgba(15, 23, 42, 0.98));
    color: var(--accent-strong);
    font-size: 16px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow:
        0 10px 26px rgba(15, 23, 42, 0.95),
        0 0 0 1px rgba(15, 23, 42, 0.95);
    transition:
        transform var(--transition-fast),
        box-shadow var(--transition-fast),
        filter var(--transition-fast);
}

.quantity-btn:hover {
    transform: translateY(-1px);
    filter: brightness(1.03);
    box-shadow:
        0 16px 34px rgba(15, 23, 42, 1),
        0 0 0 1px rgba(34, 197, 94, 0.8);
}

.quantity-input {
    width: 56px;
    min-width: 56px;
    text-align: center;
    border-radius: 0;
    border-left: none;
    border-right: none;
}

/* Hide native number spin buttons when using custom stepper */
.quantity-stepper input[type="number"]::-webkit-inner-spin-button,
.quantity-stepper input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
.quantity-stepper input[type="number"] {
    -moz-appearance: textfield;
    appearance: textfield;
}

.form-select {
    width: 100%;
    padding: 10px 14px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-subtle);
    background: rgba(15, 23, 42, 0.95);
    color: var(--text);
    font-size: 14px;
    font-family: inherit;
    cursor: pointer;
}

.form-label {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-label-text {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.06em;
    color: var(--text);
}

.form-input {
    width: 100%;
    padding: 10px 14px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-subtle);
    background: rgba(15, 23, 42, 0.95);
    color: var(--text);
    font-size: 14px;
    font-family: inherit;
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: var(--text-muted);
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: rgba(34, 197, 94, 0.7);
    box-shadow: 0 0 0 3px var(--accent-soft);
}

.form-textarea {
    resize: vertical;
    min-height: 100px;
}

.cta-submit {
    margin-top: 8px;
    cursor: pointer;
    width: 100%;
    max-width: 320px;
    justify-content: center;
    align-self: center;
}

.cta-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.form-status {
    margin: 0;
    font-size: 14px;
    min-height: 1.4em;
}

.form-status-success {
    color: var(--accent-strong);
}

.form-status-error {
    color: var(--danger);
}

/* Success notification overlay */
.success-notification-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(2, 6, 23, 0.75);
    backdrop-filter: blur(8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease-out, visibility 0.35s ease-out;
}

.success-notification-overlay.success-notification-visible {
    opacity: 1;
    visibility: visible;
}

.success-notification {
    max-width: 420px;
    width: 100%;
    padding: 32px 28px;
    background: linear-gradient(145deg, rgba(15, 23, 42, 0.98), rgba(2, 6, 23, 0.98));
    border: 1px solid rgba(34, 197, 94, 0.5);
    border-radius: var(--radius-lg);
    box-shadow:
        0 0 0 1px rgba(34, 197, 94, 0.2),
        0 24px 48px rgba(0, 0, 0, 0.6),
        0 0 80px rgba(34, 197, 94, 0.15);
    text-align: center;
    transform: scale(0.92);
    opacity: 0;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.35s ease-out;
}

.success-notification-overlay.success-notification-visible .success-notification {
    transform: scale(1);
    opacity: 1;
}

.success-notification-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    border-radius: 50%;
    background: radial-gradient(circle at top, rgba(34, 197, 94, 0.35), rgba(22, 101, 52, 0.5));
    border: 2px solid var(--accent-strong);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-strong);
    animation: success-pop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) 0.15s both;
}

.success-notification-icon svg {
    width: 32px;
    height: 32px;
}

.success-notification-title {
    margin: 0 0 10px;
    font-size: 22px;
    font-weight: 700;
    color: var(--accent-strong);
    letter-spacing: 0.02em;
}

.success-notification-message {
    margin: 0;
    font-size: 15px;
    line-height: 1.5;
    color: var(--text-muted);
}

@keyframes success-pop {
    0% { transform: scale(0); opacity: 0; }
    70% { transform: scale(1.1); }
    100% { transform: scale(1); opacity: 1; }
}

.cta-primary-link {
    display: inline-flex;
    margin-top: 18px;
    padding: 10px 20px;
    border-radius: 999px;
    border: 1px solid rgba(34, 197, 94, 0.7);
    background: radial-gradient(circle at top left, rgba(34, 197, 94, 0.16), rgba(15, 23, 42, 0.98));
    color: var(--accent-strong);
    font-size: 13px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    align-items: center;
    justify-content: center;
    box-shadow:
        0 10px 26px rgba(15, 23, 42, 0.95),
        0 0 0 1px rgba(15, 23, 42, 0.95);
    transition:
        transform var(--transition-fast),
        box-shadow var(--transition-fast),
        filter var(--transition-fast);
}

.cta-primary-link:hover {
    transform: translateY(-1px);
    filter: brightness(1.03);
    box-shadow:
        0 16px 34px rgba(15, 23, 42, 1),
        0 0 0 1px rgba(34, 197, 94, 0.8);
}

.cta-secondary-link {
    display: inline-flex;
    margin-top: 18px;
    padding: 10px 20px;
    border-radius: 999px;
    border: 1px solid var(--border-subtle);
    background: transparent;
    color: var(--text);
    font-size: 13px;
    letter-spacing: 0.05em;
    text-decoration: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: border-color var(--transition-fast), background var(--transition-fast);
}

.cta-secondary-link:hover {
    border-color: rgba(148, 163, 184, 0.6);
    background: rgba(15, 23, 42, 0.5);
}

/* Testimonials */
.section-testimonials {
    margin-top: 56px;
}

.testimonials-grid {
    margin-top: 24px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

@media (max-width: 1000px) {
    .testimonials-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

.testimonial-card {
    margin: 0;
    padding: 18px 20px;
    background: linear-gradient(145deg, rgba(15, 23, 42, 0.98), rgba(15, 23, 42, 0.98));
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-subtle);
    box-shadow: var(--shadow-soft);
    position: relative;
    overflow: hidden;
}

.testimonial-card::before {
    content: "";
    position: absolute;
    inset: -60%;
    background:
        radial-gradient(circle at 0 0, rgba(34, 197, 94, 0.12), transparent 60%),
        radial-gradient(circle at 100% 120%, rgba(56, 189, 248, 0.1), transparent 60%);
    opacity: 0.7;
    mix-blend-mode: screen;
}

.testimonial-text {
    position: relative;
    margin: 0 0 14px;
    font-size: 14px;
    line-height: 1.65;
    color: var(--text);
    font-style: italic;
}

.testimonial-author {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.testimonial-name {
    font-size: 13px;
    font-weight: 600;
    color: var(--accent-strong);
}

.testimonial-meta {
    font-size: 12px;
    color: var(--text-muted);
}

.site-footer {
    margin-top: 48px;
    font-size: 12px;
    color: var(--text-muted);
    text-align: center;
}

.site-footer .footer-wifi-note {
    margin-top: 10px;
    font-size: 11px;
    opacity: 0.9;
}

/* Animations */
@keyframes notif-in {
    from {
        opacity: 0;
        transform: translateX(8px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes window-alert-glow {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(248, 113, 113, 0.2);
    }
    50% {
        box-shadow: 0 0 12px 2px rgba(248, 113, 113, 0.25);
    }
}

@keyframes door-secure-glow {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.15);
    }
    50% {
        box-shadow: 0 0 10px 1px rgba(34, 197, 94, 0.2);
    }
}

@keyframes scene-glow-pulse {
    0%, 100% { opacity: 0.7; }
    50% { opacity: 0.95; }
}

@keyframes sensor-pulse {
    0% {
        box-shadow:
            0 0 0 0 var(--accent-soft),
            0 0 0 1px rgba(15, 23, 42, 0.9);
    }
    70% {
        box-shadow:
            0 0 0 8px transparent,
            0 0 0 1px rgba(15, 23, 42, 0.9);
    }
    100% {
        box-shadow:
            0 0 0 0 transparent,
            0 0 0 1px rgba(15, 23, 42, 0.9);
    }
}

@keyframes burglar-move {
    0% {
        transform: translateX(30px);
        opacity: 0;
    }
    20% {
        transform: translateX(0);
        opacity: 1;
    }
    45% {
        transform: translateX(-8px);
    }
    65% {
        transform: translateX(-10px);
    }
    90% {
        transform: translateX(40px);
        opacity: 0;
    }
    100% {
        transform: translateX(40px);
        opacity: 0;
    }
}

@keyframes alert-pulse {
    0% {
        transform: scale(1);
        box-shadow:
            0 0 0 6px var(--danger-soft),
            0 0 0 1px rgba(15, 23, 42, 0.95);
    }
    40% {
        transform: scale(1.08);
        box-shadow:
            0 0 0 10px rgba(248, 113, 113, 0),
            0 0 0 1px rgba(15, 23, 42, 0.95);
    }
    100% {
        transform: scale(1);
        box-shadow:
            0 0 0 6px var(--danger-soft),
            0 0 0 1px rgba(15, 23, 42, 0.95);
    }
}

@keyframes signal-ping {
    0% {
        opacity: 0.8;
        transform: translate(-50%, -50%) scale(0.7);
    }
    80% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(1.4);
    }
    100% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(1.4);
    }
}

@keyframes auraFloat {
    0% {
        transform: rotateX(20deg) rotateY(-26deg) translateY(0);
    }
    35% {
        transform: rotateX(14deg) rotateY(18deg) translateY(-8px);
    }
    65% {
        transform: rotateX(10deg) rotateY(-10deg) translateY(-4px);
    }
    100% {
        transform: rotateX(20deg) rotateY(-26deg) translateY(0);
    }
}

@keyframes auraGlow {
    0% {
        text-shadow:
            0 1px 0 rgba(15, 23, 42, 0.9),
            0 6px 12px rgba(15, 23, 42, 0.8),
            0 18px 35px rgba(15, 23, 42, 1);
    }
    50% {
        text-shadow:
            0 1px 0 rgba(15, 23, 42, 0.9),
            0 10px 24px rgba(34, 197, 94, 0.7),
            0 30px 60px rgba(8, 47, 73, 1);
    }
    100% {
        text-shadow:
            0 1px 0 rgba(15, 23, 42, 0.9),
            0 6px 12px rgba(15, 23, 42, 0.8),
            0 18px 35px rgba(15, 23, 42, 1);
    }
}

@keyframes auraGradient {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}
