:root {
  --wm-red: #a50034;
  --wm-red-2: #d1004a;
  --wm-gold: #d8b24c;
  --wm-ink: #0b0f17;
  --wm-ink-2: #0f1626;
  --wm-card: rgba(255, 255, 255, 0.06);
  --wm-border: rgba(255, 255, 255, 0.12);
  --wm-shadow: 0 18px 60px rgba(0, 0, 0, 0.35);
  --wm-radius: 18px;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 86px;
}

body {
  font-family: "Poppins", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: #0a0d14;
  position: relative;
}

.tracking-tight {
  letter-spacing: -0.01em;
}

/* Bootstrap theme touch-ups */
.btn-primary {
  --bs-btn-bg: var(--wm-red);
  --bs-btn-border-color: var(--wm-red);
  --bs-btn-hover-bg: #8f002d;
  --bs-btn-hover-border-color: #8f002d;
  --bs-btn-active-bg: #7e0028;
  --bs-btn-active-border-color: #7e0028;
}

.btn-glow {
  box-shadow: 0 18px 50px rgba(165, 0, 52, 0.32);
}

.gold-gradient-text {
  background: linear-gradient(90deg, #f7e7a6 0%, var(--wm-gold) 40%, #f8f1cc 80%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.section {
  padding: clamp(56px, 7vw, 96px) 0;
}

.section-light {
  background: radial-gradient(1200px 600px at 80% -20%, rgba(165, 0, 52, 0.12), transparent 55%),
    radial-gradient(900px 500px at 15% 0%, rgba(216, 178, 76, 0.16), transparent 55%),
    #ffffff;
}

.section-dark {
  background: radial-gradient(1000px 500px at 20% -20%, rgba(165, 0, 52, 0.32), transparent 55%),
    radial-gradient(900px 500px at 90% 0%, rgba(216, 178, 76, 0.18), transparent 55%),
    linear-gradient(180deg, var(--wm-ink), var(--wm-ink-2));
}

.section-eyebrow {
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 0.75rem;
}

.eyebrow-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--wm-red), var(--wm-gold));
  box-shadow: 0 0 0 4px rgba(165, 0, 52, 0.12);
}

/* Navbar */
.navbar-glass {
  background: rgba(9, 12, 19, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.navbar .nav-link {
  color: rgba(255, 255, 255, 0.78);
}

.navbar .nav-link:hover,
.navbar .nav-link:focus {
  color: #ffffff;
}

.navbar .nav-link.active {
  color: #ffffff;
  position: relative;
}

.navbar .nav-link.active::after {
  content: "";
  position: absolute;
  left: 0.25rem;
  right: 0.25rem;
  bottom: 0.25rem;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--wm-red), var(--wm-gold));
}

.navbar-brand {
  white-space: nowrap;
  max-width: 70vw;
  overflow: hidden;
  text-overflow: ellipsis;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 10px;
  margin-right: 0.35rem;
  background: linear-gradient(135deg, rgba(165, 0, 52, 0.95), rgba(216, 178, 76, 0.9));
  box-shadow: 0 16px 40px rgba(165, 0, 52, 0.35);
}

/* Hero */
.hero-section {
  min-height: 92vh;
  padding-top: 92px;
  background: radial-gradient(1000px 600px at 20% 0%, rgba(165, 0, 52, 0.38), transparent 55%),
    radial-gradient(900px 600px at 90% 10%, rgba(216, 178, 76, 0.18), transparent 60%),
    linear-gradient(135deg, #080a11, #0a0f1d 55%, #06070e);
}

.ai-grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(700px 400px at 20% 30%, rgba(0, 0, 0, 0.75), transparent 70%);
  opacity: 0.55;
}

.glow-lines {
  position: absolute;
  inset: -2px;
  pointer-events: none;
  background: linear-gradient(120deg, transparent 0%, rgba(216, 178, 76, 0.14) 15%, transparent 35%),
    linear-gradient(220deg, transparent 10%, rgba(165, 0, 52, 0.18) 25%, transparent 55%);
  filter: blur(0.2px);
  opacity: 0.9;
}

.glow-lines--subtle {
  opacity: 0.55;
}

.badge-premium {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 0.85rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.86);
}

.media-frame {
  position: relative;
  border-radius: var(--wm-radius);
  overflow: hidden;
  box-shadow: var(--wm-shadow);
  border: 1px solid rgba(216, 178, 76, 0.18);
  background: rgba(255, 255, 255, 0.04);
}

.media-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(600px 300px at 20% 20%, rgba(216, 178, 76, 0.12), transparent 55%),
    radial-gradient(700px 400px at 90% 70%, rgba(165, 0, 52, 0.16), transparent 55%);
  pointer-events: none;
}

.media-badge {
  position: absolute;
  right: 14px;
  bottom: 14px;
  padding: 0.55rem 0.8rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(10, 12, 18, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
}

.placeholder-media {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
}

/* Recognition */
.feature-pill {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 1rem;
  border-radius: 14px;
  background: rgba(165, 0, 52, 0.05);
  border: 1px solid rgba(165, 0, 52, 0.12);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.04);
}

.certificate-frame {
  border-radius: var(--wm-radius);
  overflow: hidden;
  border: 1px solid rgba(216, 178, 76, 0.55);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.12);
  background: radial-gradient(700px 380px at 0% 0%, rgba(216, 178, 76, 0.22), transparent 55%),
    #ffffff;
}

.certificate-caption {
  padding: 0.9rem 1rem;
  background: linear-gradient(90deg, rgba(165, 0, 52, 0.06), rgba(216, 178, 76, 0.08));
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

/* Solution cards */
.card-solution {
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.05));
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.28);
  transition: transform 250ms ease, border-color 250ms ease, box-shadow 250ms ease;
}

.card-solution:hover {
  transform: translateY(-6px);
  border-color: rgba(216, 178, 76, 0.34);
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.38);
}

.icon-orb {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: #ffffff;
  background: linear-gradient(135deg, rgba(165, 0, 52, 0.95), rgba(216, 178, 76, 0.7));
  box-shadow: 0 14px 40px rgba(165, 0, 52, 0.24);
}

.icon-orb--soft {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: none;
}

/* Product cards */
.card-product {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: #ffffff;
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.08);
  transition: transform 250ms ease, box-shadow 250ms ease, border-color 250ms ease;
  color: inherit;
}

.card-product:hover {
  transform: translateY(-6px);
  box-shadow: 0 26px 80px rgba(0, 0, 0, 0.12);
  border-color: rgba(165, 0, 52, 0.18);
}

.product-img {
  height: 180px;
  background: linear-gradient(135deg, rgba(165, 0, 52, 0.08), rgba(216, 178, 76, 0.1));
}

.card-product:hover .product-img {
  transform: scale(1.03);
  transition: transform 250ms ease;
}

/* Industries */
.industry-tile {
  border-radius: 16px;
  padding: 1.1rem 1rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.25);
  text-align: center;
  transition: transform 220ms ease, border-color 220ms ease;
}

.industry-tile i {
  font-size: 1.75rem;
  color: rgba(255, 255, 255, 0.86);
}

.industry-tile:hover {
  transform: translateY(-4px);
  border-color: rgba(216, 178, 76, 0.3);
}

/* Checklist */
.checklist li {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.55rem 0;
  font-weight: 500;
}

.checklist i {
  color: var(--wm-red);
  font-size: 1.2rem;
}

/* Stats */
.stats-surface {
  border-radius: var(--wm-radius);
  padding: 1.25rem;
  background: radial-gradient(900px 450px at 20% 0%, rgba(165, 0, 52, 0.08), transparent 55%),
    radial-gradient(700px 380px at 90% 80%, rgba(216, 178, 76, 0.12), transparent 55%),
    #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 18px 70px rgba(0, 0, 0, 0.08);
}

.stat-card {
  border-radius: 16px;
  padding: 1rem;
  background: rgba(165, 0, 52, 0.04);
  border: 1px solid rgba(165, 0, 52, 0.1);
}

.stat-value {
  font-weight: 700;
  font-size: 1.25rem;
  background: linear-gradient(90deg, var(--wm-red), var(--wm-gold));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.stat-label {
  color: rgba(0, 0, 0, 0.65);
  font-size: 0.92rem;
}

/* Contact */
.contact-card {
  border-radius: var(--wm-radius);
  padding: 1.25rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.28);
}

.map-frame {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.map-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.form-surface {
  border-radius: var(--wm-radius);
  padding: 1.25rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.28);
}

.form-control,
.form-select {
  background: rgba(10, 12, 18, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.92);
}

.form-control:focus,
.form-select:focus {
  border-color: rgba(216, 178, 76, 0.45);
  box-shadow: 0 0 0 0.25rem rgba(165, 0, 52, 0.22);
}

.form-control::placeholder {
  color: rgba(255, 255, 255, 0.45);
}

/* Footer */
.footer {
  background: linear-gradient(180deg, rgba(165, 0, 52, 0.22), rgba(165, 0, 52, 0.65)),
    #2a0010;
}

.footer-links li {
  margin-bottom: 0.55rem;
  color: rgba(255, 255, 255, 0.75);
}

.footer-links a {
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
}

.footer-links a:hover {
  color: #ffffff;
}

.social-btn {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #ffffff;
  text-decoration: none;
  transition: transform 220ms ease, background 220ms ease;
}

.social-btn:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.14);
}

/* Reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Product catalog layout */
.product-sidebar {
  position: sticky;
  top: 96px;
}

@media (max-width: 991.98px) {
  .product-sidebar {
    position: static;
  }
}

.product-filter-list .list-group-item {
  border-radius: 999px;
  margin-bottom: 0.4rem;
  border: 1px solid rgba(0, 0, 0, 0.05);
  cursor: pointer;
  font-weight: 500;
}

.product-filter-list .list-group-item.active {
  background: linear-gradient(90deg, var(--wm-red), var(--wm-gold));
  border-color: transparent;
  color: #ffffff;
}

.product-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.product-pagination .page-link {
  border-radius: 999px !important;
  border: 1px solid rgba(0, 0, 0, 0.08);
  color: #343a40;
}

.product-pagination .page-item.active .page-link {
  background: linear-gradient(90deg, var(--wm-red), var(--wm-gold));
  border-color: transparent;
  color: #ffffff;
}

.ai-finder {
  border-radius: 18px;
  padding: 1rem 1.1rem;
  background: linear-gradient(120deg, rgba(165, 0, 52, 0.06), rgba(216, 178, 76, 0.08));
  border: 1px solid rgba(0, 0, 0, 0.04);
}

.ai-finder-icon {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  align-items: center;
  justify-content: center;
  display: inline-flex;
  background: #ffffff;
  color: var(--wm-red);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}

.ai-finder-result {
  border-radius: 14px;
  padding: 0.75rem 0.85rem;
  background: rgba(255, 255, 255, 0.9);
  border: 1px dashed rgba(0, 0, 0, 0.12);
}

.room-visualizer {
  border-radius: 18px;
  padding: 1rem 1.1rem 1.1rem;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.04);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.04);
}

.room-diagram {
  position: relative;
  width: 100%;
  height: 220px;
  border-radius: 14px;
  background: repeating-linear-gradient(
      90deg,
      rgba(0, 0, 0, 0.03),
      rgba(0, 0, 0, 0.03) 1px,
      transparent 1px,
      transparent 16px
    ),
    repeating-linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.03),
      rgba(0, 0, 0, 0.03) 1px,
      transparent 1px,
      transparent 16px
    );
  border: 1px solid rgba(0, 0, 0, 0.08);
  overflow: hidden;
}

.room-diagram-placeholder {
  position: absolute;
  inset: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.room-diagram-room {
  position: absolute;
  inset: 0.75rem;
  border-radius: 10px;
  border: 1px solid rgba(0, 0, 0, 0.16);
}

.room-diagram-screen {
  position: absolute;
  left: 20%;
  right: 20%;
  top: 6%;
  height: 14%;
  border-radius: 6px;
  background: linear-gradient(135deg, rgba(165, 0, 52, 0.18), rgba(216, 178, 76, 0.3));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  color: #212529;
}

.room-diagram-speaker {
  position: absolute;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--wm-red);
  box-shadow: 0 0 0 3px rgba(165, 0, 52, 0.22);
}

.room-diagram-seat {
  position: absolute;
  width: 16px;
  height: 16px;
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.35);
}

.room-diagram-label {
  position: absolute;
  left: 50%;
  bottom: 4%;
  transform: translateX(-50%);
  font-size: 0.7rem;
  color: rgba(0, 0, 0, 0.7);
}

.room-summary {
  border-radius: 10px;
  padding: 0.75rem 0.85rem;
  background: rgba(248, 249, 250, 0.9);
  border: 1px solid rgba(0, 0, 0, 0.04);
}

@media (max-width: 575.98px) {
  .product-card-actions {
    flex-direction: column;
  }
}

/* Floating actions & chatbot */
.floating-actions {
  position: fixed;
  right: 1.25rem;
  bottom: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  z-index: 1040;
}

.floating-btn {
  width: 48px;
  height: 48px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  border: none;
  cursor: pointer;
  background: rgba(10, 12, 18, 0.88);
  color: #ffffff;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.floating-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
}

.floating-btn-whatsapp {
  background: #25d366;
}

.floating-btn-livechat {
  background: #0d6efd;
}

.floating-btn-chatbot {
  background: linear-gradient(135deg, rgba(165, 0, 52, 0.98), rgba(216, 178, 76, 0.8));
}

.chatbot-panel {
  position: fixed;
  right: 1.25rem;
  bottom: 5.5rem;
  width: min(340px, 100vw - 2.5rem);
  max-height: 70vh;
  border-radius: 20px;
  background: rgba(10, 12, 18, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.6);
  display: flex;
  flex-direction: column;
  padding: 0.75rem;
  color: #ffffff;
  transform: translateY(12px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 200ms ease, transform 200ms ease;
  z-index: 1040;
}

.chatbot-panel.chatbot-open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.chatbot-header {
  padding: 0.25rem 0.25rem 0.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 0.4rem;
}

.chatbot-body {
  flex: 1;
  overflow-y: auto;
  padding: 0.25rem 0.1rem 0.25rem 0;
  margin-bottom: 0.4rem;
}

.chat-bubble {
  display: inline-block;
  max-width: 100%;
  padding: 0.45rem 0.7rem;
  border-radius: 12px;
  font-size: 0.85rem;
  margin-bottom: 0.35rem;
}

.chat-bubble-bot {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.chat-bubble-user {
  margin-left: auto;
  background: linear-gradient(135deg, rgba(165, 0, 52, 0.96), rgba(216, 178, 76, 0.8));
  border: 1px solid rgba(216, 178, 76, 0.5);
}

.chatbot-input {
  margin-top: 0.25rem;
}

.chatbot-input .form-control {
  background: rgba(10, 12, 18, 0.8);
}

.chatbot-quick {
  display: flex;
  flex-wrap: wrap;
}

.chatbot-footer-note {
  font-size: 0.7rem;
}

@media (max-width: 575.98px) {
  .floating-actions {
    right: 0.75rem;
    bottom: 0.9rem;
  }
  .chatbot-panel {
    right: 0.75rem;
    width: min(360px, 100vw - 1.5rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .card-solution,
  .card-product,
  .industry-tile,
  .social-btn {
    transition: none !important;
  }
}
