/* =========================================================
   ELITE CCTV SANGATTA
   PREMIUM MODERN V3 — CLEANED & ORGANIZED
   ========================================================= */

/* =========================================================
   1. VARIABLES & RESET
   ========================================================= */

:root {
    --red: #e21b23;
    --red-dark: #b90f16;
    --ink: #0a0c10;
    --text: #151820;
    --muted: #737b89;
    --bg: #f7f8fa;
    --white: #ffffff;
    --line: #e7e9ed;
    --green: #20c875;
    --shadow: 0 18px 55px rgba(10, 15, 25, .09);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
        "Segoe UI", Arial, sans-serif;
    line-height: 1.65;
    letter-spacing: -0.01em;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
}

.container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 22px;
}

/* =========================================================
   2. HEADER / NAVIGATION
   ========================================================= */

.top {
    position: sticky;
    top: 0;
    z-index: 100;
    height: 82px;
    background: rgba(255, 255, 255, .96);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(15, 18, 25, .07);
    box-shadow: 0 5px 25px rgba(0, 0, 0, .035);
}

.nav {
    height: 82px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

/* Logo */

.brand {
    display: flex;
    flex-direction: column;
    line-height: 1;
    letter-spacing: -.8px;
}

.brand strong {
    color: #0b0d12;
    font-size: 24px;
    font-weight: 950;
}

.brand span {
    margin-top: 6px;
    color: var(--red);
    font-size: 12px;
    font-weight: 850;
    letter-spacing: 1.6px;
}

/* Navigation links */

.navlinks {
    display: flex;
    gap: 30px;
    font-size: 15px;
    font-weight: 800;
}

.navlinks a {
    position: relative;
    color: #4f5662;
    transition: .2s;
}

.navlinks a::after {
    content: "";
    position: absolute;
    right: 100%;
    bottom: -10px;
    left: 0;
    height: 2px;
    background: var(--red);
    transition: .2s;
}

.navlinks a:hover {
    color: var(--red);
}

.navlinks a:hover::after {
    right: 0;
}

/* Right side */

.nav-right {
    display: flex;
    align-items: center;
    gap: 14px;
}

.social-nav {
    display: flex;
    gap: 6px;
}

.social-nav a {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border: 1px solid #e2e4e8;
    border-radius: 9px;
    color: #545b67;
    font-size: 15px;
    font-weight: 900;
    transition: .2s;
}

.social-nav a:hover {
    background: var(--red);
    color: var(--white);
    border-color: var(--red);
    transform: translateY(-2px);
}

.nav-cta {
    padding: 12px 18px;
    border-radius: 10px;
    font-size: 14px;
}

/* =========================================================
   3. BUTTONS
   ========================================================= */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 19px;
    border: 1px solid transparent;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--red), var(--red-dark));
    color: var(--white);
    cursor: pointer;
    font-weight: 850;
    box-shadow: 0 8px 22px rgba(226, 27, 35, .22);
    transition: .2s;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn.dark {
    background: var(--ink);
    box-shadow: none;
}

.btn.outline {
    background: transparent;
    color: var(--red);
    border-color: var(--red);
    box-shadow: none;
}

/* =========================================================
   4. HERO
   ========================================================= */

.hero {
    position: relative;
    min-height: 650px;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 100px 0;
    background:
        radial-gradient(circle at 80% 20%, rgba(226, 27, 35, .18), transparent 28%),
        linear-gradient(120deg, #080a0e 0%, #10141b 55%, #0b0e14 100%);
    color: var(--white);
}

.hero::after {
    content: "";
    position: absolute;
    right: -10%;
    bottom: -150px;
    left: -10%;
    height: 300px;
    background: var(--white);
    transform: skewY(-5deg);
}

.hero .container {
    position: relative;
    z-index: 2;
}

.eyebrow {
    display: inline-flex;
    padding: 8px 13px;
    border: 1px solid rgba(255, 255, 255, .13);
    border-radius: 999px;
    background: rgba(255, 255, 255, .04);
    color: #f5f5f5;
    font-size: 13px;
    font-weight: 800;
}

.hero h1 {
    max-width: 820px;
    margin: 18px 0;
    font-size: clamp(43px, 6vw, 72px);
    font-weight: 900;
    line-height: 1.02;
    letter-spacing: -3.2px;
}

.hero h1 em {
    color: #f23840;
    font-style: normal;
}

.hero p {
    max-width: 680px;
    color: #c9ced8;
    font-size: 17px;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

.trust {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 35px;
}

.trust span {
    padding: 9px 12px;
    border: 1px solid rgba(255, 255, 255, .10);
    border-radius: 10px;
    background: rgba(255, 255, 255, .04);
    color: #cbd0d9;
    font-size: 13px;
}

/* =========================================================
   5. SECTIONS
   ========================================================= */

.section {
    padding: 90px 0;
}

.section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 38px;
}

.section h2 {
    margin: 0;
    font-size: clamp(30px, 4vw, 45px);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -1.8px;
}

.section-head p,
.muted {
    color: var(--muted);
}

.section-head p {
    margin-top: 10px;
}

/* =========================================================
   6. GRID & CARDS
   ========================================================= */

.grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.card {
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: 17px;
    background: var(--white);
    box-shadow: 0 8px 35px rgba(15, 20, 30, .055);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.card:hover {
    transform: translateY(-4px);
    border-color: #f2b5b7;
    box-shadow: 0 18px 45px rgba(15, 20, 30, .09);
}

/* =========================================================
   7. SERVICES
   ========================================================= */

.service-card {
    padding: 26px;
}

.service-icon {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: #fff1f1;
    color: var(--red);
    font-size: 15px;
    font-weight: 900;
}

/* =========================================================
   8. PRODUCTS
   ========================================================= */

.product {
    position: relative;
    overflow: hidden;
    padding: 0;
    border-radius: 16px;
}

.product img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    background: #edf0f3;
    transition: transform .4s ease;
}

.product:hover img {
    transform: scale(1.025);
}

.product .tag {
    position: absolute;
    top: 14px;
    left: 14px;
    padding: 7px 10px;
    border-radius: 999px;
    background: var(--white);
    color: var(--red);
    font-size: 11px;
    font-weight: 900;
}

.product-body {
    padding: 21px;
}

.product-body h3 {
    margin: 6px 0;
    font-size: 19px;
}

.product .btn {
    width: 100%;
    margin-top: 8px;
}

.price {
    margin: 10px 0;
    font-size: 21px;
    font-weight: 950;
}

.price small {
    color: var(--muted);
    font-size: 12px;
    font-weight: 600;
}

/* Filters */

.filters {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin: 20px 0 28px;
}

.filters a {
    padding: 9px 13px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--white);
    color: #505766;
    font-size: 13px;
    font-weight: 750;
}

.filters a.active,
.filters a:hover {
    background: var(--red);
    color: var(--white);
    border-color: var(--red);
}

/* Product detail */

.product-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.product-detail .visual {
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: var(--white);
}

.product-detail .visual img {
    width: 100%;
    border-radius: 16px;
}

.spec {
    white-space: pre-line;
}

/* =========================================================
   9. FEATURE
   ========================================================= */

.feature {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 28px;
    align-items: center;
    overflow: hidden;
    border-radius: 25px;
}

.feature-visual {
    min-height: 390px;
    display: grid;
    place-items: center;
    border-radius: 28px;
    background:
        radial-gradient(circle at 65% 35%, rgba(255, 75, 79, .20), transparent 28%),
        linear-gradient(135deg, #10131a, #242a35);
    color: var(--white);
    font-size: 80px;
    box-shadow: var(--shadow);
}

/* =========================================================
   10. STEPS
   ========================================================= */

.steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.step {
    position: relative;
    padding: 25px;
}

.step-num {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 9px;
    background: #fff0f0;
    color: var(--red);
    font-size: 13px;
    font-weight: 950;
}

/* =========================================================
   11. GALLERY
   ========================================================= */

.gallery {
    overflow: hidden;
    padding: 0;
}

.gallery img {
    width: 100%;
    aspect-ratio: 4 / 3;
    display: block;
    object-fit: cover;
    background: #edf0f3;
    transition: transform .4s ease;
}

.gallery:hover img {
    transform: scale(1.035);
}

.gallery h3,
.gallery p {
    margin-right: 20px;
    margin-left: 20px;
}

.gallery h3 {
    margin-top: 17px;
}

/* =========================================================
   12. FAQ
   ========================================================= */

details.card {
    padding: 20px 23px;
    cursor: pointer;
}

details summary {
    list-style: none;
    cursor: pointer;
}

details summary::-webkit-details-marker {
    display: none;
}

details summary::after {
    content: "+";
    float: right;
    color: var(--red);
    font-size: 20px;
    font-weight: 900;
}

details[open] summary::after {
    content: "−";
}

/* =========================================================
   13. CTA
   ========================================================= */

.cta {
    position: relative;
    overflow: hidden;
    padding: 65px;
    border-radius: 24px;
    background: linear-gradient(120deg, #0b0d12, #1a202a);
    color: var(--white);
}

.cta::after {
    content: "";
    position: absolute;
    top: -150px;
    right: -140px;
    width: 340px;
    height: 340px;
    border-radius: 50%;
    background: rgba(226, 27, 35, .19);
}

.cta > * {
    position: relative;
    z-index: 1;
}

.cta h2 {
    font-size: clamp(30px, 4vw, 48px);
}

/* =========================================================
   14. FOOTER
   ========================================================= */

.footer {
    padding: 70px 0 35px;
    background: #090b0f;
    color: var(--white);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1fr;
    gap: 45px;
    align-items: start;
}

.footer-col {
    min-width: 0;
}

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

.footer .brand strong {
    color: var(--white);
}

.footer .brand span {
    color: var(--red);
}

.footer p {
    margin: 0 0 10px;
}

.footer .muted {
    color: #9aa2b0;
}

.footer-title {
    margin: 3px 0 15px;
    color: var(--white);
    font-size: 14px;
    font-weight: 850;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.footer-links a {
    color: #aeb5c0;
    font-size: 13px;
    transition: .2s;
}

.footer-links a:hover {
    color: var(--white);
    transform: translateX(2px);
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 9px;
    color: #aeb5c0;
    font-size: 13px;
}

.footer-contact a {
    transition: .2s;
}

.footer-contact a:hover {
    color: var(--white);
}

.footer-social {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 18px;
}

.footer-social a {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .09);
    border-radius: 10px;
    color: #c8cdd6;
    transition: .2s;
}

.footer-social a:hover {
    background: var(--red);
    color: var(--white);
    border-color: var(--red);
    transform: translateY(-2px);
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-top: 50px;
    padding-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, .08);
    color: #777f8d;
    font-size: 12px;
}

.footer-bottom p {
    margin: 0;
}

@media (max-width: 1000px) {
    .footer-grid {
        grid-template-columns: 1.4fr 1fr 1fr;
        gap: 30px;
    }
}

@media (max-width: 600px) {
    .footer {
        padding: 55px 0 25px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-bottom {
        align-items: flex-start;
        flex-direction: column;
        gap: 7px;
        margin-top: 35px;
    }
}

/* =========================================================
   15. WHATSAPP FLOATING BUTTON
   ========================================================= */

.wa {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 150;
    width: 56px;
    height: 56px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--green);
    color: var(--white);
    font-size: 12px;
    font-weight: 950;
    box-shadow: 0 12px 30px rgba(0, 0, 0, .18);
    transition: .2s;
}

.wa:hover {
    transform: translateY(-4px) scale(1.04);
}

/* =========================================================
   16. ADMIN
   ========================================================= */

.admin {
    display: flex;
    min-height: 100vh;
    background: var(--bg);
}

.side {
    width: 250px;
    flex-shrink: 0;
    padding: 24px;
    background: #0b0d12;
    color: var(--white);
}

.side a {
    display: block;
    margin: 5px 0;
    padding: 11px 12px;
    border-radius: 10px;
    color: #cbd0d9;
}

.side a:hover {
    background: rgba(255, 255, 255, .07);
    color: var(--white);
}

.main {
    flex: 1;
    padding: 32px;
}

.panel {
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: var(--white);
    box-shadow: var(--shadow);
}

.stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.stat strong {
    display: block;
    font-size: 32px;
}

.tablewrap {
    overflow: auto;
}

.table {
    width: 100%;
    border-collapse: collapse;
}

.table th,
.table td {
    padding: 13px;
    border-bottom: 1px solid var(--line);
    text-align: left;
    white-space: nowrap;
}

.thumb {
    width: 72px;
    height: 56px;
    object-fit: cover;
    border-radius: 9px;
}

.formgrid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 17px;
}

.full {
    grid-column: 1 / -1;
}

input,
select,
textarea {
    width: 100%;
    padding: 12px 13px;
    border: 1px solid #d9dde5;
    border-radius: 11px;
    background: var(--white);
    font: inherit;
}

textarea {
    min-height: 130px;
}

.check {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 8px 0;
}

.check input {
    width: auto;
}

.actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.danger {
    background: #b91c1c;
}

.notice {
    margin-bottom: 16px;
    padding: 13px;
    border-radius: 11px;
    background: #fff0f0;
    color: #991b1b;
}

.center {
    min-height: 100vh;
    display: grid;
    place-items: center;
}

.center .panel {
    width: min(440px, calc(100% - 30px));
}

.center input,
.center button {
    margin: 7px 0;
}

.center small {
    display: block;
    margin-top: 12px;
    color: var(--muted);
}

/* =========================================================
   17. RESPONSIVE — TABLET
   ========================================================= */

@media (max-width: 1000px) {
    .navlinks,
    .social-nav {
        display: none;
    }

    .grid {
        grid-template-columns: 1fr 1fr;
    }

    .feature,
    .product-detail {
        grid-template-columns: 1fr;
    }

    .steps {
        grid-template-columns: 1fr 1fr;
    }

    .stats {
        grid-template-columns: 1fr 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .side {
        width: 200px;
    }

    .hero {
        min-height: auto;
        padding: 80px 0 75px;
    }

    .hero h1 {
        letter-spacing: -2px;
    }

    .section {
        padding: 65px 0;
    }

    .formgrid {
        grid-template-columns: 1fr;
    }
}

/* =========================================================
   18. RESPONSIVE — MOBILE
   ========================================================= */

@media (max-width: 600px) {
    .container {
        padding-right: 17px;
        padding-left: 17px;
    }

    .top,
    .nav {
        height: 70px;
    }

    .brand strong {
        font-size: 22px;
    }

    .brand span {
        font-size: 11px;
        letter-spacing: 1.4px;
    }

    .nav-cta {
        padding: 10px 13px;
        font-size: 12px;
    }

    .grid,
    .steps,
    .stats,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .hero {
        padding: 62px 0 60px;
    }

    .hero h1 {
        font-size: 43px;
        letter-spacing: -2px;
    }

    .hero p {
        font-size: 15px;
    }

    .trust {
        gap: 7px;
    }

    .trust span {
        font-size: 11px;
    }

    .section {
        padding: 55px 0;
    }

    .section h2 {
        font-size: 31px;
    }

    .section-head {
        margin-bottom: 25px;
    }

    .cta {
        padding: 35px 23px;
    }

    .admin {
        display: block;
    }

    .side {
        width: 100%;
    }

    .main {
        padding: 16px;
    }

    .wa {
        right: 15px;
        bottom: 15px;
        width: 52px;
        height: 52px;
    }
}
.monitor-visual {
    overflow: hidden;
    border-radius: 24px;
    background: #0b0d12;
    width: 100%;
    height: 310px;
}

.monitor-visual video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: #0b0d12;
}