/* ==========================================================================
   🍏 IPROTECT OS PREMIUM CORE STYLES - PART 1
   ========================================================================== */

body {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    background-color: #000000; 
    color: #f5f5f7; 
    -webkit-font-smoothing: antialiased; 
    -moz-osx-font-smoothing: grayscale;
    padding-top: 85px !important;
    margin: 0 !important;
}

input, textarea {
    -webkit-user-select: text;
    -moz-user-select: text;
    -ms-user-select: text;
    user-select: text;
}

@import url('https://googleapis.com');

* { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; 
}

header { 
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 65px !important;
    background: rgba(22, 22, 23, 0.6) !important; 
    backdrop-filter: blur(20px) !important; 
    -webkit-backdrop-filter: blur(20px) !important; 
    border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important; 
    margin: 0 !important;
    padding: 0 !important;
    z-index: 10000 !important;
    display: block !important;
}

header nav {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    max-width: 1150px !important;
    width: 100% !important;
    height: 100% !important;
    margin: 0 auto !important;
    padding: 0 20px !important;
    box-sizing: border-box !important;
}

.logo-container, 
header nav a.logo-container,
header nav .logo-container {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    position: relative !important;
    left: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    height: 100% !important;
    min-width: 150px !important;
    text-decoration: none !important;
}

nav a {
    transition: opacity 0.3s cubic-bezier(0.25, 1, 0.5, 1), color 0.3s ease;
}
/* ==========================================================================
   🍏 IPROTECT OS PREMIUM CORE STYLES - PART 2
   ========================================================================== */

header nav ul, 
.nav-links {
    display: flex !important;
    flex-direction: row !important;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    gap: 7px !important;
    align-items: center !important;
}

header nav ul li a, 
.nav-links a,
header nav a:not(.logo-container),
nav a:not(.logo-container) {
    position: relative !important;
    padding: 6px 11px !important; 
    border-radius: 10px !important;
    border: 1px solid rgba(255, 255, 255, 0.04) !important;
    background: rgba(255, 255, 255, 0.01) !important;
    font-weight: 600 !important;
    font-size: 0.82rem !important;
    text-decoration: none !important;
    letter-spacing: -0.2px !important;
    color: #a1a1a6 !important;
    opacity: 0.75 !important;
    display: inline-block !important;
    transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

header nav ul li a:hover, 
.nav-links a:hover,
nav a:not(.logo-container):hover {
    color: #fff !important;
    opacity: 1 !important;
    background: rgba(0, 113, 227, 0.06) !important;
    border-color: #0071e3 !important;
    box-shadow: 0 0 15px rgba(0, 113, 227, 0.45), inset 0 0 8px rgba(0, 113, 227, 0.2) !important;
    transform: translateY(-1px) !important;
}

header nav ul li a.active,
.nav-links a.active,
header nav ul li a[style*="color:#0071e3"],
.nav-links a[style*="color"] {
    color: #ffffff !important;
    opacity: 1 !important;
    background: rgba(0, 113, 227, 0.12) !important;
    border-color: #2997ff !important;
    box-shadow: 0 0 20px rgba(0, 113, 227, 0.55), inset 0 0 10px rgba(0, 113, 227, 0.35) !important;
}

.nav-links a.warranty-tab.active {
    background: rgba(52, 199, 89, 0.1) !important;
    border-color: #34c759 !important;
    box-shadow: 0 0 20px rgba(52, 199, 89, 0.5), inset 0 0 10px rgba(52, 199, 89, 0.3) !important;
}

header + *, 
header + main,
header + div {
    margin-top: 0 !important;
}
/* ==========================================================================
   🍏 IPROTECT OS PREMIUM CORE STYLES - PART 3 (FINAL)
   ========================================================================== */

.split-container { 
    display: grid !important; 
    grid-template-columns: 1fr 1fr !important; 
    gap: 30px !important; 
    max-width: 1060px; 
    width: 100%; 
    margin: 40px auto; 
    padding: 0 20px; 
    align-items: start !important;
}

.track-card { 
    background: #121214 !important;
    border: 1px solid rgba(255, 255, 255, 0.05) !important; 
    padding: 40px !important; 
    border-radius: 28px !important; 
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6) !important;
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), border-color 0.4s ease, box-shadow 0.4s ease !important;
}

.track-card:hover {
    transform: translateY(-4px);
    border-color: rgba(0, 113, 227, 0.25) !important;
    box-shadow: 0 30px 60px rgba(0, 113, 227, 0.08) !important;
}

.track-card h2 { 
    font-size: 1.9rem !important; 
    font-weight: 700 !important; 
    letter-spacing: -0.6px !important;
    background: linear-gradient(180deg, #ffffff 40%, #a1a1a6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.apple-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 12px;
}

.apple-box {
    background: rgba(255, 255, 255, 0.015) !important;
    border: 1px solid rgba(255, 255, 255, 0.04) !important;
    border-radius: 18px !important;
    padding: 22px 16px !important;
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1) !important;
}

.apple-box:hover {
    background: rgba(255, 255, 255, 0.03) !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
}

.apple-box.selected {
    background: rgba(0, 113, 227, 0.08) !important;
    border-color: #0071e3 !important;
    box-shadow: 0 10px 25px rgba(0, 113, 227, 0.12) !important;
}

.apple-box svg {
    stroke: #86868b !important;
    transition: stroke 0.3s ease, filter 0.3s ease !important;
}

.apple-box.selected svg {
    stroke: #0071e3 !important;
    filter: drop-shadow(0 0 6px rgba(0, 113, 227, 0.4));
}

.apple-box .title {
    font-size: 0.88rem !important;
    font-weight: 500 !important;
    color: #a1a1a6 !important;
    letter-spacing: -0.1px;
}

.apple-box.selected .title {
    color: #ffffff !important;
    font-weight: 600 !important;
}

.btn-track {
    background: #0071e3 !important;
    font-size: 0.95rem !important;
    font-weight: 600 !important;
    border-radius: 14px !important;
    padding: 16px !important;
    transition: all 0.25s cubic-bezier(0.25, 1, 0.5, 1) !important;
}

.btn-track:hover {
    background: #0077ed !important;
    box-shadow: 0 8px 20px rgba(0, 113, 227, 0.25) !important;
}

.radar-container {
    position: relative;
    width: 50px;
    height: 50px;
    margin: 0 auto 15px;
}

.radar-circle {
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    z-index: 2;
    position: relative;
}

.radar-pulse {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0, 113, 227, 0.2);
    border-radius: 50%;
    animation: apple-pulse 2.5s cubic-bezier(0.215, 0.610, 0.355, 1) infinite;
    z-index: 1;
}

@keyframes apple-pulse {
    0% { transform: scale(0.95); opacity: 0.8; }
    50% { opacity: 0.4; }
    100% { transform: scale(1.6); opacity: 0; }
}

input#battery-percent-input::-webkit-outer-spin-button,
input#battery-percent-input::-webkit-inner-spin-button { -webkit-appearance: none !important; margin: 0 !important; }
input#battery-percent-input { -moz-appearance: textfield !important; -webkit-appearance: none !important; }

.laser-text-bg-container {
    position: fixed !important;
    top: 55% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    z-index: 1 !important;
    margin-top: 0 !important;
}

@media (max-width: 950px) {
    .split-container {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
        padding: 0 16px !important;
        margin: 20px auto !important;
    }
    .track-card {
        padding: 30px 20px !important;
        border-radius: 24px !important;
    }
    .apple-grid {
        grid-template-columns: 1fr !important;
        gap: 10px !important;
    }
    .track-card h4, .track-card h2 {
        font-size: 1.6rem !important;
    }
}
/* 🍏 FORCE FACTORY WHITE COLOR & SIZE FOR ALL LOGO VARIATIONS ON ALL PAGES */
.logo-container,
.logo-text,
header nav .logo-text,
header nav a,
nav a,
header .logo-container span,
.logo-container strong {
    font-size: 1.5rem !important;
    font-weight: 400 !important;
    letter-spacing: -0.8px !important;
    color: #ffffff !important;
    text-transform: none !important;
    text-decoration: none !important;
    -webkit-text-fill-color: #ffffff !important; /* Унищожава грешните лилави преливки от браузъра */
    display: inline-flex !important;
    align-items: center !important;
}

/* Заковаване на дебелата втора част на логото (Protect) */
.logo-container strong,
.logo-text strong,
header nav .logo-text strong {
    font-weight: 700 !important;
    letter-spacing: -0.5px !important;
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
}

/* 🔒 Спираме застъпването и наместваме разстоянието на хедъра на всички вътрешни страници */
header {
    height: 65px !important;
}