﻿:root {
  color-scheme: light;
  
  /* Brand Colors */
  --color-primary: #0369a1;
  --color-primary-light: #38bdf8;
  --color-secondary: #059669;
  --color-accent: #ea580c;
  
  /* Neutral Palette */
  --color-background: #ffffff;
  --color-surface: #f8fafc;
  --color-surface-secondary: #f1f5f9;
  --color-border: #e2e8f0;
  --color-border-light: #cbd5e1;
  --color-text: #0f172a;
  --color-text-secondary: #334155;
  --color-text-muted: #64748b;
  --color-text-subtle: #94a3b8;
  
  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.07);
  --shadow-lg: 0 10px 20px rgba(0, 0, 0, 0.08);
  --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.1);
  
  /* Spacing Scale */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  
  /* Border Radius */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;
  --radius-2xl: 2rem;
  --radius-full: 9999px;
}

body {
  font-family: 'Poppins', sans-serif;
  background-color: var(--color-background);
  color: var(--color-text);
}

.site-nav {
  backdrop-filter: blur(18px);
}

.site-nav__links {
  align-items: center;
  gap: clamp(1rem, 1.4vw, 1.5rem);
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

.site-nav__links a {
  transition: color 0.2s ease;
  white-space: nowrap;
}

.site-nav__links a:hover,
.site-nav__links a[aria-current='page'] {
  color: var(--color-text);
}

#mobile-nav:not(.hidden) {
  display: flex;
}

#mobile-nav a {
  display: block;
  width: 100%;
  line-height: 1.35;
}

.site-logo-mark {
  width: 4.75rem;
  height: 2.5rem;
  object-fit: contain;
  flex-shrink: 0;
  filter: brightness(0) saturate(100%) invert(38%) sepia(91%) saturate(1749%) hue-rotate(171deg) brightness(95%) contrast(98%);
}

.site-hero-panel {
  border-radius: 2rem;
  border: 1px solid var(--color-border);
  background: linear-gradient(180deg, rgba(248, 250, 252, 0.98), rgba(255, 255, 255, 0.94));
  box-shadow: var(--shadow-sm);
}

.page-lead {
  color: var(--color-text-muted);
  max-width: 42rem;
}

.article-shell {
  max-width: 54rem;
}

.article-card {
  border-radius: 2rem;
  border: 1px solid var(--color-border);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow-sm);
  padding: clamp(1.5rem, 3vw, 2.75rem);
}

.article-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  border-radius: 999px;
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  padding: 0.45rem 1rem;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--color-primary);
}

.article-meta {
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

.site-footer {
  position: relative;
  border-top: 1px solid var(--color-border);
  background: var(--color-surface);
  padding: 1rem 1.5rem 1.5rem;
}

.site-footer__inner {
  max-width: 72rem;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  color: var(--color-text-muted);
}

.site-footer__meta {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.9rem;
}

.site-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  align-items: center;
  font-size: 0.78rem;
}

.site-footer__links a {
  color: var(--color-text-muted);
  transition: color 0.2s ease;
}

.site-footer__links a:hover,
.site-footer__links a[aria-current='page'] {
  color: var(--color-primary);
}

.site-footer__portal {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.legal-article {
  color: var(--color-text-secondary);
  font-size: 1rem;
  line-height: 1.8;
}

.legal-article h2 {
  margin-top: 2.25rem;
  color: var(--color-text);
  font-size: 1.35rem;
  font-weight: 600;
}

.legal-article p,
.legal-article ul {
  margin-top: 1rem;
}

.legal-article ul {
  list-style: disc;
  padding-left: 1.35rem;
}

.legal-article a {
  color: var(--color-primary);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 0.16em;
}

.assistant-widget {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 40;
  width: auto;
}

.assistant-widget__toggle {
  width: 4rem;
  height: 4rem;
  border: 1px solid rgba(2, 132, 199, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--color-text);
  box-shadow: 0 20px 45px -28px rgba(2, 132, 199, 0.4);
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.assistant-widget__toggle:hover,
.assistant-widget__toggle:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(2, 132, 199, 0.4);
  box-shadow: 0 22px 52px -28px rgba(2, 132, 199, 0.55);
  outline: none;
}

.assistant-widget__toggle::after {
  content: attr(data-tooltip);
  position: absolute;
  right: 100%;
  top: 50%;
  transform: translateY(-50%) translateX(-0.6rem);
  white-space: nowrap;
  border-radius: 999px;
  border: 1px solid rgba(203, 213, 225, 0.95);
  background: rgba(255, 255, 255, 0.98);
  color: var(--color-text-secondary);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  padding: 0.45rem 0.8rem;
  box-shadow: 0 16px 40px -28px rgba(15, 23, 42, 0.32);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.assistant-widget__toggle:hover::after,
.assistant-widget__toggle:focus-visible::after {
  opacity: 1;
  transform: translateY(-50%) translateX(-0.85rem);
}

.assistant-widget__toggle-copy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.assistant-widget__glyph {
  width: 2.7rem;
  height: 2.7rem;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(224, 242, 254, 1), rgba(254, 249, 195, 0.95));
  border: 1px solid rgba(56, 189, 248, 0.22);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--color-text);
  box-shadow: 0 10px 20px -14px rgba(2, 132, 199, 0.45);
}

.assistant-widget__glyph svg {
  width: 1.15rem;
  height: 1.15rem;
  display: block;
}

.assistant-widget__toggle-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.assistant-widget__toggle strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
}

.assistant-widget__toggle span {
  display: block;
  font-size: 0.75rem;
  color: var(--color-text-muted);
}

.assistant-widget__toggle-indicator {
  display: none;
}

.assistant-widget__panel {
  margin-top: 0.75rem;
  width: min(22rem, calc(100vw - 2rem));
  border-radius: 1.5rem;
  border: 1px solid rgba(203, 213, 225, 0.95);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 28px 60px -40px rgba(15, 23, 42, 0.35);
  padding: 1rem;
  transform-origin: bottom right;
}

.assistant-widget__eyebrow {
  font-size: 0.67rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--color-primary);
}

.assistant-widget__copy {
  margin-top: 0.5rem;
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--color-text-secondary);
}

.assistant-widget__actions {
  margin-top: 0.9rem;
  display: grid;
  gap: 0.65rem;
}

.assistant-widget__primary,
.assistant-widget__secondary {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  border-radius: 999px;
  padding: 0.8rem 1rem;
  font-size: 0.84rem;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.assistant-widget__primary {
  background: #e0f2fe;
  color: var(--color-text);
  border: 1px solid rgba(56, 189, 248, 0.28);
}

.assistant-widget__secondary {
  background: var(--color-surface);
  color: var(--color-text-secondary);
  border: 1px solid var(--color-border);
}

.assistant-widget__primary:hover,
.assistant-widget__secondary:hover {
  transform: translateY(-1px);
}

.assistant-widget__secondary-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
}

.site-branding {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 6px 14px 6px 8px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(234, 88, 12, 0.2);
  background: var(--color-background);
  box-shadow: var(--shadow-sm);
}

.site-branding svg {
  width: 32px;
  height: 32px;
}

.site-branding span {
  text-transform: uppercase;
  letter-spacing: 0.4em;
  font-size: 0.7rem;
  color: #ea580c;
  font-weight: 600;
}

.products-network-panel {
  position: relative;
  min-height: 420px;
  border-radius: 2rem;
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  overflow: hidden;
  isolation: isolate;
  padding: 2rem 1.5rem;
}

.products-network-panel::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.45));
  z-index: 1;
  pointer-events: none;
}

.products-network-panel .network-canvas {
  opacity: 0.9;
  z-index: 0;
}

.products-network-node {
  position: absolute;
  width: 70px;
  height: 70px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.7), rgba(59, 130, 246, 0.25));
  filter: blur(0.5px);
  opacity: 0.5;
  z-index: 2;
}

.products-network-node--one {
  top: 18%;
  left: 12%;
  filter: blur(16px);
}
.products-network-node--two {
  top: 52%;
  right: 14%;
  width: 90px;
  height: 90px;
  background: radial-gradient(circle at 40% 40%, rgba(251, 191, 36, 0.8), rgba(249, 115, 22, 0.25));
  filter: blur(20px);
}
.products-network-node--three {
  bottom: 12%;
  left: 24%;
  width: 60px;
  height: 60px;
  opacity: 0.35;
  filter: blur(14px);
}

.products-network-card {
  position: relative;
  z-index: 3;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 28px 26px;
  width: min(100%);
}

.products-network-card__eyebrow {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.38em;
  color: #0369a1;
  margin-bottom: 20px;
  display: inline-block;
}

.products-network-card__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
  color: #334155;
  font-size: 0.95rem;
}

.products-network-card__list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.4;
}

/* === Moving Background Lines === */
.moving-lines {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  overflow: hidden;
}

.line {
  position: absolute;
  width: 1px;
  height: 140%;
  background: linear-gradient(180deg, rgba(94, 234, 212, 0) 0%, rgba(94, 234, 212, 0.45) 45%, rgba(94, 234, 212, 0) 100%);
  animation: moveLines linear infinite;
  opacity: 0.35;
}

.line:nth-child(1) { left: 6%; animation-duration: 13s; animation-delay: 0s; }
.line:nth-child(2) { left: 18%; animation-duration: 16s; animation-delay: 1s; }
.line:nth-child(3) { left: 30%; animation-duration: 18s; animation-delay: 2s; }
.line:nth-child(4) { left: 42%; animation-duration: 20s; animation-delay: 3s; }
.line:nth-child(5) { left: 54%; animation-duration: 22s; animation-delay: 4s; }
.line:nth-child(6) { left: 66%; animation-duration: 24s; animation-delay: 6s; }
.line:nth-child(7) { left: 78%; animation-duration: 26s; animation-delay: 7s; }
.line:nth-child(8) { left: 88%; animation-duration: 28s; animation-delay: 9s; }
.line:nth-child(9) { left: 96%; animation-duration: 30s; animation-delay: 11s; }

@keyframes moveLines {
  0% {
    transform: translateY(-20%) scaleY(0.9);
    opacity: 0;
  }
  25% {
    opacity: 0.5;
  }
  50% {
    opacity: 0.8;
  }
  100% {
    transform: translateY(30%) scaleY(1.05);
    opacity: 0;
  }
}

/* === Decorative elements === */
.glass-orb {
  position: absolute;
  inset-inline-end: -40px;
  inset-block-start: -40px;
  width: 120px;
  height: 120px;
  border-radius: 999px;
  filter: blur(32px);
  opacity: 0.6;
  animation: floatOrb 10s ease-in-out infinite;
  pointer-events: none;
}

@keyframes floatOrb {
  0%, 100% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(-10px, 18px, 0);
  }
}

.checkmark {
  display: inline-flex;
  width: 18px;
  height: 18px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(45, 212, 191, 0.2), rgba(125, 211, 252, 0.4));
}

.checkmark::before {
  content: '';
  width: 8px;
  height: 8px;
  border-right: 2px solid rgba(45, 212, 191, 0.9);
  border-bottom: 2px solid rgba(45, 212, 191, 0.9);
  transform: rotate(45deg) translate(-10%, -5%);
}

.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: rgba(56, 189, 248, 0.2);
  color: rgba(125, 211, 252, 1);
  font-weight: 600;
}

/* === Timeline === */
.timeline {
  position: relative;
  padding-left: 32px;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 8px;
  bottom: 8px;
  left: 12px;
  width: 1px;
  background: linear-gradient(180deg, rgba(125, 211, 252, 0), rgba(125, 211, 252, 0.7), rgba(125, 211, 252, 0));
  opacity: 0.6;
}

.timeline-step {
  position: relative;
  margin-bottom: 32px;
  padding: 0 0 0 16px;
}

.timeline-step:last-of-type {
  margin-bottom: 0;
}

.timeline-step h3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: #0f172a;
  margin-bottom: 8px;
}

/* Light-color utility classes for consistent theming */
.bg-surface {
  background-color: var(--color-surface);
}

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

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

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

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

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

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

.shadow-soft {
  box-shadow: var(--shadow-sm);
}

.shadow-medium {
  box-shadow: var(--shadow-md);
}

.shadow-elevated {
  box-shadow: var(--shadow-lg);
}

.rounded-lg {
  border-radius: var(--radius-lg);
}

.rounded-xl {
  border-radius: var(--radius-xl);
}

.rounded-2xl {
  border-radius: var(--radius-2xl);
}

.rounded-full {
  border-radius: var(--radius-full);
}

.timeline-dot {
  position: absolute;
  top: 6px;
  left: -32px;
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: #38bdf8;
  box-shadow: 0 0 0 6px rgba(56, 189, 248, 0.15);
}

/* === Stats === */
.stat-card {
  position: relative;
  border-radius: 1.75rem;
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  padding: 2rem 1.75rem;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}

.stat-card:hover {
  border-color: var(--color-border-light);
  box-shadow: var(--shadow-md);
}

.stat-card::after {
  content: '';
  position: absolute;
  inset-inline-end: 16px;
  inset-block-start: 16px;
  width: 10px;
  height: 10px;
  border-radius: var(--radius-full);
  background: rgba(3, 105, 161, 0.2);
  box-shadow: 0 0 0 10px rgba(3, 105, 161, 0.08);
}

.stat-value {
  font-size: 2.4rem;
  font-weight: 600;
  color: var(--color-text);
  display: inline-block;
  min-width: 3.5ch;
}

.stat-label {
  margin-top: 12px;
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

/* === Testimonials === */
.testimonial-card {
  position: relative;
  border-radius: 1.75rem;
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  padding: 1.75rem;
  overflow: hidden;
  transition: all 0.3s ease;
}

.testimonial-card.is-active,
.testimonial-card:hover {
  transform: translateY(-4px);
  border-color: var(--color-primary-light);
  box-shadow: var(--shadow-md);
}

.testimonial-glow {
  position: absolute;
  inset-inline-start: -40px;
  inset-block-end: -40px;
  width: 180px;
  height: 180px;
  background: radial-gradient(circle at center, rgba(3, 105, 161, 0.1), rgba(3, 105, 161, 0));
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.testimonial-card.is-active .testimonial-glow,
.testimonial-card:hover .testimonial-glow {
  opacity: 1;
}

.testimonial-quote {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--color-text-secondary);
}

.testimonial-author {
  margin-top: 24px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: rgba(56, 189, 248, 0.25);
  color: #0c4a6e;
  font-weight: 600;
}

.name {
  color: #0f172a;
  font-weight: 600;
  font-size: 0.95rem;
}

.title {
  color: #64748b;
  font-size: 0.85rem;
}

.testimonial-nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(15, 23, 42, 0.6);
  color: #1f2937;
  transition: border-color 0.3s ease, transform 0.2s ease;
}

.testimonial-nav:hover {
  border-color: rgba(56, 189, 248, 0.6);
  transform: translateY(-2px);
}

/* === Chat experience === */
.chat-shell {
  position: relative;
  border-radius: 32px;
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  padding: 24px;
  backdrop-filter: none;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-shell {
  position: relative;
  border-radius: 32px;
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  padding: 24px;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.chat-box {
  height: 340px;
  overflow-y: auto;
  padding-right: 4px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  scrollbar-width: thin;
}

.chat-box::-webkit-scrollbar {
  width: 6px;
}

.chat-box::-webkit-scrollbar-thumb {
  background: var(--color-border);
  border-radius: 999px;
}

.chat-status {
  min-height: 18px;
  font-size: 0.75rem;
  color: #64748b;
}

.chat-prompts {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.quick-prompt {
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid var(--color-border);
  background: white;
  color: var(--color-text);
  font-size: 0.85rem;
  transition: border-color 0.3s ease, color 0.3s ease, transform 0.2s ease, background-color 0.2s ease;
}

.quick-prompt:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
  background-color: var(--color-surface);
  transform: translateY(-1px);
}

.chat-form {
  display: flex;
  gap: 12px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-form__grid {
  display: grid;
  gap: 14px;
}

.contact-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.contact-field span {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text-secondary);
}

.contact-input,
.contact-textarea {
  width: 100%;
  border-radius: 18px;
  border: 1px solid var(--color-border);
  background: white;
  color: var(--color-text);
  padding: 12px 16px;
  font-size: 0.95rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.contact-textarea {
  min-height: 150px;
  resize: vertical;
}

.contact-input::placeholder,
.contact-textarea::placeholder {
  color: var(--color-text-secondary);
}

.contact-input:focus,
.contact-textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(3, 105, 161, 0.1);
}

.contact-consent {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.75rem;
  align-items: start;
  border: 1px solid var(--color-border);
  border-radius: 18px;
  background: rgba(248, 250, 252, 0.92);
  padding: 0.95rem 1rem;
  color: var(--color-text-secondary);
  font-size: 0.78rem;
  line-height: 1.6;
}

.contact-consent input {
  width: 1rem;
  height: 1rem;
  margin-top: 0.22rem;
  accent-color: var(--color-primary);
}

.contact-consent a {
  color: var(--color-primary);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 0.16em;
}

.contact-form__footer {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.contact-status {
  min-height: 1.25rem;
  font-size: 0.9rem;
  color: var(--color-text-secondary);
}

.contact-status[data-tone="success"] {
  color: #15803d;
}

.contact-status[data-tone="error"] {
  color: #b91c1c;
}

.contact-status[data-tone="pending"] {
  color: var(--color-text-secondary);
}

.chat-input {
  flex: 1;
  border-radius: 999px;
  border: 1px solid var(--color-border);
  background: white;
  color: var(--color-text);
  padding: 12px 18px;
  font-size: 0.95rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

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

.chat-input:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(3, 105, 161, 0.1);
}

.chat-submit {
  padding: 12px 20px;
  border-radius: 999px;
  border: none;
  background: var(--color-primary);
  color: white;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.chat-submit:hover {
  background-color: #0255a0;
  transform: translateY(-1px);
  box-shadow: 0 8px 20px -10px rgba(3, 105, 161, 0.3);
}

.chat-submit:disabled {
  cursor: wait;
  opacity: 0.7;
  transform: none;
  box-shadow: none;
}

.chat-row {
  display: flex;
  gap: 12px;
  align-items: flex-end;
}

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

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

@media (min-width: 640px) {
  .site-footer__meta {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

@media (max-width: 767px) {
  .assistant-widget {
    right: 0.75rem;
    left: 0.75rem;
    bottom: 0.75rem;
    width: auto;
  }

  .assistant-widget__toggle {
    margin-left: auto;
  }

  .assistant-widget__toggle::after {
    display: none;
  }

  .assistant-widget__secondary-row {
    grid-template-columns: 1fr;
  }

  .contact-form__footer {
    align-items: stretch;
  }
}

.chat-bubble {
  position: relative;
  max-width: min(70%, 420px);
  border-radius: 18px;
  padding: 12px 16px;
  font-size: 0.95rem;
  line-height: 1.5;
  background: var(--color-border);
  color: var(--color-text);
}

.chat-row-user .chat-bubble {
  background: var(--color-primary);
  color: white;
}

.chat-bubble.is-loading {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  justify-content: center;
  min-width: 60px;
}

.chat-bubble.is-loading span {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--color-border);
  animation: loadingDots 1.2s infinite ease-in-out;
}

.chat-bubble.is-loading span:nth-child(2) {
  animation-delay: 0.2s;
}

.chat-bubble.is-loading span:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes loadingDots {
  0%, 80%, 100% {
    transform: translateY(0);
    opacity: 0.7;
  }
  40% {
    transform: translateY(-6px);
    opacity: 1;
  }
}

.status-dot {
  display: inline-flex;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(52, 211, 153, 1);
  box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.7);
  animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
  0% {
    box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.7);
  }
  70% {
    box-shadow: 0 0 0 6px rgba(52, 211, 153, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(52, 211, 153, 0);
  }
}

.contact-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: rgba(56, 189, 248, 0.18);
  color: rgba(224, 231, 255, 0.9);
}

.wallet-pass-benefits {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.95rem;
  color: var(--color-text);
}

.wallet-pass-benefits li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 16px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  box-shadow: none;
}

.wallet-pass-benefits li::before {
  content: '';
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--color-primary);
  box-shadow: 0 0 0 4px rgba(3, 105, 161, 0.1);
}

.wallet-pass-qr-shell {
  display: grid;
  justify-items: center;
  gap: 14px;
  padding: 28px;
  border-radius: 24px;
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  box-shadow: var(--shadow-soft);
}

.wallet-pass-qr {
  display: grid;
  place-items: center;
  width: 220px;
  height: 220px;
  padding: 18px;
  border-radius: 20px;
  background: rgba(248, 250, 252, 0.96);
}

.wallet-pass-qr-image {
  width: 100%;
  height: 100%;
}

.wallet-pass-qr-caption {
  font-size: 0.8rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--color-text-secondary);
}


.network-hero-visual {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
}

.network-hero-visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0) 0%, rgba(15, 23, 42, 0.25) 100%);
  pointer-events: none;
}

.network-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}


/* Responsive tweaks */
@media (max-width: 768px) {
  .products-network-panel {
    min-height: 360px;
    padding: 24px 18px;
  }

  .products-network-card {
    width: 100%;
  }

  .chat-shell {
    padding: 20px;
  }

  .contact-shell {
    padding: 20px;
  }

  .chat-box {
    height: 300px;
  }
}

@media (min-width: 640px) {
  .contact-form__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-field--full {
    grid-column: span 2;
  }

  .contact-form__footer {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

/* ========================================
   COMPONENT SYSTEM: Buttons, Cards, Inputs
   ======================================== */

/* === Button Components === */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 2.75rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-full);
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.2s ease;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background-color: #0369a1;
  color: white;
  border-color: #0369a1;
}

.btn-primary:hover {
  background-color: #0560b8;
  border-color: #0560b8;
  box-shadow: 0 8px 16px rgba(3, 105, 161, 0.25);
}

.btn-primary:active {
  transform: scale(0.98);
}

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

.btn-secondary:hover {
  background-color: var(--color-surface-secondary);
  border-color: var(--color-border-light);
  box-shadow: var(--shadow-md);
}

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

.btn-ghost:hover {
  background-color: var(--color-surface);
  border-color: var(--color-text-muted);
}

.btn-accent {
  background-color: #ea580c;
  color: white;
  border-color: #ea580c;
}

.btn-accent:hover {
  background-color: #d64a00;
  border-color: #d64a00;
}

.btn-sm {
  min-height: 2.25rem;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

.btn-lg {
  min-height: 3rem;
  padding: 1rem 2rem;
  font-size: 1rem;
}

/* === Card Components === */
.card {
  border-radius: var(--radius-xl);
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}

.card:hover {
  border-color: var(--color-border-light);
  box-shadow: var(--shadow-md);
}

.card-elevated {
  box-shadow: var(--shadow-lg);
}

.card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--color-border);
}

.card-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-text);
  margin: 0;
}

.card-subtitle {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  margin: 0.5rem 0 0 0;
}

.card-body {
  color: var(--color-text-secondary);
  line-height: 1.6;
}

.card-footer {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--color-border);
  display: flex;
  gap: 0.75rem;
  justify-content: flex-end;
}

/* === Input Components === */
.input,
.select,
.textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  background: var(--color-background);
  color: var(--color-text);
  font-family: inherit;
  font-size: 0.95rem;
  transition: all 0.2s ease;
}

.input::placeholder,
.textarea::placeholder {
  color: var(--color-text-muted);
}

.input:focus,
.select:focus,
.textarea:focus {
  outline: none;
  border-color: #0369a1;
  box-shadow: 0 0 0 3px rgba(3, 105, 161, 0.1);
}

.input:disabled,
.select:disabled,
.textarea:disabled {
  background-color: var(--color-surface);
  color: var(--color-text-muted);
  cursor: not-allowed;
}

.textarea {
  resize: vertical;
  min-height: 6rem;
}

.input-group {
  display: flex;
  gap: 0.75rem;
}

.input-group.vertical {
  flex-direction: column;
}

.input-label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--color-text);
  font-size: 0.95rem;
}

.input-error {
  margin-top: 0.25rem;
  font-size: 0.875rem;
  color: #dc2626;
}

.input-hint {
  margin-top: 0.25rem;
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

/* === Badge Components === */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.badge-primary {
  background-color: rgba(3, 105, 161, 0.1);
  color: #0369a1;
  border: 1px solid rgba(3, 105, 161, 0.2);
}

.badge-success {
  background-color: rgba(5, 150, 105, 0.1);
  color: #059669;
  border: 1px solid rgba(5, 150, 105, 0.2);
}

.badge-warning {
  background-color: rgba(234, 88, 12, 0.1);
  color: #ea580c;
  border: 1px solid rgba(234, 88, 12, 0.2);
}

.badge-danger {
  background-color: rgba(220, 38, 38, 0.1);
  color: #dc2626;
  border: 1px solid rgba(220, 38, 38, 0.2);
}

/* === Section Styles === */
.section {
  padding: 3rem 1.5rem;
}

.section-header {
  margin-bottom: 2rem;
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-text);
  margin: 0 0 0.5rem 0;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--color-text-secondary);
  margin: 0;
  line-height: 1.6;
}

.section-light {
  background-color: var(--color-background);
}

.section-surface {
  background-color: var(--color-surface);
}

.section-surface-secondary {
  background-color: var(--color-surface-secondary);
}

/* === Grid & Stack === */
.grid {
  display: grid;
  gap: 1.5rem;
}

.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.stack {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.stack-horizontal {
  display: flex;
  gap: 1rem;
  align-items: center;
}

/* === Typography === */
.heading-1 {
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-text);
}

.heading-2 {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--color-text);
}

.heading-3 {
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--color-text);
}

.heading-4 {
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.5;
  color: var(--color-text);
}

.body-text {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-text-secondary);
}

.body-text-small {
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--color-text-secondary);
}

.caption {
  font-size: 0.875rem;
  line-height: 1.4;
  color: var(--color-text-muted);
}

.text-muted { color: var(--color-text-muted); }
.text-primary { color: #0369a1; }
.text-success { color: #059669; }
.text-warning { color: #ea580c; }
.text-danger { color: #dc2626; }

/* === Utilities === */
.divider {
  height: 1px;
  background-color: var(--color-border);
  margin: 1.5rem 0;
}

.separator {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: var(--color-text-muted);
  font-size: 0.875rem;
}

.separator::before,
.separator::after {
  content: '';
  flex: 1;
  height: 1px;
  background-color: var(--color-border);
}

.overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  border-radius: inherit;
}

.blur-background {
  backdrop-filter: blur(10px);
}

/* === Responsive Utilities === */
@media (max-width: 1024px) {
  .grid-cols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-cols-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  .section {
    padding: 2rem 1rem;
  }

  .heading-1 { font-size: 2rem; }
  .heading-2 { font-size: 1.5rem; }

  .grid-cols-2 { grid-template-columns: 1fr; }
  .grid-cols-3 { grid-template-columns: 1fr; }
  .grid-cols-4 { grid-template-columns: 1fr; }

  .btn { min-height: 2.5rem; }
}
