/* ============================================================
   PRODUCT SHOWCASE — framed dashboard
============================================================ */
.showcase-section {
  background: var(--bg-primary);
  padding: var(--space-section) 0;
  position: relative;
  overflow: hidden;
}
.showcase-glow {
  position: absolute;
  top: 42%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 1000px;
  height: 620px;
  max-width: 92vw;
  background: radial-gradient(ellipse at center, rgba(245,230,66,.08) 0%, transparent 68%);
  pointer-events: none;
  z-index: 0;
}
.showcase-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 56px;
  position: relative;
  z-index: 1;
}
.showcase-head .section-sub { margin-left: auto; margin-right: auto; }

.browser-frame {
  position: relative;
  z-index: 1;
  max-width: 1080px;
  margin: 0 auto;
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-card);
  overflow: hidden;
  background: var(--bg-card);
  box-shadow:
    0 1px 0 rgba(255,255,255,.04) inset,
    0 40px 120px rgba(0,0,0,.55);
}
.browser-bar {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 13px 18px;
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border-glass);
}
.browser-dots { display: flex; gap: 8px; flex-shrink: 0; min-width: 64px; }
.bdot { width: 12px; height: 12px; border-radius: 50%; opacity: .9; }
.bdot--red   { background: var(--danger); }
.bdot--amber { background: var(--warning); }
.bdot--green { background: var(--success); }
.browser-url {
  flex: 1;
  max-width: 440px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  height: 30px;
  padding: 0 16px;
  border-radius: var(--radius-pill);
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  color: var(--text-secondary);
  font-family: 'Source Code Pro', monospace;
  font-size: .72rem;
  letter-spacing: .01em;
  white-space: nowrap;
  overflow: hidden;
}
.browser-url svg { color: var(--success); flex-shrink: 0; }
.browser-actions { display: flex; flex-direction: column; gap: 4px; flex-shrink: 0; min-width: 64px; align-items: flex-end; }
.baction { width: 18px; height: 2px; border-radius: 2px; background: var(--border-glass); }
.browser-body {
  padding: 18px;
  background:
    radial-gradient(ellipse at top, rgba(255,255,255,.02), transparent 60%),
    var(--bg-card);
}
.media-placeholder--dashboard {
  height: 520px;
  border-radius: 10px;
}

/* ============================================================
   TRUST LOGOS
============================================================ */
.trust-section {
  background: var(--bg-secondary);
  padding: 44px 0;
  border-top: 1px solid var(--border-glass);
  border-bottom: 1px solid var(--border-glass);
  overflow: hidden;
}
.trust-label {
  text-align: center;
  font-family: 'Source Code Pro', monospace;
  font-size: var(--text-label);
  letter-spacing: .2em;
  color: var(--text-muted);
  margin-bottom: 28px;
}
.logos-wrapper {
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent 0%, #000 12%, #000 88%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 12%, #000 88%, transparent 100%);
}
.logos-track {
  display: flex;
  gap: 28px;
  width: max-content;
  animation: marquee 32s linear infinite;
}
.logos-track:hover { animation-play-state: paused; }
.logo-chip {
  height: 46px;
  flex-shrink: 0;
  padding: 0 30px;
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-pill);
  background: rgba(255,255,255,.02);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Source Code Pro', monospace;
  font-size: .82rem;
  font-weight: 500;
  letter-spacing: .04em;
  white-space: nowrap;
  color: var(--text-secondary);
  opacity: .85;
  user-select: none;
  transition: color .25s, border-color .25s, opacity .25s;
}
.logo-chip:hover { color: var(--text-primary); border-color: var(--border-accent); opacity: 1; }
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ============================================================
   VALUE PROPS
============================================================ */
.value-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 64px;
}
.value-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-card);
  padding: 36px 28px;
  transition: border-color .3s, transform .3s, box-shadow .3s;
}
.value-card:hover {
  border-color: var(--border-accent);
  transform: translateY(-5px);
  box-shadow: 0 0 48px rgba(245,230,66,.05);
}
.value-icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: rgba(245,230,66,.08);
  border: 1px solid rgba(245,230,66,.15);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.value-icon svg { color: var(--accent); }
.value-title {
  font-size: var(--text-h3);
  font-weight: 500;
  margin-bottom: 10px;
  line-height: 1.3;
}
.value-text { color: var(--text-secondary); font-size: .88rem; line-height: 1.7; }

/* ============================================================
   STATS
============================================================ */
.stats-section {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-glass);
  border-bottom: 1px solid var(--border-glass);
  padding: 88px 0;
}
.stats-head {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 52px;
}
.stats-head .section-sub { margin-left: auto; margin-right: auto; }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 40px;
  text-align: center;
}
.stats-grid--3 { grid-template-columns: repeat(3,1fr); }
.stat-divider { border-right: 1px solid var(--border-glass); }
.stat-divider:last-child { border-right: none; }
.stat-num {
  font-family: 'Source Code Pro', monospace;
  font-size: var(--text-h2);
  font-weight: 500;
  color: var(--accent);
  display: block;
  line-height: 1;
  margin-bottom: 10px;
  font-variant-numeric: tabular-nums;
}
.stat-lbl { color: var(--text-secondary); font-size: .82rem; }

/* ============================================================
   PHYSICAL RISK
============================================================ */
.risk-section {
  background: var(--bg-secondary);
  padding: var(--space-section) 0;
}
.risk-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.risk-label { margin-bottom: 20px; }
.risk-title {
  font-size: var(--text-h1);
  font-weight: 500;
  line-height: 1.12;
  margin-bottom: 24px;
}
.risk-body { color: var(--text-secondary); line-height: 1.75; margin-bottom: 40px; font-size: 1.05rem; }
#crystal-canvas {
  width: 100%;
  height: 460px;
  border-radius: var(--radius-card);
  display: block;
}

/* ============================================================
   FEATURES — STACKED SCROLL CARDS
============================================================ */
.features-section {
  background: var(--bg-primary);
  padding: var(--space-section) 0;
}
.features-intro {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 60px;
  margin-bottom: 80px;
  align-items: end;
}
.features-header-note {
  color: var(--text-secondary);
  font-size: .9rem;
  line-height: 1.7;
}
.features-stack { position: relative; }
.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: 22px;
  padding: 48px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  position: sticky;
  transform-origin: top center;
  will-change: transform;
}
.feature-card:nth-child(1) { top: 96px;  z-index: 10; }
.feature-card:nth-child(2) { top: 116px; z-index: 20; }
.feature-card:nth-child(3) { top: 136px; z-index: 30; }
.fc-num {
  font-family: 'Source Code Pro', monospace;
  font-size: var(--text-label);
  letter-spacing: .15em;
  color: var(--text-muted);
  margin-bottom: 18px;
  font-variant-numeric: tabular-nums;
}
.fc-title {
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1.25;
  margin-bottom: 18px;
}
.fc-body {
  color: var(--text-secondary);
  font-size: .9rem;
  line-height: 1.75;
  margin-bottom: 28px;
}
.fc-badges { display: flex; flex-wrap: wrap; gap: 8px; }
.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  font-size: .75rem;
  font-weight: 500;
  border: 1px solid;
}
.badge-fire       { background: rgba(255,68,68,.1);  border-color: rgba(255,68,68,.3);  color: #FF6B6B; }
.badge-water      { background: rgba(59,130,246,.1); border-color: rgba(59,130,246,.3); color: #60A5FA; }
.badge-vegetation { background: rgba(34,197,94,.1);  border-color: rgba(34,197,94,.3);  color: #4ADE80; }
.badge-structural { background: rgba(255,140,0,.1);  border-color: rgba(255,140,0,.3);  color: #FFA500; }

/* ============================================================
   INDUSTRIES
============================================================ */
.industries-section {
  background: var(--bg-secondary);
  padding: var(--space-section) 0;
}
.industries-grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 20px;
  margin-top: 64px;
}
.industry-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-card);
  padding: 36px 28px;
  transition: border-color .3s, transform .3s;
  position: relative;
  overflow: hidden;
}
.industry-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s ease;
}
.industry-card:hover { border-color: var(--border-accent); transform: translateY(-4px); }
.industry-card:hover::before { transform: scaleX(1); }
.industry-icon {
  width: 46px; height: 46px;
  border-radius: 11px;
  background: rgba(245,230,66,.07);
  border: 1px solid rgba(245,230,66,.14);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.industry-title {
  font-size: .95rem;
  font-weight: 500;
  letter-spacing: .06em;
  margin-bottom: 12px;
}
.industry-text { color: var(--text-secondary); font-size: .85rem; line-height: 1.7; }

/* ============================================================
   TESTIMONIALS
============================================================ */
.testimonials-section {
  background: var(--bg-primary);
  padding: var(--space-section) 0;
  text-align: center;
}
.testimonial-wrap {
  max-width: 780px;
  margin: 64px auto 0;
  position: relative;
  overflow: hidden;
}
.testimonial-track {
  display: flex;
  transition: transform .55s cubic-bezier(.25,1,.5,1);
}
.testimonial-slide { min-width: 100%; padding: 0 8px; }
.tq-mark {
  font-family: 'Source Code Pro', monospace;
  font-size: 4rem;
  font-weight: 500;
  color: var(--accent);
  line-height: .6;
  margin-bottom: 28px;
  display: block;
}
.tq-text {
  font-size: 1.18rem;
  line-height: 1.72;
  color: var(--text-primary);
  font-style: italic;
  margin-bottom: 36px;
}
.tq-author { font-family: 'Source Code Pro', monospace; font-weight: 500; font-size: .95rem; }
.tq-role { color: var(--text-muted); font-size: .82rem; margin-top: 4px; }
.testimonial-dots {
  display: flex;
  justify-content: center;
  gap: 9px;
  margin-top: 40px;
}
.dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--border-glass);
  border: 1px solid rgba(255,255,255,.1);
  cursor: pointer;
  transition: all .3s;
  padding: 0;
}
.dot.active { background: var(--accent); border-color: var(--accent); width: 22px; border-radius: 4px; }

/* ============================================================
   CTA SECTION
============================================================ */
.cta-section {
  background: var(--bg-secondary);
  padding: var(--space-section) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-glow {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  width: 700px; height: 500px;
  background: radial-gradient(ellipse, rgba(245,230,66,.07) 0%, transparent 70%);
  pointer-events: none;
}
.cta-title {
  font-size: var(--text-h1);
  font-weight: 500;
  margin-bottom: 18px;
  position: relative; z-index: 1;
}
.cta-body {
  color: var(--text-secondary);
  font-size: 1.05rem;
  max-width: 500px;
  margin: 0 auto 48px;
  line-height: 1.75;
  position: relative; z-index: 1;
}
.cta-btns {
  display: flex;
  gap: 14px;
  justify-content: center;
  position: relative; z-index: 1;
}

/* ============================================================
   FOOTER
============================================================ */
.footer {
  background: #070707;
  padding: 80px 0 32px;
  border-top: 1px solid var(--border-glass);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3,1fr);
  gap: 60px;
  margin-bottom: 60px;
}
.footer-tagline {
  color: var(--text-muted);
  font-size: .85rem;
  line-height: 1.7;
  max-width: 220px;
  margin: 18px 0 24px;
}
.footer-social { display: flex; gap: 12px; }
.social-btn {
  width: 36px; height: 36px;
  border-radius: 8px;
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted);
  transition: border-color .2s, color .2s;
}
.social-btn:hover { border-color: var(--border-accent); color: var(--accent); }
.footer-col-title {
  font-family: 'Source Code Pro', monospace;
  font-size: var(--text-label);
  font-weight: 500;
  letter-spacing: .14em;
  color: var(--text-primary);
  margin-bottom: 22px;
}
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 11px; }
.footer-links a { color: var(--text-muted); font-size: .85rem; transition: color .2s; }
.footer-links a:hover { color: var(--text-primary); }
.footer-contact { list-style: none; display: flex; flex-direction: column; gap: 11px; }
.footer-contact li { display: flex; align-items: flex-start; gap: 9px; color: var(--text-muted); font-size: .82rem; line-height: 1.5; }
.footer-contact li svg { flex-shrink: 0; margin-top: 2px; }
.footer-bottom {
  border-top: 1px solid var(--border-glass);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-legal { color: var(--text-muted); font-size: .78rem; }
.footer-legal-links { display: flex; gap: 22px; }
.footer-legal-links a { color: var(--text-muted); font-size: .78rem; transition: color .2s; }
.footer-legal-links a:hover { color: var(--text-primary); }

/* ============================================================
   OUR SOLUTION — video
============================================================ */
.solution-section {
  background: var(--bg-primary);
  padding: var(--space-section) 0;
  position: relative;
  overflow: hidden;
}
.solution-glow {
  position: absolute;
  top: 38%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 1100px;
  height: 700px;
  max-width: 94vw;
  background: radial-gradient(ellipse at center, rgba(245,230,66,.07) 0%, transparent 66%);
  pointer-events: none;
  z-index: 0;
}
.solution-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 56px;
  position: relative;
  z-index: 1;
}
.solution-head .section-sub { margin-left: auto; margin-right: auto; max-width: 600px; }

.video-frame {
  position: relative;
  z-index: 1;
  max-width: 1000px;
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-card);
  overflow: hidden;
  border: 1px solid var(--border-glass);
  background: var(--bg-secondary);
  box-shadow: 0 40px 120px rgba(0,0,0,.55);
}
.video-el {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #000;
}
/* Poster: subtle technical grid so the empty slot still looks intentional */
.video-poster {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at center, rgba(245,230,66,.06), transparent 60%),
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px) 0 0 / 100% 44px,
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px) 0 0 / 44px 100%,
    var(--bg-card);
  transition: opacity .5s var(--ease-out);
}
.video-frame.playing .video-poster,
.video-frame.playing .video-play,
.video-frame.playing .video-hint { opacity: 0; pointer-events: none; }

/* Play button + pulsing rings */
.video-play {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 84px; height: 84px;
  border-radius: 50%;
  background: var(--accent);
  color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  transition: transform .3s var(--ease-out), background .25s;
  box-shadow: 0 10px 40px rgba(245,230,66,.3);
}
.video-play svg { margin-left: 3px; }
.video-play:hover { transform: translate(-50%, -50%) scale(1.08); background: var(--accent-hover); }
.video-play:active { transform: translate(-50%, -50%) scale(.96); }
.video-play-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(245,230,66,.5);
  animation: videoPulse 2.6s ease-out infinite;
  pointer-events: none;
}
.video-play-ring--2 { animation-delay: 1.3s; }
@keyframes videoPulse {
  0%   { transform: scale(1);   opacity: .7; }
  100% { transform: scale(2.1); opacity: 0; }
}
.video-hint {
  position: absolute;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  z-index: 2;
  font-family: 'Source Code Pro', monospace;
  font-size: .68rem;
  letter-spacing: .04em;
  color: var(--text-muted);
  background: rgba(0,0,0,.45);
  border: 1px solid var(--border-glass);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  white-space: nowrap;
  transition: opacity .4s;
}
.video-hint code { color: var(--text-secondary); }

/* ============================================================
   BUSINESS IMPACT — benefit arrows
============================================================ */
.impact-section {
  background: var(--bg-secondary);
  padding: var(--space-section) 0;
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--border-glass);
}
/* Faint satellite-map suggestion on the right (swap for a real image later) */
.impact-map {
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: 46%;
  background: radial-gradient(120% 90% at 90% 50%, rgba(255,255,255,.05), transparent 60%);
  -webkit-mask-image: linear-gradient(to left, #000, transparent);
  mask-image: linear-gradient(to left, #000, transparent);
  pointer-events: none;
  z-index: 0;
}
.impact-head { position: relative; z-index: 1; margin-bottom: 56px; }
.impact-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.impact-col {
  padding: 0 30px;
  display: flex;
  flex-direction: column;
}
.impact-col + .impact-col { border-left: 1px dashed rgba(255,255,255,.16); }
.impact-title {
  font-size: 1.35rem;
  font-weight: 500;
  line-height: 1.2;
  margin-bottom: 28px;
  min-height: 2.4em;
}
.impact-chart { color: var(--accent); margin-bottom: 36px; }
.impact-chart svg { width: 110px; height: 70px; display: block; }
.impact-stroke {
  stroke-dasharray: 320;
  stroke-dashoffset: 320;
  transition: stroke-dashoffset 1s var(--ease-out) .15s;
}
.impact-col.revealed .impact-stroke { stroke-dashoffset: 0; }
.impact-text {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.6;
  margin-top: auto;
}
.impact-text strong { color: var(--text-primary); font-weight: 600; }
