/* ============================================
   SIGURNOST PRO — Ajax Systems inspired
   Colors: #181818 text, #ffffff bg, subtle accents
   ============================================ */

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

:root {
    /* Exact Ajax brand tokens */
    --ajax-bg: #ffffff;
    --ajax-bg-alt: #f5f5f5;
    --ajax-bg-section: #fafafa;
    --ajax-text: #181818;
    --ajax-text-muted: #6b6b6b;
    --ajax-text-soft: #8c8c8c;
    --ajax-border: #e5e5e5;
    --ajax-border-soft: #f0f0f0;
    --ajax-accent: #181818;
    --ajax-red: #b91c1c;
    --ajax-green: #00a859;
    --ajax-blue: #0071e3;
    
    /* Typography — Graphik fallback stack */
    --font-main: 'Graphik', 'Inter', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;
    
    /* Spacing */
    --radius-sm: 8px;
    --radius: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

body {
    font-family: var(--font-main);
    background: var(--ajax-bg);
    color: var(--ajax-text);
    font-size: 17px;
    line-height: 1.5;
    font-weight: 400;
    letter-spacing: -0.01em;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; }

/* === TYPOGRAPHY === */
h1, h2, h3, h4 {
    font-family: var(--font-main);
    color: var(--ajax-text);
    font-weight: 500;
    line-height: 1.05;
    letter-spacing: -0.04em;
}

h1 {
    font-size: clamp(2.75rem, 7.5vw, 6.5rem);
    font-weight: 500;
    letter-spacing: -0.045em;
}

h2 {
    font-size: clamp(2rem, 4.5vw, 3.25rem);
    margin-bottom: 20px;
    font-weight: 500;
    letter-spacing: -0.035em;
}

h3 {
    font-size: 1.375rem;
    margin-bottom: 10px;
    font-weight: 500;
    letter-spacing: -0.02em;
}

h4 {
    font-size: 0.875rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--ajax-text-muted);
    margin-bottom: 16px;
}

p {
    margin-bottom: 14px;
    color: var(--ajax-text);
    font-size: 1rem;
    line-height: 1.5;
}

.eyebrow {
    display: inline-block;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-weight: 500;
    color: var(--ajax-text-muted);
    margin-bottom: 16px;
}

/* === HEADER === */
header {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    padding: 16px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--ajax-border-soft);
}

.logo {
    font-size: 1.125rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--ajax-text);
}

.logo-icon {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
}

.logo-icon svg { width: 100%; height: 100%; }
.logo span { color: var(--ajax-text); font-weight: 600; }
.logo-pro { color: #b91c1c !important; font-weight: 600; }

nav {
    display: flex;
    gap: 2px;
    align-items: center;
}

nav a {
    font-size: 0.9rem;
    font-weight: 400;
    padding: 10px 16px;
    color: var(--ajax-text);
    transition: color 0.2s;
    letter-spacing: -0.005em;
}

nav a:hover { color: var(--ajax-text-muted); }
nav a.active { font-weight: 500; }

.nav-cta {
    background: var(--ajax-text);
    color: white !important;
    padding: 10px 20px !important;
    border-radius: 100px;
    font-weight: 400;
    transition: all 0.2s;
    font-size: 0.88rem;
    margin-left: 8px;
}

.nav-cta:hover {
    background: #333;
    color: white !important;
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--ajax-text);
    padding: 8px 12px;
    cursor: pointer;
    font-size: 1.5rem;
    line-height: 1;
}

@media (max-width: 960px) {
    header { padding: 14px 20px; }
    .mobile-toggle { display: block; }
    nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(255,255,255,0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        gap: 0;
        padding: 10px 0;
        border-bottom: 1px solid var(--ajax-border-soft);
        display: none;
    }
    nav.open { display: flex; }
    nav a {
        width: 100%;
        padding: 16px 24px;
        border-bottom: 1px solid var(--ajax-border-soft);
    }
    .nav-cta {
        margin: 10px 20px;
        text-align: center !important;
    }
}

/* === HERO (Ajax-style: huge text, simple background, CTA below) === */
.hero {
    min-height: 75vh;
    display: flex;
    align-items: flex-end;
    position: relative;
    padding: 120px 40px 80px;
    background: var(--ajax-bg-section);
    overflow: hidden;
}

/* Atmospheric gradient similar to Ajax */
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse 80% 60% at 80% 30%, rgba(0, 113, 227, 0.06), transparent 60%),
        radial-gradient(ellipse 60% 50% at 20% 80%, rgba(0, 168, 89, 0.05), transparent 60%),
        linear-gradient(180deg, #fafafa 0%, #f0f0f0 100%);
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
}

.hero h1 {
    max-width: 1000px;
    margin-bottom: 28px;
}

.hero-subtitle {
    font-size: clamp(1.05rem, 1.3vw, 1.25rem);
    max-width: 600px;
    margin-bottom: 36px;
    color: var(--ajax-text);
    font-weight: 400;
    line-height: 1.45;
}

.hero-cta {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
}

@media (max-width: 640px) {
    .hero { padding: 80px 20px 60px; min-height: 65vh; }
}

/* === BUTTONS (Ajax rounded pills) === */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 26px;
    font-family: var(--font-main);
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: -0.005em;
    border: none;
    border-radius: 100px;
    cursor: pointer;
    transition: all 0.2s;
    text-align: center;
    line-height: 1;
}

.btn-primary {
    background: var(--ajax-text);
    color: white;
}
.btn-primary:hover {
    background: #333;
    transform: translateY(-1px);
}

.btn-outline {
    background: transparent;
    color: var(--ajax-text);
    border: 1px solid var(--ajax-text);
}
.btn-outline:hover {
    background: var(--ajax-text);
    color: white;
}

.btn-ghost {
    background: rgba(0,0,0,0.04);
    color: var(--ajax-text);
}
.btn-ghost:hover {
    background: rgba(0,0,0,0.08);
}

/* === SECTIONS === */
.section {
    padding: 80px 40px;
    max-width: 1440px;
    margin: 0 auto;
}

@media (max-width: 640px) {
    .section { padding: 60px 20px; }
}

.section-header {
    margin-bottom: 40px;
    max-width: 900px;
}

.section-header h2 { margin-bottom: 12px; }
.section-header p {
    font-size: 1.1rem;
    color: var(--ajax-text-muted);
    max-width: 720px;
    line-height: 1.5;
}

/* === HERO CATEGORY CARDS (like Ajax first block) === */
.category-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    max-width: 1440px;
    margin: 0 auto;
    padding: 32px 40px 40px;
}

@media (max-width: 980px) {
    .category-cards { grid-template-columns: repeat(2, 1fr); padding: 24px 20px 24px; }
}
@media (max-width: 520px) {
    .category-cards { grid-template-columns: 1fr; padding: 20px 16px 20px; gap: 10px; }
}

.category-card {
    position: relative;
    aspect-ratio: 3/4;
    border-radius: var(--radius);
    overflow: hidden;
    cursor: pointer;
    color: white;
    display: flex;
    align-items: flex-end;
    padding: 28px;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    isolation: isolate;
}

.category-card:hover { transform: translateY(-4px); }

.category-card .bg {
    position: absolute;
    inset: 0;
    z-index: -2;
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.category-card::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.65) 100%);
}

.category-card .label {
    font-size: 1.5rem;
    font-weight: 500;
    letter-spacing: -0.02em;
    color: white;
    line-height: 1.1;
}

/* Category card backgrounds — Ajax-style aesthetic images via SVG */
.category-card.intrusion .bg {
    background: 
        radial-gradient(circle at 30% 40%, rgba(40,40,60,0.8), transparent 60%),
        linear-gradient(135deg, #1a1a2e 0%, #16213e 60%, #0f3460 100%);
}
.category-card.intrusion .bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 533' xmlns='http://www.w3.org/2000/svg'%3E%3Cdefs%3E%3Cpattern id='grid' width='40' height='40' patternUnits='userSpaceOnUse'%3E%3Cpath d='M 40 0 L 0 0 0 40' fill='none' stroke='rgba(255,255,255,0.05)' stroke-width='1'/%3E%3C/pattern%3E%3C/defs%3E%3Crect width='400' height='533' fill='url(%23grid)'/%3E%3Ccircle cx='200' cy='200' r='60' fill='none' stroke='rgba(255,255,255,0.3)' stroke-width='2'/%3E%3Ccircle cx='200' cy='200' r='90' fill='none' stroke='rgba(255,255,255,0.15)' stroke-width='1.5'/%3E%3Ccircle cx='200' cy='200' r='120' fill='none' stroke='rgba(255,255,255,0.08)' stroke-width='1'/%3E%3Cpath d='M 180 190 L 200 210 L 230 180' stroke='white' stroke-width='3' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-size: cover;
    background-position: center;
}

.category-card.video .bg {
    background:
        radial-gradient(circle at 70% 30%, rgba(80,80,100,0.6), transparent 60%),
        linear-gradient(135deg, #2c3e50 0%, #34495e 60%, #1e2a38 100%);
}
.category-card.video .bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 533' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='120' y='200' width='160' height='100' rx='8' fill='none' stroke='white' stroke-width='2' opacity='0.4'/%3E%3Ccircle cx='200' cy='250' r='35' fill='none' stroke='white' stroke-width='2' opacity='0.6'/%3E%3Ccircle cx='200' cy='250' r='15' fill='white' opacity='0.3'/%3E%3Cpath d='M 280 230 L 320 215 V 285 L 280 270 Z' fill='none' stroke='white' stroke-width='2' opacity='0.4'/%3E%3C/svg%3E");
    background-size: cover;
}

.category-card.automation .bg {
    background:
        radial-gradient(circle at 40% 60%, rgba(150,200,255,0.2), transparent 60%),
        linear-gradient(135deg, #4a4a4a 0%, #6a6a6a 50%, #8a8a8a 100%);
}
.category-card.automation .bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 533' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='140' y='180' width='120' height='180' rx='12' fill='none' stroke='white' stroke-width='2' opacity='0.5'/%3E%3Ccircle cx='200' cy='220' r='8' fill='white' opacity='0.6'/%3E%3Crect x='160' y='250' width='80' height='4' rx='2' fill='white' opacity='0.3'/%3E%3Crect x='160' y='265' width='80' height='4' rx='2' fill='white' opacity='0.3'/%3E%3Crect x='160' y='280' width='50' height='4' rx='2' fill='white' opacity='0.3'/%3E%3Crect x='160' y='310' width='80' height='30' rx='4' fill='white' opacity='0.2'/%3E%3C/svg%3E");
    background-size: cover;
}

.category-card.fire .bg {
    background:
        radial-gradient(circle at 50% 40%, rgba(255,140,0,0.35), transparent 55%),
        linear-gradient(135deg, #3d1f1a 0%, #5a2f25 60%, #2a1512 100%);
}
.category-card.fire .bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 533' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M 200 150 Q 240 220 235 280 Q 250 330 220 360 Q 200 390 180 360 Q 150 330 165 280 Q 160 220 200 150' fill='%23ff6b35' opacity='0.6'/%3E%3Cpath d='M 200 210 Q 220 250 215 290 Q 220 320 200 330 Q 185 330 185 310 Q 180 270 200 210' fill='%23ffb347' opacity='0.8'/%3E%3C/svg%3E");
    background-size: cover;
}

/* === SOLUTIONS BY FACILITY (Ajax-style image cards) === */
.solution-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

@media (max-width: 980px) { .solution-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .solution-grid { grid-template-columns: 1fr; } }

.solution-card {
    position: relative;
    aspect-ratio: 1/1.2;
    border-radius: var(--radius);
    overflow: hidden;
    cursor: pointer;
    color: white;
    display: flex;
    align-items: flex-end;
    padding: 24px;
    transition: transform 0.4s;
    isolation: isolate;
}

.solution-card:hover { transform: translateY(-3px); }

.solution-card .bg {
    position: absolute;
    inset: 0;
    z-index: -2;
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.solution-card::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(180deg, rgba(0,0,0,0) 30%, rgba(0,0,0,0.6) 100%);
}

.solution-card h3 {
    color: white;
    font-size: 1.25rem;
    font-weight: 500;
    letter-spacing: -0.02em;
    margin: 0;
    line-height: 1.2;
}

/* Solution card backgrounds */
.solution-card.house .bg { background: linear-gradient(135deg, #8b6f47 0%, #a68862 50%, #6b5637 100%); }
.solution-card.house .bg::before {
    content: ''; position: absolute; inset: 0;
    background: url("data:image/svg+xml,%3Csvg viewBox='0 0 300 360' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M 60 160 L 150 90 L 240 160 V 280 H 60 Z' fill='none' stroke='white' stroke-width='2' opacity='0.3'/%3E%3Crect x='120' y='200' width='60' height='80' fill='none' stroke='white' stroke-width='2' opacity='0.3'/%3E%3Crect x='80' y='180' width='30' height='30' fill='none' stroke='white' stroke-width='2' opacity='0.2'/%3E%3Crect x='190' y='180' width='30' height='30' fill='none' stroke='white' stroke-width='2' opacity='0.2'/%3E%3C/svg%3E");
    background-size: cover;
}

.solution-card.office .bg { background: linear-gradient(135deg, #2c3e50 0%, #34495e 50%, #1a252f 100%); }
.solution-card.office .bg::before {
    content: ''; position: absolute; inset: 0;
    background: url("data:image/svg+xml,%3Csvg viewBox='0 0 300 360' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='60' y='80' width='180' height='220' fill='none' stroke='white' stroke-width='2' opacity='0.3'/%3E%3Cg opacity='0.25'%3E%3Crect x='75' y='100' width='20' height='20' fill='white'/%3E%3Crect x='105' y='100' width='20' height='20' fill='white'/%3E%3Crect x='135' y='100' width='20' height='20' fill='white'/%3E%3Crect x='165' y='100' width='20' height='20' fill='white'/%3E%3Crect x='195' y='100' width='20' height='20' fill='white'/%3E%3Crect x='75' y='130' width='20' height='20' fill='white'/%3E%3Crect x='105' y='130' width='20' height='20' fill='white'/%3E%3Crect x='165' y='130' width='20' height='20' fill='white'/%3E%3Crect x='195' y='130' width='20' height='20' fill='white'/%3E%3Crect x='75' y='160' width='20' height='20' fill='white'/%3E%3Crect x='135' y='160' width='20' height='20' fill='white'/%3E%3Crect x='165' y='160' width='20' height='20' fill='white'/%3E%3Crect x='195' y='160' width='20' height='20' fill='white'/%3E%3C/g%3E%3C/svg%3E");
    background-size: cover;
}

.solution-card.retail .bg { background: linear-gradient(135deg, #c0392b 0%, #d35400 50%, #8b2610 100%); }
.solution-card.retail .bg::before {
    content: ''; position: absolute; inset: 0;
    background: url("data:image/svg+xml,%3Csvg viewBox='0 0 300 360' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M 50 150 L 80 100 H 220 L 250 150 V 280 H 50 Z' fill='none' stroke='white' stroke-width='2' opacity='0.35'/%3E%3Cpath d='M 50 150 H 250' stroke='white' stroke-width='2' opacity='0.35'/%3E%3Crect x='120' y='200' width='60' height='80' fill='none' stroke='white' stroke-width='2' opacity='0.3'/%3E%3C/svg%3E");
    background-size: cover;
}

.solution-card.warehouse .bg { background: linear-gradient(135deg, #16a085 0%, #1abc9c 50%, #0e6b58 100%); }
.solution-card.warehouse .bg::before {
    content: ''; position: absolute; inset: 0;
    background: url("data:image/svg+xml,%3Csvg viewBox='0 0 300 360' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M 40 260 V 150 L 150 80 L 260 150 V 260 Z' fill='none' stroke='white' stroke-width='2' opacity='0.3'/%3E%3Crect x='100' y='180' width='100' height='80' fill='none' stroke='white' stroke-width='2' opacity='0.35'/%3E%3Cpath d='M 100 200 H 200 M 100 220 H 200 M 100 240 H 200' stroke='white' stroke-width='1.5' opacity='0.25'/%3E%3C/svg%3E");
    background-size: cover;
}

.solution-card.cafe .bg { background: linear-gradient(135deg, #8e44ad 0%, #9b59b6 50%, #5d2c73 100%); }
.solution-card.cafe .bg::before {
    content: ''; position: absolute; inset: 0;
    background: url("data:image/svg+xml,%3Csvg viewBox='0 0 300 360' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M 100 120 H 200 V 200 Q 200 230 150 230 Q 100 230 100 200 Z' fill='none' stroke='white' stroke-width='2' opacity='0.35'/%3E%3Cpath d='M 200 140 Q 220 140 220 160 Q 220 180 200 180' fill='none' stroke='white' stroke-width='2' opacity='0.35'/%3E%3Cpath d='M 150 230 V 260 M 130 260 H 170' stroke='white' stroke-width='2' opacity='0.35'/%3E%3C/svg%3E");
    background-size: cover;
}

.solution-card.apartment .bg { background: linear-gradient(135deg, #34495e 0%, #5d6d7e 50%, #1c2833 100%); }
.solution-card.apartment .bg::before {
    content: ''; position: absolute; inset: 0;
    background: url("data:image/svg+xml,%3Csvg viewBox='0 0 300 360' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='80' y='60' width='140' height='240' fill='none' stroke='white' stroke-width='2' opacity='0.3'/%3E%3Cg opacity='0.25'%3E%3Crect x='95' y='80' width='25' height='25' fill='white'/%3E%3Crect x='130' y='80' width='25' height='25' fill='white'/%3E%3Crect x='165' y='80' width='25' height='25' fill='white'/%3E%3Crect x='95' y='115' width='25' height='25' fill='white'/%3E%3Crect x='165' y='115' width='25' height='25' fill='white'/%3E%3Crect x='95' y='150' width='25' height='25' fill='white'/%3E%3Crect x='130' y='150' width='25' height='25' fill='white'/%3E%3Crect x='165' y='150' width='25' height='25' fill='white'/%3E%3Crect x='130' y='185' width='25' height='25' fill='white'/%3E%3Crect x='165' y='185' width='25' height='25' fill='white'/%3E%3C/g%3E%3C/svg%3E");
    background-size: cover;
}

.solution-card.production .bg { background: linear-gradient(135deg, #5d4037 0%, #795548 50%, #3e2723 100%); }
.solution-card.production .bg::before {
    content: ''; position: absolute; inset: 0;
    background: url("data:image/svg+xml,%3Csvg viewBox='0 0 300 360' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M 60 280 V 180 L 110 180 V 130 L 160 180 V 130 L 210 180 V 160 H 250 V 280 Z' fill='none' stroke='white' stroke-width='2' opacity='0.3'/%3E%3Crect x='90' y='220' width='20' height='30' fill='none' stroke='white' stroke-width='1.5' opacity='0.3'/%3E%3Crect x='140' y='220' width='20' height='30' fill='none' stroke='white' stroke-width='1.5' opacity='0.3'/%3E%3Crect x='190' y='220' width='20' height='30' fill='none' stroke='white' stroke-width='1.5' opacity='0.3'/%3E%3C/svg%3E");
    background-size: cover;
}

.solution-card.public .bg { background: linear-gradient(135deg, #00796b 0%, #00897b 50%, #004d40 100%); }
.solution-card.public .bg::before {
    content: ''; position: absolute; inset: 0;
    background: url("data:image/svg+xml,%3Csvg viewBox='0 0 300 360' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M 40 280 V 180 H 260 V 280 Z' fill='none' stroke='white' stroke-width='2' opacity='0.3'/%3E%3Cpath d='M 40 180 L 150 120 L 260 180' fill='none' stroke='white' stroke-width='2' opacity='0.3'/%3E%3Crect x='65' y='200' width='8' height='70' fill='white' opacity='0.25'/%3E%3Crect x='95' y='200' width='8' height='70' fill='white' opacity='0.25'/%3E%3Crect x='125' y='200' width='8' height='70' fill='white' opacity='0.25'/%3E%3Crect x='155' y='200' width='8' height='70' fill='white' opacity='0.25'/%3E%3Crect x='185' y='200' width='8' height='70' fill='white' opacity='0.25'/%3E%3Crect x='215' y='200' width='8' height='70' fill='white' opacity='0.25'/%3E%3C/svg%3E");
    background-size: cover;
}

/* === PRODUCT GRID (Ajax product groups style) === */
.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
}

@media (max-width: 980px) { .product-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .product-grid { grid-template-columns: repeat(2, 1fr); } }

.product-card {
    background: var(--ajax-bg-alt);
    border-radius: var(--radius);
    padding: 24px;
    aspect-ratio: 1/1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.2s, background 0.2s;
    cursor: pointer;
}

.product-card:hover {
    background: #ebebeb;
    transform: translateY(-2px);
}

.product-card .visual {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-card .visual svg {
    width: 60%;
    height: 60%;
    max-width: 80px;
    max-height: 80px;
    color: var(--ajax-text);
    opacity: 0.85;
}

.product-card h4 {
    color: var(--ajax-text);
    font-size: 0.95rem;
    font-weight: 500;
    margin: 0;
    margin-top: 12px;
    letter-spacing: -0.01em;
    text-transform: none;
}

/* === BRANDS STRIP === */
.brands-strip {
    padding: 50px 40px;
    background: var(--ajax-bg-section);
    border-top: 1px solid var(--ajax-border-soft);
    border-bottom: 1px solid var(--ajax-border-soft);
}

.brands-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    max-width: 1200px;
    margin: 0 auto;
}

@media (max-width: 640px) {
    .brands-grid { grid-template-columns: repeat(2, 1fr); }
}

.brand-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 32px 20px;
    background: white;
    border-radius: var(--radius);
    transition: all 0.2s;
    text-align: center;
    border: 1px solid var(--ajax-border-soft);
}

.brand-item:hover {
    border-color: var(--ajax-border);
    transform: translateY(-2px);
}

.brand-logo {
    font-size: 1.35rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    color: var(--ajax-text);
}

.brand-logo.hikvision { color: #e60012; }
.brand-logo.ajax { color: #00a859; }

.brand-badge {
    font-size: 0.75rem;
    color: var(--ajax-text-muted);
    font-weight: 400;
    letter-spacing: 0.02em;
}

/* === STATS / FEATURE ROW === */
.stats-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    padding: 50px 0;
    border-top: 1px solid var(--ajax-border-soft);
    border-bottom: 1px solid var(--ajax-border-soft);
}

@media (max-width: 820px) {
    .stats-row { grid-template-columns: repeat(2, 1fr); gap: 30px; }
}

.stat-item h3 {
    font-size: 2.75rem;
    font-weight: 500;
    margin-bottom: 4px;
    color: var(--ajax-text);
    letter-spacing: -0.04em;
}

.stat-item h3 .unit { color: var(--ajax-text); font-weight: 500; }

.stat-item p {
    color: var(--ajax-text-muted);
    margin: 0;
    font-size: 0.95rem;
}

/* === CONTENT BLOCKS === */
.content-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    margin-bottom: 80px;
}

@media (max-width: 820px) {
    .content-block {
        grid-template-columns: 1fr;
        gap: 32px;
        margin-bottom: 48px;
    }
}

.content-block.reverse .content-text { order: 2; }
@media (max-width: 820px) {
    .content-block.reverse .content-text { order: 0; }
}

.content-text .eyebrow { margin-bottom: 12px; }
.content-text h2 { margin-bottom: 20px; }
.content-text p {
    color: var(--ajax-text);
    margin-bottom: 14px;
    font-size: 1.05rem;
    line-height: 1.5;
}

.content-visual {
    background: var(--ajax-bg-alt);
    border-radius: var(--radius-lg);
    padding: 48px 40px;
    min-height: 380px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    aspect-ratio: 1/0.9;
}

.content-visual h4 {
    margin-bottom: 24px;
    color: var(--ajax-text-muted);
}

.visual-list { list-style: none; }

.visual-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 0;
    border-bottom: 1px solid rgba(0,0,0,0.06);
    color: var(--ajax-text);
    font-size: 0.95rem;
    font-weight: 400;
}

.visual-list li:last-child { border-bottom: none; }

.visual-list .check {
    color: var(--ajax-text);
    flex-shrink: 0;
    margin-top: 2px;
    font-weight: 500;
}

/* === FAQ === */
.faq { max-width: 820px; margin: 0 auto; }

.faq-item {
    border-bottom: 1px solid var(--ajax-border);
    overflow: hidden;
}

.faq-item:first-child { border-top: 1px solid var(--ajax-border); }

.faq-question {
    width: 100%;
    background: none;
    border: none;
    color: var(--ajax-text);
    padding: 26px 0;
    text-align: left;
    font-family: var(--font-main);
    font-size: 1.1rem;
    font-weight: 500;
    letter-spacing: -0.015em;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    transition: color 0.2s;
}

.faq-question:hover { color: var(--ajax-text-muted); }

.faq-icon {
    font-size: 1.4rem;
    font-weight: 300;
    color: var(--ajax-text-muted);
    transition: transform 0.3s;
    flex-shrink: 0;
    line-height: 1;
}

.faq-item.open .faq-icon { transform: rotate(45deg); }

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.faq-item.open .faq-answer { max-height: 500px; padding-bottom: 26px; }

.faq-answer-inner {
    line-height: 1.55;
    color: var(--ajax-text);
    font-size: 1rem;
    max-width: 95%;
}

/* === FORMS === */
.form-section {
    background: var(--ajax-bg-section);
    padding: 80px 40px;
}

@media (max-width: 640px) {
    .form-section { padding: 60px 20px; }
}

.form-container {
    max-width: 720px;
    margin: 0 auto;
    background: white;
    padding: 48px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--ajax-border-soft);
}

@media (max-width: 640px) {
    .form-container { padding: 32px 24px; border-radius: var(--radius); }
}

.form-section-title {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin: 40px 0 20px;
    padding-top: 32px;
    border-top: 1px solid var(--ajax-border-soft);
}

.form-section-title:first-of-type {
    border-top: none;
    padding-top: 0;
    margin-top: 0;
}

.form-section-title .num {
    font-size: 0.85rem;
    color: var(--ajax-text-muted);
    font-weight: 500;
}

.form-section-title h3 {
    font-size: 1.25rem;
    font-weight: 500;
    margin: 0;
    letter-spacing: -0.02em;
}

.form-group { margin-bottom: 18px; }

.form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 400;
    color: var(--ajax-text);
    margin-bottom: 8px;
}

.form-group label .req { color: var(--ajax-red); margin-left: 2px; }
.form-group label .hint {
    color: var(--ajax-text-muted);
    font-weight: 400;
    font-size: 0.82rem;
    margin-left: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 14px;
    background: white;
    border: 1px solid var(--ajax-border);
    color: var(--ajax-text);
    font-family: var(--font-main);
    font-size: 0.95rem;
    border-radius: 8px;
    transition: all 0.15s;
    -webkit-appearance: none;
    appearance: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--ajax-text);
}

.form-group select {
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='none' stroke='%23181818' stroke-width='1.5' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 38px;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
    font-family: var(--font-main);
    line-height: 1.5;
}

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

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

.radio-group, .checkbox-group {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 8px;
}

.radio-option, .checkbox-option {
    position: relative;
    cursor: pointer;
}

.radio-option input, .checkbox-option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.radio-option span, .checkbox-option span {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 14px;
    background: white;
    border: 1px solid var(--ajax-border);
    border-radius: 8px;
    font-size: 0.9rem;
    color: var(--ajax-text);
    transition: all 0.15s;
    font-weight: 400;
}

.radio-option span::before, .checkbox-option span::before {
    content: '';
    width: 16px;
    height: 16px;
    border: 1.5px solid #c0c0c5;
    border-radius: 50%;
    flex-shrink: 0;
    transition: all 0.15s;
}

.checkbox-option span::before { border-radius: 4px; }

.radio-option:hover span, .checkbox-option:hover span {
    border-color: var(--ajax-text);
}

.radio-option input:checked + span,
.checkbox-option input:checked + span {
    border-color: var(--ajax-text);
    background: var(--ajax-text);
    color: white;
}

.radio-option input:checked + span::before {
    border-color: white;
    background: white;
    box-shadow: inset 0 0 0 4px var(--ajax-text);
}

.checkbox-option input:checked + span::before {
    border-color: white;
    background: white;
    box-shadow: inset 0 0 0 3px var(--ajax-text);
}

.form-submit {
    width: 100%;
    padding: 15px;
    font-size: 0.95rem;
    margin-top: 28px;
}

.form-success, .form-error {
    padding: 14px 18px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 0.9rem;
    display: none;
    font-weight: 400;
}

.form-success {
    background: #e6f7ec;
    border: 1px solid #00a859;
    color: #006837;
}

.form-error {
    background: #fdeaea;
    border: 1px solid var(--ajax-red);
    color: #a00;
}

.form-note {
    font-size: 0.82rem;
    color: var(--ajax-text-muted);
    text-align: center;
    margin-top: 18px;
}

/* === CTA BANNER === */
.cta-banner {
    background: var(--ajax-text);
    color: white;
    padding: 90px 40px;
}

.cta-wrap { max-width: 1200px; margin: 0 auto; }

.cta-banner h2 {
    color: white;
    margin-bottom: 16px;
    max-width: 800px;
}

.cta-banner p {
    color: rgba(255,255,255,0.7);
    font-size: 1.1rem;
    margin-bottom: 36px;
    max-width: 600px;
}

.cta-banner .hero-cta {
    justify-content: flex-start;
}

.cta-banner .btn-primary {
    background: white;
    color: var(--ajax-text);
}
.cta-banner .btn-primary:hover {
    background: rgba(255,255,255,0.9);
}
.cta-banner .btn-outline {
    color: white;
    border-color: rgba(255,255,255,0.3);
}
.cta-banner .btn-outline:hover {
    background: white;
    color: var(--ajax-text);
    border-color: white;
}

/* === FOOTER === */
footer {
    background: var(--ajax-bg-section);
    padding: 70px 40px 30px;
    border-top: 1px solid var(--ajax-border-soft);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 60px;
    max-width: 1300px;
    margin: 0 auto 50px;
}

@media (max-width: 880px) {
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}
@media (max-width: 520px) {
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
}

.footer-col h4 {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--ajax-text);
    margin-bottom: 18px;
    font-weight: 500;
}

.footer-col p, .footer-col a, .footer-col li {
    font-size: 0.92rem;
    color: var(--ajax-text-muted);
    line-height: 1.7;
}

.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 8px; }
.footer-col a { transition: color 0.15s; }
.footer-col a:hover { color: var(--ajax-text); }

.footer-brand { margin-bottom: 20px; }

.footer-contacts {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    background: white;
    border: 1px solid var(--ajax-border-soft);
    border-radius: 10px;
    color: var(--ajax-text) !important;
    transition: all 0.15s;
    font-size: 0.9rem;
    font-weight: 400;
}

.footer-contact-item:hover {
    border-color: var(--ajax-border);
    transform: translateX(2px);
}

.footer-contact-item svg {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    border-radius: 50%;
}

.footer-bottom {
    padding-top: 28px;
    border-top: 1px solid var(--ajax-border-soft);
    font-size: 0.82rem;
    color: var(--ajax-text-muted);
    max-width: 1300px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}

/* === FLOATING CONTACT === */
.float-contact {
    position: fixed;
    bottom: 24px;
    right: 24px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 999;
}

.float-btn {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    transition: all 0.2s;
    box-shadow: 0 4px 14px rgba(0,0,0,0.18);
    overflow: hidden;
}

.float-btn:hover {
    transform: scale(1.08);
    box-shadow: 0 6px 22px rgba(0,0,0,0.25);
}

.float-btn svg { width: 54px; height: 54px; border-radius: 50%; }

/* === PAGE HERO === */
.page-hero {
    padding: 80px 40px 60px;
    background: var(--ajax-bg);
    max-width: 1440px;
    margin: 0 auto;
}

.page-hero h1 {
    font-size: clamp(2.25rem, 5vw, 4.5rem);
    margin-bottom: 20px;
    max-width: 900px;
}

.page-hero p {
    color: var(--ajax-text);
    max-width: 680px;
    font-size: 1.15rem;
    font-weight: 400;
    line-height: 1.45;
}

.breadcrumbs {
    font-size: 0.82rem;
    color: var(--ajax-text-muted);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.breadcrumbs a { color: var(--ajax-text-muted); transition: color 0.15s; }
.breadcrumbs a:hover { color: var(--ajax-text); }
.breadcrumbs .sep { color: var(--ajax-text-soft); }

@media (max-width: 640px) {
    .page-hero { padding: 60px 20px 40px; }
}

/* === SCROLL REVEAL === */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* === SELECTION === */
::selection {
    background: var(--ajax-text);
    color: white;
}

/* === SCROLLBAR === */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: #c0c0c5; border-radius: 5px; }
::-webkit-scrollbar-thumb:hover { background: var(--ajax-text-muted); }

/* ============================================
   MATRIX HERO
   ============================================ */
/* ── SECURITY HERO ─────────────────────────────── */
.hero-security {
    background: #0f1419 !important;
    min-height: 90vh;
    padding: 140px 40px 100px;
    align-items: center;
    overflow: hidden;
}

.hero-security::before { display: none; }

.hero-security-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.hero-bg-svg {
    width: 100%;
    height: 100%;
    opacity: 0.85;
}

/* scan line effect */
.hero-scan-line {
    position: absolute;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, rgba(227,6,19,0.5) 30%, rgba(227,6,19,0.85) 50%, rgba(227,6,19,0.5) 70%, transparent 100%);
    z-index: 2;
    pointer-events: none;
    top: 0;
    box-shadow: 0 0 16px 3px rgba(227,6,19,0.2);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 70% 80% at 20% 50%, rgba(15,20,25,0.92) 0%, rgba(15,20,25,0.3) 100%),
        linear-gradient(180deg, rgba(15,20,25,0.2) 0%, rgba(15,20,25,0.55) 100%);
    z-index: 1;
}

.hero-security .hero-content {
    position: relative;
    z-index: 3;
}

.hero-eyebrow {
    display: inline-block;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-weight: 500;
    color: #b91c1c;
    margin-bottom: 20px;
    border: 1px solid rgba(227,6,19,0.4);
    padding: 6px 14px;
    border-radius: 100px;
    background: rgba(227,6,19,0.08);
}

.hero-security h1 {
    color: #ffffff;
    text-shadow: 0 2px 40px rgba(0,0,0,0.8);
}

/* animated word */
.hero-word-wrap {
    display: inline-block;
    white-space: nowrap;
}

.hero-word {
    display: inline-block;
    color: #b91c1c;
    position: relative;
}

.hero-word-cursor {
    display: inline-block;
    color: #b91c1c;
    animation: blink-cursor 0.9s step-end infinite;
    margin-left: 1px;
}

@keyframes blink-cursor {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

@keyframes scanMove {
    from { top: 0%; }
    to   { top: 100%; }
}

.hero-security .hero-subtitle {
    color: rgba(255,255,255,0.75);
}

.btn-hero-primary {
    background: #b91c1c;
    color: #fff;
    font-weight: 600;
    border: none;
}
.btn-hero-primary:hover {
    background: #c8000f;
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 6px 24px rgba(227,6,19,0.4);
}

.btn-hero-outline {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255,255,255,0.35);
}
.btn-hero-outline:hover {
    background: rgba(255,255,255,0.08);
    border-color: rgba(255,255,255,0.6);
    color: #fff;
}

@media (max-width: 768px) {
    .hero-security { padding: 110px 20px 70px; min-height: 85vh; }
}
@media (max-width: 480px) {
    .hero-security { padding: 90px 20px 60px; min-height: 80vh; }
    .hero-word-wrap { white-space: normal; }
}
/* ── END SECURITY HERO ──────────────────────────── */

/* legacy matrix kept for other pages if needed */
.hero-matrix {
    background: #000 !important;
    min-height: 85vh;
    padding: 140px 40px 100px;
    align-items: center;
}
.hero-matrix::before { display: none; }
.matrix-canvas {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    z-index: 0; opacity: 0.55;
}
.hero-matrix .hero-content { position: relative; z-index: 2; }
.hero-matrix h1 { color: #ffffff; text-shadow: 0 0 40px rgba(0,0,0,0.8); }
.hero-matrix .hero-subtitle { color: rgba(255,255,255,0.8); }
@media (max-width: 640px) {
    .hero-matrix { padding: 100px 20px 70px; min-height: 75vh; }
}

/* ============================================
   VIBER FLOAT BUTTON
   ============================================ */
.float-btn.viber { background: #7360f2; }

/* ============================================
   BLOG STYLES
   ============================================ */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

@media (max-width: 980px) { .blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .blog-grid { grid-template-columns: 1fr; } }

.blog-card {
    background: var(--ajax-bg-alt);
    border-radius: var(--radius);
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--ajax-border-soft);
}

.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.08);
}

.blog-card-thumb {
    aspect-ratio: 16/9;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 60%, #0f3460 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.blog-card-thumb-icon {
    width: 56px;
    height: 56px;
    opacity: 0.4;
    color: white;
}

.blog-card-body {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-card-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.blog-tag {
    font-size: 0.72rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #181818;
    background: #e8e8e8;
    padding: 3px 10px;
    border-radius: 100px;
}

.blog-date {
    font-size: 0.82rem;
    color: var(--ajax-text-soft);
}

.blog-card h3 {
    font-size: 1.1rem;
    line-height: 1.35;
    margin-bottom: 10px;
    color: var(--ajax-text);
    letter-spacing: -0.02em;
    font-weight: 500;
}

.blog-card p {
    font-size: 0.9rem;
    color: var(--ajax-text-muted);
    line-height: 1.55;
    flex: 1;
    margin: 0;
}

.blog-read-more {
    margin-top: 18px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--ajax-text);
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: gap 0.2s;
}

.blog-card:hover .blog-read-more { gap: 8px; }

/* Blog post page */
.blog-post-hero {
    padding: 80px 40px 0;
    max-width: 1440px;
    margin: 0 auto;
}

@media (max-width: 640px) { .blog-post-hero { padding: 60px 20px 0; } }

.blog-post-content {
    max-width: 780px;
    margin: 0 auto;
    padding: 48px 40px 80px;
}

@media (max-width: 640px) { .blog-post-content { padding: 32px 20px 60px; } }

.blog-post-content h2 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    margin-top: 48px;
    margin-bottom: 16px;
}

.blog-post-content p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #333;
    margin-bottom: 20px;
}

.blog-post-content ul, .blog-post-content ol {
    margin: 0 0 20px 24px;
    line-height: 1.7;
    color: #333;
    font-size: 1.05rem;
}

.blog-post-content li { margin-bottom: 6px; }

.blog-post-content strong { color: var(--ajax-text); font-weight: 600; }

.blog-post-content .callout {
    background: #f0fdf4;
    border-left: 4px solid #00a859;
    padding: 20px 24px;
    border-radius: 0 8px 8px 0;
    margin: 28px 0;
}

.blog-post-content .callout p { margin: 0; color: #1a5c38; font-size: 1rem; }

.blog-author {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 20px 0;
    border-top: 1px solid var(--ajax-border-soft);
    border-bottom: 1px solid var(--ajax-border-soft);
    margin: 40px 0;
}

.blog-author-avatar {
    width: 44px;
    height: 44px;
    background: var(--ajax-text);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 1rem;
    flex-shrink: 0;
}

.blog-author-name { font-weight: 500; font-size: 0.9rem; }
.blog-author-title { font-size: 0.8rem; color: var(--ajax-text-muted); }

.blog-post-header-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 28px;
}

/* ============================================
   KATALOG PAGE
   ============================================ */
.katalog-section-title {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 60px 0 32px;
    padding-bottom: 16px;
    border-bottom: 2px solid var(--ajax-border);
}

.katalog-brand-badge {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 4px 12px;
    border-radius: 100px;
}

.katalog-brand-badge.hikvision { background: #ffe0e0; color: #e60012; }
.katalog-brand-badge.ajax { background: #e0f7ed; color: #007840; }

.katalog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 20px;
}

@media (max-width: 980px) { .katalog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .katalog-grid { grid-template-columns: 1fr; } }

.katalog-card {
    background: var(--ajax-bg-alt);
    border-radius: var(--radius);
    padding: 28px 24px;
    border: 1px solid var(--ajax-border-soft);
    transition: all 0.25s;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.katalog-card:hover {
    border-color: var(--ajax-border);
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.07);
}

.katalog-card-icon {
    width: 48px;
    height: 48px;
    background: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--ajax-border-soft);
}

.katalog-card-icon svg {
    width: 26px;
    height: 26px;
    color: var(--ajax-text);
}

.katalog-card h3 {
    font-size: 1.05rem;
    font-weight: 500;
    margin: 0;
    letter-spacing: -0.015em;
}

.katalog-card p {
    font-size: 0.9rem;
    color: var(--ajax-text-muted);
    line-height: 1.55;
    margin: 0;
}

.katalog-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: auto;
}

.katalog-tag {
    font-size: 0.72rem;
    color: var(--ajax-text-muted);
    background: white;
    border: 1px solid var(--ajax-border);
    padding: 2px 8px;
    border-radius: 100px;
}

.katalog-card-smart {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.78rem;
    color: #007840;
    font-weight: 500;
    margin-top: 4px;
}

.katalog-card-smart::before {
    content: '';
    width: 7px;
    height: 7px;
    background: #00a859;
    border-radius: 50%;
    flex-shrink: 0;
}

/* ============================================
   ADMIN PANEL
   ============================================ */
.admin-wrap {
    max-width: 900px;
    margin: 40px auto;
    padding: 0 24px 80px;
    font-family: var(--font-main);
}

.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--ajax-border);
}

.admin-posts-list {
    background: var(--ajax-bg-alt);
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--ajax-border-soft);
    margin-bottom: 32px;
}

.admin-post-row {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px 20px;
    border-bottom: 1px solid var(--ajax-border-soft);
    font-size: 0.9rem;
}

.admin-post-row:last-child { border-bottom: none; }
.admin-post-title { flex: 1; font-weight: 500; }
.admin-post-date { color: var(--ajax-text-muted); font-size: 0.82rem; min-width: 90px; }
.admin-post-actions { display: flex; gap: 8px; }

.btn-sm {
    padding: 6px 14px;
    font-size: 0.8rem;
    border-radius: 6px;
}

.btn-danger {
    background: #fdeaea;
    color: #b00;
    border: 1px solid #fca;
}

.btn-danger:hover { background: #e00; color: white; }

/* ============================================
   MOBILE UX — GLOBAL IMPROVEMENTS
   ============================================ */

/* Touch targets — min 44px */
@media (max-width: 768px) {
    .btn {
        min-height: 48px;
        padding: 14px 24px;
        font-size: 1rem;
    }

    /* Hero CTA stacks nicely */
    .hero-cta {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    .hero-cta .btn {
        width: 100%;
        max-width: 320px;
        justify-content: center;
    }

    /* Sections tighter padding */
    .section { padding: 48px 20px; }
    footer { padding: 50px 20px 24px; }
    .brands-strip { padding: 36px 20px; }

    /* Stats items — bigger on small screens */
    .stat-item h3 { font-size: 2.25rem; }

    /* Solution cards — better aspect on mobile */
    .solution-card { aspect-ratio: 4/3; }

    /* CTA banner */
    .cta-banner { padding: 60px 20px; }
    .cta-banner .hero-cta { justify-content: flex-start; }
    .cta-banner .btn { max-width: 100%; }

    /* FAQ questions easier to tap */
    .faq-question { padding: 20px 0; font-size: 1rem; }

    /* Product cards — readable on mobile */
    .product-card { padding: 18px; }

    /* Float buttons — slightly bigger hit area */
    .float-btn { width: 56px; height: 56px; }
    .float-contact { bottom: 20px; right: 16px; gap: 10px; }
}

@media (max-width: 480px) {
    /* Hero text */
    .hero-security h1, .hero h1 {
        font-size: clamp(2.2rem, 9vw, 3rem);
        letter-spacing: -0.035em;
    }

    /* Eyebrow badge — no wrap */
    .hero-eyebrow { font-size: 0.7rem; letter-spacing: 0.1em; }

    /* Category cards label font */
    .category-card .label { font-size: 1.2rem; }
    .category-card { aspect-ratio: 3/2; padding: 20px; }

    /* Section headers */
    .section-header h2 { font-size: clamp(1.7rem, 7vw, 2.2rem); }

    /* Brand strip 2-col always */
    .brands-grid { grid-template-columns: repeat(2, 1fr); }
    .brand-item { padding: 20px 12px; }
    .brand-logo { font-size: 1.1rem; }

    /* Stats 2-col */
    .stats-row { grid-template-columns: repeat(2, 1fr); gap: 20px; padding: 32px 0; }

    /* FAQ readable */
    .faq-question { font-size: 0.95rem; }

    /* Form legibility */
    .form-container { padding: 28px 18px; }

    /* Blog cards */
    .blog-grid { grid-template-columns: 1fr; }
}

/* Prevent horizontal overflow */
html, body { overflow-x: hidden; }

/* Improve tap highlight on links/buttons */
a, button {
    -webkit-tap-highlight-color: rgba(227,6,19,0.12);
}

/* Smooth scroll only on non-reduced-motion */
@media (prefers-reduced-motion: no-preference) {
    html { scroll-behavior: smooth; }
}
@media (prefers-reduced-motion: reduce) {
    .reveal { transition: none; opacity: 1; transform: none; }
    .hero-word-cursor { animation: none; opacity: 1; }
    .hero-scan-line { display: none; }
}

