/* Sentinel — AI Surveillance Command Center Landing Page */

:root {
  --bg: #080810;
  --surface: #0e0e1a;
  --surface-2: #14142a;
  --green: #00FF88;
  --green-dim: rgba(0, 255, 136, 0.2);
  --red: #FF5F57;
  --red-dim: rgba(255, 95, 87, 0.15);
  --white: #FFFFFF;
  --gray-1: #E8E8F0;
  --gray-2: #9090A8;
  --gray-3: #505068;
  --border: #1c1c32;
  --font-heading: 'Syne', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --font-mono: 'DM Mono', monospace;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--gray-1);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ── NAV ─────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 0 40px;
  background: rgba(8, 8, 16, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  height: 64px;
  display: flex;
  align-items: center;
}
.nav-inner {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 18px;
  color: var(--white);
  letter-spacing: -0.5px;
  text-decoration: none;
}
.nav-right {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-links {
  display: flex;
  gap: 28px;
}
.nav-links a {
  font-size: 14px;
  color: var(--gray-2);
  text-decoration: none;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--white); }
.nav-cta {
  font-size: 13px;
  font-weight: 500;
  color: var(--bg);
  background: var(--green);
  text-decoration: none;
  padding: 8px 20px;
  border-radius: 8px;
  transition: opacity 0.2s;
}
.nav-cta:hover { opacity: 0.85; }

/* ── HERO ─────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 120px 40px 80px;
  max-width: 1200px;
  margin: 0 auto;
}
.hero-label {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  font-weight: 500;
  color: var(--green);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 36px;
}
.label-line {
  width: 32px;
  height: 1px;
  background: var(--green);
}
.hero-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(48px, 7vw, 84px);
  line-height: 1.0;
  color: var(--white);
  letter-spacing: -2px;
  margin-bottom: 28px;
}
.hero-title em {
  font-style: normal;
  color: var(--green);
}
.hero-sub {
  font-size: 18px;
  color: var(--gray-2);
  max-width: 560px;
  margin-bottom: 48px;
  line-height: 1.75;
}
.hero-stats {
  display: flex;
  align-items: center;
  margin-bottom: 48px;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  background: var(--surface);
  width: fit-content;
}
.stat {
  padding: 18px 32px;
}
.stat-value {
  display: block;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 26px;
  color: var(--white);
}
.stat-label {
  font-size: 11px;
  color: var(--gray-3);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: block;
  margin-top: 2px;
}
.stat-divider {
  width: 1px;
  height: 56px;
  background: var(--border);
  flex-shrink: 0;
}
.hero-cta-row {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-bottom: 56px;
}
.btn-primary {
  display: inline-block;
  background: var(--green);
  color: var(--bg);
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  padding: 14px 32px;
  border-radius: 10px;
  transition: opacity 0.2s;
}
.btn-primary:hover { opacity: 0.85; }
.btn-ghost {
  display: inline-block;
  color: var(--gray-2);
  font-weight: 500;
  font-size: 15px;
  text-decoration: none;
  padding: 14px 24px;
  border: 1px solid var(--border);
  border-radius: 10px;
  transition: border-color 0.2s, color 0.2s;
}
.btn-ghost:hover { border-color: var(--gray-3); color: var(--white); }

.hero-image {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
  position: relative;
  max-width: 900px;
}
.hero-image img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  display: block;
  filter: brightness(0.75) saturate(0.9);
}
.hero-image-overlay {
  position: absolute;
  bottom: 20px;
  left: 20px;
}
.live-indicator {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(8, 8, 16, 0.85);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 8px 16px;
  font-size: 12px;
  font-family: var(--font-mono);
  color: var(--green);
  backdrop-filter: blur(8px);
}

/* ── SECTIONS shared ──────────────────────────────── */
.section-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 500;
  color: var(--green);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.section-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(30px, 4vw, 46px);
  color: var(--white);
  letter-spacing: -1px;
  line-height: 1.1;
  margin-bottom: 24px;
}

/* ── PROBLEM ──────────────────────────────────────── */
.problem-section {
  border-top: 1px solid var(--border);
  padding: 100px 40px;
}
.problem-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.problem-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(26px, 3vw, 40px);
  color: var(--white);
  letter-spacing: -1px;
  line-height: 1.15;
  margin-bottom: 20px;
}
.problem-body {
  font-size: 16px;
  color: var(--gray-2);
  line-height: 1.75;
  margin-bottom: 36px;
}
.problem-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.problem-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.problem-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--red-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}
.problem-item strong {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 4px;
}
.problem-item p {
  font-size: 14px;
  color: var(--gray-2);
  line-height: 1.6;
}

/* Sentinel demo box */
.sentinel-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
}
.sentinel-header {
  background: var(--surface-2);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid var(--border);
}
.sentinel-dots { display: flex; gap: 5px; }
.t-dot { width: 10px; height: 10px; border-radius: 50%; }
.t-dot.red { background: var(--red); }
.t-dot.yellow { background: #FEBC2E; }
.t-dot.green { background: #28C840; }
.sentinel-label {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--gray-3);
}
.sentinel-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--border);
}
.cam-feed {
  background: var(--surface);
  padding: 16px;
}
.cam-feed.alert {
  background: rgba(255, 95, 87, 0.05);
}
.feed-label {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--gray-3);
  margin-bottom: 8px;
}
.feed-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 500;
  color: var(--green);
  margin-bottom: 8px;
}
.feed-status.alert-status { color: var(--red); }
.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 6px var(--green);
  animation: pulse 2s ease-in-out infinite;
  flex-shrink: 0;
}
.alert-status .status-dot {
  background: var(--red);
  box-shadow: 0 0 6px var(--red);
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}
.detection-count {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--gray-2);
  display: flex;
  align-items: center;
  gap: 6px;
}
.alert-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--red-dim);
  border: 1px solid rgba(255, 95, 87, 0.3);
  border-radius: 6px;
  padding: 5px 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--red);
}

/* ── FEATURES ─────────────────────────────────────── */
.features-section {
  border-top: 1px solid var(--border);
  padding: 100px 40px;
}
.features-inner { max-width: 1200px; margin: 0 auto; }
.features-header {
  margin-bottom: 64px;
  max-width: 600px;
}
.features-sub {
  font-size: 16px;
  color: var(--gray-2);
  line-height: 1.7;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
}
.feature-card {
  background: var(--surface);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.feature-icon {
  width: 48px;
  height: 48px;
  background: rgba(0, 255, 136, 0.08);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.feature-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 17px;
  color: var(--white);
  margin-bottom: 10px;
}
.feature-body {
  font-size: 14px;
  color: var(--gray-2);
  line-height: 1.65;
  flex: 1;
  margin-bottom: 20px;
}
.feature-tag {
  font-size: 10px;
  font-weight: 500;
  color: var(--gray-3);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-top: 1px solid var(--border);
  padding-top: 12px;
  margin-top: auto;
}

/* ── HOW IT WORKS ──────────────────────────────────── */
.hiw-section {
  border-top: 1px solid var(--border);
  padding: 100px 40px;
  background: var(--surface);
}
.hiw-inner { max-width: 1200px; margin: 0 auto; }
.hiw-sub {
  font-size: 17px;
  color: var(--gray-2);
  line-height: 1.75;
  max-width: 620px;
  margin-bottom: 72px;
}
.hiw-layers {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.hiw-layer {
  display: grid;
  grid-template-columns: 80px 1fr 220px;
  gap: 48px;
  align-items: center;
  padding: 48px 0;
  border-bottom: 1px solid var(--border);
}
.hiw-layer:last-child { border-bottom: none; }
.layer-num {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 48px;
  color: var(--border);
  line-height: 1;
}
.layer-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 22px;
  color: var(--white);
  margin-bottom: 12px;
}
.layer-body {
  font-size: 15px;
  color: var(--gray-2);
  line-height: 1.7;
  margin-bottom: 20px;
}
.layer-logos, .layer-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.cam-brand {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--gray-3);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 4px 10px;
}
.ai-tag {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--green);
  background: rgba(0, 255, 136, 0.06);
  border: 1px solid rgba(0, 255, 136, 0.2);
  border-radius: 6px;
  padding: 4px 10px;
}
.layer-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ── MARKETS ──────────────────────────────────────── */
.markets-section {
  border-top: 1px solid var(--border);
  padding: 100px 40px;
}
.markets-inner { max-width: 1200px; margin: 0 auto; }
.markets-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 56px;
}
.market-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 36px 32px;
  transition: border-color 0.2s;
}
.market-card:hover { border-color: rgba(0, 255, 136, 0.3); }
.market-icon {
  width: 52px;
  height: 52px;
  background: rgba(0, 255, 136, 0.07);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}
.market-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 20px;
  color: var(--white);
  margin-bottom: 14px;
}
.market-body {
  font-size: 14px;
  color: var(--gray-2);
  line-height: 1.7;
  margin-bottom: 20px;
}
.market-tags {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.market-tags li {
  font-size: 13px;
  color: var(--gray-3);
  padding-left: 16px;
  position: relative;
}
.market-tags li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--green);
  font-size: 11px;
}

/* ── CTA ───────────────────────────────────────────── */
.cta-section {
  border-top: 1px solid var(--border);
  padding: 100px 40px;
  background: var(--surface);
}
.cta-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.cta-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(30px, 4vw, 46px);
  color: var(--white);
  letter-spacing: -1px;
  line-height: 1.1;
  margin-bottom: 20px;
}
.cta-body {
  font-size: 16px;
  color: var(--gray-2);
  line-height: 1.75;
  margin-bottom: 36px;
}
.cta-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.cta-item {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 15px;
  color: var(--gray-1);
}
.cta-item svg { flex-shrink: 0; }

/* Demo form */
.demo-form {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
}
.form-header {
  padding: 28px 32px;
  border-bottom: 1px solid var(--border);
  background: var(--surface-2);
}
.form-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 20px;
  color: var(--white);
  margin-bottom: 4px;
}
.form-sub {
  font-size: 13px;
  color: var(--gray-3);
}
.form-body {
  padding: 28px 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-label {
  font-size: 13px;
  font-weight: 500;
  color: var(--gray-2);
}
.form-input {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px 16px;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--white);
  outline: none;
  transition: border-color 0.2s;
  width: 100%;
}
.form-input::placeholder { color: var(--gray-3); }
.form-input:focus { border-color: var(--green); }
.form-submit {
  background: var(--green);
  color: var(--bg);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  padding: 14px 32px;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: opacity 0.2s;
  width: 100%;
}
.form-submit:hover { opacity: 0.85; }

/* ── FOOTER ───────────────────────────────────────── */
.footer {
  border-top: 1px solid var(--border);
  padding: 48px 40px 32px;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
}
.footer-logo {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 16px;
  color: var(--white);
}
.footer-tagline {
  font-size: 13px;
  color: var(--gray-3);
  margin-left: 20px;
}
.footer-links {
  display: flex;
  gap: 28px;
}
.footer-links a {
  font-size: 13px;
  color: var(--gray-2);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--white); }
.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: var(--gray-3);
}
.footer-legal {
  display: flex;
  gap: 20px;
}
.footer-legal a {
  color: var(--gray-3);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-legal a:hover { color: var(--gray-2); }

/* ── RESPONSIVE ────────────────────────────────────── */
@media (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .hiw-layer { grid-template-columns: 60px 1fr; }
  .layer-visual { display: none; }
}
@media (max-width: 768px) {
  .nav { padding: 0 24px; }
  .nav-links { display: none; }
  .hero { padding: 100px 24px 60px; }
  .hero-stats { flex-direction: column; width: 100%; }
  .stat-divider { width: 100%; height: 1px; }
  .hero-cta-row { flex-direction: column; align-items: flex-start; }
  .hero-image img { height: 260px; }
  .problem-inner { grid-template-columns: 1fr; gap: 48px; }
  .problem-section, .features-section, .hiw-section,
  .markets-section, .cta-section { padding: 72px 24px; }
  .features-grid { grid-template-columns: 1fr; }
  .hiw-layer { grid-template-columns: 1fr; gap: 16px; }
  .layer-num { font-size: 32px; }
  .markets-grid { grid-template-columns: 1fr; }
  .cta-inner { grid-template-columns: 1fr; gap: 48px; }
  .footer-inner { flex-direction: column; gap: 16px; text-align: center; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
}