/* ====================================================
   i-compound — Premium Corporate Website Stylesheet
   ==================================================== */

/* ---------- Custom Properties ---------- */
:root {
  /* Brand Colors */
  --color-navy:       #103B59;
  --color-deep-navy:  #0B2F49;
  --color-blue:       #087CB5;
  --color-bright:     #168CC5;
  --color-light-blue: #EAF5FB;
  --color-white:      #FFFFFF;
  --color-text:       #243746;
  --color-text-sec:   #607789;
  --color-border:     #DCE8EF;
  --color-bg:         #F8FBFD;

  /* Typography */
  --font: 'Inter', system-ui, -apple-system, sans-serif;
  --text-xs:  0.75rem;
  --text-sm:  0.875rem;
  --text-base:1rem;
  --text-lg:  1.125rem;
  --text-xl:  1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 1.875rem;
  --text-4xl: 2.25rem;
  --text-5xl: 3rem;

  /* Spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10:2.5rem;
  --space-12:3rem;
  --space-16:4rem;
  --space-20:5rem;
  --space-24:6rem;

  /* Shape */
  --radius-sm:  6px;
  --radius-md:  12px;
  --radius-lg:  20px;
  --radius-xl:  28px;
  --radius-full:9999px;

  /* Shadows */
  --shadow-sm:  0 1px 3px rgba(16,59,89,.06), 0 1px 2px rgba(16,59,89,.04);
  --shadow-md:  0 4px 16px rgba(16,59,89,.10), 0 1px 4px rgba(16,59,89,.06);
  --shadow-lg:  0 12px 40px rgba(16,59,89,.14), 0 4px 12px rgba(16,59,89,.08);
  --shadow-xl:  0 24px 64px rgba(16,59,89,.18);

  /* Transitions */
  --transition: 200ms cubic-bezier(.4,0,.2,1);
  --transition-slow: 350ms cubic-bezier(.4,0,.2,1);

  /* Layout */
  --max-width: 1200px;
  --header-h: 72px;
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

body {
  font-family: var(--font);
  color: var(--color-text);
  background: var(--color-white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; font-family: var(--font); border: none; background: none; }
input, textarea { font-family: var(--font); }

/* ---------- Utilities ---------- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-6);
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto var(--space-12);
}
.section-header h2 {
  font-size: clamp(var(--text-2xl), 4vw, var(--text-4xl));
  font-weight: 800;
  color: var(--color-navy);
  line-height: 1.2;
  margin-bottom: var(--space-4);
}
.section-header p {
  font-size: var(--text-lg);
  color: var(--color-text-sec);
  line-height: 1.7;
}
.section-header.light h2 { color: var(--color-white); }
.section-header.light p  { color: rgba(255,255,255,.75); }

.section-eyebrow {
  display: inline-block;
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: .05em;
  color: var(--color-blue);
  text-transform: uppercase;
  margin-bottom: var(--space-3);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-full);
  font-size: var(--text-base);
  font-weight: 600;
  line-height: 1;
  transition: background var(--transition), color var(--transition), box-shadow var(--transition), transform var(--transition);
  white-space: nowrap;
}
.btn:focus-visible {
  outline: 3px solid var(--color-bright);
  outline-offset: 3px;
}
.btn-primary {
  background: var(--color-blue);
  color: var(--color-white);
  box-shadow: 0 4px 16px rgba(8,124,181,.3);
}
.btn-primary:hover {
  background: var(--color-navy);
  box-shadow: 0 6px 24px rgba(8,124,181,.4);
  transform: translateY(-1px);
}
.btn-outline {
  background: transparent;
  color: var(--color-navy);
  border: 2px solid var(--color-border);
}
.btn-outline:hover {
  border-color: var(--color-blue);
  color: var(--color-blue);
  background: var(--color-light-blue);
}
.btn-white {
  background: var(--color-white);
  color: var(--color-navy);
  box-shadow: 0 4px 16px rgba(0,0,0,.12);
}
.btn-white:hover {
  background: var(--color-light-blue);
  transform: translateY(-1px);
}
.btn-outline-white {
  background: transparent;
  color: var(--color-white);
  border: 2px solid rgba(255,255,255,.5);
}
.btn-outline-white:hover {
  background: rgba(255,255,255,.1);
  border-color: var(--color-white);
}
.btn-full { width: 100%; }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--header-h);
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
}
.site-header.scrolled {
  border-color: var(--color-border);
  box-shadow: var(--shadow-sm);
  background: rgba(255,255,255,.98);
}

.header-inner {
  display: flex;
  align-items: center;
  height: 100%;
  gap: var(--space-8);
}

.logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  flex-shrink: 0;
  text-decoration: none;
}
.logo-text {
  font-size: var(--text-xl);
  font-weight: 800;
  color: var(--color-navy);
  letter-spacing: -.02em;
}
.logo-footer .logo-text { color: var(--color-white); }

.main-nav { margin-left: auto; }
.main-nav ul {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  list-style: none;
}
.nav-link {
  padding: 0.5rem 0.875rem;
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-text);
  border-radius: var(--radius-sm);
  transition: background var(--transition), color var(--transition);
  white-space: nowrap;
}
.nav-link:hover, .nav-link.active {
  background: var(--color-light-blue);
  color: var(--color-navy);
}
.nav-link:focus-visible {
  outline: 3px solid var(--color-blue);
  outline-offset: 2px;
}

.btn-demo { margin-left: var(--space-4); flex-shrink: 0; }

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  padding: 6px;
  border-radius: var(--radius-sm);
  margin-left: auto;
  transition: background var(--transition);
}
.hamburger:hover { background: var(--color-light-blue); }
.hamburger span {
  display: block;
  height: 2px;
  background: var(--color-navy);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
  transform-origin: center;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  padding-top: calc(var(--header-h) + var(--space-16));
  padding-bottom: var(--space-20);
  background: linear-gradient(160deg, #F0F8FD 0%, #E6F3FA 40%, #F8FBFD 100%);
  overflow: hidden;
}
.hero-bg-shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: .35;
}
.shape-1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, #087CB5 0%, transparent 70%);
  top: -200px; right: -200px;
  opacity: .12;
}
.shape-2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, #168CC5 0%, transparent 70%);
  bottom: -100px; left: -100px;
  opacity: .10;
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-12);
  align-items: center;
}
.hero-eyebrow {
  display: inline-block;
  background: var(--color-light-blue);
  color: var(--color-blue);
  font-size: var(--text-sm);
  font-weight: 600;
  padding: 0.35rem 0.875rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--color-border);
  margin-bottom: var(--space-4);
}
.hero-heading {
  font-size: clamp(var(--text-3xl), 4.5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.12;
  color: var(--color-navy);
  letter-spacing: -.03em;
  margin-bottom: var(--space-6);
}
.hero-sub {
  font-size: var(--text-lg);
  color: var(--color-text-sec);
  line-height: 1.75;
  max-width: 520px;
  margin-bottom: var(--space-8);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  margin-bottom: var(--space-6);
}
.hero-trust {
  font-size: var(--text-sm);
  color: var(--color-text-sec);
  font-weight: 500;
}

/* --- Hero Visual (dashboard + phone mockup) --- */
.hero-visual {
  position: relative;
  height: 480px;
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
}

/* Dashboard Mockup */
.mockup-dashboard {
  width: 100%;
  max-width: 520px;
  background: var(--color-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
  border: 1px solid var(--color-border);
  position: relative;
  z-index: 2;
}
.mock-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  background: #F3F4F6;
  border-bottom: 1px solid var(--color-border);
}
.mock-dot { width: 10px; height: 10px; border-radius: 50%; }
.mock-dot.red    { background: #EF4444; }
.mock-dot.yellow { background: #F59E0B; }
.mock-dot.green  { background: #10B981; }
.mock-title {
  margin-left: var(--space-2);
  font-size: 11px;
  font-weight: 600;
  color: var(--color-text-sec);
}
.mock-body {
  display: flex;
  height: 360px;
}
.mock-sidebar {
  width: 110px;
  background: var(--color-navy);
  padding: var(--space-3) var(--space-2);
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
  flex-shrink: 0;
}
.mock-nav-item {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 8px;
  border-radius: var(--radius-sm);
  font-size: 10px;
  font-weight: 500;
  color: rgba(255,255,255,.55);
  cursor: default;
  transition: background var(--transition), color var(--transition);
}
.mock-nav-item svg { flex-shrink: 0; }
.mock-nav-item.active {
  background: rgba(255,255,255,.12);
  color: var(--color-white);
}
.mock-main {
  flex: 1;
  padding: var(--space-3);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  overflow: hidden;
}
.mock-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2);
}
.mock-stat {
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border);
}
.mock-stat.green  { border-left: 3px solid #10B981; }
.mock-stat.blue   { border-left: 3px solid var(--color-blue); }
.mock-stat.yellow { border-left: 3px solid #F59E0B; }
.mock-stat.navy   { border-left: 3px solid var(--color-navy); }
.mock-stat-val { font-size: 18px; font-weight: 800; color: var(--color-navy); line-height: 1; }
.mock-stat-lbl { font-size: 9px; color: var(--color-text-sec); margin-top: 2px; }

.mock-map-area { flex: 1; }
.mock-map-label { font-size: 9px; font-weight: 600; color: var(--color-text-sec); margin-bottom: 4px; }
.mock-map-canvas {
  position: relative;
  background: #EAF3F8;
  border-radius: var(--radius-sm);
  height: 120px;
  overflow: hidden;
}
.map-block {
  position: absolute;
  background: rgba(16,59,89,.12);
  border-radius: 3px;
  border: 1px solid rgba(16,59,89,.2);
}
.map-block.b1 { top: 10%; left: 8%; width: 28%; height: 35%; }
.map-block.b2 { top: 10%; right: 8%; width: 28%; height: 35%; }
.map-block.b3 { bottom: 8%; left: 15%; width: 70%; height: 30%; }
.map-road { position: absolute; background: rgba(255,255,255,.6); }
.map-road.h { top: 52%; left: 0; right: 0; height: 3px; }
.map-road.v { left: 50%; top: 0; bottom: 0; width: 3px; }
.map-pin {
  position: absolute;
  font-size: 11px;
  line-height: 1;
  transform: translate(-50%, -50%);
  filter: drop-shadow(0 1px 2px rgba(0,0,0,.2));
}

.mock-alerts { display: flex; flex-direction: column; gap: 3px; }
.mock-alert-row {
  font-size: 9px;
  padding: 4px 6px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--color-text);
}
.mock-alert-row.ok   { background: #F0FDF4; }
.mock-alert-row.warn { background: #FFFBEB; }
.alert-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}
.alert-dot.green  { background: #10B981; }
.alert-dot.yellow { background: #F59E0B; }
.alert-dot.red    { background: #EF4444; }

/* Phone Mockup */
.mockup-phone {
  position: absolute;
  right: -30px;
  bottom: -20px;
  width: 140px;
  background: var(--color-white);
  border-radius: 24px;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--color-border);
  overflow: hidden;
  z-index: 3;
}
.phone-notch {
  width: 60px; height: 14px;
  background: #1C1C1E;
  border-radius: 0 0 12px 12px;
  margin: 0 auto;
}
.phone-screen { padding: 6px 8px 10px; }
.phone-header {
  font-size: 9px; font-weight: 800;
  color: var(--color-navy);
  text-align: center;
  margin: 4px 0;
}
.phone-welcome { font-size: 8px; color: var(--color-text-sec); margin-bottom: 6px; }
.phone-card {
  background: var(--color-bg);
  border-radius: 6px;
  padding: 5px 6px;
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 5px;
  border: 1px solid var(--color-border);
}
.pc-icon { font-size: 12px; flex-shrink: 0; }
.pc-title { font-size: 8px; font-weight: 700; color: var(--color-navy); line-height: 1; }
.pc-sub { font-size: 7px; color: var(--color-text-sec); margin-top: 1px; }
.pc-btn {
  margin-left: auto;
  background: var(--color-blue);
  color: white;
  border: none;
  border-radius: 4px;
  padding: 2px 5px;
  font-size: 7px;
  font-weight: 600;
  cursor: default;
  flex-shrink: 0;
}
.pc-status {
  margin-left: auto;
  font-size: 7px;
  font-weight: 600;
  color: var(--color-text-sec);
}
.pc-status.ok { color: #10B981; }
.phone-nav {
  display: flex;
  justify-content: space-around;
  padding: 4px 0;
  border-top: 1px solid var(--color-border);
  margin-top: 4px;
}
.pn { font-size: 12px; opacity: .4; }
.pn.active { opacity: 1; }

/* ============================================================
   BENEFITS
   ============================================================ */
.benefits {
  background: var(--color-white);
  padding: var(--space-12) 0;
  border-bottom: 1px solid var(--color-border);
}
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-8);
}
.benefit-item { text-align: center; }
.benefit-icon {
  width: 64px; height: 64px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-4);
}
.benefit-icon.security  { background: #EFF6FF; color: var(--color-blue); }
.benefit-icon.control   { background: #F0FDF4; color: #059669; }
.benefit-icon.comfort   { background: #FFF7ED; color: #EA580C; }
.benefit-icon.efficiency{ background: #FAF5FF; color: #7C3AED; }

.benefit-item h3 {
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: var(--space-2);
}
.benefit-item p {
  font-size: var(--text-sm);
  color: var(--color-text-sec);
  line-height: 1.65;
}

/* ============================================================
   SOLUTIONS / FEATURES
   ============================================================ */
.solutions {
  padding: var(--space-24) 0;
  background: var(--color-bg);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

.feature-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}
.feature-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
  border-color: var(--color-blue);
}

.feature-card-wide {
  grid-column: span 2;
  flex-direction: row;
  gap: var(--space-8);
}
.wide-card-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}
.wide-card-visual {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.fc-icon {
  width: 56px; height: 56px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.map-icon    { background: #EFF6FF; color: var(--color-blue); }
.cam-icon    { background: #FEF9C3; color: #854D0E; }
.guard-icon  { background: #F0FDF4; color: #15803D; }
.sensor-icon { background: #FFF1F2; color: #BE123C; }
.gate-icon   { background: #FAF5FF; color: #6D28D9; }
.elev-icon   { background: #FFF7ED; color: #C2410C; }
.app-icon    { background: var(--color-light-blue); color: var(--color-navy); }
.dash-icon   { background: #EFF6FF; color: var(--color-blue); }
.access-icon { background: #F0FDF4; color: #059669; }

.feature-card h3 {
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-navy);
  line-height: 1.25;
}
.feature-card p {
  font-size: var(--text-sm);
  color: var(--color-text-sec);
  line-height: 1.7;
}

/* Feature demo areas */
.fc-demo {
  margin-top: auto;
  border-radius: var(--radius-md);
  overflow: hidden;
}

/* Map demo */
.mini-map {
  position: relative;
  background: #EAF3F8;
  border-radius: var(--radius-sm);
  height: 100px;
  margin-bottom: 6px;
  overflow: hidden;
}
.mm-block {
  position: absolute;
  background: rgba(16,59,89,.13);
  border-radius: 3px;
  border: 1px solid rgba(16,59,89,.2);
}
.mm-block.a { top: 8%; left: 5%; width: 30%; height: 38%; }
.mm-block.b { top: 8%; right: 5%; width: 30%; height: 38%; }
.mm-block.c { bottom: 5%; left: 12%; width: 76%; height: 30%; }
.mm-pin { position: absolute; font-size: 12px; transform: translate(-50%,-50%); }
.map-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 10px;
  color: var(--color-text-sec);
}
.map-legend span { display: flex; align-items: center; gap: 3px; }

/* Camera demo */
.cam-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}
.cam-thumb {
  height: 48px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: flex-end;
  padding: 4px;
  font-size: 9px;
  position: relative;
}
.cam-thumb.online  { background: linear-gradient(135deg, #1C3D52 0%, #0F5C8A 100%); }
.cam-thumb.offline { background: #374151; }
.cam-lbl { color: rgba(255,255,255,.9); font-weight: 600; font-size: 9px; }

/* Guard demo */
.guard-list { display: flex; flex-direction: column; gap: 6px; }
.guard-row {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: var(--color-text);
  padding: 5px 8px;
  background: var(--color-bg);
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border);
}
.g-status {
  width: 8px; height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.g-status.on  { background: #10B981; }
.g-status.off { background: #9CA3AF; }
.g-shift { margin-left: auto; font-size: 10px; color: var(--color-text-sec); }

/* Sensor demo */
.alert-cards { display: flex; flex-direction: column; gap: 6px; }
.alert-card {
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  font-size: 11px;
  border-left: 3px solid transparent;
  color: var(--color-text);
}
.alert-card.high   { background: #FEF2F2; border-color: #EF4444; }
.alert-card.medium { background: #FFFBEB; border-color: #F59E0B; }
.alert-card.low    { background: #F0FDF4; border-color: #10B981; }
.severity {
  display: inline-block;
  padding: 1px 5px;
  border-radius: 4px;
  font-size: 9px;
  font-weight: 700;
  margin-right: 4px;
}
.severity.high { background: #EF4444; color: white; }
.severity.med  { background: #F59E0B; color: white; }
.severity.low  { background: #10B981; color: white; }

/* Gate demo */
.gate-log { display: flex; flex-direction: column; gap: 4px; }
.gate-entry {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  color: var(--color-text);
  padding: 4px 6px;
  border-radius: 4px;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
}
.entry-type {
  font-size: 8px;
  font-weight: 700;
  padding: 1px 4px;
  border-radius: 3px;
  flex-shrink: 0;
}
.entry-type.in  { background: #D1FAE5; color: #065F46; }
.entry-type.out { background: #FEE2E2; color: #991B1B; }
.entry-type.vis { background: #DBEAFE; color: #1E40AF; }

/* Elevator demo */
.elev-cards { display: flex; gap: 8px; }
.elev-card {
  flex: 1;
  text-align: center;
  padding: 10px 6px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border);
  background: var(--color-bg);
}
.elev-arrow { font-size: 20px; line-height: 1; margin-bottom: 4px; color: var(--color-blue); }
.elev-card.idle .elev-arrow { color: var(--color-text-sec); }
.elev-name { font-size: 10px; font-weight: 700; color: var(--color-navy); }
.elev-floor { font-size: 9px; color: var(--color-text-sec); }

/* App features list */
.app-features-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}
.app-features-list li {
  font-size: var(--text-sm);
  color: var(--color-text-sec);
  padding-left: var(--space-4);
  position: relative;
  line-height: 1.5;
}
.app-features-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--color-blue);
  font-weight: 700;
}

/* Big phone for resident app card */
.big-phone {
  width: 170px;
  background: var(--color-white);
  border-radius: 28px;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--color-border);
  overflow: hidden;
}
.big-phone-notch {
  width: 70px; height: 16px;
  background: #1C1C1E;
  border-radius: 0 0 14px 14px;
  margin: 0 auto;
}
.big-phone-screen { padding: 10px 12px 16px; }
.bps-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  font-weight: 800;
  color: var(--color-navy);
  margin-bottom: 6px;
}
.bps-greeting { font-size: 10px; color: var(--color-text-sec); margin-bottom: 10px; }
.bps-section-title {
  font-size: 9px;
  font-weight: 700;
  color: var(--color-text-sec);
  text-transform: uppercase;
  letter-spacing: .05em;
  margin-bottom: 6px;
}
.bps-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  margin-bottom: 10px;
}
.bps-action {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 8px 4px;
  text-align: center;
  font-size: 16px;
  cursor: default;
}
.bps-action small { display: block; font-size: 7px; color: var(--color-text-sec); margin-top: 3px; }
.bps-notif {
  font-size: 9px;
  color: var(--color-text);
  padding: 5px 0;
  border-bottom: 1px solid var(--color-border);
  line-height: 1.4;
}
.bps-notif:last-child { border-bottom: none; }

/* Dashboard bar chart demo */
.dash-mini { padding: 8px; background: var(--color-bg); border-radius: var(--radius-sm); border: 1px solid var(--color-border); }
.dm-bar-chart {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 60px;
  margin-bottom: 4px;
}
.dm-bar {
  flex: 1;
  background: var(--color-light-blue);
  border-radius: 3px 3px 0 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  padding-bottom: 2px;
  transition: background var(--transition);
}
.dm-bar.active { background: var(--color-blue); }
.dm-bar span { font-size: 8px; color: var(--color-text-sec); }
.dm-bar.active span { color: var(--color-white); }
.dm-label { font-size: 9px; color: var(--color-text-sec); text-align: center; }

/* Access control demo */
.access-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}
.access-item {
  text-align: center;
  padding: 10px 6px;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
}
.ai-icon { font-size: 20px; margin-bottom: 3px; }
.ai-name { font-size: 10px; font-weight: 600; color: var(--color-navy); }
.ai-count { font-size: 9px; color: var(--color-text-sec); }

/* ============================================================
   PRODUCT SHOWCASE
   ============================================================ */
.showcase {
  padding: var(--space-24) 0;
  background: var(--color-navy);
}

.tab-nav {
  display: flex;
  gap: var(--space-2);
  flex-wrap: wrap;
  background: rgba(255,255,255,.07);
  border-radius: var(--radius-lg);
  padding: var(--space-2);
  margin-bottom: var(--space-8);
  border: 1px solid rgba(255,255,255,.12);
}
.tab-btn {
  flex: 1;
  padding: 0.625rem 1rem;
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  font-weight: 500;
  color: rgba(255,255,255,.65);
  transition: background var(--transition), color var(--transition);
  white-space: nowrap;
  text-align: center;
  min-width: 120px;
}
.tab-btn:hover { background: rgba(255,255,255,.1); color: var(--color-white); }
.tab-btn.active {
  background: var(--color-blue);
  color: var(--color-white);
  box-shadow: 0 4px 12px rgba(8,124,181,.4);
}
.tab-btn:focus-visible { outline: 3px solid var(--color-bright); outline-offset: 2px; }

.tab-panel { display: none; }
.tab-panel.active { display: flex; gap: var(--space-10); align-items: flex-start; }

.tab-visual { flex: 1; }
.tab-info {
  width: 280px;
  flex-shrink: 0;
  padding-top: var(--space-4);
}
.tab-info h3 {
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: var(--space-4);
}
.tab-info p {
  font-size: var(--text-base);
  color: rgba(255,255,255,.7);
  line-height: 1.75;
}

/* Showcase dashboard */
.showcase-dashboard {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}
.sd-header {
  background: var(--color-navy);
  padding: 10px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.sd-logo { font-size: var(--text-sm); font-weight: 700; color: var(--color-white); }
.sd-user { font-size: var(--text-xs); color: rgba(255,255,255,.7); }
.sd-body { padding: var(--space-6); }
.sd-kpis {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-4);
  margin-bottom: var(--space-6);
}
.sd-kpi {
  background: var(--color-bg);
  border-radius: var(--radius-sm);
  padding: var(--space-4);
  border: 1px solid var(--color-border);
  text-align: center;
}
.sd-kpi.alert { border-top: 2px solid #EF4444; }
.kpi-val { font-size: var(--text-2xl); font-weight: 800; color: var(--color-navy); }
.kpi-lbl { font-size: var(--text-xs); color: var(--color-text-sec); margin-top: 2px; }
.sd-chart-area { margin-bottom: var(--space-6); }
.sd-chart-title { font-size: var(--text-sm); font-weight: 600; color: var(--color-navy); margin-bottom: var(--space-3); }
.sd-chart {
  display: flex;
  align-items: flex-end;
  gap: var(--space-2);
  height: 80px;
}
.sc-bar {
  flex: 1;
  background: var(--color-light-blue);
  border-radius: 4px 4px 0 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  padding-bottom: 4px;
}
.sc-bar.active { background: var(--color-blue); }
.sc-bar span { font-size: var(--text-xs); color: var(--color-text-sec); }
.sc-bar.active span { color: white; }
.sd-recent-title { font-size: var(--text-sm); font-weight: 600; color: var(--color-navy); margin-bottom: var(--space-2); }
.sd-event {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--text-sm);
  color: var(--color-text-sec);
  padding: var(--space-2) 0;
  border-bottom: 1px solid var(--color-border);
}
.sd-event:last-child { border-bottom: none; }
.ev-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.ev-dot.g { background: #10B981; }
.ev-dot.y { background: #F59E0B; }

/* Showcase map */
.showcase-map {
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}
.smap-header {
  background: var(--color-navy);
  color: white;
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 600;
}
.smap-canvas {
  position: relative;
  background: #D1E8F0;
  height: 280px;
  padding: 16px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 12px;
}
.smap-block {
  background: rgba(16,59,89,.15);
  border: 2px solid rgba(16,59,89,.25);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  color: var(--color-navy);
  text-align: center;
  padding: 8px;
  line-height: 1.3;
}
.smap-block.a { grid-column: 1; grid-row: 1; }
.smap-block.b { grid-column: 2; grid-row: 1; }
.smap-block.c { grid-column: 3; grid-row: 1; }
.smap-block.pool { grid-column: 1; grid-row: 2; }
.smap-gate {
  grid-column: 2;
  grid-row: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,.7);
  border: 2px dashed var(--color-blue);
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  color: var(--color-navy);
}
.smap-pin {
  position: absolute;
  font-size: 16px;
  transform: translate(-50%,-50%);
  filter: drop-shadow(0 2px 4px rgba(0,0,0,.3));
  z-index: 5;
}
.s1 { top: 12%; left: 18%; }
.s2 { top: 12%; left: 55%; }
.s3 { top: 55%; right: 8%; }
.sx1 { top: 70%; left: 40%; }
.sg1 { top: 40%; left: 30%; }
.smap-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding: 10px 16px;
  background: var(--color-bg);
  border-top: 1px solid var(--color-border);
  font-size: 11px;
  color: var(--color-text-sec);
}

/* Showcase gate */
.showcase-gate {
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  padding: var(--space-6);
}
.sg-header {
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: var(--space-4);
  padding-bottom: var(--space-4);
  border-bottom: 1px solid var(--color-border);
}
.sg-status {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: var(--space-4);
}
.gs-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
}
.gs-dot.open { background: #10B981; box-shadow: 0 0 0 3px rgba(16,185,129,.2); }
.sg-controls {
  display: flex;
  gap: var(--space-3);
  margin-bottom: var(--space-6);
}
.sgc-btn {
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: 600;
  border: 2px solid transparent;
  cursor: default;
}
.sgc-btn.open   { background: #10B981; color: white; opacity: .6; }
.sgc-btn.close  { background: #EF4444; color: white; }
.sgc-btn.hold   { border-color: var(--color-border); color: var(--color-text-sec); }
.sg-log-title {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-navy);
  margin-bottom: var(--space-3);
}
.sg-log { display: flex; flex-direction: column; gap: var(--space-2); }
.sgl-row {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--text-sm);
  color: var(--color-text-sec);
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-sm);
  background: var(--color-bg);
  border: 1px solid var(--color-border);
}
.sgl-type {
  font-size: 10px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
  flex-shrink: 0;
}
.sgl-row.in   .sgl-type { background: #D1FAE5; color: #065F46; }
.sgl-row.out  .sgl-type { background: #FEE2E2; color: #991B1B; }
.sgl-row.vis  .sgl-type { background: #DBEAFE; color: #1E40AF; }
.sg-note {
  font-size: var(--text-xs);
  color: var(--color-text-sec);
  font-style: italic;
  margin-top: var(--space-3);
  opacity: .7;
}

/* Showcase security */
.showcase-security {
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  padding: var(--space-6);
}
.ssec-header {
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: var(--space-4);
}
.ssec-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3);
  margin-bottom: var(--space-4);
}
.ssec-cam {
  height: 80px;
  border-radius: var(--radius-sm);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: 6px;
}
.ssec-cam.live    { background: linear-gradient(135deg, #0F2D44 0%, #0A4060 100%); }
.ssec-cam.offline { background: #374151; }
.cam-overlay { font-size: 10px; font-weight: 600; color: rgba(255,255,255,.8); }
.cam-live-dot {
  position: absolute;
  top: 6px; right: 6px;
  width: 8px; height: 8px;
  background: #EF4444;
  border-radius: 50%;
  animation: pulse 1.5s infinite;
}
@keyframes pulse {
  0%,100% { opacity: 1; }
  50%      { opacity: .3; }
}
.cam-warn {
  position: absolute;
  top: 6px; right: 6px;
  font-size: 10px;
  color: #F59E0B;
  font-weight: 700;
}
.ssec-alerts { display: flex; flex-direction: column; gap: var(--space-2); }
.ssec-alert {
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-sm);
  font-size: var(--text-sm);
  border-left: 3px solid transparent;
}
.ssec-alert.h { background: #FEF2F2; border-color: #EF4444; color: #991B1B; }
.ssec-alert.m { background: #FFFBEB; border-color: #F59E0B; color: #92400E; }
.ssec-alert.l { background: #F0FDF4; border-color: #10B981; color: #065F46; }

/* Showcase app */
.app-tab-visual { display: flex; justify-content: center; }
.showcase-app-phone {
  width: 220px;
  background: white;
  border-radius: 36px;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--color-border);
  overflow: hidden;
}
.sap-notch {
  width: 90px; height: 18px;
  background: #1C1C1E;
  border-radius: 0 0 16px 16px;
  margin: 0 auto;
}
.sap-screen { padding: 14px 16px 20px; }
.sap-header {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  font-weight: 800;
  color: var(--color-navy);
  margin-bottom: 6px;
}
.sap-user { font-size: 12px; color: var(--color-text-sec); margin-bottom: 12px; }
.sap-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 12px;
}
.sap-tile {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: 10px;
  padding: 10px 6px;
  text-align: center;
  font-size: 18px;
  cursor: default;
  font-size: 12px;
}
.sap-tile br + * { font-size: 9px; }
.sap-tile.active {
  background: var(--color-blue);
  color: white;
  border-color: var(--color-blue);
}
.sap-section { font-size: 10px; font-weight: 700; color: var(--color-text-sec); margin-bottom: 6px; text-transform: uppercase; letter-spacing: .05em; }
.sap-item { font-size: 11px; color: var(--color-text); padding: 6px 0; border-bottom: 1px solid var(--color-border); }
.sap-item:last-child { border-bottom: none; }

/* ============================================================
   HOW IT WORKS
   ============================================================ */
.how-it-works {
  padding: var(--space-24) 0;
  background: var(--color-white);
}

.steps-track {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
  position: relative;
}
.steps-track::before {
  content: '';
  position: absolute;
  top: 48px;
  left: 12.5%;
  right: 12.5%;
  height: 2px;
  background: linear-gradient(to right, var(--color-blue), var(--color-bright));
  opacity: .3;
}

.step-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 var(--space-4);
  position: relative;
}
.step-number {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--color-blue);
  color: white;
  font-size: var(--text-sm);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-4);
  position: relative;
  z-index: 1;
  box-shadow: 0 0 0 6px rgba(8,124,181,.12);
}
.step-icon {
  width: 60px; height: 60px;
  border-radius: 50%;
  background: var(--color-light-blue);
  color: var(--color-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-4);
}
.step-item h3 {
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: var(--space-2);
}
.step-item p {
  font-size: var(--text-sm);
  color: var(--color-text-sec);
  line-height: 1.65;
}
.step-connector { display: none; }

/* ============================================================
   WHO WE SERVE
   ============================================================ */
.who-we-serve {
  padding: var(--space-24) 0;
  background: var(--color-bg);
}
.serve-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}
.serve-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  background: var(--color-white);
  transition: box-shadow var(--transition), transform var(--transition);
}
.serve-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}
.serve-img {
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.serve-svg {
  width: 80px; height: 80px;
  opacity: .85;
}
.serve-body { padding: var(--space-6); }
.serve-body h3 {
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: var(--space-2);
}
.serve-body p {
  font-size: var(--text-sm);
  color: var(--color-text-sec);
  line-height: 1.65;
}

/* ============================================================
   ABOUT
   ============================================================ */
.about {
  padding: var(--space-24) 0;
  background: var(--color-white);
}
.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
}
.about-graphic {
  position: relative;
  width: 340px;
  height: 340px;
  margin: 0 auto;
}
.ag-center {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  z-index: 2;
}
.ag-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--color-navy);
  margin-top: 6px;
}
.ag-orbit {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px dashed var(--color-border);
}
.ag-node {
  position: absolute;
  width: 48px; height: 48px;
  background: var(--color-white);
  border-radius: 50%;
  border: 2px solid var(--color-border);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  /* Orbit placement: 50% of orbit radius from center in each direction */
  top: calc(50% - 24px + sin(var(--a)) * 140px);
  left: calc(50% - 24px + cos(var(--a)) * 140px);
  transition: transform var(--transition);
}
.ag-node:hover { transform: scale(1.15); }
/* Fallback for browsers without sin/cos support */
.ag-node:nth-child(1) { top: calc(50% - 24px - 140px); left: calc(50% - 24px); } /* 0deg - top */
.ag-node:nth-child(2) { top: calc(50% - 24px - 70px); left: calc(50% - 24px + 121px); } /* 60deg */
.ag-node:nth-child(3) { top: calc(50% - 24px + 70px); left: calc(50% - 24px + 121px); } /* 120deg */
.ag-node:nth-child(4) { top: calc(50% - 24px + 140px); left: calc(50% - 24px); } /* 180deg */
.ag-node:nth-child(5) { top: calc(50% - 24px + 70px); left: calc(50% - 24px - 121px); } /* 240deg */
.ag-node:nth-child(6) { top: calc(50% - 24px - 70px); left: calc(50% - 24px - 121px); } /* 300deg */

.about-content h2 {
  font-size: clamp(var(--text-2xl), 3.5vw, var(--text-4xl));
  font-weight: 800;
  color: var(--color-navy);
  line-height: 1.2;
  margin-bottom: var(--space-6);
}
.about-content > p {
  font-size: var(--text-lg);
  color: var(--color-text-sec);
  line-height: 1.75;
  margin-bottom: var(--space-6);
}
.mission-statement {
  border-left: 4px solid var(--color-blue);
  padding: var(--space-4) var(--space-6);
  background: var(--color-light-blue);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin-bottom: var(--space-8);
}
.mission-statement p {
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--color-navy);
  line-height: 1.6;
  font-style: italic;
}
.mission-statement footer {
  font-size: var(--text-sm);
  color: var(--color-text-sec);
  margin-top: var(--space-2);
}
.about-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
}
.pillar {
  text-align: center;
  padding: var(--space-4);
  background: var(--color-bg);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
}
.pillar-icon { font-size: 28px; margin-bottom: var(--space-2); }
.pillar h4 { font-size: var(--text-base); font-weight: 700; color: var(--color-navy); margin-bottom: var(--space-1); }
.pillar p { font-size: var(--text-xs); color: var(--color-text-sec); line-height: 1.5; }

/* ============================================================
   SECURITY SECTION
   ============================================================ */
.security-section {
  padding: var(--space-24) 0;
  background: var(--color-deep-navy);
}
.security-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-12);
  align-items: start;
}

.sec-diagram {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-8);
}
.sec-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
}
.sec-center-label {
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--color-white);
  text-align: center;
}
.sec-nodes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-3);
  width: 100%;
}
.sec-node {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-md);
  padding: var(--space-3);
  text-align: center;
  transition: background var(--transition);
}
.sec-node:hover { background: rgba(255,255,255,.13); }
.sn-icon { font-size: 24px; margin-bottom: 4px; }
.sn-label { font-size: 11px; font-weight: 600; color: rgba(255,255,255,.75); }

.sec-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
}
.sec-feature-item {
  display: flex;
  gap: var(--space-4);
  align-items: flex-start;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.09);
  border-radius: var(--radius-md);
  padding: var(--space-4);
  transition: background var(--transition);
}
.sec-feature-item:hover { background: rgba(255,255,255,.09); }
.sfi-icon { font-size: 22px; flex-shrink: 0; }
.sec-feature-item h4 {
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: var(--space-1);
}
.sec-feature-item p {
  font-size: var(--text-sm);
  color: rgba(255,255,255,.6);
  line-height: 1.6;
}

/* ============================================================
   CTA SECTION
   ============================================================ */
.cta-section {
  padding: var(--space-20) 0;
  background: linear-gradient(135deg, var(--color-blue) 0%, var(--color-navy) 100%);
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.cta-inner {
  position: relative;
  text-align: center;
}
.cta-inner h2 {
  font-size: clamp(var(--text-3xl), 4vw, var(--text-5xl));
  font-weight: 800;
  color: var(--color-white);
  line-height: 1.15;
  margin-bottom: var(--space-4);
}
.cta-inner p {
  font-size: var(--text-xl);
  color: rgba(255,255,255,.8);
  max-width: 600px;
  margin: 0 auto var(--space-8);
  line-height: 1.65;
}
.cta-actions {
  display: flex;
  justify-content: center;
  gap: var(--space-4);
  flex-wrap: wrap;
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact-section {
  padding: var(--space-24) 0;
  background: var(--color-bg);
}
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: var(--space-16);
  align-items: start;
}
.contact-info h2 {
  font-size: clamp(var(--text-2xl), 3vw, var(--text-3xl));
  font-weight: 800;
  color: var(--color-navy);
  margin-bottom: var(--space-4);
  line-height: 1.2;
}
.contact-info > p {
  font-size: var(--text-base);
  color: var(--color-text-sec);
  line-height: 1.75;
  margin-bottom: var(--space-8);
}
.contact-details { display: flex; flex-direction: column; gap: var(--space-4); margin-bottom: var(--space-6); }
.cd-item {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  font-size: var(--text-base);
  color: var(--color-text);
}
.cd-icon { font-size: 20px; flex-shrink: 0; }
.social-links { display: flex; gap: var(--space-3); }
.social-link {
  color: var(--color-text-sec);
  transition: color var(--transition), transform var(--transition);
}
.social-link:hover { color: var(--color-blue); transform: translateY(-2px); }
.social-link:focus-visible { outline: 3px solid var(--color-blue); outline-offset: 3px; border-radius: 4px; }

.contact-form-wrap {
  background: var(--color-white);
  border-radius: var(--radius-xl);
  padding: var(--space-10);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-border);
}
.contact-form { display: flex; flex-direction: column; gap: var(--space-6); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-6); }
.form-group { display: flex; flex-direction: column; gap: var(--space-2); }
.form-group label {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-navy);
}
.required { color: var(--color-blue); }
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  font-size: var(--text-base);
  color: var(--color-text);
  background: var(--color-white);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  resize: vertical;
}
.form-group input:hover,
.form-group textarea:hover { border-color: #A8C8DC; }
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--color-blue);
  box-shadow: 0 0 0 3px rgba(8,124,181,.12);
}
.form-group input.error,
.form-group textarea.error { border-color: #EF4444; }
.field-error { font-size: var(--text-xs); color: #EF4444; min-height: 1rem; }
.form-notice {
  font-size: var(--text-sm);
  color: var(--color-text-sec);
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-4);
  line-height: 1.6;
}
.form-success {
  background: #F0FDF4;
  border: 1px solid #86EFAC;
  border-radius: var(--radius-md);
  padding: var(--space-4) var(--space-6);
  font-size: var(--text-sm);
  color: #065F46;
  line-height: 1.6;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--color-deep-navy);
  padding-top: var(--space-16);
}
.footer-inner {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: var(--space-12);
  padding-bottom: var(--space-12);
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer-brand { max-width: 320px; }
.footer-brand .logo { margin-bottom: var(--space-4); }
.footer-brand p {
  font-size: var(--text-sm);
  color: rgba(255,255,255,.55);
  line-height: 1.7;
  margin-bottom: var(--space-4);
}
.footer-tagline {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-bright);
}
.footer-nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-8);
}
.footer-col h4 {
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: var(--space-4);
}
.footer-col ul { display: flex; flex-direction: column; gap: var(--space-3); }
.footer-col li,
.footer-col a {
  font-size: var(--text-sm);
  color: rgba(255,255,255,.5);
  transition: color var(--transition);
  line-height: 1.5;
}
.footer-col a:hover { color: var(--color-bright); }
.footer-col a:focus-visible { outline: 2px solid var(--color-bright); outline-offset: 2px; border-radius: 2px; }
.footer-social { display: flex; gap: var(--space-3); margin-top: var(--space-4); }
.footer-social .social-link { color: rgba(255,255,255,.5); }
.footer-social .social-link:hover { color: var(--color-bright); }

.footer-bottom {
  padding: var(--space-4) 0;
}
.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: var(--text-sm);
  color: rgba(255,255,255,.35);
}
.footer-legal { display: flex; gap: var(--space-6); }
.footer-legal a { color: rgba(255,255,255,.35); transition: color var(--transition); }
.footer-legal a:hover { color: rgba(255,255,255,.7); }

/* ============================================================
   BACK TO TOP
   ============================================================ */
.back-to-top {
  position: fixed;
  bottom: var(--space-8);
  right: var(--space-8);
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--color-blue);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity var(--transition), transform var(--transition);
  z-index: 999;
}
.back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.back-to-top:hover { background: var(--color-navy); }
.back-to-top:focus-visible { outline: 3px solid var(--color-bright); outline-offset: 3px; }

/* ============================================================
   RESPONSIVE
   ============================================================ */

/* Tablet */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .hero { padding-bottom: var(--space-16); }
  .benefits-grid { grid-template-columns: repeat(2, 1fr); }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-card-wide { grid-column: span 2; }
  .about-inner { grid-template-columns: 1fr; }
  .about-visual { display: none; }
  .security-layout { grid-template-columns: 1fr; }
  .contact-inner { grid-template-columns: 1fr; }
  .steps-track { grid-template-columns: repeat(2, 1fr); }
  .steps-track::before { display: none; }
  .serve-grid { grid-template-columns: repeat(2, 1fr); }
  .tab-panel.active { flex-direction: column; }
  .tab-info { width: 100%; }
  .sd-kpis { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-nav { grid-template-columns: repeat(3, 1fr); }
}

/* Mobile */
@media (max-width: 768px) {
  :root { --header-h: 64px; }

  .main-nav {
    position: fixed;
    top: var(--header-h);
    left: 0; right: 0;
    background: var(--color-white);
    border-bottom: 1px solid var(--color-border);
    padding: var(--space-4) var(--space-6) var(--space-6);
    transform: translateY(-120%);
    transition: transform var(--transition-slow);
    z-index: 999;
    box-shadow: var(--shadow-lg);
  }
  .main-nav.open { transform: translateY(0); }
  .main-nav ul { flex-direction: column; gap: var(--space-1); }
  .nav-link { display: block; padding: var(--space-3) var(--space-4); font-size: var(--text-base); border-radius: var(--radius-sm); }
  .btn-demo { display: none; }
  .hamburger { display: flex; }

  .features-grid { grid-template-columns: 1fr; }
  .feature-card-wide { grid-column: span 1; flex-direction: column; }
  .wide-card-visual { justify-content: center; }
  .form-row { grid-template-columns: 1fr; gap: var(--space-4); }
  .steps-track { grid-template-columns: 1fr; }
  .about-pillars { grid-template-columns: 1fr; }
  .security-layout { gap: var(--space-8); }
  .sec-features { grid-template-columns: 1fr; }
  .serve-grid { grid-template-columns: 1fr; }
  .footer-nav { grid-template-columns: 1fr 1fr; }
  .footer-bottom-inner { flex-direction: column; gap: var(--space-3); text-align: center; }
  .tab-nav { flex-direction: column; }
  .tab-btn { text-align: left; }
  .contact-form-wrap { padding: var(--space-6); }
  .cta-actions { flex-direction: column; align-items: center; }
  .hero-actions { flex-direction: column; }
  .btn { width: 100%; text-align: center; }
  .smap-canvas { height: 220px; grid-template-columns: repeat(2, 1fr); }
  .smap-block.c { grid-column: span 2; }
  .sd-kpis { grid-template-columns: repeat(2, 1fr); }
  .back-to-top { bottom: var(--space-6); right: var(--space-6); }
}

@media (max-width: 480px) {
  .container { padding: 0 var(--space-4); }
  .benefits-grid { grid-template-columns: 1fr; }
  .footer-nav { grid-template-columns: 1fr; }
  .section-header { margin-bottom: var(--space-8); }
}
