/*
Theme Name: Seiyone.AI
Theme URI: https://seiyone.ai
Author: Seiyone.AI AI
Author URI: https://seiyone.ai
Description: Custom high-performance theme for Seiyone.AI AI.
Version: 1.4.0
License: Proprietary
Text Domain: seiyone.ai
*/

:root {
  --color-primary: #228b22;
  --color-secondary: #0f1020;
  --color-bg: #ffffff;
  --color-text: #1f2937;
  --font-base: "Inter", sans-serif;
  --glass-bg: rgba(255, 255, 255, 0.85);
  --glass-border: rgba(0, 0, 0, 0.08);
}

body {
  font-family: var(--font-base);
  color: var(--color-text);
  line-height: 1.6;
  margin: 0;
  overflow-x: hidden;
  background-color: #fcfcfc;
}

/* --- HEADER: LIGHT GLASS PILL --- */
.site-header {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(1200px, 94%);
  background: var(--glass-bg);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--glass-border);
  border-radius: 100px;
  padding: 0.4rem 0.6rem 0.4rem 1.75rem;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.1);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.site-branding img {
  height: 30px !important;
  width: auto !important;
  display: block;
  opacity: 1 !important;
  transition: transform 0.3s ease;
}

.site-branding img:hover {
  transform: scale(1.02);
}

/* --- NAVIGATION structures --- */
.site-nav {
  display: block;
}

.site-nav .primary-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 2.25rem;
  align-items: center;
}

.site-nav a {
  text-decoration: none;
  color: var(--color-text);
  font-weight: 500;
  font-size: 0.9375rem;
  transition: all 0.2s ease;
  position: relative;
}

.site-nav a:hover {
  color: var(--color-primary);
}

/* Product mega menu */
.primary-menu > li.has-product-mega {
  position: relative;
  padding-bottom: 14px;
  margin-bottom: -14px; /* bridge hover gap so submenu stays interactive */
}

.product-mega-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-30%) translateY(6px);
  width: min(760px, 82vw);
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.14);
  padding: 16px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
  z-index: 1200;
}

.primary-menu > li.has-product-mega:hover .product-mega-menu,
.primary-menu > li.has-product-mega:focus-within .product-mega-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-30%) translateY(0);
}

.primary-menu > li.has-product-mega.is-open .product-mega-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-30%) translateY(0);
}

.product-link-trigger {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.product-link-caret {
  display: inline-flex;
  font-size: 0.72rem;
  color: #667085;
  transition: transform 0.2s ease, color 0.2s ease;
}

.primary-menu > li.has-product-mega:hover .product-link-caret,
.primary-menu > li.has-product-mega:focus-within .product-link-caret {
  transform: rotate(180deg);
  color: var(--color-primary);
}

.primary-menu > li.has-product-mega.is-open .product-link-caret {
  transform: rotate(180deg);
  color: var(--color-primary);
}

.product-mega-col {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.product-mega-item {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 10px;
  align-items: start;
  text-decoration: none;
  border: 1px solid #eef2f7;
  border-radius: 10px;
  padding: 10px;
  transition: border-color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}

.product-mega-item:hover {
  border-color: #ddf1dd;
  background: #fafdfa;
  transform: translateY(-1px);
}

.product-mega-icon {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: #f3faf3;
  color: #228b22;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.92rem;
}

.product-mega-copy strong {
  display: block;
  color: #111827;
  font-size: 0.92rem;
  line-height: 1.2;
  font-weight: 700;
}

.product-mega-copy small {
  display: block;
  margin-top: 3px;
  color: #64748b;
  font-size: 0.78rem;
  line-height: 1.35;
}

/* --- HEADER ACTIONS --- */
.header-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.login-link {
  text-decoration: none;
  color: var(--color-text);
  font-weight: 500;
  font-size: 0.9375rem;
  transition: color 0.2s;
}

.login-link:hover {
  color: var(--color-primary);
}

.trial-btn {
  border: 1px solid rgba(34, 139, 34, 0.35);
  border-radius: 100px;
  background: #ffffff;
  color: var(--color-primary);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.875rem;
  padding: 0.62rem 1.2rem;
  transition: all 0.2s ease;
}

.trial-btn:hover {
  background: #f8fcf8;
  border-color: rgba(34, 139, 34, 0.55);
}

.register-btn {
  background: var(--color-primary);
  color: #fff !important;
  border-radius: 100px;
  padding: 0.65rem 1.6rem;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.875rem;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(34, 139, 34, 0.15);
}

.register-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(34, 139, 34, 0.25);
  opacity: 0.95;
}

.menu-toggle {
  display: none !important; /* Strict Desktop Hide */
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  color: var(--color-text);
  font-size: 20px;
  width: 38px;
  height: 38px;
  line-height: 1;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.menu-toggle:hover {
  background: #f1f5f9;
}

/* --- RESPONSIVE LOGIC: USER REFINED --- */

@media (max-width: 991px) {
  .header-actions .trial-btn {
    display: none !important;
  }

  /* desktop links hide */
  .site-nav {
    display: none;
  }

  /* mobile toggle show */
  .menu-toggle {
    display: flex !important;
  }

  .site-header {
    top: 0;
    width: 100%;
    left: 0;
    transform: none;
    border-radius: 0 0 16px 16px;
    padding: 0.5rem 0.75rem 0.5rem 1.25rem;
  }

  /* Mobile Drawer Active State */
  .site-nav.active {
    display: block !important;
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    width: 100%;
    background: #ffffff;
    border-radius: 24px;
    padding: 1.75rem 0;
    box-shadow: 0 20px 60px rgba(0,0,0,0.18);
    z-index: 10000;
    border: 1px solid rgba(0,0,0,0.06);
    animation: slideDown 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .site-nav.active .primary-menu {
    flex-direction: column;
    gap: 1.25rem;
    padding: 0 2rem;
    align-items: flex-start;
  }

  .site-nav.active .primary-menu > li {
    width: 100%;
  }

  .site-nav.active a {
    font-size: 1.125rem;
    font-weight: 600;
    width: 100%;
    display: block;
    color: var(--color-text);
    padding: 0.5rem 0;
  }

  .primary-menu > li.has-product-mega {
    width: 100%;
    padding-bottom: 0;
    margin-bottom: 0;
  }

  .site-nav.active .primary-menu > li.has-product-mega > a {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .site-nav.active .product-link-caret {
    margin-left: auto;
    color: #64748b;
    transform: rotate(0deg);
  }

  .site-nav.active .primary-menu > li.has-product-mega.is-open .product-link-caret {
    transform: rotate(180deg);
    color: var(--color-primary);
  }

  .site-nav.active .primary-menu > li.has-product-mega .product-mega-menu {
    display: none !important;
    position: static;
    top: auto;
    left: auto;
    transform: none;
    width: 100%;
    max-width: 100%;
    margin-top: 0.35rem;
    padding: 0.75rem;
    border-radius: 12px;
    border: 1px solid #e9edf5;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    grid-template-columns: 1fr;
    gap: 8px;
    background: #fcfdfc;
  }

  .site-nav.active .primary-menu > li.has-product-mega:hover .product-mega-menu,
  .site-nav.active .primary-menu > li.has-product-mega:focus-within .product-mega-menu,
  .site-nav.active .primary-menu > li.has-product-mega.is-open .product-mega-menu {
    display: grid !important;
    transform: none;
    left: auto;
    top: auto;
    width: 100%;
    max-width: 100%;
  }

  .site-nav.active .product-mega-item {
    width: 100%;
    box-sizing: border-box;
  }
}

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 480px) {
  .login-link {
    display: none;
  }
  .trial-btn {
    padding: 0.5rem 1rem;
    font-size: 0.78rem;
  }
  .register-btn {
    padding: 0.55rem 1rem;
    font-size: 0.8125rem;
  }
  .site-branding img {
    height: 22px !important;
  }
}

/* --- MAIN SPACING --- */
main, .site-main {
  padding-top: 7.25rem;
}

.home main, .home .site-main {
  padding-top: 0;
}

@media (max-width: 991px) {
  main, .site-main {
    padding-top: 6rem;
  }
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}


/* --- MAIN CONTENT SPACING --- */

.social-links a:hover {
  color: var(--color-primary);
}

.footer-heading {
  color: #ffffff !important;
  font-size: 1rem !important;
  font-weight: 600 !important;
  margin-bottom: 1.5rem !important;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: block !important;
}

/* Aggressive Reset for WordPress Menu Lists */
.footer-column ul,
.footer-menu {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.footer-menu li {
  margin-bottom: 0.875rem !important;
  list-style-type: none !important;
}

.footer-menu a {
  color: #a0aec0 !important;
  text-decoration: none !important;
  transition: all 0.2s ease;
  display: inline-block !important;
}

.footer-menu a:hover {
  color: var(--color-primary) !important;
  transform: translateX(4px);
}

/* Row 2: Legal */
.footer-legal {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 1.5rem 0;
  margin-bottom: 1rem;
}

.legal-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}

.legal-links a {
  color: #718096;
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.2s;
}

.legal-links a:hover {
  color: #ffffff;
}

/* 404 */
.th-404 {
  min-height: 72vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 0 80px;
  background: linear-gradient(180deg, #f9fdf9 0%, #ffffff 100%);
}

.th-404-kicker {
  margin: 0 0 10px;
  color: #228b22;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  font-weight: 700;
}

.th-404 h1 {
  margin: 0 0 12px;
  color: #111827;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
}

.th-404-text {
  margin: 0 auto 20px;
  max-width: 640px;
  color: #64748b;
  font-size: 1rem;
}

.th-404-actions {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

.th-404-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 11px 20px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.92rem;
}

.th-404-btn-primary {
  color: #ffffff;
  border: 1px solid #228b22;
  background: #228b22;
}

.th-404-btn-ghost {
  color: #1f2a44;
  border: 1px solid #d8deef;
  background: #ffffff;
}

/* Row 3: Bottom Bar */
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #718096;
  font-size: 0.8125rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.bottom-left {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

:root {
  /* Theme Original */
  --color-primary: #228b22;
  --color-secondary: #0f1020;
  --color-bg: #ffffff;
  --color-text: #1f2937;
  --font-base: "Inter", sans-serif;
  --glass-bg: rgba(255, 255, 255, 0.85);
  --glass-border: rgba(0, 0, 0, 0.08);

  /* Prototype Brand Tokens */
  --brand-primary: #228b22;
  --brand-primary-dark: #228b22;
  --brand-primary-subtle: rgba(34, 139, 34, 0.1);
  --brand-success: #10b981;
  --brand-warning: #f59e0b;
  --brand-danger: #ef4444;
  --text-main: #111827;
  --text-muted: #4b5563;
  --bg-light: #f8f9fa;
  --border-color: #e5e7eb;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 32px;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-premium: 0 20px 40px rgba(0,0,0,0.04);
}

body {
  font-family: 'Inter', sans-serif;
  color: #1f2937;
  margin: 0;
  overflow-x: hidden;
  background-color: #fcfcfc;
}

/* --- UTILITIES --- */
.text-gray { color: #64748b; }
.tracking-tight { letter-spacing: -0.04em; }
.display-4 { font-size: clamp(2rem, 4vw, 3rem); line-height: 1.1; }
.lead { font-size: 1.25rem; line-height: 1.7; }

/* --- HERO SECTION 2.1 (Alignment Fix) --- */
.hero-section {
  position: relative;
  min-height: 100vh;
  padding-top: 140px;
  padding-bottom: 100px;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.hero-background-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
}

.hero-grid {
  position: absolute;
  width: 100%;
  height: 100%;
  background-image: 
      linear-gradient(var(--brand-primary-subtle) 1px, transparent 1px),
      linear-gradient(90deg, var(--brand-primary-subtle) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(circle at center top, black 40%, transparent 100%);
  -webkit-mask-image: radial-gradient(circle at center top, black 40%, transparent 100%);
  opacity: 0.4;
}

.bg-grid-pattern {
  background-image: radial-gradient(circle, #e5e7eb 1px, transparent 1px);
  background-size: 30px 30px;
}

.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.15;
  animation: blob-bounce 10s infinite ease-in-out;
}

@keyframes blob-bounce {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(20px, -20px) scale(1.1); }
}

.blob-1 { top: -10%; left: 20%; width: 400px; height: 400px; background: var(--brand-primary); }
.blob-2 { top: 20%; right: 10%; width: 300px; height: 300px; background: #228b22; }
.blob-3 { bottom: -10%; left: 30%; width: 350px; height: 350px; background: #2dd4bf; }

/* Hero Network Animation */
.hero-network-animation {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 1;
}

.network-svg {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  opacity: 0.8;
}

.connection-path {
  fill: none;
  stroke: #e2e8f0;
  stroke-width: 0.5;
}

.flow-particle {
  fill: none;
  stroke: #228b22;
  stroke-width: 1.5;
  stroke-dasharray: 4, 12;
  animation: flow-particle-anim 4s linear infinite;
}

@keyframes flow-particle-anim {
  from { stroke-dashoffset: 40; }
  to { stroke-dashoffset: 0; }
}

/* Floating Cards Styling */
.network-card {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(226, 232, 240, 0.8);
  border-radius: 12px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
  position: absolute;
  animation: float-card-new 6s ease-in-out infinite;
  z-index: 10;
}

@keyframes float-card-new {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.card-left { top: 25%; left: 8%; animation-delay: 0s; }
.card-right { top: 70%; right: 8%; animation-delay: 2s; }

.card-icon-box {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

.card-content h6 {
  font-size: 0.85rem;
  font-weight: 700;
  margin: 0;
  color: #1e293b;
}

.card-content span {
  font-size: 0.7rem;
  color: #64748b;
}

/* Typography & Content Layout */
.hero-content {
  position: relative;
  z-index: 5;
}

.text-gradient {
  background: linear-gradient(135deg, var(--brand-primary) 0%, #228b22 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.ai-sparkle {
  color: #228b22;
  animation: sparkle-twinkle 2s infinite ease-in-out;
}

@keyframes sparkle-twinkle {
  0%, 100% { transform: scale(1) rotate(0deg); opacity: 1; }
  50% { transform: scale(1.3) rotate(15deg); opacity: 0.8; }
}

.btn-shine-anim {
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-shine-anim::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 50%; height: 100%;
  background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.4) 50%, rgba(255,255,255,0) 100%);
  transform: skewX(-25deg);
  animation: btn-shine-move 3s infinite;
  z-index: -1;
}

@keyframes btn-shine-move {
  0% { left: -100%; }
  20% { left: 200%; }
  100% { left: 200%; }
}

.btn-brand {
    background: var(--color-primary) !important;
    border-color: var(--color-primary) !important;
    color: white !important;
    box-shadow: 0 10px 20px -5px rgba(34, 139, 34, 0.4);
}

.btn-brand:hover {
    background-color: #228b22 !important;
    border-color: #228b22 !important;
    transform: translateY(-2px);
    box-shadow: 0 15px 30px -5px rgba(34, 139, 34, 0.5);
}

.hero-content .btn-outline-primary {
    --bs-btn-color: var(--color-primary);
    --bs-btn-border-color: var(--color-primary);
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: var(--color-primary);
    --bs-btn-hover-border-color: var(--color-primary);
    --bs-btn-focus-shadow-rgb: 74, 58, 255;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: var(--color-primary);
    --bs-btn-active-border-color: var(--color-primary);
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: var(--color-primary);
    --bs-btn-disabled-bg: transparent;
    --bs-btn-disabled-border-color: var(--color-primary);
    --bs-gradient: none;
    transition: all 0.3s ease !important;
}

.hero-content .btn-outline-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(34, 139, 34, 0.2);
}

/* Button Refinement */
.hero .register-btn {
  background: linear-gradient(135deg, var(--color-primary) 0%, #228b22 100%);
  color: white;
  padding: 1.25rem 3rem;
  font-size: 1.125rem;
  font-weight: 700;
  border-radius: 12px;
  box-shadow: 0 20px 40px -10px rgba(34, 139, 34, 0.4);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  display: inline-block;
}

.hero .register-btn:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 25px 50px -12px rgba(34, 139, 34, 0.5);
  filter: brightness(1.1);
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 4rem;
}

.btn-secondary {
  background: white;
  color: var(--color-text);
  border: 1px solid #e5e7eb;
  padding: 0.875rem 2rem;
  border-radius: 100px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
}

.btn-secondary:hover {
  background: #f9fafb;
  border-color: #d1d5db;
}

/* --- HERO DEVICE MOCKUPS --- */
.hero-device-wrapper {
  margin-top: 5rem;
  position: relative;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
  perspective: 2000px;
}

/* Desktop Mockup */
.desktop-mockup {
  width: 100%;
  height: 500px;
  background: white;
  border-radius: 20px;
  box-shadow: 0 50px 100px -20px rgba(0,0,0,0.15);
  border: 1px solid #e5e7eb;
  overflow: hidden;
  position: relative;
  transform: rotateX(5deg) scale(0.95);
  transition: all 0.5s ease;
}

.mockup-header {
  height: 48px;
  background: #f8fafc;
  border-bottom: 1px solid #e5e7eb;
  display: flex;
  align-items: center;
  padding: 0 1.25rem;
}

.header-dots { display: flex; gap: 8px; }
.header-dots span { width: 10px; height: 10px; border-radius: 50%; background: #e2e8f0; }

.mockup-body { display: flex; height: calc(100% - 48px); }

.mockup-sidebar {
  width: 200px;
  background: #f1f5f9;
  border-right: 1px solid #e5e7eb;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.sidebar-item { height: 12px; border-radius: 100px; background: #e2e8f0; }
.sidebar-item.active { background: var(--color-primary); width: 80%; }

.mockup-content { flex: 1; display: flex; }

.chat-list {
  width: 240px;
  border-right: 1px solid #e5e7eb;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.chat-item { height: 40px; border-radius: 8px; background: #f8fafc; border: 1px solid #e2e8f0; }
.chat-item.active { border-color: var(--color-primary); background: #f5fbf4; }

.chat-view { flex: 1; padding: 2rem; display: flex; flex-direction: column; gap: 1.5rem; }

.message { height: 14px; border-radius: 4px; max-width: 60%; }
.message.incoming { background: #f1f5f9; align-self: flex-start; }
.message.outgoing { background: var(--color-primary); align-self: flex-end; opacity: 0.8; }
.message.ai { background: #0f1020; width: 80%; opacity: 1; position: relative; }
.message.ai::after { content: 'AI'; position: absolute; right: -30px; font-size: 8px; font-weight: 800; color: #6b7280; }

.message-input { margin-top: auto; height: 40px; background: #f8fafc; border-radius: 100px; border: 1px solid #e2e8f0; }

/* Mobile Mockup Overlay */
.mobile-mockup {
  position: absolute;
  bottom: -40px;
  right: 5%;
  width: 260px;
  height: 520px;
  z-index: 20;
}

.phone-frame {
  width: 100%;
  height: 100%;
  background: #0f1020;
  border-radius: 40px;
  padding: 10px;
  border: 4px solid #334155;
  box-shadow: 0 40px 80px -15px rgba(0,0,0,0.4);
  position: relative;
}

.phone-notch {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 30px;
  background: #0f1020;
  border-bottom-left-radius: 15px;
  border-bottom-right-radius: 15px;
  z-index: 100;
}

.phone-screen {
  width: 100%;
  height: 100%;
  background: white;
  border-radius: 32px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.phone-header { padding: 30px 20px 15px; background: #f8fafc; }
.app-info { display: flex; align-items: center; gap: 10px; }
.app-avatar { width: 32px; height: 32px; background: var(--color-primary); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: white; font-size: 14px; }
.app-name { font-weight: 700; font-size: 14px; color: var(--color-secondary); }

.phone-chat { flex: 1; padding: 15px; display: flex; flex-direction: column; gap: 10px; }
.msg { padding: 10px 14px; border-radius: 18px; font-size: 12px; line-height: 1.4; max-width: 85%; }
.msg.bot { background: #f1f5f9; align-self: flex-start; border-bottom-left-radius: 4px; }
.msg.user { background: var(--color-primary); color: white; align-self: flex-end; border-bottom-right-radius: 4px; }
.msg.typing { color: #94a3b8; font-style: italic; background: transparent; }

/* Responsive Adjustments */
@media (max-width: 1024px) {
  .hero-device-wrapper { transform: scale(0.9); }
  .mobile-mockup { right: 0; }
}

@media (max-width: 768px) {
  .desktop-mockup { height: 350px; }
  .mobile-mockup { position: static; margin: 3rem auto 0; width: 240px; height: 480px; }
  .mockup-sidebar, .chat-list { display: none; }
}

/* --- ENGINE FLOW SECTION --- */
.engine-flow-section {
  padding: 6rem 0;
  background: #fff;
}

.engine-flow-wrapper {
  background: white;
  border-radius: 40px;
  padding: 4rem 3rem;
  box-shadow: 0 40px 100px -20px rgba(0,0,0,0.08);
  border: 1px solid #f1f5f9;
}

.engine-flow-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.flow-stage-horizontal {
  flex-shrink: 0;
}

.channel-icons-row {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.ch-icon {
  width: 44px;
  height: 44px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.125rem;
  color: #64748b;
}

.f-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: #64748b;
  text-align: center;
}

.flow-svg-h {
  width: 80px;
  height: 40px;
}

.flow-path {
  fill: none;
  stroke: #e2e8f0;
  stroke-width: 2;
  stroke-dasharray: 6;
}

.unified-box {
  background: #228b22;
  color: white;
  padding: 2rem;
  border-radius: 20px;
  text-align: center;
  width: 180px;
  font-weight: 700;
  font-size: 1rem;
  box-shadow: 0 15px 30px rgba(34, 139, 34, 0.25);
}

.arrow-connector {
  margin: 0 1rem;
  color: #e2e8f0;
  font-size: 1.5rem;
}

.ai-engine-box {
  background: #0f1020;
  color: white;
  padding: 2rem;
  border-radius: 20px;
  width: 320px;
}

.engine-title {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-align: center;
  margin-bottom: 1.5rem;
  opacity: 0.9;
}

.engine-tags {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.engine-tags span {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.75rem;
  border-radius: 10px;
  font-size: 0.75rem;
  text-align: center;
  font-weight: 600;
}

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

.m-pill {
  background: #f0fff4;
  color: #166534;
  padding: 0.75rem 1.5rem;
  border-radius: 100px;
  font-size: 0.875rem;
  font-weight: 700;
  border: 1px solid #dcfce7;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-width: 160px;
}

.m-pill.highlight {
  background: #f0fdf4;
}

.engine-core {
  display: flex;
  align-items: center;
}

/* Mobile Adjustments for Flow */
@media (max-width: 1100px) {
  .engine-flow-container {
    flex-direction: column;
    padding: 2rem 0;
  }
  .flow-svg-h { display: none; }
  .engine-core { flex-direction: column; gap: 1rem; }
  .arrow-connector { transform: rotate(90deg); margin: 0.5rem 0; }
}

/* Sections General */
section {
  padding: 8rem 0;
}

.section-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 5rem;
}

.section-header h2 {
  font-size: 2.25rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
}

.section-header p {
  color: #6b7280;
  font-size: 1.125rem;
}

/* Problem/Solution */
.problem { background: #fafafa; }
.content-card {
  background: white;
  padding: 3rem;
  border-radius: 24px;
  border: 1px solid #f3f4f6;
  box-shadow: 0 10px 30px -10px rgba(0,0,0,0.05);
}

/* Feature Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2.5rem;
}

.feature-item {
  background: white;
  padding: 2.5rem;
  border-radius: 24px;
  border: 1px solid #f3f4f6;
  transition: all 0.3s ease;
}

.feature-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px -20px rgba(0,0,0,0.1);
  border-color: var(--color-primary);
}

.feature-icon {
  width: 56px;
  height: 56px;
  background: #f5fbf4;
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
}

.feature-item h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

/* How It Works */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4rem;
  position: relative;
}

.step-item {
  text-align: center;
  position: relative;
}

.step-number {
  width: 48px;
  height: 48px;
  background: var(--color-primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-weight: 700;
  font-size: 1.25rem;
  position: relative;
  z-index: 2;
}

/* Use Cases */
.use-case-tag {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  margin: 0.5rem;
  background: #f3f4f6;
  border-radius: 100px;
  font-weight: 500;
  transition: all 0.2s;
}

.use-case-tag:hover {
  background: var(--color-primary);
  color: white;
}

/* FAQ */
.faq-grid {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 1.5rem;
  background: white;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #f3f4f6;
}

.faq-question {
  padding: 1.5rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-answer {
  padding: 0 1.5rem 1.5rem;
  color: #6b7280;
  display: block; /* Shown for now until JS toggle is added */
}

/* Final CTA */
.final-cta {
  background: var(--color-secondary);
  color: white;
  text-align: center;
  padding: 10rem 0;
  position: relative;
  overflow: hidden;
}

.final-cta h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 2;
}

.final-cta p {
  font-size: 1.25rem;
  color: #cbd5e0;
  margin-bottom: 3rem;
  position: relative;
  z-index: 2;
}

.cta-bg-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(34, 139, 34, 0.2) 0%, transparent 70%);
  filter: blur(60px);
  pointer-events: none;
}

/* Responsive Fixes */
@media (max-width: 768px) {
  .hero { padding-top: 4rem; }
  .steps-grid { grid-template-columns: 1fr; gap: 3rem; }
}

/* --- FOOTER --- */
.site-footer {
  background: var(--color-secondary);
  padding: 3.25rem 0 1.4rem;
  font-size: 0.95rem;
  color: #a0aec0;
}

.site-footer .footer-grid {
  display: grid;
  grid-template-columns: 2fr 1.2fr 1.2fr 1.2fr 1.2fr;
  gap: 4.75rem;
  margin-bottom: 2rem;
}

.site-footer .footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.site-footer .footer-logo-img {
  height: 42px;
  width: auto;
  opacity: 1 !important;
}

.site-footer .footer-value-prop {
  font-size: 0.95rem;
  line-height: 1.7;
  color: #cbd5e0;
  max-width: 300px;
}

.site-footer .social-links {
  display: flex;
  gap: 1.25rem;
}

.site-footer .store-badges {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 0.65rem;
  max-width: 100%;
  align-items: center;
}

.site-footer .store-badges a {
  display: inline-flex;
  width: auto;
}

.site-footer .store-badges img {
  width: auto;
  height: 40px;
  border-radius: 8px;
  opacity: 0.96;
  transition: transform 0.22s ease, opacity 0.22s ease;
}

.site-footer .store-badges img:hover {
  transform: translateY(-2px);
  opacity: 1;
}

.site-footer .social-links a {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.05);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.site-footer .social-links a:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
  transform: translateY(-3px);
}

.site-footer .footer-heading {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #ffffff !important; /* Force white color */
  margin-bottom: 1.05rem;
  font-weight: 700;
  display: block;
}

.site-footer .footer-menu {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.58rem;
}

.site-footer .footer-menu li a {
  color: #a0aec0;
  text-decoration: none;
  transition: all 0.2s;
}

.site-footer .footer-menu li a:hover {
  color: #ffffff;
}

.site-footer .footer-legal {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1rem 0 0.85rem;
}

.site-footer .legal-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: center;
  gap: 1.35rem;
  flex-wrap: wrap;
}

.site-footer .legal-links a {
  color: #718096;
  font-size: 0.85rem;
  text-decoration: none;
  transition: color 0.2s;
}

.site-footer .legal-links a:hover {
  color: #ffffff;
}

.site-footer .footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: #718096;
  padding-top: 0.25rem;
}

.site-footer .bottom-left {
  display: flex;
  gap: 2rem;
  align-items: center;
}

/* --- RESPONSIVE FOOTER --- */

@media (max-width: 1024px) {
  .site-footer .footer-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 3rem 2rem !important;
  }
  .site-footer .footer-brand {
    grid-column: span 2 !important;
    max-width: 100%;
    margin-bottom: 1rem;
  }
  .site-footer .footer-logo img {
    margin-bottom: 1rem;
  }
  .site-footer .store-badges {
    max-width: 100%;
  }
}

@media (max-width: 767px) {
  .site-footer .footer-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 2.5rem 1.5rem !important;
  }
  .site-footer .footer-brand {
    grid-column: span 2 !important; /* Logo spans full width */
    margin-bottom: 1rem;
  }
  .site-footer .footer-bottom {
    flex-direction: column !important;
    gap: 1.5rem;
    align-items: center !important; /* Center align on mobile */
    text-align: center;
  }
  .site-footer .bottom-left {
    flex-direction: column !important;
    gap: 0.75rem;
    align-items: center !important;
  }
  .site-footer .legal-links {
    justify-content: center;
    gap: 1.5rem;
  }
}

/* --- FEATURE ANIMATIONS & VISUALS --- */
.wa-anim {
    animation: pulse-ring 2s infinite;
}

@keyframes pulse-ring {
    0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(16, 185, 129, 0); }
    100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.inbox-ui, .chatbot-ui, .private-note-ui, .visual-reports-ui, .connect-widget {
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    overflow: hidden;
    border: 1px solid #f1f5f9;
}

.inbox-sidebar {
    background: #f8fafc;
    border-right: 1px solid #e2e8f0;
}

.inbox-item {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 10px;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.inbox-item.active-chat {
    border-color: #228b22;
    background: #f4faf4;
}

.msg-bubble {
    padding: 8px 12px;
    border-radius: 12px;
    font-size: 0.85rem;
    margin-bottom: 8px;
    max-width: 80%;
}

.msg-bubble.customer {
    background: #f1f5f9;
    color: #334155;
    border-bottom-left-radius: 2px;
}

.msg-bubble.agent {
    background: #228b22;
    color: white;
    margin-left: auto;
    border-bottom-right-radius: 2px;
}

/* Chatbot UI */
.bot-header {
    background: #228b22;
    color: white;
    padding: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.bot-typing {
    display: flex;
    gap: 4px;
    padding: 8px;
    background: #f1f5f9;
    border-radius: 20px;
    width: fit-content;
}

.bot-typing span {
    width: 6px;
    height: 6px;
    background: #94a3b8;
    border-radius: 50%;
    animation: typing 1.4s infinite ease-in-out both;
}

.bot-typing span:nth-child(1) { animation-delay: -0.32s; }
.bot-typing span:nth-child(2) { animation-delay: -0.16s; }

@keyframes typing {
    0%, 80%, 100% { transform: scale(0); }
    40% { transform: scale(1); }
}

/* Private Note */
.private-note-ui {
    background: #fffbeb;
    border-color: #fcd34d;
}

.note-badge {
    background: #f59e0b;
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 4px;
    text-transform: uppercase;
}

/* Widgets */
.connect-widget {
    background: white;
    padding: 15px;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    border: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

/* Reports */
.visual-reports-ui .bar {
    height: 6px;
    background: #e2e8f0;
    border-radius: 3px;
    margin-top: 8px;
    overflow: hidden;
}

.visual-reports-ui .fill {
    height: 100%;
    background: #228b22;
    width: 0;
    transition: width 1s ease-out;
}

.start-anim .visual-reports-ui .fill {
    width: 75%; /* JS triggers this */
}


/* --- RESPONSIVE HERO STYLES --- */

@media (max-width: 991px) {
  /* Tablet Adjustments */
  .hero-section {
    padding-top: 120px;
    padding-bottom: 60px;
    min-height: auto;
  }
  
  /* ADJUST complex network animation on tablet */
  .hero-network-animation .network-svg {
    opacity: 0.3; /* Faint */
  }

  .network-card {
    transform: scale(0.8); /* Slightly smaller */
    z-index: 1; /* Ensure behind main content if overlap occurs */
    opacity: 0.8;
  }

  /* Reposition cards for tablet */
  .card-left { top: 15%; left: 0%; }
  .card-right { top: 80%; right: 0%; }

  /* Keep background blobs but ensure they don't overflow */
  .hero-background-layer {
    opacity: 0.6; 
  }

  .display-4 {
    font-size: 2.5rem; /* Fallback from clamp if needed */
  }
}

.hero-new-badge {
  max-width: min(100%, 760px);
  white-space: normal;
  text-align: left;
  line-height: 1.3;
}

.hero-new-badge-text {
  display: inline;
  word-break: break-word;
}

.hero-new-badge-arrow {
  flex: 0 0 auto;
}

.hero-channel-line {
  font-weight: 600;
  color: #1f2937;
}

.hero-channel-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
}

.hero-channel-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.65rem 0.35rem 0.4rem;
  border-radius: 999px;
  border: 1px solid #def1de;
  background: #ffffff;
  color: #1f2937;
  font-size: 0.95rem;
  font-weight: 600;
}

.hero-channel-icon {
  width: 1.6rem;
  height: 1.6rem;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #f3faf3;
  color: #228b22;
  font-size: 0.82rem;
}

.hero-highlight-pill {
  display: inline-block;
  padding: 0.15rem 0.65rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #f3faf3 0%, #e9f6e9 100%);
  color: #228b22;
  font-weight: 700;
}

@media (max-width: 767px) {
  /* Mobile Adjustments */
  .hero-section {
    padding-top: 100px; /* Space for fixed header */
    padding-bottom: 50px;
    text-align: center;
    overflow: hidden; /* Ensure no horizontal scroll */
  }

  /* Hide network animation and cards on mobile to clear the view */
  .hero-network-animation .network-svg,
  .network-card {
    display: none !important;
  }

  @keyframes float-card-mobile {
      0%, 100% { transform: translateY(0) scale(0.65); }
      50% { transform: translateY(-5px) scale(0.65); }
  }

  .hero-content .row {
    margin: 0;
  }
  
  .hero-title br {
    display: none; /* Let text wrap naturally */
  }

  .display-4 {
    font-size: 2rem;
  }

  .lead {
    font-size: 1.1rem;
    margin-bottom: 2rem !important;
  }

  /* Button Stacking on small screens */
  .hero-content .d-flex.justify-content-center {
    flex-direction: column;
    align-items: center;
    width: 100%;
  }

  .hero-content .btn {
    width: 100%;
    max-width: 300px; /* Prevent overly wide buttons */
    justify-content: center;
  }

  .hero-new-badge {
    width: 100%;
    max-width: 100%;
    padding: 0.55rem 0.75rem !important;
    border-radius: 14px !important;
    gap: 0.35rem !important;
    font-size: 0.95rem;
    line-height: 1.35;
  }

  .hero-new-badge .ai-sparkle svg {
    width: 14px;
    height: 14px;
  }

  .hero-new-badge-arrow {
    margin-left: 0.25rem !important;
  }

  .hero-channel-pill {
    font-size: 0.86rem;
  }

  .hero-background-layer .blob-1,
  .hero-background-layer .blob-2,
  .hero-background-layer .blob-3 {
    opacity: 0.3; /* Reduce blob opacity */
    filter: blur(60px); /* Less blur for performance */
  }
}

/* --- FEATURE VISUALS --- */
.feature-item {
    padding: 2.5rem !important;
    position: relative;
    overflow: hidden;
    height: 100%;
    background: white;
    border-radius: 24px;
    border: 1px solid #f3f4f6;
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.05);
    border-color: var(--color-primary);
}

.visual-demo {
    background: #f8fafc;
    border-radius: 16px;
    padding: 20px;
    margin-top: 1.5rem;
    height: 160px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    border: 1px solid #edf2f7;
    overflow: hidden;
}

/* WhatsApp Visual */
.wa-visual .msg {
    max-width: 85%;
    padding: 8px 12px;
    border-radius: 12px;
    font-size: 0.8rem;
    margin-bottom: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}
.wa-visual .msg.cust { background: white; align-self: flex-start; border-bottom-left-radius: 2px; }
.wa-visual .msg.agent { background: #dcf8c6; align-self: flex-end; border-bottom-right-radius: 2px; position: relative; }
.wa-visual .checks { color: #34b7f1; font-size: 0.7rem; margin-left: 4px; }

/* Inbox Visual */
.inbox-visual {
    flex-direction: row !important;
    gap: 15px;
    align-items: center;
    justify-content: center;
}
.inbox-visual .ch-dot {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    font-size: 1rem;
}
.unified-circle {
    width: 48px;
    height: 48px;
    background: var(--color-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    box-shadow: 0 8px 15px rgba(34, 139, 34, 0.3);
}

/* Bot Visual */
.bot-visual .msg.bot {
    background: #228b22;
    color: white;
    align-self: flex-end;
}

/* Widget Visual */
.widget-visual .widget-mock {
    width: 50px;
    height: 50px;
    background: var(--color-primary);
    border-radius: 50%;
    position: absolute;
    bottom: 15px;
    right: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 8px 16px rgba(34, 139, 34, 0.3);
}
.widget-visual .widget-tip {
    background: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.7rem;
    position: absolute;
    bottom: 75px;
    right: 15px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    white-space: nowrap;
}

/* Notes Visual */
.note-visual .note-card {
    background: #fffbeb;
    border: 1px solid #fcd34d;
    padding: 10px;
    border-radius: 8px;
    font-size: 0.75rem;
    position: relative;
    width: 100%;
}
.note-visual .mention {
    color: #d97706;
    font-weight: 700;
}

/* Reports Visual */
.reports-visual {
    flex-direction: row !important;
    align-items: center !important;
}
.reports-visual .stat {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--color-primary);
}
.reports-visual .label {
    font-size: 0.7rem;
    color: #64748b;
    margin-left: 8px;
}
.mini-chart {
    display: flex;
    align-items: flex-end;
    gap: 4px;
    height: 50px;
    margin-left: auto;
}
.mini-chart .b {
    width: 8px;
    background: var(--color-primary);
    border-radius: 2px;
    opacity: 0.2;
}
.mini-chart .b.h { opacity: 1; }

@media (max-width: 767px) {
    .visual-demo { height: 140px; }
}
/* --- PRODUCT OVERVIEW --- */
.product-overview {
    padding: 100px 0;
    background: radial-gradient(circle at top right, rgba(34, 139, 34, 0.05), transparent),
                radial-gradient(circle at bottom left, rgba(34, 139, 34, 0.05), transparent),
                #ffffff;
}

.product-overview-content {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-overview.active .product-overview-content {
    opacity: 1;
    transform: translateY(0);
}

.product-mockup-wrap {
    opacity: 0;
    transform: translateY(40px);
    transition: all 1s cubic-bezier(0.16, 1, 0.3, 1) 0.3s;
}

.product-overview.active .product-mockup-wrap {
    opacity: 1;
    transform: translateY(0);
}

.product-mockup-card {
    background: white;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.2);
}

.product-mockup-card i {
    cursor: pointer;
    transition: all 0.2s;
}

.product-mockup-card i:hover {
    color: #228b22 !important;
    opacity: 1 !important;
}

.transition-opacity { 
    transition: opacity 0.3s ease; 
}

/* Scrollbar styling for mockup */
.product-mockup-card *::-webkit-scrollbar {
    width: 4px;
}
.product-mockup-card *::-webkit-scrollbar-track {
    background: transparent;
}
.product-mockup-card *::-webkit-scrollbar-thumb {
    background: #e2e8f0;
    border-radius: 10px;
}

/* Chat Mockup Specifics */
.mockup-reply-bubble {
    background: white !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 16px 16px 16px 4px !important;
    padding: 16px !important;
    animation: bubblePopReveal 4s infinite !important;
    transform-origin: bottom left;
}

@keyframes bubblePopReveal {
    0%, 45% { opacity: 0; transform: scale(0.9) translateY(20px); }
    55%, 95% { opacity: 1; transform: scale(1) translateY(0); }
    100% { opacity: 0; }
}

.mock-typing {
    display: flex;
    gap: 4px;
    padding: 10px 16px;
    background: #f1f5f9;
    border-radius: 12px;
    width: fit-content;
    animation: typingFadeCycle 4s infinite;
}

@keyframes typingFadeCycle {
    0%, 40% { opacity: 1; transform: translateY(0); }
    45%, 100% { opacity: 0; transform: translateY(10px); }
}

.mock-typing span {
    width: 5px;
    height: 5px;
    background: #94a3b8;
    border-radius: 50%;
    animation: typingBounceSmall 1s infinite;
}

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

@keyframes typingBounceSmall {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-3px); }
}

.check-item-card { transition: all 0.3s ease; }
.check-item-card:hover { transform: translateX(10px); border-color: var(--color-primary) !important; }

/* Omnichannel Support Features - User Requested Design */
.omni-features {
  padding: 90px 20px;
  background:
    radial-gradient(circle at 20% 0%, rgba(34, 139, 34,.10), transparent 35%),
    radial-gradient(circle at 80% 100%, rgba(34, 139, 34,.08), transparent 35%),
    #fff;
}

.omni-wrap {
  max-width: 1200px;
  margin: 0 auto;
}

/* =========================================
   PROTOTYPE FEATURE STYLES (Omnichannel)
   ========================================= */

/* Section Setup */
#features {
    padding-top: 80px;
    padding-bottom: 80px;
    background-color: #f8fafc; /* bg-light-alt */
    overflow: hidden;
}

/* Text Gradients & Utils */
.bg-clip-text { -webkit-background-clip: text; background-clip: text; }
.text-transparent { color: transparent; }
.bg-gradient-brand { background: linear-gradient(135deg, #228b22 0%, #228b22 100%); }
.text-gradient {
    background: linear-gradient(135deg, #228b22 0%, #228b22 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.tracking-widest { letter-spacing: 0.1em; }

/* Feature Premium Card */
.feature-card-premium {
    background: #fff;
    border-radius: 16px;
    padding: 24px;
    height: 100%;
    border: 1px solid #e5e7eb;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.feature-card-premium:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px -12px rgba(34, 139, 34, 0.15);
    border-color: #228b22; /* brand-primary */
}

.feature-icon-box {
    margin-bottom: 20px;
    color: #228b22; /* brand-primary */
}

.feature-card-body h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: #111827;
}

.feature-card-body p {
    font-size: 0.95rem;
    color: #6b7280;
    line-height: 1.5;
    margin-bottom: 0;
}

.feature-arrow-btn {
    margin-top: 1rem;
    color: #228b22;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
}

.feature-card-premium:hover .feature-arrow-btn {
    opacity: 1;
    transform: translateX(0);
}

/* Feature Visual Containers */
.feature-visual {
    background: #f9fafb;
    border-radius: 12px;
    margin-top: 20px;
    min-height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 1px solid #f3f4f6;
    position: relative;
}

/* -------------------------------------------
   ANIMATIONS & VISUALS
------------------------------------------- */

/* 1. WhatsApp */
@keyframes wa-msg-left {
    0% { transform: translateX(-30px); opacity: 0; }
    10% { transform: translateX(0); opacity: 1; }
    90% { transform: translateX(0); opacity: 1; }
    100% { transform: translateX(-30px); opacity: 0; }
}
@keyframes wa-msg-right {
    0%, 20% { transform: translateX(30px); opacity: 0; }
    30% { transform: translateX(0); opacity: 1; }
    90% { transform: translateX(0); opacity: 1; }
    100% { transform: translateX(30px); opacity: 0; }
}
@keyframes wa-pulse {
    0%, 50% { transform: scale(1); }
    60% { transform: scale(1.15); filter: brightness(1.2); }
    70% { transform: scale(1); }
    100% { transform: scale(1); }
}

.wa-anim .wa-bubble-incoming-new { animation: wa-msg-left 7s cubic-bezier(0.4, 0, 0.2, 1) infinite; }
.wa-anim .wa-bubble-outgoing-new { animation: wa-msg-right 7s cubic-bezier(0.4, 0, 0.2, 1) infinite; }
.wa-icon-pulse { animation: wa-pulse 7s ease-in-out infinite; }

/* 2. Unified Inbox */
@keyframes unify-icons {
    0% { transform: scale(0.5); opacity: 0; }
    10% { transform: scale(1); opacity: 1; }
    40% { transform: translate(0, 0); opacity: 1; }
    50% { transform: translate(var(--merge-x), var(--merge-y)) scale(0.5); opacity: 0; }
    100% { transform: translate(var(--merge-x), var(--merge-y)) scale(0.5); opacity: 0; }
}
@keyframes unify-final {
    0%, 45% { transform: scale(0.8); opacity: 0; }
    55% { transform: scale(1); opacity: 1; }
    90% { transform: scale(1); opacity: 1; }
    100% { transform: scale(1.1); opacity: 0; }
}
.start-anim .unify-icon { animation: unify-icons 7s ease-in-out infinite; }
.start-anim .unify-card-final { animation: unify-final 7s ease-in-out infinite; }

/* 3. Smart Chatbots */
@keyframes bot-msg-pop {
    0% { transform: scale(0.8); opacity: 0; }
    10%, 90% { transform: scale(1); opacity: 1; }
    100% { transform: scale(1.1); opacity: 0; }
}
@keyframes bot-typing-anim {
    0%, 15% { opacity: 0; }
    20%, 45% { opacity: 1; }
    50%, 100% { opacity: 0; }
}
@keyframes bot-reply-pop {
    0%, 50% { transform: scale(0.8); opacity: 0; }
    60%, 95% { transform: scale(1); opacity: 1; }
    100% { transform: scale(1.1); opacity: 0; }
}
@keyframes bot-glow-anim {
    0%, 65% { filter: drop-shadow(0 0 0 rgba(34, 139, 34, 0)); }
    75% { filter: drop-shadow(0 0 10px rgba(34, 139, 34, 0.6)); }
    95%, 100% { filter: drop-shadow(0 0 0 rgba(34, 139, 34, 0)); }
}

.start-anim .visual-chatbot-msg-user { animation: bot-msg-pop 5s ease-in-out infinite; }
.start-anim .visual-chatbot-typing { animation: bot-typing-anim 5s ease-in-out infinite; }
.start-anim .visual-chatbot-msg-ai { animation: bot-reply-pop 5s ease-in-out infinite; }
.start-anim .visual-chatbot-glow { animation: bot-glow-anim 5s ease-in-out infinite; }

/* 4. Customizable Widget */
@keyframes widget-entrance {
    0% { transform: translateY(50px) scale(0.5); opacity: 0; }
    10% { transform: translateY(-5px) scale(1.05); opacity: 1; }
    15% { transform: translateY(0) scale(1); opacity: 1; }
    85% { transform: translateY(0) scale(1); opacity: 1; }
    100% { transform: translateY(50px) scale(0.5); opacity: 0; }
}
@keyframes widget-color-anim {
    0%, 20% { background-color: #f1f5f9; color: #64748b; }
    30%, 80% { background-color: #228b22; color: #ffffff; }
    90%, 100% { background-color: #f1f5f9; color: #64748b; }
}
.start-anim .visual-widget-bubble { animation: widget-entrance 8s cubic-bezier(0.34, 1.56, 0.64, 1) infinite; }
.start-anim .visual-widget-color { animation: widget-color-anim 8s ease-in-out infinite; }

/* 5. Private Notes */
@keyframes note-type-at {
    0% { width: 0; opacity: 0; }
    10%, 90% { width: 100%; opacity: 1; }
    100% { opacity: 0; }
}
@keyframes note-dropdown {
    0%, 20% { transform: translateY(-10px); opacity: 0; }
    30%, 85% { transform: translateY(0); opacity: 1; }
    95%, 100% { opacity: 0; }
}
@keyframes note-bubble-show {
    0%, 45% { transform: scale(0.9); opacity: 0; }
    55%, 90% { transform: scale(1); opacity: 1; }
    100% { opacity: 0; }
}
@keyframes note-lock {
    0%, 65% { opacity: 0; transform: scale(0.5); }
    75%, 90% { opacity: 1; transform: scale(1); }
    100% { opacity: 0; }
}
.start-anim .visual-note-type { overflow: hidden; white-space: nowrap; animation: note-type-at 6s steps(10) infinite; }
.start-anim .visual-note-dropdown { animation: note-dropdown 6s ease-out infinite; }
.start-anim .visual-note-bubble { animation: note-bubble-show 6s cubic-bezier(0.34, 1.56, 0.64, 1) infinite; }
.start-anim .visual-note-lock { animation: note-lock 6s ease-in-out infinite; }

/* 6. Insightful Reports */
@keyframes report-bar-fill {
    0% { height: 0; opacity: 0; }
    15% { opacity: 1; }
    30%, 90% { height: var(--target-height); opacity: 1; }
    100% { height: 0; opacity: 0; }
}
@keyframes report-arrow-anim {
    0%, 40% { transform: translateY(10px); opacity: 0; }
    55%, 90% { transform: translateY(0); opacity: 1; }
    100% { transform: translateY(-10px); opacity: 0; }
}
@keyframes report-number-anim {
    0%, 35% { opacity: 0; }
    50%, 90% { opacity: 1; }
    100% { opacity: 0; }
}
.start-anim .visual-report-bar { animation: report-bar-fill 7s ease-out infinite; }
.start-anim .visual-report-arrow { animation: report-arrow-anim 7s ease-out infinite; }
.start-anim .visual-report-number { animation: report-number-anim 7s ease-out infinite; }

/* Bot Typing Animation Helper */
.bot-typing span { animation: typing 1.4s infinite ease-in-out both; }
@keyframes typing {
    0%, 80%, 100% { transform: scale(0); opacity: 0.5; }
    40% { transform: scale(1); opacity: 1; }
}

/* Reveal Animation for Scroll Triggers */
.reveal {
    opacity: 0;
    transform: translateY(12px);
    transition: all 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.reveal.in {
    opacity: 1;
    transform: translateY(0);
}

/* Feature Premium Card - Prototype Styles */
.feature-card-premium {
    background: #fff;
    border-radius: 16px;
    padding: 24px;
    height: 100%;
    min-height: 350px;
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.feature-card-premium:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px -12px rgba(34, 139, 34, 0.15);
    border-color: #228b22;
}

.feature-icon-box {
    margin-bottom: 20px;
    color: #228b22;
}

.feature-card-body h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: #111827;
}

.feature-card-body p {
    font-size: 0.95rem;
    color: #6b7280;
    line-height: 1.5;
}

.feature-arrow-btn {
    margin-top: 1rem;
    color: #228b22;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
}

.feature-card-premium:hover .feature-arrow-btn {
    opacity: 1;
    transform: translateX(0);
}

.feature-visual {
    background: #f9fafb;
    border-radius: 12px;
    margin-top: 20px;
    min-height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 1px solid #f3f4f6;
}

/* Feature Visual Specifics */
.visual-bot-ui, .visual-whatsapp, .visual-inbox-ui, .visual-widget-ui, .visual-reports-ui, .visual-mentions-ui {
    padding: 1rem;
}

/* WhatsApp Chat Flow Animations - 6 Second Loop */

/* WhatsApp Pulse Badge (top-right corner) */
.wa-pulse-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 24px;
    height: 24px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(37, 211, 102, 0.3);
    animation: wa-badge-pulse 2.5s ease-in-out infinite;
}

@keyframes wa-badge-pulse {
    0%, 100% { 
        transform: scale(1); 
        box-shadow: 0 2px 8px rgba(37, 211, 102, 0.3);
    }
    50% { 
        transform: scale(1.08); 
        box-shadow: 0 4px 12px rgba(37, 211, 102, 0.5);
    }
}

/* Security Badge (bottom-left) */
.wa-secure-badge {
    position: absolute;
    bottom: 12px;
    left: 12px;
    display: flex;
    align-items: center;
    background: rgba(5, 150, 105, 0.1);
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 10px;
    font-weight: 600;
    color: #059669;
    opacity: 0;
    animation: wa-secure-fade 6s ease-in-out infinite;
}

@keyframes wa-secure-fade {
    0%, 15% { opacity: 0; transform: translateY(5px); }
    20%, 85% { opacity: 1; transform: translateY(0); }
    90%, 100% { opacity: 0; transform: translateY(5px); }
}

/* Customer Bubble - Appears first (0-0.7s) */
.wa-bubble-customer {
    align-self: flex-start;
    background: white;
    padding: 8px 12px;
    border-radius: 0 12px 12px 12px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.1);
    font-size: 12px;
    color: #111827;
    opacity: 0;
    animation: wa-bubble-in 6s ease-in-out infinite;
}

@keyframes wa-bubble-in {
    0%, 5% { opacity: 0; transform: translateY(10px); }
    12%, 100% { opacity: 1; transform: translateY(0); }
}

/* Typing Dots - Appears after customer (0.7-1.5s) */
.wa-typing-dots {
    align-self: flex-end;
    display: flex;
    gap: 4px;
    padding: 10px 12px;
    background: #dcf8c6;
    border-radius: 12px 0 12px 12px;
    opacity: 0;
    animation: wa-typing-show 6s ease-in-out infinite;
}

.wa-typing-dots span {
    width: 6px;
    height: 6px;
    background: #6b7280;
    border-radius: 50%;
    animation: wa-dot-bounce 1.4s ease-in-out infinite;
}

.wa-typing-dots span:nth-child(2) { animation-delay: 0.2s; }
.wa-typing-dots span:nth-child(3) { animation-delay: 0.4s; }

@keyframes wa-typing-show {
    0%, 12% { opacity: 0; transform: scale(0.8); }
    15%, 25% { opacity: 1; transform: scale(1); }
    28%, 100% { opacity: 0; transform: scale(0.8); }
}

@keyframes wa-dot-bounce {
    0%, 60%, 100% { transform: translateY(0); }
    30% { transform: translateY(-4px); }
}

/* Agent Reply - Appears after typing (1.5s onwards) */
.wa-bubble-agent {
    align-self: flex-end;
    background: #dcf8c6;
    padding: 8px 12px;
    border-radius: 12px 0 12px 12px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.1);
    font-size: 12px;
    color: #111827;
    opacity: 0;
    animation: wa-agent-in 6s ease-in-out infinite;
}

.wa-time {
    display: block;
    font-size: 9px;
    color: #555;
    text-align: right;
    margin-top: 2px;
}

.wa-check {
    color: #34b7f1;
}

@keyframes wa-agent-in {
    0%, 28% { opacity: 0; transform: translateY(10px) scale(0.95); }
    35%, 100% { opacity: 1; transform: translateY(0) scale(1); }
}


/* Unified Inbox Animation - 4.5s Loop */

/* Channel Bubbles - Move to Center */
.inbox-channel-left,
.inbox-channel-right {
    position: absolute;
    opacity: 0;
}

.inbox-channel-left {
    left: 10px;
    animation: channel-move-left 4.5s ease-in-out infinite;
}

.inbox-channel-right {
    right: 10px;
    animation: channel-move-right 4.5s ease-in-out infinite;
}

.channel-bubble {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 14px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

@keyframes channel-move-left {
    0%, 3% { opacity: 0; transform: translateX(0) scale(0.8); }
    5%, 20% { opacity: 1; transform: translateX(0) scale(1); }
    25% { opacity: 1; transform: translateX(40px) scale(0.7); }
    28%, 100% { opacity: 0; transform: translateX(40px) scale(0.5); }
}

@keyframes channel-move-right {
    0%, 8% { opacity: 0; transform: translateX(0) scale(0.8); }
    10%, 20% { opacity: 1; transform: translateX(0) scale(1); }
    25% { opacity: 1; transform: translateX(-40px) scale(0.7); }
    28%, 100% { opacity: 0; transform: translateX(-40px) scale(0.5); }
}

/* Center Inbox Icon - Glow on Merge */
.inbox-center {
    position: relative;
    z-index: 2;
    opacity: 0.3;
    animation: inbox-glow 4.5s ease-in-out infinite;
}

@keyframes inbox-glow {
    0%, 20% { opacity: 0.3; transform: scale(1); filter: drop-shadow(0 0 0 rgba(34, 139, 34, 0)); }
    27% { opacity: 1; transform: scale(1.15); filter: drop-shadow(0 0 12px rgba(34, 139, 34, 0.6)); }
    30% { opacity: 1; transform: scale(1.05); filter: drop-shadow(0 0 8px rgba(34, 139, 34, 0.4)); }
    35%, 100% { opacity: 0.3; transform: scale(1); filter: drop-shadow(0 0 0 rgba(34, 139, 34, 0)); }
}

/* AI Processing Text */
.inbox-processing {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, 20px);
    font-size: 11px;
    font-weight: 600;
    color: #228b22;
    white-space: nowrap;
    opacity: 0;
    animation: processing-show 4.5s ease-in-out infinite;
}

@keyframes processing-show {
    0%, 26% { opacity: 0; transform: translate(-50%, 25px); }
    30%, 42% { opacity: 1; transform: translate(-50%, 20px); }
    46%, 100% { opacity: 0; transform: translate(-50%, 25px); }
}

.processing-dots span {
    animation: dot-blink 1.4s ease-in-out infinite;
}

.processing-dots span:nth-child(2) { animation-delay: 0.2s; }
.processing-dots span:nth-child(3) { animation-delay: 0.4s; }

@keyframes dot-blink {
    0%, 60%, 100% { opacity: 0.3; }
    30% { opacity: 1; }
}

/* Message Chips - Staggered Entrance */
.inbox-chips {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    gap: 6px;
    width: 90%;
}

.inbox-chip {
    display: flex;
    align-items: center;
    gap: 8px;
    background: white;
    padding: 6px 10px;
    border-radius: 8px;
    font-size: 11px;
    color: #374151;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    opacity: 0;
}

.chip-icon {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 9px;
    flex-shrink: 0;
}

.chip-1 {
    animation: chip-appear 4.5s ease-in-out infinite;
}

.chip-2 {
    animation: chip-appear 4.5s ease-in-out infinite;
    animation-delay: 0.12s;
}

@keyframes chip-appear {
    0%, 44% { opacity: 0; transform: translateY(10px) scale(0.9); }
    48%, 70% { opacity: 1; transform: translateY(0) scale(1); }
    74%, 100% { opacity: 0; transform: translateY(-5px) scale(0.95); }
}



/* AI + Human Handoff - Compact 160px Animation */

.handoff-visual {
    height: 160px;
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    padding: 12px;
}

.handoff-visual .msg,
.handoff-visual .typing,
.handoff-visual .ticket {
    position: absolute;
    opacity: 0;
    transform: translateY(10px);
    animation-duration: 5s;
    animation-iteration-count: infinite;
    animation-timing-function: ease;
}

.handoff-visual .msg.user {
    top: 14px;
    left: 12px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 6px 10px;
    font-size: 12px;
    color: #1f2937;
    animation-name: showUser;
}

.handoff-visual .typing {
    top: 58px;
    left: 14px;
    display: flex;
    gap: 4px;
    animation-name: showTyping;
}

.handoff-visual .typing span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #94a3b8;
    animation: dot 1s infinite;
}

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

.handoff-visual .ticket {
    top: 92px;
    left: 12px;
    background: #fff7ed;
    border: 1px solid #fdba74;
    color: #9a3412;
    border-radius: 10px;
    padding: 6px 10px;
    font-size: 11px;
    font-weight: 600;
    animation-name: showTicket;
}

.handoff-visual .msg.done {
    top: 124px;
    right: 12px;
    background: #ecfdf5;
    border: 1px solid #86efac;
    color: #166534;
    border-radius: 10px;
    padding: 6px 10px;
    font-size: 12px;
    animation-name: showDone;
}

/* Timeline Animations */
@keyframes showUser {
    0%, 10% { opacity: 0; transform: translateY(10px); }
    15%, 100% { opacity: 1; transform: translateY(0); }
}

@keyframes showTyping {
    0%, 25% { opacity: 0; }
    30%, 50% { opacity: 1; }
    55%, 100% { opacity: 0; }
}

@keyframes showTicket {
    0%, 50% { opacity: 0; transform: translateY(10px); }
    58%, 100% { opacity: 1; transform: translateY(0); }
}

@keyframes showDone {
    0%, 65% { opacity: 0; transform: translateY(10px); }
    72%, 100% { opacity: 1; transform: translateY(0); }
}

@keyframes dot {
    0%, 80%, 100% { transform: scale(.7); opacity: .4; }
    40% { transform: scale(1); opacity: 1; }
}

/* Customizable Widget - Compact 160px Animation */

.widget-visual {
    height: 160px;
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    padding: 10px;
}

.widget-visual .theme-chip,
.widget-visual .chat-bubble,
.widget-visual .widget-panel,
.widget-visual .speed-badge {
    position: absolute;
    opacity: 0;
    animation: widgetLoop 5s infinite ease;
}

/* Top Brand Chip */
.widget-visual .theme-chip {
    top: 10px;
    left: 10px;
    background: #f3faf3;
    color: #228b22;
    border: 1px solid #d7eed7;
    font-size: 11px;
    padding: 4px 8px;
    border-radius: 999px;
    animation-delay: 0s;
}

/* Chat Bubble */
.widget-visual .chat-bubble {
    bottom: 12px;
    right: 12px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 18px;
    background: #228b22;
    box-shadow: 0 8px 20px rgba(34, 139, 34, .35);
    animation-delay: .4s;
}

/* Welcome Panel */
.widget-visual .widget-panel {
    bottom: 62px;
    right: 12px;
    width: 170px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 8px 10px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, .08);
    animation-delay: 1.2s;
}

.widget-visual .widget-panel p {
    margin: 0;
    font-size: 12px;
    font-weight: 600;
    color: #111827;
}

.widget-visual .widget-panel span {
    font-size: 11px;
    color: #6b7280;
}

/* Speed Badge */
.widget-visual .speed-badge {
    left: 10px;
    bottom: 12px;
    font-size: 11px;
    color: #166534;
    background: #ecfdf5;
    border: 1px solid #86efac;
    padding: 4px 8px;
    border-radius: 999px;
    animation-delay: 2.2s;
}

/* Unified Timeline */
@keyframes widgetLoop {
    0%, 10% { opacity: 0; transform: translateY(8px) scale(.96); }
    16%, 70% { opacity: 1; transform: translateY(0) scale(1); }
    85%, 100% { opacity: 0; transform: translateY(4px) scale(.98); }
}

/* AI Quality Scoring - Compact 160px Animation */

.ai-score-visual {
    height: 160px;
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    padding: 10px 12px;
}

.ai-score-visual .score-title {
    font-size: 11px;
    font-weight: 700;
    color: #228b22;
    letter-spacing: .08em;
    margin-bottom: 8px;
    opacity: 0;
    animation: fadeIn .5s forwards;
}

.ai-score-visual .score-row {
    display: grid;
    grid-template-columns: 78px 1fr;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    margin-bottom: 6px;
    opacity: 0;
    transform: translateY(6px);
}

.ai-score-visual .score-row span {
    color: #6b7280;
}

.ai-score-visual .score-row strong {
    color: #111827;
    font-weight: 600;
}

.ai-score-visual .intent {
    animation: rowIn 5s infinite;
}

.ai-score-visual .sentiment {
    animation: rowIn 5s .5s infinite;
}

.ai-score-visual .confidence {
    animation: rowIn 5s 1s infinite;
}

.ai-score-visual .meter {
    grid-column: 1 / -1;
    height: 6px;
    background: #e5e7eb;
    border-radius: 999px;
    overflow: hidden;
    margin-top: 2px;
}

.ai-score-visual .meter i {
    display: block;
    height: 100%;
    width: 0%;
    background: #228b22;
    animation: fillMeter 5s 1.2s infinite;
}

.ai-score-visual .handoff-flag {
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 10px;
    font-size: 11px;
    text-align: center;
    background: #fff7ed;
    border: 1px solid #fdba74;
    color: #9a3412;
    border-radius: 999px;
    padding: 4px 8px;
    opacity: 0;
    transform: translateY(6px);
    animation: flagIn 5s 2.1s infinite;
}

@keyframes rowIn {
    0%, 8% { opacity: 0; transform: translateY(6px); }
    14%, 78% { opacity: 1; transform: translateY(0); }
    90%, 100% { opacity: 0; transform: translateY(3px); }
}

@keyframes fillMeter {
    0%, 25% { width: 0%; }
    45%, 78% { width: 92%; }
    90%, 100% { width: 0%; }
}

@keyframes flagIn {
    0%, 45% { opacity: 0; transform: translateY(6px); }
    55%, 82% { opacity: 1; transform: translateY(0); }
    92%, 100% { opacity: 0; transform: translateY(4px); }
}

@keyframes fadeIn {
    to { opacity: 1; }
}


/* Mentions Visual Styles */
.mention-input-box {
    position: relative;
}

.mention-dropdown-list {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    margin-top: 4px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    overflow: hidden;
}

.m-item {
    padding: 8px 12px;
    font-size: 13px;
    color: #6b7280;
    cursor: pointer;
    transition: background 0.2s;
}

.m-item:hover, .m-item.active {
    background: #f3f4f6;
    color: #111827;
}

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

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

/* Insightful Reports - Compact 160px Analytics Animation */

.reports-visual-160 {
    height: 160px;
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    padding: 10px;
}

.reports-visual-160 .kpi-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-bottom: 10px;
}

.reports-visual-160 .kpi {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 8px;
    text-align: center;
    opacity: 0;
    transform: translateY(8px);
    animation: kpiIn 5s infinite ease;
}

.reports-visual-160 .kpi:nth-child(2) {
    animation-delay: .2s;
}

.reports-visual-160 .kpi:nth-child(3) {
    animation-delay: .4s;
}

.reports-visual-160 .kpi span {
    display: block;
    font-size: 10px;
    color: #6b7280;
    margin-bottom: 2px;
}

.reports-visual-160 .kpi strong {
    font-size: 14px;
    color: #111827;
}

.reports-visual-160 .mini-bars {
    height: 72px;
    display: flex;
    align-items: flex-end;
    gap: 6px;
    padding: 0 6px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
}

.reports-visual-160 .mini-bars .b {
    width: 16px;
    border-radius: 6px 6px 2px 2px;
    background: #228b22;
    opacity: .2;
    transform-origin: bottom;
    animation: bars 1.6s infinite ease-in-out;
}

.reports-visual-160 .b1 {
    height: 22px;
    animation-delay: .0s;
}

.reports-visual-160 .b2 {
    height: 38px;
    animation-delay: .12s;
}

.reports-visual-160 .b3 {
    height: 30px;
    animation-delay: .24s;
}

.reports-visual-160 .b4 {
    height: 50px;
    animation-delay: .36s;
}

.reports-visual-160 .b5 {
    height: 34px;
    animation-delay: .48s;
}

@keyframes kpiIn {
    0%, 10% { opacity: 0; transform: translateY(8px); }
    18%, 80% { opacity: 1; transform: translateY(0); }
    92%, 100% { opacity: 0; transform: translateY(4px); }
}

@keyframes bars {
    0%, 100% { opacity: .2; transform: scaleY(.75); }
    50% { opacity: 1; transform: scaleY(1.08); }
}



/* Product Overview & Mockup Styles */
.product-overview {
    background: #ffffff;
    position: relative;
    overflow: hidden;
}

.product-mockup-wrap {
    perspective: 1000px;
    z-index: 2;
}

.product-mockup-card {
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 50px 100px -20px rgba(0,0,0,0.12), 0 30px 60px -30px rgba(0,0,0,0.15);
}

.product-mockup-card:hover {
    transform: translateY(-10px) rotateX(2deg);
    box-shadow: 0 70px 140px -20px rgba(34, 139, 34, 0.15);
}

.mock-chat-bubble {
    background: white;
    padding: 15px;
    border-radius: 12px;
    position: relative;
}

.mock-typing {
    display: flex;
    gap: 4px;
    padding: 10px 16px;
    background: #f1f5f9;
    border-radius: 12px;
    width: fit-content;
    animation: typingFadeCycle 4s infinite;
}

@keyframes typingFadeCycle {
    0%, 40% { opacity: 1; transform: translateY(0); }
    45%, 100% { opacity: 0; transform: translateY(10px); }
}

.mock-typing span {
    width: 5px;
    height: 5px;
    background: #94a3b8;
    border-radius: 50%;
    animation: typingBounceSmall 1s infinite;
}

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

@keyframes typingBounceSmall {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-3px); }
}

@media (max-width: 768px) {
    .product-mockup-card { height: 400px !important; }
}
/* Product Overview Section - Animated Gradient Background */
.product-overview-section {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
}

/* Gradient Background Container */
.gradient-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

/* Animated Gradient Mesh - Slow Drift (25s loop) */
.gradient-mesh {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 20% 30%, rgba(34, 139, 34, 0.08) 0%, transparent 50%),
                radial-gradient(circle at 80% 70%, rgba(34, 139, 34, 0.06) 0%, transparent 50%),
                radial-gradient(circle at 50% 50%, rgba(34, 139, 34, 0.05) 0%, transparent 50%);
    animation: gradientDrift 25s ease-in-out infinite;
    opacity: 0.7;
}

@keyframes gradientDrift {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    33% {
        transform: translate(3%, 2%) rotate(1deg);
    }
    66% {
        transform: translate(-2%, 3%) rotate(-1deg);
    }
}

/* Floating Blur Shapes */
.floating-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.15;
    animation: float 20s ease-in-out infinite;
}

.shape-1 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(34, 139, 34, 0.3) 0%, transparent 70%);
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.shape-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(34, 139, 34, 0.25) 0%, transparent 70%);
    top: 50%;
    right: 10%;
    animation-delay: 7s;
}

.shape-3 {
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(34, 139, 34, 0.2) 0%, transparent 70%);
    bottom: 10%;
    left: 50%;
    animation-delay: 14s;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0);
    }
    33% {
        transform: translate(30px, -20px);
    }
    66% {
        transform: translate(-20px, 30px);
    }
}

/* Staggered Reveal for Cards */
.feature-card-premium {
    opacity: 0;
    transform: translateY(12px);
    animation: cardReveal 0.6s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.col-lg-4:nth-child(1) .feature-card-premium { animation-delay: 0.1s; }
.col-lg-4:nth-child(2) .feature-card-premium { animation-delay: 0.2s; }
.col-lg-4:nth-child(3) .feature-card-premium { animation-delay: 0.3s; }
.col-lg-4:nth-child(4) .feature-card-premium { animation-delay: 0.4s; }
.col-lg-4:nth-child(5) .feature-card-premium { animation-delay: 0.5s; }
.col-lg-4:nth-child(6) .feature-card-premium { animation-delay: 0.6s; }

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

/* Enhanced Reveal Animation - Duplicate Removed */

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    .gradient-mesh,
    .floating-shape {
        animation: none;
    }
    
    .feature-card-premium {
        animation: none;
        opacity: 1;
        transform: none;
    }
    
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
}
/* Connected Product Network Background */
.network-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

/* SVG Lines */
.network-lines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.network-line {
    stroke: rgba(34, 139, 34, 0.2);
    stroke-width: 1.5;
    stroke-dasharray: 5, 5;
    animation: linePulse 12s ease-in-out infinite;
    transition: stroke 0.3s ease, stroke-width 0.3s ease;
}

.line-1 { animation-delay: 0s; }
.line-2 { animation-delay: 1.5s; }
.line-3 { animation-delay: 3s; }
.line-4 { animation-delay: 4.5s; }
.line-5 { animation-delay: 6s; }
.line-6 { animation-delay: 7.5s; }
.line-7 { animation-delay: 9s; }
.line-8 { animation-delay: 10.5s; }

@keyframes linePulse {
    0%, 100% {
        stroke-opacity: 0.15;
        stroke-dashoffset: 0;
    }
    50% {
        stroke-opacity: 0.35;
        stroke-dashoffset: 10;
    }
}

/* Network Icons */
.network-icon {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    opacity: 0.22;
    color: #228b22;
    transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
    cursor: pointer;
    pointer-events: auto;
    animation: iconPulse 10s ease-in-out infinite;
}

.network-icon svg {
    filter: drop-shadow(0 2px 8px rgba(34, 139, 34, 0.15));
}

.network-icon span {
    font-size: 9px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0.8;
}

/* Staggered pulse animation for icons */
.icon-ai { animation-delay: 0s; }
.icon-cloud { animation-delay: 1.4s; }
.icon-chat { animation-delay: 2.8s; }
.icon-analytics { animation-delay: 4.2s; }
.icon-security { animation-delay: 5.6s; }
.icon-integration { animation-delay: 7s; }
.icon-automation { animation-delay: 8.4s; }

@keyframes iconPulse {
    0%, 100% {
        opacity: 0.22;
        transform: scale(1);
    }
    50% {
        opacity: 0.35;
        transform: scale(1.08);
    }
}

/* Hover Effects */
.network-icon:hover {
    opacity: 0.65;
    transform: scale(1.15);
    filter: drop-shadow(0 4px 16px rgba(34, 139, 34, 0.3));
}

.network-icon:hover svg {
    filter: drop-shadow(0 4px 12px rgba(34, 139, 34, 0.4));
}

/* Highlight connected lines on icon hover */
.network-icon:hover ~ .network-lines .network-line {
    stroke: rgba(34, 139, 34, 0.45);
    stroke-width: 2.5;
}

/* Soft overlay for text readability */
.network-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(248, 250, 252, 0.85) 0%,
        rgba(241, 245, 249, 0.9) 100%
    );
    pointer-events: none;
    z-index: 1;
}

/* Ensure content is above network */
.product-overview-section .container {
    z-index: 2;
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    .network-line,
    .network-icon {
        animation: none;
    }
    
    .network-icon {
        opacity: 0.25;
    }
}

/* Mobile optimizations */
@media (max-width: 768px) {
    .network-icon {
        opacity: 0.15;
    }
    
    .network-line {
        stroke-opacity: 0.1;
    }
    
    .network-overlay {
        background: linear-gradient(
            135deg,
            rgba(248, 250, 252, 0.92) 0%,
            rgba(241, 245, 249, 0.95) 100%
        );
    }
}
/* How It Works Section */
.how-it-works {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    position: relative;
    overflow: hidden;
}

/* Steps Container - Grid Layout */
.steps-container {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr;
    gap: 0;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

/* Step Card */
.step-card {
    background: #ffffff;
    border: 1px solid #E6EAF2;
    border-radius: 16px;
    padding: 40px 30px;
    text-align: center;
    position: relative;
    transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
    opacity: 0;
    transform: translateY(20px);
    animation: stepReveal 0.6s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.step-card:nth-child(1) {
    background: linear-gradient(135deg, rgba(34, 139, 34, 0.03) 0%, rgba(34, 139, 34, 0.05) 100%);
    animation-delay: 0.2s;
}

.step-card:nth-child(3) {
    background: linear-gradient(135deg, rgba(34, 139, 34, 0.03) 0%, rgba(34, 139, 34, 0.05) 100%);
    animation-delay: 0.4s;
}

.step-card:nth-child(5) {
    background: linear-gradient(135deg, rgba(34, 139, 34, 0.03) 0%, rgba(34, 139, 34, 0.05) 100%);
    animation-delay: 0.6s;
}

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

/* Hover Effect */
.step-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(34, 139, 34, 0.15);
    border-color: rgba(34, 139, 34, 0.3);
}

/* Step Number Badge */
.step-number {
    display: inline-block;
    background: linear-gradient(135deg, #228b22 0%, #228b22 100%);
    color: white;
    font-size: 14px;
    font-weight: 700;
    padding: 6px 16px;
    border-radius: 20px;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

/* Step Icon */
.step-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    background: linear-gradient(135deg, rgba(34, 139, 34, 0.1) 0%, rgba(34, 139, 34, 0.15) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #228b22;
    transition: all 0.3s ease;
}

.step-card:hover .step-icon {
    transform: scale(1.1) rotate(5deg);
    background: linear-gradient(135deg, rgba(34, 139, 34, 0.15) 0%, rgba(34, 139, 34, 0.2) 100%);
}

/* Step Title */
.step-title {
    font-size: 22px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 12px;
}

/* Step Description */
.step-description {
    font-size: 15px;
    color: #64748b;
    line-height: 1.6;
    margin: 0;
}

/* Connector Arrows */
.step-connector {
    width: 80px;
    padding: 0 10px;
    opacity: 0;
    animation: connectorReveal 0.6s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.step-connector:nth-of-type(2) {
    animation-delay: 0.5s;
}

.step-connector:nth-of-type(4) {
    animation-delay: 0.7s;
}

@keyframes connectorReveal {
    to {
        opacity: 1;
    }
}

/* Animated Connector Line */
.connector-line {
    animation: lineFlow 3s ease-in-out infinite;
}

@keyframes lineFlow {
    0%, 100% {
        stroke-dashoffset: 0;
    }
    50% {
        stroke-dashoffset: 10;
    }
}

/* CTA Button */
.how-it-works-cta {
    background: linear-gradient(135deg, #228b22 0%, #228b22 100%);
    border: none;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(34, 139, 34, 0.3);
}

.how-it-works-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(34, 139, 34, 0.4);
    background: linear-gradient(135deg, #228b22 0%, #228b22 100%);
}

/* Responsive Design */
@media (max-width: 900px) {
    .steps-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .step-connector {
        display: none;
    }
    
    .step-card {
        max-width: 500px;
        margin: 0 auto;
    }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    .step-card,
    .step-connector {
        animation: none;
        opacity: 1;
        transform: none;
    }
    
    .connector-line {
        animation: none;
    }
    
    .step-card:hover {
        transform: none;
    }
    
    .step-card:hover .step-icon {
        transform: none;
    }
}
/* Use Cases by Industry Section */
.use-cases-section {
    background: #ffffff;
}

/* Filter Buttons */
.industry-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.filter-btn {
    background: #ffffff;
    border: 1.5px solid #E6EAF2;
    color: #64748b;
    padding: 10px 24px;
    border-radius: 24px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.filter-btn:hover {
    border-color: #228b22;
    color: #228b22;
    background: rgba(34, 139, 34, 0.05);
}

.filter-btn.active {
    background: linear-gradient(135deg, #228b22 0%, #228b22 100%);
    border-color: #228b22;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(34, 139, 34, 0.25);
}

/* Industry Cards Grid */
.industry-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Industry Card */
.industry-card {
    background: #ffffff;
    border: 1.5px solid #E6EAF2;
    border-radius: 16px;
    padding: 32px 28px;
    transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
    opacity: 0;
    transform: translateY(20px);
}

.industry-card.in {
    animation: industryCardReveal 0.6s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.industry-card:nth-child(1) { animation-delay: 0.1s; }
.industry-card:nth-child(2) { animation-delay: 0.2s; }
.industry-card:nth-child(3) { animation-delay: 0.3s; }
.industry-card:nth-child(4) { animation-delay: 0.4s; }
.industry-card:nth-child(5) { animation-delay: 0.5s; }
.industry-card:nth-child(6) { animation-delay: 0.6s; }

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

/* Card Hover Effect */
.industry-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(34, 139, 34, 0.12);
    border-color: rgba(34, 139, 34, 0.3);
}

/* Hidden State for Filtering */
.industry-card.hidden {
    display: none;
}

/* Industry Icon */
.industry-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.industry-card:hover .industry-icon {
    transform: scale(1.1) rotate(5deg);
}

/* Industry Title */
.industry-title {
    font-size: 22px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 8px;
}

/* Industry Pain Point */
.industry-pain {
    font-size: 14px;
    color: #64748b;
    margin-bottom: 20px;
    line-height: 1.5;
}

/* Industry Features List */
.industry-features {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
}

.industry-features li {
    font-size: 14px;
    color: #475569;
    padding: 8px 0;
    padding-left: 24px;
    position: relative;
    line-height: 1.5;
}

.industry-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #10b981;
    font-weight: 700;
    font-size: 16px;
}

/* Industry Metric Badge */
.industry-metric {
    display: inline-block;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1) 0%, rgba(16, 185, 129, 0.15) 100%);
    color: #059669;
    font-size: 13px;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 20px;
    margin-bottom: 16px;
}

/* Industry CTA Link */
.industry-cta {
    display: inline-flex;
    align-items: center;
    color: #228b22;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.industry-cta:hover {
    color: #228b22;
    transform: translateX(4px);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .industry-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 24px;
    }
}

@media (max-width: 768px) {
    .industry-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .industry-card {
        max-width: 500px;
        margin: 0 auto;
    }
    
    .filter-btn {
        font-size: 13px;
        padding: 8px 18px;
    }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    .industry-card {
        animation: none;
        opacity: 1;
        transform: none;
    }
    
    .industry-card:hover {
        transform: none;
    }
    
    .industry-card:hover .industry-icon {
        transform: none;
    }
    
    .industry-cta:hover {
        transform: none;
    }
}

/* Final Footer CTA - Connected Network */
/* Final Footer CTA - Light Theme with Animated Icons */
/* Final Footer CTA - Bulletproof CSS Animation */
.cta-network {
    position: relative;
    overflow: hidden;
    padding: 100px 24px;
    min-height: 480px;
    background: #fcfefc;
    color: #1e293b;
    isolation: isolate;
    display: flex;
    align-items: center;
    justify-content: center;
    border-top: 1px solid #f1f5f9;
}

.cta-floating-icons {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.float-icon {
    position: absolute;
    font-size: 24px;
    opacity: 0.15;
    filter: grayscale(1);
    transition: opacity 0.3s ease;
    animation: drift 20s linear infinite;
}

/* Position Icons randomly */
.i1 { top: 15%; left: 10%; animation-delay: 0s; }
.i2 { top: 75%; left: 85%; animation-delay: -2s; font-size: 32px; opacity: 0.1; }
.i3 { top: 20%; left: 80%; animation-delay: -5s; }
.i4 { top: 80%; left: 15%; animation-delay: -8s; }
.i5 { top: 50%; left: 5%; animation-delay: -12s; font-size: 28px; }
.i6 { top: 10%; left: 50%; animation-delay: -15s; }
.i7 { top: 85%; left: 45%; animation-delay: -4s; }
.i8 { top: 40%; left: 90%; animation-delay: -9s; font-size: 30px; }
.i9 { top: 60%; left: 70%; animation-delay: -18s; }
.i10 { top: 30%; left: 25%; animation-delay: -3s; }
.i11 { top: 65%; left: 20%; animation-delay: -11s; }
.i12 { top: 5%; left: 95%; animation-delay: -7s; }

@keyframes drift {
    0% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(30px, -20px) rotate(10deg); }
    66% { transform: translate(-20px, 40px) rotate(-10deg); }
    100% { transform: translate(0, 0) rotate(0deg); }
}

.cta-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

/* FIXED ALIGNMENT FOR KICKER */
.kicker-wrapper {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-bottom: 16px;
}

.kicker {
    font-size: 13px;
    letter-spacing: .2em;
    font-weight: 700;
    color: #228b22;
    margin: 0;
    text-align: center;
}

.cta-content h2 {
    margin: 0 0 16px;
    font-size: clamp(32px, 5vw, 52px);
    line-height: 1.1;
    color: #0f172a;
    font-weight: 800;
}

.cta-content p {
    margin: 0 auto 32px;
    max-width: 600px;
    color: #475569;
    font-size: 18px;
    line-height: 1.6;
}

.cta-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-actions .btn {
    padding: 14px 36px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.cta-actions .btn-primary {
    background: #228b22;
    color: #fff;
    box-shadow: 0 10px 20px rgba(34, 139, 34, 0.15);
}

.cta-actions .btn-primary:hover {
    background: #228b22;
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(34, 139, 34, 0.25);
}

.cta-actions .btn-ghost {
    border: 1.5px solid #E2E8F0;
    color: #475569;
    background: #fff;
}

.cta-actions .btn-ghost:hover {
    border-color: #228b22;
    color: #228b22;
    background: rgba(34, 139, 34, 0.05);
    transform: translateY(-2px);
}

@media (prefers-reduced-motion: reduce) {
    #ctaNet {
        display: none;
    }
}

/* Homepage hero heading size override */
.hero-section .display-4 {
  font-size: clamp(1.75rem, 3.2vw, 2.5rem);
  line-height: 1.15;
}

.ops-kicker {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #228b22;
  margin-bottom: 0.9rem;
}

.ops-problem-section,
.thunaivi-flow-section,
.outcomes-section,
.pillar-section,
.industry-anchor-section,
.trust-security-section,
.homepage-faq-section,
.home-final-cta {
  padding: 84px 0;
}

.ops-problem-section {
  background: linear-gradient(180deg, #ffffff 0%, #fafdfa 100%);
}

.ops-problem-wrap {
  max-width: 980px;
  margin: 0 auto;
  text-align: center;
}

.ops-problem-wrap h2,
.flow-head h2,
.trust-wrap h2,
.home-final-cta h2 {
  font-size: clamp(1.65rem, 2.6vw, 2.4rem);
  font-weight: 800;
  color: #111827;
  margin-bottom: 1rem;
}

.ops-problem-wrap p,
.flow-head p,
.trust-wrap p,
.home-final-cta p {
  max-width: 860px;
  margin: 0 auto;
  color: #54627e;
  font-size: 1.04rem;
  line-height: 1.75;
}

.ops-cost-grid,
.thunaivi-flow-grid,
.outcomes-grid,
.pillar-grid,
.industry-anchor-grid,
.faq-grid-home {
  display: grid;
  gap: 20px;
}

.ops-cost-grid {
  margin-top: 2rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ops-cost-card,
.flow-step-card,
.outcome-card,
.pillar-card,
.industry-anchor-card,
.faq-card-home {
  background: #ffffff;
  border: 1px solid #e8ebf5;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 10px 25px rgba(16, 54, 16, 0.05);
}

.ops-cost-card h3,
.flow-step-card h3,
.pillar-card h3,
.industry-anchor-card h3,
.faq-card-home h3 {
  font-size: 1.08rem;
  font-weight: 700;
  margin-bottom: 0.65rem;
  color: #111827;
}

.ops-cost-card p,
.flow-step-card p,
.pillar-card p,
.industry-anchor-card p,
.faq-card-home p {
  margin: 0;
  color: #5b6680;
  font-size: 0.97rem;
  line-height: 1.7;
}

.thunaivi-flow-section {
  background: #ffffff;
}

.thunaivi-flow-grid {
  margin-top: 2rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.flow-step-card {
  position: relative;
  overflow: hidden;
}

.flow-step-num {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #228b22;
  color: #fff;
  font-size: 0.92rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.outcomes-section {
  background: linear-gradient(180deg, #fafdfa 0%, #ffffff 100%);
}

.outcomes-grid {
  margin-top: 2rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.outcome-card h3 {
  margin: 0;
  font-size: clamp(1.45rem, 2.4vw, 2rem);
  font-weight: 800;
  color: #228b22;
}

.outcome-card p {
  margin: 0.8rem 0 0;
  color: #596684;
  line-height: 1.7;
}

.pillar-section {
  background: #ffffff;
}

.pillar-grid {
  margin-top: 2rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.industry-anchor-section {
  background: linear-gradient(180deg, #ffffff 0%, #f9fcf9 100%);
}

.industry-anchor-grid {
  margin-top: 2rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.industry-anchor-card {
  text-decoration: none;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.industry-anchor-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(34, 139, 34, 0.14);
  border-color: #d9eed9;
}

.trust-security-section {
  background: #0f172a;
}

.trust-wrap {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 24px;
  align-items: center;
}

.trust-wrap h2,
.trust-wrap p {
  color: #f8fafc;
}

.trust-wrap p {
  opacity: 0.86;
}

.trust-points {
  display: grid;
  gap: 12px;
}

.trust-chip {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #f4faf4;
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 0.95rem;
}

.homepage-faq-section {
  background: #ffffff;
}

.faq-grid-home {
  margin-top: 2rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.home-final-cta {
  background: radial-gradient(circle at 20% 20%, #eff8ef 0%, #f3faf3 38%, #ffffff 100%);
}

.home-final-cta .container {
  max-width: 900px;
}

.home-final-cta p {
  margin-bottom: 1.6rem;
}

@media (max-width: 991px) {
  .ops-cost-grid,
  .thunaivi-flow-grid,
  .outcomes-grid,
  .pillar-grid,
  .industry-anchor-grid,
  .faq-grid-home,
  .trust-wrap {
    grid-template-columns: 1fr;
  }
}

/* Results section: clean proof cards */
.results-clean-section {
  background: linear-gradient(180deg, #ffffff 0%, #fafdfa 100%);
}

.results-clean-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.results-clean-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  padding: 22px;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
  animation: results-card-in 0.6s ease both;
  position: relative;
  overflow: hidden;
}

.results-clean-card:nth-child(1) { animation-delay: 0.05s; }
.results-clean-card:nth-child(2) { animation-delay: 0.18s; }
.results-clean-card:nth-child(3) { animation-delay: 0.31s; }

.results-clean-card::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 3px;
  background: linear-gradient(90deg, #228b22, #10b981);
  animation: results-line-slide 3s linear infinite;
}

.results-metric {
  margin: 0 0 8px;
  font-size: clamp(1.45rem, 2.2vw, 1.9rem);
  font-weight: 800;
  color: #228b22;
  animation: results-metric-pulse 2.2s ease-in-out infinite;
}

.results-clean-card h4 {
  margin: 0 0 8px;
  font-size: 1rem;
  font-weight: 700;
  color: #111827;
}

.results-clean-card p {
  margin: 0;
  color: #64748b;
  font-size: 0.95rem;
  line-height: 1.65;
}

@keyframes results-card-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes results-line-slide {
  from { transform: translateX(-30%); }
  to { transform: translateX(30%); }
}

@keyframes results-metric-pulse {
  0%, 100% { transform: translateY(0); opacity: 1; }
  50% { transform: translateY(-1px); opacity: 0.88; }
}

@media (max-width: 991px) {
  .results-clean-grid {
    grid-template-columns: 1fr;
  }
}

/* Why choose section: distinct split UX */
.why-thunaivi-section {
  background: linear-gradient(180deg, #ffffff 0%, #f7fbf7 100%);
}

.why-ux-shell {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.why-ux-track {
  position: absolute;
  left: 50%;
  top: 6%;
  bottom: 6%;
  width: 2px;
  transform: translateX(-50%);
  background: #e4f4e4;
  overflow: hidden;
  border-radius: 99px;
}

.why-ux-track::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 24%;
  background: linear-gradient(180deg, #228b22, #10b981);
  animation: why-track-flow 2.4s ease-in-out infinite;
}

.why-panel {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  padding: 22px;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
  animation: why-panel-in 0.55s ease both;
}

.why-panel-old { animation-delay: 0.06s; }
.why-panel-new {
  animation-delay: 0.2s;
  border-color: #dcf0dc;
  box-shadow: 0 14px 28px rgba(34, 139, 34, 0.12);
}

.why-panel h3 {
  margin: 0 0 12px;
  font-size: 1.08rem;
  font-weight: 800;
  color: #111827;
}

.why-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.why-list li {
  position: relative;
  margin: 0;
  padding-left: 22px;
  color: #5f6b85;
  font-size: 0.96rem;
  line-height: 1.6;
}

.why-panel-old .why-list li::before,
.why-panel-new .why-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.why-panel-old .why-list li::before {
  background: #cbd5e1;
}

.why-panel-new .why-list li::before {
  background: #228b22;
  box-shadow: 0 0 0 4px rgba(34, 139, 34, 0.15);
  animation: why-dot-pulse 1.8s ease-in-out infinite;
}

@keyframes why-track-flow {
  0% { top: -24%; opacity: 0.6; }
  50% { opacity: 1; }
  100% { top: 100%; opacity: 0.6; }
}

@keyframes why-panel-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes why-dot-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.08); }
}

@media (max-width: 991px) {
  .why-ux-shell {
    grid-template-columns: 1fr;
  }

  .why-ux-track {
    display: none;
  }
}

/* Final CTA section */
.final-cta-section {
  background: radial-gradient(circle at 20% 20%, #f3faf3 0%, #ffffff 62%);
  position: relative;
  overflow: hidden;
}

.final-cta-wrap {
  max-width: 900px;
  margin: 0 auto;
  padding: 38px 26px;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 18px 42px rgba(30, 41, 59, 0.08);
  position: relative;
  z-index: 1;
}

.final-cta-wrap::before {
  content: "";
  position: absolute;
  inset: -35% auto auto -15%;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(34, 139, 34, 0.2) 0%, transparent 70%);
  animation: cta-orb-float 5s ease-in-out infinite;
}

.final-cta-wrap::after {
  content: "";
  position: absolute;
  inset: auto -10% -45% auto;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.14) 0%, transparent 72%);
  animation: cta-orb-float 6s ease-in-out infinite reverse;
}

.final-cta-wrap > * {
  position: relative;
  z-index: 1;
}

.final-cta-network {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.9;
}

.final-cta-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.final-cta-lines path {
  fill: none;
  stroke: rgba(34, 139, 34, 0.35);
  stroke-width: 1.2;
  stroke-dasharray: 4 8;
  animation: cta-line-flow 4s linear infinite;
}

.final-cta-node {
  position: absolute;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
  color: #1f2a44;
  background: #fff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 8px 20px rgba(16, 24, 40, 0.08);
  animation: cta-node-float 3.8s ease-in-out infinite;
}

.node-left { left: 12%; top: 56%; animation-delay: 0s; }
.node-right { right: 12%; top: 60%; animation-delay: 0.7s; }
.node-top { right: 20%; top: 24%; animation-delay: 1.2s; }
.node-center { left: 50%; top: 44%; margin-left: -21px; animation-delay: 0.35s; }

.final-cta-wrap .btn {
  min-width: 170px;
}

.btn-book-demo {
  border-color: #228b22 !important;
  color: #228b22 !important;
}

.btn-book-demo:hover {
  background: #228b22 !important;
  border-color: #228b22 !important;
  color: #fff !important;
}

.final-cta-meta {
  color: #64748b;
  font-size: 0.92rem;
  font-weight: 600;
}

@keyframes cta-orb-float {
  0%, 100% { transform: translateY(0px) scale(1); }
  50% { transform: translateY(-6px) scale(1.04); }
}

@keyframes cta-line-flow {
  from { stroke-dashoffset: 26; }
  to { stroke-dashoffset: 0; }
}

@keyframes cta-node-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

/* Force-run animations for all Omnichannel feature visuals */
.feature-card-premium.start-anim .wa-bubble-incoming-new { animation: wa-msg-left 7s cubic-bezier(0.4, 0, 0.2, 1) infinite; }
.feature-card-premium.start-anim .wa-bubble-outgoing-new { animation: wa-msg-right 7s cubic-bezier(0.4, 0, 0.2, 1) infinite; }
.feature-card-premium.start-anim .wa-icon-pulse { animation: wa-pulse 7s ease-in-out infinite; }
.feature-card-premium.start-anim .unify-icon { animation: unify-icons 7s ease-in-out infinite; }
.feature-card-premium.start-anim .unify-card-final { animation: unify-final 7s ease-in-out infinite; }
.feature-card-premium.start-anim .visual-chatbot-msg-user { animation: bot-msg-pop 5s ease-in-out infinite; }
.feature-card-premium.start-anim .visual-chatbot-typing { animation: bot-typing-anim 5s ease-in-out infinite; }
.feature-card-premium.start-anim .visual-chatbot-msg-ai { animation: bot-reply-pop 5s ease-in-out infinite; }
.feature-card-premium.start-anim .visual-chatbot-glow { animation: bot-glow-anim 5s ease-in-out infinite; }
.feature-card-premium.start-anim .visual-widget-bubble { animation: widget-entrance 8s cubic-bezier(0.34, 1.56, 0.64, 1) infinite; }
.feature-card-premium.start-anim .visual-widget-color { animation: widget-color-anim 8s ease-in-out infinite; }
.feature-card-premium.start-anim .visual-note-type { animation: note-type-at 6s steps(10) infinite; }
.feature-card-premium.start-anim .visual-note-dropdown { animation: note-dropdown 6s ease-out infinite; }
.feature-card-premium.start-anim .visual-note-bubble { animation: note-bubble-show 6s cubic-bezier(0.34, 1.56, 0.64, 1) infinite; }
.feature-card-premium.start-anim .visual-note-lock { animation: note-lock 6s ease-in-out infinite; }
.feature-card-premium.start-anim .visual-report-bar { animation: report-bar-fill 7s ease-out infinite; }
.feature-card-premium.start-anim .visual-report-arrow { animation: report-arrow-anim 7s ease-out infinite; }
.feature-card-premium.start-anim .visual-report-number { animation: report-number-anim 7s ease-out infinite; }

/* Smaller SEO heading for homepage feature section */
.feature-section-title {
  font-size: clamp(1.35rem, 2.2vw, 2rem) !important;
  line-height: 1.2;
}

/* Clean "How it works" section */
.how-clean-section {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #ffffff 0%, #fafdfa 100%);
  isolation: isolate;
}

.how-clean-section::before {
  content: "";
  position: absolute;
  inset: -20% -10%;
  z-index: -2;
  background:
    radial-gradient(circle at 15% 25%, rgba(34, 139, 34, 0.12) 0%, transparent 28%),
    radial-gradient(circle at 80% 15%, rgba(16, 185, 129, 0.10) 0%, transparent 26%),
    radial-gradient(circle at 70% 80%, rgba(34, 139, 34, 0.10) 0%, transparent 30%);
  filter: blur(6px);
  animation: how-bg-drift 14s ease-in-out infinite alternate;
}

.how-clean-section::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(34, 139, 34, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(34, 139, 34, 0.07) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(circle at 50% 30%, black 35%, transparent 85%);
  -webkit-mask-image: radial-gradient(circle at 50% 30%, black 35%, transparent 85%);
  animation: how-grid-shift 16s linear infinite;
}

.how-clean-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 14px;
  align-items: center;
  position: relative;
}

.how-clean-grid::before {
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  top: 50%;
  transform: translateY(-50%);
  border-top: 1px dashed rgba(34, 139, 34, 0.35);
  z-index: 0;
  animation: how-line-breathe 2.4s ease-in-out infinite;
}

.how-clean-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  padding: 20px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
  animation: how-card-in 0.6s ease both;
  position: relative;
  z-index: 1;
}

.how-clean-card:nth-child(1) { animation-delay: 0.05s; }
.how-clean-card:nth-child(3) { animation-delay: 0.2s; }
.how-clean-card:nth-child(5) { animation-delay: 0.35s; }

.how-clean-card h3 {
  font-size: 1.05rem;
  margin: 10px 0 8px;
  color: #111827;
  font-weight: 700;
}

.how-clean-card p {
  margin: 0;
  color: #64748b;
  font-size: 0.95rem;
  line-height: 1.65;
}

.how-step-badge {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: #228b22;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
}

.how-clean-connector {
  width: 52px;
  height: 2px;
  background: #e6f4e6;
  position: relative;
  overflow: hidden;
  border-radius: 999px;
}

.how-clean-connector span {
  position: absolute;
  left: -40%;
  top: 0;
  width: 40%;
  height: 100%;
  background: #228b22;
  animation: how-pulse-line 1.8s ease-in-out infinite;
}

@keyframes how-card-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes how-bg-drift {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(2.5%, 1.5%) scale(1.04); }
}

@keyframes how-grid-shift {
  from { background-position: 0 0, 0 0; }
  to { background-position: 46px 0, 0 46px; }
}

@keyframes how-line-breathe {
  0%, 100% { opacity: 0.45; }
  50% { opacity: 0.9; }
}

@keyframes how-pulse-line {
  from { left: -40%; }
  to { left: 100%; }
}

@media (max-width: 991px) {
  .how-clean-section::after {
    background-size: 30px 30px;
  }

  .how-clean-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .how-clean-grid::before {
    display: none;
  }

  .how-clean-connector {
    width: 2px;
    height: 26px;
    margin: 0 auto;
  }

  .how-clean-connector span {
    width: 100%;
    height: 40%;
    left: 0;
    top: -40%;
    animation: how-pulse-line-mobile 1.8s ease-in-out infinite;
  }

  @keyframes how-pulse-line-mobile {
    from { top: -40%; }
    to { top: 100%; }
  }
}

/* =========================================================
   Timed Marketing Popup (20s visitor nudge)
========================================================= */
.thv-lead-popup {
  position: fixed;
  right: 20px;
  bottom: 112px;
  width: min(360px, calc(100vw - 28px));
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(16px);
  transition: opacity 0.26s ease, transform 0.26s ease, visibility 0.26s ease;
  z-index: 2147483000;
}

.thv-lead-popup.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.thv-lead-popup-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.22);
  padding: 16px 16px 14px;
  position: relative;
}

.thv-lead-popup-close {
  appearance: none;
  border: 0;
  background: #f1f5f9;
  color: #334155;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
  position: absolute;
  top: 12px;
  right: 12px;
}

.thv-lead-popup-close:hover {
  background: #e2e8f0;
}

.thv-lead-popup-eyebrow {
  margin: 0 32px 6px 0;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #228b22;
  font-weight: 700;
}

.thv-lead-popup-title {
  margin: 0;
  color: #0f172a;
  font-size: 20px;
  line-height: 1.28;
  font-weight: 800;
}

.thv-lead-popup-copy {
  margin: 8px 0 0;
  color: #334155;
  font-size: 14px;
  line-height: 1.45;
}

.thv-lead-popup-actions {
  margin-top: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.thv-lead-popup-btn {
  appearance: none;
  border: 1px solid transparent;
  border-radius: 10px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  padding: 10px 14px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.thv-lead-popup-btn-primary {
  background: #228b22;
  color: #ffffff;
  border-color: #228b22;
}

.thv-lead-popup-btn-primary:hover {
  background: #228b22;
  border-color: #228b22;
}

.thv-lead-popup-btn-secondary {
  background: #ffffff;
  color: #334155;
  border-color: #cbd5e1;
}

.thv-lead-popup-btn-secondary:hover {
  background: #f8fafc;
}

@media (max-width: 767px) {
  .thv-lead-popup {
    left: 12px;
    right: 12px;
    bottom: 92px;
    width: auto;
  }

  .thv-lead-popup-title {
    font-size: 18px;
  }

  .thv-lead-popup-actions {
    flex-wrap: wrap;
  }

  .thv-lead-popup-btn {
    width: 100%;
  }
}

/* Site-wide feature image card (appears in footer on all pages) */
.site-wide-feature-banner {
  margin-top: 18px;
  margin-bottom: 16px;
}

.site-feature-image-card {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid rgba(34, 139, 34, 0.28);
  padding: 18px 20px;
  min-height: 140px;
  background:
    radial-gradient(circle at 88% 18%, rgba(34, 139, 34, 0.35), transparent 40%),
    radial-gradient(circle at 6% 92%, rgba(34, 197, 94, 0.18), transparent 38%),
    linear-gradient(135deg, #0f172a, #1e1b4b 58%, #312e81);
}

.site-feature-logo {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 40px;
  height: 40px;
  object-fit: contain;
  opacity: 0.92;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.25));
}

.site-feature-copy {
  max-width: 680px;
}

.site-feature-kicker {
  margin: 0 0 8px;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #d7eed7;
  font-weight: 700;
}

.site-feature-title {
  margin: 0;
  color: #ffffff;
  font-size: 26px;
  line-height: 1.2;
  font-weight: 800;
}

.site-feature-desc {
  margin: 10px 0 0;
  max-width: 620px;
  color: #e2e8f0;
  font-size: 15px;
  line-height: 1.5;
}

@media (max-width: 767px) {
  .site-feature-image-card {
    padding: 14px 14px 16px;
    min-height: 126px;
  }

  .site-feature-logo {
    width: 34px;
    height: 34px;
  }

  .site-feature-title {
    font-size: 20px;
  }

  .site-feature-desc {
    font-size: 13px;
  }
}

/* Final global override: remove top whitespace above header/hero */
html, body {
  margin: 0 !important;
  padding: 0 !important;
}

.site-header {
  top: 10px !important;
}

main, .site-main {
  padding-top: 6.75rem !important;
}

.home main, .home .site-main {
  padding-top: 0 !important;
}

@media (max-width: 991px) {
  .site-header {
    top: 8px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: calc(100% - 16px) !important;
    border-radius: 16px !important;
  }

  main, .site-main {
    padding-top: 5.5rem !important;
  }
}

/* Tighten first fold on homepage to remove extra blank strip */
.home .hero {
  margin-top: 0 !important;
  padding-top: 1.25rem !important;
}

/* Keep custom template pages flush to hero (avoid random top whitespace). */
body[class*="page-template-page-"] main,
body[class*="page-template-page-"] .site-main {
  padding-top: 0 !important;
}

/* Reference hero layout (match screenshot style across all template pages). */
body[class*="page-template-page-about"] .about-hero,
body[class*="page-template-page-channels"] .channels-hero,
body[class*="page-template-page-features"] .features-hero,
body[class*="page-template-page-use-cases"] .features-hero,
body[class*="page-template-page-pricing"] .pricing-hero,
body[class*="page-template-page-product"] .p-hero,
body[class*="page-template-page-showcase"] .showcase-hero,
body[class*="page-template-page-solution-"] .solution-hero,
body[class*="page-template-page-onboarding"] .onb-shell {
  margin-top: 0 !important;
  padding-top: 132px !important;
}

body[class*="page-template-page-features"] .features-hero,
body[class*="page-template-page-use-cases"] .features-hero {
  padding-top: 138px !important;
}

body[class*="page-template-page-channels"] .channels-hero {
  padding-top: 138px !important;
}

body[class*="page-template-page-pricing"] .pricing-hero {
  padding-top: 128px !important;
}

@media (max-width: 991px) {
  body[class*="page-template-page-about"] .about-hero,
  body[class*="page-template-page-channels"] .channels-hero,
  body[class*="page-template-page-features"] .features-hero,
  body[class*="page-template-page-use-cases"] .features-hero,
  body[class*="page-template-page-pricing"] .pricing-hero,
  body[class*="page-template-page-product"] .p-hero,
  body[class*="page-template-page-showcase"] .showcase-hero,
  body[class*="page-template-page-solution-"] .solution-hero,
  body[class*="page-template-page-onboarding"] .onb-shell {
    margin-top: 0 !important;
    padding-top: 88px !important;
  }

  body[class*="page-template-page-features"] .features-hero,
  body[class*="page-template-page-use-cases"] .features-hero,
  body[class*="page-template-page-channels"] .channels-hero {
    padding-top: 96px !important;
  }

  body[class*="page-template-page-pricing"] .pricing-hero {
    padding-top: 92px !important;
  }
}
