/* =============================================
   FORT KNOX SECURITY — 2026 PREMIUM BUILD
   Zero JS. Pure CSS. Lightning fast.
   Brand: Orange #f17732 + Blue #396cf0
   ============================================= */

:root {
    --brand: #dc2626;
    --brand-dark: #b91c1c;
    --brand-glow: rgba(220,38,38,0.2);
    --blue: #2563eb;
    --blue-dark: #1d4ed8;
    --blue-glow: rgba(37,99,235,0.15);
    --navy: #0c1222;
    --navy-mid: #111827;
    --navy-light: #1e293b;
    --surface: #f8f9fb;
    --surface-alt: #f0f1f5;
    --border: rgba(0,0,0,0.07);
    --border-light: rgba(255,255,255,0.07);
    --text: #1a1d2b;
    --text-sec: #555a6e;
    --text-muted: #888da1;
    --text-on-dark: #bfc4d6;
    --white: #ffffff;
    --r: 16px;
    --r-sm: 10px;
    --r-xs: 6px;
}

/* ---- DARK MODE TOGGLE (CSS-only) ---- */
.dark-toggle-input { display: none; }

/* Dark mode button in navbar */
.dark-mode-btn {
    cursor: pointer;
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--surface-alt);
    border: 1px solid var(--border);
    transition: all 0.3s var(--smooth);
}
.dark-mode-btn:hover {
    background: var(--surface);
    transform: scale(1.1);
}
.dark-mode-btn .icon-sun { display: block; color: var(--text-sec); }
.dark-mode-btn .icon-moon { display: none; }

/* When dark mode is active — swap icon, override ALL variables via .site-wrap */
.dark-toggle-input:checked ~ .site-wrap .icon-sun { display: none; }
.dark-toggle-input:checked ~ .site-wrap .icon-moon { display: block; color: #fbbf24; }

.dark-toggle-input:checked ~ .site-wrap {
    --surface: #111827;
    --surface-alt: #1e293b;
    --border: rgba(255,255,255,0.08);
    --text: #e2e8f0;
    --text-sec: #94a3b8;
    --text-muted: #64748b;
    --white: #0f172a;
    color: #e2e8f0;
}

/* Navbar */
.dark-toggle-input:checked ~ .site-wrap .navbar {
    background: rgba(15, 23, 42, 0.9);
    border-bottom-color: rgba(255,255,255,0.06);
}
.dark-toggle-input:checked ~ .site-wrap .dark-mode-btn {
    background: rgba(255,255,255,0.08);
    border-color: rgba(255,255,255,0.12);
}
.dark-toggle-input:checked ~ .site-wrap .nav-links a { color: #94a3b8; }
.dark-toggle-input:checked ~ .site-wrap .nav-links a:hover { color: #e2e8f0; background: rgba(255,255,255,0.06); }
.dark-toggle-input:checked ~ .site-wrap .nav-links a.nav-cta { color: white !important; }
.dark-toggle-input:checked ~ .site-wrap .menu-toggle span { background: #e2e8f0; }

/* Trust strip */
.dark-toggle-input:checked ~ .site-wrap .trust-strip { background: #0f172a; border-bottom-color: rgba(255,255,255,0.06); }
.dark-toggle-input:checked ~ .site-wrap .trust-pill { color: #94a3b8; }
.dark-toggle-input:checked ~ .site-wrap .trust-pill-icon { background: rgba(37,99,235,0.15); }

/* Stats banner */
.dark-toggle-input:checked ~ .site-wrap .stats-banner { background: #0f172a; border-color: rgba(255,255,255,0.06); }
.dark-toggle-input:checked ~ .site-wrap .stats-banner .big-stat { border-color: rgba(255,255,255,0.06); }
.dark-toggle-input:checked ~ .site-wrap .big-stat-label { color: #64748b; }

/* All headings and text */
.dark-toggle-input:checked ~ .site-wrap h1,
.dark-toggle-input:checked ~ .site-wrap h2,
.dark-toggle-input:checked ~ .site-wrap h3,
.dark-toggle-input:checked ~ .site-wrap h4,
.dark-toggle-input:checked ~ .site-wrap .section-title,
.dark-toggle-input:checked ~ .site-wrap .reviewer-name,
.dark-toggle-input:checked ~ .site-wrap strong { color: #e2e8f0; }

.dark-toggle-input:checked ~ .site-wrap p,
.dark-toggle-input:checked ~ .site-wrap li,
.dark-toggle-input:checked ~ .site-wrap span,
.dark-toggle-input:checked ~ .site-wrap label,
.dark-toggle-input:checked ~ .site-wrap blockquote,
.dark-toggle-input:checked ~ .site-wrap .section-desc,
.dark-toggle-input:checked ~ .site-wrap .faq-answer,
.dark-toggle-input:checked ~ .site-wrap .form-sub { color: #94a3b8; }

.dark-toggle-input:checked ~ .site-wrap a:not(.btn):not(.nav-cta):not(.logo):not(.area-tag):not(.floating-cta):not(.mobile-cta-call):not(.mobile-cta-quote) { color: #94a3b8; }
.dark-toggle-input:checked ~ .site-wrap a:not(.btn):not(.nav-cta):hover { color: #60a5fa; }
.dark-toggle-input:checked ~ .site-wrap .card-link { color: #60a5fa; }
.dark-toggle-input:checked ~ .site-wrap .section-eyebrow { color: #60a5fa; }

/* Sections with light backgrounds → dark */
.dark-toggle-input:checked ~ .site-wrap .services,
.dark-toggle-input:checked ~ .site-wrap .process,
.dark-toggle-input:checked ~ .site-wrap .faq { background: #111827; }

.dark-toggle-input:checked ~ .site-wrap .why-us,
.dark-toggle-input:checked ~ .site-wrap .reviews,
.dark-toggle-input:checked ~ .site-wrap .contact,
.dark-toggle-input:checked ~ .site-wrap .areas,
.dark-toggle-input:checked ~ .site-wrap .guarantee-section { background: #0f172a; }

/* Cards */
.dark-toggle-input:checked ~ .site-wrap .service-card {
    background: #1e293b; border-color: rgba(255,255,255,0.08);
}
.dark-toggle-input:checked ~ .site-wrap .service-card:hover {
    background: #263348; border-color: rgba(37,99,235,0.2);
    box-shadow: 0 24px 64px rgba(0,0,0,0.3);
}
.dark-toggle-input:checked ~ .site-wrap .service-icon-wrap { background: rgba(37,99,235,0.15); }
.dark-toggle-input:checked ~ .site-wrap .review-card {
    background: #1e293b; border-color: rgba(255,255,255,0.08);
}
.dark-toggle-input:checked ~ .site-wrap .review-card:hover {
    background: #263348; border-color: rgba(220,38,38,0.15);
}

/* Process */
.dark-toggle-input:checked ~ .site-wrap .step-number {
    background: #1e293b; border-color: rgba(37,99,235,0.3); color: var(--blue);
}
.dark-toggle-input:checked ~ .site-wrap .why-feature:hover { background: rgba(255,255,255,0.04); }

/* Contact form */
.dark-toggle-input:checked ~ .site-wrap .contact-form-wrap {
    background: #1e293b; border-color: rgba(255,255,255,0.08);
}
.dark-toggle-input:checked ~ .site-wrap .contact-form-wrap h3 { color: #e2e8f0; }
.dark-toggle-input:checked ~ .site-wrap input,
.dark-toggle-input:checked ~ .site-wrap select,
.dark-toggle-input:checked ~ .site-wrap textarea {
    background: #0f172a; border-color: rgba(255,255,255,0.1); color: #e2e8f0;
}
.dark-toggle-input:checked ~ .site-wrap input::placeholder,
.dark-toggle-input:checked ~ .site-wrap textarea::placeholder { color: #475569; }
.dark-toggle-input:checked ~ .site-wrap .contact-info-card {
    background: rgba(255,255,255,0.04); border-color: rgba(255,255,255,0.08);
}
.dark-toggle-input:checked ~ .site-wrap .contact-map-wrap {
    background: #1e293b; border-color: rgba(255,255,255,0.08);
}
.dark-toggle-input:checked ~ .site-wrap .glance-item {
    border-color: rgba(255,255,255,0.08);
}
.dark-toggle-input:checked ~ .site-wrap .glance-value {
    color: #94a3b8;
}

/* FAQ */
.dark-toggle-input:checked ~ .site-wrap details {
    background: #1e293b; border-color: rgba(255,255,255,0.08);
}
.dark-toggle-input:checked ~ .site-wrap summary { color: #e2e8f0; }

/* Area tags */
.dark-toggle-input:checked ~ .site-wrap .area-tag {
    background: #1e293b; border-color: rgba(255,255,255,0.08); color: #94a3b8;
}
.dark-toggle-input:checked ~ .site-wrap .area-tag:hover {
    background: rgba(37,99,235,0.15); color: #60a5fa;
}

/* Properties section (uses inline style for bg) */
.dark-toggle-input:checked ~ .site-wrap section[style*="background: var(--white)"] {
    background: #0f172a !important;
}

/* Footer */
.dark-toggle-input:checked ~ .site-wrap .footer { background: #020617; }

/* Elements already on dark backgrounds — DON'T override their text */
.dark-toggle-input:checked ~ .site-wrap .hero h1,
.dark-toggle-input:checked ~ .site-wrap .hero p,
.dark-toggle-input:checked ~ .site-wrap .hero span,
.dark-toggle-input:checked ~ .site-wrap .hero strong,
.dark-toggle-input:checked ~ .site-wrap .hero .hero-badge,
.dark-toggle-input:checked ~ .site-wrap .cta-section h2,
.dark-toggle-input:checked ~ .site-wrap .cta-section p,
.dark-toggle-input:checked ~ .site-wrap .cta-section .cta-badge,
.dark-toggle-input:checked ~ .site-wrap .why-panel *,
.dark-toggle-input:checked ~ .site-wrap .guarantee-card *,
.dark-toggle-input:checked ~ .site-wrap .footer * { color: inherit; }

/* Keep review stars gold */
.dark-toggle-input:checked ~ .site-wrap .review-stars { color: #f59e0b; }
/* Keep accent gradient */
.dark-toggle-input:checked ~ .site-wrap .accent { -webkit-text-fill-color: transparent; }

/* Smooth transition for everything */
.topbar, nav.navbar, section, div.stats-banner, footer,
.service-card, .review-card, .contact-form-wrap,
details, .area-tag, .contact-info-card, .step-number,
input, select, textarea, .trust-pill, .trust-pill-icon,
h1, h2, h3, h4, p, li, span, a, label, blockquote,
.dark-mode-btn, .menu-toggle span {
    transition: background 0.4s var(--smooth), border-color 0.4s var(--smooth), color 0.4s var(--smooth), box-shadow 0.4s var(--smooth);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-snap-type: y proximity; scroll-padding-top: 100px; }
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text); line-height: 1.6; background: var(--white);
    -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
a { transition: all 0.2s; }
.container { max-width: 1180px; margin: 0 auto; padding: 0 28px; }

/* ---- BRAND SELECTION COLOR ---- */
::selection { background: rgba(220,38,38,0.2); color: var(--text); }

/* ---- CUSTOM SCROLLBAR ---- */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--surface); }
::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--brand), var(--blue));
    border-radius: 8px;
}
::-webkit-scrollbar-thumb:hover { background: var(--brand); }

/* ---- SPRING EASING (used globally) ---- */
:root {
    --spring: cubic-bezier(0.34, 1.56, 0.64, 1);
    --smooth: cubic-bezier(0.22, 1, 0.36, 1);
    --glass-bg: rgba(255,255,255,0.55);
    --glass-bg-dark: rgba(255,255,255,0.04);
    --glass-border: rgba(255,255,255,0.18);
    --glass-border-dark: rgba(255,255,255,0.08);
    --glass-blur: blur(20px) saturate(180%);
}

/* ---- HAPTIC PRESS — applies to all interactive elements ---- */
.btn:active,
.service-card:active,
.review-card:active,
.area-tag:active,
.why-feature:active,
.process-step:active,
.app-action:active,
details:active,
.contact-info-card:active,
.trust-pill:active,
.nav-links a:active,
.floating-cta:active {
    transform: scale(0.97) !important;
    transition-duration: 0.08s !important;
}

/* Springy bounce-back on release */
.btn,
.service-card,
.review-card,
.area-tag,
.why-feature,
.process-step,
.contact-info-card,
.trust-pill,
.floating-cta,
details {
    transition-timing-function: var(--spring);
}

/* ---- LIQUID GLASS UTILITY ---- */
.glass {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
}
.glass-dark {
    background: var(--glass-bg-dark);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border-dark);
}

/* ---- ANIMATIONS ---- */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(36px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes pulse-ring {
    0% { transform: scale(1); opacity: 0.4; }
    100% { transform: scale(1.8); opacity: 0; }
}
@keyframes shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}
@keyframes gentle-float {
    0%, 100% { transform: translateY(0) rotateY(-4deg) rotateX(2deg); }
    50% { transform: translateY(-8px) rotateY(-4deg) rotateX(2deg); }
}
.reveal {
    animation: fadeUp 0.7s var(--smooth) both;
    animation-timeline: view();
    animation-range: entry 0% entry 35%;
}
.reveal-d1 { animation-delay: 0.08s; }
.reveal-d2 { animation-delay: 0.16s; }
.reveal-d3 { animation-delay: 0.24s; }

/* ---- TOPBAR ---- */
.topbar {
    background: var(--navy); color: var(--text-muted);
    font-size: 0.78rem; padding: 9px 0; border-bottom: 1px solid var(--border-light);
}
.topbar .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; }
.topbar a { color: var(--text-muted); text-decoration: none; }
.topbar a:hover { color: var(--brand); }
.topbar-right { display: flex; gap: 24px; align-items: center; }
.topbar-phone { color: var(--brand) !important; font-weight: 700; font-size: 0.84rem; }

/* ---- NAVBAR ---- */
.navbar {
    background: rgba(255,255,255,0.6);
    backdrop-filter: blur(40px) saturate(200%);
    -webkit-backdrop-filter: blur(40px) saturate(200%);
    position: sticky; top: 0; z-index: 1000;
    border-bottom: 1px solid rgba(255,255,255,0.5);
    box-shadow: 0 1px 0 var(--border), 0 8px 32px rgba(0,0,0,0.03);
    height: 80px;
    padding: 4px 0;
}
.navbar .container { display: flex; justify-content: space-between; align-items: center; height: 100%; }
.logo {
    font-size: 1.3rem; font-weight: 800; color: var(--text); text-decoration: none;
    display: flex; align-items: center; gap: 12px; letter-spacing: -0.02em;
}
.logo-mark {
    width: 38px; height: 38px; border-radius: var(--r-xs); display: grid; place-items: center;
    background: linear-gradient(135deg, var(--brand), var(--brand-dark));
    box-shadow: 0 2px 8px var(--brand-glow); position: relative; overflow: hidden;
}
.logo-mark::after {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.2), transparent);
}
.logo-mark svg { width: 20px; height: 20px; fill: white; position: relative; z-index: 1; }
.logo em { font-style: normal; color: var(--brand); }

.nav-links { display: flex; gap: 4px; list-style: none; align-items: center; }
.nav-links a {
    text-decoration: none; color: var(--text-sec); font-weight: 500; font-size: 0.87rem;
    padding: 8px 16px; border-radius: var(--r-xs);
}
.nav-links a:hover { color: var(--text); background: var(--surface-alt); }
.nav-links a.active { color: var(--blue); background: rgba(37,99,235,0.06); }
.nav-cta {
    background: var(--blue) !important; color: var(--white) !important;
    font-weight: 600 !important; padding: 10px 24px !important;
    border-radius: var(--r-sm) !important; box-shadow: 0 2px 8px var(--blue-glow);
}
.nav-cta:hover {
    background: var(--blue-dark) !important; transform: translateY(-2px) scale(1.03);
    box-shadow: 0 8px 24px var(--blue-glow);
}
.nav-checkbox { display: none; }
.menu-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.menu-toggle span { display: block; width: 22px; height: 2px; background: var(--text); margin: 5px 0; border-radius: 2px; transition: all 0.3s var(--smooth); }

/* ---- BUTTONS ---- */
.btn {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 15px 32px; border-radius: var(--r-sm); font-size: 0.93rem;
    font-weight: 600; text-decoration: none; cursor: pointer; border: none;
    font-family: inherit; letter-spacing: -0.01em;
    transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}
.btn svg { flex-shrink: 0; transition: transform 0.3s; }
.btn:hover svg { transform: translateX(3px); }
.btn-primary {
    background: linear-gradient(180deg, #ef4444, var(--brand) 40%, var(--brand-dark));
    color: white; position: relative; overflow: hidden;
    box-shadow: 0 4px 20px var(--brand-glow), inset 0 1px 0 rgba(255,255,255,0.25), inset 0 -1px 0 rgba(0,0,0,0.1);
}
.btn-primary::before {
    content: ''; position: absolute; top: 0; left: -100%; width: 60%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.12), transparent);
    transition: left 0.5s ease;
}
.btn-primary:hover::before { left: 120%; }
.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px var(--brand-glow), inset 0 1px 0 rgba(255,255,255,0.25);
}
.btn-blue {
    background: linear-gradient(180deg, #3b82f6, var(--blue) 40%, var(--blue-dark));
    color: white; position: relative; overflow: hidden;
    box-shadow: 0 4px 20px var(--blue-glow), inset 0 1px 0 rgba(255,255,255,0.25), inset 0 -1px 0 rgba(0,0,0,0.1);
}
.btn-blue::before {
    content: ''; position: absolute; top: 0; left: -100%; width: 60%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.12), transparent);
    transition: left 0.5s ease;
}
.btn-blue:hover::before { left: 120%; }
.btn-blue:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px var(--blue-glow), inset 0 1px 0 rgba(255,255,255,0.25);
}
.btn-glass {
    background: rgba(255,255,255,0.05); color: white;
    border: 1px solid rgba(255,255,255,0.12); backdrop-filter: blur(8px);
}
.btn-glass:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.2); }
.btn-lg { padding: 17px 40px; font-size: 1.05rem; }
.btn-outline-dark {
    background: transparent; color: var(--text);
    border: 1.5px solid var(--border);
}
.btn-outline-dark:hover { border-color: var(--blue); color: var(--blue); }

/* ---- SECTION HEADERS ---- */
.section-eyebrow {
    display: inline-flex; align-items: center; gap: 10px;
    color: var(--blue); font-weight: 700; font-size: 0.73rem;
    text-transform: uppercase; letter-spacing: 0.12em; margin-bottom: 14px;
}
.section-eyebrow::before {
    content: ''; width: 24px; height: 2px; border-radius: 2px;
    background: linear-gradient(90deg, var(--brand), var(--blue));
}
.section-title {
    font-size: clamp(2rem, 3.5vw, 2.8rem);
    font-weight: 800; color: var(--text); letter-spacing: -0.03em;
    line-height: 1.12; margin-bottom: 16px;
}
.section-desc {
    color: var(--text-sec); font-size: 1.02rem; max-width: 540px; line-height: 1.75;
}

/* ---- HERO (homepage) ---- */
.hero {
    background: var(--navy); position: relative; overflow: hidden;
    min-height: 94vh; display: flex; align-items: center;
}
.hero::before {
    content: ''; position: absolute; inset: 0;
    background:
        radial-gradient(ellipse 70% 50% at 65% 20%, rgba(220,38,38,0.1) 0%, transparent 60%),
        radial-gradient(ellipse 50% 70% at 15% 80%, rgba(37,99,235,0.07) 0%, transparent 50%),
        radial-gradient(ellipse 30% 30% at 85% 85%, rgba(37,99,235,0.05) 0%, transparent 50%);
}
.hero::after {
    content: ''; position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.018) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.018) 1px, transparent 1px);
    background-size: 72px 72px;
}
.hero .container {
    display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 56px; align-items: center;
    position: relative; z-index: 1; padding-top: 64px; padding-bottom: 64px;
}
.hero-badge {
    display: inline-flex; align-items: center; gap: 10px;
    background: rgba(37,99,235,0.1); border: 1px solid rgba(37,99,235,0.2);
    color: var(--blue); padding: 7px 20px 7px 14px; border-radius: 100px;
    font-size: 0.76rem; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase;
    margin-bottom: 32px; backdrop-filter: blur(8px);
}
.live-dot {
    width: 8px; height: 8px; background: #22c55e; border-radius: 50%;
    position: relative; flex-shrink: 0;
}
.live-dot::after {
    content: ''; position: absolute; inset: -3px; border-radius: 50%;
    background: rgba(34,197,94,0.3); animation: pulse-ring 2s ease-out infinite;
}
.hero h1 {
    font-size: clamp(2.8rem, 5.2vw, 4.2rem);
    font-weight: 900; color: var(--white); line-height: 1.06;
    margin-bottom: 24px; letter-spacing: -0.035em;
}
.hero h1 .accent, .accent {
    background: linear-gradient(135deg, var(--brand), #f87171);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.hero .hero-desc {
    font-size: 1.08rem; color: var(--text-on-dark); margin-bottom: 44px;
    max-width: 460px; line-height: 1.8;
}
.hero-buttons { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.hero-proof {
    margin-top: 48px; display: flex; align-items: center; gap: 16px;
}
.hero-avatars { display: flex; }
.hero-avatar {
    width: 36px; height: 36px; border-radius: 50%;
    border: 2px solid var(--navy); margin-left: -10px;
    display: grid; place-items: center;
    font-size: 0.7rem; font-weight: 700; color: white;
}
.hero-avatar:first-child { margin-left: 0; }
.hero-avatar:nth-child(1) { background: linear-gradient(135deg, var(--brand), #f87171); z-index: 4; }
.hero-avatar:nth-child(2) { background: linear-gradient(135deg, var(--blue), #60a5fa); z-index: 3; }
.hero-avatar:nth-child(3) { background: linear-gradient(135deg, #22c55e, #86efac); z-index: 2; }
.hero-avatar:nth-child(4) { background: linear-gradient(135deg, #a855f7, #d8b4fe); z-index: 1; }
.hero-proof-text { font-size: 0.82rem; color: var(--text-muted); line-height: 1.4; }
.hero-proof-text strong { color: var(--white); font-weight: 700; }
.hero-mobile-heading { display: none; }

/* Hero image side (product imagery) */
.hero-image-side {
    position: relative; display: flex; justify-content: center; align-items: center;
}
.hero-product-img {
    max-width: 420px; width: 100%; height: auto;
    filter: drop-shadow(0 20px 60px rgba(0,0,0,0.4));
    animation: gentle-float 6s ease-in-out infinite;
}
.hero-image-badge {
    position: absolute; bottom: 8%; right: 5%;
    width: 80px; height: 80px; border-radius: 50%; overflow: hidden;
    box-shadow: 0 8px 24px rgba(0,0,0,0.3);
    border: 3px solid rgba(255,255,255,0.1);
}
.hero-award-img { width: 100%; height: 100%; object-fit: cover; }

/* Why us image block */
.why-image-block {
    position: relative; border-radius: 24px; overflow: hidden;
    box-shadow: 0 24px 64px rgba(0,0,0,0.1);
}
.why-main-image { width: 100%; height: auto; display: block; }
.why-image-overlay {
    position: absolute; bottom: 0; left: 0; right: 0;
    padding: 32px; color: white;
    background: linear-gradient(0deg, rgba(0,0,0,0.7), transparent);
}
.why-image-overlay .big-number {
    background: linear-gradient(135deg, var(--brand), #f87171);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
    font-weight: 900;
}
.why-image-overlay .big-label { font-weight: 700; }

/* Hero panel */
.hero-panel {
    background: rgba(255,255,255,0.025);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 28px; padding: 40px;
    backdrop-filter: blur(20px); position: relative;
}
.hero-panel::before {
    content: ''; position: absolute; inset: -1px; border-radius: 29px; padding: 1px;
    background: linear-gradient(160deg, rgba(220,38,38,0.35), transparent 40%, rgba(37,99,235,0.2) 80%, transparent);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor; mask-composite: exclude;
}
.stats-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.stat-card {
    text-align: center; padding: 28px 16px;
    background: rgba(255,255,255,0.03); border-radius: var(--r);
    border: 1px solid rgba(255,255,255,0.05); transition: all 0.3s;
}
.stat-card:hover { background: rgba(220,38,38,0.05); border-color: rgba(220,38,38,0.12); transform: translateY(-3px); }
.stat-number {
    font-size: 2.8rem; font-weight: 900; line-height: 1;
    background: linear-gradient(135deg, var(--brand), #f87171);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.stat-label {
    font-size: 0.76rem; color: var(--text-muted); margin-top: 8px;
    font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
}
.stat-divider {
    grid-column: 1 / -1; height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.06), transparent);
}

/* ---- PAGE HERO (subpages) ---- */
.page-hero {
    background: var(--navy); padding: 80px 0 60px; position: relative; overflow: hidden;
}
.page-hero::before {
    content: ''; position: absolute; inset: 0;
    background:
        radial-gradient(ellipse 60% 50% at 70% 30%, rgba(220,38,38,0.08) 0%, transparent 60%),
        radial-gradient(ellipse 40% 60% at 20% 80%, rgba(37,99,235,0.06) 0%, transparent 50%);
}
.page-hero::after {
    content: ''; position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.015) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.015) 1px, transparent 1px);
    background-size: 72px 72px;
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero .breadcrumb {
    display: flex; align-items: center; gap: 8px;
    font-size: 0.82rem; color: var(--text-muted); margin-bottom: 20px;
}
.page-hero .breadcrumb a { color: var(--text-muted); text-decoration: none; }
.page-hero .breadcrumb a:hover { color: var(--brand); }
.page-hero .breadcrumb .sep { opacity: 0.4; }
.page-hero h1 {
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    font-weight: 900; color: var(--white); line-height: 1.1;
    margin-bottom: 16px; letter-spacing: -0.03em;
}
.page-hero .page-desc {
    font-size: 1.08rem; color: var(--text-on-dark); max-width: 560px; line-height: 1.75;
}

/* ---- TRUST STRIP ---- */
.trust-strip { background: var(--white); padding: 32px 0; border-bottom: 1px solid var(--border); }
.trust-strip .container {
    display: flex; justify-content: center; align-items: center; gap: 36px; flex-wrap: wrap;
}
.trust-pill {
    display: flex; align-items: center; gap: 12px;
    font-size: 0.86rem; font-weight: 500; color: var(--text-sec);
    padding: 8px 16px 8px 8px; border-radius: 100px;
    transition: all 0.3s var(--spring);
    cursor: default;
}
.trust-pill:hover {
    background: rgba(37,99,235,0.04);
    transform: translateY(-2px);
}
.trust-pill-icon {
    width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; flex-shrink: 0;
    background: linear-gradient(135deg, rgba(37,99,235,0.08), rgba(37,99,235,0.02));
}
.trust-pill-icon svg { width: 18px; height: 18px; fill: var(--blue); }

/* ---- SERVICE CARDS ---- */
.services { padding: 100px 0; background: var(--surface); }
.services-header { margin-bottom: 56px; }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.service-card {
    background: var(--white); border-radius: var(--r); padding: 36px 30px;
    border: 1px solid var(--border); text-decoration: none; color: inherit;
    display: flex; flex-direction: column;
    transition: all 0.35s cubic-bezier(0.22, 1, 0.36, 1);
    position: relative; overflow: hidden;
}
.service-card::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
    background: linear-gradient(90deg, var(--brand), var(--blue));
    transform: scaleX(0); transform-origin: left; transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.service-card:hover::before { transform: scaleX(1); }
.service-card:hover {
    transform: translateY(-8px) scale(1.01);
    box-shadow: 0 24px 64px rgba(0,0,0,0.08), 0 0 0 1px rgba(37,99,235,0.08);
    border-color: rgba(37,99,235,0.12);
    background: linear-gradient(135deg, var(--white), rgba(37,99,235,0.02));
}
.service-icon-wrap {
    width: 52px; height: 52px; border-radius: var(--r-sm);
    background: linear-gradient(135deg, rgba(37,99,235,0.1), rgba(37,99,235,0.03));
    display: grid; place-items: center; margin-bottom: 22px;
}
.service-icon-wrap svg { width: 24px; height: 24px; fill: var(--blue); }
.service-card h3 { font-size: 1.08rem; font-weight: 700; margin-bottom: 10px; letter-spacing: -0.01em; }
.service-card p { color: var(--text-sec); font-size: 0.88rem; line-height: 1.65; flex: 1; }
.card-link {
    display: inline-flex; align-items: center; gap: 6px;
    color: var(--blue); font-weight: 600; font-size: 0.84rem;
    margin-top: 20px; transition: gap 0.3s;
}
.service-card:hover .card-link { gap: 12px; }

/* ---- WHY US ---- */
.why-us { padding: 100px 0; background: var(--white); }
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.why-features { display: flex; flex-direction: column; gap: 8px; }
.why-feature {
    display: flex; gap: 20px; align-items: flex-start;
    padding: 24px; border-radius: var(--r); transition: background 0.25s;
}
.why-feature:hover { background: var(--surface); }
.why-feature-icon {
    width: 48px; height: 48px; border-radius: var(--r-sm); flex-shrink: 0;
    background: linear-gradient(135deg, #3b82f6, var(--blue), var(--blue-dark));
    display: grid; place-items: center;
    box-shadow: 0 4px 16px var(--blue-glow), inset 0 1px 0 rgba(255,255,255,0.2);
    transition: all 0.3s var(--spring);
}
.why-feature:hover .why-feature-icon {
    transform: scale(1.1) rotate(-3deg);
    box-shadow: 0 8px 24px var(--blue-glow);
}
.why-feature-icon svg { width: 22px; height: 22px; fill: white; }
.why-feature h3 { font-size: 1.02rem; font-weight: 700; margin-bottom: 6px; }
.why-feature p { color: var(--text-sec); font-size: 0.88rem; line-height: 1.6; }

.why-panel {
    background: linear-gradient(160deg, var(--navy), var(--navy-mid) 60%, var(--navy-light));
    border-radius: 28px; padding: 52px; position: relative; overflow: hidden;
}
.why-panel::before {
    content: ''; position: absolute; top: -30%; right: -15%;
    width: 350px; height: 350px;
    background: radial-gradient(circle, rgba(220,38,38,0.12), transparent 70%);
}
.why-panel::after {
    content: ''; position: absolute; bottom: -20%; left: -10%;
    width: 250px; height: 250px;
    background: radial-gradient(circle, rgba(37,99,235,0.08), transparent 70%);
}
.why-panel-content { position: relative; z-index: 1; }
.why-panel .big-number {
    font-size: 5.5rem; font-weight: 900; line-height: 1;
    background: linear-gradient(135deg, var(--brand), #f87171);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.why-panel .big-label { font-size: 1.3rem; color: white; font-weight: 700; margin: 8px 0 24px; }
.why-panel .big-desc { color: var(--text-on-dark); line-height: 1.7; font-size: 0.93rem; }
.check-list { list-style: none; margin-top: 28px; }
.check-list li {
    color: var(--text-on-dark); padding: 8px 0;
    display: flex; align-items: center; gap: 12px; font-size: 0.9rem;
}
.check-dot {
    width: 22px; height: 22px; border-radius: 50%; flex-shrink: 0;
    background: rgba(37,99,235,0.15); display: grid; place-items: center;
}
.check-dot svg { width: 12px; height: 12px; fill: none; stroke: var(--blue); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }

/* ---- PROCESS ---- */
.process { padding: 100px 0; background: var(--surface); }
.process-header { text-align: center; margin-bottom: 64px; }
.process-header .section-eyebrow { justify-content: center; }
.process-header .section-desc { margin-left: auto; margin-right: auto; }
.process-track { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; position: relative; max-width: 900px; margin: 0 auto; }
.process-track::before {
    content: ''; position: absolute; top: 28px; left: 16.67%; right: 16.67%;
    height: 2px; background: linear-gradient(90deg, var(--brand), var(--blue)); opacity: 0.2;
}
.process-step { text-align: center; position: relative; }
.step-number {
    width: 56px; height: 56px; border-radius: 50%; margin: 0 auto 24px;
    display: grid; place-items: center;
    font-size: 1.15rem; font-weight: 800;
    background: var(--white); color: var(--blue);
    border: 2px solid rgba(37,99,235,0.2);
    box-shadow: 0 4px 16px rgba(37,99,235,0.08);
    position: relative; z-index: 1; transition: all 0.3s;
}
.process-step:hover .step-number {
    background: linear-gradient(180deg, #3b82f6, var(--blue));
    color: white; border-color: var(--blue);
    transform: scale(1.15);
    box-shadow: 0 8px 28px var(--blue-glow), inset 0 1px 0 rgba(255,255,255,0.25);
}
.process-step h3 { font-size: 0.98rem; font-weight: 700; margin-bottom: 8px; }
.process-step p { color: var(--text-sec); font-size: 0.85rem; line-height: 1.6; }

/* ---- REVIEWS ---- */
.reviews { padding: 100px 0; overflow: hidden; }
.reviews-header { text-align: center; margin-bottom: 56px; }
.reviews-header .section-eyebrow { justify-content: center; }
.reviews-header .section-desc { margin-left: auto; margin-right: auto; }

/* Infinite scrolling carousel */
.review-carousel {
    overflow: hidden;
    width: 100%;
    mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
}
.review-track {
    display: flex;
    gap: 20px;
    animation: scroll-reviews 60s linear infinite;
    width: max-content;
}
.review-track:hover {
    animation-play-state: paused;
}
@keyframes scroll-reviews {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-340px * 9 - 20px * 9)); }
}

.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.review-card {
    background: var(--surface); border-radius: var(--r);
    padding: 32px 28px; border: 1px solid var(--border);
    transition: all 0.3s; display: flex; flex-direction: column;
    min-width: 340px; max-width: 340px; flex-shrink: 0;
}
.review-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.06);
    border-color: rgba(220,38,38,0.1);
    background: linear-gradient(135deg, var(--surface), rgba(220,38,38,0.02));
}
.review-stars { display: flex; gap: 2px; margin-bottom: 16px; color: #f59e0b; font-size: 1.1rem; }
.review-stars svg { width: 18px; height: 18px; fill: #f59e0b; }
.review-card blockquote {
    color: var(--text-sec); font-size: 0.9rem; line-height: 1.7;
    margin-bottom: 24px; flex: 1; border: none; padding: 0; font-style: normal;
}
.reviewer {
    display: flex; align-items: center; gap: 12px;
    padding-top: 20px; border-top: 1px solid var(--border);
}
.reviewer-avatar {
    width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center;
    color: white; font-weight: 700; font-size: 0.88rem;
}
.reviewer-name { font-weight: 600; font-size: 0.9rem; }
.reviewer-source { color: var(--text-muted); font-size: 0.76rem; }
.aggregate-rating { margin-top: 48px; display: flex; justify-content: center; }
.aggregate-card {
    display: flex; align-items: center; gap: 20px;
    background: rgba(255,255,255,0.7);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255,255,255,0.5);
    border-radius: 100px; padding: 16px 36px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.04);
    transition: all 0.3s var(--spring);
}
.aggregate-card:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 32px rgba(0,0,0,0.06);
}
.aggregate-score { font-size: 2.2rem; font-weight: 900; color: var(--text); }

/* ---- FAQ ---- */
.faq { padding: 100px 0; background: var(--surface); }
.faq-layout { display: grid; grid-template-columns: 1fr 1.4fr; gap: 80px; align-items: start; }
.faq-list { display: flex; flex-direction: column; gap: 12px; }
details {
    background: var(--white); border-radius: var(--r); border: 1px solid var(--border);
    overflow: hidden; transition: all 0.3s;
}
details[open] {
    border-color: rgba(37,99,235,0.15);
    box-shadow: 0 8px 32px rgba(37,99,235,0.06);
    background: linear-gradient(135deg, var(--white), rgba(37,99,235,0.02));
    transform: scale(1.01);
}
summary {
    padding: 22px 28px; cursor: pointer; font-weight: 600; font-size: 0.93rem;
    display: flex; justify-content: space-between; align-items: center;
    list-style: none; color: var(--text);
}
summary::-webkit-details-marker { display: none; }
summary::after {
    content: '+'; font-size: 1.4rem; color: var(--blue); font-weight: 400;
    transition: transform 0.3s; flex-shrink: 0; margin-left: 16px;
}
details[open] summary::after { transform: rotate(45deg); }
details[open] summary { color: var(--blue); }
.faq-answer { padding: 0 28px 24px; color: var(--text-sec); font-size: 0.88rem; line-height: 1.75; }

/* ---- CONTACT ---- */
.contact { padding: 100px 0; background: var(--white); }
.contact-layout { display: grid; grid-template-columns: 1fr 1.2fr; gap: 80px; align-items: start; }
.contact-info-cards { display: flex; flex-direction: column; gap: 16px; margin-top: 36px; }
.contact-info-card {
    display: flex; gap: 16px; align-items: center;
    padding: 20px 24px; background: var(--surface); border-radius: var(--r-sm);
    border: 1px solid var(--border); transition: all 0.25s;
}
.contact-info-card:hover { border-color: rgba(37,99,235,0.2); transform: translateX(4px); }
.contact-info-icon {
    width: 44px; height: 44px; border-radius: 50%; flex-shrink: 0;
    display: grid; place-items: center;
    background: linear-gradient(135deg, rgba(37,99,235,0.1), rgba(37,99,235,0.03));
}
.contact-info-icon svg { width: 20px; height: 20px; fill: var(--blue); }
.contact-info-card .label { font-size: 0.76rem; color: var(--text-muted); font-weight: 500; text-transform: uppercase; letter-spacing: 0.05em; }
.contact-info-card .value { font-size: 1rem; font-weight: 600; color: var(--text); }
.contact-info-card .value a { color: var(--text); text-decoration: none; }
.contact-info-card .value a:hover { color: var(--blue); }

/* At a Glance below contact form */
.contact-map-wrap {
    margin-top: 56px;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border);
    background: var(--surface);
}
.contact-glance {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
}
.glance-item {
    padding: 32px 24px;
    text-align: center;
    border-right: 1px solid var(--border);
}
.glance-item:last-child { border-right: none; }
.glance-icon {
    margin-bottom: 12px;
}
.glance-label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--brand);
    margin-bottom: 8px;
}
.glance-value {
    font-size: 0.88rem;
    color: var(--text-sec);
    line-height: 1.5;
}
@media (max-width: 768px) {
    .contact-glance { grid-template-columns: 1fr 1fr; }
    .glance-item { border-right: none; border-bottom: 1px solid var(--border); }
    .glance-item:nth-child(odd) { border-right: 1px solid var(--border); }
    .glance-item:nth-last-child(-n+2) { border-bottom: none; }
}

.contact-form-wrap {
    background: rgba(248,249,251,0.8);
    backdrop-filter: blur(20px) saturate(150%);
    -webkit-backdrop-filter: blur(20px) saturate(150%);
    border-radius: 24px; padding: 44px;
    border: 1px solid rgba(255,255,255,0.6);
    box-shadow: 0 8px 40px rgba(0,0,0,0.04), inset 0 1px 0 rgba(255,255,255,0.8);
}
.contact-form-wrap h3 { font-size: 1.3rem; font-weight: 800; margin-bottom: 6px; }
.contact-form-wrap .form-sub { color: var(--text-sec); font-size: 0.88rem; margin-bottom: 32px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group.full { grid-column: 1 / -1; }
.form-group label { font-size: 0.8rem; font-weight: 600; color: var(--text-sec); }
.form-group input, .form-group select, .form-group textarea {
    padding: 13px 16px; border-radius: var(--r-sm); border: 1.5px solid var(--border);
    font-family: inherit; font-size: 0.9rem; color: var(--text);
    background: var(--white); transition: all 0.2s; outline: none;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    border-color: var(--blue);
    box-shadow: 0 0 0 4px var(--blue-glow), 0 2px 8px rgba(37,99,235,0.08);
    background: rgba(37,99,235,0.01);
}
.form-group textarea { resize: vertical; min-height: 100px; }
.form-group select {
    cursor: pointer; appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23888' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 14px center;
}
.form-submit { margin-top: 8px; width: 100%; padding: 16px; font-size: 0.95rem; justify-content: center; }

/* ---- AREAS ---- */
.areas { padding: 80px 0; }
.areas-header { text-align: center; margin-bottom: 40px; }
.areas-header .section-desc { margin-left: auto; margin-right: auto; }
.area-tags {
    display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; max-width: 900px; margin: 0 auto;
}
.area-tag {
    padding: 10px 22px; background: var(--white); border-radius: 100px;
    font-size: 0.84rem; color: var(--text-sec); font-weight: 500;
    border: 1px solid var(--border); text-decoration: none; transition: all 0.25s;
}
.area-tag:hover {
    background: var(--blue); color: white; border-color: var(--blue);
    transform: translateY(-3px) scale(1.04);
    box-shadow: 0 8px 20px var(--blue-glow);
}

/* ---- CTA SECTION ---- */
.cta-section {
    padding: 120px 0; position: relative; overflow: hidden; background: var(--navy);
}
.cta-section::before {
    content: ''; position: absolute; inset: 0;
    background:
        radial-gradient(ellipse 60% 50% at 50% 50%, rgba(220,38,38,0.08), transparent 70%),
        radial-gradient(ellipse 40% 60% at 80% 80%, rgba(37,99,235,0.06), transparent 60%);
}
.cta-section::after {
    content: ''; position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.015) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.015) 1px, transparent 1px);
    background-size: 72px 72px;
}
.cta-inner { position: relative; z-index: 1; text-align: center; max-width: 640px; margin: 0 auto; }
.cta-inner h2 {
    font-size: clamp(2.2rem, 4vw, 3.2rem); font-weight: 900; color: white;
    margin-bottom: 18px; letter-spacing: -0.035em; line-height: 1.1;
}
.cta-inner > p { color: var(--text-on-dark); font-size: 1.05rem; margin-bottom: 40px; line-height: 1.7; }
.cta-buttons { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.cta-contact { margin-top: 28px; color: var(--text-muted); font-size: 0.88rem; }
.cta-contact a { color: var(--brand); text-decoration: none; font-weight: 600; }
.cta-contact a:hover { text-decoration: underline; }

/* ---- FOOTER ---- */
.footer { background: #080a14; padding: 72px 0 0; border-top: 1px solid var(--border-light); }
.footer-grid {
    display: grid; grid-template-columns: 1.8fr 1fr 1fr 1fr; gap: 48px; padding-bottom: 56px;
}
.footer-brand .logo { margin-bottom: 16px; }
.footer-brand p { color: var(--text-muted); font-size: 0.86rem; line-height: 1.7; max-width: 300px; }
.footer h4 {
    color: var(--white); font-size: 0.78rem; font-weight: 700; margin-bottom: 20px;
    text-transform: uppercase; letter-spacing: 0.1em;
}
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 12px; color: var(--text-muted); font-size: 0.86rem; }
.footer-links a { color: var(--text-muted); text-decoration: none; font-size: 0.86rem; }
.footer-links a:hover { color: var(--brand); }
.footer-bottom {
    border-top: 1px solid var(--border-light); padding: 24px 0;
    display: flex; justify-content: space-between; align-items: center;
    font-size: 0.78rem; color: var(--text-muted); flex-wrap: wrap; gap: 12px;
}
.footer-bottom a { color: var(--text-muted); text-decoration: none; }
.footer-bottom a:hover { color: var(--brand); }

/* ---- CONTENT PAGES ---- */
.page-content { padding: 80px 0; }
.page-content .container { max-width: 900px; }
.content-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin: 48px 0; }
.content-card {
    padding: 32px; background: var(--surface); border-radius: var(--r);
    border: 1px solid var(--border);
}
.content-card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 10px; }
.content-card p { color: var(--text-sec); font-size: 0.9rem; line-height: 1.65; }
.content-card .card-icon {
    width: 48px; height: 48px; border-radius: var(--r-sm); margin-bottom: 16px;
    background: linear-gradient(135deg, rgba(37,99,235,0.1), rgba(37,99,235,0.03));
    display: grid; place-items: center;
}
.content-card .card-icon svg { width: 22px; height: 22px; fill: var(--blue); }

.page-content h2 {
    font-size: 1.6rem; font-weight: 800; letter-spacing: -0.02em;
    margin: 48px 0 16px; line-height: 1.2;
}
.page-content h2:first-of-type { margin-top: 0; }
.page-content p { color: var(--text-sec); font-size: 0.95rem; line-height: 1.8; margin-bottom: 16px; }
.page-content ul { margin: 0 0 16px 20px; color: var(--text-sec); font-size: 0.95rem; line-height: 1.8; }
.page-content strong { color: var(--text); }

/* Inline CTA band */
.inline-cta {
    background: linear-gradient(135deg, var(--navy), var(--navy-mid));
    border-radius: 20px; padding: 48px; margin: 48px 0;
    text-align: center; position: relative; overflow: hidden;
}
.inline-cta::before {
    content: ''; position: absolute; inset: 0;
    background: radial-gradient(ellipse at 50% 50%, rgba(220,38,38,0.1), transparent 70%);
}
.inline-cta .container { position: relative; z-index: 1; }
.inline-cta h3 { font-size: 1.5rem; font-weight: 800; color: white; margin-bottom: 12px; }
.inline-cta p { color: var(--text-on-dark); margin-bottom: 24px; font-size: 0.95rem; }

/* Blog listing */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.blog-card {
    background: var(--white); border-radius: var(--r); border: 1px solid var(--border);
    overflow: hidden; text-decoration: none; color: inherit;
    transition: all 0.3s; display: flex; flex-direction: column;
}
.blog-card:hover { transform: translateY(-4px); box-shadow: 0 16px 48px rgba(0,0,0,0.06); }
.blog-card-img {
    height: 180px; background: linear-gradient(135deg, var(--navy), var(--navy-light));
    display: grid; place-items: center; position: relative; overflow: hidden;
}
.blog-card-img::before {
    content: ''; position: absolute; inset: 0;
    background: radial-gradient(circle at 60% 40%, rgba(220,38,38,0.15), transparent 60%);
}
.blog-card-img svg { width: 48px; height: 48px; fill: rgba(255,255,255,0.15); position: relative; z-index: 1; }
.blog-card-body { padding: 28px; flex: 1; display: flex; flex-direction: column; }
.blog-card-tag {
    font-size: 0.72rem; font-weight: 700; color: var(--blue);
    text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 10px;
}
.blog-card-body h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 10px; line-height: 1.35; }
.blog-card-body p { color: var(--text-sec); font-size: 0.86rem; line-height: 1.6; flex: 1; }
.blog-card-meta {
    display: flex; justify-content: space-between; align-items: center;
    padding-top: 16px; margin-top: 16px; border-top: 1px solid var(--border);
    font-size: 0.78rem; color: var(--text-muted);
}

/* ---- RESPONSIVE ---- */
/* Properties grid — 5 columns on desktop */
.properties-grid { grid-template-columns: repeat(5, 1fr); }

@media (max-width: 1024px) {
    .hero .container { grid-template-columns: 1fr; gap: 48px; }
    .why-grid, .faq-layout, .contact-layout { grid-template-columns: 1fr; gap: 48px; }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .properties-grid { grid-template-columns: repeat(3, 1fr); }
    .process-track { grid-template-columns: repeat(2, 1fr); gap: 32px; }
    .process-track::before { display: none; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .blog-grid { grid-template-columns: repeat(2, 1fr); }
    .content-grid { grid-template-columns: 1fr; }
    .comparison { grid-template-columns: 1fr; }
    .stats-banner { grid-template-columns: repeat(2, 1fr); }
    .team-callout { flex-direction: column; text-align: center; }
    .team-callout-quote { border-left: none; border-top: 3px solid var(--brand); padding-left: 0; padding-top: 12px; }
}
@media (max-width: 1024px) {
    .phone-section-grid { grid-template-columns: 1fr !important; gap: 40px !important; }
}
@media (max-width: 768px) {
    .nav-checkbox { display: none; }
    .menu-toggle { display: flex; flex-direction: column; justify-content: center; cursor: pointer; padding: 8px; z-index: 1001; }
    .menu-toggle span { display: block; width: 22px; height: 2px; background: var(--text); margin: 3px 0; border-radius: 2px; transition: all 0.3s var(--smooth); }
    .nav-links {
        display: flex; flex-direction: column; gap: 0;
        position: fixed; top: 0; right: -100%; width: 280px; height: 100vh;
        background: var(--white); padding: 100px 24px 32px;
        box-shadow: -8px 0 32px rgba(0,0,0,0.15);
        transition: right 0.35s var(--smooth); z-index: 1000;
        overflow-y: auto;
    }
    .nav-links li { list-style: none; }
    .nav-links a { padding: 16px 18px; font-size: 1rem; border-bottom: 1px solid var(--border); display: block; color: var(--text); text-decoration: none; font-weight: 500; }
    .nav-links a:hover { background: var(--surface); }
    .nav-cta { margin-top: 16px; text-align: center; border-bottom: none !important; border-radius: var(--r-sm); }
    .nav-links .dark-mode-btn { margin-top: 16px; display: flex; align-items: center; justify-content: center; }
    .nav-checkbox:checked ~ .nav-links { right: 0; }
    .nav-checkbox:checked ~ .menu-toggle span:nth-child(1) { transform: rotate(45deg) translate(4px, 4px); }
    .nav-checkbox:checked ~ .menu-toggle span:nth-child(2) { opacity: 0; }
    .nav-checkbox:checked ~ .menu-toggle span:nth-child(3) { transform: rotate(-45deg) translate(4px, -4px); }
    .hero { min-height: auto; padding: 60px 0 80px; }
    .hero h1 { font-size: 2.4rem; }
    .hero-panel { display: none; }
    .phone-mockup { display: none; }
    .hero-image-side { display: none; }
    .hero-video-showcase { order: -1; }
    .hero-mobile-heading {
        display: block;
        order: -2;
        text-align: center;
        margin-bottom: 8px;
    }
    .hero-mobile-heading h2 {
        font-size: 1.8rem;
        font-weight: 900;
        color: var(--white);
        line-height: 1.1;
        margin-bottom: 8px;
        letter-spacing: -0.03em;
    }
    .hero-mobile-heading p {
        font-size: 0.88rem;
        color: var(--text-on-dark);
    }
    .video-compare { gap: 8px; }
    .video-compare-card { border-radius: 10px; }
    .video-single { border-radius: 10px; }
    .video-label { font-size: 0.65rem; padding: 5px 10px; top: 8px; left: 8px; }
    .services-grid, .reviews-grid, .blog-grid { grid-template-columns: 1fr; }
    .properties-grid { grid-template-columns: repeat(3, 1fr); }
    .process-track { grid-template-columns: 1fr; gap: 24px; }
    .process-step { text-align: left; display: flex; gap: 20px; align-items: flex-start; }
    .step-number { margin: 0; flex-shrink: 0; }
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .topbar { display: none; }
    .form-row { grid-template-columns: 1fr; }
    .stats-banner .big-stat { padding: 28px 16px; }
    .big-stat-number { font-size: 2.8rem; }
    .guarantee-strip { flex-direction: column; text-align: center; padding: 28px; }
    .section-title { font-size: 1.8rem; }
    .cta-inner h2 { font-size: 1.8rem; }
    .why-grid, .faq-layout, .contact-layout { grid-template-columns: 1fr; gap: 36px; }
    .guarantee-card { flex-direction: column; text-align: center; padding: 32px 24px; gap: 20px; }
    .guarantee-icon-wrap { margin: 0 auto; }
    .guarantee-features { grid-template-columns: 1fr; }
    .trust-strip .container { gap: 20px; }
    .trust-pill { font-size: 0.78rem; }
}
@media (max-width: 480px) {
    .container { padding: 0 20px; }
    .hero h1 { font-size: 2rem; }
    .hero-buttons, .cta-buttons { flex-direction: column; }
    .hero-mobile-heading h2 { font-size: 1.5rem; }
    .trust-strip .container { flex-direction: column; gap: 12px; align-items: flex-start; padding: 0 24px; }
    .stats-banner { grid-template-columns: 1fr 1fr; }
    .section-title { font-size: 1.5rem; }
    .video-compare { gap: 6px; }
    .video-compare-card { border-radius: 8px; border-width: 1px; }
    .video-single { border-radius: 8px; border-width: 1px; }
    .video-label { font-size: 0.6rem; padding: 4px 8px; top: 6px; left: 6px; gap: 4px; }
    .video-label .live-dot { width: 5px; height: 5px; }
    .video-caption { font-size: 0.72rem; }
    .btn { justify-content: center; width: 100%; }
    .properties-grid { grid-template-columns: repeat(2, 1fr); }
    .area-tags { gap: 8px; }
    .area-tag { padding: 8px 16px; font-size: 0.78rem; }
    .contact-form-wrap { padding: 28px 24px; }
    .inline-cta { padding: 32px 24px; }
    .floating-cta { bottom: 16px; right: 16px; padding: 14px 20px; font-size: 0.85rem; }
    .floating-cta .cta-label { display: none; }
}

/* ============================================
   VISUAL ELEVATION — WOW FACTOR ELEMENTS
   ============================================ */

/* ---- FLOATING CALL BUTTON ---- */
.floating-cta {
    position: fixed; bottom: 28px; right: 28px; z-index: 999;
    background: linear-gradient(180deg, #ef4444, var(--brand) 50%, var(--brand-dark));
    color: white; padding: 16px 28px; border-radius: 100px;
    display: none; align-items: center; gap: 12px;
    text-decoration: none; font-weight: 700; font-size: 0.95rem;
    box-shadow:
        0 8px 32px rgba(220,38,38,0.35),
        0 2px 8px rgba(0,0,0,0.15),
        inset 0 1px 0 rgba(255,255,255,0.25);
    transition: all 0.3s var(--spring);
    animation: float-pulse 3s ease-in-out infinite;
}
.floating-cta:hover {
    transform: translateY(-4px) scale(1.06);
    box-shadow:
        0 16px 48px rgba(220,38,38,0.4),
        0 4px 12px rgba(0,0,0,0.2),
        inset 0 1px 0 rgba(255,255,255,0.25);
}
.floating-cta svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; }

/* Mobile sticky bottom CTA bar */
.mobile-cta-bar {
    display: none;
}
@media (max-width: 768px) {
    .mobile-cta-bar {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 998;
        background: var(--navy);
        border-top: 1px solid rgba(255,255,255,0.1);
        padding: 12px 16px;
        gap: 10px;
        box-shadow: 0 -4px 24px rgba(0,0,0,0.2);
    }
    .mobile-cta-bar a {
        flex: 1;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        padding: 14px;
        border-radius: 10px;
        text-decoration: none;
        font-weight: 700;
        font-size: 0.88rem;
    }
    .mobile-cta-call {
        background: linear-gradient(180deg, #ef4444, var(--brand));
        color: white;
        box-shadow: 0 4px 16px var(--brand-glow);
    }
    .mobile-cta-quote {
        background: var(--blue);
        color: white;
        box-shadow: 0 4px 16px var(--blue-glow);
    }
    .mobile-cta-bar svg {
        width: 18px; height: 18px;
        fill: none; stroke: currentColor; stroke-width: 2.5;
    }
    /* Hide floating CTA on mobile since we have the bar */
    .floating-cta { display: none; }
    /* Add padding to body so footer isn't hidden behind the bar */
    body { padding-bottom: 72px; }
}
@keyframes float-pulse {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-4px); }
}

/* ---- PHONE APP MOCKUP (hero right panel) ---- */
.phone-mockup {
    display: flex; justify-content: center; perspective: 1000px;
}
.phone-frame {
    width: 320px; background: #0f1220;
    border-radius: 40px; padding: 0;
    border: 3px solid #2a2f42;
    box-shadow:
        0 40px 80px rgba(0,0,0,0.5),
        0 0 0 1px rgba(255,255,255,0.05),
        inset 0 0 0 1px rgba(255,255,255,0.03),
        0 0 120px rgba(37,99,235,0.08);
    overflow: hidden;
    animation: gentle-float 6s ease-in-out infinite;
    transition: transform 0.6s var(--spring);
    position: relative;
}
/* Glass reflection streak across phone */
.phone-frame::after {
    content: ''; position: absolute; top: -60%; left: -20%;
    width: 40%; height: 200%; background: linear-gradient(
        135deg, transparent 30%, rgba(255,255,255,0.03) 45%, rgba(255,255,255,0.06) 50%, rgba(255,255,255,0.03) 55%, transparent 70%
    );
    transform: rotate(25deg); pointer-events: none; z-index: 10;
}
.phone-frame:hover {
    animation-play-state: paused;
    transform: rotateY(0) rotateX(0) scale(1.02);
    box-shadow:
        0 50px 100px rgba(0,0,0,0.5),
        0 0 0 1px rgba(255,255,255,0.08),
        inset 0 0 0 1px rgba(255,255,255,0.05),
        0 0 160px rgba(37,99,235,0.12);
}

/* Phone status bar */
.phone-status-bar {
    display: flex; justify-content: space-between; align-items: center;
    padding: 14px 24px 8px; font-size: 0.72rem; font-weight: 600; color: white;
}
.phone-status-icons { display: flex; gap: 6px; align-items: center; }

/* App header */
.app-header {
    padding: 8px 20px 16px;
    background: linear-gradient(180deg, rgba(220,38,38,0.12), transparent);
}
.app-header-top {
    display: flex; align-items: center; gap: 10px; margin-bottom: 12px;
}
.app-logo-small {
    width: 30px; height: 30px; border-radius: 8px;
    background: linear-gradient(135deg, var(--brand), var(--brand-dark));
    display: grid; place-items: center;
}
.app-title { font-size: 0.88rem; font-weight: 700; color: white; }
.app-status-badge {
    display: flex; align-items: center; gap: 8px;
    background: rgba(34,197,94,0.1); border: 1px solid rgba(34,197,94,0.2);
    padding: 8px 14px; border-radius: 10px;
    font-size: 0.7rem; font-weight: 600; color: #22c55e;
}
.app-status-dot {
    width: 7px; height: 7px; background: #22c55e; border-radius: 50%;
    flex-shrink: 0; animation: pulse-ring 2s ease-out infinite;
    position: relative;
}
.app-status-dot::after {
    content: ''; position: absolute; inset: -3px; border-radius: 50%;
    background: rgba(34,197,94,0.3); animation: pulse-ring 2s ease-out infinite;
}

/* Push notification */
.app-notification {
    margin: 0 14px 14px; padding: 12px 14px;
    background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.08);
    border-radius: 12px; display: flex; align-items: center; gap: 12px;
    animation: notif-slide 3s ease-out infinite;
}
@keyframes notif-slide {
    0%, 80% { opacity: 1; transform: translateY(0); }
    90% { opacity: 0; transform: translateY(-4px); }
    95% { opacity: 0; transform: translateY(8px); }
    100% { opacity: 1; transform: translateY(0); }
}
.app-notif-icon {
    width: 36px; height: 36px; border-radius: 10px;
    background: rgba(34,197,94,0.1); display: grid; place-items: center; flex-shrink: 0;
}
.app-notif-text { display: flex; flex-direction: column; gap: 2px; }
.app-notif-text strong { font-size: 0.72rem; color: white; font-weight: 600; }
.app-notif-text span { font-size: 0.62rem; color: var(--text-muted); }

/* Section labels */
.app-section-label {
    padding: 4px 20px 8px; font-size: 0.62rem; font-weight: 700;
    color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.1em;
}

/* Camera grid */
.app-cam-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
    padding: 0 14px 14px;
}
.app-cam-tile { border-radius: 12px; overflow: hidden; }
.app-cam-preview {
    aspect-ratio: 16/10; position: relative;
    background: #1a1f30;
}
.cam-1 { background: linear-gradient(150deg, #141a28, #1c2438, #161e2c); }
.cam-2 { background: linear-gradient(130deg, #161c2a, #1a2234, #141c28); }
.cam-3 { background: linear-gradient(160deg, #131a26, #1e2636, #151d2a); }
.cam-4 { background: linear-gradient(140deg, #151c28, #1c2434, #181f2c); }
.app-cam-live {
    position: absolute; top: 6px; right: 6px;
    font-size: 0.48rem; font-weight: 800; color: #ef4444;
    background: rgba(239,68,68,0.15); padding: 2px 6px;
    border-radius: 4px; letter-spacing: 0.08em;
    display: flex; align-items: center; gap: 4px;
}
.app-cam-live::before {
    content: ''; width: 4px; height: 4px; background: #ef4444;
    border-radius: 50%; animation: rec-blink 1.5s ease-in-out infinite;
}
.app-cam-name {
    padding: 6px 10px; font-size: 0.62rem; font-weight: 600;
    color: var(--text-on-dark); background: rgba(255,255,255,0.03);
}

/* Quick actions */
.app-actions {
    display: flex; gap: 10px; padding: 0 14px 16px;
}
.app-action {
    flex: 1; display: flex; flex-direction: column; align-items: center; gap: 6px;
    padding: 12px 8px; background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 12px;
}
.app-action span { font-size: 0.58rem; color: var(--text-muted); font-weight: 500; }
.app-action-icon {
    width: 36px; height: 36px; border-radius: 10px;
    display: grid; place-items: center;
}
.app-action-icon.orange { background: linear-gradient(135deg, var(--brand), var(--brand-dark)); }
.app-action-icon.blue { background: linear-gradient(135deg, var(--blue), var(--blue-dark)); }
.app-action-icon.green { background: linear-gradient(135deg, #22c55e, #16a34a); }

/* Bottom nav */
.app-bottom-nav {
    display: flex; border-top: 1px solid rgba(255,255,255,0.06);
    background: rgba(255,255,255,0.02);
}
.app-nav-item {
    flex: 1; display: flex; flex-direction: column; align-items: center; gap: 3px;
    padding: 10px 0 14px; font-size: 0.52rem; font-weight: 500;
    color: var(--text-muted);
}
.app-nav-item.active { color: var(--brand); }
.app-nav-item svg { opacity: 0.4; }
.app-nav-item.active svg { opacity: 1; }

/* Hide old CCTV dashboard elements if any remain */
.cctv-dashboard { display: none; }

/* ---- HERO VIDEO SHOWCASE ---- */
.hero-video-showcase {
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-width: 0;
}
.video-compare {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}
.video-compare-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid rgba(255,255,255,0.1);
    background: #0c1222;
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}
.video-compare-card video,
.video-single video {
    width: 100%;
    display: block;
    object-fit: cover;
}
.video-label {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 2;
    padding: 6px 14px;
    border-radius: 100px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    display: flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}
.video-label-good {
    background: rgba(34, 197, 94, 0.9);
    color: white;
}
.video-label-standard {
    background: rgba(100, 116, 139, 0.85);
    color: white;
}
.video-caption {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-align: center;
    line-height: 1.4;
    margin-bottom: 8px;
}
.video-single {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid rgba(255,255,255,0.1);
    background: #0c1222;
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}

/* ---- ANIMATED GLOW BORDER on video showcase ---- */
.hero-video-showcase {
    position: relative;
    padding: 3px;
    border-radius: 16px;
    background: linear-gradient(var(--navy), var(--navy));
}
.hero-video-showcase::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 18px;
    padding: 2px;
    background: conic-gradient(
        from var(--glow-angle, 0deg),
        transparent 0%,
        var(--brand) 10%,
        transparent 20%,
        transparent 40%,
        var(--blue) 50%,
        transparent 60%,
        transparent 80%,
        var(--brand) 90%,
        transparent 100%
    );
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    animation: glow-rotate 4s linear infinite;
    opacity: 0.6;
}
@property --glow-angle {
    syntax: "<angle>";
    initial-value: 0deg;
    inherits: false;
}
@keyframes glow-rotate {
    from { --glow-angle: 0deg; }
    to { --glow-angle: 360deg; }
}
/* Subtle outer glow */
.hero-video-showcase::after {
    content: '';
    position: absolute;
    inset: -8px;
    border-radius: 24px;
    background: conic-gradient(
        from var(--glow-angle, 0deg),
        transparent 0%,
        rgba(220,38,38,0.15) 10%,
        transparent 20%,
        transparent 40%,
        rgba(37,99,235,0.12) 50%,
        transparent 60%,
        transparent 80%,
        rgba(220,38,38,0.15) 90%,
        transparent 100%
    );
    filter: blur(12px);
    animation: glow-rotate 4s linear infinite;
    z-index: -1;
}

/* ---- HERO ENTRANCE ANIMATIONS ---- */
@keyframes hero-entrance {
    from { opacity: 0; transform: translateY(28px); }
    to { opacity: 1; transform: translateY(0); }
}
.hero-badge {
    animation: hero-entrance 0.8s var(--smooth) 0.1s both;
}
.hero h1 {
    animation: hero-entrance 0.8s var(--smooth) 0.25s both;
}
.hero .hero-desc {
    animation: hero-entrance 0.8s var(--smooth) 0.4s both;
}
.hero-buttons {
    animation: hero-entrance 0.8s var(--smooth) 0.55s both;
}
.hero-proof {
    animation: hero-entrance 0.8s var(--smooth) 0.7s both;
}
.hero-video-showcase {
    animation: hero-entrance 1s var(--smooth) 0.3s both;
}

/* ---- ANIMATED SHIELD WATERMARK ---- */
.hero-shield-watermark {
    position: absolute;
    right: -5%;
    top: 50%;
    transform: translateY(-50%);
    width: 500px;
    height: 500px;
    z-index: 0;
    opacity: 0.04;
}
.hero-shield-watermark svg {
    width: 100%;
    height: 100%;
}
.hero-shield-watermark path {
    stroke: white;
    stroke-width: 0.8;
    fill: none;
    stroke-dasharray: 200;
    stroke-dashoffset: 200;
    animation: shield-draw 3s ease-out 0.5s forwards;
}
@keyframes shield-draw {
    to { stroke-dashoffset: 0; }
}

/* ---- PARALLAX GRID ---- */
.hero::after {
    background-attachment: fixed;
}

/* ---- SCROLL INDICATOR ---- */
.scroll-indicator {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    animation: bounce-scroll 2s ease-in-out infinite;
}
@keyframes bounce-scroll {
    0%, 100% { transform: translateX(-50%) translateY(0); opacity: 0.6; }
    50% { transform: translateX(-50%) translateY(8px); opacity: 1; }
}

/* ---- ANIMATED GRADIENT BORDER on contact form ---- */
.contact-form-wrap {
    position: relative;
}
.contact-form-wrap::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: calc(var(--r) + 2px);
    padding: 2px;
    background: conic-gradient(
        from var(--glow-angle, 0deg),
        var(--brand) 0%,
        var(--blue) 25%,
        var(--brand) 50%,
        var(--blue) 75%,
        var(--brand) 100%
    );
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    animation: glow-rotate 6s linear infinite;
    opacity: 0.3;
    z-index: -1;
}

/* ---- PHOTO PLACEHOLDER FRAMES ---- */
.photo-frame {
    border-radius: var(--r); overflow: hidden;
    position: relative; aspect-ratio: 16/10;
    background: linear-gradient(135deg, var(--surface-alt), var(--surface));
    border: 1px solid var(--border);
}
.photo-frame-dark {
    background: linear-gradient(135deg, var(--navy-mid), var(--navy-light));
    border-color: var(--border-light);
}
.photo-frame-content {
    position: absolute; inset: 0; display: flex; flex-direction: column;
    align-items: center; justify-content: center; gap: 12px;
    color: var(--text-muted);
}
.photo-frame-content svg { width: 40px; height: 40px; opacity: 0.2; }
.photo-frame-content span { font-size: 0.75rem; font-weight: 500; opacity: 0.4; }

/* ---- WARM BACKGROUND TEXTURES ---- */
.warm-section {
    position: relative;
}
.warm-section::before {
    content: ''; position: absolute; inset: 0; pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.015'/%3E%3C/svg%3E");
    background-size: 200px 200px;
}

/* ---- NUMBER COUNTERS (visual weight) ---- */
.big-stat {
    display: flex; flex-direction: column; align-items: center;
    padding: 40px 20px;
}
.big-stat-number {
    font-size: 4rem; font-weight: 900; line-height: 1;
    background: linear-gradient(135deg, var(--brand), #f87171);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.big-stat-label {
    font-size: 0.85rem; color: var(--text-sec); font-weight: 600;
    margin-top: 8px; text-align: center;
}
.stats-banner {
    display: grid; grid-template-columns: repeat(4, 1fr);
    background: var(--white); border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}
.stats-banner .big-stat {
    border-right: 1px solid var(--border);
}
.stats-banner .big-stat:last-child { border-right: none; }

/* ---- BEFORE/AFTER VISUAL ---- */
.comparison {
    display: grid; grid-template-columns: 1fr 1fr; gap: 32px;
    margin: 48px 0; align-items: start;
}
.comparison-card {
    border-radius: var(--r); overflow: hidden;
    border: 1px solid var(--border);
}
.comparison-card.old {
    opacity: 0.7; filter: grayscale(30%);
}
.comparison-header {
    padding: 16px 24px; font-weight: 700; font-size: 0.82rem;
    text-transform: uppercase; letter-spacing: 0.06em;
    display: flex; align-items: center; gap: 10px;
}
.comparison-card.old .comparison-header {
    background: var(--surface-alt); color: var(--text-sec);
}
.comparison-card.new .comparison-header {
    background: linear-gradient(90deg, var(--brand), var(--blue));
    color: white;
}
.comparison-body { padding: 24px; }
.comparison-item {
    display: flex; align-items: center; gap: 10px;
    padding: 10px 0; font-size: 0.88rem; color: var(--text-sec);
    border-bottom: 1px solid var(--border);
}
.comparison-item:last-child { border-bottom: none; }
.comparison-item .x-icon { color: #ef4444; font-weight: 700; font-size: 1.1rem; flex-shrink: 0; width: 20px; text-align: center; }
.comparison-item .check-icon { color: #22c55e; font-weight: 700; font-size: 1.1rem; flex-shrink: 0; width: 20px; text-align: center; }

/* ---- TRUSTED BY LOGOS BAR ---- */
.logo-bar {
    padding: 48px 0; background: var(--white);
    border-bottom: 1px solid var(--border);
}
.logo-bar-header {
    text-align: center; margin-bottom: 28px;
    font-size: 0.75rem; font-weight: 600; color: var(--text-muted);
    text-transform: uppercase; letter-spacing: 0.1em;
}
.logo-bar-grid {
    display: flex; justify-content: center; align-items: center;
    gap: 48px; flex-wrap: wrap; opacity: 0.4;
}
.logo-placeholder {
    font-size: 1.1rem; font-weight: 800; color: var(--text);
    letter-spacing: -0.02em;
}

/* ---- TEAM / PERSONAL TOUCH ---- */
.team-callout {
    display: flex; gap: 32px; align-items: center;
    background: rgba(248,249,251,0.7);
    backdrop-filter: blur(20px) saturate(160%);
    -webkit-backdrop-filter: blur(20px) saturate(160%);
    border-radius: 20px; padding: 40px;
    border: 1px solid rgba(255,255,255,0.5);
    box-shadow: 0 8px 40px rgba(0,0,0,0.04), inset 0 1px 0 rgba(255,255,255,0.7);
    margin: 48px 0;
    transition: all 0.3s var(--spring);
}
.team-callout:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 56px rgba(0,0,0,0.06), inset 0 1px 0 rgba(255,255,255,0.7);
}
.team-avatar-large {
    width: 100px; height: 100px; border-radius: 50%; flex-shrink: 0;
    background: linear-gradient(135deg, var(--brand), var(--brand-dark));
    display: grid; place-items: center;
    font-size: 2rem; font-weight: 800; color: white;
    box-shadow: 0 8px 24px var(--brand-glow);
}
.team-callout-text h3 {
    font-size: 1.2rem; font-weight: 800; margin-bottom: 8px; letter-spacing: -0.02em;
}
.team-callout-text p {
    color: var(--text-sec); font-size: 0.92rem; line-height: 1.65; margin-bottom: 16px;
}
.team-callout-quote {
    font-style: italic; color: var(--text-sec); font-size: 0.9rem;
    padding-left: 16px; border-left: 3px solid var(--brand);
    margin-top: 12px;
}

/* ---- GUARANTEE SECTION (elevated) ---- */
.guarantee-section {
    padding: 80px 0;
    background: var(--white);
}
.guarantee-card {
    background: linear-gradient(135deg, var(--navy), var(--navy-mid));
    border-radius: 24px;
    padding: 56px;
    display: flex;
    align-items: flex-start;
    gap: 40px;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.06);
    box-shadow: 0 24px 64px rgba(0,0,0,0.15);
}
.guarantee-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(220,38,38,0.12), transparent 70%);
}
.guarantee-card::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(37,99,235,0.08), transparent 70%);
}
.guarantee-icon-wrap {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
    border-radius: 20px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, var(--brand), var(--brand-dark));
    box-shadow: 0 8px 32px var(--brand-glow);
    position: relative;
    z-index: 1;
}
.guarantee-icon-wrap svg { width: 36px; height: 36px; fill: white; }
.guarantee-content { position: relative; z-index: 1; }
.guarantee-content h2 {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 12px;
}
.guarantee-content > p {
    color: var(--text-on-dark);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 24px;
}
.guarantee-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}
.guarantee-feat {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-on-dark);
    font-size: 0.88rem;
    font-weight: 500;
}

/* ---- STATS BANNER (elevated with glow) ---- */
.stats-banner {
    display: grid; grid-template-columns: repeat(4, 1fr);
    background: var(--white);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    position: relative;
}
.stats-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(220,38,38,0.02), rgba(37,99,235,0.02), rgba(220,38,38,0.02));
    pointer-events: none;
}
.big-stat {
    display: flex; flex-direction: column; align-items: center;
    padding: 48px 20px;
    border-right: 1px solid var(--border);
    transition: all 0.3s var(--smooth);
}
.big-stat:last-child { border-right: none; }
.big-stat:hover {
    background: rgba(220,38,38,0.02);
}
.big-stat-number {
    font-size: 4.2rem; font-weight: 900; line-height: 1;
    background: linear-gradient(135deg, var(--brand), #f87171, var(--brand));
    background-size: 200% 200%;
    animation: gradient-shift 4s ease infinite;
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
@keyframes gradient-shift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}
.big-stat-label {
    font-size: 0.82rem; color: var(--text-sec); font-weight: 600;
    margin-top: 10px; text-align: center; text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ---- CTA BADGE ---- */
.cta-badge {
    display: inline-flex;
    align-items: center;
    padding: 8px 20px;
    border-radius: 100px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.15);
    color: rgba(255,255,255,0.8);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    margin-bottom: 24px;
    backdrop-filter: blur(8px);
}

/* ---- SECTION DIVIDERS (subtle curves between sections) ---- */
.services::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 0;
    right: 0;
    height: 60px;
    background: var(--white);
    clip-path: ellipse(55% 100% at 50% 0%);
    z-index: 1;
}
.services { position: relative; }

/* ---- SERVICE CARD GLOW BORDERS ---- */
.service-card::after {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: var(--r);
    padding: 1px;
    background: linear-gradient(135deg, transparent 30%, rgba(37,99,235,0.2) 50%, transparent 70%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s;
}
.service-card:hover::after { opacity: 1; }

/* ---- RESPONSIVE ADDITIONS ---- */
@media (max-width: 1024px) {
    .stats-banner { grid-template-columns: repeat(2, 1fr); }
    .comparison { grid-template-columns: 1fr; }
    .team-callout { flex-direction: column; text-align: center; }
    .team-callout-quote { border-left: none; border-top: 3px solid var(--brand); padding-left: 0; padding-top: 12px; }
}
@media (max-width: 768px) {
    .cctv-dashboard { display: none; }
    .stats-banner { grid-template-columns: 1fr 1fr; }
    .stats-banner .big-stat { padding: 28px 16px; }
    .big-stat-number { font-size: 2.8rem; }
    .guarantee-card { flex-direction: column; text-align: center; padding: 36px 28px; gap: 24px; }
    .guarantee-icon-wrap { margin: 0 auto; }
    .guarantee-features { grid-template-columns: 1fr; }
    .floating-cta .cta-label { display: none; }
}

/* ============================================
   SECURITY DEMO ANIMATION
   ============================================ */
.demo-section { padding: 100px 0; background: var(--navy); position: relative; overflow: hidden; }
.demo-section .section-title { color: #fff; }
.demo-section .section-desc { color: var(--text-on-dark); }
.demo-section .section-eyebrow { color: #60a5fa; }
.demo-section .section-eyebrow::before { background: linear-gradient(90deg, var(--brand), #60a5fa); }

.demo-scene-wrap { max-width: 800px; margin: 0 auto; }
.demo-scene { position: relative; width: 100%; aspect-ratio: 4/3; border-radius: 12px; overflow: hidden; box-shadow: 0 20px 60px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.05); }

.demo-bg { position: absolute; inset: 0; background: url('house-aerial-dark.jpg') center/cover no-repeat; transition: filter 0.8s; }
.demo-bg.alert-mode { filter: brightness(0.65) saturate(0.5); }
.demo-scan { position: absolute; inset: 0; z-index: 2; pointer-events: none; background: repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(0,0,0,0.02) 2px, rgba(0,0,0,0.02) 4px); }
.demo-vignette { position: absolute; inset: 0; z-index: 3; pointer-events: none; background: radial-gradient(ellipse 75% 65% at 45% 45%, transparent 40%, rgba(0,0,0,0.6) 100%); }
.demo-grid-overlay { position: absolute; inset: 0; z-index: 4; pointer-events: none; opacity: 0; transition: opacity 0.6s; background-image: linear-gradient(rgba(220,38,38,0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(220,38,38,0.04) 1px, transparent 1px); background-size: 30px 30px; }
.demo-grid-overlay.show { opacity: 1; }

.demo-hud-top { position: absolute; top: 0; left: 0; right: 0; z-index: 20; background: linear-gradient(180deg, rgba(0,0,0,0.6), transparent); padding: 12px 16px 36px; display: flex; justify-content: space-between; align-items: flex-start; }
.demo-brand { display: flex; align-items: center; }
.demo-hud-right { display: flex; align-items: center; gap: 12px; }
.demo-clock { font-family: 'JetBrains Mono', monospace; font-size: 10px; color: rgba(255,255,255,0.35); }
.demo-rec { display: flex; align-items: center; gap: 5px; font-size: 8px; color: rgba(255,255,255,0.3); font-weight: 700; letter-spacing: 1px; }
.demo-rec-dot { width: 5px; height: 5px; border-radius: 50%; background: #dc2626; animation: blink 1.2s infinite; }
@keyframes blink { 0%,100%{opacity:1}50%{opacity:0.2} }
.demo-hud-bottom { position: absolute; bottom: 0; left: 0; right: 0; z-index: 20; background: linear-gradient(0deg, rgba(0,0,0,0.5), transparent); padding: 32px 16px 10px; display: flex; justify-content: space-between; }
.demo-info { font-family: 'JetBrains Mono', monospace; font-size: 8px; color: rgba(255,255,255,0.2); }

.demo-status { position: absolute; top: 44px; left: 20px; z-index: 25; display: flex; align-items: center; gap: 7px; padding: 6px 16px; border-radius: 100px; font-size: 9px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.2px; backdrop-filter: blur(16px); transition: all 0.4s; }
.demo-armed { background: rgba(37,99,235,0.15); border: 1px solid rgba(37,99,235,0.25); color: #93c5fd; }
.demo-triggered { background: rgba(220,38,38,0.2); border: 1px solid rgba(220,38,38,0.4); color: #fca5a5; animation: s-throb 0.7s infinite; }
@keyframes s-throb { 0%,100%{background:rgba(220,38,38,0.15)}50%{background:rgba(220,38,38,0.3)} }
.demo-s-dot { width: 6px; height: 6px; border-radius: 50%; }
.demo-armed .demo-s-dot { background: #22c55e; box-shadow: 0 0 5px rgba(34,197,94,0.6); }
.demo-triggered .demo-s-dot { background: #dc2626; animation: d-flash 0.5s infinite; }
@keyframes d-flash { 0%,100%{box-shadow:0 0 3px rgba(220,38,38,0.5)}50%{box-shadow:0 0 12px rgba(220,38,38,1)} }

.demo-alert-bar { position: absolute; top: 44px; right: 20px; z-index: 25; background: rgba(220,38,38,0.15); backdrop-filter: blur(12px); border: 1px solid rgba(220,38,38,0.3); border-radius: 8px; padding: 8px 14px; white-space: nowrap; display: flex; align-items: center; gap: 8px; opacity: 0; transition: opacity 0.4s; }
.demo-alert-bar.show { opacity: 1; }
.demo-ab-icon { width: 20px; height: 20px; border-radius: 50%; background: rgba(220,38,38,0.25); display: grid; place-items: center; }
.demo-ab-text { font-size: 10px; color: #fca5a5; font-weight: 600; }
.demo-timestamp { position: absolute; top: 68px; left: 20px; z-index: 25; font-family: 'JetBrains Mono', monospace; font-size: 8px; color: rgba(220,38,38,0.6); opacity: 0; transition: opacity 0.3s; }
.demo-timestamp.show { opacity: 1; }

.demo-cam { position: absolute; z-index: 12; }
.demo-cam-dot { width: 12px; height: 12px; border-radius: 50%; background: #3b82f6; border: 2px solid rgba(255,255,255,0.8); box-shadow: 0 0 10px rgba(37,99,235,0.6); transition: all 0.3s; }
.demo-cam.alert .demo-cam-dot { background: #dc2626; border-color: #fecaca; box-shadow: 0 0 14px rgba(220,38,38,0.9); }
.demo-cam.amber .demo-cam-dot { background: #f59e0b; border-color: #fef3c7; box-shadow: 0 0 10px rgba(245,158,11,0.7); }
.demo-cam-tag { position: absolute; bottom: calc(100% + 6px); left: 50%; transform: translateX(-50%); font-size: 7px; font-weight: 700; color: rgba(255,255,255,0.7); background: rgba(0,0,0,0.6); padding: 2px 7px; border-radius: 3px; white-space: nowrap; text-transform: uppercase; letter-spacing: 0.4px; }
.demo-cam-driveway { top: 50%; left: 34%; }
.demo-cam-front { top: 41%; left: 52%; }
.demo-cam-side { top: 50%; left: 70%; }
.demo-cam-rear { top: 27%; left: 48%; }

.demo-zone { position: absolute; transform: translate(-50%, -50%); pointer-events: none; z-index: 5; transition: all 0.5s; border-radius: 50%; overflow: hidden; }
.demo-zone-safe { background: radial-gradient(circle, rgba(37,99,235,0.2) 0%, rgba(37,99,235,0.1) 30%, rgba(37,99,235,0.03) 55%, transparent 70%); border: 2px solid rgba(37,99,235,0.3); animation: z-pulse 3.5s ease-in-out infinite; }
@keyframes z-pulse { 0%,100%{opacity:0.65}50%{opacity:1} }
.demo-zone-danger { background: radial-gradient(circle, rgba(220,38,38,0.28) 0%, rgba(220,38,38,0.14) 30%, rgba(220,38,38,0.04) 55%, transparent 70%) !important; border: 2.5px solid rgba(220,38,38,0.55) !important; animation: z-flash 0.6s ease-in-out infinite !important; }
@keyframes z-flash { 0%,100%{opacity:0.5;border-color:rgba(220,38,38,0.4)}50%{opacity:1;border-color:rgba(220,38,38,0.8)} }
.demo-zone-amber { background: radial-gradient(circle, rgba(245,158,11,0.15) 0%, rgba(245,158,11,0.06) 35%, transparent 60%) !important; border-color: rgba(245,158,11,0.3) !important; animation: z-amber 1s ease-in-out infinite !important; }
@keyframes z-amber { 0%,100%{opacity:0.5}50%{opacity:0.8} }
.demo-zone::after { content: ''; position: absolute; top: 50%; left: 50%; width: 50%; height: 2px; background: linear-gradient(90deg, transparent, rgba(37,99,235,0.4)); transform-origin: left center; animation: radar 4s linear infinite; }
.demo-zone-danger::after { background: linear-gradient(90deg, transparent, rgba(220,38,38,0.5)) !important; animation-duration: 1.5s !important; }
.demo-zone-amber::after { background: linear-gradient(90deg, transparent, rgba(245,158,11,0.3)) !important; }
@keyframes radar { from{transform:rotate(0deg)}to{transform:rotate(360deg)} }
.demo-zn-driveway { top: 62%; left: 30%; width: 52%; height: 58%; }
.demo-zn-front { top: 48%; left: 50%; width: 44%; height: 48%; animation-delay: 0.8s; }
.demo-zn-side { top: 52%; left: 72%; width: 36%; height: 44%; animation-delay: 1.6s; }
.demo-zn-rear { top: 26%; left: 46%; width: 48%; height: 44%; animation-delay: 2.4s; }

.demo-shock { position: absolute; z-index: 8; border-radius: 50%; border: 2.5px solid rgba(220,38,38,0.7); transform: translate(-50%, -50%); opacity: 0; pointer-events: none; top: 60%; left: 33%; }
.demo-shock.go-1 { animation: shock-out 1.2s ease-out forwards; }
.demo-shock.go-2 { animation: shock-out 1.4s ease-out 0.2s forwards; }
.demo-shock.go-3 { animation: shock-out 1.6s ease-out 0.4s forwards; }
@keyframes shock-out { 0%{width:20px;height:20px;opacity:1;border-width:3px}100%{width:400px;height:400px;opacity:0;border-width:1px} }

.demo-data-line { position: absolute; z-index: 9; pointer-events: none; inset: 0; opacity: 0; transition: opacity 0.4s; }
.demo-data-line.show { opacity: 1; }
.demo-data-dot { position: absolute; width: 4px; height: 4px; background: #dc2626; border-radius: 50%; box-shadow: 0 0 6px rgba(220,38,38,0.8); opacity: 0; }

.demo-person { position: absolute; z-index: 15; width: 34px; height: 48px; transform: translate(-50%, -100%); }
.demo-person svg { width: 34px; height: 48px; filter: drop-shadow(0 3px 8px rgba(0,0,0,0.6)); transition: all 0.4s; }
.demo-p-dark { fill: #2d2d3d; transition: fill 0.3s; }
.demo-p-fill { fill: rgba(255,255,255,0.85); transition: fill 0.3s; }
.demo-p-stroke { stroke: rgba(255,255,255,0.7); transition: stroke 0.3s; }
.demo-person.detected .demo-p-dark { fill: #7f1d1d; }
.demo-person.detected .demo-p-fill { fill: #dc2626; }
.demo-person.detected .demo-p-stroke { stroke: #fca5a5; }
.demo-person.detected svg { filter: drop-shadow(0 0 14px rgba(220,38,38,0.9)) drop-shadow(0 0 28px rgba(220,38,38,0.4)); }
.demo-walking { animation: d-walk 0.5s ease-in-out infinite; }
.demo-stopped { animation: none; }
@keyframes d-walk { 0%,100%{transform:translate(-50%,-100%) translateY(0)}50%{transform:translate(-50%,-100%) translateY(-2px)} }

.demo-trail { position: absolute; z-index: 14; pointer-events: none; width: 16px; height: 16px; border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,0.06), transparent 70%); transform: translate(-50%, -50%); opacity: 0; }
.demo-trail.detected { background: radial-gradient(circle, rgba(220,38,38,0.12), transparent 70%); }
.demo-trail.show { opacity: 1; }

.demo-tracker { position: absolute; z-index: 16; width: 44px; height: 56px; transform: translate(-50%, calc(-100% - 2px)); opacity: 0; pointer-events: none; }
.demo-tracker.show { opacity: 1; animation: dtk-lock 0.8s ease-in-out infinite; }
@keyframes dtk-lock { 0%,100%{transform:translate(-50%,calc(-100% - 2px)) scale(1)}50%{transform:translate(-50%,calc(-100% - 2px)) scale(1.06)} }
.dtk { position: absolute; width: 8px; height: 8px; border-color: #dc2626; border-style: solid; }
.dtk-tl { top: 0; left: 0; border-width: 2px 0 0 2px; }
.dtk-tr { top: 0; right: 0; border-width: 2px 2px 0 0; }
.dtk-bl { bottom: 0; left: 0; border-width: 0 0 2px 2px; }
.dtk-br { bottom: 0; right: 0; border-width: 0 2px 2px 0; }
.demo-p-label { position: absolute; z-index: 17; transform: translate(26px, calc(-100% - 16px)); font-size: 8px; font-weight: 700; color: #fca5a5; background: rgba(220,38,38,0.2); backdrop-filter: blur(10px); border: 1px solid rgba(220,38,38,0.3); padding: 4px 10px; border-radius: 4px; white-space: nowrap; opacity: 0; transition: opacity 0.3s; letter-spacing: 0.5px; }
.demo-p-label.show { opacity: 1; }

.demo-phone { position: absolute; bottom: 24px; right: 20px; z-index: 30; width: 210px; background: linear-gradient(180deg, #1c2030, #12151f); border-radius: 24px; border: 2px solid rgba(255,255,255,0.06); box-shadow: 0 20px 60px rgba(0,0,0,0.7), 0 0 0 1px rgba(255,255,255,0.03); overflow: hidden; opacity: 0; transform: translateY(40px) scale(0.85); transition: all 0.7s cubic-bezier(0.22,1,0.36,1); }
.demo-phone.show { opacity: 1; transform: translateY(0) scale(1); }
.demo-phone.vibrate { animation: d-vibrate 0.12s ease-in-out 6; }
@keyframes d-vibrate { 0%,100%{transform:translateY(0) scale(1)}33%{transform:translateY(-1px) rotate(0.7deg)}66%{transform:translateY(1px) rotate(-0.7deg)} }
.demo-ph-bar { display: flex; justify-content: space-between; padding: 6px 18px; font-size: 9px; color: rgba(255,255,255,0.25); font-weight: 600; }
.demo-ph-notch { width: 56px; height: 5px; background: rgba(0,0,0,0.5); border-radius: 3px; margin: 0 auto 10px; }
.demo-ph-card { margin: 0 10px 8px; padding: 14px; background: linear-gradient(135deg, rgba(220,38,38,0.06), rgba(220,38,38,0.02)); border: 1px solid rgba(220,38,38,0.12); border-radius: 14px; }
.demo-ph-head { display: flex; align-items: center; gap: 6px; margin-bottom: 10px; }
.demo-ph-icon { display: flex; align-items: center; }
.demo-ph-app { font-size: 8px; font-weight: 700; color: rgba(255,255,255,0.4); text-transform: uppercase; letter-spacing: 0.5px; }
.demo-ph-now { font-size: 8px; color: rgba(255,255,255,0.2); margin-left: auto; }
.demo-ph-title { font-size: 13px; font-weight: 800; color: #fca5a5; margin-bottom: 4px; letter-spacing: -0.01em; }
.demo-ph-body { font-size: 10px; color: rgba(255,255,255,0.4); line-height: 1.5; margin-bottom: 10px; }
.demo-ph-preview { border-radius: 8px; overflow: hidden; border: 1px solid rgba(255,255,255,0.06); background: #0a0c12; padding: 5px; }
.demo-ph-preview-label { font-size: 7px; font-weight: 700; color: rgba(220,38,38,0.5); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 4px; display: flex; align-items: center; gap: 4px; }
.demo-ph-preview-dot { width: 4px; height: 4px; border-radius: 50%; background: #dc2626; animation: blink 0.8s infinite; }
.demo-ph-preview-img { width: 100%; aspect-ratio: 4/3; background: url('suspect-capture.png') center/cover; border-radius: 4px; filter: brightness(0.9) saturate(0.85); }
.demo-ph-btns { display: flex; gap: 6px; margin: 0 10px 14px; }
.demo-ph-btn { flex: 1; padding: 10px; border-radius: 10px; font-size: 9px; font-weight: 700; text-align: center; text-transform: uppercase; letter-spacing: 0.3px; }
.demo-ph-view { background: linear-gradient(180deg, #3b82f6, #2563eb); color: white; box-shadow: 0 4px 12px rgba(37,99,235,0.3); }
.demo-ph-call { background: rgba(220,38,38,0.1); color: #f87171; border: 1px solid rgba(220,38,38,0.2); }

/* House lights ON effect — whole scene brightens like lights came on */
.demo-lights-on {
    position: absolute; inset: 0; z-index: 4; pointer-events: none;
    background: radial-gradient(ellipse 60% 50% at 45% 40%, rgba(255,220,140,0.12) 0%, transparent 60%);
    opacity: 0; transition: opacity 1.5s ease-in;
}
.demo-lights-on.on { opacity: 1; }

/* Recording border — red pulsing edge during alert */
.demo-rec-border {
    position: absolute; inset: 0; z-index: 22; pointer-events: none;
    border: 3px solid transparent;
    border-radius: 12px;
    transition: border-color 0.4s;
}
.demo-rec-border.on {
    border-color: rgba(220,38,38,0.5);
    animation: rec-border-flash 1s ease-in-out infinite;
}
@keyframes rec-border-flash {
    0%, 100% { border-color: rgba(220,38,38,0.3); }
    50% { border-color: rgba(220,38,38,0.7); }
}

/* Police lights — appear at bottom edge after delay */
.demo-police {
    position: absolute; bottom: 0; left: 0; right: 0; z-index: 6;
    height: 30%; pointer-events: none;
    opacity: 0; transition: opacity 2s ease-in;
}
.demo-police.on { opacity: 1; }
.demo-police-red {
    position: absolute; bottom: 0; left: 5%;
    width: 20%; height: 100%;
    background: radial-gradient(ellipse at 50% 100%, rgba(220,38,38,0.15) 0%, transparent 60%);
    animation: police-flash-r 0.8s ease-in-out infinite;
}
.demo-police-blue {
    position: absolute; bottom: 0; left: 12%;
    width: 20%; height: 100%;
    background: radial-gradient(ellipse at 50% 100%, rgba(37,99,235,0.12) 0%, transparent 60%);
    animation: police-flash-b 0.8s ease-in-out infinite 0.4s;
}
@keyframes police-flash-r { 0%,100% { opacity: 0.3; } 50% { opacity: 1; } }
@keyframes police-flash-b { 0%,100% { opacity: 0.3; } 50% { opacity: 1; } }

/* Loop transition fade */
.demo-fade {
    position: absolute; inset: 0; z-index: 28; pointer-events: none;
    background: #0a0e1a;
    opacity: 0; transition: opacity 0.8s;
}
.demo-fade.on { opacity: 1; }

/* Data dots — make more visible */
.demo-data-dot { position: absolute; width: 5px; height: 5px; background: #dc2626; border-radius: 50%; box-shadow: 0 0 8px rgba(220,38,38,0.9), 0 0 16px rgba(220,38,38,0.4); opacity: 0; }

.demo-audio-hint { position: absolute; bottom: 36px; left: 16px; z-index: 30; font-size: 8px; color: rgba(255,255,255,0.25); font-weight: 600; cursor: pointer; display: flex; align-items: center; gap: 4px; transition: opacity 0.5s; }

@media (max-width: 768px) {
    .demo-section { padding: 48px 0; }
    .demo-section .container { padding: 0 12px; }
    .demo-section .container > div:first-child { padding: 0 8px; }
    .demo-scene-wrap { margin: 0; }
    .demo-scene { border-radius: 8px; aspect-ratio: 4/3; }
    .demo-phone { width: 110px; bottom: 10px; right: 8px; border-radius: 14px; max-height: 45%; overflow: hidden; }
    .demo-ph-bar { padding: 3px 10px; font-size: 7px; }
    .demo-ph-notch { width: 36px; height: 3px; margin: 0 auto 5px; }
    .demo-ph-card { margin: 0 6px 4px; padding: 7px; border-radius: 8px; }
    .demo-ph-head { margin-bottom: 5px; gap: 4px; }
    .demo-ph-icon img { height: 12px !important; }
    .demo-ph-app { font-size: 6px; }
    .demo-ph-now { font-size: 6px; }
    .demo-ph-title { font-size: 9px; margin-bottom: 2px; }
    .demo-ph-body { font-size: 7px; margin-bottom: 5px; }
    .demo-ph-preview { padding: 3px; }
    .demo-ph-preview-label { font-size: 5px; margin-bottom: 2px; }
    .demo-ph-preview-img { aspect-ratio: 16/9; }
    .demo-ph-btns { margin: 0 6px 8px; gap: 4px; }
    .demo-ph-btn { padding: 6px; font-size: 6px; border-radius: 6px; }
    .demo-ph-card { padding: 10px; }
    .demo-ph-title { font-size: 11px; }
    .demo-ph-body { font-size: 8px; }
    .demo-ph-preview-img { aspect-ratio: 16/9; }
    .demo-ph-btns { margin: 0 8px 10px; }
    .demo-ph-btn { padding: 8px; font-size: 8px; }
    .demo-cam-tag { font-size: 6px; padding: 2px 5px; }
    .demo-cam-dot { width: 10px; height: 10px; }
    .demo-status { font-size: 7px; padding: 5px 12px; top: 36px; left: 10px; letter-spacing: 1px; }
    .demo-alert-bar { font-size: 7px; top: 36px; right: 10px; padding: 5px 8px; gap: 5px; }
    .demo-ab-icon { width: 16px; height: 16px; }
    .demo-timestamp { font-size: 7px; top: 56px; left: 10px; }
    .demo-hud-top { padding: 10px 12px 30px; }
    .demo-hud-bottom { padding: 28px 12px 8px; }
    .demo-brand img { height: 18px !important; }
    .demo-clock { font-size: 8px; }
    .demo-rec { font-size: 7px; }
    .demo-info { font-size: 7px; }
    .demo-person { width: 22px; height: 32px; }
    .demo-person svg { width: 22px; height: 32px; }
    .demo-tracker { width: 28px; height: 38px; }
    .demo-p-label { font-size: 6px; padding: 3px 6px; transform: translate(16px, calc(-100% - 12px)); }
    .demo-zone { border-width: 1.5px !important; }
    .demo-section .section-title { font-size: 1.4rem; }
    .demo-section .section-desc { font-size: 0.85rem; }
