/* ══════════════════════════════════════════════════════════════════
   Green Edge Technologies — CCTV Installation · cctv-installation.css
   Aesthetic: Dark surveillance ops — scan lines, camera HUD, signal
══════════════════════════════════════════════════════════════════ */

/* ── TOKENS ──────────────────────────────────────────────────────── */
:root {
  --bg:#0A0F1C; --bg-2:#121826; --bg-3:#0d1220;
  --surface:#1A2235; --surface-2:#202c42;
  --border:rgba(255,255,255,.07); --border-g:rgba(0,200,83,.22);
  --text:#FFFFFF; --text-muted:#B0B8C5; --text-faint:#6F7A8A;
  --green:#00C853; --green-dark:#006837;
  --green-glow:rgba(0,200,83,.30); --green-subtle:rgba(0,200,83,.08);
  --ai-blue:#00A8FF; --tech-purple:#6C63FF; --orange:#FF6B00;
  /* CCTV-specific accent: electric teal */
  --cctv-teal:#00E5CC; --cctv-teal-glow:rgba(0,229,204,.25);
  --cctv-red:#FF2D55; --cctv-red-glow:rgba(255,45,85,.25);
  --grad-text:linear-gradient(120deg,#00C853 0%,#00E5CC 50%,#00A8FF 100%);
  --grad-btn:linear-gradient(135deg,#00C853,#006837);
  --font-d:'Manrope',sans-serif; --font-b:'Inter',sans-serif;
  --mono:'JetBrains Mono',monospace;
  --radius:14px; --radius-lg:22px;
  --ease:cubic-bezier(.16,1,.3,1);
  --nav-h:72px
}
body.light {
  --bg:#F0F4F8; --bg-2:#E4EAF0; --bg-3:#D8E0EA;
  --surface:#FFFFFF; --surface-2:#F0F4F8;
  --border:rgba(0,0,0,.08); --border-g:rgba(0,200,83,.30);
  --text:#0A0F1C; --text-muted:#4A5568; --text-faint:#9AA5B4;
  --green-subtle:rgba(0,200,83,.10)
}
*,*::before,*::after { box-sizing:border-box; margin:0; padding:0 }
html { scroll-behavior:smooth; overflow-x:hidden }
body {
  background:var(--bg); color:var(--text);
  font-family:var(--font-b); font-size:16px; line-height:1.7;
  cursor:default;
  transition:background .4s,color .4s
}
a { color:inherit; text-decoration:none }
ul { list-style:none }
button { border:none; background:none; font-family:inherit; cursor:pointer }
input,select,textarea { font-family:inherit; font-size:inherit; outline:none }

/* NOISE */
/* CURSOR — red crosshair for surveillance theme */

/* CONTAINER */
.container { max-max-width: 1240px; width: 100%; margin:0 auto; padding:0 28px }

/* BUTTONS */
.btn {
  display:inline-flex; align-items:center; gap:9px;
  padding:12px 26px; border-radius:9px;
  font-family:var(--font-d); font-weight:700; font-size:.9rem;
  letter-spacing:.01em; transition:all .3s var(--ease);
  position:relative; overflow:hidden; cursor:pointer
}
.btn::after {
  content:''; position:absolute; inset:0; opacity:0;
  background:rgba(255,255,255,.1); border-radius:inherit; transition:opacity .25s
}
.btn:hover::after { opacity:1 }
.btn-primary {
  background:var(--grad-btn); color:#fff;
  box-shadow:0 4px 22px var(--green-glow)
}
.btn-primary:hover { transform:translateY(-2px); box-shadow:0 10px 40px var(--green-glow),0 0 0 1px rgba(0,200,83,.35) }
.btn-ghost { border:1.5px solid var(--green); color:var(--green); background:var(--green-subtle) }
.btn-ghost:hover { background:rgba(0,200,83,.16); transform:translateY(-2px); box-shadow:0 6px 26px var(--green-glow) }
.btn-lg  { padding:15px 34px; font-size:1rem; border-radius:11px }
.btn-xl  { padding:17px 42px; font-size:1.05rem; border-radius:12px }
.btn-sm  { padding:9px 18px; font-size:.82rem }
.btn-pulse { animation:btnPulse 3s ease-in-out infinite }
.btn-pulse:hover { animation:none }
@keyframes btnPulse {
  0%,100% { box-shadow:0 4px 22px var(--green-glow) }
  50% { box-shadow:0 4px 44px rgba(0,200,83,.6),0 0 0 7px rgba(0,200,83,.07) }
}

/* SECTION SHARED */
.section { padding:110px 0; position:relative }
.section-tag {
  display:inline-block; font-family:var(--font-d); font-size:.7rem;
  font-weight:800; letter-spacing:.16em; text-transform:uppercase;
  color:var(--green); background:var(--green-subtle);
  border:1px solid var(--border-g); padding:4px 14px;
  border-radius:100px; margin-bottom:1.25rem
}
.section-header { text-align:center; max-max-width: 700px; width: 100%; margin:0 auto 5rem }
.section-title {
  font-family:var(--font-d); font-size:clamp(1.875rem, 3.75vw, 3.0469rem);
  font-weight:800; line-height:1.12; letter-spacing:-.03em; margin-bottom:1.1rem
}
.section-sub { font-size:1.05rem; color:var(--text-muted); max-max-width: 560px; width: 100%; margin:0 auto; line-height:1.75 }
.gradient-text {
  background:var(--grad-text); -webkit-background-clip:text;
  -webkit-text-fill-color:transparent; background-clip:text
}

/* REVEALS */
.reveal-section,.reveal-card {
  opacity:0; transform:translateY(36px);
  transition:opacity .7s var(--ease),transform .7s var(--ease)
}
.reveal-card { transition-delay:calc(var(--i,0)*.08s) }
.reveal-section.is-visible,.reveal-card.is-visible { opacity:1; transform:translateY(0) }

/* BACK TO TOP */
.progress-ring-wrap {
  position:fixed; bottom:2rem; right:2rem; z-index:1200;
  width:52px; height:52px; border-radius:50%;
  background:var(--surface); border:none;
  display:flex; align-items:center; justify-content:center;
  cursor:pointer; opacity:0; visibility:hidden;
  transform:translateY(14px) scale(.9);
  transition:opacity .35s,visibility .35s,transform .35s var(--ease);
  box-shadow:0 4px 24px rgba(0,0,0,.4)
}
.progress-ring-wrap.visible { opacity:1; visibility:visible; transform:translateY(0) scale(1) }
.progress-ring-wrap:hover { transform:translateY(-3px) scale(1.06) }
.progress-ring { position:absolute; inset:0; transform:rotate(-90deg) }
.progress-ring__track { fill:none; stroke:rgba(255,255,255,.08); stroke-width:2.5 }
.progress-ring__fill {
  fill:none; stroke:var(--green); stroke-width:2.5; stroke-linecap:round;
  stroke-dasharray:125.66; stroke-dashoffset:125.66; transition:stroke-dashoffset .1s linear
}
.progress-ring__icon { position:relative; z-index:1; color:var(--green) }

/* ══ NAV ═════════════════════════════════════════════════════════════ */
/* ══ FOOTER ══════════════════════════════════════════════════════════ */
.footer { background:var(--bg-3); border-top:1px solid var(--border) }
.footer-top-bar { background:rgba(0,200,83,.05); border-bottom:1px solid var(--border-g); padding:13px 0 }
.footer-top-inner {
  display:flex; align-items:center; justify-content:space-between;
  gap:1rem; flex-wrap:wrap; font-size:.8rem;
  color:var(--text-muted); font-family:var(--font-d); font-weight:600
}
.footer-socials { display:flex; gap:8px }
.social-link {
  width:32px; height:32px; border-radius:8px; background:var(--surface);
  border:1px solid var(--border); display:flex; align-items:center;
  justify-content:center; color:var(--text-faint); transition:all .2s; cursor:pointer
}
.social-link:hover { background:var(--green-subtle); color:var(--green); border-color:var(--border-g) }
.footer-main { padding:60px 0 44px }
.footer-grid { display:grid; grid-template-columns:1.8fr 1fr 1fr 1fr 1fr; gap:3rem }
.footer-brand p { font-size:.875rem; color:var(--text-muted); line-height:1.75; margin-bottom:2rem; max-width:280px }
.newsletter-wrap { margin-top:1.5rem }
.newsletter-label {
  font-family:var(--font-d); font-size:.72rem; font-weight:700;
  letter-spacing:.1em; text-transform:uppercase; color:var(--text-faint); margin-bottom:.75rem
}
.newsletter-form { display:flex; gap:.5rem }
.newsletter-form input {
  flex:1; background:var(--surface); border:1px solid var(--border);
  border-radius:9px; padding:.7rem 1rem; color:var(--text); font-size:.85rem; min-width:0
}
.newsletter-form input:focus { border-color:var(--border-g); box-shadow:0 0 0 3px rgba(0,200,83,.1) }
.footer-col h5 {
  font-family:var(--font-d); font-size:.73rem; font-weight:800;
  letter-spacing:.12em; text-transform:uppercase; margin-bottom:1.25rem
}
.footer-col ul { display:flex; flex-direction:column; gap:9px }
.footer-col a { font-size:.875rem; color:var(--text-muted); transition:color .2s; cursor:pointer }
.footer-col a:hover { color:var(--green) }
.footer-bottom { border-top:1px solid var(--border); padding:22px 0 }
.footer-bottom-inner {
  display:flex; justify-content:space-between; align-items:center;
  flex-wrap:wrap; gap:1rem; font-size:.79rem; color:var(--text-faint)
}
.footer-legal { display:flex; gap:1.5rem }
.footer-legal a { color:var(--text-faint); transition:color .2s; cursor:pointer }
.footer-legal a:hover { color:var(--green) }

/* ══════════════════════════════════════════════════════════════════
   CCTV PAGE — UNIQUE SURVEILLANCE AESTHETIC
   Design direction: Dark ops command centre / security HUD
══════════════════════════════════════════════════════════════════ */

/* ── SCANLINE global texture overlay (surveillance aesthetic) ──── */
.scanline-overlay {
  position:fixed; inset:0; pointer-events:none; z-index:8999;
  background:repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(0,0,0,.04) 2px,
    rgba(0,0,0,.04) 4px
  );
  opacity:1
}
body.light .scanline-overlay { opacity:.3 }

/* ── HERO ════════════════════════════════════════════════════════════ */
.cctv-hero {
  min-height:100svh; display:flex; align-items:center;
  padding-top:var(--nav-h); background:var(--bg);
  position:relative; overflow:hidden
}
/* Deep radial that evokes a surveillance room */
.cctv-hero::before {
  content:''; position:absolute; inset:0; pointer-events:none;
  background:
    radial-gradient(ellipse 65% 55% at 72% 42%, rgba(0,229,204,.06) 0%, transparent 70%),
    radial-gradient(ellipse 45% 40% at 10% 70%, rgba(0,200,83,.05) 0%, transparent 60%),
    radial-gradient(ellipse 30% 30% at 90% 10%, rgba(255,45,85,.04) 0%, transparent 50%)
}
/* Hexagonal dot grid */
.cctv-hero-dots {
  position:absolute; inset:0; pointer-events:none; opacity:.04;
  background-image:radial-gradient(circle, var(--cctv-teal) 1px, transparent 1px);
  background-size:32px 32px
}
.cctv-hero-inner {
  display:grid; grid-template-columns:1.1fr .9fr;
  gap:4rem; align-items:center;
  padding:5rem 0 4rem; position:relative; z-index:1
}

/* left text column */
.cctv-hero-eyebrow {
  display:flex; align-items:center; gap:12px; margin-bottom:1.5rem
}
.cctv-rec {
  display:flex; align-items:center; gap:6px;
  font-family:var(--mono); font-size:.65rem; font-weight:500;
  color:var(--cctv-red); letter-spacing:.12em; text-transform:uppercase
}
.cctv-rec-dot {
  width:8px; height:8px; border-radius:50%; background:var(--cctv-red);
  box-shadow:0 0 10px var(--cctv-red-glow);
  animation:recBlink 1.8s ease-in-out infinite
}
@keyframes recBlink { 0%,100%{opacity:1} 50%{opacity:.25} }
.cctv-hero-badge {
  display:inline-flex; align-items:center; gap:6px;
  font-family:var(--mono); font-size:.65rem; font-weight:500;
  color:var(--cctv-teal); letter-spacing:.1em; text-transform:uppercase;
  padding:4px 11px; border:1px solid rgba(0,229,204,.2);
  border-radius:4px; background:rgba(0,229,204,.05)
}
.cctv-hero-title {
  font-family:var(--font-d);
  font-size:clamp(2.4375rem, 5.1562vw, 4.3125rem);
  font-weight:800; line-height:1.05;
  letter-spacing:-.04em; margin-bottom:1.4rem;
  animation:heroFadeUp .9s var(--ease) .1s both
}
@keyframes heroFadeUp { from{opacity:0;transform:translateY(28px)} to{opacity:1;transform:translateY(0)} }
.cctv-hero-sub {
  font-size:1.05rem; color:var(--text-muted); line-height:1.82;
  max-max-width: 500px; width: 100%; margin-bottom:2.5rem;
  animation:heroFadeUp .9s var(--ease) .2s both
}
.cctv-hero-ctas {
  display:flex; gap:.85rem; flex-wrap:wrap;
  animation:heroFadeUp .9s var(--ease) .3s both
}
/* live stats row */
.cctv-stats {
  display:flex; gap:2rem; margin-top:2.5rem; flex-wrap:wrap;
  animation:heroFadeUp .9s var(--ease) .4s both
}
.cctv-stat { display:flex; flex-direction:column; gap:2px }
.cctv-stat-val {
  font-family:var(--font-d); font-size:1.75rem; font-weight:800;
  letter-spacing:-.04em; color:var(--text)
}
.cctv-stat-val span { color:var(--green) }
.cctv-stat-label { font-size:.75rem; color:var(--text-faint); font-family:var(--mono) }

/* right: surveillance dashboard visual */
.cctv-hv { animation:heroFadeUp .9s var(--ease) .18s both; position:relative }
.cctv-monitor {
  background:var(--bg-3); border:1px solid var(--border);
  border-radius:20px; overflow:hidden;
  box-shadow:0 40px 100px rgba(0,0,0,.7), 0 0 0 1px rgba(0,229,204,.06);
  position:relative
}
body.light .cctv-monitor { box-shadow:0 40px 100px rgba(0,0,0,.15), 0 0 0 1px rgba(0,229,204,.1) }
/* monitor top bar */
.cctv-mon-bar {
  display:flex; align-items:center; justify-content:space-between;
  padding:10px 14px; border-bottom:1px solid var(--border);
  background:rgba(0,0,0,.3)
}
.cctv-mon-title {
  font-family:var(--mono); font-size:.6rem; font-weight:500;
  color:var(--cctv-teal); letter-spacing:.12em; text-transform:uppercase
}
.cctv-mon-status {
  display:flex; align-items:center; gap:6px;
  font-family:var(--mono); font-size:.6rem; color:var(--cctv-red)
}
.cctv-mon-rec { width:6px; height:6px; border-radius:50%; background:var(--cctv-red); animation:recBlink 1.8s ease-in-out infinite }
/* grid of camera feeds */
.cctv-feed-grid {
  display:grid; grid-template-columns:repeat(2,1fr);
  grid-template-rows:repeat(2,1fr);
  gap:2px; background:var(--bg); padding:2px;
  aspect-ratio:16/10
}
.cctv-feed {
  background:var(--surface); position:relative; overflow:hidden;
  transition:transform .3s var(--ease)
}
.cctv-feed:hover { z-index:2; transform:scale(1.02) }
/* scanline per feed */
.cctv-feed::before {
  content:''; position:absolute; inset:0; pointer-events:none; z-index:2;
  background:repeating-linear-gradient(0deg,transparent,transparent 3px,rgba(0,0,0,.07) 3px,rgba(0,0,0,.07) 4px)
}
/* camera label */
.cctv-feed-label {
  position:absolute; top:6px; left:7px; z-index:3;
  font-family:var(--mono); font-size:.55rem; font-weight:500;
  color:rgba(0,229,204,.85); letter-spacing:.08em;
  text-shadow:0 1px 4px rgba(0,0,0,.8)
}
.cctv-feed-time {
  position:absolute; bottom:6px; right:7px; z-index:3;
  font-family:var(--mono); font-size:.5rem; color:rgba(255,255,255,.5)
}
/* status LED per feed */
.cctv-feed-led {
  position:absolute; top:6px; right:7px; z-index:3;
  width:5px; height:5px; border-radius:50%; background:var(--cctv-red);
  animation:recBlink 1.8s ease-in-out var(--ld,0s) infinite
}
/* building silhouette scenes inside feeds using CSS */
.cctv-scene {
  position:absolute; inset:0; display:flex; align-items:flex-end;
  justify-content:center; overflow:hidden
}
.cctv-scene-1 {
  background:linear-gradient(180deg, #060b14 0%, #0c1520 50%, #090e1a 100%)
}
.cctv-scene-2 {
  background:linear-gradient(180deg, #07100a 0%, #0a1810 50%, #060c09 100%)
}
.cctv-scene-3 {
  background:linear-gradient(180deg, #100810 0%, #120a16 50%, #0c0810 100%)
}
.cctv-scene-4 {
  background:linear-gradient(180deg, #0a0c05 0%, #0f1209 50%, #080a06 100%)
}
body.light .cctv-scene-1 { background:linear-gradient(180deg,#d0dcea,#b8c8dc) }
body.light .cctv-scene-2 { background:linear-gradient(180deg,#c8dcd0,#b0ccb8) }
body.light .cctv-scene-3 { background:linear-gradient(180deg,#d4cce0,#c0b8d0) }
body.light .cctv-scene-4 { background:linear-gradient(180deg,#d8dcc8,#c8d0b0) }
/* CSS "buildings" */
.cctv-bldg {
  position:absolute; bottom:0; background:rgba(0,0,0,.55);
  border-top-left-radius:2px; border-top-right-radius:2px
}
body.light .cctv-bldg { background:rgba(80,100,130,.35) }
/* motion detection overlay */
.cctv-motion {
  position:absolute; z-index:1;
  border:1px solid rgba(0,229,204,.6);
  animation:motionPulse 2.5s ease-in-out var(--mp,0s) infinite
}
@keyframes motionPulse {
  0%,100%{opacity:0;transform:scale(.95)} 30%,70%{opacity:1;transform:scale(1)}
}
/* monitor bottom bar */
.cctv-mon-footer {
  display:flex; align-items:center; justify-content:space-between;
  padding:8px 14px; border-top:1px solid var(--border);
  background:rgba(0,0,0,.3)
}
.cctv-mon-cams {
  font-family:var(--mono); font-size:.58rem; color:var(--text-faint); letter-spacing:.08em
}
.cctv-mon-indicator {
  display:flex; gap:6px
}
.cctv-mon-indicator span {
  width:6px; height:6px; border-radius:50%; background:var(--cctv-teal);
  animation:dotPulse 2s ease-in-out var(--di,0s) infinite
}
@keyframes dotPulse { 0%,100%{opacity:.3} 50%{opacity:1} }
/* floating status chip */
.cctv-chip {
  position:absolute; display:flex; align-items:center; gap:7px;
  font-family:var(--font-d); font-size:.68rem; font-weight:700;
  padding:7px 13px; border-radius:100px;
  box-shadow:0 8px 32px rgba(0,0,0,.5); backdrop-filter:blur(8px);
  white-space:nowrap; z-index:2
}
.cctv-chip--a {
  top:-18px; right:-10px;
  background:rgba(255,45,85,.12); border:1px solid rgba(255,45,85,.3); color:var(--cctv-red);
  animation:floatA 3.5s ease-in-out infinite
}
.cctv-chip--b {
  bottom:-18px; left:-8px;
  background:rgba(0,229,204,.1); border:1px solid rgba(0,229,204,.3); color:var(--cctv-teal);
  animation:floatB 4s ease-in-out infinite
}
@keyframes floatA { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-8px)} }
@keyframes floatB { 0%,100%{transform:translateY(0)} 50%{transform:translateY(7px)} }

/* ══ 1. WHY CCTV — diagonal split layout ═════════════════════════════ */
.why-section {
  background:var(--bg-2); padding:110px 0; position:relative; overflow:hidden
}
.why-section::before {
  content:''; position:absolute; inset:0;
  background:radial-gradient(ellipse at 90% 10%, rgba(0,229,204,.04) 0%, transparent 50%)
}
/* diagonal divider top */
.why-section::after {
  content:''; position:absolute; top:-1px; left:0; right:0; height:60px;
  background:var(--bg);
  clip-path:polygon(0 0, 100% 0, 100% 0, 0 100%)
}
.why-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:1.5rem }
.why-card {
  background:var(--surface); border:1px solid var(--border);
  border-radius:var(--radius-lg); padding:2rem 1.75rem;
  position:relative; overflow:hidden; cursor:pointer;
  transition:transform .35s var(--ease),border-color .3s,box-shadow .35s
}
/* unique: left accent bar instead of top bar */
.why-card::before {
  content:''; position:absolute; left:0; top:0; bottom:0; width:3px;
  background:var(--wc-accent, var(--green));
  transform:scaleY(0); transform-origin:bottom;
  transition:transform .4s var(--ease)
}
.why-card:hover { transform:translateY(-6px) translateX(3px); border-color:var(--border-g); box-shadow:0 24px 64px rgba(0,0,0,.35) }
.why-card:hover::before { transform:scaleY(1) }
.why-num {
  font-family:var(--mono); font-size:2rem; font-weight:700;
  color:var(--border); margin-bottom:1rem; letter-spacing:-.04em;
  transition:color .3s
}
.why-card:hover .why-num { color:var(--wc-accent, var(--green)); opacity:.3 }
.why-icon {
  width:48px; height:48px; border-radius:12px;
  display:flex; align-items:center; justify-content:center;
  margin-bottom:1.1rem; transition:transform .3s var(--ease)
}
.why-card:hover .why-icon { transform:scale(1.12) rotate(-5deg) }
.why-card h3 { font-family:var(--font-d); font-size:1rem; font-weight:800; margin-bottom:.6rem; line-height:1.3 }
.why-card p { font-size:.875rem; color:var(--text-muted); line-height:1.75 }

/* ══ 2. CCTV SERVICES — asymmetric bento grid ═══════════════════════ */
.services-section {
  background:var(--bg); padding:110px 0; overflow:hidden
}
.cctv-bento {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:1.5rem
}
.cctv-bento-card {
  background:var(--surface); border:1px solid var(--border);
  border-radius:var(--radius-lg); padding:2rem;
  position:relative; overflow:hidden; cursor:pointer;
  display:flex; flex-direction:column; align-self:stretch;
  transition:border-color .3s,box-shadow .35s,transform .35s var(--ease)
}
.cctv-bc-body { display:flex; flex-direction:column; flex:1 }
.cctv-bc-body p { flex:1 }
.cctv-bento-card:hover { border-color:var(--border-g); box-shadow:0 24px 60px rgba(0,0,0,.35); transform:translateY(-4px) }
/* glow corner */
.cctv-bento-card::after {
  content:''; position:absolute; bottom:0; right:0;
  max-width: 120px; width: 100%; height:120px; pointer-events:none;
  background:radial-gradient(circle, var(--bc-glow,rgba(0,200,83,.07)) 0%, transparent 70%);
  border-radius:inherit; transition:opacity .4s
}
.cctv-bento-card:hover::after { opacity:2 }
.cctv-bc-icon {
  width:50px; height:50px; border-radius:14px;
  display:flex; align-items:center; justify-content:center;
  margin-bottom:1.2rem; border:1px solid var(--border);
  transition:transform .3s var(--ease)
}
.cctv-bento-card:hover .cctv-bc-icon { transform:scale(1.1) rotate(-4deg) }
.cctv-bc-body h3 { font-family:var(--font-d); font-size:1.05rem; font-weight:800; margin-bottom:.55rem; line-height:1.3 }
.cctv-bc-body p { font-size:.86rem; color:var(--text-muted); line-height:1.72; flex:1 }
.cctv-bc-tag {
  display:inline-flex; align-items:center; gap:5px; margin-top:.9rem;
  font-family:var(--mono); font-size:.6rem; font-weight:500;
  letter-spacing:.1em; text-transform:uppercase; color:var(--green);
  padding:3px 9px; border:1px solid var(--border-g); border-radius:4px
}

/* ══ 3. CAMERA TYPES — unique card with camera angle visual ══════════ */
.types-section {
  background:var(--bg-2); padding:110px 0; position:relative
}
.types-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:1.5rem }
.type-card {
  background:var(--surface); border:1px solid var(--border);
  border-radius:var(--radius-lg); overflow:hidden; cursor:pointer;
  transition:border-color .3s,box-shadow .35s,transform .35s var(--ease)
}
.type-card:hover { border-color:var(--border-g); box-shadow:0 20px 60px rgba(0,0,0,.32); transform:translateY(-5px) }
/* camera preview area at top */
.type-card-preview {
  height:120px; background:var(--bg-3); position:relative;
  display:flex; align-items:center; justify-content:center; overflow:hidden;
  border-bottom:1px solid var(--border)
}
.type-card-preview::before {
  content:''; position:absolute; inset:0;
  background:radial-gradient(circle at 50% 50%, var(--tc-glow,rgba(0,200,83,.08)) 0%, transparent 65%)
}
/* camera FOV arc */
.type-card-fov {
  position:absolute; bottom:0; left:50%; transform:translateX(-50%);
  width:0; height:0;
  border-left:solid transparent var(--fov-w,50px);
  border-right:solid transparent var(--fov-w,50px);
  border-bottom:solid var(--fov-h,80px) var(--tc-color,rgba(0,200,83,.06));
  transition:opacity .3s
}
.type-card:hover .type-card-fov { opacity:1.6 }
.type-card-icon {
  width:48px; height:48px; border-radius:12px; z-index:1;
  display:flex; align-items:center; justify-content:center;
  background:var(--surface); border:1px solid var(--border);
  transition:transform .35s var(--ease)
}
.type-card:hover .type-card-icon { transform:scale(1.12) }
.type-card-body { padding:1.5rem 1.75rem }
.type-card-body h3 { font-family:var(--font-d); font-size:1rem; font-weight:800; margin-bottom:.5rem }
.type-card-body p { font-size:.85rem; color:var(--text-muted); line-height:1.72 }
.type-specs {
  display:flex; flex-wrap:wrap; gap:.45rem; margin-top:.9rem
}
.type-spec {
  font-family:var(--mono); font-size:.58rem; font-weight:500;
  color:var(--text-faint); padding:2px 8px;
  border:1px solid var(--border); border-radius:3px
}

/* ══ 4. PROCESS — vertical left-rail timeline ════════════════════════ */
.process-section { background:var(--bg); padding:110px 0 }
.proc-layout { display:grid; grid-template-columns:1fr 1fr; gap:6rem; align-items:start }
.proc-left { position:sticky; top:calc(var(--nav-h) + 2rem) }
.proc-left .section-tag { margin-bottom:1.25rem }
.proc-left h2 {
  font-family:var(--font-d); font-size:clamp(1.6875rem, 2.8125vw, 2.625rem);
  font-weight:800; letter-spacing:-.03em; line-height:1.2; margin-bottom:1rem
}
.proc-left p { font-size:.95rem; color:var(--text-muted); line-height:1.8 }
/* vertical timeline */
.proc-timeline { display:flex; flex-direction:column; gap:0; position:relative }
.proc-timeline::before {
  content:''; position:absolute; left:23px; top:24px; bottom:24px;
  width:2px; background:linear-gradient(180deg,var(--green) 0%,rgba(0,200,83,.1) 100%)
}
.proc-step {
  display:flex; gap:1.5rem; padding:0 0 2.5rem;
  position:relative; align-items:flex-start
}
.proc-step:last-child { padding-bottom:0 }
.proc-step-badge {
  width:48px; height:48px; border-radius:50%; flex-shrink:0;
  background:var(--bg-2); border:2px solid var(--border);
  display:flex; align-items:center; justify-content:center;
  position:relative; z-index:1;
  transition:border-color .35s,background .35s,transform .35s var(--ease);
  box-shadow:0 0 0 6px var(--bg)
}
.proc-step:hover .proc-step-badge {
  border-color:var(--green); background:var(--green-subtle); transform:scale(1.1)
}
.proc-step-num {
  position:absolute; top:-6px; right:-6px;
  width:20px; height:20px; border-radius:50%;
  background:var(--green); color:#fff;
  font-family:var(--font-d); font-size:.62rem; font-weight:800;
  display:flex; align-items:center; justify-content:center
}
.proc-step-body { padding-top:.4rem; flex:1 }
.proc-step-body h3 {
  font-family:var(--font-d); font-size:1rem; font-weight:800; margin-bottom:.4rem
}
.proc-step-body p { font-size:.86rem; color:var(--text-muted); line-height:1.7 }

/* ══ 5. FEATURES — full-bleed dark panel with offset image ══════════ */
.features-section {
  background:var(--bg-2); padding:110px 0; position:relative; overflow:hidden
}
.features-section::before {
  content:''; position:absolute; inset:0;
  background:radial-gradient(ellipse at 20% 50%, rgba(0,229,204,.04) 0%, transparent 55%)
}
.features-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:1.25rem }
.feat-card {
  background:var(--surface); border:1px solid var(--border);
  border-radius:var(--radius-lg); padding:1.875rem;
  cursor:pointer; position:relative; overflow:hidden;
  transition:border-color .3s,box-shadow .35s,transform .35s var(--ease)
}
.feat-card:hover { border-color:var(--border-g); box-shadow:0 20px 55px rgba(0,0,0,.32); transform:translateY(-5px) }
/* number watermark */
.feat-card-n {
  position:absolute; bottom:.5rem; right:1rem;
  font-family:var(--mono); font-size:4rem; font-weight:700;
  color:var(--border); line-height:1; transition:color .35s
}
.feat-card:hover .feat-card-n { color:rgba(0,200,83,.06) }
.feat-icon {
  width:48px; height:48px; border-radius:13px;
  display:flex; align-items:center; justify-content:center;
  margin-bottom:1.2rem; border:1px solid var(--border);
  transition:transform .3s var(--ease)
}
.feat-card:hover .feat-icon { transform:scale(1.1) rotate(-4deg) }
.feat-card h3 { font-family:var(--font-d); font-size:1rem; font-weight:800; margin-bottom:.5rem }
.feat-card p { font-size:.85rem; color:var(--text-muted); line-height:1.72 }

/* ══ 6. INDUSTRIES — hexagonal icon grid ════════════════════════════ */
.ind-section { background:var(--bg); padding:110px 0 }
.ind-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:1.5rem }
.ind-card {
  background:var(--surface); border:1px solid var(--border);
  border-radius:var(--radius-lg); padding:2rem 1.75rem;
  display:flex; align-items:center; gap:1.25rem; cursor:pointer;
  transition:border-color .3s,box-shadow .3s,transform .35s var(--ease)
}
.ind-card:hover { border-color:var(--border-g); box-shadow:0 18px 50px rgba(0,0,0,.28); transform:translateX(5px) }
/* unique: slide-right on hover instead of lift */
.ind-icon {
  width:52px; height:52px; border-radius:14px; flex-shrink:0;
  display:flex; align-items:center; justify-content:center;
  border:1px solid var(--border);
  transition:transform .3s var(--ease)
}
.ind-card:hover .ind-icon { transform:scale(1.1) }
.ind-body h3 { font-family:var(--font-d); font-size:.98rem; font-weight:800; margin-bottom:.25rem }
.ind-body p { font-size:.82rem; color:var(--text-faint); line-height:1.55 }

/* ══ 7. TESTIMONIALS ════════════════════════════════════════════════ */
.test-section { background:var(--bg-2); padding:110px 0; overflow:hidden }
.tcar-wrap { position:relative }
.tcar-viewport { overflow:hidden; border-radius:var(--radius-lg) }
.tcar-track { display:flex; gap:1.5rem; transition:transform .55s var(--ease) }
.tcard {
  background:var(--surface); border:1px solid var(--border);
  border-radius:var(--radius-lg); padding:2rem;
  flex-shrink:0; width:calc(50% - .75rem);
  display:flex; flex-direction:column; gap:1.25rem;
  position:relative; overflow:hidden
}
/* surveillance-style corner brackets */
.tcard::before,.tcard::after {
  content:''; position:absolute; width:14px; height:14px;
  border-color:rgba(0,200,83,.25); border-style:solid
}
.tcard::before { top:12px; left:12px; border-width:1.5px 0 0 1.5px }
.tcard::after  { bottom:12px; right:12px; border-width:0 1.5px 1.5px 0 }
.tcard-stars { display:flex; gap:3px }
.tcard-star { color:var(--orange); font-size:.9rem }
.tcard-quote {
  font-size:.95rem; color:var(--text-muted); line-height:1.82;
  font-style:italic; flex:1
}
.tcard-quote::before {
  content:'\201C'; font-size:2.5rem; color:var(--cctv-teal);
  line-height:0; vertical-align:-.45em; margin-right:3px
}
.tcard-author { display:flex; align-items:center; gap:.85rem }
.tcard-avatar {
  width:44px; height:44px; border-radius:50%;
  background:rgba(0,229,204,.1); border:2px solid rgba(0,229,204,.25);
  display:flex; align-items:center; justify-content:center;
  font-family:var(--font-d); font-size:.9rem; font-weight:800; color:var(--cctv-teal);
  flex-shrink:0
}
.tcard-name { font-family:var(--font-d); font-size:.9rem; font-weight:800 }
.tcard-role { font-size:.78rem; color:var(--text-faint) }
.tcar-controls { display:flex; align-items:center; justify-content:center; gap:1rem; margin-top:2rem }
.tcar-btn {
  width:42px; height:42px; border-radius:50%;
  background:var(--surface); border:1px solid var(--border);
  display:flex; align-items:center; justify-content:center;
  color:var(--text-muted); cursor:pointer; transition:all .25s
}
.tcar-btn:hover { background:var(--green-subtle); color:var(--green); border-color:var(--border-g) }
.tcar-dots { display:flex; gap:6px }
.tcar-dot {
  width:6px; height:6px; border-radius:50%;
  background:var(--border); transition:all .3s var(--ease); cursor:pointer
}
.tcar-dot.active { width:20px; border-radius:3px; background:var(--green) }

/* ══ 8. FAQ ══════════════════════════════════════════════════════════ */
.faq-section { background:var(--bg); padding:110px 0 }
.faq-layout { display:grid; grid-template-columns:1fr 1.6fr; gap:6rem; align-items:start }
.faq-left { position:sticky; top:calc(var(--nav-h) + 2rem) }
.faq-left .section-tag { margin-bottom:1.25rem }
.faq-left h2 {
  font-family:var(--font-d); font-size:clamp(1.6875rem, 2.8125vw, 2.5312rem);
  font-weight:800; letter-spacing:-.03em; line-height:1.2; margin-bottom:1rem
}
.faq-left p { font-size:.95rem; color:var(--text-muted); line-height:1.75; margin-bottom:1.75rem }
.faq-items { display:flex; flex-direction:column; gap:.75rem }
.faq-item {
  background:var(--surface); border:1px solid var(--border);
  border-radius:var(--radius); overflow:hidden; transition:border-color .3s
}
.faq-item.open { border-color:var(--border-g) }
.faq-q {
  display:flex; align-items:center; justify-content:space-between; gap:1rem;
  padding:1.1rem 1.4rem; cursor:pointer
}
.faq-q-text { font-family:var(--font-d); font-size:.95rem; font-weight:700; line-height:1.4 }
.faq-q-icon {
  width:28px; height:28px; border-radius:8px;
  background:var(--green-subtle); border:1px solid var(--border-g);
  display:flex; align-items:center; justify-content:center;
  color:var(--green); flex-shrink:0;
  transition:transform .3s var(--ease),background .3s
}
.faq-item.open .faq-q-icon { transform:rotate(45deg); background:var(--green); color:#fff }
.faq-a { max-height:0; overflow:hidden; transition:max-height .45s var(--ease) }
.faq-item.open .faq-a { max-height:300px }
.faq-a-inner { padding:0 1.4rem 1.4rem; font-size:.875rem; color:var(--text-muted); line-height:1.8 }

/* ══ 9. CTA ══════════════════════════════════════════════════════════ */
.cta-strip {
  padding:90px 0;
  background:linear-gradient(135deg,#04100a 0%,#061010 40%,#0a0f1c 100%);
  position:relative; overflow:hidden
}
/* scanline on CTA */
.cta-strip::before {
  content:''; position:absolute; inset:0; pointer-events:none;
  background:repeating-linear-gradient(0deg,transparent,transparent 3px,rgba(0,229,204,.008) 3px,rgba(0,229,204,.008) 4px)
}
.cta-strip::after {
  content:''; position:absolute; inset:0; pointer-events:none;
  background:
    radial-gradient(ellipse at 10% 50%, rgba(0,229,204,.1) 0%, transparent 50%),
    radial-gradient(ellipse at 90% 50%, rgba(0,200,83,.07) 0%, transparent 50%)
}
.cta-strip-inner {
  position:relative; z-index:1;
  text-align:center; max-max-width: 660px; width: 100%; margin:0 auto
}
.cta-strip h2 {
  font-family:var(--font-d); font-size:clamp(1.875rem, 4.2188vw, 3.1875rem);
  font-weight:800; letter-spacing:-.04em; margin-bottom:1.1rem; line-height:1.1
}
.cta-strip p { font-size:1.05rem; color:rgba(176,184,197,.85); line-height:1.75; margin-bottom:2.5rem }
.cta-strip-btns { display:flex; gap:1rem; justify-content:center; flex-wrap:wrap }

/* ══ RESPONSIVE ══════════════════════════════════════════════════════ */
@media(max-width:1200px) {
  .cctv-bento { grid-template-columns:repeat(2,1fr) }
  .types-grid { grid-template-columns:repeat(2,1fr) }
  .features-grid { grid-template-columns:repeat(2,1fr) }
  .ind-grid { grid-template-columns:repeat(2,1fr) }
}
@media(max-width:1100px) {
  .cctv-hero-inner { grid-template-columns:1fr; gap:3rem }
  .cctv-hv { max-max-width: 580px; width: 100%; margin:0 auto; width:100% }
  .proc-layout { grid-template-columns:1fr; gap:3rem }
  .proc-left { position:static }
  .faq-layout { grid-template-columns:1fr; gap:3rem }
  .faq-left { position:static }
  .footer-grid { grid-template-columns:1fr 1fr; gap:2.5rem }
  .footer-brand { grid-column:span 2 }
}
@media(max-width:960px) {
  .types-grid { grid-template-columns:repeat(2,1fr) }
}
@media(max-width:768px) {
  .section { padding:72px 0 }
  .cctv-bento { grid-template-columns:1fr }
  .types-grid { grid-template-columns:1fr }
  .features-grid { grid-template-columns:1fr }
  .ind-grid { grid-template-columns:1fr }
  .why-grid { grid-template-columns:1fr }
  .tcard { width:100% }
}
@media(max-width:480px) {
  .cctv-hero-title { font-size:2.4rem }
  .cctv-stats { gap:1.25rem }
  .footer-grid { grid-template-columns:1fr }
  .footer-brand { grid-column:span 1 }
  .footer-bottom-inner { flex-direction:column; text-align:center }
  .footer-legal { justify-content:center; flex-wrap:wrap }
  .footer-top-inner { flex-direction:column; text-align:center }
}

img{max-width:100%;height:auto;}
img { max-width: 100%; height: auto; }

/* Logo Fix */

/* Logo sizing is controlled via Appearance → Customize → Logo & Branding.
   CSS custom properties are set by greenedge_logo_inline_css() in functions.php
   and consumed by components.css. Do not add hardcoded overrides here. */
