:root {
    --night: #0d2d6b;
    --night-mid: #1a4fa0;
    --night-card: #1a4fa0;
    --night-line: #26354e;
    --night-soft: #5a7090;
    --cyan: #f0f5fe;
    --cyan-lt: #2563c8;
    --cyan-pale: #2563c8;
    --cyan-xpale: #f0fcff;
    --amber: #f4a228;
    --white: #ffffff;
    --radius: 10px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* ── HERO ── */
.hero {
    background: var(--night);
    padding: 0 5vw;
    position: relative;
    overflow: hidden;
    min-height: 580px;
    display: flex;
    align-items: center;
    height: 50vh;
}

/* Scanline overlay effect */
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(0deg,
            transparent,
            transparent 3px,
            rgba(0, 180, 216, .018) 3px,
            rgba(0, 180, 216, .018) 4px);
    pointer-events: none;
    z-index: 0;
}

.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(rgba(8, 33, 61, 0.247), rgba(26, 79, 160, 0.212)),
        url(/assete/images/page-banner/cctv.webp);
    background-size: cover;
    background-position: center;
    z-index: 0;
}

.hero-inner {
    position: relative;
    z-index: 1;
    max-width: 1100px;
    margin: auto;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 60px;
    align-items: center;
    /* padding: 88px 0 80px; */
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--cyan);
    margin-bottom: 20px;
}

.hero-eyebrow .pulse {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--cyan);
    animation: pulse 2s infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: .4;
        transform: scale(1.3);
    }
}

h1 {

    font-family: 'Syne', sans-serif;
    font-size: clamp(2.2rem, 4.5vw, 44px);
    color: #fff;
    line-height: 1.0;
    letter-spacing: .01em;
    text-transform: uppercase;
    margin-bottom: 22px;
}

h1 em {
    font-style: normal;
    color: var(--cyan);
}

.hero-desc {
    color: rgb(255, 255, 255);
    font-size: 1rem;
    max-width: 500px;
    margin-bottom: 36px;
    font-weight: 300;
}

.btn-cyan {
    display: inline-block;
    background: var(--cyan);
    color: var(--night);
    padding: 13px 30px;
    border-radius: var(--radius);
    font-weight: 700;
    font-size: .88rem;
    letter-spacing: .05em;
    text-transform: uppercase;
    text-decoration: none;
    transition: background .2s, transform .15s;
}

.btn-cyan:hover {
    background: var(--cyan-lt);
    transform: translateY(-2px);
}

/* Camera grid visual */
.cam-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.cam-cell {
    background: var(--night-card);
    border: 1px solid var(--night-line);
    border-radius: 8px;
    aspect-ratio: 16/10;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    padding: 10px 12px;
    position: relative;
    overflow: hidden;
    transition: border-color .2s;
}

.cam-cell:hover {
    border-color: var(--cyan);
}

.cam-cell::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 180, 216, .06) 0%, transparent 60%);
}

.cam-label {
    font-size: .65rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--cyan);
}

.cam-status {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: .6rem;
    color: rgba(255, 255, 255, .4);
    font-weight: 600;
    letter-spacing: .06em;
}

.cam-status .dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #22c55e;
    animation: pulse 1.5s infinite;
}

.cam-icon {
    font-size: 1.4rem;
    position: absolute;
    bottom: 10px;
    right: 12px;
    opacity: .25;
}

/* ── SECTION COMMONS ── */
section {
    padding: 88px 5vw;
}

.inner {
    max-width: 1100px;
    margin: auto;
}

.s-tag {
    display: inline-block;
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--cyan);
    background: var(--cyan-pale);
    padding: 4px 12px;
    border-radius: 30px;
    margin-bottom: 14px;
}

.s-title {
    font-family: 'Syne', sans-serif;
    font-weight: 800;
    font-size: clamp(2.2rem, 4.5vw, 44px);
    color: var(--night);
    letter-spacing: .01em;
    text-transform: uppercase;
    line-height: 1.1;
    margin-bottom: 14px;
}

.s-lead {
    color: var(--night-soft);
    font-size: 1rem;
    max-width: 620px;
    margin-bottom: 52px;
    font-weight: 400;
}

/* ── OVERVIEW ── */
#overview {
    background: #f4f7fb;
}

.overview-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
}

.overview-body p {
    color: #2e3a4e;
    font-size: .97rem;
    margin-bottom: 18px;
    font-weight: 400;
}

.scope-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.scope-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #fff;
    border: 1px solid #dce8f0;
    border-radius: var(--radius);
    padding: 12px 16px;
    font-size: .9rem;
    font-weight: 600;
    color: #2e3a4e;
    transition: border-color .2s, box-shadow .2s;
}

.scope-list li:hover {
    border-color: var(--cyan);
    box-shadow: 0 3px 14px rgba(0, 180, 216, .1);
}

.scope-list li .sc-ico {
    font-size: 1.1rem;
    flex-shrink: 0;
}

/* ── USE CASES ── */
#usecases {
    background: var(--night);
}

#usecases .s-tag {
    background: rgba(0, 180, 216, .15);
    color: var(--cyan-lt);
}

#usecases .s-title {
    color: #fff;
}

#usecases .s-lead {
    color: rgba(255, 255, 255, .5);
}

.usecase-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.uc-card {
    background: var(--night-card);
    border: 1px solid var(--night-line);
    border-radius: 14px;
    padding: 28px 26px;
    transition: border-color .25s, box-shadow .25s;
}

.uc-card:hover {
    border-color: var(--cyan);
    box-shadow: 0 6px 28px rgba(0, 180, 216, .12);
}

.uc-card .uc-ico {
    font-size: 1.8rem;
    margin-bottom: 14px;
}

.uc-card h3 {
    font-family: 'Syne', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 14px;
}

.uc-card ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.uc-card li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: .86rem;
    color: rgba(255, 255, 255, .58);
    font-weight: 400;
}

.uc-card li::before {
    content: '→';
    color: var(--cyan);
    font-weight: 700;
    flex-shrink: 0;
    margin-top: 1px;
}

/* ── FEATURES ── */
#features {
    background: var(--white);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.feat-card {
    border: 1px solid #dce8f0;
    border-radius: 12px;
    padding: 26px 24px;
    background: var(--white);
    transition: transform .2s, box-shadow .2s, border-color .2s;
}

.feat-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 28px rgba(0, 0, 0, .08);
    border-color: var(--cyan);
}

.feat-card .f-ico {
    font-size: 1.6rem;
    margin-bottom: 14px;
}

.feat-card h3 {
    font-family: 'Syne', sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--night);
    margin-bottom: 8px;
}

.feat-card p {
    font-size: .87rem;
    color: var(--night-soft);
}

/* ── WHY CHOOSE US ── */
#why {
    background: var(--cyan);
}

#why .s-title {
    color: var(--night);
}

#why .s-lead {
    color: rgba(10, 15, 26, .65);
}

#why .s-tag {
    background: rgba(10, 15, 26, .12);
    color: var(--night);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.why-card {
    background: rgba(10, 15, 26, .1);
    border: 1px solid rgba(10, 15, 26, .15);
    border-radius: 12px;
    padding: 28px 24px;
    transition: background .2s;
}

.why-card:hover {
    background: rgba(10, 15, 26, .18);
}

.why-card .w-ico {
    font-size: 1.8rem;
    margin-bottom: 14px;
}

.why-card h3 {
    font-family: 'Syne', sans-serif;
    font-size: 1.05rem;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--night);
    margin-bottom: 8px;
}

.why-card p {
    font-size: .87rem;
    color: rgba(10, 15, 26, .7);
}

/* ── INTEGRATIONS ── */
#integrations {
    background: #f4f7fb;
}

.int-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 16px;
}

.int-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    /* image + content */
    gap: 32px;
    align-items: center;
}

.int-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    display: block;
}

.int-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.int-card {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 20px 18px;
    background: #fff;
    border: 1px solid #dce8f0;
    border-radius: var(--radius);
    transition: border-color .2s, box-shadow .2s;
}

.int-card:hover {
    border-color: var(--cyan);
    box-shadow: 0 4px 16px rgba(0, 180, 216, .1);
}

.int-card .i-ico {
    font-size: 1.4rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.int-card h4 {
    font-size: .9rem;
    font-weight: 700;
    color: var(--night);
    margin-bottom: 4px;
}

.int-card p {
    font-size: .8rem;
    color: var(--night-soft);
}

/* ── FAQ ── */
#faq {
    background: var(--white);
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 800px;
}

.faq-item {
    border: 1px solid #dce8f0;
    border-radius: var(--radius);
    overflow: hidden;
    background: #fff;
}

.faq-q {
    width: 100%;
    background: none;
    border: none;
    cursor: pointer;
    padding: 18px 22px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: 'Syne', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--night);
    text-align: left;
    transition: background .2s;
}

.faq-q:hover {
    background: var(--cyan-xpale);
}

.faq-q .arr {
    font-size: .75rem;
    color: #0d2d6b;
    transition: transform .25s;
    flex-shrink: 0;
    margin-left: 16px;
}

.faq-item.open .faq-q .arr {
    transform: rotate(180deg);
}

.faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height .35s ease, padding .25s ease;
    font-size: .9rem;
    color: var(--night-soft);
    padding: 0 22px;
    background: var(--cyan-xpale);
}

.faq-item.open .faq-a {
    max-height: 200px;
    padding: 16px 22px;
}

/* ── CTA ── */
.cta-strip {
    background: var(--night);
    padding: 76px 5vw;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-strip::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 60% 80% at 50% 110%, rgba(0, 180, 216, .15) 0%, transparent 60%);
    pointer-events: none;
}

.cta-strip h2 {
    font-family: 'Syne', sans-serif;
    font-size: clamp(2.2rem, 4.5vw, 44px);
    font-weight: 800;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: .02em;
    margin-bottom: 14px;
    position: relative;
}

.cta-strip p {
    color: rgba(255, 255, 255, .55);
    margin-bottom: 32px;
    font-size: 1rem;
    position: relative;
}

.btn-white {
    display: inline-block;
    background: #fff;
    color: var(--night);
    padding: 14px 34px;
    border-radius: var(--radius);
    font-weight: 800;
    font-size: .88rem;
    letter-spacing: .06em;
    text-transform: uppercase;
    text-decoration: none;
    position: relative;
    transition: transform .15s, box-shadow .2s;
}

.btn-white:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(0, 0, 0, .3);
}


/* ── SCROLL REVEAL ── */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .5s ease, transform .5s ease;
}

.reveal.visible {
    opacity: 1;
    transform: none;
}

/* ── RESPONSIVE ── */
@media (max-width: 860px) {
    .hero-inner {
        grid-template-columns: 1fr;
    }

    .cam-grid {
        display: none;
    }

    .overview-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .usecase-grid {
        grid-template-columns: 1fr;
    }

    .why-grid {
        grid-template-columns: 1fr;
    }


}

@media (max-width: 540px) {
    .int-wrap {
        grid-template-columns: 1fr;
        /* stack */
    }

    .int-grid {
        grid-template-columns: 1fr;
    }
}