/* --- Design Variables --- */
:root {
    --hik-red: #c4161c;
    --hik-red-hover: #9c1216;
    --hik-red-light: rgba(196, 22, 28, 0.1);

    --hik-blue: #0b192c;
    --hik-blue-light: #1a2a40;

    --bg-main: #f0f2f5;
    --bg-app: #ffffff;

    --text-main: #1a1a2e;
    --text-muted: #6c757d;

    --radius-app: 20px;
    --radius-card: 16px;
    --radius-btn: 10px;
}

/* --- Global Reset & Typography --- */
body {
    background-color: var(--bg-main);
    font-family: 'Inter', sans-serif;
    color: var(--text-main);
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
}

.fs-sm {
    font-size: 0.875rem;
}

/* --- Colors & Utilities --- */
.text-hik-red {
    color: var(--hik-red) !important;
}

.bg-hik-red-light {
    background-color: var(--hik-red-light) !important;
}

.text-hik-red-light {
    color: #ff6b6b !important;
}

.text-hik-blue {
    color: var(--hik-blue) !important;
}

.bg-hik-blue {
    background-color: var(--hik-blue) !important;
}

.hover-text-white:hover {
    color: #ffffff !important;
}

/* Primary Button */
.btn-hik-primary {
    background-color: var(--hik-red);
    color: white;
    border: none;
    border-radius: var(--radius-btn);
    font-weight: 500;
    transition: all 0.2s ease-in-out;
}

.btn-hik-primary:hover,
.btn-hik-primary:focus {
    background-color: var(--hik-red-hover);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(196, 22, 28, 0.3);
}

.btn-outline-dark {
    border-radius: var(--radius-btn);
    font-weight: 500;
}

/* --- App Container (App-like feel) --- */
.app-container {
    background-color: var(--bg-app);
    max-width: 1400px;
    margin: 20px auto;
    border-radius: var(--radius-app);
    box-shadow: 0 10px 40px rgba(11, 25, 44, 0.1);
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: calc(100vh - 40px);
}

@media (max-width: 1440px) {
    .app-container {
        margin: 0;
        border-radius: 0;
        min-height: 100vh;
        box-shadow: none;
    }
}

/* --- Navigation --- */
.header .nav-link {
    font-weight: 500;
    transition: color 0.2s;
}

.header .nav-link:hover {
    color: var(--hik-red) !important;
}

/* --- Advantages Grid --- */
.advantage-card {
    border-radius: var(--radius-card);
    transition: transform 0.3s ease;
}

.advantage-card:hover {
    transform: translateY(-5px);
}

/* --- Accordion Fixes --- */
.accordion-item {
    border-color: #eaeaea;
}

.accordion-button:not(.collapsed) {
    color: var(--hik-red);
    background-color: transparent;
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: none;
    border-color: transparent;
}

.accordion-button::after {
    background-size: 1rem;
}

/* --- Floating Button --- */
.floating-phone-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: var(--hik-red);
    z-index: 999;
    transition: transform 0.2s;
}

.floating-phone-btn:hover {
    transform: scale(1.1);
}

@media (max-width: 768px) {
    .floating-phone-btn {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
    }
}

/* Form inputs Focus */
.form-control:focus {
    border-color: rgba(196, 22, 28, 0.5);
    box-shadow: 0 0 0 0.25rem rgba(196, 22, 28, 0.1);
}