/* ─── CSS Variables ─── */
:root {
    --navy: #0D1B6A;
    --teal: #7ACED3;
    --crimson: #8F3317;
    --amber: #E8A63D;
    --navy-deep: #091452;
    --navy-mid: #1E2E7A;
    --teal-light: #A8E4E9;
    --teal-dark: #4ABBC4;
    --amber-light: #F2C06A;
    --crimson-light: #B84420;
    --brand-muted: #5E6A8A;
    --brand-soft: #F0F3FF;
    --brand-white: #FAFBFF;
    --brand-line: #D8DEEF;
    --brand-orange: var(--amber);
    --brand-ink: var(--navy);
    --brand-mid: var(--navy-mid);
    --accent-green: var(--teal);
    --font-head: 'Montserrat', sans-serif;
    --font-body: 'Inter', sans-serif;
    --ease-expo: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-back: cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background: var(--brand-white);
    color: var(--navy);
    overflow-x: hidden;
    line-height: 1.7;
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-head);
    line-height: 1.1;
}

h1 {
    font-weight: 900;
}

h2 {
    font-weight: 800;
}

h3 {
    font-weight: 700;
}

.label-tag {
    font-family: var(--font-head);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--amber);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.label-tag::before {
    content: '';
    display: inline-block;
    width: 20px;
    height: 2px;
    background: var(--amber);
    flex-shrink: 0;
}

/* ─── Buttons ─── */
.btn-primary-ng {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--amber);
    color: #fff;
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.06em;
    padding: 16px 32px;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s var(--ease-expo);
    position: relative;
    overflow: hidden;
}

.btn-primary-ng::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.12);
    transform: translateX(-110%);
    transition: transform 0.4s var(--ease-expo);
}

.btn-primary-ng:hover::after {
    transform: translateX(0);
}

.btn-primary-ng:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(232, 166, 61, 0.4);
    color: #fff;
}

.btn-primary-ng .btn-arrow {
    width: 18px;
    height: 18px;
    transition: transform 0.3s var(--ease-expo);
}

.btn-primary-ng:hover .btn-arrow {
    transform: translateX(4px);
}

.btn-ghost-ng {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: transparent;
    color: var(--brand-ink);
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.06em;
    padding: 15px 30px;
    border-radius: 4px;
    border: 1.5px solid var(--brand-line);
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s var(--ease-expo);
}

.btn-ghost-ng:hover {
    border-color: var(--brand-ink);
    background: var(--brand-ink);
    color: #fff;
    transform: translateY(-2px);
}

.btn-ghost-white {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: transparent;
    color: rgba(255, 255, 255, 0.8);
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.06em;
    padding: 15px 30px;
    border-radius: 4px;
    border: 1.5px solid rgba(255, 255, 255, 0.25);
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s var(--ease-expo);
}

.btn-ghost-white:hover {
    border-color: rgba(255, 255, 255, 0.6);
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    transform: translateY(-2px);
}

/* ─── Custom cursor ─── */
.cursor-dot {
    width: 8px;
    height: 8px;
    background: var(--amber);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: width 0.2s, height 0.2s, background 0.2s;
}

.cursor-ring {
    width: 36px;
    height: 36px;
    border: 1.5px solid rgba(232, 166, 61, 0.5);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9998;
    transform: translate(-50%, -50%);
}

body:has(a:hover) .cursor-dot,
body:has(button:hover) .cursor-dot {
    width: 14px;
    height: 14px;
}

/* ─── Scroll progress bar ─── */
#scrollBar {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    z-index: 2000;
    background: linear-gradient(90deg, var(--amber), var(--teal-dark));
    width: 0%;
    transform-origin: left;
    pointer-events: none;
}

/* ─── NAV ─── */
.ng-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 0 48px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(250, 251, 255, 0.92);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.ng-nav.scrolled {
    border-color: var(--brand-line);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.05);
}

.ng-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    flex-shrink: 0;
}

.ng-logo .logo-wordmark {
    font-family: var(--font-head);
    font-weight: 900;
    font-size: 1.2rem;
    letter-spacing: -0.03em;
    line-height: 1;
    color: #0D1B6A;
}

.ng-logo .logo-wordmark span {
    color: #8F3317;
}

.ng-logo .logo-tagline {
    font-family: var(--font-head);
    font-size: 0.52rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #7ACED3;
    margin-top: 3px;
    display: block;
}

.ng-nav-links {
    display: flex;
    align-items: center;
    gap: 36px;
    list-style: none;
}

.ng-nav-links a {
    font-family: var(--font-head);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: var(--brand-mid);
    text-decoration: none;
    transition: color 0.2s;
    position: relative;
}

.ng-nav-links a::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--amber);
    transition: width 0.3s var(--ease-expo);
}

.ng-nav-links a:hover {
    color: var(--brand-ink);
}

.ng-nav-links a:hover::after,
.ng-nav-links a.active::after {
    width: 100%;
}

.ng-nav-links a.active {
    color: var(--brand-ink);
}

/* ─── HERO ─── */
.hero-section {
    min-height: 100vh;
    padding-top: 72px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: var(--brand-white);
}

.hero-bg-grid {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(var(--brand-line) 1px, transparent 1px), linear-gradient(90deg, var(--brand-line) 1px, transparent 1px);
    background-size: 60px 60px;
    opacity: 0.4;
}

.hero-glow-teal {
    position: absolute;
    left: -200px;
    top: 50%;
    transform: translateY(-60%);
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle at center, rgba(124, 206, 211, 0.1), transparent 70%);
    pointer-events: none;
}

.hero-glow-amber {
    position: absolute;
    right: -100px;
    top: 40%;
    transform: translateY(-50%);
    width: 700px;
    height: 700px;
    border-radius: 50%;
    background: radial-gradient(circle at center, rgba(232, 166, 61, 0.1), transparent 70%);
    pointer-events: none;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--brand-soft);
    border: 1px solid var(--brand-line);
    border-radius: 100px;
    padding: 6px 14px 6px 8px;
    margin-bottom: 28px;
}

.hero-badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--teal);
    animation: pulseGreen 2s ease-in-out infinite;
}

@keyframes pulseGreen {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(124, 206, 211, 0.4);
    }

    50% {
        box-shadow: 0 0 0 6px rgba(124, 206, 211, 0);
    }
}

.hero-badge-text {
    font-family: var(--font-head);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: var(--brand-mid);
}

.hero-headline {
    font-size: clamp(2.8rem, 5vw, 4rem);
    font-weight: 900;
    line-height: 1.03;
    letter-spacing: -0.03em;
    color: var(--navy);
    margin-bottom: 28px;
}

.hero-headline em {
    font-style: normal;
    color: var(--amber);
    position: relative;
}

.hero-headline em::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--amber);
    opacity: 0.2;
    border-radius: 2px;
}

.hero-sub {
    font-size: 1.05rem;
    color: var(--brand-muted);
    max-width: 520px;
    line-height: 1.75;
    margin-bottom: 44px;
}

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

.hero-stats-row {
    display: flex;
    gap: 40px;
    margin-top: 64px;
    padding-top: 40px;
    border-top: 1px solid var(--brand-line);
}

.hero-stat-num {
    font-family: var(--font-head);
    font-weight: 900;
    font-size: 2rem;
    color: var(--navy);
    letter-spacing: -0.04em;
}

.hero-stat-num span {
    color: var(--amber);
}

.hero-stat-label {
    font-size: 0.8rem;
    color: var(--brand-muted);
    font-weight: 500;
    margin-top: 2px;
}

/* ─── LEAKING BUCKET ANIMATION PANEL ─── */
.bucket-panel {
    position: relative;
    background: #fff;
    border-radius: 20px;
    border: 1px solid var(--brand-line);
    box-shadow: 0 32px 80px rgba(13, 27, 106, 0.1), 0 8px 24px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    padding: 32px;
}

.bucket-panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}

.bucket-title {
    font-family: var(--font-head);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--brand-muted);
}

.bucket-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(124, 206, 211, 0.12);
    border: 1px solid rgba(124, 206, 211, 0.3);
    border-radius: 100px;
    padding: 4px 12px;
    font-family: var(--font-head);
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: var(--teal-dark);
}

.status-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--teal-dark);
}

/* Bucket SVG area */
.bucket-svg-area {
    position: relative;
    height: 240px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Pipeline Flow Vis */
.pipeline-vis {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 24px;
}

.pv-row {
    display: flex;
    align-items: center;
    gap: 12px;
}

.pv-label {
    font-size: 0.73rem;
    font-weight: 600;
    color: var(--brand-mid);
    width: 100px;
    flex-shrink: 0;
}

.pv-bar-track {
    flex: 1;
    height: 6px;
    background: var(--brand-line);
    border-radius: 3px;
    overflow: hidden;
}

.pv-bar-fill {
    height: 100%;
    border-radius: 3px;
    transform-origin: left;
    transform: scaleX(0);
    transition: transform 1.2s var(--ease-expo);
}

.pv-count {
    font-family: var(--font-head);
    font-size: 0.8rem;
    font-weight: 800;
    color: var(--navy);
    width: 32px;
    text-align: right;
}

/* ─── SECTION COMMON ─── */
section {
    padding: 100px 0;
}

.section-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 48px;
}

.section-tag {
    font-family: var(--font-head);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--amber);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
}

.section-tag::before {
    content: '';
    display: inline-block;
    width: 20px;
    height: 2px;
    background: var(--amber);
}

.section-headline {
    font-size: clamp(2rem, 3.5vw, 3rem);
    font-weight: 900;
    letter-spacing: -0.03em;
    color: var(--navy);
    line-height: 1.05;
    margin-bottom: 20px;
}

.section-headline em {
    font-style: normal;
    color: var(--amber);
}

.section-sub {
    font-size: 1rem;
    color: var(--brand-muted);
    max-width: 560px;
    line-height: 1.75;
}

/* ─── SECTION 2: CHAOS vs SYSTEM ─── */
.chaos-section {
    background: var(--brand-soft);
}

.chaos-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-top: 60px;
}

.chaos-card {
    border-radius: 16px;
    padding: 40px;
    position: relative;
    overflow: hidden;
}

.chaos-card.before {
    background: #fff;
    border: 1px solid var(--brand-line);
}

.chaos-card.after {
    background: var(--navy);
    border: 1px solid var(--navy);
}

.chaos-card-label {
    font-family: var(--font-head);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    margin-bottom: 20px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.chaos-card.before .chaos-card-label {
    color: var(--crimson);
}

.chaos-card.after .chaos-card-label {
    color: var(--teal);
}

.chaos-card-label::before {
    content: '';
    width: 16px;
    height: 2px;
    background: currentColor;
}

.chaos-card h3 {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 24px;
    line-height: 1.2;
}

.chaos-card.before h3 {
    color: var(--navy);
}

.chaos-card.after h3 {
    color: #fff;
}

.chaos-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.chaos-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.9rem;
    line-height: 1.5;
}

.chaos-card.before .chaos-list li {
    color: var(--brand-muted);
}

.chaos-card.after .chaos-list li {
    color: rgba(255, 255, 255, 0.75);
}

.chaos-icon {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 800;
    margin-top: 1px;
}

.chaos-card.before .chaos-icon {
    background: rgba(143, 51, 23, 0.1);
    color: var(--crimson);
}

.chaos-card.after .chaos-icon {
    background: rgba(124, 206, 211, 0.15);
    color: var(--teal);
}

.vs-badge {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) translateX(-12px);
    z-index: 10;
    background: var(--amber);
    color: #fff;
    font-family: var(--font-head);
    font-weight: 900;
    font-size: 0.9rem;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(232, 166, 61, 0.4);
}

.chaos-quote {
    margin-top: 40px;
    padding: 28px 32px;
    background: var(--navy);
    border-radius: 12px;
    border-left: 4px solid var(--amber);
}

.chaos-quote p {
    font-family: var(--font-head);
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    font-style: italic;
    line-height: 1.5;
    margin: 0;
}

.chaos-quote p span {
    color: var(--amber);
}

/* ─── SECTION 3: TOOLSET ─── */
.toolset-section {
    background: #fff;
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 60px;
}

.tool-card {
    border-radius: 16px;
    padding: 36px;
    border: 1px solid var(--brand-line);
    background: var(--brand-soft);
    position: relative;
    overflow: hidden;
    transition: all 0.4s var(--ease-expo);
    cursor: pointer;
}

.tool-card::before {
    content: '';
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.4s;
    background: linear-gradient(135deg, rgba(13, 27, 106, 0.03), rgba(124, 206, 211, 0.06));
}

.tool-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 60px rgba(13, 27, 106, 0.12);
    border-color: var(--teal);
}

.tool-card:hover::before {
    opacity: 1;
}

.tool-logo {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-family: var(--font-head);
    font-size: 1rem;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.tool-name {
    font-family: var(--font-head);
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--navy);
    margin-bottom: 10px;
}

.tool-desc {
    font-size: 0.88rem;
    color: var(--brand-muted);
    line-height: 1.6;
    margin-bottom: 20px;
}

.tool-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.tool-tag {
    font-family: var(--font-head);
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 4px;
    background: rgba(13, 27, 106, 0.06);
    color: var(--brand-mid);
}

/* ─── SECTION 4: PIPELINE ARCHITECTURE (ANIMATED) ─── */
.pipeline-section {
    background: var(--navy);
    position: relative;
    overflow: hidden;
    padding: 100px 0;
}

.pipeline-section .section-headline {
    color: #fff;
}

.pipeline-section .section-sub {
    color: rgba(255, 255, 255, 0.6);
}

.pipeline-section .section-tag {
    color: var(--teal);
}

.pipeline-section .section-tag::before {
    background: var(--teal);
}

.pipeline-bg-glow {
    position: absolute;
    top: -200px;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle at center, rgba(124, 206, 211, 0.08), transparent 70%);
    pointer-events: none;
}

/* Animated Pipeline */
.pipeline-flow {
    margin-top: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    flex-wrap: nowrap;
    position: relative;
}

.pipeline-node {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    flex: 1;
    position: relative;
    z-index: 2;
}

.node-circle {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    border: 2px solid rgba(124, 206, 211, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(124, 206, 211, 0.05);
    position: relative;
    transition: all 0.4s var(--ease-expo);
}

.node-circle.active {
    border-color: var(--teal);
    background: rgba(124, 206, 211, 0.15);
    box-shadow: 0 0 30px rgba(124, 206, 211, 0.2);
}

.node-circle svg {
    width: 28px;
    height: 28px;
    stroke: var(--teal);
    opacity: 0.7;
}

.node-circle.active svg {
    opacity: 1;
}

.node-label {
    font-family: var(--font-head);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
    text-align: center;
    max-width: 80px;
    line-height: 1.3;
}

.node-label.active {
    color: rgba(255, 255, 255, 0.9);
}

.node-count {
    font-family: var(--font-head);
    font-size: 1.2rem;
    font-weight: 900;
    color: var(--amber);
}

.pipeline-connector {
    flex: 0 0 40px;
    height: 2px;
    background: rgba(124, 206, 211, 0.2);
    position: relative;
    overflow: hidden;
    margin-bottom: 56px;
}

.connector-beam {
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, var(--teal), transparent);
    animation: beamMove 2.4s ease-in-out infinite;
}

@keyframes beamMove {
    0% {
        left: -60%;
    }

    100% {
        left: 120%;
    }
}

.connector-beam:nth-child(2) {
    animation-delay: 0.8s;
}

.connector-beam:nth-child(3) {
    animation-delay: 1.6s;
}

.pipeline-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 60px;
}

.pf-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 28px;
    transition: all 0.35s var(--ease-expo);
}

.pf-card:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(124, 206, 211, 0.25);
    transform: translateY(-4px);
}

.pf-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(124, 206, 211, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.pf-icon svg {
    width: 20px;
    height: 20px;
    stroke: var(--teal);
}

.pf-title {
    font-family: var(--font-head);
    font-size: 0.95rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 8px;
}

.pf-desc {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.6;
}

/* ─── SECTION 5: AUTOMATION ENGINE ─── */
.automation-section {
    background: var(--brand-soft);
}

.auto-channels {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 0;
}

.auto-channel {
    border-radius: 14px;
    padding: 32px;
    background: #fff;
    border: 1px solid var(--brand-line);
    text-align: center;
    transition: all 0.35s var(--ease-expo);
    position: relative;
    overflow: hidden;
}

.auto-channel::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--teal), var(--amber));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s var(--ease-expo);
}

.auto-channel:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 48px rgba(13, 27, 106, 0.1);
}

.auto-channel:hover::after {
    transform: scaleX(1);
}

.ch-icon {
    width: 64px;
    height: 64px;
    border-radius: 18px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ch-icon svg {
    width: 30px;
    height: 30px;
}

.ch-name {
    font-family: var(--font-head);
    font-size: 1rem;
    font-weight: 800;
    color: var(--navy);
    margin-bottom: 8px;
}

.ch-desc {
    font-size: 0.85rem;
    color: var(--brand-muted);
    line-height: 1.6;
}

.auto-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 24px;
}

.af-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 24px;
    background: #fff;
    border-radius: 12px;
    border: 1px solid var(--brand-line);
    transition: all 0.3s var(--ease-expo);
}

.af-item:hover {
    box-shadow: 0 8px 24px rgba(13, 27, 106, 0.08);
    transform: translateY(-3px);
}

.af-num {
    font-family: var(--font-head);
    font-weight: 900;
    font-size: 1.4rem;
    color: var(--amber);
    opacity: 0.3;
    line-height: 1;
    flex-shrink: 0;
}

.af-title {
    font-family: var(--font-head);
    font-size: 0.9rem;
    font-weight: 800;
    color: var(--navy);
    margin-bottom: 6px;
}

.af-desc {
    font-size: 0.83rem;
    color: var(--brand-muted);
    line-height: 1.55;
}

/* ─── SECTION 6: DIGITAL CCTV ─── */
.cctv-section {
    background: #fff;
}

.cctv-dashboard {
    background: var(--navy);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 32px 80px rgba(13, 27, 106, 0.25);
    margin-top: 60px;
    position: relative;
}

.cctv-topbar {
    background: rgba(255, 255, 255, 0.04);
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    padding: 14px 24px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.cctv-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.cctv-tabbar {
    display: flex;
    gap: 2px;
    padding: 12px 24px;
    background: rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.cctv-tab {
    font-family: var(--font-head);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    padding: 7px 16px;
    border-radius: 6px;
    cursor: pointer;
    color: rgba(255, 255, 255, 0.4);
    transition: all 0.25s;
}

.cctv-tab.active {
    background: rgba(124, 206, 211, 0.15);
    color: var(--teal);
}

.cctv-body {
    padding: 28px;
    display: grid;
    grid-template-columns: repeat(4, 1fr) 2fr;
    gap: 16px;
}

.cctv-kpi {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 18px;
}

.cctv-kpi-label {
    font-size: 0.68rem;
    color: rgba(255, 255, 255, 0.4);
    font-weight: 500;
    margin-bottom: 10px;
}

.cctv-kpi-val {
    font-family: var(--font-head);
    font-size: 1.6rem;
    font-weight: 900;
    color: #fff;
}

.cctv-kpi-val.teal {
    color: var(--teal);
}

.cctv-kpi-val.amber {
    color: var(--amber);
}

.cctv-kpi-change {
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.35);
    margin-top: 4px;
}

.cctv-kpi-change.up {
    color: var(--teal);
}

.cctv-chart {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 18px;
    grid-column: span 2;
}

.cctv-chart-title {
    font-family: var(--font-head);
    font-size: 0.72rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 20px;
}

.cctv-bars {
    display: flex;
    align-items: flex-end;
    gap: 8px;
    height: 80px;
}

.cctv-bar {
    flex: 1;
    border-radius: 3px 3px 0 0;
    background: rgba(255, 255, 255, 0.08);
    transform-origin: bottom;
    transform: scaleY(0);
    transition: transform 1s var(--ease-expo);
}

.cctv-bar.teal {
    background: var(--teal);
    opacity: 0.6;
}

.cctv-bar.amber {
    background: var(--amber);
    opacity: 0.8;
}

.cctv-row2 {
    padding: 0 28px 28px;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 16px;
}

.cctv-funnel {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 20px;
}

.cctv-funnel-title {
    font-family: var(--font-head);
    font-size: 0.72rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 16px;
}

.funnel-stage {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}

.funnel-label {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
    width: 80px;
    flex-shrink: 0;
}

.funnel-track {
    flex: 1;
    height: 20px;
    border-radius: 4px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.05);
}

.funnel-fill {
    height: 100%;
    border-radius: 4px;
    transform-origin: left;
    transform: scaleX(0);
    transition: transform 1.2s var(--ease-expo);
    display: flex;
    align-items: center;
    padding-left: 8px;
}

.funnel-count {
    font-family: var(--font-head);
    font-size: 0.7rem;
    font-weight: 800;
    color: #fff;
}

.cctv-activity {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 20px;
}

.cctv-activity-title {
    font-family: var(--font-head);
    font-size: 0.72rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 16px;
}

.activity-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 12px;
}

.activity-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    flex-shrink: 0;
    margin-top: 5px;
}

.activity-text {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.4;
}

.activity-time {
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.25);
    margin-top: 2px;
}

/* ─── SECTION 7: USE CASES ─── */
.usecases-section {
    background: var(--brand-soft);
}

.uc-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 60px;
}

.uc-card {
    border-radius: 16px;
    background: #fff;
    border: 1px solid var(--brand-line);
    overflow: hidden;
    transition: all 0.4s var(--ease-expo);
    position: relative;
}

.uc-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 60px rgba(13, 27, 106, 0.12);
}

.uc-card-header {
    padding: 28px 28px 20px;
    position: relative;
}

.uc-industry {
    font-family: var(--font-head);
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--amber);
    margin-bottom: 12px;
}

.uc-title {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--navy);
    line-height: 1.3;
    margin-bottom: 12px;
}

.uc-body {
    padding: 0 28px 28px;
}

.uc-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.uc-features li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.85rem;
    color: var(--brand-muted);
    line-height: 1.5;
}

.uc-check {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: rgba(124, 206, 211, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 1px;
}

.uc-check svg {
    width: 10px;
    height: 10px;
    stroke: var(--teal-dark);
}

.uc-metric {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--brand-line);
    display: flex;
    align-items: center;
    gap: 12px;
}

.uc-metric-val {
    font-family: var(--font-head);
    font-size: 1.6rem;
    font-weight: 900;
    color: var(--amber);
    line-height: 1;
}

.uc-metric-label {
    font-size: 0.78rem;
    color: var(--brand-muted);
    line-height: 1.3;
}

/* ─── SECTION 8: ROI IMPACT (COUNTER SECTION) ─── */
.roi-section {
    background: var(--navy);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.roi-glow {
    position: absolute;
    bottom: -200px;
    right: -200px;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle at center, rgba(232, 166, 61, 0.08), transparent 70%);
}

.roi-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: rgba(255, 255, 255, 0.07);
    margin-top: 60px;
    border-radius: 16px;
    overflow: hidden;
}

.roi-card {
    padding: 40px 32px;
    background: var(--navy-deep);
    text-align: center;
    position: relative;
    transition: all 0.35s var(--ease-expo);
}

.roi-card:hover {
    background: rgba(124, 206, 211, 0.06);
}

.roi-num {
    font-family: var(--font-head);
    font-weight: 900;
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    line-height: 1;
    letter-spacing: -0.04em;
    margin-bottom: 8px;
}

.roi-unit {
    color: var(--amber);
}

.roi-label {
    font-family: var(--font-head);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 12px;
}

.roi-desc {
    font-size: 0.83rem;
    color: rgba(255, 255, 255, 0.35);
    line-height: 1.5;
}

/* ─── SECTION 9: 3 PILLARS ─── */
.pillars-section {
    background: #fff;
}

.pillars-diagram {
    margin-top: 60px;
    display: grid;
    grid-template-columns: 1fr auto 1.3fr auto 1fr;
    gap: 0;
    align-items: stretch;
}

.pillar-outer {
    padding: 36px 32px;
    border-radius: 16px;
    border: 1px solid var(--brand-line);
    background: var(--brand-soft);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.pillar-connector {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 16px;
    min-width: 56px;
}

.pillar-conn-line {
    flex: 1;
    height: 2px;
    background: linear-gradient(90deg, var(--brand-line), var(--teal), var(--brand-line));
}

.pillar-conn-arrow {
    color: var(--teal);
    font-size: 1.2rem;
}

.pillar-outer-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.pillar-outer-name {
    font-family: var(--font-head);
    font-size: 1rem;
    font-weight: 800;
    color: var(--navy);
    margin-bottom: 8px;
}

.pillar-outer-desc {
    font-size: 0.83rem;
    color: var(--brand-muted);
    line-height: 1.55;
}

.pillar-center {
    background: var(--navy);
    border-radius: 20px;
    padding: 40px 36px;
    text-align: center;
    box-shadow: 0 24px 64px rgba(13, 27, 106, 0.2);
    position: relative;
    z-index: 2;
}

.pillar-center-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(124, 206, 211, 0.15);
    border: 1px solid rgba(124, 206, 211, 0.25);
    border-radius: 100px;
    padding: 6px 14px;
    margin-bottom: 20px;
    font-family: var(--font-head);
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--teal);
}

.pillar-center-title {
    font-size: 1.3rem;
    font-weight: 900;
    color: #fff;
    margin-bottom: 12px;
}

.pillar-center-desc {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.65;
}

.pillar-center-flows {
    margin-top: 24px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.pcf-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.pcf-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    flex-shrink: 0;
}

.pcf-text {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
}

.pcf-val {
    font-family: var(--font-head);
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--amber);
    margin-left: auto;
}

/* ─── SECTION 10: CTA ─── */
.cta-section {
    background: var(--navy);
    padding: 120px 0;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.cta-grid-bg {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
}

.cta-glow-1 {
    position: absolute;
    top: -200px;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 400px;
    background: radial-gradient(ellipse at center, rgba(232, 166, 61, 0.12), transparent 70%);
    pointer-events: none;
}

.cta-glow-2 {
    position: absolute;
    bottom: -200px;
    left: 20%;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(124, 206, 211, 0.08), transparent 70%);
    pointer-events: none;
}

.cta-inner {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.cta-headline {
    font-size: clamp(2.2rem, 4vw, 3.5rem);
    font-weight: 900;
    color: #fff;
    letter-spacing: -0.03em;
    line-height: 1.05;
    margin-bottom: 20px;
}

.cta-headline em {
    font-style: normal;
    color: var(--amber);
}

.cta-sub {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.55);
    max-width: 540px;
    margin: 0 auto 48px;
    line-height: 1.75;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-trust {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    margin-top: 48px;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.trust-check {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: rgba(124, 206, 211, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
}

.trust-check svg {
    width: 10px;
    height: 10px;
    stroke: var(--teal);
}

.trust-text {
    font-size: 0.83rem;
    color: rgba(255, 255, 255, 0.45);
    font-weight: 500;
}

/* ─── FOOTER ─── */
.footer {
    background: var(--navy-deep);
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    padding: 28px 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.footer-logo .logo-wordmark {
    font-family: var(--font-head);
    font-weight: 900;
    font-size: 1.1rem;
    letter-spacing: -0.03em;
    color: #fff;
    line-height: 1;
}

.footer-logo .logo-wordmark span {
    color: var(--amber);
}

.footer-logo .logo-tagline {
    font-family: var(--font-head);
    font-size: 0.48rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--teal);
    margin-top: 3px;
    display: block;
}

.footer-copy {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.3);
}

/* ─── FOOTER ─── */
.footer {
    background: var(--navy-deep);
    padding: 40px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: gap;
}

.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.footer-logo .logo-wordmark {
    font-family: var(--font-head);
    font-weight: 900;
    font-size: 1.1rem;
    letter-spacing: -0.03em;
    color: #fff;
    line-height: 1;
}

.footer-logo .logo-wordmark span {
    color: #E8A63D;
}

.footer-logo .logo-tagline {
    font-family: var(--font-head);
    font-size: 0.48rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #7ACED3;
    margin-top: 3px;
    display: block;
}

.footer-copy {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.3);
}

/* ─── FLOATING PARTICLES ─── */
.particles-canvas {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

/* ─── Scroll reveal defaults ─── */
.reveal-up,
.reveal-left,
.reveal-right {
    opacity: 1;
}

/* ─── Hamburger Button ─── */
.ng-hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 42px;
    height: 42px;
    background: transparent;
    border: 1.5px solid var(--brand-line);
    border-radius: 6px;
    cursor: pointer;
    padding: 0;
    flex-shrink: 0;
    transition: border-color 0.2s, background 0.2s;
    z-index: 1001;
}

.ng-hamburger:hover {
    border-color: var(--navy);
    background: var(--brand-soft);
}

.ng-hamburger .bar {
    width: 20px;
    height: 2px;
    background: var(--navy);
    border-radius: 2px;
    transition: transform 0.35s var(--ease-expo), opacity 0.25s, width 0.3s;
    transform-origin: center;
}

.ng-hamburger.open .bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.ng-hamburger.open .bar:nth-child(2) {
    opacity: 0;
    width: 0;
}

.ng-hamburger.open .bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ─── Mobile Menu Drawer ─── */
.ng-mobile-menu {
    display: none;
    position: fixed;
    top: 72px;
    left: 0;
    width: 100%;
    background: rgba(250, 251, 255, 0.98);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--brand-line);
    z-index: 999;
    padding: 24px 24px 32px;
    flex-direction: column;
    gap: 0;
    box-shadow: 0 16px 48px rgba(13, 27, 106, 0.10);
    transform: translateY(-8px);
    opacity: 0;
    transition: transform 0.35s var(--ease-expo), opacity 0.3s;
}

.ng-mobile-menu.open {
    transform: translateY(0);
    opacity: 1;
}

.ng-mobile-menu a:not(.btn-primary-ng) {
    font-family: var(--font-head);
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    color: var(--navy);
    text-decoration: none;
    padding: 14px 0;
    border-bottom: 1px solid var(--brand-line);
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: color 0.2s, padding-left 0.2s;
}

.ng-mobile-menu a:not(.btn-primary-ng)::after {
    content: '›';
    font-size: 1.1rem;
    color: var(--amber);
    font-weight: 900;
}

.ng-mobile-menu a:not(.btn-primary-ng):hover {
    color: var(--amber);
    padding-left: 6px;
}

.ng-mobile-menu a.active:not(.btn-primary-ng) {
    color: var(--amber);
}

.ng-mobile-cta {
    margin-top: 20px;
    width: 100%;
    justify-content: center;
}

/* ════════════════════════════════════════════
       RESPONSIVE BREAKPOINTS — ALL SECTIONS
    ════════════════════════════════════════════ */

/* ── Large Desktop (≤1400px) ── */
@media (max-width: 1400px) {
    .cctv-body {
        grid-template-columns: repeat(3, 1fr) 2fr;
    }

    .roi-num {
        font-size: clamp(2rem, 3.5vw, 3rem);
    }
}

/* ── Laptop (≤1200px) ── */
@media (max-width: 1200px) {
    .ng-nav {
        padding: 0 32px;
    }

    .ng-nav-links {
        gap: 24px;
    }

    .section-inner {
        padding: 0 32px;
    }

    .hero-headline {
        font-size: clamp(2.4rem, 4vw, 3.8rem);
    }

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

    .tool-card {
        padding: 28px;
    }

    .cctv-body {
        grid-template-columns: repeat(2, 1fr) 2fr;
        gap: 12px;
    }

    .cctv-kpi-val {
        font-size: 1.3rem;
    }

    .pillars-diagram {
        grid-template-columns: 1fr auto 1.2fr auto 1fr;
    }

    .pillar-outer {
        padding: 28px 20px;
    }

    .pillar-center {
        padding: 32px 24px;
    }

    .roi-card {
        padding: 32px 24px;
    }

    .chaos-card {
        padding: 32px;
    }

    .uc-card-header {
        padding: 24px 24px 16px;
    }

    .uc-body {
        padding: 0 24px 24px;
    }
}

/* ── Tablet Landscape (≤992px) ── */
@media (max-width: 992px) {

    /* Nav */
    .ng-nav {
        padding: 0 24px;
    }

    .ng-nav-links {
        display: none;
    }

    .ng-nav .btn-primary-ng:not(.ng-mobile-cta) {
        display: none;
    }

    .ng-hamburger {
        display: flex;
    }

    .ng-mobile-menu {
        display: flex;
    }

    /* Section spacing */
    section {
        padding: 72px 0;
    }

    .section-inner {
        padding: 0 24px;
    }

    .pipeline-section {
        padding: 72px 0;
    }

    .roi-section {
        padding: 72px 0;
    }

    .cta-section {
        padding: 88px 0;
    }

    /* Hero */
    .hero-section {
        padding: 88px 0 56px;
        min-height: auto;
    }

    .hero-headline {
        font-size: clamp(2.2rem, 5vw, 3rem);
    }

    .hero-sub {
        font-size: 0.95rem;
        margin-bottom: 32px;
    }

    .hero-stats-row {
        gap: 24px;
        margin-top: 48px;
        padding-top: 32px;
    }

    /* Chaos section */
    .chaos-grid {
        grid-template-columns: 1fr;
    }

    .chaos-card {
        padding: 32px 28px;
    }

    .vs-badge {
        display: none;
    }

    /* Toolset */
    .tools-grid {
        grid-template-columns: 1fr 1fr;
    }

    /* Pipeline */
    .pipeline-flow {
        flex-wrap: wrap;
        gap: 20px;
        justify-content: center;
    }

    .pipeline-connector {
        display: none;
    }

    .pipeline-node {
        flex: 0 0 calc(33% - 16px);
    }

    .pipeline-features {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
        margin-top: 48px;
    }

    /* Automation */
    .auto-channels {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }

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

    /* CCTV */
    .cctv-dashboard {
        margin-top: 40px;
    }

    .cctv-body {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .cctv-chart {
        grid-column: span 2;
    }

    .cctv-row2 {
        grid-template-columns: 1fr;
        padding: 0 20px 20px;
    }

    .cctv-tabbar {
        overflow-x: auto;
        padding: 10px 16px;
        white-space: nowrap;
    }

    /* Use Cases */
    .uc-grid {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }

    /* ROI */
    .roi-grid {
        grid-template-columns: 1fr 1fr;
    }

    .roi-card {
        padding: 32px 20px;
    }

    /* Pillars */
    .pillars-diagram {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .pillar-connector {
        display: none;
    }

    .pillar-outer {
        text-align: left;
        flex-direction: row;
        align-items: center;
        gap: 16px;
    }

    .pillar-outer-icon {
        margin: 0;
        flex-shrink: 0;
    }

    /* CTA */
    .cta-trust {
        gap: 20px;
    }

    /* Footer */
    .footer {
        flex-direction: column;
        align-items: center;
        gap: 12px;
        text-align: center;
        padding: 24px;
    }
}

/* ── Tablet Portrait (≤768px) ── */
@media (max-width: 768px) {

    /* Nav */
    .ng-nav {
        padding: 0 20px;
    }

    /* Hero */
    .hero-section {
        padding: 100px 0 48px;
    }

    .hero-headline {
        font-size: clamp(2rem, 7vw, 2.6rem);
    }

    .hero-badge {
        margin-bottom: 20px;
    }

    .hero-cta-row {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .hero-cta-row .btn-primary-ng,
    .hero-cta-row .btn-ghost-ng {
        width: 100%;
        justify-content: center;
    }

    .hero-stats-row {
        flex-wrap: wrap;
        gap: 20px;
        margin-top: 36px;
        padding-top: 28px;
    }

    .hero-stat-num {
        font-size: 1.6rem;
    }

    /* Bucket panel */
    .bucket-panel {
        padding: 0;
    }

    /* Chaos */
    .chaos-grid {
        gap: 16px;
        margin-top: 40px;
    }

    .chaos-card {
        padding: 28px 22px;
    }

    .chaos-card h3 {
        font-size: 1.25rem;
    }

    .chaos-quote {
        padding: 22px 24px;
        margin-top: 28px;
    }

    .chaos-quote p {
        font-size: 0.95rem;
    }

    /* Toolset */
    .tools-grid {
        grid-template-columns: 1fr;
    }

    .tool-card {
        padding: 28px 24px;
    }

    /* Pipeline */
    .pipeline-flow {
        gap: 16px;
    }

    .pipeline-node {
        flex: 0 0 calc(50% - 12px);
    }

    .node-circle {
        width: 60px;
        height: 60px;
    }

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

    .pf-card {
        padding: 22px;
    }

    /* Automation */
    .auto-channels {
        grid-template-columns: 1fr;
    }

    .auto-channel {
        padding: 28px 24px;
    }

    .auto-features {
        gap: 14px;
    }

    .af-item {
        padding: 20px;
    }

    /* CCTV */
    .cctv-body {
        grid-template-columns: 1fr;
        padding: 16px;
    }

    .cctv-chart {
        grid-column: span 1;
    }

    .cctv-row2 {
        padding: 0 16px 16px;
        grid-template-columns: 1fr;
    }

    .cctv-topbar {
        padding: 12px 16px;
    }

    /* Use Cases */
    .uc-grid {
        grid-template-columns: 1fr;
    }

    /* ROI */
    .roi-grid {
        grid-template-columns: 1fr 1fr;
    }

    .roi-card {
        padding: 28px 16px;
    }

    .roi-num {
        font-size: clamp(2rem, 7vw, 2.8rem);
    }

    /* Pillars */
    .pillar-outer {
        padding: 22px 20px;
    }

    .pillar-outer-name {
        font-size: 0.9rem;
    }

    .pillar-center {
        padding: 28px 20px;
    }

    .pillar-center-title {
        font-size: 1.1rem;
    }

    /* CTA */
    .cta-section {
        padding: 72px 0;
    }

    .cta-headline {
        font-size: clamp(1.8rem, 6vw, 3rem);
    }

    .cta-sub {
        font-size: 0.95rem;
        margin-bottom: 36px;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        max-width: 360px;
        margin: 0 auto;
    }

    .cta-buttons .btn-primary-ng,
    .cta-buttons .btn-ghost-white {
        width: 100%;
        justify-content: center;
    }

    .cta-trust {
        gap: 16px;
        flex-direction: column;
        align-items: center;
    }
}

/* ── Large Mobile (≤576px) ── */
@media (max-width: 576px) {

    /* Nav */
    .ng-nav {
        padding: 0 16px;
    }

    .ng-logo .logo-wordmark {
        font-size: 1rem;
    }

    /* Section spacing */
    section {
        padding: 52px 0;
    }

    .section-inner {
        padding: 0 16px;
    }

    .pipeline-section {
        padding: 52px 0;
    }

    .roi-section {
        padding: 52px 0;
    }

    .cta-section {
        padding: 60px 0;
    }

    /* Section headers */
    .section-headline {
        font-size: clamp(1.6rem, 6vw, 2.2rem);
    }

    .section-sub {
        font-size: 0.9rem;
    }

    /* Hero */
    .hero-section {
        padding: 96px 0 40px;
    }

    .hero-headline {
        font-size: clamp(1.8rem, 8vw, 2.2rem);
    }

    .hero-sub {
        font-size: 0.88rem;
        margin-bottom: 24px;
    }

    .hero-stats-row {
        gap: 16px;
        margin-top: 28px;
        padding-top: 22px;
    }

    .hero-stat-num {
        font-size: 1.4rem;
    }

    .hero-stat-label {
        font-size: 0.72rem;
    }

    /* Chaos */
    .chaos-grid {
        gap: 14px;
        margin-top: 32px;
    }

    .chaos-card {
        padding: 22px 18px;
    }

    .chaos-card h3 {
        font-size: 1.1rem;
        margin-bottom: 18px;
    }

    .chaos-list li {
        font-size: 0.85rem;
        gap: 10px;
    }

    .chaos-quote {
        padding: 18px 20px;
    }

    .chaos-quote p {
        font-size: 0.9rem;
    }

    /* Toolset */
    .tools-grid {
        margin-top: 36px;
        gap: 14px;
    }

    .tool-card {
        padding: 22px 18px;
    }

    .tool-logo {
        width: 46px;
        height: 46px;
        margin-bottom: 14px;
    }

    .tool-name {
        font-size: 1rem;
    }

    .tool-desc {
        font-size: 0.83rem;
    }

    /* Pipeline */
    .pipeline-node {
        flex: 0 0 calc(50% - 10px);
    }

    .node-circle {
        width: 52px;
        height: 52px;
    }

    .node-circle svg {
        width: 22px;
        height: 22px;
    }

    .pipeline-features {
        margin-top: 36px;
        gap: 12px;
    }

    .pf-card {
        padding: 18px;
    }

    .pf-title {
        font-size: 0.88rem;
    }

    .pf-desc {
        font-size: 0.8rem;
    }

    /* Automation */
    .auto-channel {
        padding: 22px 18px;
    }

    .ch-icon {
        width: 52px;
        height: 52px;
        border-radius: 14px;
    }

    .auto-features {
        gap: 12px;
    }

    .af-item {
        padding: 16px;
        gap: 12px;
    }

    .af-num {
        font-size: 1.2rem;
    }

    .af-title {
        font-size: 0.85rem;
    }

    .af-desc {
        font-size: 0.79rem;
    }

    /* CCTV */
    .cctv-body {
        padding: 12px;
        gap: 10px;
    }

    .cctv-kpi {
        padding: 14px;
    }

    .cctv-kpi-val {
        font-size: 1.2rem;
    }

    .cctv-bars {
        height: 60px;
    }

    /* Use Cases */
    .uc-grid {
        gap: 16px;
        margin-top: 36px;
    }

    .uc-card-header {
        padding: 20px 20px 14px;
    }

    .uc-body {
        padding: 0 20px 20px;
    }

    .uc-title {
        font-size: 1rem;
    }

    .uc-metric-val {
        font-size: 1.4rem;
    }

    /* ROI */
    .roi-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1px;
        margin-top: 36px;
    }

    .roi-card {
        padding: 24px 14px;
    }

    .roi-num {
        font-size: clamp(1.8rem, 6vw, 2.4rem);
    }

    .roi-label {
        font-size: 0.7rem;
    }

    .roi-desc {
        font-size: 0.75rem;
    }

    /* Pillars */
    .pillars-diagram {
        margin-top: 36px;
        gap: 10px;
    }

    .pillar-outer {
        padding: 18px 16px;
        gap: 12px;
    }

    .pillar-outer-icon {
        width: 48px;
        height: 48px;
        border-radius: 12px;
    }

    .pillar-outer-name {
        font-size: 0.88rem;
    }

    .pillar-outer-desc {
        font-size: 0.79rem;
    }

    .pillar-center {
        padding: 24px 16px;
    }

    .pillar-center-title {
        font-size: 1rem;
    }

    .pillar-center-desc {
        font-size: 0.82rem;
    }

    .pcf-row {
        padding: 8px 10px;
    }

    .pcf-text {
        font-size: 0.75rem;
    }

    /* CTA */
    .cta-headline {
        font-size: clamp(1.6rem, 7vw, 2.4rem);
    }

    .cta-sub {
        font-size: 0.88rem;
    }

    .cta-trust {
        margin-top: 32px;
        gap: 12px;
    }

    .trust-text {
        font-size: 0.78rem;
    }

    /* Footer */
    .footer {
        padding: 20px 16px;
        gap: 10px;
    }

    .footer-copy {
        font-size: 0.72rem;
    }
}

/* ── Small Mobile (≤400px) ── */
@media (max-width: 400px) {

    /* Nav */
    .ng-nav {
        padding: 0 12px;
        height: 64px;
    }

    .ng-mobile-menu {
        top: 64px;
    }

    .ng-logo .logo-wordmark {
        font-size: 0.9rem;
    }

    .ng-logo .logo-tagline {
        display: none;
    }

    /* Hero */
    .hero-section {
        padding: 84px 0 36px;
    }

    .hero-headline {
        font-size: clamp(1.5rem, 9vw, 1.9rem);
    }

    .hero-stats-row {
        gap: 12px;
    }

    .hero-stat-num {
        font-size: 1.2rem;
    }

    /* Sections */
    section {
        padding: 44px 0;
    }

    .section-inner {
        padding: 0 12px;
    }

    .section-headline {
        font-size: clamp(1.4rem, 8vw, 1.8rem);
    }

    /* Chaos card: stack icon above on very small */
    .chaos-card {
        padding: 18px 14px;
    }

    .chaos-list li {
        flex-direction: row;
    }

    /* Pipeline: single column nodes */
    .pipeline-node {
        flex: 0 0 calc(50% - 8px);
    }

    .node-circle {
        width: 48px;
        height: 48px;
    }

    .pf-card {
        padding: 14px;
    }

    /* Automation */
    .auto-channel {
        padding: 18px 14px;
    }

    .af-item {
        padding: 14px 12px;
    }

    /* ROI: single column on very small */
    .roi-grid {
        grid-template-columns: 1fr;
    }

    .roi-card {
        padding: 20px;
    }

    /* Pillars */
    .pillar-outer {
        padding: 14px 12px;
    }

    .pillar-center {
        padding: 20px 14px;
    }

    /* CTA */
    .cta-section {
        padding: 48px 0;
    }

    .cta-headline {
        font-size: clamp(1.3rem, 8.5vw, 1.7rem);
    }

    /* Footer */
    .footer {
        padding: 16px 12px;
    }
}

/* ─── Company logo image ─── */
.ng-logo-img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    flex-shrink: 0;
    border-radius: 6px;
}

.footer-logo .ng-logo-img {
    width: 36px;
    height: 36px;
}