:root {
  --bg: #0b0d12;
  --bg-2: #0f141b;
  --text: #e6e9ef;
  --muted: #9aa3b2;
  --accent: #1f8ef1;
  --accent-2: #22c55e;
  --card: #111723;
  --border: #1f2a3a;
  --glow: rgba(31, 142, 241, 0.35);
  --shadow: 0 25px 60px rgba(0, 0, 0, 0.45);
  --radius: 18px;
}

html {
  scroll-behavior: smooth;
}

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

body {
  font-family: "Space Grotesk", sans-serif;
  background: radial-gradient(circle at top, #0f1926 0%, #0b0d12 45%, #07090d 100%);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
}

.bg-grid {
  position: fixed;
  inset: 0;
  background:
    linear-gradient(transparent 0 95%, rgba(255, 255, 255, 0.03) 95% 100%),
    linear-gradient(90deg, transparent 0 95%, rgba(255, 255, 255, 0.03) 95% 100%);
  background-size: 28px 28px;
  opacity: 0.3;
  pointer-events: none;
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 28px 8vw 12px;
  position: sticky;
  top: 0;
  backdrop-filter: blur(12px);
  background: rgba(11, 13, 18, 0.75);
  border-bottom: 1px solid var(--border);
  z-index: 20;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand img {
  height: 48px;
  width: auto;
}

.brand-name {
  font-size: 1.1rem;
  font-weight: 600;
}

.brand-tag {
  font-size: 0.75rem;
  color: var(--muted);
}

.nav {
  display: flex;
  gap: 16px;
  font-size: 0.9rem;
}

.nav a {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

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

.btn {
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 10px 18px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 10px 25px rgba(31, 142, 241, 0.35);
}

.btn-primary:hover {
  transform: translateY(-1px);
}

.btn-secondary {
  background: transparent;
  border-color: var(--border);
  color: var(--text);
}

.btn-secondary:hover {
  border-color: var(--accent);
}

.btn-ghost {
  border-color: var(--border);
  color: var(--text);
}

main {
  padding: 32px 8vw 80px;
}

section[id] {
  scroll-margin-top: 92px;
}

.hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 42px;
  align-items: center;
  min-height: 74vh;
  padding: 52px 0 88px;
}

.eyebrow {
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-2);
  margin-bottom: 12px;
}

.hero h1 {
  font-size: clamp(2.6rem, 4vw, 4rem);
  line-height: 1.05;
  margin-bottom: 18px;
}

.hero h1 span {
  color: var(--accent);
}

.hero p {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.6;
  margin-bottom: 24px;
}

.cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.trust {
  margin-top: 20px;
  display: flex;
  gap: 18px;
  color: var(--muted);
  font-size: 0.8rem;
}

.trust a,
.footer a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid rgba(154, 163, 178, 0.45);
}

.trust a:hover,
.footer a:hover {
  color: #ffffff;
  border-bottom-color: rgba(255, 255, 255, 0.75);
}

.scene-copy {
  margin-top: 24px;
  position: relative;
  min-height: 132px;
}

.scene-slide {
  background: linear-gradient(155deg, #22384d, #1d3043);
  border: 1px solid rgba(210, 229, 248, 0.38);
  border-radius: 12px;
  padding: 12px 14px;
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateX(18px);
  pointer-events: none;
  will-change: opacity, transform;
  transition:
    opacity 0.55s ease,
    transform 0.55s cubic-bezier(0.22, 0.65, 0.24, 1);
}

.scene-slide.is-visible {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}

.scene-copy-controls {
  margin-top: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.scene-copy-dot {
  width: 9px;
  height: 9px;
  border: 1px solid rgba(216, 231, 246, 0.7);
  border-radius: 999px;
  background: rgba(216, 231, 246, 0.3);
  cursor: pointer;
  transition: all 0.2s ease;
}

.scene-copy-dot:hover {
  background: rgba(235, 246, 255, 0.8);
}

.scene-copy-dot.is-active {
  width: 26px;
  background: rgba(244, 250, 255, 0.95);
  border-color: rgba(248, 252, 255, 0.95);
}

.scene-copy h3 {
  font-size: 1.2rem;
  margin-bottom: 4px;
  line-height: 1.25;
}

.scene-copy p {
  margin: 0;
  font-size: 1.2rem;
  line-height: 1.55;
}

.scene-head,
.product-head,
.feature-head,
.step-head,
.customer-head,
.deploy-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.scene-head h3,
.product-head h3,
.feature-head h4,
.step-head h4,
.customer-head h4,
.deploy-head h4 {
  margin-bottom: 0;
}

.hero-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.card-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
  color: var(--muted);
}

.pulse {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--accent-2);
  box-shadow: 0 0 12px var(--accent-2);
  animation: pulse 1.6s infinite;
}

@keyframes pulse {
  0% { opacity: 0.6; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.25); }
  100% { opacity: 0.6; transform: scale(1); }
}

.card-body {
  padding: 18px;
}

.screen {
  position: relative;
  --hero-embed-zoom: 1.32;
  width: 100%;
  aspect-ratio: 16 / 9;
  min-height: 220px;
  border-radius: 12px;
  background: linear-gradient(135deg, #0f2027, #1d2f46);
  border: 1px solid #20314a;
  overflow: hidden;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(1.1);
}

.hero-iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  width: calc(100% * var(--hero-embed-zoom));
  height: calc(100% * var(--hero-embed-zoom));
  border: 0;
  display: block;
  transform: translate(-50%, -50%);
}

.scan {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(31, 142, 241, 0.2) 45%, transparent 60%);
  animation: scan 3s infinite;
  pointer-events: none;
}

.scene-overlay {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 2;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 10px;
  background: rgba(5, 10, 18, 0.62);
  backdrop-filter: blur(4px);
  pointer-events: none;
}

.scene-chip {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8fd2ff;
  margin-bottom: 6px;
}

.scene-text {
  font-size: 0.84rem;
  line-height: 1.35;
  color: #d7e6f5;
}

@keyframes scan {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}


.metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 18px;
}

.metric-value {
  font-size: 1.4rem;
  font-weight: 600;
}

.metric-label {
  font-size: 0.7rem;
  color: var(--muted);
}

.card-footer {
  padding: 12px 18px;
  border-top: 1px solid var(--border);
  font-size: 0.75rem;
  color: var(--muted);
}

.section-title {
  margin: 40px 0 24px;
}

.section-title span {
  color: var(--accent-2);
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.section-title h2 {
  font-size: 2rem;
  margin-top: 10px;
}

.section-title p {
  color: var(--muted);
  margin-top: 8px;
}

.product,
.features,
.deployment,
.contact {
  background: linear-gradient(180deg, rgba(11, 18, 28, 0.34), rgba(11, 18, 28, 0.08));
  padding: 22px 0;
}

.how,
.customers {
  background: linear-gradient(180deg, rgba(18, 28, 40, 0.2), rgba(18, 28, 40, 0.04));
  padding: 22px 0;
}

.product-grid,
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}

.product-card,
.feature {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px;
  min-height: 140px;
}

.product-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0;
  transition: color 0.25s ease;
}

.product-card {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  transition:
    background 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease,
    transform 0.25s ease;
}

.product-card p {
  color: var(--muted);
  font-size: 0.9rem;
  transform: scale(1);
  transform-origin: left center;
  transition: color 0.25s ease, transform 0.25s ease;
}

.product-card:hover,
.product-card:focus-within {
  background: rgba(236, 246, 255, 0.17);
  border-color: rgba(248, 252, 255, 0.94);
  box-shadow: 0 22px 38px rgba(8, 19, 34, 0.4);
  backdrop-filter: blur(10px);
  transform: translateY(-4px) scale(1.01);
}

.product-card:hover h3,
.product-card:focus-within h3 {
  color: #ffffff;
}

.product-card:hover p,
.product-card:focus-within p {
  color: #ffffff;
  transform: scale(1.04);
}

.feature p {
  color: var(--muted);
  font-size: 0.9rem;
  transform: scale(1);
  transform-origin: left center;
  transition: color 0.25s ease, transform 0.25s ease;
}

.feature {
  transition:
    background 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease,
    transform 0.25s ease;
}

.feature:hover,
.feature:focus-within {
  background: rgba(236, 246, 255, 0.17);
  border-color: rgba(248, 252, 255, 0.94);
  box-shadow: 0 22px 38px rgba(8, 19, 34, 0.4);
  backdrop-filter: blur(10px);
  transform: translateY(-4px) scale(1.01);
}

.feature:hover h4,
.feature:focus-within h4 {
  color: #ffffff;
}

.feature:hover p,
.feature:focus-within p {
  color: #ffffff;
  transform: scale(1.04);
}

.customer-grid,
.deploy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}

.customer-card,
.deploy-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px;
  min-height: 160px;
  transition:
    background 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease,
    transform 0.25s ease,
    min-height 0.25s ease;
}

.card-icon {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(46, 86, 127, 0.25);
  color: #c8ddf4;
  border: 1px solid rgba(121, 165, 209, 0.35);
}

.card-icon svg {
  width: 17px;
  height: 17px;
  fill: currentColor;
}

.customer-card h4,
.deploy-card h4 {
  font-size: 1rem;
  margin-bottom: 8px;
  transition: color 0.25s ease;
}

.customer-card p,
.deploy-card p {
  color: var(--muted);
  font-size: 0.9rem;
  transform: scale(1);
  transform-origin: left center;
  transition: color 0.25s ease, transform 0.25s ease;
}

.customer-detail {
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  margin-top: 0;
  transition:
    opacity 0.25s ease,
    max-height 0.25s ease,
    margin-top 0.25s ease;
}

.customer-card:hover,
.customer-card:focus-within,
.deploy-card:hover,
.deploy-card:focus-within {
  background: rgba(236, 246, 255, 0.2);
  border-color: rgba(248, 252, 255, 0.94);
  box-shadow: 0 22px 38px rgba(8, 19, 34, 0.4);
  backdrop-filter: blur(10px);
  transform: translateY(-5px) scale(1.04);
}

.customer-card:hover h4,
.customer-card:focus-within h4,
.deploy-card:hover h4,
.deploy-card:focus-within h4 {
  color: #ffffff;
}

.customer-card:hover p,
.customer-card:focus-within p,
.deploy-card:hover p,
.deploy-card:focus-within p {
  color: #ffffff;
  transform: scale(1.03);
}

.customer-card:hover .card-icon,
.customer-card:focus-within .card-icon,
.deploy-card:hover .card-icon,
.deploy-card:focus-within .card-icon {
  background: rgba(247, 251, 255, 0.23);
  border-color: rgba(247, 251, 255, 0.78);
  color: #ffffff;
}

.customer-card:hover .customer-detail,
.customer-card:focus-within .customer-detail {
  opacity: 1;
  max-height: 120px;
  margin-top: 10px;
}

.how .steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}

.step {
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 16px;
  background: #0e1420;
  transition:
    background 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease,
    transform 0.25s ease;
}

.step h4 {
  transition: color 0.25s ease;
}

.step p {
  transform: scale(1);
  transform-origin: left center;
  transition: color 0.25s ease, transform 0.25s ease;
}

.step:hover,
.step:focus-within {
  background: rgba(236, 246, 255, 0.17);
  border-color: rgba(248, 252, 255, 0.94);
  box-shadow: 0 22px 38px rgba(8, 19, 34, 0.4);
  backdrop-filter: blur(10px);
  transform: translateY(-4px) scale(1.01);
}

.step:hover h4,
.step:focus-within h4 {
  color: #ffffff;
}

.step:hover p,
.step:focus-within p {
  color: #ffffff;
  transform: scale(1.04);
}

.step-num {
  font-family: "Space Mono", monospace;
  color: var(--accent);
  margin-bottom: 8px;
}

.contact-card {
  margin-top: 48px;
  background: linear-gradient(135deg, #122033, #101620);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.footer {
  padding: 24px 8vw 40px;
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 0.85rem;
}

@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: unset;
  }

  .nav {
    display: none;
  }

  .product-card p {
    transform: scale(1);
  }
}

@media (max-width: 720px) {
  .topbar,
  main,
  .footer {
    padding-left: 6vw;
    padding-right: 6vw;
  }

  .contact-card {
    flex-direction: column;
    align-items: flex-start;
  }

  .screen {
    --hero-embed-zoom: 1.2;
  }

}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
