/* =========================================================
   SPEED GÜVENLİK
   PREMIUM SMART HOME / KNX WEBSITE
   CSS PART 1
   ========================================================= */


/* =========================================================
   01 — ROOT / DESIGN SYSTEM
   ========================================================= */

:root {

    --bg-main: #050b14;
    --bg-secondary: #07111f;
    --bg-card: rgba(13, 25, 42, 0.72);
    --bg-card-solid: #0b1728;

    --text-main: #ffffff;
    --text-secondary: #a8b4c5;
    --text-muted: #6f7d91;

    --accent: #00b7ff;
    --accent-light: #52d4ff;
    --accent-dark: #0077b6;

    --success: #20e39a;
    --warning: #ffc857;
    --danger: #ff5364;

    --border: rgba(255, 255, 255, 0.09);
    --border-light: rgba(255, 255, 255, 0.15);

    --glass: rgba(255, 255, 255, 0.055);
    --glass-strong: rgba(255, 255, 255, 0.09);

    --shadow:
        0 25px 70px rgba(0, 0, 0, 0.35);

    --shadow-small:
        0 12px 35px rgba(0, 0, 0, 0.25);

    --radius-small: 10px;
    --radius-medium: 18px;
    --radius-large: 28px;

    --container: 1440px;

    --transition-fast:
        0.2s ease;

    --transition:
        0.35s cubic-bezier(.2, .8, .2, 1);

    --transition-slow:
        0.7s cubic-bezier(.2, .8, .2, 1);

}


/* =========================================================
   02 — RESET
   ========================================================= */

*,
*::before,
*::after {

    margin: 0;
    padding: 0;
    box-sizing: border-box;

}

html {

    scroll-behavior: smooth;

}

body {

    min-height: 100vh;

    background:
        radial-gradient(
            circle at 15% 10%,
            rgba(0, 183, 255, 0.08),
            transparent 32%
        ),
        radial-gradient(
            circle at 85% 30%,
            rgba(0, 119, 182, 0.08),
            transparent 35%
        ),
        var(--bg-main);

    color: var(--text-main);

    font-family:
        "Inter",
        Arial,
        Helvetica,
        sans-serif;

    line-height: 1.6;

    overflow-x: hidden;

}

body.loading {

    overflow: hidden;

}

img {

    display: block;

    max-width: 100%;

}

button,
a,
input {

    font: inherit;

}

button {

    border: 0;

    cursor: pointer;

}

a {

    color: inherit;

    text-decoration: none;

}


/* =========================================================
   03 — GLOBAL CONTAINER
   ========================================================= */

.container {

    width: min(
        calc(100% - 48px),
        var(--container)
    );

    margin-inline: auto;

}


/* =========================================================
   04 — SELECTION
   ========================================================= */

::selection {

    background: var(--accent);

    color: #ffffff;

}


/* =========================================================
   05 — SCROLLBAR
   ========================================================= */

::-webkit-scrollbar {

    width: 8px;

}

::-webkit-scrollbar-track {

    background: #03070d;

}

::-webkit-scrollbar-thumb {

    background:
        linear-gradient(
            180deg,
            var(--accent),
            var(--accent-dark)
        );

    border-radius: 20px;

}

::-webkit-scrollbar-thumb:hover {

    background: var(--accent-light);

}


/* =========================================================
   06 — LOADER
   ========================================================= */

#loader {

    position: fixed;

    inset: 0;

    z-index: 99999;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    background:
        radial-gradient(
            circle at center,
            #0b1d31 0%,
            #050b14 55%,
            #02060b 100%
        );

    transition:
        opacity 0.7s ease,
        visibility 0.7s ease;

}

#loader.loaded {

    opacity: 0;

    visibility: hidden;

    pointer-events: none;

}

.loader-logo {

    width: 190px;

    animation:
        loaderLogo 1.5s ease-in-out infinite alternate;

}

.loader-logo img {

    width: 100%;

    height: auto;

    object-fit: contain;

}

.loader-line {

    width: 170px;

    height: 2px;

    margin-top: 28px;

    position: relative;

    overflow: hidden;

    background:
        rgba(255, 255, 255, 0.1);

}

.loader-line::after {

    content: "";

    position: absolute;

    inset: 0;

    width: 45%;

    background:
        linear-gradient(
            90deg,
            transparent,
            var(--accent),
            transparent
        );

    animation:
        loaderLine 1.1s ease-in-out infinite;

}

@keyframes loaderLogo {

    from {

        opacity: 0.65;

        transform: scale(0.97);

    }

    to {

        opacity: 1;

        transform: scale(1.03);

    }

}

@keyframes loaderLine {

    from {

        transform: translateX(-120%);

    }

    to {

        transform: translateX(350%);

    }

}


/* =========================================================
   07 — CUSTOM CURSOR
   ========================================================= */

.cursor,
.cursor2 {

    position: fixed;

    pointer-events: none;

    z-index: 99998;

    border-radius: 50%;

    transform:
        translate(-50%, -50%);

    opacity: 0;

}

.cursor {

    width: 8px;

    height: 8px;

    background: var(--accent);

}

.cursor2 {

    width: 32px;

    height: 32px;

    border:
        1px solid
        rgba(0, 183, 255, 0.5);

    transition:
        width 0.2s ease,
        height 0.2s ease,
        border-color 0.2s ease;

}


/* =========================================================
   08 — HEADER
   ========================================================= */

#header {

    position: fixed;

    top: 0;

    left: 0;

    width: 100%;

    z-index: 5000;

    padding: 18px 0;

    background:
        rgba(4, 10, 18, 0.42);

    border-bottom:
        1px solid
        rgba(255, 255, 255, 0.06);

    backdrop-filter:
        blur(18px);

    -webkit-backdrop-filter:
        blur(18px);

    transition:
        padding var(--transition),
        background var(--transition),
        box-shadow var(--transition);

}

#header.scrolled {

    padding: 11px 0;

    background:
        rgba(4, 10, 18, 0.88);

    box-shadow:
        0 10px 40px
        rgba(0, 0, 0, 0.28);

}

#header .container {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 30px;

}


/* =========================================================
   09 — LOGO
   ========================================================= */

.logo {

    display: flex;

    align-items: center;

    flex-shrink: 0;

    width: 165px;

    transition:
        transform var(--transition);

}

.logo:hover {

    transform: translateY(-2px);

}

.logo img {

    width: 100%;

    height: auto;

    object-fit: contain;

}


/* =========================================================
   10 — NAVIGATION
   ========================================================= */

#navbar {

    margin-left: auto;

}

#navbar ul {

    display: flex;

    align-items: center;

    gap: 8px;

    list-style: none;

}

#navbar a {

    position: relative;

    display: inline-flex;

    align-items: center;

    padding: 10px 14px;

    color:
        rgba(255, 255, 255, 0.78);

    font-size: 13px;

    font-weight: 500;

    letter-spacing: 0.01em;

    transition:
        color var(--transition-fast);

}

#navbar a::after {

    content: "";

    position: absolute;

    left: 14px;

    right: 14px;

    bottom: 4px;

    height: 1px;

    transform:
        scaleX(0);

    transform-origin: center;

    background:
        var(--accent);

    transition:
        transform var(--transition);

}

#navbar a:hover {

    color: #ffffff;

}

#navbar a:hover::after {

    transform: scaleX(1);

}


/* =========================================================
   11 — HEADER BUTTONS
   ========================================================= */

.header-buttons {

    display: flex;

    align-items: center;

    gap: 9px;

}

.call-btn,
.whatsapp-btn {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    min-height: 42px;

    padding: 0 17px;

    border-radius: 10px;

    font-size: 12px;

    font-weight: 700;

    transition:
        transform var(--transition),
        background var(--transition),
        border-color var(--transition);

}

.call-btn {

    border:
        1px solid
        var(--border-light);

    background:
        rgba(255, 255, 255, 0.04);

}

.call-btn:hover {

    transform: translateY(-2px);

    background:
        rgba(255, 255, 255, 0.09);

}

.whatsapp-btn {

    color: #03120d;

    background:
        var(--success);

    box-shadow:
        0 8px 24px
        rgba(32, 227, 154, 0.16);

}

.whatsapp-btn:hover {

    transform: translateY(-2px);

    box-shadow:
        0 12px 30px
        rgba(32, 227, 154, 0.25);

}


/* =========================================================
   12 — MOBILE MENU BUTTON
   ========================================================= */

#mobileMenu {

    display: none;

    width: 44px;

    height: 44px;

    padding: 10px;

    align-items: center;

    justify-content: center;

    flex-direction: column;

    gap: 5px;

    border:
        1px solid
        var(--border);

    border-radius: 10px;

    background:
        rgba(255, 255, 255, 0.04);

}

#mobileMenu span {

    display: block;

    width: 21px;

    height: 2px;

    border-radius: 10px;

    background: #ffffff;

    transition:
        transform var(--transition),
        opacity var(--transition);

}

#mobileMenu.active span:nth-child(1) {

    transform:
        translateY(7px)
        rotate(45deg);

}

#mobileMenu.active span:nth-child(2) {

    opacity: 0;

}

#mobileMenu.active span:nth-child(3) {

    transform:
        translateY(-7px)
        rotate(-45deg);

}


/* =========================================================
   13 — HERO
   ========================================================= */

.hero {

    position: relative;

    min-height: 100vh;

    min-height: 100svh;

    display: flex;

    align-items: center;

    overflow: hidden;

    isolation: isolate;

}

.hero-image {

    position: absolute;

    inset: 0;

    z-index: -3;

}

.hero-image img {

    width: 100%;

    height: 100%;

    object-fit: cover;

    object-position: center;

    transform:
        scale(1.04);

    animation:
        heroZoom 12s
        ease-in-out
        infinite alternate;

}

@keyframes heroZoom {

    from {

        transform:
            scale(1.04);

    }

    to {

        transform:
            scale(1.10);

    }

}

.hero-overlay {

    position: absolute;

    inset: 0;

    z-index: -2;

    background:

        linear-gradient(
            90deg,
            rgba(3, 8, 15, 0.96) 0%,
            rgba(3, 8, 15, 0.80) 38%,
            rgba(3, 8, 15, 0.30) 72%,
            rgba(3, 8, 15, 0.50) 100%
        ),

        linear-gradient(
            0deg,
            #050b14 0%,
            transparent 35%,
            rgba(0, 0, 0, 0.15) 100%
        );

}

.hero::before {

    content: "";

    position: absolute;

    width: 550px;

    height: 550px;

    left: -220px;

    top: 25%;

    z-index: -1;

    border-radius: 50%;

    background:
        rgba(0, 183, 255, 0.12);

    filter:
        blur(100px);

    pointer-events: none;

}

.hero-content {

    width: min(
        calc(100% - 48px),
        var(--container)
    );

    margin-inline: auto;

    padding-top: 70px;

}

.hero-mini {

    display: inline-flex;

    align-items: center;

    gap: 9px;

    margin-bottom: 22px;

    color:
        var(--accent-light);

    font-size: 11px;

    font-weight: 700;

    letter-spacing: 0.18em;

    text-transform: uppercase;

}

.hero-mini::before {

    content: "";

    width: 28px;

    height: 1px;

    background:
        var(--accent);

}

.hero h1 {

    max-width: 850px;

    font-size:
        clamp(3.5rem, 8vw, 7.5rem);

    line-height: 0.92;

    font-weight: 800;

    letter-spacing: -0.055em;

    text-wrap: balance;

}

.hero p {

    max-width: 650px;

    margin-top: 28px;

    color:
        rgba(255, 255, 255, 0.72);

    font-size:
        clamp(15px, 1.4vw, 19px);

    line-height: 1.7;

}


/* =========================================================
   14 — HERO BUTTONS
   ========================================================= */

.hero-buttons {

    display: flex;

    align-items: center;

    flex-wrap: wrap;

    gap: 12px;

    margin-top: 34px;

}

.btn-primary,
.btn-secondary {

    min-height: 54px;

    padding: 0 23px;

    display: inline-flex;

    align-items: center;

    justify-content: center;

    border-radius: 12px;

    font-size: 13px;

    font-weight: 700;

    transition:
        transform var(--transition),
        box-shadow var(--transition),
        background var(--transition);

}

.btn-primary {

    color: #02101a;

    background:
        linear-gradient(
            135deg,
            var(--accent-light),
            var(--accent)
        );

    box-shadow:
        0 12px 35px
        rgba(0, 183, 255, 0.22);

}

.btn-primary:hover {

    transform:
        translateY(-3px);

    box-shadow:
        0 18px 42px
        rgba(0, 183, 255, 0.32);

}

.btn-secondary {

    color: #ffffff;

    border:
        1px solid
        rgba(255, 255, 255, 0.18);

    background:
        rgba(255, 255, 255, 0.06);

    backdrop-filter:
        blur(12px);

}

.btn-secondary:hover {

    transform:
        translateY(-3px);

    background:
        rgba(255, 255, 255, 0.11);

}


/* =========================================================
   15 — SCROLL INDICATOR
   ========================================================= */

.scroll-down {

    position: absolute;

    left: 50%;

    bottom: 30px;

    width: 24px;

    height: 40px;

    transform:
        translateX(-50%);

    border:
        1px solid
        rgba(255, 255, 255, 0.3);

    border-radius: 20px;

}

.scroll-down::before {

    content: "";

    position: absolute;

    top: 8px;

    left: 50%;

    width: 3px;

    height: 7px;

    transform:
        translateX(-50%);

    border-radius: 5px;

    background:
        var(--accent);

    animation:
        scrollIndicator 1.7s
        ease-in-out
        infinite;

}

@keyframes scrollIndicator {

    0%,
    100% {

        opacity: 0.3;

        transform:
            translate(-50%, 0);

    }

    50% {

        opacity: 1;

        transform:
            translate(-50%, 10px);

    }

}


/* =========================================================
   16 — HERO STATUS SECTION
   ========================================================= */

.hero-status {

    position: relative;

    margin-top: -55px;

    z-index: 10;

}

.status-grid {

    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 12px;

}

.status-card {

    position: relative;

    min-height: 190px;

    padding: 24px;

    overflow: hidden;

    border:
        1px solid
        var(--border);

    border-radius:
        var(--radius-medium);

    background:
        linear-gradient(
            145deg,
            rgba(18, 34, 55, 0.82),
            rgba(7, 17, 31, 0.88)
        );

    backdrop-filter:
        blur(18px);

    box-shadow:
        var(--shadow-small);

    transition:
        transform var(--transition),
        border-color var(--transition);

}

.status-card::before {

    content: "";

    position: absolute;

    width: 120px;

    height: 120px;

    right: -55px;

    bottom: -65px;

    border-radius: 50%;

    background:
        rgba(0, 183, 255, 0.13);

    filter:
        blur(20px);

}

.status-card:hover {

    transform:
        translateY(-6px);

    border-color:
        rgba(0, 183, 255, 0.28);

}

.status-icon {

    width: 42px;

    height: 42px;

    display: flex;

    align-items: center;

    justify-content: center;

    margin-bottom: 18px;

    border-radius: 12px;

    background:
        rgba(0, 183, 255, 0.09);

    border:
        1px solid
        rgba(0, 183, 255, 0.13);

    font-size: 19px;

}

.status-card h3 {

    font-size: 16px;

    font-weight: 700;

}

.status-card p {

    margin-top: 7px;

    color:
        var(--text-muted);

    font-size: 12px;

    line-height: 1.6;

}

.status-card > span {

    display: inline-flex;

    margin-top: 16px;

    color:
        var(--success);

    font-size: 10px;

    font-weight: 700;

    letter-spacing: 0.08em;

    text-transform: uppercase;

}


/* =========================================================
   17 — LIVE DASHBOARD
   ========================================================= */

.live-dashboard {

    padding:
        120px 0 80px;

}

.live-dashboard .container {

    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        minmax(500px, 1.1fr);

    gap: 60px;

    align-items: center;

}

.dashboard-left small {

    color:
        var(--accent-light);

    font-size: 10px;

    font-weight: 800;

    letter-spacing: 0.18em;

}

.dashboard-left h2 {

    margin-top: 14px;

    max-width: 620px;

    font-size:
        clamp(2.2rem, 4vw, 4rem);

    line-height: 1;

    letter-spacing: -0.045em;

}

.dashboard-left p {

    max-width: 560px;

    margin-top: 22px;

    color:
        var(--text-secondary);

    font-size: 15px;

    line-height: 1.8;

}

.dashboard-right {

    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap: 12px;

}

.dashboard-box {

    min-height: 145px;

    padding: 25px;

    border:
        1px solid
        var(--border);

    border-radius:
        var(--radius-medium);

    background:
        var(--glass);

    backdrop-filter:
        blur(16px);

    transition:
        transform var(--transition),
        border-color var(--transition);

}

.dashboard-box:hover {

    transform:
        translateY(-5px);

    border-color:
        rgba(0, 183, 255, 0.25);

}

.dashboard-box span {

    color:
        var(--text-muted);

    font-size: 11px;

}

.dashboard-box h3 {

    margin-top: 18px;

    font-size: 28px;

    font-weight: 700;

    letter-spacing: -0.03em;

}


/* =========================================================
   18 — FLOATING BUTTONS
   ========================================================= */

.floating-buttons {

    position: fixed;

    right: 22px;

    bottom: 22px;

    z-index: 4500;

    display: flex;

    flex-direction: column;

    gap: 10px;

}

.floating-call,
.floating-whatsapp {

    width: 52px;

    height: 52px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 50%;

    box-shadow:
        0 12px 30px
        rgba(0, 0, 0, 0.35);

    transition:
        transform var(--transition);

}

.floating-call:hover,
.floating-whatsapp:hover {

    transform:
        translateY(-4px)
        scale(1.04);

}

.floating-call {

    background:
        rgba(255, 255, 255, 0.10);

    border:
        1px solid
        rgba(255, 255, 255, 0.14);

}

.floating-whatsapp {

    background:
        var(--success);

}


/* =========================================================
   19 — BACKGROUND CIRCLES
   ========================================================= */

.bg-circle {

    position: fixed;

    z-index: -10;

    pointer-events: none;

    border-radius: 50%;

    filter:
        blur(90px);

    opacity: 0.15;

}

.circle1 {

    width: 300px;

    height: 300px;

    top: 25%;

    left: -160px;

    background:
        var(--accent);

}

.circle2 {

    width: 350px;

    height: 350px;

    top: 60%;

    right: -200px;

    background:
        #0069a4;

}

.circle3 {

    width: 250px;

    height: 250px;

    top: 85%;

    left: 35%;

    background:
        #00a5ef;

}


/* =========================================================
   20 — BASIC RESPONSIVE
   ========================================================= */

@media (max-width: 1100px) {

    #navbar {

        display: none;

    }

    #mobileMenu {

        display: flex;

    }

    .header-buttons {

        margin-left: auto;

    }

    .status-grid {

        grid-template-columns:
            repeat(2, 1fr);

    }

    .live-dashboard .container {

        grid-template-columns:
            1fr;

    }

}


/* =========================================================
   21 — TABLET
   ========================================================= */

@media (max-width: 768px) {

    .container,
    .hero-content {

        width:
            min(
                calc(100% - 30px),
                var(--container)
            );

    }

    #header {

        padding: 13px 0;

    }

    .logo {

        width: 135px;

    }

    .call-btn {

        display: none;

    }

    .whatsapp-btn {

        min-height: 38px;

        padding: 0 13px;

    }

    .hero-content {

        padding-top: 60px;

    }

    .hero h1 {

        font-size:
            clamp(3rem, 13vw, 5rem);

    }

    .hero p {

        max-width: 520px;

        font-size: 14px;

    }

    .hero-buttons {

        margin-top: 27px;

    }

    .btn-primary,
    .btn-secondary {

        min-height: 49px;

        padding: 0 17px;

        font-size: 12px;

    }

    .hero-status {

        margin-top: -35px;

    }

    .status-grid {

        grid-template-columns:
            1fr;

    }

    .status-card {

        min-height: auto;

    }

    .live-dashboard {

        padding-top: 80px;

    }

    .dashboard-right {

        grid-template-columns:
            1fr 1fr;

    }

}


/* =========================================================
   22 — MOBILE
   ========================================================= */

@media (max-width: 480px) {

    .container,
    .hero-content {

        width:
            calc(100% - 24px);

    }

    .logo {

        width: 120px;

    }

    .whatsapp-btn {

        display: none;

    }

    .hero {

        min-height: 780px;

    }

    .hero-image img {

        object-position:
            58% center;

    }

    .hero-overlay {

        background:

            linear-gradient(
                180deg,
                rgba(3, 8, 15, 0.72),
                rgba(3, 8, 15, 0.88)
            ),

            linear-gradient(
                0deg,
                #050b14 0%,
                transparent 55%
            );

    }

    .hero h1 {

        font-size:
            clamp(2.8rem, 15vw, 4.2rem);

    }

    .hero p {

        font-size: 13px;

    }

    .hero-buttons {

        flex-direction: column;

        align-items: stretch;

    }

    .btn-primary,
    .btn-secondary {

        width: 100%;

    }

    .scroll-down {

        display: none;

    }

    .live-dashboard {

        padding:
            70px 0;

    }

    .dashboard-left h2 {

        font-size: 2.4rem;

    }

    .dashboard-right {

        grid-template-columns:
            1fr;

    }

    .dashboard-box {

        min-height: 120px;

    }

    .floating-buttons {

        right: 14px;

        bottom: 14px;

    }

    .floating-call,
    .floating-whatsapp {

        width: 47px;

        height: 47px;

    }

}

/* =========================================================
   SPEED GÜVENLİK
   SMART HOME / KNX
   CSS PART 2
   SIMULATION SYSTEM
   ========================================================= */


/* =========================================================
   01 — SIMULATION SECTION
   ========================================================= */

.simulation-section {

    position: relative;

    padding: 120px 0;

    overflow: hidden;

    background:
        radial-gradient(
            circle at 20% 20%,
            rgba(0, 183, 255, 0.055),
            transparent 35%
        ),
        radial-gradient(
            circle at 80% 70%,
            rgba(0, 119, 182, 0.055),
            transparent 35%
        );

}

.simulation-section::before {

    content: "";

    position: absolute;

    top: 15%;

    left: 50%;

    width: 800px;

    height: 800px;

    transform:
        translateX(-50%);

    border-radius: 50%;

    background:
        rgba(0, 183, 255, 0.025);

    filter:
        blur(100px);

    pointer-events: none;

}

.section-header {

    position: relative;

    max-width: 760px;

    margin: 0 auto 55px;

    text-align: center;

}

.section-mini {

    display: inline-flex;

    align-items: center;

    gap: 10px;

    color:
        var(--accent-light);

    font-size: 10px;

    font-weight: 800;

    letter-spacing: 0.18em;

    text-transform: uppercase;

}

.section-mini::before,
.section-mini::after {

    content: "";

    width: 22px;

    height: 1px;

    background:
        var(--accent);

}

.section-header h2 {

    margin-top: 17px;

    font-size:
        clamp(2.3rem, 5vw, 4.7rem);

    line-height: 0.98;

    letter-spacing: -0.055em;

}

.section-header p {

    max-width: 650px;

    margin: 20px auto 0;

    color:
        var(--text-secondary);

    font-size: 14px;

    line-height: 1.8;

}


/* =========================================================
   02 — SIMULATION LAYOUT
   ========================================================= */

.simulation-layout {

    position: relative;

    display: grid;

    grid-template-columns:
        260px
        minmax(0, 1fr)
        285px;

    gap: 14px;

    min-height: 760px;

}


/* =========================================================
   03 — COMMON PANEL
   ========================================================= */

.simulation-sidebar-left,
.simulation-sidebar-right {

    position: relative;

    min-width: 0;

    padding: 18px;

    border:
        1px solid
        var(--border);

    border-radius:
        var(--radius-large);

    background:
        linear-gradient(
            145deg,
            rgba(13, 27, 45, 0.88),
            rgba(6, 15, 27, 0.92)
        );

    box-shadow:
        var(--shadow);

    backdrop-filter:
        blur(22px);

    -webkit-backdrop-filter:
        blur(22px);

}

.simulation-sidebar-left {

    display: flex;

    flex-direction: column;

    gap: 17px;

}

.simulation-sidebar-right {

    display: flex;

    flex-direction: column;

}


/* =========================================================
   04 — PANEL TITLE
   ========================================================= */

.panel-title {

    padding:
        4px 4px 8px;

}

.panel-title h3 {

    font-size: 16px;

    font-weight: 700;

}

.panel-title p {

    margin-top: 3px;

    color:
        var(--text-muted);

    font-size: 10px;

}


/* =========================================================
   05 — SYSTEM WIDE BUTTON
   ========================================================= */

.system-wide {

    width: 100%;

    display: grid;

    grid-template-columns:
        38px
        minmax(0, 1fr)
        auto;

    align-items: center;

    gap: 10px;

    padding: 12px;

    text-align: left;

    color: #ffffff;

    border:
        1px solid
        var(--border);

    border-radius: 14px;

    background:
        rgba(255, 255, 255, 0.035);

    transition:
        transform var(--transition),
        border-color var(--transition),
        background var(--transition);

}

.system-wide:hover {

    transform:
        translateY(-2px);

    border-color:
        rgba(0, 183, 255, 0.25);

}

.system-wide.active {

    border-color:
        rgba(0, 183, 255, 0.35);

    background:
        linear-gradient(
            135deg,
            rgba(0, 183, 255, 0.14),
            rgba(0, 119, 182, 0.06)
        );

    box-shadow:
        inset 0 0 30px
        rgba(0, 183, 255, 0.025);

}

.system-icon {

    width: 38px;

    height: 38px;

    display: flex;

    align-items: center;

    justify-content: center;

    flex-shrink: 0;

    border-radius: 11px;

    background:
        rgba(0, 183, 255, 0.08);

    border:
        1px solid
        rgba(0, 183, 255, 0.11);

    font-size: 16px;

}

.system-wide strong {

    display: block;

    font-size: 11px;

    font-weight: 700;

}

.system-wide small {

    display: block;

    margin-top: 2px;

    color:
        var(--text-muted);

    font-size: 9px;

}


/* =========================================================
   06 — STATUS DOT
   ========================================================= */

.status-dot {

    width: 7px;

    height: 7px;

    border-radius: 50%;

    background:
        var(--text-muted);

}

.status-dot.online {

    background:
        var(--success);

    box-shadow:
        0 0 0 4px
        rgba(32, 227, 154, 0.08),
        0 0 12px
        rgba(32, 227, 154, 0.5);

}


/* =========================================================
   07 — SYSTEM GRID
   ========================================================= */

.system-grid {

    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap: 8px;

}

.system-card {

    position: relative;

    min-height: 105px;

    padding: 12px;

    display: flex;

    flex-direction: column;

    align-items: flex-start;

    justify-content: flex-start;

    text-align: left;

    color: #ffffff;

    border:
        1px solid
        var(--border);

    border-radius: 14px;

    background:
        rgba(255, 255, 255, 0.025);

    transition:
        transform var(--transition),
        border-color var(--transition),
        background var(--transition);

}

.system-card:hover {

    transform:
        translateY(-3px);

    border-color:
        rgba(0, 183, 255, 0.22);

    background:
        rgba(255, 255, 255, 0.045);

}

.system-card.active {

    border-color:
        rgba(0, 183, 255, 0.3);

    background:
        rgba(0, 183, 255, 0.07);

}

.system-card .system-icon {

    width: 32px;

    height: 32px;

    margin-bottom: 10px;

    font-size: 14px;

}

.system-card strong {

    font-size: 10px;

    font-weight: 700;

}

.system-card small {

    margin-top: 2px;

    color:
        var(--text-muted);

    font-size: 8px;

}

.system-led {

    position: absolute;

    top: 12px;

    right: 12px;

    width: 5px;

    height: 5px;

    border-radius: 50%;

    background:
        #344154;

}

.system-led.on {

    background:
        var(--success);

    box-shadow:
        0 0 10px
        rgba(32, 227, 154, 0.6);

}


/* =========================================================
   08 — SCENARIO PANEL
   ========================================================= */

.scene-panel {

    padding-top: 4px;

}

.scene-panel h4 {

    margin-bottom: 10px;

    color:
        var(--text-secondary);

    font-size: 10px;

    font-weight: 700;

}

.scene-grid {

    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap: 6px;

}

.scene-btn {

    min-height: 40px;

    padding: 6px;

    color:
        var(--text-secondary);

    border:
        1px solid
        var(--border);

    border-radius: 9px;

    background:
        rgba(255, 255, 255, 0.025);

    font-size: 8px;

    transition:
        transform var(--transition-fast),
        color var(--transition-fast),
        background var(--transition-fast),
        border-color var(--transition-fast);

}

.scene-btn:hover {

    color: #ffffff;

    border-color:
        rgba(0, 183, 255, 0.25);

    background:
        rgba(0, 183, 255, 0.08);

    transform:
        translateY(-2px);

}

.scene-btn.active {

    color: #ffffff;

    border-color:
        rgba(0, 183, 255, 0.4);

    background:
        rgba(0, 183, 255, 0.13);

}


/* =========================================================
   09 — QUICK STATUS
   ========================================================= */

.quick-status {

    margin-top: auto;

    padding-top: 12px;

    border-top:
        1px solid
        var(--border);

}

.status-item {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 10px;

    padding: 6px 0;

}

.status-item span {

    color:
        var(--text-muted);

    font-size: 8px;

}

.status-item strong {

    color:
        #ffffff;

    font-size: 8px;

    font-weight: 600;

}

.status-item strong.online {

    color:
        var(--success);

}


/* =========================================================
   10 — CENTER VIEWER
   ========================================================= */

.simulation-center {

    position: relative;

    min-width: 0;

    display: flex;

    flex-direction: column;

    gap: 12px;

}

.simulation-view {

    position: relative;

    min-height: 600px;

    flex: 1;

    overflow: hidden;

    border:
        1px solid
        var(--border);

    border-radius:
        var(--radius-large);

    background:
        #02070d;

    box-shadow:
        var(--shadow);

}


/* =========================================================
   11 — SIMULATION IMAGE
   ========================================================= */

.simulation-image {

    position: absolute;

    inset: 0;

    overflow: hidden;

}

.simulation-image img {

    width: 100%;

    height: 100%;

    object-fit: cover;

    object-position: center;

    transition:
        opacity 0.45s ease,
        transform 1s ease,
        filter 0.5s ease;

}

.simulation-image.changing img {

    opacity: 0;

    transform:
        scale(1.04);

}

.simulation-image img.lights-off {

    filter:
        brightness(0.52)
        saturate(0.8);

}

.simulation-image img.lights-on {

    filter:
        brightness(1)
        saturate(1.05);

}


/* =========================================================
   12 — IMAGE OVERLAY
   ========================================================= */

.image-overlay {

    position: absolute;

    inset: 0;

    z-index: 2;

    pointer-events: none;

    background:

        linear-gradient(
            180deg,
            rgba(2, 7, 13, 0.42),
            transparent 35%,
            rgba(2, 7, 13, 0.58)
        );

}

.image-overlay::after {

    content: "";

    position: absolute;

    inset: 0;

    background:
        radial-gradient(
            circle at center,
            transparent 35%,
            rgba(0, 0, 0, 0.28) 100%
        );

}


/* =========================================================
   13 — VILLA VIEWER
   ========================================================= */

.villa-viewer {

    position: relative;

    min-height: 600px;

    overflow: hidden;

    border:
        1px solid
        var(--border);

    border-radius:
        var(--radius-large);

    background:
        #02070d;

    box-shadow:
        var(--shadow);

}

.viewer-header {

    position: absolute;

    top: 0;

    left: 0;

    right: 0;

    z-index: 20;

    display: flex;

    align-items: flex-start;

    justify-content: space-between;

    gap: 20px;

    padding: 24px;

    background:
        linear-gradient(
            180deg,
            rgba(2, 7, 13, 0.82),
            transparent
        );

}

.viewer-header small {

    display: block;

    color:
        var(--accent-light);

    font-size: 8px;

    font-weight: 800;

    letter-spacing: 0.16em;

    text-transform: uppercase;

}

.viewer-header h3 {

    margin-top: 4px;

    font-size: 20px;

    font-weight: 700;

}

.viewer-header > span {

    padding: 7px 10px;

    color:
        var(--text-secondary);

    border:
        1px solid
        var(--border-light);

    border-radius: 20px;

    background:
        rgba(0, 0, 0, 0.3);

    font-size: 8px;

    white-space: nowrap;

}


/* =========================================================
   14 — HOUSE WRAPPER
   ========================================================= */

.house-wrapper {

    position: absolute;

    inset: 0;

    overflow: hidden;

}

.house-wrapper > img {

    width: 100%;

    height: 100%;

    object-fit: cover;

    transition:
        opacity 0.45s ease,
        filter 0.45s ease,
        transform 1s ease;

}

.house-wrapper.lights-off > img {

    filter:
        brightness(0.48)
        saturate(0.75);

}

.house-wrapper.lights-on > img {

    filter:
        brightness(1)
        saturate(1.05);

}

.house-gradient {

    position: absolute;

    inset: 0;

    z-index: 2;

    pointer-events: none;

    background:

        linear-gradient(
            180deg,
            rgba(0, 0, 0, 0.5),
            transparent 28%,
            transparent 60%,
            rgba(0, 0, 0, 0.6)
        );

}


/* =========================================================
   15 — DEVICE HOTSPOTS
   ========================================================= */

.device-point {

    position: absolute;

    z-index: 10;

    width: 42px;

    height: 42px;

    display: flex;

    align-items: center;

    justify-content: center;

    border:
        1px solid
        rgba(255, 255, 255, 0.2);

    border-radius: 50%;

    color: #ffffff;

    background:
        rgba(3, 12, 22, 0.72);

    backdrop-filter:
        blur(12px);

    box-shadow:
        0 8px 25px
        rgba(0, 0, 0, 0.3);

    transition:
        transform var(--transition),
        border-color var(--transition),
        background var(--transition);

    animation:
        devicePulse 2.5s
        ease-in-out
        infinite;

}

.device-point:hover {

    transform:
        scale(1.12);

    border-color:
        var(--accent);

    background:
        rgba(0, 183, 255, 0.18);

}

.device-point.active {

    border-color:
        var(--accent-light);

    background:
        rgba(0, 183, 255, 0.2);

    box-shadow:
        0 0 0 5px
        rgba(0, 183, 255, 0.08),
        0 0 28px
        rgba(0, 183, 255, 0.35);

}

@keyframes devicePulse {

    0%,
    100% {

        box-shadow:
            0 8px 25px
            rgba(0, 0, 0, 0.3);

    }

    50% {

        box-shadow:
            0 8px 25px
            rgba(0, 0, 0, 0.3),
            0 0 18px
            rgba(0, 183, 255, 0.18);

    }

}


/* =========================================================
   16 — DEVICE POSITIONS
   ========================================================= */

.point-light {

    left: 31%;

    top: 48%;

}

.point-climate {

    left: 58%;

    top: 37%;

}

.point-security {

    right: 12%;

    top: 48%;

}

.point-curtain {

    left: 46%;

    top: 56%;

}

.point-camera {

    right: 20%;

    top: 23%;

}

.point-energy {

    right: 9%;

    bottom: 25%;

}


/* =========================================================
   17 — DEVICE STATUS BAR
   ========================================================= */

.device-status-bar {

    position: absolute;

    left: 18px;

    right: 18px;

    bottom: 18px;

    z-index: 15;

    display: grid;

    grid-template-columns:
        repeat(5, 1fr);

    gap: 7px;

}

.device-status {

    min-width: 0;

    padding: 10px 12px;

    border:
        1px solid
        rgba(255, 255, 255, 0.08);

    border-radius: 10px;

    background:
        rgba(2, 8, 15, 0.72);

    backdrop-filter:
        blur(16px);

}

.device-status span {

    display: block;

    color:
        var(--text-muted);

    font-size: 7px;

}

.device-status strong {

    display: block;

    margin-top: 3px;

    color:
        #ffffff;

    font-size: 10px;

}


/* =========================================================
   18 — DEVICE INFORMATION
   ========================================================= */

.device-information {

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 8px;

}

.device-card {

    padding: 13px;

    border:
        1px solid
        var(--border);

    border-radius: 12px;

    background:
        rgba(255, 255, 255, 0.025);

}

.device-card h4 {

    color:
        var(--text-muted);

    font-size: 8px;

    font-weight: 500;

}

.device-card strong {

    display: block;

    margin-top: 5px;

    color:
        #ffffff;

    font-size: 10px;

}

.device-card strong.online {

    color:
        var(--success);

}


/* =========================================================
   19 — ROOM SELECTOR
   ========================================================= */

.room-selector {

    position: relative;

    padding: 16px;

    border:
        1px solid
        var(--border);

    border-radius:
        var(--radius-medium);

    background:
        rgba(255, 255, 255, 0.025);

}

.room-selector-header small {

    color:
        var(--accent-light);

    font-size: 8px;

    font-weight: 800;

    letter-spacing: 0.14em;

}

.room-selector-header h3 {

    margin-top: 3px;

    font-size: 15px;

}

.room-selector-header p {

    margin-top: 2px;

    color:
        var(--text-muted);

    font-size: 9px;

}

.room-tabs {

    display: flex;

    gap: 7px;

    margin-top: 15px;

    overflow-x: auto;

    scrollbar-width: none;

}

.room-tabs::-webkit-scrollbar {

    display: none;

}

.room-tab {

    flex: 0 0 auto;

    min-width: 88px;

    min-height: 53px;

    padding: 7px 9px;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    gap: 4px;

    color:
        var(--text-muted);

    border:
        1px solid
        var(--border);

    border-radius: 10px;

    background:
        rgba(255, 255, 255, 0.025);

    font-size: 8px;

    transition:
        transform var(--transition-fast),
        color var(--transition-fast),
        background var(--transition-fast),
        border-color var(--transition-fast);

}

.room-tab:hover {

    color:
        #ffffff;

    transform:
        translateY(-2px);

}

.room-tab.active {

    color:
        #ffffff;

    border-color:
        rgba(0, 183, 255, 0.38);

    background:
        rgba(0, 183, 255, 0.11);

    box-shadow:
        inset 0 0 20px
        rgba(0, 183, 255, 0.025);

}

.room-icon {

    font-size: 14px;

}


/* =========================================================
   20 — ROOM INFORMATION
   ========================================================= */

.room-information {

    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 7px;

    margin-top: 10px;

}

.room-info-card {

    padding: 11px;

    border:
        1px solid
        var(--border);

    border-radius: 10px;

    background:
        rgba(255, 255, 255, 0.025);

}

.room-info-card span {

    display: block;

    color:
        var(--text-muted);

    font-size: 7px;

}

.room-info-card strong {

    display: block;

    margin-top: 4px;

    color:
        #ffffff;

    font-size: 10px;

}

.room-info-card strong.online {

    color:
        var(--success);

}


/* =========================================================
   21 — ROOM CONTROLS
   ========================================================= */

.room-controls {

    display: grid;

    grid-template-columns:
        repeat(6, 1fr);

    gap: 7px;

    margin-top: 10px;

}

.control-btn {

    min-height: 52px;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    gap: 3px;

    color:
        var(--text-muted);

    border:
        1px solid
        var(--border);

    border-radius: 10px;

    background:
        rgba(255, 255, 255, 0.025);

    font-size: 7px;

    transition:
        transform var(--transition-fast),
        color var(--transition-fast),
        background var(--transition-fast),
        border-color var(--transition-fast);

}

.control-btn span {

    font-size: 7px;

}

.control-btn:hover {

    color:
        #ffffff;

    transform:
        translateY(-2px);

    border-color:
        rgba(0, 183, 255, 0.25);

    background:
        rgba(0, 183, 255, 0.07);

}

.control-btn.active {

    color:
        #ffffff;

    border-color:
        rgba(0, 183, 255, 0.38);

    background:
        rgba(0, 183, 255, 0.12);

}


/* =========================================================
   22 — KNX DASHBOARD
   ========================================================= */

.knx-dashboard {

    height: 100%;

    display: flex;

    flex-direction: column;

    gap: 13px;

}

.dashboard-header {

    padding-bottom: 13px;

    border-bottom:
        1px solid
        var(--border);

}

.dashboard-header small {

    color:
        var(--accent-light);

    font-size: 8px;

    font-weight: 800;

    letter-spacing: 0.15em;

}

.dashboard-header h3 {

    margin-top: 4px;

    font-size: 17px;

}

.dashboard-online {

    display: inline-flex;

    margin-top: 8px;

    color:
        var(--success);

    font-size: 7px;

    font-weight: 800;

    letter-spacing: 0.07em;

}


/* =========================================================
   23 — DASHBOARD STATUS GRID
   ========================================================= */

.dashboard-status-grid {

    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap: 7px;

}

.dashboard-card {

    min-height: 83px;

    padding: 12px;

    border:
        1px solid
        var(--border);

    border-radius: 11px;

    background:
        rgba(255, 255, 255, 0.025);

}

.dashboard-card span {

    color:
        var(--text-muted);

    font-size: 7px;

}

.dashboard-card strong {

    display: block;

    margin-top: 9px;

    color:
        #ffffff;

    font-size: 17px;

    letter-spacing: -0.02em;

}


/* =========================================================
   24 — LIVE SYSTEM STATUS
   ========================================================= */

.live-system-status {

    padding: 10px 12px;

    border:
        1px solid
        var(--border);

    border-radius: 12px;

    background:
        rgba(255, 255, 255, 0.02);

}

.status-row {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 10px;

    padding: 8px 0;

    border-bottom:
        1px solid
        rgba(255, 255, 255, 0.04);

}

.status-row:last-child {

    border-bottom: 0;

}

.status-row span {

    color:
        var(--text-muted);

    font-size: 8px;

}

.status-row strong {

    color:
        #ffffff;

    font-size: 8px;

}

.status-row strong.online {

    color:
        var(--success);

}


/* =========================================================
   25 — ENERGY PANEL
   ========================================================= */

.energy-panel {

    padding: 14px;

    border:
        1px solid
        rgba(0, 183, 255, 0.12);

    border-radius: 13px;

    background:
        linear-gradient(
            145deg,
            rgba(0, 183, 255, 0.065),
            rgba(255, 255, 255, 0.02)
        );

}

.energy-panel > span {

    color:
        var(--text-muted);

    font-size: 8px;

}

.energy-bars {

    height: 85px;

    display: flex;

    align-items: flex-end;

    gap: 5px;

    margin-top: 12px;

}

.energy-bars i {

    flex: 1;

    min-width: 0;

    height: 30%;

    border-radius:
        4px 4px 2px 2px;

    background:
        linear-gradient(
            180deg,
            var(--accent-light),
            var(--accent-dark)
        );

    box-shadow:
        0 0 12px
        rgba(0, 183, 255, 0.12);

    animation:
        energyBars
        1.8s
        ease-in-out
        infinite
        alternate;

}

.energy-bars i:nth-child(1) {

    height: 42%;

    animation-delay: -0.2s;

}

.energy-bars i:nth-child(2) {

    height: 65%;

    animation-delay: -0.5s;

}

.energy-bars i:nth-child(3) {

    height: 50%;

    animation-delay: -0.8s;

}

.energy-bars i:nth-child(4) {

    height: 78%;

    animation-delay: -1.1s;

}

.energy-bars i:nth-child(5) {

    height: 57%;

    animation-delay: -1.4s;

}

.energy-bars i:nth-child(6) {

    height: 85%;

    animation-delay: -1.7s;

}

.energy-bars i:nth-child(7) {

    height: 62%;

    animation-delay: -0.4s;

}

.energy-bars i:nth-child(8) {

    height: 73%;

    animation-delay: -0.7s;

}

.energy-bars i:nth-child(9) {

    height: 49%;

    animation-delay: -1s;

}

.energy-bars i:nth-child(10) {

    height: 68%;

    animation-delay: -1.3s;

}

@keyframes energyBars {

    from {

        transform:
            scaleY(0.78);

        opacity: 0.65;

    }

    to {

        transform:
            scaleY(1);

        opacity: 1;

    }

}


/* =========================================================
   26 — ACTIVITY LOG
   ========================================================= */

.activity-panel {

    flex: 1;

    min-height: 0;

    padding: 13px;

    border:
        1px solid
        var(--border);

    border-radius: 12px;

    background:
        rgba(255, 255, 255, 0.02);

}

.activity-panel h4 {

    margin-bottom: 8px;

    color:
        #ffffff;

    font-size: 9px;

}

.activity-panel ul {

    max-height: 150px;

    overflow-y: auto;

    padding-right: 3px;

}

.activity-panel li {

    display: flex;

    align-items: flex-start;

    gap: 8px;

    padding: 7px 0;

    color:
        var(--text-muted);

    border-bottom:
        1px solid
        rgba(255, 255, 255, 0.035);

    font-size: 7px;

    line-height: 1.45;

}

.activity-panel li:last-child {

    border-bottom: 0;

}

.activity-panel li span {

    flex-shrink: 0;

    color:
        var(--accent-light);

    font-weight: 700;

}


/* =========================================================
   27 — DASHBOARD ACTIONS
   ========================================================= */

.dashboard-actions {

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 6px;

}

.dashboard-actions button {

    min-height: 38px;

    color:
        var(--text-secondary);

    border:
        1px solid
        var(--border);

    border-radius: 8px;

    background:
        rgba(255, 255, 255, 0.025);

    font-size: 7px;

    font-weight: 600;

    transition:
        transform var(--transition-fast),
        color var(--transition-fast),
        background var(--transition-fast);

}

.dashboard-actions button:hover {

    color:
        #ffffff;

    transform:
        translateY(-2px);

    background:
        rgba(0, 183, 255, 0.08);

}

#btnReset:hover {

    color:
        var(--warning);

    background:
        rgba(255, 200, 87, 0.07);

}


/* =========================================================
   28 — SIMULATION RESPONSIVE
   ========================================================= */

@media (max-width: 1250px) {

    .simulation-layout {

        grid-template-columns:
            220px
            minmax(0, 1fr)
            245px;

    }

    .simulation-sidebar-left,
    .simulation-sidebar-right {

        padding: 13px;

    }

    .device-status-bar {

        grid-template-columns:
            repeat(3, 1fr);

    }

    .device-status:nth-child(4),
    .device-status:nth-child(5) {

        display: none;

    }

}


/* =========================================================
   29 — TABLET SIMULATION
   ========================================================= */

@media (max-width: 1050px) {

    .simulation-layout {

        grid-template-columns:
            220px
            minmax(0, 1fr);

    }

    .simulation-sidebar-right {

        grid-column:
            1 / -1;

        min-height: auto;

    }

    .knx-dashboard {

        display: grid;

        grid-template-columns:
            1fr 1fr;

        align-items: start;

    }

    .dashboard-header {

        grid-column:
            1 / -1;

    }

    .activity-panel {

        min-height: 180px;

    }

}


/* =========================================================
   30 — MOBILE SIMULATION
   ========================================================= */

@media (max-width: 760px) {

    .simulation-section {

        padding:
            80px 0;

    }

    .section-header {

        margin-bottom: 35px;

    }

    .simulation-layout {

        grid-template-columns:
            1fr;

        min-height: auto;

    }

    .simulation-sidebar-left,
    .simulation-sidebar-right,
    .simulation-center {

        width: 100%;

    }

    .simulation-sidebar-left {

        order: 1;

    }

    .simulation-center {

        order: 2;

    }

    .simulation-sidebar-right {

        order: 3;

    }

    .simulation-view,
    .villa-viewer {

        min-height: 480px;

    }

    .system-grid {

        grid-template-columns:
            repeat(3, 1fr);

    }

    .scene-grid {

        grid-template-columns:
            repeat(3, 1fr);

    }

    .quick-status {

        display: grid;

        grid-template-columns:
            repeat(2, 1fr);

        gap: 0 12px;

    }

    .device-status-bar {

        grid-template-columns:
            repeat(2, 1fr);

    }

    .device-status:nth-child(4),
    .device-status:nth-child(5) {

        display: block;

    }

    .device-information {

        grid-template-columns:
            1fr;

    }

    .room-information {

        grid-template-columns:
            repeat(2, 1fr);

    }

    .room-controls {

        grid-template-columns:
            repeat(3, 1fr);

    }

    .knx-dashboard {

        display: flex;

    }

}


/* =========================================================
   31 — SMALL MOBILE
   ========================================================= */

@media (max-width: 480px) {

    .simulation-section {

        padding:
            65px 0;

    }

    .section-header h2 {

        font-size: 2.35rem;

    }

    .section-header p {

        font-size: 12px;

    }

    .system-grid {

        grid-template-columns:
            repeat(2, 1fr);

    }

    .scene-grid {

        grid-template-columns:
            repeat(2, 1fr);

    }

    .simulation-view,
    .villa-viewer {

        min-height: 390px;

        border-radius: 18px;

    }

    .viewer-header {

        padding: 16px;

    }

    .viewer-header h3 {

        font-size: 16px;

    }

    .viewer-header > span {

        display: none;

    }

    .device-point {

        width: 34px;

        height: 34px;

        font-size: 13px;

    }

    .point-light {

        left: 27%;

    }

    .point-climate {

        left: 57%;

    }

    .point-security {

        right: 10%;

    }

    .point-camera {

        right: 17%;

    }

    .device-status-bar {

        left: 10px;

        right: 10px;

        bottom: 10px;

        gap: 5px;

    }

    .device-status {

        padding: 8px;

    }

    .device-status span {

        font-size: 6px;

    }

    .device-status strong {

        font-size: 8px;

    }

    .room-selector {

        padding: 12px;

    }

    .room-tab {

        min-width: 78px;

    }

    .room-information {

        grid-template-columns:
            1fr 1fr;

    }

    .room-controls {

        grid-template-columns:
            repeat(2, 1fr);

    }

}

/* =========================================================
   SPEED GÜVENLİK
   SMART HOME / KNX
   CSS PART 3
   ADVANCED SIMULATION EFFECTS
   ========================================================= */


/* =========================================================
   01 — DEVICE INTERACTION EFFECTS
   ========================================================= */

.device-point {

    will-change:
        transform,
        box-shadow;

}

.device-point.clicked {

    transform:
        scale(0.88);

}

.device-point.active::after {

    content: "";

    position: absolute;

    inset: -7px;

    border:
        1px solid
        rgba(0, 183, 255, 0.35);

    border-radius: 50%;

    animation:
        hotspotRing 1.8s
        ease-out
        infinite;

}

@keyframes hotspotRing {

    0% {

        opacity: 0.8;

        transform:
            scale(0.85);

    }

    100% {

        opacity: 0;

        transform:
            scale(1.35);

    }

}


/* =========================================================
   02 — SECURITY ACTIVE
   ========================================================= */

.house-wrapper.security-active {

    box-shadow:
        inset 0 0 80px
        rgba(255, 83, 100, 0.08);

}

.house-wrapper.security-active
.device-point[data-device="security"] {

    border-color:
        rgba(255, 83, 100, 0.65);

    box-shadow:
        0 0 0 5px
        rgba(255, 83, 100, 0.08),
        0 0 25px
        rgba(255, 83, 100, 0.35);

    animation:
        securityPulse 1.6s
        ease-in-out
        infinite;

}

@keyframes securityPulse {

    0%,
    100% {

        opacity: 0.72;

    }

    50% {

        opacity: 1;

    }

}


/* =========================================================
   03 — ACTIVE CAMERA
   ========================================================= */

.device-point[data-device="camera"].active {

    border-color:
        rgba(32, 227, 154, 0.55);

}

.device-point[data-device="camera"].active::before {

    content: "";

    position: absolute;

    width: 6px;

    height: 6px;

    top: 3px;

    right: 3px;

    border-radius: 50%;

    background:
        var(--success);

    box-shadow:
        0 0 10px
        rgba(32, 227, 154, 0.8);

}


/* =========================================================
   04 — ENERGY HOTSPOT
   ========================================================= */

.device-point[data-device="energy"].active {

    border-color:
        rgba(255, 200, 87, 0.55);

    box-shadow:
        0 0 20px
        rgba(255, 200, 87, 0.25);

}

.device-point[data-device="energy"].active::after {

    border-color:
        rgba(255, 200, 87, 0.28);

}


/* =========================================================
   05 — CLIMATE ACTIVE
   ========================================================= */

.device-point[data-device="climate"].active {

    border-color:
        rgba(82, 212, 255, 0.65);

    box-shadow:
        0 0 20px
        rgba(82, 212, 255, 0.22);

}

.device-point[data-device="climate"].active::before {

    content: "";

    position: absolute;

    inset: 6px;

    border-radius: 50%;

    border:
        1px solid
        rgba(82, 212, 255, 0.18);

    animation:
        climateSpin 3s linear infinite;

}

@keyframes climateSpin {

    from {

        transform:
            rotate(0deg);

    }

    to {

        transform:
            rotate(360deg);

    }

}


/* =========================================================
   06 — CURTAIN ACTIVE
   ========================================================= */

.device-point[data-device="curtain"].active {

    border-color:
        rgba(0, 183, 255, 0.5);

}


/* =========================================================
   07 — LIGHT ACTIVE
   ========================================================= */

.device-point[data-device="lights"].active {

    border-color:
        rgba(255, 213, 92, 0.65);

    box-shadow:
        0 0 0 5px
        rgba(255, 213, 92, 0.06),
        0 0 30px
        rgba(255, 213, 92, 0.25);

}

.device-point[data-device="lights"].active::after {

    border-color:
        rgba(255, 213, 92, 0.3);

}


/* =========================================================
   08 — HOUSE LIGHT TRANSITION
   ========================================================= */

.house-wrapper > img {

    transition:
        filter 0.65s ease,
        opacity 0.45s ease,
        transform 0.9s
        cubic-bezier(.2,.8,.2,1);

}

.house-wrapper.lights-on > img {

    filter:
        brightness(1)
        saturate(1.05)
        contrast(1.02);

}

.house-wrapper.lights-off > img {

    filter:
        brightness(0.48)
        saturate(0.78)
        contrast(1.02);

}


/* =========================================================
   09 — IMAGE LOADING
   ========================================================= */

.house-wrapper > img.loaded {

    animation:
        imageReveal 0.55s
        ease both;

}

@keyframes imageReveal {

    from {

        opacity: 0;

        transform:
            scale(1.025);

    }

    to {

        opacity: 1;

        transform:
            scale(1);

    }

}


/* =========================================================
   10 — ROOM CHANGE
   ========================================================= */

.house-wrapper.changing img {

    opacity: 0;

    transform:
        scale(1.035);

}

.room-tab.clicked {

    transform:
        scale(0.96);

}


/* =========================================================
   11 — SYSTEM CARD CLICK
   ========================================================= */

.system-card.clicked,
.system-wide.clicked,
.scene-btn.clicked,
.control-btn.clicked {

    transform:
        scale(0.96);

}


/* =========================================================
   12 — ACTIVE SYSTEM GLOW
   ========================================================= */

.system-card.active {

    position: relative;

    overflow: hidden;

}

.system-card.active::after {

    content: "";

    position: absolute;

    left: -40%;

    top: 0;

    width: 30%;

    height: 100%;

    transform:
        skewX(-20deg);

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(255,255,255,0.08),
            transparent
        );

    animation:
        systemShine 3.5s
        ease-in-out
        infinite;

}

@keyframes systemShine {

    0% {

        left: -45%;

    }

    60%,
    100% {

        left: 140%;

    }

}


/* =========================================================
   13 — SCENARIO ACTIVE
   ========================================================= */

.scene-btn.active {

    position: relative;

    overflow: hidden;

    box-shadow:
        inset 0 0 20px
        rgba(0, 183, 255, 0.06);

}

.scene-btn.active::before {

    content: "";

    position: absolute;

    left: 0;

    top: 50%;

    width: 3px;

    height: 18px;

    transform:
        translateY(-50%);

    border-radius: 4px;

    background:
        var(--accent);

    box-shadow:
        0 0 10px
        rgba(0, 183, 255, 0.7);

}


/* =========================================================
   14 — KNX STATUS INDICATOR
   ========================================================= */

.dashboard-online {

    position: relative;

}

.dashboard-online::before {

    content: "";

    display: inline-block;

    width: 6px;

    height: 6px;

    margin-right: 5px;

    border-radius: 50%;

    background:
        var(--success);

    box-shadow:
        0 0 10px
        rgba(32, 227, 154, 0.7);

    animation:
        onlinePulse 1.8s
        ease-in-out
        infinite;

}

@keyframes onlinePulse {

    0%,
    100% {

        opacity: 0.55;

        transform:
            scale(0.85);

    }

    50% {

        opacity: 1;

        transform:
            scale(1);

    }

}


/* =========================================================
   15 — DASHBOARD POWER VALUE
   ========================================================= */

#dashboardPower,
#energyValue,
#powerStatus {

    transition:
        color 0.25s ease;

}

#dashboardPower:hover,
#energyValue:hover {

    color:
        var(--accent-light);

}


/* =========================================================
   16 — ENERGY GRAPH GLOW
   ========================================================= */

.energy-bars {

    position: relative;

}

.energy-bars::before {

    content: "";

    position: absolute;

    left: 0;

    right: 0;

    bottom: 0;

    height: 1px;

    background:
        rgba(0, 183, 255, 0.18);

}

.energy-bars i {

    position: relative;

    transform-origin:
        bottom;

    will-change:
        height,
        transform;

}

.energy-bars i::after {

    content: "";

    position: absolute;

    left: 50%;

    bottom: 0;

    width: 1px;

    height: 100%;

    transform:
        translateX(-50%);

    background:
        rgba(82, 212, 255, 0.18);

}


/* =========================================================
   17 — ACTIVITY LOG ANIMATION
   ========================================================= */

.activity-panel li {

    animation:
        activityIn 0.4s
        ease both;

}

@keyframes activityIn {

    from {

        opacity: 0;

        transform:
            translateY(-5px);

    }

    to {

        opacity: 1;

        transform:
            translateY(0);

    }

}


/* =========================================================
   18 — ROOM TAB ACTIVE LINE
   ========================================================= */

.room-tab {

    position: relative;

    overflow: hidden;

}

.room-tab.active::after {

    content: "";

    position: absolute;

    left: 18%;

    right: 18%;

    bottom: 4px;

    height: 2px;

    border-radius: 4px;

    background:
        var(--accent);

    box-shadow:
        0 0 9px
        rgba(0, 183, 255, 0.55);

}


/* =========================================================
   19 — CONTROL BUTTON ACTIVE
   ========================================================= */

.control-btn.active {

    box-shadow:
        inset 0 0 20px
        rgba(0, 183, 255, 0.04),
        0 0 15px
        rgba(0, 183, 255, 0.04);

}

.control-btn.active:first-letter {

    filter:
        drop-shadow(
            0 0 5px
            rgba(82, 212, 255, 0.7)
        );

}


/* =========================================================
   20 — ONLINE STATUS
   ========================================================= */

.online[data-status="online"] {

    position: relative;

}

.online[data-status="online"]::before {

    content: "";

    display: inline-block;

    width: 5px;

    height: 5px;

    margin-right: 5px;

    vertical-align: middle;

    border-radius: 50%;

    background:
        var(--success);

    box-shadow:
        0 0 8px
        rgba(32, 227, 154, 0.65);

}


/* =========================================================
   21 — SECURITY STATUS
   ========================================================= */

#alarmState {

    transition:
        color 0.25s ease,
        text-shadow 0.25s ease;

}

#alarmState.online {

    color:
        var(--danger);

    text-shadow:
        0 0 12px
        rgba(255, 83, 100, 0.25);

}


/* =========================================================
   22 — SIMULATION GLASS HIGHLIGHT
   ========================================================= */

.simulation-sidebar-left::before,
.simulation-sidebar-right::before,
.room-selector::before {

    content: "";

    position: absolute;

    top: 0;

    left: 10%;

    right: 10%;

    height: 1px;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(255,255,255,0.16),
            transparent
        );

    pointer-events: none;

}


/* =========================================================
   23 — DASHBOARD CARDS HOVER
   ========================================================= */

.dashboard-card,
.device-card,
.room-info-card {

    transition:
        transform var(--transition),
        border-color var(--transition),
        background var(--transition);

}

.dashboard-card:hover,
.device-card:hover,
.room-info-card:hover {

    transform:
        translateY(-2px);

    border-color:
        rgba(0, 183, 255, 0.2);

    background:
        rgba(0, 183, 255, 0.035);

}


/* =========================================================
   24 — FOCUS ACCESSIBILITY
   ========================================================= */

button:focus-visible,
a:focus-visible {

    outline:
        2px solid
        var(--accent);

    outline-offset:
        3px;

}


/* =========================================================
   25 — MOBILE DEVICE POINTS
   ========================================================= */

@media (max-width: 760px) {

    .device-point.active::after {

        animation-duration:
            2.2s;

    }

    .system-card.active::after {

        animation:
            none;

    }

    .activity-panel li {

        font-size: 8px;

    }

}


/* =========================================================
   26 — SMALL MOBILE
   ========================================================= */

@media (max-width: 480px) {

    .device-point {

        animation:
            none;

    }

    .device-point.active {

        box-shadow:
            0 0 0 4px
            rgba(0, 183, 255, 0.07),
            0 0 18px
            rgba(0, 183, 255, 0.25);

    }

    .device-point.active::after {

        animation:
            none;

    }

    .room-tab.active::after {

        left: 22%;

        right: 22%;

    }

}


/* =========================================================
   27 — REDUCED MOTION
   ========================================================= */

.reduced-motion *,
.reduced-motion *::before,
.reduced-motion *::after {

    animation-duration:
        0.01ms !important;

    animation-iteration-count:
        1 !important;

    scroll-behavior:
        auto !important;

    transition-duration:
        0.01ms !important;

}


/* =========================================================
   28 — PAGE HIDDEN
   ========================================================= */

.page-hidden .energy-bars i,
.page-hidden .device-point,
.page-hidden .dashboard-online::before {

    animation-play-state:
        paused;

}


/* =========================================================
   29 — MOBILE MENU
   ========================================================= */

@media (max-width: 1100px) {

    #navbar.mobile-open {

        position: fixed;

        top: 72px;

        left: 15px;

        right: 15px;

        z-index: 6000;

        display: block;

        padding: 12px;

        border:
            1px solid
            var(--border);

        border-radius: 16px;

        background:
            rgba(5, 12, 22, 0.96);

        box-shadow:
            0 25px 60px
            rgba(0, 0, 0, 0.4);

        backdrop-filter:
            blur(22px);

    }

    #navbar.mobile-open ul {

        flex-direction:
            column;

        align-items:
            stretch;

        gap: 3px;

    }

    #navbar.mobile-open a {

        width: 100%;

        padding: 13px 14px;

        border-radius: 9px;

    }

    #navbar.mobile-open a:hover {

        background:
            rgba(0, 183, 255, 0.07);

    }

}


/* =========================================================
   30 — FINAL SIMULATION POLISH
   ========================================================= */

.simulation-layout,
.simulation-sidebar-left,
.simulation-sidebar-right,
.villa-viewer,
.room-selector {

    isolation:
        isolate;

}

.simulation-layout::selection,
.simulation-sidebar-left::selection,
.simulation-sidebar-right::selection {

    background:
        var(--accent);

    color:
        #ffffff;

}


/* =========================================================
   CSS PART 3
   TAMAMLANDI
   ========================================================= */



/* =========================================================
   31 — CORPORATE SERVICES / BRANDS / GALLERY / CONTACT
   ========================================================= */
.pro-section{position:relative;padding:120px 0;overflow:hidden;background:#050b14}
.pro-section:nth-of-type(even){background:#07111f}
.pro-section .container{position:relative;z-index:2}
.pro-section-head{display:flex;align-items:end;justify-content:space-between;gap:40px;margin-bottom:48px}
.pro-section-head>div{max-width:720px}
.pro-section-head>p{max-width:460px;color:rgba(255,255,255,.58);line-height:1.8;margin:0}
.pro-section-head.compact{margin-bottom:34px}
.pro-kicker{display:inline-flex;align-items:center;gap:10px;color:var(--accent-light);font-size:10px;font-weight:800;letter-spacing:.22em;text-transform:uppercase;margin-bottom:14px}
.pro-kicker::before{content:"";width:28px;height:1px;background:var(--accent)}
.pro-section h2{font-size:clamp(2.1rem,4vw,4rem);line-height:1;letter-spacing:-.045em;margin:0}
.service-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.service-card{position:relative;min-height:285px;padding:30px;border:1px solid rgba(255,255,255,.09);border-radius:22px;background:linear-gradient(145deg,rgba(255,255,255,.055),rgba(255,255,255,.018));box-shadow:0 20px 70px rgba(0,0,0,.18);transition:transform .35s ease,border-color .35s ease,background .35s ease}
.service-card:hover{transform:translateY(-8px);border-color:rgba(0,183,255,.4);background:linear-gradient(145deg,rgba(0,183,255,.10),rgba(255,255,255,.025))}
.service-card.featured{border-color:rgba(0,183,255,.32);box-shadow:0 25px 80px rgba(0,183,255,.08)}
.service-no{position:absolute;top:25px;right:28px;font:700 10px/1 monospace;color:rgba(255,255,255,.25);letter-spacing:.12em}
.service-icon{width:52px;height:52px;display:grid;place-items:center;border-radius:15px;border:1px solid rgba(0,183,255,.18);background:rgba(0,183,255,.08);color:var(--accent-light);font-size:24px;margin-bottom:28px}
.service-card h3{font-size:21px;margin:0 0 12px;letter-spacing:-.02em}.service-card p{color:rgba(255,255,255,.56);line-height:1.7;font-size:13px;margin:0 0 24px}.service-card a{display:inline-flex;gap:9px;color:var(--accent-light);font-size:12px;font-weight:800}.service-card a span{transition:transform .25s}.service-card:hover a span{transform:translateX(5px)}
.brands-section{background:linear-gradient(180deg,#07111f,#050b14)}
.brand-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}.brand-card{min-height:150px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px;border:1px solid rgba(255,255,255,.08);border-radius:20px;background:rgba(255,255,255,.035);transition:.3s}.brand-card:hover{transform:translateY(-5px);border-color:rgba(0,183,255,.3);background:rgba(0,183,255,.06)}.brand-card img{width:100px;height:55px;object-fit:contain}.brand-card span{font-size:11px;font-weight:800;letter-spacing:.08em;color:rgba(255,255,255,.65)}
.gallery-grid{display:grid;grid-template-columns:2fr 1fr 1fr;grid-auto-rows:260px;gap:14px}.gallery-item{position:relative;overflow:hidden;padding:0;border:0;border-radius:20px;background:#0b1522;cursor:pointer}.gallery-item.gallery-wide{grid-row:span 2}.gallery-item img{width:100%;height:100%;display:block;object-fit:cover;transition:transform .6s ease,filter .6s ease}.gallery-item::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,transparent 50%,rgba(0,0,0,.72));opacity:.85}.gallery-item:hover img{transform:scale(1.06);filter:saturate(1.08)}.gallery-item span{position:absolute;left:22px;bottom:20px;z-index:2;color:#fff;font-size:12px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}
.gallery-lightbox{position:fixed;inset:0;z-index:9999;display:none;place-items:center;padding:30px;background:rgba(1,5,10,.92);backdrop-filter:blur(18px)}.gallery-lightbox.open{display:grid}.gallery-lightbox img{max-width:min(1100px,92vw);max-height:85vh;border-radius:18px;box-shadow:0 30px 100px rgba(0,0,0,.6)}.lightbox-close{position:absolute;top:24px;right:28px;border:1px solid rgba(255,255,255,.15);background:rgba(255,255,255,.06);color:#fff;width:46px;height:46px;border-radius:50%;font-size:28px;cursor:pointer}
.contact-section{background:radial-gradient(circle at 85% 20%,rgba(0,183,255,.12),transparent 30%),#050b14}.contact-layout{display:grid;grid-template-columns:1fr 1fr;gap:70px;align-items:start}.contact-copy h2{font-size:clamp(2.4rem,5vw,5rem);max-width:700px}.contact-copy>p{max-width:560px;color:rgba(255,255,255,.58);line-height:1.8;margin-top:24px}.contact-links{display:flex;gap:12px;margin-top:38px}.contact-links a{display:flex;flex-direction:column;gap:7px;padding:18px 20px;border:1px solid rgba(255,255,255,.09);border-radius:15px;background:rgba(255,255,255,.035)}.contact-links small{font-size:9px;letter-spacing:.15em;color:rgba(255,255,255,.4)}.contact-links strong{font-size:13px;color:#fff}.quote-form{padding:30px;border:1px solid rgba(255,255,255,.1);border-radius:24px;background:rgba(255,255,255,.035);box-shadow:0 25px 80px rgba(0,0,0,.2)}.quote-form label{display:flex;flex-direction:column;gap:8px;font-size:11px;font-weight:700;color:rgba(255,255,255,.55);margin-bottom:15px}.quote-form input,.quote-form select,.quote-form textarea{width:100%;border:1px solid rgba(255,255,255,.10);border-radius:12px;background:#081321;color:#fff;padding:13px 14px;outline:none;font:inherit;font-size:13px}.quote-form input:focus,.quote-form select:focus,.quote-form textarea:focus{border-color:rgba(0,183,255,.55);box-shadow:0 0 0 3px rgba(0,183,255,.08)}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:12px}.quote-submit{width:100%;min-height:52px;border:0;border-radius:12px;background:linear-gradient(135deg,var(--accent-light),var(--accent));color:#02101a;font-weight:900;cursor:pointer}.quote-submit span{margin-left:8px}.form-note{display:block;color:rgba(255,255,255,.35);font-size:10px;margin-top:12px;line-height:1.5}
.site-footer{padding:65px 0 20px;background:#02060c;border-top:1px solid rgba(255,255,255,.07)}.footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr;gap:50px}.footer-logo{width:120px;height:auto;margin-bottom:14px}.footer-grid p{color:rgba(255,255,255,.42);font-size:12px}.footer-grid>div:not(:first-child){display:flex;flex-direction:column;gap:11px}.footer-grid>div>span{font-size:9px;font-weight:800;letter-spacing:.18em;color:var(--accent-light);margin-bottom:6px}.footer-grid a{font-size:12px;color:rgba(255,255,255,.58)}.footer-grid a:hover{color:#fff}.footer-bottom{margin-top:55px;padding-top:18px;border-top:1px solid rgba(255,255,255,.07);display:flex;justify-content:space-between;color:rgba(255,255,255,.3);font-size:10px;letter-spacing:.06em}
@media(max-width:900px){.pro-section{padding:85px 0}.pro-section-head,.contact-layout{grid-template-columns:1fr;display:grid}.service-grid{grid-template-columns:repeat(2,1fr)}.brand-grid{grid-template-columns:repeat(2,1fr)}.gallery-grid{grid-template-columns:1fr 1fr;grid-auto-rows:220px}.gallery-item.gallery-wide{grid-column:span 2;grid-row:span 1}.footer-grid{grid-template-columns:1fr 1fr}.contact-links{flex-direction:column}.contact-layout{gap:35px}}
@media(max-width:560px){.service-grid,.brand-grid,.gallery-grid,.form-row,.footer-grid{grid-template-columns:1fr}.gallery-item.gallery-wide{grid-column:span 1}.pro-section-head{display:block}.pro-section-head>p{margin-top:18px}.gallery-grid{grid-auto-rows:230px}.footer-bottom{flex-direction:column;gap:8px}}

/* =========================================================
   SMART HOME V3 — CINEMATIC CONTROL CENTER
   ========================================================= */
.smart-v3-section{padding:90px 0 110px;background:#060b17;position:relative;overflow:hidden}
.smart-v3-section:before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(7,19,38,.9),transparent 45%,rgba(0,0,0,.65)),linear-gradient(rgba(255,255,255,.018) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.018) 1px,transparent 1px);background-size:auto,32px 32px,32px 32px;pointer-events:none}
.smart-v3-heading{position:relative;z-index:2;display:flex;align-items:flex-end;justify-content:space-between;gap:28px;margin-bottom:30px}
.smart-v3-heading h2{margin:7px 0 8px;font-size:clamp(28px,3vw,42px);letter-spacing:-.04em;color:#f5f8ff}
.smart-v3-heading p{max-width:760px;margin:0;color:#8493aa;font-size:13px;line-height:1.75}
.smart-v3-environment{display:flex;align-items:center;gap:5px;padding:6px;border:1px solid rgba(255,255,255,.09);border-radius:18px;background:rgba(10,19,35,.76);white-space:nowrap;box-shadow:0 15px 50px rgba(0,0,0,.18)}
.smart-v3-environment>span{font-size:9px;font-weight:800;color:#66758d;letter-spacing:.08em;padding:0 9px}
.smart-v3-env{border:0;background:transparent;color:#8290a5;padding:9px 12px;border-radius:13px;font-size:11px;font-weight:800;cursor:pointer;transition:.2s}
.smart-v3-env:hover{color:#fff;background:rgba(255,255,255,.04)}
.smart-v3-env.active{color:#fff;background:#0799df;box-shadow:0 5px 20px rgba(0,153,223,.28)}
.smart-v3-layout{position:relative;z-index:2;display:grid;grid-template-columns:285px minmax(0,1fr) 285px;gap:30px;align-items:stretch}
.smart-v3-panel{min-width:0;border:1px solid rgba(255,255,255,.1);border-radius:24px;background:linear-gradient(180deg,rgba(13,24,45,.86),rgba(7,14,27,.92));box-shadow:0 25px 80px rgba(0,0,0,.24);backdrop-filter:blur(20px);padding:20px;overflow:hidden}
.smart-v3-left{display:flex;flex-direction:column;min-height:690px}
.smart-v3-right{min-height:690px;display:flex;flex-direction:column}
.smart-v3-panel-title>span,.smart-v3-panel-title h3{display:block}.smart-v3-panel-title>span{font-size:9px;letter-spacing:.12em;font-weight:900;color:#0aa8ee}.smart-v3-panel-title h3{margin:4px 0 17px;color:#edf5ff;font-size:16px}
.smart-v3-all{width:100%;display:flex;align-items:center;gap:11px;padding:14px 15px;border:1px solid rgba(0,183,255,.9);border-radius:16px;background:linear-gradient(135deg,rgba(8,43,72,.95),rgba(7,23,45,.95));color:#fff;cursor:pointer;box-shadow:inset 0 0 20px rgba(0,183,255,.06)}
.smart-v3-all .v3-icon{font-size:22px;color:#08a8ff}.smart-v3-all span:nth-child(2){display:flex;flex:1;flex-direction:column;text-align:left}.smart-v3-all strong{font-size:11px}.smart-v3-all small{font-size:8px;color:#718097;margin-top:3px}.status-dot{width:6px;height:6px;border-radius:50%;background:#22e09a;box-shadow:0 0 10px rgba(34,224,154,.7)}
.smart-v3-system-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:9px;margin-top:10px}
.smart-v3-system{position:relative;min-height:91px;padding:15px 10px 11px;border:1px solid rgba(255,255,255,.08);border-radius:15px;background:rgba(13,25,46,.7);color:#8392a9;cursor:pointer;text-align:left;display:flex;flex-direction:column;gap:5px;transition:.22s;overflow:hidden}
.smart-v3-system:hover,.smart-v3-system.active{border-color:rgba(0,183,255,.32);background:linear-gradient(145deg,rgba(13,34,61,.95),rgba(9,20,37,.95));color:#fff;transform:translateY(-1px)}
.smart-v3-system .v3-icon{font-size:22px;color:#08a8ff}.smart-v3-system strong{font-size:10px}.smart-v3-system small{font-size:8px;color:#6e7d94}.smart-v3-system .system-led{position:absolute;top:10px;right:10px;width:6px;height:6px;border-radius:50%;background:#26354b}.smart-v3-system .system-led.on{background:#21df9a;box-shadow:0 0 10px rgba(33,223,154,.7)}
.smart-v3-scenes{margin-top:auto}.smart-v3-divider{height:1px;background:rgba(255,255,255,.1);margin:18px 0 14px}.smart-v3-scenes>span{font-size:9px;font-weight:900;letter-spacing:.1em;color:#63738a}.smart-v3-scene-grid{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin-top:10px}.smart-v3-scene-grid .scene-btn{min-height:33px;border:1px solid rgba(255,255,255,.06);border-radius:12px;background:#081329;color:#8390a4;font-size:8px;font-weight:900;letter-spacing:.06em;cursor:pointer;transition:.2s}.smart-v3-scene-grid .scene-btn:hover,.smart-v3-scene-grid .scene-btn.active{color:#fff;border-color:rgba(0,183,255,.3);background:rgba(0,138,207,.12)}
.smart-v3-center{min-width:0}.smart-v3-room-tabs{display:flex;flex-wrap:wrap;gap:4px;padding:7px;border:1px solid rgba(255,255,255,.08);border-radius:18px;background:rgba(10,18,34,.9);margin-bottom:12px}.smart-v3-room-tabs .room-tab{border:0;background:transparent;color:#738198;padding:9px 12px;border-radius:12px;font-size:9px;font-weight:900;cursor:pointer;transition:.2s;white-space:nowrap}.smart-v3-room-tabs .room-tab span{margin-right:6px;color:#5d6d84}.smart-v3-room-tabs .room-tab:hover{color:#fff}.smart-v3-room-tabs .room-tab.active{color:#fff;background:#0799df;box-shadow:0 5px 18px rgba(0,153,223,.2)}
.smart-v3-viewer{position:relative;aspect-ratio:1.45/1;min-height:490px;border:1px solid rgba(255,255,255,.08);border-radius:20px;overflow:hidden;background:#030914;box-shadow:0 30px 90px rgba(0,0,0,.35)}
.smart-v3-viewer>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transition:filter .55s,transform .8s,opacity .35s;filter:brightness(.92) saturate(1.03)}
.smart-v3-viewer.environment-day>img{filter:brightness(1.08) saturate(1.08)}.smart-v3-viewer.environment-evening>img{filter:brightness(.78) saturate(1.08) sepia(.05)}.smart-v3-viewer.environment-night>img{filter:brightness(.62) saturate(.92) contrast(1.04)}
.smart-v3-vignette{position:absolute;inset:0;background:radial-gradient(circle at 55% 45%,transparent 25%,rgba(0,0,0,.12) 60%,rgba(0,0,0,.62) 100%);pointer-events:none}.smart-v3-scanline{position:absolute;inset:0;background:linear-gradient(transparent 0%,rgba(0,183,255,.025) 50%,transparent 100%);background-size:100% 7px;opacity:.5;pointer-events:none}.smart-v3-live{position:absolute;top:15px;left:15px;padding:7px 9px;border:1px solid rgba(0,183,255,.18);border-radius:9px;background:rgba(3,12,25,.68);color:#b6c5d9;font-size:8px;font-weight:900;letter-spacing:.08em;backdrop-filter:blur(10px)}.smart-v3-live span{display:inline-block;width:5px;height:5px;border-radius:50%;background:#21df9a;box-shadow:0 0 9px rgba(33,223,154,.8);margin-right:5px;animation:sv3pulse 1.6s infinite}.smart-v3-hud{position:absolute;color:rgba(170,193,218,.65);font-size:7px;font-weight:900;letter-spacing:.12em;text-shadow:0 1px 4px #000}.hud-tl{top:17px;right:17px}.hud-br{right:17px;bottom:50px}.smart-v3-hotspots{position:absolute;inset:0}.smart-v3-hotspots .device-point{position:absolute;width:20px;height:20px;margin:-10px 0 0 -10px;padding:0;border:2px solid #fff;border-radius:50%;background:#079ee7;color:#fff;font-size:0;box-shadow:0 0 0 5px rgba(0,158,231,.16),0 0 18px rgba(0,158,231,.55);cursor:pointer;transition:.2s;z-index:5}.smart-v3-hotspots .device-point:hover{transform:scale(1.18)}.smart-v3-hotspots .device-point:not(.active){background:#2e3b4e;border-color:#a0afc1;box-shadow:0 0 0 4px rgba(150,160,175,.08)}.smart-v3-hotspots .device-point.active:after{content:"";position:absolute;inset:-7px;border:1px solid rgba(0,183,255,.4);border-radius:50%;animation:sv3ring 2s infinite}
.smart-v3-caption{position:absolute;left:0;right:0;bottom:0;padding:12px 18px;background:rgba(3,11,23,.84);border-top:1px solid rgba(255,255,255,.06);color:#8c9bb0;text-align:center;font-size:9px;line-height:1.5;backdrop-filter:blur(10px)}
.smart-v3-bottom-status{display:grid;grid-template-columns:repeat(5,1fr);margin-top:10px;border:1px solid rgba(255,255,255,.07);border-radius:14px;background:rgba(8,16,30,.8);overflow:hidden}.smart-v3-bottom-status>div{padding:10px 11px;border-right:1px solid rgba(255,255,255,.05)}.smart-v3-bottom-status>div:last-child{border-right:0}.smart-v3-bottom-status span{display:block;font-size:7px;text-transform:uppercase;letter-spacing:.09em;color:#596b83;margin-bottom:4px}.smart-v3-bottom-status strong{font-size:9px;color:#e5efff}
.smart-v3-right-title{display:flex;justify-content:space-between;align-items:flex-start}.smart-v3-right-title h3{margin-bottom:0}.v3-stable{font-size:8px;color:#20df9a;padding:4px 7px;border:1px solid rgba(32,223,154,.2);border-radius:7px;background:rgba(32,223,154,.06)}.smart-v3-muted{font-size:9px;line-height:1.6;color:#6f7f96;margin:0 0 16px}.smart-v3-mini-stats{display:grid;grid-template-columns:1fr 1fr;gap:7px}.smart-v3-mini-stats div,.smart-v3-security-row{border:1px solid rgba(255,255,255,.06);background:rgba(5,14,28,.55);border-radius:10px;padding:9px}.smart-v3-mini-stats span,.smart-v3-security-row span{font-size:7px;color:#718097}.smart-v3-mini-stats strong{float:right;font-size:9px;color:#fff}.smart-v3-security-row{display:flex;justify-content:space-between;margin-top:7px}.smart-v3-security-row strong{font-size:7px;color:#20df9a}.smart-v3-power-block{margin-top:30px;padding-top:18px;border-top:1px solid rgba(255,255,255,.07)}.smart-v3-power-block>span,.smart-v3-scene-current>span,.smart-v3-energy>span{display:block;font-size:8px;font-weight:900;letter-spacing:.1em;color:#66758b}.smart-v3-power-block>strong{display:block;margin-top:7px;color:#fff;font-size:27px;letter-spacing:-.04em}.smart-v3-power-block em,.smart-v3-energy em{font-style:normal;color:#08a8ff;font-size:11px}.smart-v3-scene-current{margin-top:18px;padding-top:16px;border-top:1px solid rgba(255,255,255,.07);display:flex;justify-content:space-between;gap:8px}.smart-v3-scene-current strong{font-size:8px;color:#f0bf12}.smart-v3-activity{display:flex;gap:10px;margin-top:22px;padding-top:16px;border-top:1px solid rgba(255,255,255,.07);font-size:8px;line-height:1.5;color:#20df9a}.smart-v3-time{color:#60728a;flex:0 0 auto}.smart-v3-energy{margin-top:20px;padding:16px 0 0;border-top:1px solid rgba(255,255,255,.07)}.smart-v3-energy>strong{display:block;color:#fff;font-size:26px;margin-top:7px}.smart-v3-chart{height:95px;margin-top:12px;overflow:hidden}.smart-v3-chart svg{width:100%;height:100%}.smart-v3-dashboard-actions{display:flex;gap:6px;margin-top:auto;padding-top:15px}.smart-v3-dashboard-actions button{flex:1;border:1px solid rgba(255,255,255,.08);border-radius:9px;background:#081329;color:#8998ad;font-size:8px;font-weight:900;padding:9px 4px;cursor:pointer}.smart-v3-dashboard-actions button:hover{color:#fff;border-color:rgba(0,183,255,.3)}
@keyframes sv3pulse{50%{opacity:.45;transform:scale(.75)}}@keyframes sv3ring{0%{opacity:.8;transform:scale(.85)}100%{opacity:0;transform:scale(1.45)}}
@media(max-width:1100px){.smart-v3-layout{grid-template-columns:240px minmax(0,1fr);}.smart-v3-right{grid-column:1/-1;min-height:auto}.smart-v3-right .smart-v3-energy{display:none}.smart-v3-right{display:grid;grid-template-columns:1fr 1fr;gap:12px}.smart-v3-right>*{margin-top:0}.smart-v3-right .smart-v3-panel-title,.smart-v3-right .smart-v3-muted{grid-column:1/-1}.smart-v3-dashboard-actions{margin-top:0}}
@media(max-width:800px){.smart-v3-heading{align-items:flex-start;flex-direction:column}.smart-v3-environment{width:100%;justify-content:space-between}.smart-v3-layout{grid-template-columns:1fr}.smart-v3-left,.smart-v3-right{min-height:auto}.smart-v3-viewer{min-height:330px}.smart-v3-bottom-status{grid-template-columns:repeat(2,1fr)}.smart-v3-bottom-status>div:nth-child(2n){border-right:0}.smart-v3-room-tabs{overflow-x:auto;flex-wrap:nowrap}.smart-v3-room-tabs .room-tab{flex:0 0 auto}.smart-v3-right{display:block}.smart-v3-right>*{margin-top:12px}.smart-v3-right .smart-v3-panel-title{margin-top:0}}
@media(max-width:520px){.smart-v3-section{padding:65px 0}.smart-v3-environment{overflow:auto}.smart-v3-system-grid{grid-template-columns:repeat(3,1fr)}.smart-v3-system{min-height:82px;padding:12px 8px}.smart-v3-system strong{font-size:8px}.smart-v3-system small{font-size:7px}.smart-v3-system .v3-icon{font-size:18px}.smart-v3-viewer{min-height:270px}.smart-v3-bottom-status{font-size:7px}.smart-v3-heading h2{font-size:26px}}


/* =========================================================
   SMART HOME V3 — SECURITY WALL CINEMATIC MODE
   ========================================================= */
.smart-v3-viewer{isolation:isolate}
.smart-v3-security-overlay{position:absolute;inset:0;z-index:4;pointer-events:none;opacity:0;visibility:hidden;transition:opacity .3s ease,visibility .3s ease}
.smart-v3-viewer.security-mode .smart-v3-security-overlay{opacity:1;visibility:visible}
.smart-v3-viewer.security-mode{border-color:rgba(255,35,55,.65);box-shadow:0 0 0 1px rgba(255,35,55,.12),0 0 55px rgba(255,35,55,.12),inset 0 0 70px rgba(255,35,55,.08)}
.smart-v3-viewer.security-mode>img{filter:brightness(.68) saturate(.88) contrast(1.08)}
.smart-v3-viewer.security-mode .smart-v3-vignette{background:radial-gradient(circle at 50% 45%,transparent 22%,rgba(255,20,35,.05) 48%,rgba(0,0,0,.68) 100%)}
.security-perimeter{position:absolute;left:9%;right:9%;top:16%;bottom:10%;border:1px solid rgba(255,36,55,.82);box-shadow:inset 0 0 22px rgba(255,36,55,.06),0 0 18px rgba(255,36,55,.06)}
.security-perimeter:before,.security-perimeter:after{content:"";position:absolute;left:0;right:0;height:1px;background:linear-gradient(90deg,transparent,rgba(255,36,55,.9),transparent);animation:securityLine 2.4s ease-in-out infinite}
.security-perimeter:before{top:0}.security-perimeter:after{bottom:0;animation-delay:1.2s}
.security-corner{position:absolute;width:16px;height:16px;border-color:#ff3048;border-style:solid;filter:drop-shadow(0 0 6px rgba(255,35,55,.7))}
.security-corner-tl{left:9%;top:16%;border-width:2px 0 0 2px}.security-corner-tr{right:9%;top:16%;border-width:2px 2px 0 0}.security-corner-bl{left:9%;bottom:10%;border-width:0 0 2px 2px}.security-corner-br{right:9%;bottom:10%;border-width:0 2px 2px 0}
.security-scan{position:absolute;left:9%;right:9%;height:2px;top:16%;background:linear-gradient(90deg,transparent,#ff3048,transparent);box-shadow:0 0 16px rgba(255,35,55,.85);animation:securityScan 3s linear infinite}
.security-label{position:absolute;left:16px;top:15px;padding:8px 12px;border:1px solid rgba(255,35,55,.8);border-radius:10px;background:rgba(45,0,8,.78);color:#ff4057;font-size:8px;font-weight:1000;letter-spacing:.16em;box-shadow:0 0 22px rgba(255,35,55,.16);animation:securityBadge 1.2s ease-in-out infinite}
.security-label span{margin-right:7px}.security-monitoring{position:absolute;left:calc(9% + 16px);top:calc(16% + 12px);color:rgba(255,63,82,.8);font-size:6px;font-weight:1000;letter-spacing:.18em}
.smart-v3-viewer.security-mode .smart-v3-live{border-color:rgba(255,35,55,.45);color:#ff7180}.smart-v3-viewer.security-mode .smart-v3-live span{background:#ff3048;box-shadow:0 0 10px rgba(255,35,55,.9)}
.smart-v3-viewer.security-mode .smart-v3-hud{color:rgba(255,90,105,.78)}
.smart-v3-hotspots .point-security.active{background:#ff3048;border-color:#fff;box-shadow:0 0 0 5px rgba(255,35,55,.15),0 0 22px rgba(255,35,55,.75);animation:securityPoint 1s ease-in-out infinite}
.smart-v3-hotspots .point-security.active:after{border-color:rgba(255,35,55,.7);animation:securityRing 1.3s ease-out infinite}
@keyframes securityScan{0%{transform:translateY(0);opacity:.25}10%{opacity:1}50%{opacity:.9}100%{transform:translateY(calc(84% / .84));opacity:.2}}
@keyframes securityLine{0%,100%{opacity:.35}50%{opacity:1}}
@keyframes securityBadge{0%,100%{box-shadow:0 0 10px rgba(255,35,55,.1)}50%{box-shadow:0 0 28px rgba(255,35,55,.28)}}
@keyframes securityPoint{0%,100%{transform:scale(1)}50%{transform:scale(1.14)}}
@keyframes securityRing{0%{opacity:.8;transform:scale(.8)}100%{opacity:0;transform:scale(1.5)}}
@media(max-width:800px){.security-perimeter{left:7%;right:7%;top:13%;bottom:13%}.security-corner-tl{left:7%;top:13%}.security-corner-tr{right:7%;top:13%}.security-corner-bl{left:7%;bottom:13%}.security-corner-br{right:7%;bottom:13%}.security-scan{left:7%;right:7%}.security-monitoring{left:calc(7% + 12px);top:calc(13% + 10px)}}
@media(prefers-reduced-motion:reduce){.security-scan,.security-perimeter:before,.security-perimeter:after,.security-label,.point-security.active,.point-security.active:after{animation:none!important}}
