:root {
  --primary: #6366f1;
  --surface: #0f1115;
  --surface-highlight: #1a1d24;
}

body {
  font-family: "SN Pro", sans-serif;
  background-color: #050507;
  /* Deep Black */
  color: #e2e8f0;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
.font-heading {
  font-family: "Space Grotesk", sans-serif;
  letter-spacing: -0.02em;
}

/* Modern Gradient Background */
.aurora-bg {
  background:
    radial-gradient(at 0% 0%, hsla(253, 16%, 7%, 1) 0, transparent 50%),
    radial-gradient(at 50% 0%, hsla(225, 39%, 30%, 1) 0, transparent 50%),
    radial-gradient(at 100% 0%, hsla(339, 49%, 30%, 1) 0, transparent 50%);
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.5;
  height: 100vh;
  pointer-events: none;
}

/* Refined Glassmorphism */
.glass-card {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.glass-pill {
  background: rgba(15, 17, 21, 0.7);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

/* Audio Bars */
.audio-bar {
  width: 4px;
  background: #818cf8;
  border-radius: 2px;
  animation: waveform 1s ease-in-out infinite;
}

@keyframes waveform {
  0%,
  100% {
    height: 10%;
    opacity: 0.5;
  }

  50% {
    height: 100%;
    opacity: 1;
  }
}

/* Range Slider Modern */
input[type="range"] {
  -webkit-appearance: none;
  background: transparent;
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  height: 24px;
  width: 24px;
  border-radius: 50%;
  background: #fff;
  cursor: pointer;
  margin-top: -10px;
  box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.3);
  transition: all 0.2s;
}

input[type="range"]::-webkit-slider-thumb:hover {
  transform: scale(1.1);
}

input[type="range"]::-webkit-slider-runnable-track {
  width: 100%;
  height: 4px;
  cursor: pointer;
  background: #334155;
  border-radius: 99px;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: #050507;
}

::-webkit-scrollbar-thumb {
  background: #334155;
  border-radius: 10px;
}

.text-gradient {
  background: linear-gradient(to right, #fff, #94a3b8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-primary {
  background: linear-gradient(135deg, #818cf8 0%, #c084fc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Animated Gradient Text */
.animate-gradient-x {
  background-size: 200% 200%;
  animation: gradient-x 4s ease infinite;
}

@keyframes gradient-x {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

/* Floating Animation for Cards */
.animate-float {
  animation: float 6s ease-in-out infinite;
}

.animation-delay-2000 {
  animation-delay: 2s;
}

@keyframes float {
  0% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-15px);
  }

  100% {
    transform: translateY(0px);
  }
}

/* Slow Pulse for Background Glow */
.animate-pulse-slow {
  animation: pulse 4s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* Heading Font */
h1,
h2,
h3,
h4 {
  font-family: "Space Grotesk", sans-serif;
  color: #fff;
}

/* Glass Container for Legal Text */
.legal-card {
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
}

/* Typography Styles for Dynamic Content */
.legal-content h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
  background: linear-gradient(to right, #fff, #94a3b8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.legal-content h2 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.legal-content h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
  color: #e2e8f0;
}

.legal-content p {
  margin-bottom: 1.25rem;
  line-height: 1.75;
  color: #94a3b8;
}

.legal-content ul {
  list-style-type: none; /* Custom bullets */
  padding-left: 0;
  margin-bottom: 1.5rem;
}

.legal-content li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.75rem;
  color: #cbd5e1;
  line-height: 1.6;
}

.legal-content li::before {
  content: "\f00c"; /* FontAwesome Check */
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  left: 0;
  top: 4px;
  color: #6366f1; /* Indigo-500 */
  font-size: 0.75rem;
}

.legal-content strong {
  color: #fff;
  font-weight: 600;
}

.legal-content a {
  color: #818cf8;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: all 0.2s;
}

.legal-content a:hover {
  color: #a5b4fc;
  border-bottom-color: #a5b4fc;
}

.delay-100 {
  animation-delay: 100ms;
}

.delay-200 {
  animation-delay: 200ms;
}

.delay-300 {
  animation-delay: 300ms;
}

.delay-400 {
  animation-delay: 400ms;
}

.hover-delay-75 {
  transition-delay: 75ms;
}

.hover-delay-100 {
  transition-delay: 100ms;
}

.gradient-text {
  background: linear-gradient(135deg, #6366f1, #a78bfa, #38bdf8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* bar heights & hover transitions */
.bar {
  transition: height 0.55s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.bar-1 {
  height: 30%;
}

.bar-2 {
  height: 55%;
}

.bar-3 {
  height: 40%;
}

.bar-4 {
  height: 78%;
}

.bar-5 {
  height: 58%;
}

.bar-6 {
  height: 94%;
}

.bar-7 {
  height: 44%;
}

.card-analytics:hover .bar-1 {
  height: 52%;
}

.card-analytics:hover .bar-2 {
  height: 75%;
}

.card-analytics:hover .bar-3 {
  height: 60%;
}

.card-analytics:hover .bar-4 {
  height: 100%;
}

.card-analytics:hover .bar-5 {
  height: 78%;
}

.card-analytics:hover .bar-6 {
  height: 100%;
}

.card-analytics:hover .bar-7 {
  height: 64%;
}

/* arrow tip on connectors */
.connector {
  position: relative;
}

.connector::after {
  content: "";
  position: absolute;
  right: -4px;
  top: -4px;
  width: 8px;
  height: 8px;
  border-top: 1.5px solid #a78bfa;
  border-right: 1.5px solid #a78bfa;
  transform: rotate(45deg);
}

@import url("https://fonts.googleapis.com/css2?family=Space+Mono:wght@400;700&family=Syne:wght@400;600;800&display=swap");

#demo {
  font-family: "Syne", sans-serif;
}

.mono {
  font-family: "Space Mono", monospace;
}

/* Ambient background glow */
.demo-glow-left {
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(0, 180, 255, 0.06) 0%,
    transparent 70%
  );
  top: -100px;
  left: -200px;
  pointer-events: none;
}

.demo-glow-right {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(0, 255, 180, 0.05) 0%,
    transparent 70%
  );
  bottom: -200px;
  right: -150px;
  pointer-events: none;
}

/* Analytics card */
.analytics-card {
  background: linear-gradient(
    145deg,
    rgba(8, 13, 24, 0.97) 0%,
    rgba(6, 10, 20, 0.99) 100%
  );
  border: 1px solid rgba(0, 255, 200, 0.12);
  box-shadow:
    0 0 80px rgba(0, 255, 180, 0.04),
    0 40px 100px rgba(0, 0, 0, 0.8),
    inset 0 1px 0 rgba(0, 255, 200, 0.08);
}

/* Scan line */
.scan-line {
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(0, 255, 180, 0.35),
    transparent
  );
  animation: scan 4s linear infinite;
  pointer-events: none;
}

@keyframes scan {
  0% {
    top: 0%;
    opacity: 0;
  }

  5% {
    opacity: 1;
  }

  95% {
    opacity: 1;
  }

  100% {
    top: 100%;
    opacity: 0;
  }
}

/* Corner brackets */
.c-tl {
  position: absolute;
  top: 12px;
  left: 12px;
  width: 10px;
  height: 10px;
  border-top: 1.5px solid rgba(0, 255, 180, 0.5);
  border-left: 1.5px solid rgba(0, 255, 180, 0.5);
}

.c-tr {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 10px;
  height: 10px;
  border-top: 1.5px solid rgba(0, 255, 180, 0.5);
  border-right: 1.5px solid rgba(0, 255, 180, 0.5);
}

.c-bl {
  position: absolute;
  bottom: 12px;
  left: 12px;
  width: 10px;
  height: 10px;
  border-bottom: 1.5px solid rgba(0, 255, 180, 0.5);
  border-left: 1.5px solid rgba(0, 255, 180, 0.5);
}

.c-br {
  position: absolute;
  bottom: 12px;
  right: 12px;
  width: 10px;
  height: 10px;
  border-bottom: 1.5px solid rgba(0, 255, 180, 0.5);
  border-right: 1.5px solid rgba(0, 255, 180, 0.5);
}

/* Live dot */
.dot-live {
  animation: liveDot 1.4s ease-in-out infinite;
}

@keyframes liveDot {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(0, 255, 180, 0.7);
  }

  50% {
    box-shadow: 0 0 0 5px rgba(0, 255, 180, 0);
  }
}

/* Waveform bars */
.bar-a {
  animation: ba 1.1s ease-in-out infinite alternate;
}

.bar-b {
  animation: bb 0.8s ease-in-out infinite alternate;
}

.bar-c {
  animation: bc 1.4s ease-in-out infinite alternate;
}

.bar-d {
  animation: bd 0.9s ease-in-out infinite alternate;
}

.bar-e {
  animation: be 1.2s ease-in-out infinite alternate;
}

.bar-f {
  animation: bf 0.75s ease-in-out infinite alternate;
}

.bar-g {
  animation: bg2 1.35s ease-in-out infinite alternate;
}

@keyframes ba {
  from {
    height: 20%;
  }

  to {
    height: 72%;
  }
}

@keyframes bb {
  from {
    height: 45%;
  }

  to {
    height: 95%;
  }
}

@keyframes bc {
  from {
    height: 28%;
  }

  to {
    height: 58%;
  }
}

@keyframes bd {
  from {
    height: 55%;
  }

  to {
    height: 88%;
  }
}

@keyframes be {
  from {
    height: 18%;
  }

  to {
    height: 70%;
  }
}

@keyframes bf {
  from {
    height: 40%;
  }

  to {
    height: 100%;
  }
}

@keyframes bg2 {
  from {
    height: 30%;
  }

  to {
    height: 62%;
  }
}

/* Use-case cards */
.use-card {
  position: relative;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  padding: 20px;
  cursor: pointer;
  transition:
    background 0.25s,
    border-color 0.25s,
    transform 0.2s;
  overflow: hidden;
}

.use-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0, 255, 180, 0.04), transparent 60%);
  opacity: 0;
  transition: opacity 0.3s;
}

.use-card:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(0, 255, 180, 0.2);
  transform: translateX(4px);
}

.use-card:hover::before {
  opacity: 1;
}

.use-card:hover .use-card-icon {
  box-shadow: 0 0 20px rgba(0, 255, 180, 0.25);
}

.use-card-ecom .use-card-icon {
  background: rgba(0, 180, 255, 0.1);
  border: 1px solid rgba(0, 180, 255, 0.2);
  color: #38bdf8;
}

.use-card-inbound .use-card-icon {
  background: rgba(160, 80, 255, 0.1);
  border: 1px solid rgba(160, 80, 255, 0.2);
  color: #c084fc;
}

/* Stat cards */
.stat-pill {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  padding: 10px 14px;
}

/* Heading accent */
.heading-line {
  display: inline-block;
  width: 32px;
  height: 2px;
  background: linear-gradient(90deg, rgba(0, 255, 180, 0.8), transparent);
  margin-bottom: 14px;
  border-radius: 2px;
}

.use-card-outbound .use-card-icon {
  background: rgba(0, 255, 180, 0.08);
  border: 1px solid rgba(0, 255, 180, 0.2);
  color: #34d399;
}

@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap");

.no-scrollbar::-webkit-scrollbar {
  display: none;
}

.no-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}
