:root {
  --c-navy: #063B7F;
  --c-blue: #07489B;
  --c-sky: #BCD4F4;
  --c-white: #FFFFFF;
  --c-black: #000000;
  --c-outline: #CCCCCC;
  --c-surface: #FFFFFF;
  --c-text-muted: rgba(0, 0, 0, 0.58);
  --c-error: #063B7F;
  --rgb-navy: 6, 59, 127;
  --rgb-blue: 7, 72, 155;
  --rgb-sky: 188, 212, 244;

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-pill: 9999px;

  --bg-base: var(--c-white);
  --bg-surface: var(--c-white);
  --bg-card: var(--c-white);
  --bg-card-hover: var(--c-sky);

  /* Legacy names — map to tokens */
  --navy-700: var(--c-navy);
  --navy-800: var(--c-black);
  --navy-900: var(--c-black);
  --sky-100: var(--c-sky);
  --sky-50: var(--c-sky);
  --accent-cyan: var(--c-blue);
  --accent-cyan-dim: rgba(var(--rgb-blue), 0.12);
  --accent-amber: var(--c-blue);
  --accent-amber-dim: rgba(var(--rgb-blue), 0.10);
  --accent-violet: var(--c-blue);

  --text-primary: var(--c-black);
  --text-secondary: var(--c-text-muted);
  --text-tertiary: rgba(0, 0, 0, 0.45);
  --border: rgba(var(--rgb-navy), 0.14);
  --border-bright: rgba(var(--rgb-blue), 0.30);
  --error: var(--c-error);
}

/* Eyebrow divider lines — black @ low opacity */
.eyebrow-divider {
  width: 1.5rem;
  height: 1px;
  background: rgba(0, 0, 0, 0.12);
}

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

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-base);
  color: var(--text-primary);
  font-family: var(--font-inter), 'Inter', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  overflow-x: hidden;
  cursor: default;
}

.sb-admin {
  /* Slightly tighter typography + higher contrast for admin */
  font-size: 14px;
  --c-text-muted: rgba(0, 0, 0, 0.62);
  --text-secondary: var(--c-text-muted);
  --text-tertiary: rgba(0, 0, 0, 0.48);
  --border: rgba(var(--rgb-navy), 0.12);
}

.font-mono {
  font-family: var(--font-inter), 'Inter', system-ui, sans-serif;
}

.font-serif {
  font-family: var(--font-inter), 'Inter', system-ui, sans-serif;
}

.font-display {
  font-family: var(--font-inter), 'Inter', system-ui, sans-serif;
}

/* Brand logo — single image: public/assets/images/smart-bots-logo.png */
.brand-logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.brand-logo:hover {
  opacity: 0.92;
}

.brand-logo:focus-visible {
  outline: 2px solid rgba(var(--rgb-navy), 0.35);
  outline-offset: 4px;
  border-radius: var(--radius-md);
}

.brand-logo-image {
  display: block;
  height: auto;
  width: auto;
  max-height: 32px;
  max-width: min(200px, 48vw);
  object-fit: contain;
  object-position: left center;
}

.brand-logo-text {
  color: #1e44ae;
  letter-spacing: -0.025em;
  font-weight: 700;
  font-size: 1.125rem;
  line-height: 1.75rem;
  padding-left: 10px;
}

@media (min-width: 640px) {
  .brand-logo-image {
    max-height: 36px;
    max-width: min(240px, 40vw);
  }
}

/* Subtle noise — lighter for clean marketing look */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 1000;
  opacity: 0.25;
}

/* Grid background — subtle navy tint */
.grid-bg {
  background-image:
    linear-gradient(rgba(var(--rgb-navy), 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(var(--rgb-navy), 0.05) 1px, transparent 1px);
  background-size: 60px 60px;
}

/* Hero metrics + integrations — soft vertical gradient (no grid lines) */
.hero-strip-gradient {
  background: linear-gradient(
    180deg,
    rgba(var(--rgb-navy), 0.08) 0%,
    var(--bg-base) 45%,
    rgba(var(--rgb-navy), 0.05) 100%
  );
}

/* Glowing orbs */
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
}

/* Voice waveform animation */
@keyframes wave1 {
  0%,
  100% {
    height: 8px
  }
  50% {
    height: 48px
  }
}

@keyframes wave2 {
  0%,
  100% {
    height: 16px
  }
  50% {
    height: 72px
  }
}

@keyframes wave3 {
  0%,
  100% {
    height: 12px
  }
  50% {
    height: 56px
  }
}

@keyframes wave4 {
  0%,
  100% {
    height: 24px
  }
  50% {
    height: 80px
  }
}

@keyframes wave5 {
  0%,
  100% {
    height: 8px
  }
  50% {
    height: 40px
  }
}

@keyframes wave6 {
  0%,
  100% {
    height: 20px
  }
  50% {
    height: 64px
  }
}

@keyframes wave7 {
  0%,
  100% {
    height: 6px
  }
  50% {
    height: 44px
  }
}

/* Pulse ring animation */
@keyframes pulseRing {
  0% {
    transform: scale(1);
    opacity: 0.6;
  }

  100% {
    transform: scale(2.2);
    opacity: 0;
  }
}

/* Disable animations on the floating chat widget button */

/* Fade-in animations */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.anim-fade-up {
  animation: fadeUp 0.8s cubic-bezier(0.2, 0.8, 0.4, 1) forwards;
}

.delay-100 {
  animation-delay: 0.1s;
  opacity: 0;
}

.delay-200 {
  animation-delay: 0.2s;
  opacity: 0;
}

.delay-300 {
  animation-delay: 0.3s;
  opacity: 0;
}

.delay-400 {
  animation-delay: 0.4s;
  opacity: 0;
}

.delay-500 {
  animation-delay: 0.5s;
  opacity: 0;
}

/* Buttons — primary navy, secondary sky, ghost outline (design system) */
.btn-primary {
  background: var(--c-navy);
  color: var(--c-white);
  font-family: inherit;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.02em;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary:hover {
  background: var(--c-black);
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

/* Secondary: sky surface + navy label */
.btn-amber {
  background: var(--c-sky);
  color: var(--c-navy);
  font-family: inherit;
  font-weight: 600;
  font-size: 14px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(var(--rgb-navy), 0.12);
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-amber:hover {
  background: var(--c-navy);
  color: var(--c-white);
  border-color: var(--c-navy);
  box-shadow: 0 4px 16px rgba(var(--rgb-navy), 0.28);
  transform: translateY(-1px);
}

/* Dark variant (optional emphasis) */
.btn-dark {
  background: var(--c-black);
  color: var(--c-white);
  font-family: inherit;
  font-weight: 600;
  font-size: 14px;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-dark:hover {
  background: var(--c-navy);
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(var(--rgb-navy), 0.2);
}

.btn-ghost {
  border: 1.5px solid var(--c-navy);
  color: var(--c-navy);
  background: var(--c-white);
  font-family: inherit;
  font-weight: 600;
  font-size: 14px;
  border-radius: var(--radius-md);
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.btn-ghost:hover {
  background: var(--c-sky);
  transform: translateY(-1px);
  border-color: var(--c-navy);
}

/* Pricing plan cards — CTA matches card hover accent */
.pricing-plan-card:hover .pricing-plan-cta {
  background: var(--c-blue);
  border-color: var(--c-blue);
  color: var(--c-white);
  box-shadow: none;
  transform: none;
}

.pricing-plan-card:hover .pricing-plan-cta:hover {
  background: var(--c-navy);
  border-color: var(--c-navy);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(var(--rgb-blue), 0.28);
}

/* Solutions pillar cards — same hover CTA, isolated from pricing page */
.solution-pillar-card:hover .solution-pillar-cta {
  background: var(--c-blue);
  border-color: var(--c-blue);
  color: var(--c-white);
  box-shadow: none;
  transform: none;
}

.solution-pillar-card:hover .solution-pillar-cta:hover {
  background: var(--c-navy);
  border-color: var(--c-navy);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(var(--rgb-blue), 0.28);
}

/* Card hover */
.demo-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  transition: all 0.3s cubic-bezier(0.2, 0.8, 0.4, 1);
}

.demo-card:hover {
  /* background: var(--bg-card-hover);
  border-color: rgba(0, 0, 0, 0.12); */
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.06);
}

/* Glowing text */

/* Ticker/marquee */
@keyframes marquee {
  from {
    transform: translateX(0);
  }

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

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

.marquee-track:hover {
  animation-play-state: paused;
}

/* Status dot pulse */
@keyframes statusPulse {
  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.4;
  }
}

.status-dot {
  animation: statusPulse 2s ease-in-out infinite;
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 4px;
}

::-webkit-scrollbar-track {
  background: var(--bg-base);
}

::-webkit-scrollbar-thumb {
  background: rgba(var(--rgb-navy), 0.35);
  border-radius: 2px;
}

/* Nav link — inactive: gray; active: navy pill + white text */
.nav-link {
  color: var(--text-secondary);
  font-family: inherit;
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.02em;
  transition: color 0.2s ease, background 0.2s ease;
  position: relative;
  text-decoration: none;
  border-radius: var(--radius-pill);
  padding: 0.35rem 0.75rem;
}

.nav-link::after {
  display: none;
}

.nav-link:hover:not(.nav-link--active) {
  color: var(--text-primary);
}

.nav-link--active {
  background: var(--c-navy);
  color: var(--c-white) !important;
}

.nav-link--active:hover {
  background: var(--c-black);
  color: var(--c-white) !important;
}

/* Metric counter */

/* Tab active indicator */
.tab-btn {
  transition: all 0.25s;
}

.tab-btn.active {
  background: var(--c-navy);
  color: var(--c-white);
  border-color: var(--c-navy);
}

.tab-btn:not(.active):hover {
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-primary);
}

/* Voice widget floating */
@keyframes floatWidget {
  0%,
  100% {
    transform: translateY(0px);
  }

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

.float-anim {
  animation: floatWidget 4s ease-in-out infinite;
}

/* Scan line effect */
@keyframes scanLine {
  0% {
    top: 0%;
  }

  100% {
    top: 100%;
  }
}

/* Typewriter cursor */
@keyframes blink {
  0%,
  100% {
    opacity: 1
  }

  50% {
    opacity: 0
  }
}

.cursor {
  animation: blink 1s step-start infinite;
}

/* Chat bubble animation */
@keyframes chatAppear {
  from {
    opacity: 0;
    transform: scale(0.9) translateY(10px);
  }

  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.chat-bubble {
  animation: chatAppear 0.4s cubic-bezier(0.2, 0.8, 0.4, 1) forwards;
}

.chat-delay-1 {
  animation-delay: 0.5s;
  opacity: 0;
}

.chat-delay-2 {
  animation-delay: 1.2s;
  opacity: 0;
}

.chat-delay-3 {
  animation-delay: 2.0s;
  opacity: 0;
}

/* Vertical text */

/* Separator line glow */
.sep-glow {
  background: linear-gradient(90deg, transparent, var(--accent-cyan), transparent);
  height: 1px;
  opacity: 0.3;
}

/* Feature chip */
.feature-chip {
  border: 1px solid var(--border);
  background: var(--bg-card);
  transition: all 0.2s;
}

.feature-chip:hover {
  border-color: var(--border-bright);
  background: var(--accent-cyan-dim);
  color: var(--text-primary);
}

/* Integration logo */
.integration-logo {
  filter: grayscale(1) brightness(0.5);
  transition: filter 0.3s;
}

.integration-logo:hover {
  filter: grayscale(0) brightness(1);
}

/* Number highlight — black + navy only */
.number-hl {
  background: linear-gradient(135deg, var(--c-black), var(--c-navy));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Process step connector */
.step-connector {
  background: linear-gradient(180deg, var(--accent-cyan) 0%, transparent 100%);
  width: 1px;
  flex: 1;
  opacity: 0.3;
}

/* Chat Window Styles */
.chat-window {
  position: fixed;
  bottom: 100px;
  right: 24px;
  width: 420px;
  height: 600px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: 0 24px 72px rgba(0, 0, 0, 0.10), 0 0 0 1px rgba(var(--rgb-navy), 0.10), inset 0 1px 0 rgba(255, 255, 255, 0.7);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: translateY(20px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.2, 0.8, 0.4, 1);
}

.chat-window.active {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.chat-input {
  flex: 1;
  background: transparent;
  border: none;
  color: var(--text-primary);
  font-family: var(--font-inter), 'Inter', system-ui, sans-serif;
  font-size: 14px;
  outline: none;
}

@media (max-width: 768px) {
  .chat-input {
    font-size: 16px;
  }
}

.chat-input::placeholder {
  color: var(--text-tertiary);
}

.close-chat-btn {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s;
}

.close-chat-btn:hover {
  color: var(--navy-700);
}

@media (max-width: 768px) {
  .chat-window {
    left: max(12px, env(safe-area-inset-left, 0px));
    right: max(12px, env(safe-area-inset-right, 0px));
    width: auto;
    height: min(70dvh, 620px);
    bottom: calc(5.5rem + env(safe-area-inset-bottom, 0px));
  }
}

/* Scroll reveal utility (HomePage sections) */

/* Card micro-interaction */

/* Auto-generated inline style replacements: START */
.nav-glass {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.text-accent-cyan {
  color: var(--accent-cyan);
}

.bg-accent-cyan {
  background: var(--accent-cyan);
}

.text-accent-amber {
  color: var(--accent-amber);
}

.text-secondary {
  color: var(--text-secondary);
}

.border-1px-solid-border-bright {
  border: 1px solid var(--border-bright);
}

.nav-link-muted {
  border: 1px solid var(--border);
  color: var(--text-secondary);
}

.tag-cyan {
  background: var(--sky-50);
  color: var(--navy-700);
}

.text-primary {
  color: var(--text-primary);
}

.bg-surface {
  background: var(--bg-surface);
}

.text-tertiary {
  color: var(--text-tertiary);
}

.fill-cyan {
  background: var(--c-navy);
  color: #ffffff;
}

.tag-violet {
  background: var(--sky-50);
  color: var(--navy-700);
}

.text-7c5cfc {
  color: var(--accent-violet);
}

.tag-amber {
  background: var(--sky-100);
  color: var(--navy-700);
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
}

.footer-surface {
  background: var(--bg-base);
  color: var(--text-primary);
  border-top: 1px solid var(--border);
}

.footer-surface .footer-desc {
  color: var(--text-secondary);
  max-width: 260px;
}

.footer-surface .text-secondary {
  color: var(--text-secondary);
}

.footer-surface a.text-secondary:hover {
  color: var(--text-primary);
}

.footer-surface .text-tertiary {
  color: var(--text-tertiary);
}

.footer-surface .footer-title {
  color: var(--text-tertiary);
  letter-spacing: 0.1em;
}

.footer-surface .border-top-1px-solid-border {
  border-top-color: var(--border);
}

.footer-surface .pill-cyan {
  background: var(--accent-cyan-dim);
  border: 1px solid rgba(var(--rgb-navy), 0.15);
  color: var(--navy-700);
}

.footer-desc {
  color: var(--text-secondary);
  max-width: 260px;
}

.pill-cyan {
  background: var(--accent-cyan-dim);
  border: 1px solid rgba(var(--rgb-navy), 0.15);
  color: var(--navy-700);
}

.footer-title {
  color: var(--text-tertiary);
  letter-spacing: 0.1em;
}

.border-top-1px-solid-border {
  border-top: 1px solid var(--border);
}

.bubble {
  background: rgba(0, 0, 0, 0.04);
  color: var(--text-primary);
}

/* Floating widget tooltip: show on hover only */

.orb-cyan-1 {
  background: radial-gradient(circle, rgba(var(--rgb-navy), 0.12) 0%, transparent 70%);
  top: -200px;
  left: -200px;
}

.orb-violet-2 {
  background: radial-gradient(circle, rgba(var(--rgb-navy), 0.08) 0%, transparent 70%);
  bottom: -100px;
  right: -100px;
}

.orb-amber-1 {
  background: radial-gradient(circle, rgba(var(--rgb-navy), 0.08) 0%, transparent 70%);
  top: 30%;
  right: 20%;
}

.bg-border {
  background: var(--border);
}

.card-elevated {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: 0 1px 3px rgba(var(--rgb-navy), 0.06), 0 12px 32px rgba(var(--rgb-navy), 0.05);
}

.border-bottom-1px-solid-border {
  border-bottom: 1px solid var(--border);
}

.bg-white-dim {
  background: rgba(255, 255, 255, 0.1);
}

.input-surface {
  background: rgba(0, 0, 0, 0.03);
  border: 1px solid var(--border);
}

.bg-white-faint {
  background: rgba(0, 0, 0, 0.04);
}

.border-color-border {
  border-color: var(--border);
}

.sb-admin-active-indicator {
  position: absolute;
  left: 6px;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 18px;
  border-radius: 999px;
  background: rgba(var(--rgb-navy), 0.55);
}

.sb-admin-tooltip {
  position: absolute;
  left: calc(100% + 10px);
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.86);
  color: #fff;
  font-size: 12px;
  line-height: 1;
  padding: 8px 10px;
  border-radius: 10px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}

/* show tooltip on hover/focus for collapsed nav items */
a:hover > .sb-admin-tooltip,
a:focus-visible > .sb-admin-tooltip {
  opacity: 1;
}

.bg-accent-cyan-dim {
  background: var(--accent-cyan-dim);
}

.bg-violet-dim {
  background: rgba(var(--rgb-navy), 0.08);
}

.bg-accent-amber-dim {
  background: var(--accent-amber-dim);
}

.panel-cyan-border {
  background: var(--accent-cyan-dim);
  border: 1px solid var(--border-bright);
}

.step-cyan {
  background: var(--sky-50);
  color: var(--navy-700);
  border: 1px solid rgba(var(--rgb-navy), 0.15);
}

.step-violet {
  background: rgba(var(--rgb-navy), 0.08);
  color: var(--accent-violet);
  border: 1px solid rgba(var(--rgb-navy), 0.22);
}

.fill-amber {
  background: var(--accent-amber);
  color: #FFFFFF;
}

.chip-violet {
  background: rgba(var(--rgb-navy), 0.08);
  border: 1px solid rgba(var(--rgb-navy), 0.18);
  color: var(--accent-violet);
}

.chip-amber-2 {
  background: var(--accent-amber-dim);
  border: 1px solid rgba(var(--rgb-navy), 0.22);
  color: var(--accent-amber);
}

.bg-card {
  background: var(--bg-card);
}

.orb-cyan-4 {
  background: radial-gradient(circle, rgba(var(--rgb-navy), 0.18) 0%, transparent 70%);
  top: 10%;
  left: -200px;
}

.orb-amber-3 {
  background: radial-gradient(circle, rgba(var(--rgb-navy), 0.16) 0%, transparent 70%);
  top: 20%;
  right: -100px;
}

/* Brand gradients (logo blues) */

.badge-dark-cyan {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--border);
  color: var(--accent-cyan);
  backdrop-filter: blur(10px);
}

.badge-dark-amber {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--border);
  color: var(--accent-amber);
  backdrop-filter: blur(10px);
}

.badge-dark {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--border);
  color: var(--accent-violet);
  backdrop-filter: blur(10px);
}

/* Auto-generated inline style replacements: END */
