/* ============ CCTVPro static build — design tokens ============ */
:root {
  --radius: 0.75rem;
  --background: #ffffff;
  --foreground: #161616;
  --ink: #161616;
  --ink-soft: #6b7280;
  --surface: #f8f8fa;
  --brand: #c22032;
  --brand-dark: #a01a29;
  --brand-tint: #fdecee;
  --success: #16a34a;
  --border: #e9e9e9;
  --em-50: #ecfdf5;
  --em-200: #a7f3d0;
  --em-400: #34d399;
  --em-500: #10b981;
  --em-700: #047857;
  --em-800: #065f46;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border-color: var(--border);
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--background);
  color: var(--foreground);
  font-family: "Inter", ui-sans-serif, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  cursor: pointer;
  background: none;
  border: none;
  color: inherit;
}

ul,
ol {
  list-style: none;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
}

@media (min-width: 1024px) {
  .container {
    padding: 0 32px;
  }
}

/* ---------- reveal-on-scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms cubic-bezier(.22, 1, .36, 1), transform 700ms cubic-bezier(.22, 1, .36, 1);
}

.reveal-zoom {
  opacity: 0;
  transform: scale(.96);
  transition: opacity 800ms cubic-bezier(.22, 1, .36, 1), transform 800ms cubic-bezier(.22, 1, .36, 1);
}

.reveal-right {
  opacity: 0;
  transform: translateX(-24px);
  transition: opacity 700ms cubic-bezier(.22, 1, .36, 1), transform 700ms cubic-bezier(.22, 1, .36, 1);
}

.is-visible {
  opacity: 1 !important;
  transform: none !important;
}

@keyframes float-soft {

  0%,
  100% {
    transform: translateY(0)
  }

  50% {
    transform: translateY(-8px)
  }
}

.float-soft {
  animation: float-soft 6s ease-in-out infinite;
}

@keyframes float-soft-alt {

  0%,
  100% {
    transform: translateY(-4px)
  }

  50% {
    transform: translateY(6px)
  }
}

.float-soft-alt {
  animation: float-soft-alt 7s ease-in-out infinite;
}

@keyframes marquee {
  from {
    transform: translateX(0)
  }

  to {
    transform: translateX(-50%)
  }
}

.marquee-track {
  animation: marquee 40s linear infinite;
}

@keyframes gradient-shift {

  0%,
  100% {
    background-position: 0% 50%
  }

  50% {
    background-position: 100% 50%
  }
}

.cta-glow {
  position: relative;
  isolation: isolate;
}

.cta-glow::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  background: linear-gradient(120deg, #c22032, #ff6a7a, #c22032, #7a0f1c);
  background-size: 300% 300%;
  animation: gradient-shift 6s ease infinite;
  z-index: -1;
  opacity: .85;
  filter: blur(.5px);
}

@keyframes dash {
  to {
    stroke-dashoffset: -20;
  }
}

.timeline-line {
  stroke-dasharray: 6 6;
  animation: dash 1.2s linear infinite;
}

@keyframes bounce-dot {

  0%,
  80%,
  100% {
    transform: translateY(0)
  }

  40% {
    transform: translateY(-4px)
  }
}

.typing-dot {
  animation: bounce-dot 1.1s infinite;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 15px;
  padding: 12px 20px;
  transition: all .2s;
}

.btn-primary {
  background: var(--brand);
  color: #fff;
}

.btn-primary:hover {
  background: var(--brand-dark);
  transform: translateY(-2px);
}

.btn-outline {
  background: #fff;
  border: 1px solid var(--border);
  color: var(--ink);
}

.btn-outline:hover {
  border-color: rgba(22, 22, 22, .3);
}

.btn-dark {
  background: var(--ink);
  color: #fff;
}

.btn-dark:hover {
  background: rgba(22, 22, 22, .85);
}

.btn svg {
  width: 16px;
  height: 16px;
}

.icon {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- Header ---------- */
header#site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  transition: all .3s;
  background: transparent;
}

header#site-header.scrolled {
  background: rgba(255, 255, 255, .85);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 0 rgba(0, 0, 0, .02);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.logo img {
  height: 32px;
  width: auto;
  transition: transform .3s;
}

.logo:hover img {
  transform: scale(1.02);
}

nav.desktop-nav {
  display: none;
  align-items: center;
  gap: 2px;
}

nav.desktop-nav a {
  position: relative;
  padding: 8px 10px;
  font-size: 13.5px;
  font-weight: 500;
  color: rgba(22, 22, 22, .8);
  transition: color .2s;
  white-space: nowrap;
}

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

nav.desktop-nav a::after {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 4px;
  height: 2px;
  background: var(--brand);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .2s;
}

nav.desktop-nav a:hover::after {
  transform: scaleX(1);
}

.header-actions {
  display: none;
  align-items: center;
  gap: 12px;
}

.header-actions .signin {
  font-size: 14px;
  font-weight: 500;
  color: rgba(22, 22, 22, .8);
}

.header-actions .signin:hover {
  color: var(--ink);
}

.header-actions .btn-primary {
  box-shadow: 0 6px 20px -8px rgba(194, 32, 50, .6);
  padding: 10px 16px;
  font-size: 14px;
}

.mobile-toggle {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--ink);
}

.mobile-menu {
  display: none;
  border-top: 1px solid var(--border);
  background: #fff;
}

.mobile-menu.open {
  display: block;
}

.mobile-menu-inner {
  display: flex;
  flex-direction: column;
  padding: 16px 20px;
}

.mobile-menu-inner a {
  padding: 12px 0;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  border-bottom: 1px solid var(--border);
}

.mobile-menu-inner a:last-of-type {
  border-bottom: 0;
}

.mobile-menu-inner .btn-primary {
  margin-top: 16px;
  justify-content: center;
  padding: 12px;
}

@media (min-width: 1024px) {
  nav.desktop-nav {
    display: flex;
  }

  .header-actions {
    display: flex;
  }

  .mobile-toggle,
  .mobile-menu {
    display: none !important;
  }
}

/* ---------- Section shared ---------- */
section {
  position: relative;
}

.eyebrow {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--brand);
}

.section-title {
  margin-top: 12px;
  font-size: 26px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -.01em;
  color: var(--ink);
}

.section-lead {
  margin-top: 12px;
  font-size: 15px;
  line-height: 1.65;
  color: var(--ink-soft);
}

.center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 640px) {
  .section-title {
    font-size: 30px;
  }
}

/* ---------- Hero ---------- */
#hero {
  padding: 112px 0 80px;
  overflow: hidden;
}

@media (min-width: 1024px) {
  #hero {
    padding: 144px 0 112px;
  }
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 56px;
  align-items: center;
  position: relative;
  z-index: 1;
}

@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1.05fr 1fr;
  }
}

.hero-grid-bg {
  pointer-events: none;
  position: absolute;
  inset: 0;
  opacity: .35;
  background-image: linear-gradient(to right, #e9e9e9 1px, transparent 1px), linear-gradient(to bottom, #e9e9e9 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse at 60% 30%, black 30%, transparent 75%);
  mask-image: radial-gradient(ellipse at 60% 30%, black 30%, transparent 75%);
}

.hero-glow {
  pointer-events: none;
  position: absolute;
  top: -96px;
  right: -10%;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: rgba(194, 32, 50, .1);
  filter: blur(64px);
}

.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: #fff;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 500;
  color: var(--ink-soft);
  box-shadow: 0 1px 2px rgba(0, 0, 0, .04);
}

.badge-dot-wrap {
  display: grid;
  place-items: center;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: rgba(194, 32, 50, .1);
}

.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand);
}

h1.hero-h1 {
  margin-top: 20px;
  font-size: 34px;
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -.01em;
  color: var(--ink);
}

@media (min-width: 640px) {
  h1.hero-h1 {
    font-size: 40px;
  }
}

@media (min-width: 1024px) {
  h1.hero-h1 {
    font-size: 44px;
  }
}

.br-sm {
  display: none;
}

@media (min-width: 640px) {
  .br-sm {
    display: block;
  }

}

h1.hero-h1 .underline-wrap {
  position: relative;
  white-space: nowrap;
}

h1.hero-h1 .underline-wrap svg {
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 8px;
}

.hero-lead {
  margin-top: 20px;
  max-width: 560px;
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-soft);
}

.hero-ctas {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.watch-icon {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(194, 32, 50, .1);
  color: var(--brand);
}

.avatar-row {
  margin-top: 40px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.avatar-stack {
  display: flex;
}

.avatar-stack img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid #fff;
  object-fit: cover;
  margin-left: -8px;
}

.avatar-stack img:first-child {
  margin-left: 0;
}

.avatar-row p {
  font-size: 13px;
  color: var(--ink-soft);
}

.avatar-row strong {
  color: var(--ink);
  font-weight: 600;
}

.hero-visual {
  position: relative;
}

.hero-visual-glow {
  position: absolute;
  inset: -24px;
  z-index: -1;
  border-radius: 24px;
  background: linear-gradient(to bottom right, rgba(194, 32, 50, .05), transparent, rgba(22, 22, 22, .05));
  filter: blur(24px);
}

.hero-card {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: #fff;
  box-shadow: 0 30px 80px -30px rgba(22, 22, 22, .25);
}

.slider {
  position: relative;
  aspect-ratio: 16/10;
  width: 100%;
  overflow: hidden;
  background: var(--surface);
}

.slider-track {
  display: flex;
  height: 100%;
  width: 100%;
  transition: transform .9s cubic-bezier(.22, 1, .36, 1);
}

.slider-slide {
  flex: 0 0 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
}

.slider-slide img {
  height: 100%;
  width: 100%;
  object-fit: contain;
}

.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, .9);
  color: var(--ink);
  box-shadow: 0 2px 8px rgba(0, 0, 0, .1);
  backdrop-filter: blur(4px);
}

.slider-arrow.prev {
  left: 12px;
}

.slider-arrow.next {
  right: 12px;
}

.slider-dots {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .85);
  padding: 6px 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .1);
  backdrop-filter: blur(4px);
}

.slider-dots button {
  height: 6px;
  width: 6px;
  border-radius: 999px;
  background: rgba(22, 22, 22, .25);
  transition: all .2s;
}

.slider-dots button.active {
  width: 24px;
  background: var(--brand);
}

.stat-float {
  position: absolute;
  display: none;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: #fff;
  padding: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .1);
}

@media (min-width: 640px) {
  .stat-float {
    display: block;
  }
}

.stat-float.top {
  left: -16px;
  top: 40px;
}

.stat-float.bottom {
  right: -12px;
  bottom: 32px;
}

.stat-float-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.stat-icon {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(194, 32, 50, .1);
  color: var(--brand);
}

.stat-float p.label {
  font-size: 11px;
  color: var(--ink-soft);
}

.stat-float p.value {
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
}

/* ---------- Logos marquee ---------- */
#logos {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--surface);
  padding: 40px 0;
}

.logos-label {
  margin-bottom: 24px;
  text-align: center;
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--ink-soft);
}

.marquee-wrap {
  position: relative;
  overflow: hidden;
}

.marquee-fade {
  pointer-events: none;
  position: absolute;
  inset: 0 auto;
  top: 0;
  bottom: 0;
  width: 64px;
  z-index: 1;
}

.marquee-fade.left {
  left: 0;
  background: linear-gradient(to right, var(--surface), transparent);
}

.marquee-fade.right {
  right: 0;
  background: linear-gradient(to left, var(--surface), transparent);
}

.marquee-track {
  display: flex;
  width: max-content;
  gap: 56px;
}

.marquee-track span {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -.02em;
  color: var(--ink);
  filter: grayscale(1);
  opacity: .6;
  transition: all .2s;
  white-space: nowrap;
}

.marquee-track span:hover {
  filter: grayscale(0);
  opacity: 1;
}

/* ---------- Problem/Solution ---------- */
#solutions {
  padding: 96px 0;
}

@media (min-width: 1024px) {
  #solutions {
    padding: 112px 0;
  }
}

.ps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 56px;
}

@media (min-width: 1024px) {
  .ps-grid {
    grid-template-columns: 1.05fr 1fr;
  }
}

.ps-list {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ps-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: #fff;
  padding: 16px;
  transition: all .5s;
}

.ps-item.on {
  border-color: var(--em-200);
  background: rgba(236, 253, 245, .5);
}

.ps-check {
  margin-top: 2px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(194, 32, 50, .1);
  color: var(--brand);
  transition: all .2s;
}

.ps-item.on .ps-check {
  background: var(--em-500);
  color: #fff;
}

.ps-check svg {
  width: 14px;
  height: 14px;
}

.ps-problem {
  font-size: 14.5px;
  font-weight: 500;
  line-height: 1.35;
  color: var(--ink);
  transition: all .2s;
}

.ps-item.on .ps-problem {
  color: var(--em-800);
  text-decoration: line-through;
  text-decoration-color: rgba(52, 211, 153, .6);
}

.ps-solution {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  font-size: 13.5px;
  line-height: 1.35;
  color: var(--em-700);
  transition: all .3s;
}

.ps-item.on .ps-solution {
  margin-top: 4px;
  max-height: 40px;
  opacity: 1;
}

.ps-visual {
  position: relative;
}

@media (min-width: 1024px) {
  .ps-visual {
    padding-left: 24px;
  }
}

.ps-image-card {
  position: sticky;
  top: 96px;
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: #fff;
  box-shadow: 0 30px 60px -30px rgba(22, 22, 22, .25);
}

.ps-float {
  pointer-events: none;
  position: absolute;
  right: -16px;
  top: 64px;
  display: none;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: #fff;
  padding: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .1);
}

@media (min-width: 640px) {
  .ps-float {
    display: flex;
    align-items: center;
    gap: 8px;
  }
}

.ps-float p {
  font-size: 13px;
  font-weight: 600;
}

/* ---------- Features ---------- */
#features {
  background: var(--surface);
  padding: 96px 0;
}

@media (min-width: 1024px) {
  #features {
    padding: 112px 0;
  }
}

.features-grid {
  margin-top: 56px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

.feature-card {
  flex: 1 1 100%;
}

@media (min-width: 640px) {
  .feature-card {
    flex: 1 1 calc(50% - 8px);
  }
}

@media (min-width: 1024px) {
  .feature-card {
    flex: 1 1 calc(25% - 12px);
    max-width: calc(25% - 12px);
  }
}

.feature-card {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: #fff;
  padding: 24px;
  transition: all .3s;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -20px rgba(22, 22, 22, .2);
  border-color: rgba(22, 22, 22, .15);
}

.feature-icon {
  margin-bottom: 20px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--ink);
  color: #fff;
  transition: background .2s;
}

.feature-card:hover .feature-icon {
  background: var(--brand);
}

.feature-card h3 {
  font-size: 17px;
  font-weight: 600;
  color: var(--ink);
}

.feature-card p {
  margin-top: 6px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink-soft);
}

.feature-bar {
  pointer-events: none;
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  transform: scaleX(0);
  transform-origin: left;
  background: linear-gradient(to right, var(--brand), rgba(194, 32, 50, .4));
  transition: transform .5s;
}

.feature-card:hover .feature-bar {
  transform: scaleX(1);
}

/* ---------- Dashboard showcase ---------- */
#dashboard {
  padding: 96px 0;
  overflow: hidden;
}

@media (min-width: 1024px) {
  #dashboard {
    padding: 128px 0;
  }
}

.dash-bg {
  pointer-events: none;
  position: absolute;
  inset: 0;
  opacity: .4;
  background: radial-gradient(ellipse at 50% 40%, rgba(194, 32, 50, .06), transparent 60%);
}

.device {
  position: relative;
  margin: 64px auto 0;
  max-width: 960px;
}

.device-frame {
  border-radius: 22px;
  border: 1px solid var(--border);
  background: #fff;
  box-shadow: 0 40px 100px -30px rgba(22, 22, 22, .35);
  overflow: hidden;
}

.device-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  border-bottom: 1px solid var(--border);
  padding: 10px 16px;
}

.device-bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.device-bar span:nth-child(1) {
  background: #ff5f57;
}

.device-bar span:nth-child(2) {
  background: #febc2e;
}

.device-bar span:nth-child(3) {
  background: #28c840;
}

.dash-label {
  position: absolute;
  z-index: 2;
  display: none;
  align-items: center;
  gap: 8px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: #fff;
  padding: 8px 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .1);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
}

@media (min-width: 768px) {
  .dash-label {
    display: flex;
  }
}

.dash-label .stat-icon {
  width: 28px;
  height: 28px;
}

.dl1 {
  left: -2%;
  top: 8%;
}

.dl2 {
  right: -2%;
  top: 6%;
}

.dl3 {
  left: -4%;
  top: 46%;
}

.dl4 {
  right: -4%;
  top: 42%;
}

.dl5 {
  left: 2%;
  bottom: 6%;
}

.dl6 {
  right: 2%;
  bottom: 10%;
}

/* ---------- How it works ---------- */
#how {
  background: var(--surface);
  padding: 96px 0;
}

@media (min-width: 1024px) {
  #how {
    padding: 112px 0;
  }
}

.how-lead {
  max-width: 640px;
}

.timeline-desktop {
  display: none;
  margin-top: 64px;
}

@media (min-width: 1024px) {
  .timeline-desktop {
    display: block;
  }
}

.timeline-wrap {
  position: relative;
}

.timeline-wrap svg.rail {
  position: absolute;
  left: 0;
  right: 0;
  top: 24px;
  height: 16px;
  width: 100%;
}

.timeline-steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 16px;
}

.timeline-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.timeline-step .num-badge {
  position: relative;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--ink);
  box-shadow: 0 1px 2px rgba(0, 0, 0, .06);
}

.timeline-step .step-label {
  margin-top: 16px;
  font-size: 11px;
  font-weight: 600;
  color: var(--ink-soft);
}

.timeline-step .step-title {
  margin-top: 4px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}

.timeline-mobile {
  margin-top: 48px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

@media (min-width: 1024px) {
  .timeline-mobile {
    display: none;
  }
}

.timeline-mobile li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: #fff;
  padding: 16px;
}

.timeline-mobile .num-badge {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
}

.timeline-mobile .step-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--brand);
}

.timeline-mobile .step-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
}

/* ---------- Benefits ---------- */
#benefits {
  padding: 96px 0;
}

@media (min-width: 1024px) {
  #benefits {
    padding: 112px 0;
  }
}

.benefits-grid {
  margin-top: 48px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 640px) {
  .benefits-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1024px) {
  .benefits-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.benefit-card {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: #fff;
  padding: 24px;
  transition: all .2s;
}

.benefit-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .1);
}

.benefit-stat {
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -.01em;
  color: var(--ink);
}

.benefit-card h3 {
  margin-top: 8px;
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
}

.benefit-card p {
  margin-top: 8px;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--ink-soft);
}

.benefit-bar {
  pointer-events: none;
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 0;
  height: 2px;
  transform: scaleX(0);
  transform-origin: left;
  background: var(--brand);
  transition: transform .5s;
}

.benefit-card:hover .benefit-bar {
  transform: scaleX(1);
}

/* ---------- Live dashboard (dark) ---------- */
#live-dashboard {
  background: var(--ink);
  color: #fff;
  padding: 96px 0;
}

@media (min-width: 1024px) {
  #live-dashboard {
    padding: 128px 0;
  }
}

.ld-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 56px;
  align-items: center;
}

@media (min-width: 1024px) {
  .ld-grid {
    grid-template-columns: 1fr 1.2fr;
  }
}

#live-dashboard h2 {
  color: #fff;
}

#live-dashboard .section-lead {
  color: rgba(255, 255, 255, .7);
}

.ld-list {
  margin-top: 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  font-size: 14px;
}

.ld-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, .85);
}

.ld-check {
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--brand);
  flex-shrink: 0;
}

.ld-check svg {
  width: 12px;
  height: 12px;
}

.ld-image {
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, .1);
  background: rgba(255, 255, 255, .05);
  padding: 8px;
  backdrop-filter: blur(4px);
}

.ld-image img {
  border-radius: 12px;
  width: 100%;
}

/* ---------- Mobile app ---------- */
#mobile-app {
  padding: 96px 0;
}

@media (min-width: 1024px) {
  #mobile-app {
    padding: 128px 0;
  }
}

.ma-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 56px;
  align-items: center;
}

@media (min-width: 1024px) {
  .ma-grid {
    grid-template-columns: 1.1fr 1fr;
  }
}

.ma-visual {
  position: relative;
  order: 2;
}

.ma-content {
  order: 1;
}

@media (min-width: 1024px) {
  .ma-visual {
    order: 1;
  }

  .ma-content {
    order: 2;
  }
}

.ma-visual-glow {
  /* position: absolute;
  inset: -32px; */
  z-index: -1;
  border-radius: 50%;
  background: rgba(194, 32, 50, .05);
  filter: blur(64px);
}

.ma-visual img {
  border-radius: 16px;
  width: 100%;
}

.ma-features {
  margin-top: 32px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

@media (min-width: 640px) {
  .ma-features {
    grid-template-columns: 1fr 1fr;
  }
}

.ma-feature {
  border-radius: 12px;
  border: 1px solid var(--border);
  background: #fff;
  padding: 16px;
}

.ma-feature-icon {
  margin-bottom: 8px;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(194, 32, 50, .1);
  color: var(--brand);
}

.ma-feature p.t {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink);
}

.ma-feature p.d {
  margin-top: 4px;
  font-size: 13px;
  color: var(--ink-soft);
}

.ma-ctas {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.tech-strip {
  margin-top: 80px;
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid var(--border);
  display: grid;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .tech-strip {
    grid-template-columns: 1.1fr 1fr;
  }
}

.tech-strip img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}

.tech-strip-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--surface);
  padding: 32px;
}

@media (min-width: 1024px) {
  .tech-strip-content {
    padding: 48px;
  }
}

.tech-strip-content h3 {
  margin-top: 12px;
  font-size: 22px;
  font-weight: 800;
  line-height: 1.25;
  color: var(--ink);
}

.tech-strip-content p {
  margin-top: 12px;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--ink-soft);
}

.founder-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface);
  min-height: 220px;
}

.founder-avatar {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: #fff;
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
}

@media (min-width: 768px) {
  .founder-avatar {
    width: 128px;
    height: 128px;
    font-size: 42px;
  }
}

.founder-signoff {
  margin-top: 20px;
}

.founder-signoff .name {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
}

.founder-signoff .role {
  margin-top: 2px;
  font-size: 13.5px;
  color: var(--ink-soft);
}

.founder-avatar.small {
  width: 44px;
  height: 44px;
  font-size: 15px;
  flex-shrink: 0;
}

.founder-avatar.tiny {
  width: 32px;
  height: 32px;
  font-size: 11px;
  border: 2px solid #fff;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.footer-ask-founder {
  margin-top: 20px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--surface);
  text-decoration: none;
  transition: border-color .2s, transform .2s;
}

.footer-ask-founder:hover {
  border-color: var(--brand);
  transform: translateY(-2px);
}

.footer-ask-founder .ask-label {
  display: block;
  font-size: 12px;
  color: var(--ink-soft);
}

.footer-ask-founder .ask-link {
  margin-top: 2px;
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 14px;
  font-weight: 700;
  color: var(--brand);
}

/* ---------- Testimonials ---------- */
#testimonials {
  background: var(--surface);
  padding: 64px 0;
}

@media (min-width: 640px) {
  #testimonials {
    padding: 80px 0;
  }
}

@media (min-width: 1024px) {
  #testimonials {
    padding: 112px 0;
  }
}

.testi-wrap {
  position: relative;
  margin-top: 40px;
}

@media (min-width: 640px) {
  .testi-wrap {
    margin-top: 48px;
  }
}

.testi-viewport {
  overflow: hidden;
  border-radius: 16px;
}

.testi-track {
  display: flex;
  transition: transform .7s cubic-bezier(.22, 1, .36, 1);
}

.testi-slide {
  flex: 0 0 100%;
}

.testi-card {
  position: relative;
  margin: 0 auto;
  max-width: 720px;
  display: flex;
  flex-direction: column;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: #fff;
  padding: 24px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .04);
}

@media (min-width: 640px) {
  .testi-card {
    padding: 32px;
  }
}

@media (min-width: 1024px) {
  .testi-card {
    padding: 40px;
  }
}

.testi-stars {
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--brand);
}

.testi-stars svg {
  width: 16px;
  height: 16px;
}

.testi-quote {
  position: relative;
  margin-top: 20px;
  flex: 1;
}

.testi-quote-mark {
  position: absolute;
  left: -4px;
  top: -8px;
  width: 24px;
  height: 24px;
  color: rgba(194, 32, 50, .1);
}

.testi-quote p {
  padding-left: 16px;
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
}

@media (min-width: 640px) {
  .testi-quote p {
    font-size: 18px;
  }
}

@media (min-width: 1024px) {
  .testi-quote p {
    font-size: 20px;
  }
}

.testi-person {
  margin-top: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 1px solid var(--border);
  padding-top: 20px;
}

.testi-person img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 0 2px var(--surface);
}

.testi-person .name {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
}

.testi-person .role {
  font-size: 13px;
  color: var(--ink-soft);
}

.testi-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  display: none;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: #fff;
  padding: 10px;
  color: var(--ink);
  box-shadow: 0 2px 8px rgba(0, 0, 0, .1);
}

@media (min-width: 640px) {
  .testi-arrow {
    display: flex;
  }
}

.testi-arrow:hover {
  border-color: rgba(194, 32, 50, .3);
  color: var(--brand);
}

.testi-arrow.prev {
  left: 0;
  transform: translate(-50%, -50%);
}

.testi-arrow.next {
  right: 0;
  transform: translate(50%, -50%);
}

.testi-arrow svg {
  width: 20px;
  height: 20px;
}

.testi-dots {
  margin-top: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.testi-dots button {
  height: 10px;
  width: 10px;
  border-radius: 999px;
  background: var(--border);
  transition: all .3s;
}

.testi-dots button.active {
  width: 28px;
  background: var(--brand);
}

/* ---------- Pricing ---------- */
#pricing {
  padding: 96px 0;
}

@media (min-width: 1024px) {
  #pricing {
    padding: 112px 0;
  }
}

.pricing-grid {
  margin-top: 56px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 768px) {
  .pricing-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.plan-card {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--ink);
  padding: 28px;
  transition: all .2s;
}

.plan-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .1);
}

.plan-card.featured {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
  box-shadow: 0 20px 40px rgba(0, 0, 0, .2);
}

@media (min-width: 1024px) {
  .plan-card.featured {
    transform: translateY(-8px);
  }
}

.plan-badge {
  position: absolute;
  right: 20px;
  top: 20px;
  border-radius: 999px;
  background: var(--brand);
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: #fff;
}

.plan-name {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--ink-soft);
}

.plan-card.featured .plan-name {
  color: var(--brand);
}

.plan-price {
  margin-top: 16px;
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -.01em;
}

.plan-price span {
  margin-left: 4px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-soft);
}

.plan-card.featured .plan-price span {
  color: rgba(255, 255, 255, .6);
}

.plan-desc {
  margin-top: 8px;
  font-size: 13.5px;
  color: var(--ink-soft);
}

.plan-card.featured .plan-desc {
  color: rgba(255, 255, 255, .7);
}

.plan-features {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 14px;
}

.plan-card.featured .plan-features {
  color: rgba(255, 255, 255, .9);
}

.plan-features li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.plan-check {
  margin-top: 2px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: rgba(194, 32, 50, .1);
  color: var(--brand);
}

.plan-card.featured .plan-check {
  background: var(--brand);
  color: #fff;
}

.plan-check svg {
  width: 12px;
  height: 12px;
}

.plan-cta {
  margin-top: 28px;
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: #fff;
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}

.plan-card.featured .plan-cta {
  border: none;
  background: var(--brand);
  color: #fff;
}

.plan-cta:hover {
  border-color: rgba(22, 22, 22, .3);
}

.plan-card.featured .plan-cta:hover {
  background: var(--brand-dark);
}

/* ---------- FAQ ---------- */
#faq {
  background: var(--surface);
  padding: 96px 0;
}

@media (min-width: 1024px) {
  #faq {
    padding: 112px 32px;
  }
}

.faq-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 56px;
  max-width: 1152px;
  margin: 0 auto;
}

@media (min-width: 1024px) {
  .faq-grid {
    grid-template-columns: 1fr 1.4fr;
  }
}

.faq-link {
  margin-top: 20px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--brand);
}

.faq-link:hover {
  color: var(--brand-dark);
}

.faq-link svg {
  width: 16px;
  height: 16px;
}

.chat-panel {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: #fff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .04);
}

.chat-header {
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid var(--border);
  padding: 12px 20px;
}

.chat-header .stat-icon {
  width: 32px;
  height: 32px;
}

.chat-header .t {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}

.chat-header .s {
  font-size: 11px;
  color: var(--ink-soft);
}

.chat-body {
  max-height: 380px;
  min-height: 220px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 20px;
}

.chat-suggest p {
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-soft);
  margin-bottom: 12px;
}

.chat-suggest-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  border-radius: 999px;
  border: 1px solid var(--border);
  background: #fff;
  padding: 6px 12px;
  font-size: 12.5px;
  color: var(--ink);
  transition: all .2s;
}

.chip:hover {
  border-color: var(--brand);
  color: var(--brand);
}

.chat-msg {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.chat-q-row {
  display: flex;
  justify-content: flex-end;
}

.chat-q {
  max-width: 85%;
  border-radius: 16px 16px 4px 16px;
  background: var(--ink);
  padding: 10px 16px;
  font-size: 14px;
  color: #fff;
}

.chat-a-row {
  display: flex;
  justify-content: flex-start;
}

.chat-a {
  max-width: 90%;
  border-radius: 16px 16px 16px 4px;
  border: 1px solid var(--border);
  background: var(--surface);
  padding: 10px 16px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink);
}

.typing {
  display: inline-flex;
  gap: 4px;
}

.typing span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ink-soft);
}

.typing span:nth-child(2) {
  animation-delay: .15s;
}

.typing span:nth-child(3) {
  animation-delay: .3s;
}

.chat-form {
  display: flex;
  align-items: center;
  gap: 8px;
  border-top: 1px solid var(--border);
  background: #fff;
  padding: 12px;
}

.chat-form input {
  flex: 1;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--surface);
  padding: 10px 16px;
  font-size: 14px;
  color: var(--ink);
}

.chat-form input:focus {
  outline: none;
  border-color: var(--brand);
}

.chat-form button {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--brand);
  color: #fff;
  transition: background .2s;
}

.chat-form button:hover {
  background: var(--brand-dark);
}

.chat-form button svg {
  width: 16px;
  height: 16px;
}

.faq-note {
  margin-top: 12px;
  font-size: 12px;
  color: var(--ink-soft);
  text-align: center;
  padding: 0 20px 16px;
}

/* ---------- Final CTA ---------- */
#final-cta {
  background: var(--ink);
  color: #fff;
  padding: 96px 0;
  overflow: hidden;
}

@media (min-width: 1024px) {
  #final-cta {
    padding: 128px 0;
  }
}

.cta-bg1 {
  pointer-events: none;
  position: absolute;
  inset: 0;
  opacity: .7;
  background: radial-gradient(600px 300px at 20% 20%, rgba(194, 32, 50, .25), transparent 60%), radial-gradient(500px 250px at 90% 80%, rgba(194, 32, 50, .15), transparent 60%);
}

.cta-bg2 {
  pointer-events: none;
  position: absolute;
  inset: 0;
  opacity: .08;
  background-image: linear-gradient(to right, #fff 1px, transparent 1px), linear-gradient(to bottom, #fff 1px, transparent 1px);
  background-size: 56px 56px;
}

.cta-inner {
  position: relative;
  max-width: 720px;
  margin: 0 auto;
  padding: 0 20px;
  text-align: center;
}

#final-cta h2 {
  margin-top: 20px;
  font-size: 30px;
  font-weight: 800;
  line-height: 1.2;
}

@media (min-width: 640px) {
  #final-cta h2 {
    font-size: 38px;
  }
}

#final-cta h2 span {
  color: var(--brand);
}

#final-cta .section-lead {
  margin: 20px auto 0;
  max-width: 640px;
  color: rgba(255, 255, 255, .7);
}

.cta-actions {
  margin-top: 36px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.btn-ghost {
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .2);
  color: #fff;
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, .1);
}

/* ---------- Footer ---------- */
footer {
  border-top: 1px solid var(--border);
  background: #fff;
}

.footer-inner {
  padding: 64px 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  #faq {
    padding-inline: 20px;
  }

  .footer-inner {
    padding-inline: 20px;
  }
}

.footer-desc {
  margin-top: 16px;
  max-width: 320px;
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--ink-soft);
}

.footer-store-links {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.store-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: #fff;
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
}

.store-link:hover {
  border-color: rgba(22, 22, 22, .3);
}

.footer-col p.h {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--ink-soft);
}

.footer-links {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 14px;
}

.footer-links a:hover {
  color: var(--brand);
}

.footer-contact {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 14px;
  color: var(--ink);
}

.footer-contact li {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-contact .icon {
  color: var(--brand);
  width: 20px;
  height: 20px;
}

.social-row {
  margin-top: 20px;
  display: flex;
  gap: 8px;
}

.social-row a {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  border: 1px solid var(--border);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.social-row a:hover {
  border-color: rgba(22, 22, 22, .3);
  color: var(--ink);
}

.footer-bottom {
  margin-top: 48px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  border-top: 1px solid var(--border);
  padding-top: 24px;
  font-size: 12.5px;
  color: var(--ink-soft);
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

/* ---------- Legal pages (Privacy / Terms) ---------- */
.privacy-policy{
  margin-top: 5%;
  margin-bottom: 5%;
}
.terms-conditions{
   margin-top: 5%;
  margin-bottom: 5%;
}

@media (min-width: 640px) {
  .legal-page {
    padding-top: 168px;
  }
  .legal-header h1 {
    font-size: 42px;
  }
}

@media (max-width:576px) {
    .footer-inner{
    padding-inline: 20px;
  }
  #faq{
    padding-inline: 20px;
  }
}