/* ============================================================
   Найсфон - Публичен сайт
   ============================================================ */

:root {
    --bg: #06060c;
    --bg-soft: #0b0b16;
    --surface: #10101d;
    --surface-2: #171729;
    --border: rgba(255, 255, 255, 0.09);
    --border-strong: rgba(255, 255, 255, 0.16);
    --text: #f5f6fb;
    --muted: #a3a9bf;
    --muted-2: #707792;
    --c1: #ff6b6b;
    --c2: #ef4444;
    --c3: #e11d48;
    --c4: #f43f5e;
    --grad: linear-gradient(135deg, #ff6b6b 0%, #ef4444 48%, #e11d48 100%);
    --grad-soft: linear-gradient(135deg, rgba(255, 107, 107, 0.14), rgba(239, 68, 68, 0.14) 48%, rgba(225, 29, 72, 0.14));
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: var(--text);
    background-color: var(--bg);
    background-image:
        radial-gradient(1100px 620px at 88% -12%, rgba(225, 29, 72, 0.18), transparent 60%),
        radial-gradient(900px 520px at -8% 18%, rgba(255, 107, 107, 0.13), transparent 55%),
        radial-gradient(820px 640px at 50% 115%, rgba(239, 68, 68, 0.16), transparent 60%);
    background-attachment: fixed;
    line-height: 1.65;
    overflow-x: hidden;
    min-height: 100vh;
}

h1, h2, h3, h4, h5, h6 {
    font-family: inherit;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

::selection {
    background: var(--c3);
    color: #fff;
}

/* Скролбар */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: #0a0a14; }
::-webkit-scrollbar-thumb { background: linear-gradient(var(--c1), var(--c3)); border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: linear-gradient(var(--c2), var(--c4)); }

/* ============================================================
   ПРЕХВЪРЛЯНЕ НА СВЕТЛИТЕ КЛАСОВЕ → ТЪМНА НЕОНОВА ТЕМА
   ============================================================ */
.bg-white { background-color: var(--surface); }
.bg-slate-50, .bg-gray-50 { background-color: var(--bg-soft); }
.bg-slate-100 { background-color: var(--surface-2); }
.bg-gray-200 { background-color: var(--surface-2); }
.bg-slate-900 { background-color: #08080f; }

.text-slate-900, .text-slate-800 { color: var(--text); }
.text-slate-700, .text-slate-600, .text-gray-600, .text-gray-700 { color: var(--muted); }
.text-gray-500, .text-slate-500 { color: var(--muted-2); }
.text-gray-400, .text-slate-400 { color: var(--muted-2); }
.text-slate-300, .text-slate-200, .text-slate-100 { color: var(--text); }

.border-slate-300, .border-slate-200, .border-slate-100 { border-color: var(--border); }
.border-slate-700, .border-slate-800 { border-color: var(--border-strong); }

/* Акцентен цвят (червено → неонов градиент) */
.bg-red-600, .bg-red-500, .bg-teal-500 { background-color: transparent; background-image: var(--grad); }
.bg-red-700 { background-color: transparent; background-image: linear-gradient(135deg, #ef4444, #b91c1c 48%, #9f1239); }
.bg-red-100 { background-color: rgba(239, 68, 68, 0.14); }
.text-red-600, .text-teal-600, .text-teal-700 { color: var(--c1); }
.text-red-700 { color: var(--c4); }
.hover\:bg-red-700:hover { background-color: transparent; background-image: linear-gradient(135deg, #ef4444, #b91c1c 48%, #9f1239); }
.hover\:bg-slate-100:hover { background-color: var(--surface-2); }
.hover\:text-red-600:hover { color: var(--c1); }
.hover\:text-slate-900:hover { color: var(--text); }

/* Сенки */
.shadow-sm { box-shadow: 0 1px 0 rgba(255, 255, 255, 0.04) inset, 0 10px 30px rgba(0, 0, 0, 0.45); }
.shadow-md { box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5); }
.shadow-lg { box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6); }

/* Стъклен хедър */
header.bg-white {
    background-color: rgba(9, 9, 18, 0.72);
    backdrop-filter: blur(18px) saturate(140%);
    -webkit-backdrop-filter: blur(18px) saturate(140%);
    border-bottom: 1px solid var(--border);
}

/* Тънък неонов кант на картите */
.bg-white.rounded-xl, .bg-white.rounded-lg {
    border: 1px solid var(--border);
}


/* Анимации */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-14px); }
}
@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}
@keyframes spin {
    to { transform: rotate(360deg); }
}
@keyframes marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

.fade-in { animation: fadeIn 0.6s ease-out; }
.float { animation: float 4s ease-in-out infinite; }

/* Херо */
.hero-gradient { background: var(--grad); }

.hero-pattern {
    background-image:
        radial-gradient(circle at 20% 30%, rgba(255, 107, 107, 0.16) 0, transparent 35%),
        radial-gradient(circle at 80% 70%, rgba(225, 29, 72, 0.14) 0, transparent 40%);
}

/* Летящи светещи петна */
.glow-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    opacity: 0.55;
    pointer-events: none;
}

/* Бадж над заглавието */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.9rem;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text);
    background: var(--grad-soft);
    border: 1px solid var(--border-strong);
    margin-bottom: 1.25rem;
}

/* Светеща орбита с телефон */
.hero-orb {
    position: relative;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--grad-soft);
    border: 1px solid var(--border-strong);
    box-shadow: 0 30px 80px rgba(239, 68, 68, 0.35), inset 0 0 60px rgba(255, 107, 107, 0.10);
}
.orb-ring {
    position: absolute;
    inset: -18px;
    border-radius: 50%;
    border: 1px dashed rgba(225, 29, 72, 0.45);
    animation: spin 24s linear infinite;
}

/* Пилюли за доверие */
.trust-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.8rem;
    border-radius: 999px;
    background: var(--surface-2);
    border: 1px solid var(--border);
}

/* Карти */
.card-hover {
    border: 1px solid var(--border);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.card-hover:hover {
    transform: translateY(-6px);
    border-color: var(--border-strong);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(225, 29, 72, 0.3);
}

.transition-all {
    transition: all 0.3s ease;
}

/* Градиентен текст */
.gradient-text {
    background: var(--grad);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Анимиран градиентен текст (заглавие) */
.hero-title-gradient {
    color: var(--text);
    background: linear-gradient(120deg, #ff6b6b, #ef4444, #f43f5e, #ff6b6b);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientShift 8s ease infinite;
}

/* Лента с марки (marquee) */
.marquee {
    overflow: hidden;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    background: var(--bg-soft);
}
.marquee-track {
    display: flex;
    width: max-content;
    animation: marquee 30s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-inner {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    padding: 0 1.25rem;
}
.marquee-dot { color: var(--c3); }

/* Бутон */
.btn-primary {
    background-image: var(--grad);
    color: #fff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 8px 24px rgba(239, 68, 68, 0.4);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 34px rgba(225, 29, 72, 0.55);
}

/* Вторичен (ghost) бутон в херото */
.btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    border: 1px solid var(--border-strong);
    color: var(--text);
    background: rgba(255, 255, 255, 0.03);
    transition: transform 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}
.btn-ghost:hover {
    border-color: var(--c1);
    color: var(--c1);
    transform: translateY(-2px);
}

/* Бутон за обаждане в картите на каталога */
.call-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 14px;
    padding: 11px 14px;
    border-radius: 12px;
    font-weight: 700;
    background-image: var(--grad);
    color: #fff;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.call-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(239, 68, 68, 0.4);
}
.warranty-note {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 10px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--muted);
}
.chat-btn {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 9px 12px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.9rem;
    color: #fff;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.chat-btn:hover { transform: translateY(-2px); }
.chat-btn.viber { background: #7360f2; }
.chat-btn.whatsapp { background: #25d366; }
.status-badge { display: inline-flex; align-items: center; padding: 3px 10px; border-radius: 999px; font-size: 0.72rem; font-weight: 700; white-space: nowrap; }
.status-available { background: rgba(74, 222, 128, 0.14); color: #4ade80; }
.status-reserved { background: rgba(251, 191, 36, 0.16); color: #fbbf24; }
.status-sold { background: rgba(239, 68, 68, 0.16); color: #f87171; }

/* Лайтбокс */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 100;
    background: rgba(0, 0, 0, 0.93);
    display: none;
    align-items: center;
    justify-content: center;
}
.lightbox.show { display: flex; }
.lightbox img {
    max-width: 88vw;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 8px;
}
.lb-close {
    position: fixed;
    top: 18px;
    right: 22px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    font-size: 1.4rem;
    cursor: pointer;
    z-index: 2;
}
.lb-close:hover { background: rgba(255, 255, 255, 0.25); }
.lb-nav {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    font-size: 1.9rem;
    line-height: 1;
    cursor: pointer;
    z-index: 2;
}
.lb-nav:hover { background: rgba(255, 255, 255, 0.25); }
.lb-prev { left: 18px; }
.lb-next { right: 18px; }
.lb-counter {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    font-size: 0.9rem;
    z-index: 2;
}
.cursor-zoom-in { cursor: zoom-in; }

/* Индикатор отворено/затворено в хедъра */
.status-open, .status-closed {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
    white-space: nowrap;
}
.status-open::before, .status-closed::before {
    content: '';
    width: 7px;
    height: 7px;
    border-radius: 50%;
}
.status-open { background: rgba(74, 222, 128, 0.14); color: #4ade80; }
.status-open::before { background: #4ade80; }
.status-closed { background: rgba(239, 68, 68, 0.14); color: #f87171; }
.status-closed::before { background: #f87171; }

/* Социални иконки във футъра */
.social-links { display: flex; justify-content: center; gap: 12px; margin-top: 16px; }
.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: var(--text);
    font-size: 1.1rem;
    transition: transform .2s ease, background .2s ease;
}
.social-link:hover { transform: translateY(-2px); background: var(--grad); color: #fff; }

/* Екип */
.team-card {
    text-align: center;
    padding: 24px 16px;
    border-radius: 16px;
    background: var(--surface);
    border: 1px solid var(--border);
    transition: transform .3s ease, box-shadow .3s ease;
}
.team-card:hover { transform: translateY(-5px); box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4); }
.team-avatar {
    width: 84px;
    height: 84px;
    margin: 0 auto 14px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
    background: var(--grad);
}
.team-name { font-weight: 700; color: var(--text); }
.team-role { font-size: 0.85rem; color: var(--muted); }
.team-phone { font-size: 0.85rem; color: var(--muted); margin-top: 4px; }
.team-photo {
    width: 84px;
    height: 84px;
    margin: 0 auto 14px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--border);
}
.hours-pulse { animation: hoursPulse 1.6s ease-in-out infinite; }
@keyframes hoursPulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }

/* Куриерски карти (Еконт / Спиди) */
.courier-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 24px;
    border-radius: 16px;
    background: var(--surface);
    border: 1px solid var(--border);
    transition: transform .3s ease, box-shadow .3s ease;
}
.courier-card:hover { transform: translateY(-5px); box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4); }
.courier-logo { font-size: 1.5rem; font-weight: 800; letter-spacing: 0.05em; padding: 8px 20px; border-radius: 10px; }
.courier-logo.econt { background: #00a651; color: #fff; }
.courier-logo.speedy { background: #ffd400; color: #0051a2; }
.courier-desc { color: var(--muted); font-size: 0.9rem; }
.courier-btn { color: var(--c1); font-weight: 700; font-size: 0.9rem; }

/* Пулсираща точка в баджа */
.badge-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--c1);
    box-shadow: 0 0 0 0 rgba(255, 107, 107, 0.6);
    animation: pulse 2s infinite;
    flex: 0 0 auto;
}
@keyframes pulse {
    0%   { box-shadow: 0 0 0 0 rgba(255, 107, 107, 0.55); }
    70%  { box-shadow: 0 0 0 8px rgba(255, 107, 107, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 107, 107, 0); }
}

/* Изтъкната карта с телефон в херото */
.hero-featured {
    position: relative;
    width: 300px;
    max-width: 100%;
    border-radius: 24px;
    padding: 16px;
    background: var(--surface);
    border: 1px solid var(--border-strong);
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(225, 29, 72, 0.22);
}
.hero-featured::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 24px;
    padding: 1px;
    background: linear-gradient(140deg, rgba(255, 107, 107, 0.55), transparent 40%, rgba(225, 29, 72, 0.45));
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
            mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
            mask-composite: exclude;
    pointer-events: none;
}
.hero-featured-img {
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 16px;
    overflow: hidden;
    background: var(--surface-2);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
}
.hero-featured-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.hero-featured-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.72rem;
    font-weight: 700;
    color: #4ade80;
    background: rgba(74, 222, 128, 0.12);
    padding: 4px 10px;
    border-radius: 999px;
    letter-spacing: 0.02em;
}
.hero-featured-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text);
    margin-top: 6px;
}
.hero-featured-brand {
    color: var(--muted);
    font-size: 0.88rem;
}
.hero-featured-price {
    color: var(--c1);
    font-weight: 800;
    font-size: 1.35rem;
    margin-top: 6px;
}
.hero-featured-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--c1);
    font-weight: 600;
    font-size: 0.85rem;
    margin-top: 12px;
    transition: gap 0.2s ease;
}
.hero-featured-link:hover { gap: 10px; }

/* Иконки на услуги */
.service-icon {
    width: 88px;
    height: 88px;
    margin: 0 auto 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.6rem;
    border-radius: 50%;
    background: var(--grad-soft);
    border: 1px solid var(--border-strong);
    box-shadow: 0 8px 24px rgba(239, 68, 68, 0.25), inset 0 0 30px rgba(255, 107, 107, 0.10);
}

/* Плаващ бутон за обаждане */
.float-call {
    position: fixed;
    right: 22px;
    bottom: 22px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background-image: var(--grad);
    color: #fff;
    font-size: 1.6rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(225, 29, 72, 0.5);
    z-index: 40;
    transition: transform 0.3s ease;
}
.float-call:hover { transform: scale(1.08); }

/* Бутон нагоре */
.back-to-top {
    position: fixed;
    right: 26px;
    bottom: 220px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-image: var(--grad);
    color: #fff;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 18px rgba(225, 29, 72, 0.5);
    z-index: 40;
    cursor: pointer;
    border: none;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
}
.back-to-top.show {
    opacity: 1;
    visibility: visible;
}
.back-to-top:hover { transform: translateY(-3px); }

/* Модални прозорци за правни текстове */
.legal-overlay {
    position: fixed;
    inset: 0;
    z-index: 70;
    background: rgba(3, 3, 8, 0.72);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.legal-overlay.show { display: flex; }
.legal-modal {
    position: relative;
    width: 100%;
    max-width: 760px;
    max-height: 85vh;
    background: var(--surface);
    border: 1px solid var(--border-strong);
    border-radius: 18px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(225, 29, 72, 0.25);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    animation: fadeIn 0.25s ease;
}
.legal-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--surface-2);
    border: 1px solid var(--border);
    color: var(--text);
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    z-index: 2;
    transition: all 0.2s ease;
}
.legal-close:hover { background: rgba(225, 29, 72, 0.16); border-color: var(--c3); }
.legal-scroll { overflow-y: auto; padding: 30px 28px; }
.legal-title {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 1rem;
    padding-right: 40px;
    background: var(--grad);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.legal-subtitle { font-size: 1.1rem; font-weight: 700; margin: 1.4rem 0 0.5rem; color: var(--text); }
.legal-text { color: var(--muted); font-size: 0.95rem; line-height: 1.75; }
.legal-meta {
    color: var(--muted-2);
    font-size: 0.8rem;
    margin-top: 1.5rem;
    border-top: 1px solid var(--border);
    padding-top: 1rem;
}

/* Често задавани въпроси (акуордеон) */
.faq-item summary {
    list-style: none;
}
.faq-item summary::-webkit-details-marker {
    display: none;
}
.faq-item summary::marker {
    display: none;
}
.faq-item .faq-icon {
    transition: transform 0.2s ease;
    line-height: 1;
}
.faq-item[open] .faq-icon {
    transform: rotate(45deg);
}
.faq-item[open] summary {
    border-bottom: 1px solid var(--border);
}

/* Допълнителни помощни класове */
.z-10 { z-index: 10; }
.text-8xl { font-size: 6rem; line-height: 1; }
.hover\:text-white:hover { color: #fff; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }

/* Разкриване при скрол */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Анимиран градиент в херото (aurora) */
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(255,107,107,0.16), rgba(239,68,68,0.05), rgba(225,29,72,0.14), rgba(255,107,107,0.16));
    background-size: 300% 300%;
    animation: aurora 14s ease infinite;
    pointer-events: none;
}
@keyframes aurora {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* ============================================================
   ФИНИ ПОЛИРАЩИ ЕФЕКТИ
   ============================================================ */

/* Анимирани градиентни разделители под заглавията */
.w-20.h-1 {
    background-image: var(--grad) !important;
    background-size: 200% 200%;
    animation: gradientShift 5s ease infinite;
}

/* Пулсиращо сияние на основните CTA бутони */
.btn-primary {
    animation: btnGlow 3.5s ease-in-out infinite;
}
@keyframes btnGlow {
    0%, 100% { box-shadow: 0 8px 24px rgba(239, 68, 68, 0.4); }
    50% { box-shadow: 0 10px 34px rgba(239, 68, 68, 0.7), 0 0 0 6px rgba(239, 68, 68, 0.1); }
}

/* По-силно сияние на картите при hover */
.card-hover:hover {
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(225, 29, 72, 0.3), 0 0 28px rgba(239, 68, 68, 0.22);
}

/* ============================================================
   АНИМИРАН AURORA ФОН ЗА ЦЕЛИЯ САЙТ
   ============================================================ */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background:
        radial-gradient(55% 45% at 15% 20%, rgba(255, 107, 107, 0.16), transparent 60%),
        radial-gradient(45% 50% at 85% 25%, rgba(225, 29, 72, 0.13), transparent 60%),
        radial-gradient(50% 55% at 50% 85%, rgba(239, 68, 68, 0.13), transparent 60%);
    background-size: 220% 220%;
    animation: auroraMove 24s ease-in-out infinite;
}
@keyframes auroraMove {
    0%, 100% { background-position: 0% 0%; }
    50% { background-position: 100% 100%; }
}

/* ============================================================
   ИНТРО / PRELOADER
   ============================================================ */
#preloader {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: #06060c;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.2rem;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}
#preloader.hidden {
    opacity: 0;
    visibility: hidden;
}
.preloader-logo {
    width: 88px;
    height: 88px;
    border-radius: 20px;
    object-fit: cover;
    animation: preloaderPulse 1.2s ease-in-out infinite;
    box-shadow: 0 0 50px rgba(239, 68, 68, 0.55);
}
.preloader-name {
    font-size: 1.9rem;
    font-weight: 800;
    letter-spacing: 0.35em;
    background: var(--grad);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
@keyframes preloaderPulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.12); opacity: 0.75; }
}

/* ============================================================
   ГРАНДИОЗНИ ИНТЕРАКТИВНИ ЕФЕКТИ ПО ЕЛЕМЕНТИТЕ
   ============================================================ */

/* 3D наклон на картите */
.card-tilt {
    transform-style: preserve-3d;
    transition: opacity 0.7s ease, transform 0.15s ease-out, box-shadow 0.35s ease, border-color 0.35s ease;
    will-change: transform;
}

/* Светеща рамка + вътрешно сияние, следващи курсора */
.card-glow {
    position: relative;
    overflow: hidden;
}
.card-glow::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: radial-gradient(320px circle at var(--gx, 50%) var(--gy, 50%), rgba(255, 107, 107, 0.95), rgba(239, 68, 68, 0.35) 45%, transparent 72%);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
            mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
            mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.25s ease;
    pointer-events: none;
    z-index: 1;
}
.card-glow::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(420px circle at var(--gx, 50%) var(--gy, 50%), rgba(255, 107, 107, 0.16), transparent 60%);
    opacity: 0;
    transition: opacity 0.25s ease;
    pointer-events: none;
    z-index: 1;
}
.card-glow:hover::before,
.card-glow:hover::after {
    opacity: 1;
}

/* Магнитни бутони */
.btn-magnetic {
    transition: transform 0.18s ease-out, box-shadow 0.3s ease;
    will-change: transform;
}

/* Блясък, преминаващ през бутона */
.btn-shine {
    position: relative;
    overflow: hidden;
}
.btn-shine::after {
    content: '';
    position: absolute;
    top: 0;
    left: -80%;
    width: 45%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.45), transparent);
    transform: skewX(-20deg);
    transition: left 0.55s ease;
    pointer-events: none;
}
.btn-shine:hover::after {
    left: 130%;
}

/* Анимирано подчертаване на навигацията */
header nav a[class*="text-slate-700"],
header nav a[class*="text-red-600"] {
    position: relative;
}
header nav a[class*="text-slate-700"]::after,
header nav a[class*="text-red-600"]::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 100%;
    height: 2px;
    border-radius: 2px;
    background: var(--grad);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
}
header nav a[class*="text-slate-700"]:hover::after,
header nav a[class*="text-red-600"]:hover::after {
    transform: scaleX(1);
}

/* Прожектор, следващ курсора */
#cursorGlow {
    position: fixed;
    top: 0;
    left: 0;
    width: 460px;
    height: 460px;
    margin: -230px 0 0 -230px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(239, 68, 68, 0.10), rgba(225, 29, 72, 0.05) 40%, transparent 65%);
    pointer-events: none;
    z-index: 5;
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* Плаващи бутони за Viber и WhatsApp */
.float-viber {
    position: fixed;
    right: 22px;
    bottom: 88px;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: #7360f2;
    color: #fff;
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 18px rgba(115, 96, 242, 0.5);
    z-index: 40;
    transition: transform 0.3s ease;
}
.float-viber:hover { transform: scale(1.08); }
.float-whatsapp {
    position: fixed;
    right: 22px;
    bottom: 150px;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: #25d366;
    color: #fff;
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 18px rgba(37, 211, 102, 0.5);
    z-index: 40;
    transition: transform 0.3s ease;
}
.float-whatsapp:hover { transform: scale(1.08); }
