/* Hero layout: css/hero-warp.css */

/* ─── Product frame (shared) ─── */
.product-frame {
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: var(--color-surface);
}

.product-frame-bar {
  display: flex;
  gap: 8px;
  padding: 14px 18px;
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
}

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

.dot.red { background: #ff5f57; }
.dot.yellow { background: #ffbd2e; }
.dot.green { background: #28c840; }

.product-img {
  width: 100%;
  display: block;
}

.section-why { padding-top: 100px; }

.section-showcase {
  background: transparent;
}

/* ─── Before/After Slider (Dual Background) ─── */
.comparison-slider-shell {
  position: relative;
  max-width: 1120px;
  margin: 0 auto;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow-lg);
  cursor: ew-resize;
  user-select: none;
  -webkit-user-select: none;
  line-height: 0;
}

.slider-layer {
  width: 100%;
  padding: clamp(24px, 4vw, 48px) clamp(28px, 3.5vw, 64px);
}

.slider-base {
  position: relative;
}

.slider-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  clip-path: inset(0 50% 0 0);
  z-index: 2;
}

.slider-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
  transition: transform 0s;
}

.slider-bg-dark {
  object-position: center;
}

.slider-ui-container {
  position: relative;
  z-index: 1;
  width: 70%;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.45);
}

.slider-ui {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  object-position: top center;
}

.slider-handle {
  position: absolute;
  top: 0;
  left: 50%;
  width: 4px;
  height: 100%;
  transform: translateX(-50%);
  z-index: 10;
  pointer-events: none;
}

.slider-handle-line {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 100%;
  background: rgba(255,255,255,0.7);
  box-shadow: 0 0 12px rgba(255,255,255,0.3);
}

.slider-handle-knob {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(30,30,35,0.9);
  border: 2px solid rgba(255,255,255,0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(0,0,0,0.5);
  pointer-events: auto;
  cursor: ew-resize;
}

.slider-labels {
  position: absolute;
  bottom: 12px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  padding: 0 clamp(20px, 3.5vw, 48px);
  z-index: 10;
  pointer-events: none;
}

.slider-labels span {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 50px;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(8px);
  color: var(--color-text-muted);
}

/* ─── Product Canvas Section ─── */
.section-product-canvas { padding: 60px 0 120px; }

/* ─── CTA Section ─── */
.section-cta {
  text-align: center;
  padding: 140px 0;
}

.cta-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.cta-desc {
  font-size: 1.1rem;
  color: var(--color-text-muted);
  max-width: 560px;
  margin: 0 auto 36px;
  line-height: 1.7;
}

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

/* ─── Footer ─── */
.footer {
  border-top: 1px solid var(--color-border);
  padding: 60px 0 32px;
  background: transparent;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  margin-bottom: 40px;
}

.footer-brand { max-width: 280px; }
.footer-brand .brand-text { font-size: 0.9rem; margin-bottom: 10px; display: block; }
.footer-brand p { font-size: 0.85rem; color: var(--color-text-dim); line-height: 1.5; }

.footer-links {
  display: flex;
  gap: 64px;
}

.footer-col h5 {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: 14px;
}

.footer-col a {
  display: block;
  font-size: 0.85rem;
  color: var(--color-text-dim);
  padding: 4px 0;
  transition: color 0.2s;
}

.footer-col a:hover { color: var(--color-text); }

.footer-bottom {
  border-top: 1px solid var(--color-border);
  padding-top: 20px;
  font-size: 0.78rem;
  color: var(--color-text-dim);
}

/* Capabilities + Venn: css/capabilities.css */

/* ─── Responsive ─── */
@media (max-width: 768px) {
  .hero--warp .hero-title { font-size: clamp(1.75rem, 6vw, 2.4rem); }
  .gallery-row { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; gap: 32px; }
  .footer-links { gap: 32px; }
  .cta-actions { flex-direction: column; align-items: center; }
}
