/* staticfiles/css/main.css - Основной файл стилей для сайта RN Prime Systems */

/* ========== RESET & BASE ========== */
*:focus, *:active, a:focus, button:focus, input:focus {
    outline: none !important;
    box-shadow: none !important;
    -webkit-tap-highlight-color: transparent !important;
}
a { text-decoration: none !important; }

/* ========== BOOTSTRAP TOGGLE FIX ========== */
.form-switch .form-check-input {
    width: 3.5em !important; height: 1.7em !important; cursor: pointer;
    background-color: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    transition: all 0.3s ease !important;
    box-shadow: none !important;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%23ffffff'/%3e%3c/svg%3e") !important;
}
.form-switch .form-check-input:checked {
    background-color: rgba(46, 160, 67, 0.75) !important;
    border-color: var(--accent-success) !important;
    box-shadow: 0 0 12px rgba(46, 160, 67, 0.5), inset 0 0 8px rgba(255, 255, 255, 0.4) !important;
    backdrop-filter: blur(4px) !important;
    -webkit-backdrop-filter: blur(4px) !important;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%23ffffff'/%3e%3c/svg%3e") !important;
}

/* ========== CSS VARIABLES ========== */
:root {
    --bg-body: #050b14;
    --bg-panel: #0a1120;
    --bg-card: #111a2e;
    --text-main: #f8fafc;
    --text-sub: #94a3b8;
    --border-color: #1e293b;
    --accent-primary: #6f42c1;
    --accent-secondary: #0dcaf0;
    --accent-success: #2ea043;
    --accent-warning: #ffc107;
    --accent-danger: #dc3545;
    --glow-primary: rgba(111, 66, 193, 0.25);
    --glow-secondary: rgba(13, 202, 240, 0.2);
    --glow-success: rgba(46, 160, 67, 0.2);
}
[data-theme="light"] {
    --bg-body: #f3f4f6;
    --bg-panel: #ffffff;
    --bg-card: #ffffff;
    --text-main: #111827;
    --text-sub: #6b7280;
    --border-color: #e5e7eb;
    --glow-primary: rgba(111, 66, 193, 0.15);
    --glow-secondary: rgba(13, 202, 240, 0.15);
}

* { scrollbar-width: none !important; border-radius: 8px !important; }
*::-webkit-scrollbar { display: none !important; }

body {
    background-color: var(--bg-body);
    color: var(--text-main);
    font-family: 'Inter', sans-serif;
    margin: 0;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* ========== GLASSMORPHISM BASE ========== */
.glass-card {
    background: rgba(22, 27, 34, 0.6);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(13, 202, 240, 0.15);
    border-radius: 6px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.glass-card:hover {
    border-color: rgba(13, 202, 240, 0.4);
    box-shadow: 0 8px 32px rgba(13, 202, 240, 0.1);
}

/* ========== NAVIGATION ========== */
.navbar-custom {
    background-color: rgba(5, 11, 20, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    padding: 0.75rem 0;
    position: fixed; top: 0; width: 100%; z-index: 1000;
}
[data-theme="light"] .navbar-custom { background-color: rgba(243, 244, 246, 0.85); }

/* ========== GLASSMORPHISM BUTTONS ========== */
.btn-prime {
    background: transparent; color: var(--text-main); border: 1px solid var(--border-color);
    padding: 10px 24px; font-weight: 600; transition: all 0.3s ease;
    text-decoration: none; display: inline-block; text-align: center;
    position: relative;
    overflow: hidden;
}
.btn-prime::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(13, 202, 240, 0.2), transparent);
    transition: left 0.4s ease;
}
.btn-prime:hover { 
    background: rgba(13, 202, 240, 0.15); 
    border-color: var(--accent-secondary); 
    color: var(--accent-secondary);
    box-shadow: 0 4px 15px rgba(13, 202, 240, 0.2);
}
.btn-prime:hover::before { left: 100%; }

.btn-primary-custom {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    color: white !important; border: none; padding: 10px 28px; font-weight: 700;
    box-shadow: 0 10px 20px var(--glow-primary); transition: all 0.3s ease;
    text-decoration: none; display: inline-block; text-align: center;
    position: relative;
    overflow: hidden;
}
.btn-primary-custom::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.4s ease;
}
.btn-primary-custom:hover { box-shadow: 0 15px 30px rgba(13, 202, 240, 0.4); }
.btn-primary-custom:hover::before { left: 100%; }

/* Glassmorphism Buttons */
.btn-glass {
    backdrop-filter: blur(8px);
    color: #c9d1d9 !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
    background: transparent !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 600;
    position: relative;
    overflow: hidden;
    padding: 10px 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 0.9rem;
    cursor: pointer;
}
.btn-glass::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(13, 202, 240, 0.2), transparent);
    transition: left 0.4s ease;
}
.btn-glass:hover {
    background: rgba(13, 202, 240, 0.15) !important;
    border-color: #0dcaf0 !important;
    box-shadow: 0 4px 15px rgba(13, 202, 240, 0.2);
    color: #0dcaf0 !important;
}
.btn-glass:hover::before { left: 100%; }

.btn-glass-success:hover {
    background: rgba(25, 135, 84, 0.15) !important;
    border-color: #198754 !important;
    color: #198754 !important;
    box-shadow: 0 4px 15px rgba(25, 135, 84, 0.2);
}
.btn-glass-purple:hover {
    background: rgba(111, 66, 193, 0.15) !important;
    border-color: #6f42c1 !important;
    color: #6f42c1 !important;
    box-shadow: 0 4px 15px rgba(111, 66, 193, 0.2);
}
.btn-glass-warning:hover {
    background: rgba(255, 193, 7, 0.15) !important;
    border-color: #ffc107 !important;
    color: #ffc107 !important;
    box-shadow: 0 4px 15px rgba(255, 193, 7, 0.2);
}
.btn-glass-danger:hover {
    background: rgba(220, 53, 69, 0.15) !important;
    border-color: #dc3545 !important;
    color: #dc3545 !important;
    box-shadow: 0 4px 15px rgba(220, 53, 69, 0.2);
}

/* ========== BADGES ========== */
.badge {
    backdrop-filter: blur(8px);
    padding: 0.35rem 0.75rem;
    font-weight: 500;
    border-radius: 4px;
}
.badge-primary {
    background: rgba(13, 202, 240, 0.15);
    border: 1px solid rgba(13, 202, 240, 0.3);
    color: #0dcaf0;
}
.badge-success {
    background: rgba(40, 167, 69, 0.15);
    border: 1px solid rgba(40, 167, 69, 0.3);
    color: #28a745;
}
.badge-warning {
    background: rgba(255, 193, 7, 0.15);
    border: 1px solid rgba(255, 193, 7, 0.3);
    color: #ffc107;
}
.badge-danger {
    background: rgba(220, 53, 69, 0.15);
    border: 1px solid rgba(220, 53, 69, 0.3);
    color: #dc3545;
}

/* ========== BILLING TOGGLE ========== */
.billing-toggle-container {
    background: rgba(255,255,255,0.03);
    padding: 12px 30px;
    border-radius: 50px !important;
    border: 1px solid var(--border-color);
    display: inline-flex; align-items: center; gap: 15px;
    margin-bottom: 40px;
}
.btn-trial-link {
    font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.5px;
    color: var(--text-sub) !important; transition: all 0.2s ease;
    padding: 8px; text-decoration: none !important; display: block;
}
.btn-trial-link:hover { color: var(--accent-secondary) !important; background: transparent !important; }
.price-total-year {
    font-size: 0.85rem; color: var(--accent-success); font-weight: 600;
    margin-bottom: 20px; height: 20px; opacity: 0; transition: opacity 0.3s ease;
}
.price-total-year.visible { opacity: 1; }

/* ========== HERO SECTION ========== */
.hero-section {
    padding: 160px 0 80px;
    background: radial-gradient(circle at 50% -20%, var(--bg-panel) 0%, var(--bg-body) 70%);
    position: relative;
}
.hero-title { font-size: clamp(2rem, 6vw, 4.5rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.15; margin-bottom: 24px; }
.hero-accent { 
    background: linear-gradient(to right, var(--accent-secondary), var(--accent-primary)); 
    -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; 
}
.hero-subtext { color: var(--text-sub); font-size: clamp(1rem, 2vw, 1.25rem); max-width: 650px; margin: 0 auto 40px; line-height: 1.6; }

/* ========== FEATURES ========== */
.section-title { font-size: clamp(1.8rem, 4vw, 2.5rem); font-weight: 800; margin-bottom: 1rem; }
.section-subtitle { color: var(--text-sub); font-size: 1.1rem; margin-bottom: 3rem; max-width: 600px; margin-left: auto; margin-right: auto; }

.feature-card {
    background: rgba(22, 27, 34, 0.6);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 30px 24px;
    height: 100%;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}
.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.06), transparent);
    transition: left 0.6s ease;
}
.feature-card:hover {
    border-color: rgba(13, 202, 240, 0.4);
    box-shadow: 0 12px 40px rgba(13, 202, 240, 0.15);
}
.feature-card:hover::before { left: 100%; }

.icon-box {
    width: 56px;
    height: 56px;
    background: rgba(13, 202, 240, 0.1);
    border: 1px solid rgba(13, 202, 240, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    border-radius: 12px !important;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}
.feature-card:hover .icon-box {
    transform: scale(1.05);
    border-color: rgba(13, 202, 240, 0.5);
    box-shadow: 0 0 20px rgba(13, 202, 240, 0.2);
}

/* ========== PRICING ========== */
.price-card {
    background: rgba(22, 27, 34, 0.6);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 40px 30px;
    height: 100%;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}
.price-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.06), transparent);
    transition: left 0.6s ease;
}
.price-card:hover {
    border-color: rgba(13, 202, 240, 0.3);
    box-shadow: 0 12px 40px rgba(13, 202, 240, 0.15);
}
.price-card:hover::before { left: 100%; }

.price-pro-card { 
    border: 2px solid rgba(111, 66, 193, 0.4);
    box-shadow: 0 0 30px var(--glow-primary);
    z-index: 10;
}
.price-pro-card:hover { border-color: rgba(13, 202, 240, 0.5); }

.badge-bestseller {
    position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    color: white; padding: 4px 16px; font-size: 0.8rem; font-weight: 700;
    border-radius: 20px !important; text-transform: uppercase; white-space: nowrap;
}

.price-number { 
    font-size: clamp(2.5rem, 4vw, 3.5rem); font-weight: 800; 
    margin: 15px 0 5px 0; color: var(--text-main);
    display: flex; justify-content: center; align-items: baseline;
}
.price-currency { font-size: 0.55em; font-weight: 700; margin-right: 6px; transform: translateY(-0.6em); }
.price-int { line-height: 1; }
.price-cents { font-size: 0.45em; font-weight: 700; margin-left: 2px; transform: translateY(-0.9em); }
.price-period { font-size: 1rem; color: var(--text-sub); font-weight: 500; margin-left: 6px; }

.feature-list { list-style: none; padding: 0; margin: 0 0 30px 0; flex-grow: 1; }
.feature-list li { padding: 10px 0; color: var(--text-sub); font-size: 0.95rem; display: flex; align-items: flex-start; }
.feature-list i { margin-top: 4px; margin-right: 12px; color: var(--accent-success); font-size: 0.9rem; min-width: 14px; text-align: center; }

/* ========== FOOTER ========== */
footer { background-color: var(--bg-panel); border-top: 1px solid var(--border-color); padding: 40px 0 20px; }
.footer-link { color: var(--text-sub); text-decoration: none; font-size: 0.9rem; transition: color 0.2s ease; }
.footer-link:hover { color: var(--text-main); }

/* ========== DPP BANNER ========== */
.dpp-banner {
    background: rgba(22, 27, 34, 0.6);
    backdrop-filter: blur(12px);
    border-radius: 28px;
    padding: 1.8rem;
    border: 1px solid rgba(16, 185, 129, 0.25);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.dpp-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(16, 185, 129, 0.08), transparent);
    transition: left 0.6s ease;
    pointer-events: none;
}

.dpp-banner:hover {
    border-color: rgba(16, 185, 129, 0.5);
    box-shadow: 0 12px 40px rgba(16, 185, 129, 0.15);
}

.dpp-banner:hover::before {
    left: 100%;
}

.dpp-icon-wrapper { 
    position: relative; 
}

.dpp-icon-large {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #10b981, #059669);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    box-shadow: 0 10px 25px -5px rgba(16, 185, 129, 0.4);
    position: relative;
    z-index: 2;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.dpp-banner:hover .dpp-icon-large {
    transform: scale(1.05);
    box-shadow: 0 15px 35px -5px rgba(16, 185, 129, 0.6);
}

.dpp-icon-pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 85px;
    height: 85px;
    background: rgba(16, 185, 129, 0.2);
    border-radius: 28px;
    z-index: 1;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: translate(-50%, -50%) scale(0.9);
        opacity: 0.8;
    }
    70% {
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 0;
    }
    100% {
        transform: translate(-50%, -50%) scale(0.9);
        opacity: 0;
    }
}

.dpp-eu-badge {
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.3);
    padding: 6px 14px;
    border-radius: 40px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: #10b981;
    transition: all 0.3s ease;
}

.dpp-banner:hover .dpp-eu-badge {
    background: rgba(16, 185, 129, 0.25);
    border-color: rgba(16, 185, 129, 0.5);
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.2);
}

.dpp-highlight {
    color: #10b981;
    background: rgba(16, 185, 129, 0.1);
    padding: 2px 8px;
    border-radius: 20px;
    font-weight: 600;
    letter-spacing: 0.3px;
    transition: all 0.2s ease;
}

.dpp-banner:hover .dpp-highlight {
    background: rgba(16, 185, 129, 0.2);
    box-shadow: 0 1px 4px rgba(16, 185, 129, 0.2);
}

.dpp-chip {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 6px 14px;
    border-radius: 40px;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-sub);
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.dpp-chip::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(16, 185, 129, 0.2), transparent);
    transition: left 0.4s ease;
}

.dpp-chip i { 
    color: #10b981; 
    font-size: 0.8rem; 
    margin-right: 4px; 
}

.dpp-chip:hover {
    border-color: rgba(16, 185, 129, 0.4);
    background: rgba(16, 185, 129, 0.08);
    transform: translateY(-2px);
    color: #10b981;
}

.dpp-chip:hover::before {
    left: 100%;
}

.dpp-qr-decor { 
    opacity: 0.5; 
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.dpp-banner:hover .dpp-qr-decor { 
    opacity: 0.9;
    transform: scale(1.05);
}

/* Стили для текста внутри DPP баннера */
.dpp-banner h4 {
    transition: all 0.3s ease;
}

.dpp-banner:hover h4 {
    background: linear-gradient(135deg, #fff, #10b981);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.dpp-banner p {
    transition: color 0.3s ease;
}

.dpp-banner:hover p strong {
    color: #10b981;
}

/* ========== КАРУСЕЛЬ ========== */
.carousel-wrapper { width: 100%; margin-top: 10px; }
.carousel-row { display: flex; align-items: center; justify-content: center; gap: 20px; width: 100%; max-width: 1320px; margin: 0 auto; }
.carousel-viewport { 
    flex: 1 1 auto; min-width: 0; overflow: hidden; border-radius: 12px; 
    background: rgba(22, 27, 34, 0.6);
    backdrop-filter: blur(12px);
    padding: 8px; 
    border: 1px solid rgba(13, 202, 240, 0.15);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.carousel-viewport:hover {
    border-color: rgba(13, 202, 240, 0.4);
    box-shadow: 0 8px 32px rgba(13, 202, 240, 0.1);
}
.carousel-track { display: flex; transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1); will-change: transform; }
.carousel-slide { flex: 0 0 100%; width: 100%; }
.carousel-slide img { width: 100%; height: auto; display: block; border-radius: 8px !important; }

.carousel-arrow { 
    flex: 0 0 auto; width: 48px; height: 48px; border-radius: 50%; 
    background: rgba(22, 27, 34, 0.6); backdrop-filter: blur(12px); 
    border: 1px solid rgba(255, 255, 255, 0.1); color: #fff; 
    cursor: pointer; display: flex; align-items: center; justify-content: center; 
    font-size: 1.3rem; transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); 
    outline: none; position: relative; overflow: hidden;
}
.carousel-arrow::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(13, 202, 240, 0.3), transparent);
    transition: left 0.4s ease;
}
.carousel-arrow:hover { 
    background: rgba(111, 66, 193, 0.4); 
    border-color: rgba(111, 66, 193, 0.6); 
    box-shadow: 0 0 20px rgba(111, 66, 193, 0.4); 
    transform: scale(1.1);
}
.carousel-arrow:hover::before { left: 100%; }
.carousel-arrow:active { transform: scale(0.95); }

.carousel-dots { display: flex; justify-content: center; align-items: center; gap: 10px; margin-top: 15px; padding: 5px 0; }
.carousel-dot { 
    width: 10px; height: 10px; border-radius: 50%; 
    background: rgba(255, 255, 255, 0.25); 
    border: 2px solid rgba(255, 255, 255, 0.4); 
    cursor: pointer; transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); 
    padding: 0; outline: none; 
}
.carousel-dot.active { 
    background: #6f42c1; border-color: #6f42c1; 
    transform: scale(1.4); box-shadow: 0 0 12px rgba(111, 66, 193, 0.6); 
}
.carousel-dot:hover { 
    background: rgba(111, 66, 193, 0.5); border-color: rgba(111, 66, 193, 0.7); 
}

/* ========== COOKIE BANNER ========== */
.cookie-banner-container {
    position: fixed; bottom: 0; left: 0; width: 100%;
    background: rgba(22, 27, 34, 0.95);
    backdrop-filter: blur(12px);
    border-top: 2px solid var(--accent-primary, #6f42c1);
    padding: 20px 0; z-index: 9999;
    box-shadow: 0 -5px 25px rgba(0, 0, 0, 0.5);
    transition: transform 0.5s ease-in-out, opacity 0.5s ease-in-out;
    transform: translateY(100%); opacity: 0;
}
.cookie-banner-container p { line-height: 1.5; }
.cookie-show { transform: translateY(0) !important; opacity: 1 !important; }

/* ========== PROGRESS BAR GLASSMORPHISM ========== */
.progress {
    background: rgba(48, 54, 61, 0.5);
    backdrop-filter: blur(10px);
    border-radius: 4px;
    height: 8px;
    border: 1px solid rgba(13, 202, 240, 0.1);
}
.progress-bar {
    background: linear-gradient(90deg, #0dcaf0, #8b5cf6);
    border-radius: 4px;
    position: relative;
    overflow: hidden;
}
.progress-bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shimmer 2s infinite;
}
@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* ========== MOBILE ========== */
@media (max-width: 1199px) {
    .price-pro-card { transform: scale(1); z-index: 1; margin-top: 1rem; }
    .price-pro-card:hover { transform: translateY(-5px); }
}
@media (max-width: 991px) {
    .hero-section { padding-top: 120px; padding-bottom: 40px; }
    .navbar-collapse { background: rgba(10, 17, 32, 0.95); backdrop-filter: blur(15px); padding: 1.5rem; border-radius: 12px !important; border: 1px solid var(--border-color); margin-top: 15px; box-shadow: 0 20px 40px rgba(0,0,0,0.6); }
    [data-theme="light"] .navbar-collapse { background: rgba(255, 255, 255, 0.95); }
    .navbar-collapse .btn-prime, .navbar-collapse .btn-primary-custom, .navbar-collapse .btn-glass { display: block; width: 100%; margin-bottom: 12px; }
}
@media (max-width: 767px) {
    .price-card { margin-bottom: 1.5rem; }
    .hero-title { font-size: 2.2rem; }
    .section-title { font-size: 1.8rem; }
    .carousel-arrow { width: 36px; height: 36px; font-size: 1rem; }
    .carousel-row { gap: 8px; }
    .dpp-banner { padding: 1.2rem; }
    .dpp-icon-large { width: 56px; height: 56px; font-size: 1.5rem; }
}

/* ========== FIX: Bestseller Badge nicht abschneiden ========== */
.price-card {
    overflow: visible !important; /* Вместо hidden */
}

/* Стеклянный блик теперь не выходит за пределы */
.price-card .glass-sweep-effect {
    overflow: hidden;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

/* Bestseller Badge - фикс обрезания */
.badge-bestseller {
    position: absolute; 
    top: -14px; 
    left: 50%; 
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    color: white; 
    padding: 6px 20px; 
    font-size: 0.8rem; 
    font-weight: 700;
    border-radius: 20px !important; 
    text-transform: uppercase; 
    white-space: nowrap;
    z-index: 10;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(111, 66, 193, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.2);
    min-width: 100px; /* Гарантирует достаточную ширину */
    text-align: center;
}

/* Содержимое карточки поверх блика */
.price-card > *:not(.glass-sweep-effect) {
    position: relative;
    z-index: 1;
}

/* Для feature-card тоже исправляем */
.feature-card {
    overflow: hidden; /* Для feature-card оставляем hidden, там нет badge */
}

/* Если на feature-card тоже нужен badge в будущем */
.feature-card.has-badge {
    overflow: visible !important;
}

/* =============================================================================
   FINAL: Bestseller Badge + Langsamer Glass Hover (wie Auto-Animation)
   ============================================================================= */

/* Отключаем старые быстрые блики */
.feature-card::before,
.price-card::before {
    display: none !important;
}

/* === FEATURE CARDS === */
.feature-card {
    overflow: hidden;
    position: relative;
    transition: 
        border-color 0.8s ease,
        box-shadow 0.8s ease,
        transform 0.5s ease;
}

/* Медленный стеклянный блик при наведении (2.5s как авто-анимация) */
.feature-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -100%;
    width: 40%;
    height: 200%;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(255, 255, 255, 0.01) 30%,
        rgba(255, 255, 255, 0.06) 50%,
        rgba(255, 255, 255, 0.01) 70%,
        transparent 100%
    );
    transform: skewX(-20deg);
    transition: left 2.5s cubic-bezier(0.25, 0.1, 0.25, 1);
    pointer-events: none;
    z-index: 1;
}

.feature-card:hover {
    border-color: rgba(13, 202, 240, 0.4) !important;
    box-shadow: 
        0 12px 40px rgba(13, 202, 240, 0.15),
        inset 0 0 30px rgba(255, 255, 255, 0.02);
    transform: translateY(-4px);
}

.feature-card:hover::after {
    left: 150%;
}

/* === PRICE CARDS === */
.price-card {
    overflow: visible !important;
    position: relative;
    transition: 
        border-color 0.8s ease,
        box-shadow 0.8s ease,
        transform 0.5s ease;
}

/* Обертка для блика */
.price-card .card-glass-hover {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
    border-radius: inherit;
}

/* Медленный блик (2.5s) */
.price-card .card-glass-hover::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -100%;
    width: 40%;
    height: 200%;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(255, 255, 255, 0.01) 30%,
        rgba(255, 255, 255, 0.06) 50%,
        rgba(255, 255, 255, 0.01) 70%,
        transparent 100%
    );
    transform: skewX(-20deg);
    transition: left 2.5s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.price-card:hover {
    border-color: rgba(13, 202, 240, 0.3) !important;
    box-shadow: 
        0 12px 40px rgba(13, 202, 240, 0.15),
        inset 0 0 30px rgba(255, 255, 255, 0.02);
    transform: translateY(-6px);
}

.price-card:hover .card-glass-hover::after {
    left: 150%;
}

/* Контент поверх блика */
.price-card > *:not(.card-glass-hover):not(.badge-bestseller) {
    position: relative;
    z-index: 1;
}

/* === BADGE BESTSELLER === */
.badge-bestseller {
    position: absolute; 
    top: -14px; 
    left: 50%; 
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    color: white; 
    padding: 6px 22px; 
    font-size: 0.8rem; 
    font-weight: 700;
    border-radius: 20px !important; 
    text-transform: uppercase; 
    white-space: nowrap;
    z-index: 10 !important;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 18px rgba(111, 66, 193, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.2);
    min-width: 100px;
    text-align: center;
}

/* === PRICE PRO CARD === */
.price-pro-card { 
    border: 2px solid rgba(111, 66, 193, 0.4) !important;
    box-shadow: 0 0 30px var(--glow-primary);
    z-index: 5;
}
.price-pro-card:hover { 
    border-color: rgba(13, 202, 240, 0.5) !important; 
}

/* === MOBILE === */
@media (max-width: 767px) {
    .price-card { margin-bottom: 1.5rem; }
    .feature-card::after,
    .price-card .card-glass-hover::after {
        transition: left 2s cubic-bezier(0.25, 0.1, 0.25, 1);
    }
}