/* ==========================================================================
   UC CONNECT 2026 — "CAMPTY" PINTEREST REFERENCE EDITION
   Clean Airy White & Soft Ice-Blue Gradient, Royal Blue (#0D5CE8) Accents,
   Deep Charcoal (#141824) Pill Buttons, Hand-Drawn Spark Doodles & Orange Brush,
   3D Tilted Phone Mockup, Dotted Map Bubbles, Floating Avatar Hub & Smooth Animations
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Prompt:wght@300;400;500;600;700&display=swap');

:root {
  --bg-main: #ffffff;
  --bg-soft: #f4f8ff;
  --bg-hero-grad: radial-gradient(circle at 75% 45%, #dff0ff 0%, #f3f9ff 42%, #ffffff 78%);
  --royal-blue: #0d5ce8;
  --royal-blue-dark: #0947b8;
  --royal-blue-light: #e8f1ff;
  --charcoal: #141824;
  --charcoal-hover: #252b3d;
  --orange-accent: #ff7a2f;
  --orange-soft: #fff0e6;
  --emerald: #10b981;
  --rose: #f43f5e;
  --text-primary: #141824;
  --text-secondary: #5a657d;
  --text-muted: #8792a8;
  --border-light: #e6eef8;
  --card-shadow: 0 20px 50px rgba(13, 92, 232, 0.07), 0 4px 14px rgba(20, 24, 36, 0.04);
  --card-shadow-hover: 0 28px 65px rgba(13, 92, 232, 0.14), 0 8px 24px rgba(20, 24, 36, 0.06);
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-pill: 9999px;
  --font-sans: 'Plus Jakarta Sans', 'Prompt', -apple-system, BlinkMacSystemFont, sans-serif;
  --container-max: 1240px;
}

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

html {
  scroll-behavior: smooth;
  font-family: var(--font-sans);
  color: var(--text-primary);
  background: var(--bg-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body {
  background: var(--bg-main);
  color: var(--text-primary);
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.25s ease;
}

img, svg {
  max-width: 100%;
  display: block;
}

button, input, select, textarea {
  font-family: inherit;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.75rem;
}

/* ==========================================================================
   HAND-DRAWN DOODLE SPARKS & BRUSH UNDERLINE (Exact Pinterest Reference)
   ========================================================================== */
.doodle-wrap {
  position: relative;
  display: inline-block;
}

.doodle-spark-blue {
  position: absolute;
  top: -22px;
  right: -38px;
  width: 36px;
  height: 36px;
  pointer-events: none;
  animation: floatSpark 3s ease-in-out infinite;
}

.doodle-spark-left {
  position: absolute;
  top: -20px;
  left: -28px;
  width: 28px;
  height: 28px;
  pointer-events: none;
  animation: floatSpark 3.5s ease-in-out infinite;
}

.doodle-spark-orange {
  position: absolute;
  top: -16px;
  right: -28px;
  width: 26px;
  height: 26px;
  pointer-events: none;
  animation: floatSpark 2.8s ease-in-out infinite;
}

@keyframes floatSpark {
  0%, 100% { transform: translateY(0) rotate(0deg) scale(1); }
  50% { transform: translateY(-4px) rotate(6deg) scale(1.06); }
}

.brush-underline {
  position: relative;
  display: inline-block;
  z-index: 1;
}

.brush-underline::after {
  content: "";
  position: absolute;
  left: -4px;
  right: -6px;
  bottom: 2px;
  height: 12px;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 320 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3 11.5C78 4.5 215 2.5 317 9.5C245 11.5 110 12.5 18 14.5' stroke='%23FF7A2F' stroke-width='4.5' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center / 100% 100%;
  z-index: -1;
}

/* ==========================================================================
   TOP NAVIGATION BAR (Clean Reference Header: Logo | Menu | Login/Register Pills)
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(13, 92, 232, 0.06);
  transition: box-shadow 0.3s ease;
}

.site-header.scrolled {
  box-shadow: 0 10px 30px rgba(13, 92, 232, 0.06);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 86px;
  gap: 1.5rem;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--charcoal);
  letter-spacing: -0.03em;
}

.brand-logo-img {
  height: 46px;
  width: auto;
  object-fit: contain;
  border-radius: 6px;
  transition: transform 0.25s ease;
}

.brand-logo:hover .brand-logo-img {
  transform: scale(1.04);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-item {
  position: relative;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-secondary);
  padding: 0.5rem 0;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: var(--charcoal);
}

.nav-link.active::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 20px;
  height: 3px;
  border-radius: 4px;
  background: var(--charcoal);
}

/* Dropdown Mega Menu for Solutions */
.nav-dropdown {
  position: absolute;
  top: calc(100% + 12px);
  left: -20px;
  width: 340px;
  background: #ffffff;
  border-radius: var(--radius-lg);
  box-shadow: var(--card-shadow-hover);
  border: 1px solid var(--border-light);
  padding: 0.85rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.22s ease;
  z-index: 200;
}

.nav-item:hover .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.7rem 0.85rem;
  border-radius: 12px;
  transition: background 0.2s ease;
}

.dropdown-item:hover {
  background: var(--bg-soft);
}

.dropdown-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--royal-blue-light);
  color: var(--royal-blue);
  display: grid;
  place-items: center;
  font-size: 1.05rem;
  flex-shrink: 0;
}

.dropdown-item strong {
  display: block;
  font-size: 0.9rem;
  color: var(--charcoal);
  line-height: 1.3;
}

.dropdown-item span {
  font-size: 0.78rem;
  color: var(--text-secondary);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* Pill Buttons (Exact Campty Reference) */
.btn-pill-dark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: var(--charcoal);
  color: #ffffff;
  font-weight: 600;
  font-size: 0.92rem;
  padding: 0.72rem 1.65rem;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--charcoal);
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(20, 24, 36, 0.16);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-pill-dark:hover {
  background: var(--royal-blue);
  border-color: var(--royal-blue);
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(13, 92, 232, 0.26);
}

.btn-pill-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: transparent;
  color: var(--charcoal);
  font-weight: 600;
  font-size: 0.92rem;
  padding: 0.72rem 1.65rem;
  border-radius: var(--radius-pill);
  border: 1.5px solid #cbd5e1;
  cursor: pointer;
  transition: all 0.25s ease;
}

.btn-pill-outline:hover {
  border-color: var(--charcoal);
  background: var(--bg-soft);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 0.95rem 2.2rem;
  font-size: 1rem;
}

/* ==========================================================================
   HERO SECTION (Split Layout: Bold 3-Line Headline + Tilted 3D Phone Mockup)
   ========================================================================== */
.hero-section {
  background: var(--bg-hero-grad);
  padding: 3.5rem 0 5rem;
  position: relative;
  overflow: hidden;
}

/* Subtle floating decorative clouds & curves like Campty */
.hero-cloud {
  position: absolute;
  background: #ffffff;
  border-radius: 999px;
  box-shadow: 0 12px 32px rgba(13, 92, 232, 0.06);
  pointer-events: none;
}

.hero-cloud-1 {
  width: 110px;
  height: 34px;
  top: 18%;
  right: 12%;
  animation: cloudFloat 6s ease-in-out infinite;
}

.hero-cloud-2 {
  width: 85px;
  height: 26px;
  top: 48%;
  left: 44%;
  animation: cloudFloat 7.5s ease-in-out infinite reverse;
}

@keyframes cloudFloat {
  0%, 100% { transform: translateX(0) translateY(0); }
  50% { transform: translateX(12px) translateY(-6px); }
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  align-items: center;
  gap: 3rem;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  border-radius: var(--radius-pill);
  background: var(--royal-blue-light);
  color: var(--royal-blue);
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
}

.hero-title {
  font-size: clamp(2.45rem, 4.4vw, 3.85rem);
  font-weight: 800;
  color: var(--charcoal);
  line-height: 1.18;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
}

.hero-subtitle {
  font-size: 1.06rem;
  color: var(--text-secondary);
  max-width: 540px;
  margin-bottom: 2.25rem;
  line-height: 1.75;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
}

/* Right Side: Clean Desktop Workspace Mockup (Contact Center + AI Assistant + AI Prompt Report + AI QM) */
.hero-phone-stage {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 480px;
  padding: 4.5rem 0;
}

.desktop-workspace {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 560px;
  background: #ffffff;
  border-radius: 26px;
  border: 1px solid rgba(13, 92, 232, 0.14);
  box-shadow:
    0 35px 85px rgba(13, 92, 232, 0.16),
    0 12px 30px rgba(20, 24, 36, 0.08);
  overflow: hidden;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.desktop-workspace:hover {
  transform: translateY(-6px);
}

.desktop-topbar {
  background: #f8fbff;
  border-bottom: 1px solid var(--border-light);
  padding: 0.75rem 1.15rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.desktop-dots {
  display: flex;
  gap: 6px;
}

.desktop-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.desktop-mode-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  background: #eaf1fc;
  padding: 0.22rem;
  border-radius: 999px;
}

.desktop-mode-btn {
  border: none;
  background: transparent;
  color: var(--text-secondary);
  font-size: 0.68rem;
  font-weight: 700;
  padding: 0.3rem 0.62rem;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.desktop-mode-btn.active {
  background: var(--royal-blue);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(13, 92, 232, 0.28);
}

.desktop-body {
  padding: 1.25rem;
  background: #ffffff;
}

.desktop-panel {
  display: none;
}

.desktop-panel.active {
  display: block;
  animation: fadeUp 0.28s ease;
}

.kb-chat-bubble {
  padding: 0.65rem 0.85rem;
  border-radius: 14px;
  font-size: 0.78rem;
  line-height: 1.5;
  margin-bottom: 0.55rem;
}

.kb-chat-user {
  background: var(--bg-soft);
  color: var(--charcoal);
  border: 1px solid var(--border-light);
  margin-left: 1.8rem;
}

.kb-chat-ai {
  background: #eef5ff;
  color: var(--charcoal);
  border: 1px solid rgba(13, 92, 232, 0.2);
  margin-right: 1rem;
}

.prompt-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 0.85rem;
}

.prompt-chip {
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.28rem 0.65rem;
  border-radius: 999px;
  background: var(--bg-soft);
  border: 1px solid var(--border-light);
  color: var(--royal-blue);
  cursor: pointer;
  transition: all 0.2s ease;
}

.prompt-chip.active,
.prompt-chip:hover {
  background: var(--royal-blue);
  color: #ffffff;
  border-color: var(--royal-blue);
}

.mini-bar-chart {
  display: flex;
  align-items: flex-end;
  gap: 0.55rem;
  height: 110px;
  padding: 0.75rem 0.5rem 0.25rem;
  background: #f8fbff;
  border-radius: 14px;
  border: 1px solid var(--border-light);
}

.mini-bar-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  height: 100%;
  justify-content: flex-end;
}

.mini-bar-fill {
  width: 100%;
  max-width: 34px;
  border-radius: 8px 8px 4px 4px;
  background: linear-gradient(180deg, #0d5ce8 0%, #60a5fa 100%);
  transition: height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.mini-bar-label {
  font-size: 0.64rem;
  font-weight: 700;
  color: var(--text-secondary);
}

/* Soft Blue Circular Glow behind Phone */
.hero-phone-aura {
  position: absolute;
  width: 440px;
  height: 440px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(13, 92, 232, 0.16) 0%, rgba(186, 222, 255, 0.25) 50%, transparent 72%);
  z-index: 0;
}

/* Curved Orbit Line behind Phone */
.hero-orbit-svg {
  position: absolute;
  width: 500px;
  height: 500px;
  z-index: 1;
  pointer-events: none;
}

/* The 3D Smartphone Frame (Tilted at -5deg like Video Frame 00:01, straightens on hover!) */
.campty-phone {
  position: relative;
  z-index: 2;
  width: 316px;
  background: #141824;
  border-radius: 46px;
  padding: 12px;
  box-shadow:
    0 35px 80px rgba(13, 92, 232, 0.22),
    0 15px 35px rgba(20, 24, 36, 0.18),
    inset 0 0 0 2px #333b4d;
  transform: rotate(-4.5deg) translateY(0);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.6s ease;
}

.campty-phone:hover,
.campty-phone.straight {
  transform: rotate(0deg) translateY(-6px);
  box-shadow:
    0 42px 95px rgba(13, 92, 232, 0.28),
    0 18px 40px rgba(20, 24, 36, 0.22),
    inset 0 0 0 2px #475569;
}

.campty-phone-notch {
  width: 120px;
  height: 22px;
  background: #141824;
  border-radius: 0 0 16px 16px;
  margin: 0 auto;
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
}

.campty-phone-screen {
  background: linear-gradient(180deg, #d8eeff 0%, #f2f8ff 36%, #ffffff 65%);
  border-radius: 36px;
  padding: 2.2rem 1.15rem 1.1rem;
  color: var(--charcoal);
  position: relative;
  overflow: hidden;
}

.phone-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.phone-mini-logo {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #ffffff;
  color: var(--royal-blue);
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 0.75rem;
  box-shadow: 0 4px 10px rgba(13, 92, 232, 0.12);
}

.phone-user-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: #ffffff;
  padding: 0.25rem 0.65rem 0.25rem 0.3rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(13, 92, 232, 0.1);
}

.phone-user-avatar {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--orange-accent);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 0.65rem;
}

.phone-hero-heading {
  font-size: 1.12rem;
  font-weight: 800;
  line-height: 1.28;
  color: var(--charcoal);
  margin-bottom: 1rem;
}

.phone-section-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 0.55rem;
}

.phone-section-label span:last-child {
  font-size: 0.68rem;
  color: var(--royal-blue);
  cursor: pointer;
}

.phone-cards-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
  margin-bottom: 0.9rem;
}

.phone-feature-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 0.65rem;
  box-shadow: 0 8px 20px rgba(13, 92, 232, 0.08);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
}

.phone-feature-card.active,
.phone-feature-card:hover {
  border-color: var(--emerald);
  transform: translateY(-2px);
}

.phone-card-illust {
  height: 68px;
  border-radius: 11px;
  margin-bottom: 0.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 0.4rem;
  position: relative;
  overflow: hidden;
}

.phone-card-illust.illust-ai {
  background: linear-gradient(135deg, #e0f2fe 0%, #bae6fd 100%);
}

.phone-card-illust.illust-line {
  background: linear-gradient(135deg, #dcfce7 0%, #bbf7d0 100%);
}

.phone-feature-card strong {
  display: block;
  font-size: 0.74rem;
  color: var(--charcoal);
}

.phone-feature-card small {
  font-size: 0.64rem;
  color: var(--text-secondary);
}

.phone-schedule-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 0.7rem 0.8rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  box-shadow: 0 8px 20px rgba(13, 92, 232, 0.08);
  margin-bottom: 0.95rem;
}

.phone-schedule-left {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.phone-schedule-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--royal-blue-light);
  color: var(--royal-blue);
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 0.8rem;
}

.phone-schedule-badge {
  background: var(--royal-blue);
  color: #ffffff;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 0.28rem 0.65rem;
  border-radius: 999px;
}

.phone-bottom-nav {
  display: flex;
  align-items: center;
  justify-content: space-around;
  background: #ffffff;
  padding: 0.45rem 0.6rem;
  border-radius: 999px;
  box-shadow: 0 6px 18px rgba(13, 92, 232, 0.1);
}

.phone-nav-dot {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 0.78rem;
  color: var(--text-muted);
  cursor: pointer;
}

.phone-nav-center {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--orange-accent);
  color: #ffffff;
  display: grid;
  place-items: center;
  font-size: 0.9rem;
  box-shadow: 0 6px 14px rgba(255, 122, 47, 0.4);
  cursor: pointer;
}

/* Floating Callout Badges beside the Phone */
.hero-float-badge {
  position: absolute;
  z-index: 4;
  background: #ffffff;
  border-radius: 16px;
  padding: 0.7rem 1rem;
  box-shadow: 0 16px 36px rgba(13, 92, 232, 0.14);
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.8rem;
  font-weight: 700;
  border: 1px solid var(--border-light);
  animation: floatCard 4.5s ease-in-out infinite;
}

.hero-float-badge.badge-left {
  bottom: 0;
  left: 0;
}

.hero-float-badge.badge-right {
  top: 0;
  right: 0;
  animation-delay: 1.5s;
}

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

/* ==========================================================================
   FULL-WIDTH ROYAL BLUE STATS BANNER (Exact Frame 00:04-00:05)
   ========================================================================== */
.royal-stats-bar {
  background: var(--royal-blue);
  color: #ffffff;
  padding: 2.65rem 0;
  position: relative;
  z-index: 5;
}

.royal-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: center;
}

.royal-stat-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 0.5rem 1.5rem;
  border-right: 1px solid rgba(255, 255, 255, 0.22);
}

.royal-stat-item:last-child {
  border-right: none;
}

.royal-stat-number {
  font-size: clamp(2.1rem, 3.2vw, 2.85rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
}

.royal-stat-label {
  font-size: 0.86rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.35;
}

/* ==========================================================================
   SECTION 3: "THAT THE WAY TO CAMP!" -> 4-COLUMN FEATURE ROW (Frame 00:05-00:06)
   ========================================================================== */
.way-section {
  padding: 5.5rem 0 3.5rem;
  background: #ffffff;
}

.way-grid {
  display: grid;
  grid-template-columns: 1.15fr repeat(3, 1fr);
  gap: 2.25rem;
  align-items: start;
}

.section-title {
  font-size: clamp(1.85rem, 3vw, 2.55rem);
  font-weight: 800;
  color: var(--charcoal);
  line-height: 1.24;
  letter-spacing: -0.025em;
  margin-bottom: 0.9rem;
}

.section-desc {
  font-size: 0.98rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.way-card {
  padding: 0.5rem 0.25rem;
  transition: transform 0.3s ease;
}

.way-card:hover {
  transform: translateY(-6px);
}

.way-icon-badge {
  width: 68px;
  height: 54px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  margin-bottom: 1.2rem;
  position: relative;
  transform: rotate(-6deg);
  transition: transform 0.3s ease;
}

.way-card:hover .way-icon-badge {
  transform: rotate(0deg) scale(1.06);
}

.way-icon-globe {
  background: linear-gradient(135deg, #dbeafe 0%, #93c5fd 100%);
  box-shadow: 0 12px 24px rgba(59, 130, 246, 0.2);
}

.way-icon-orange {
  background: linear-gradient(135deg, #ffedd5 0%, #fdba74 100%);
  box-shadow: 0 12px 24px rgba(255, 122, 47, 0.22);
}

.way-icon-ticket {
  background: linear-gradient(135deg, #0d5ce8 0%, #3b82f6 100%);
  color: #ffffff;
  box-shadow: 0 12px 24px rgba(13, 92, 232, 0.28);
}

.way-card h3 {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--charcoal);
  margin-bottom: 0.55rem;
}

.way-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* ==========================================================================
   SECTION 4: DOTTED MAP & SOLUTION FINDER BAR (Exact Frame 00:07-00:09)
   ========================================================================== */
.map-finder-section {
  padding: 4.5rem 0 5.5rem;
  background: linear-gradient(180deg, #ffffff 0%, #f5f9ff 100%);
  position: relative;
  overflow: hidden;
}

.map-finder-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 3.5rem;
}

/* Left Side: Dotted Network Map with Circular Floating Bubbles & Orange Pins */
.dotted-map-stage {
  position: relative;
  min-height: 430px;
  border-radius: var(--radius-xl);
  background-image: radial-gradient(#cbd5e1 1.75px, transparent 1.75px);
  background-size: 16px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.map-bubble {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.map-bubble:hover,
.map-bubble.active {
  transform: scale(1.1) translateY(-5px);
  z-index: 10;
}

.map-bubble-circle {
  background: #ffffff;
  border-radius: 50%;
  padding: 6px;
  box-shadow: 0 18px 40px rgba(13, 92, 232, 0.18);
  border: 3px solid #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.map-bubble-main .map-bubble-circle {
  width: 148px;
  height: 148px;
  background: linear-gradient(145deg, #e0f2fe 0%, #ffffff 65%, #dcfce7 100%);
}

.map-bubble-sm .map-bubble-circle {
  width: 86px;
  height: 86px;
  background: linear-gradient(145deg, #eff6ff 0%, #ffffff 100%);
}

.map-pin-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--orange-accent);
  margin-top: 8px;
  position: relative;
  box-shadow: 0 0 0 5px rgba(255, 122, 47, 0.22);
}

/* Pill Search Bar (Exact Frame 00:08: Location v | Date v | Dark Round Search Button) */
.campty-search-pill {
  margin-top: 2rem;
  background: #ffffff;
  border-radius: var(--radius-pill);
  padding: 0.65rem 0.75rem 0.65rem 1.75rem;
  box-shadow: 0 20px 50px rgba(13, 92, 232, 0.1);
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.search-field-group {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex: 1;
}

.search-field-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--orange-soft);
  color: var(--orange-accent);
  display: grid;
  place-items: center;
  font-size: 0.95rem;
  flex-shrink: 0;
}

.search-field-text label {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--charcoal);
}

.search-field-text select {
  border: none;
  background: transparent;
  font-size: 0.85rem;
  color: var(--text-secondary);
  font-weight: 500;
  outline: none;
  cursor: pointer;
  padding-right: 0.5rem;
}

.search-divider {
  width: 1px;
  height: 34px;
  background: var(--border-light);
}

.search-submit-circle {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--charcoal);
  color: #ffffff;
  border: none;
  display: grid;
  place-items: center;
  font-size: 1.1rem;
  cursor: pointer;
  flex-shrink: 0;
  transition: all 0.25s ease;
}

.search-submit-circle:hover {
  background: var(--royal-blue);
  transform: scale(1.06);
}

/* ==========================================================================
   INTERACTIVE PRODUCT STUDIO & COMPLETE SOLUTIONS GRID (Clean Light Cards)
   ========================================================================== */
.studio-section {
  padding: 5.5rem 0;
  background: #ffffff;
}

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

.studio-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
}

.studio-tab-btn {
  padding: 0.75rem 1.4rem;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--border-light);
  background: #ffffff;
  color: var(--text-secondary);
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.25s ease;
}

.studio-tab-btn:hover {
  border-color: var(--royal-blue);
  color: var(--royal-blue);
}

.studio-tab-btn.active {
  background: var(--royal-blue);
  border-color: var(--royal-blue);
  color: #ffffff;
  box-shadow: 0 12px 26px rgba(13, 92, 232, 0.25);
}

.studio-panel {
  display: none;
  background: var(--bg-soft);
  border-radius: var(--radius-xl);
  padding: 2.25rem;
  border: 1px solid var(--border-light);
  box-shadow: var(--card-shadow);
}

.studio-panel.active {
  display: block;
  animation: fadeUp 0.35s ease;
}

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

.studio-grid-2 {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2rem;
  align-items: start;
}

.white-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 1.6rem;
  border: 1px solid var(--border-light);
  box-shadow: 0 10px 30px rgba(13, 92, 232, 0.05);
}

/* Waveform bars inside AI QM Studio */
.waveform-bars {
  display: flex;
  align-items: center;
  gap: 4px;
  height: 54px;
  padding: 0.5rem 0.75rem;
  background: var(--bg-soft);
  border-radius: 12px;
  margin: 1rem 0;
}

.wave-bar {
  flex: 1;
  background: var(--royal-blue);
  border-radius: 4px;
  height: 30%;
  transition: height 0.2s ease;
}

.wave-bar.customer {
  background: var(--orange-accent);
}

.waveform-bars.playing .wave-bar {
  animation: waveBounce 0.9s ease-in-out infinite alternate;
}

@keyframes waveBounce {
  0% { height: 22%; }
  100% { height: 92%; }
}

.transcript-item {
  padding: 0.75rem 1rem;
  border-radius: 12px;
  border: 1px solid var(--border-light);
  margin-bottom: 0.65rem;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 0.88rem;
}

.transcript-item:hover,
.transcript-item.active {
  border-color: var(--royal-blue);
  background: var(--royal-blue-light);
}

/* 12 Solutions Filterable Grid */
.solutions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.65rem;
  margin-top: 2rem;
}

.solution-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 1.85rem;
  border: 1px solid var(--border-light);
  box-shadow: var(--card-shadow);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.solution-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--card-shadow-hover);
  border-color: rgba(13, 92, 232, 0.28);
}

.solution-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-pill);
  background: var(--royal-blue-light);
  color: var(--royal-blue);
  margin-bottom: 1rem;
  width: fit-content;
}

.solution-card h3 {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--charcoal);
  margin-bottom: 0.65rem;
}

.solution-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 1.2rem;
}

.solution-bullets {
  list-style: none;
  margin-bottom: 1.4rem;
}

.solution-bullets li {
  font-size: 0.84rem;
  color: var(--text-primary);
  margin-bottom: 0.45rem;
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.solution-bullets li::before {
  content: "✓";
  color: var(--royal-blue);
  font-weight: 800;
}

/* ==========================================================================
   SECTION 6: COMMUNITY / FLOATING AVATARS HUB (Exact Frame 00:09-00:11)
   ========================================================================== */
.community-section {
  padding: 5.5rem 0;
  background: linear-gradient(180deg, #f5f9ff 0%, #ffffff 100%);
}

.community-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 3.5rem;
}

.avatar-hub-stage {
  position: relative;
  min-height: 440px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.avatar-hub-backdrop {
  width: 360px;
  height: 300px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.avatar-hub-backdrop::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, #e1effe 0%, #eff6ff 100%);
  border-radius: 38px;
  transform: rotate(-4deg);
  box-shadow: 0 24px 60px rgba(13, 92, 232, 0.1);
  z-index: 0;
}

.hub-center-avatar {
  position: relative;
  z-index: 2;
  width: 122px;
  height: 122px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 16px 36px rgba(13, 92, 232, 0.18);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 4px solid #ffffff;
}

.hub-orbit-avatar {
  position: absolute;
  z-index: 3;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 12px 28px rgba(20, 24, 36, 0.12);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  border: 3px solid #ffffff;
  animation: floatCard 4s ease-in-out infinite;
}

.hub-speech-pill {
  position: absolute;
  background: var(--charcoal);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.38rem 0.85rem;
  border-radius: 12px;
  box-shadow: 0 10px 22px rgba(20, 24, 36, 0.18);
  white-space: nowrap;
  z-index: 5;
}

.hub-channel-icon {
  position: absolute;
  z-index: 4;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  background: #ffffff;
  box-shadow: 0 8px 20px rgba(13, 92, 232, 0.14);
  border: 1px solid var(--border-light);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 700;
  font-size: 0.74rem;
  white-space: nowrap;
}

/* ==========================================================================
   SECTION 7: "SATISFIED CUSTOMERS ARE OUR BEST ADS" (Exact Frame 00:11-00:14)
   ========================================================================== */
.testimonials-section {
  padding: 5.5rem 0;
  background: #ffffff;
}

.testimonials-top-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 3rem;
  gap: 1.5rem;
}

.slider-arrows {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.arrow-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1.5px solid var(--border-light);
  background: #ffffff;
  color: var(--charcoal);
  font-size: 1.15rem;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: all 0.2s ease;
}

.arrow-btn:hover {
  background: var(--royal-blue);
  border-color: var(--royal-blue);
  color: #ffffff;
}

.testimonial-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.quote-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1px solid var(--border-light);
  box-shadow: var(--card-shadow);
  transition: all 0.3s ease;
}

.quote-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--card-shadow-hover);
}

.quote-mark {
  font-size: 2.6rem;
  line-height: 1;
  color: var(--royal-blue);
  font-weight: 800;
  margin-bottom: 0.75rem;
  font-family: Georgia, serif;
}

.quote-text {
  font-size: 0.96rem;
  color: var(--charcoal);
  font-weight: 500;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.quote-author {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.author-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--royal-blue-light);
  color: var(--royal-blue);
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 1rem;
  flex-shrink: 0;
}

.author-meta strong {
  display: block;
  font-size: 0.92rem;
  color: var(--charcoal);
}

.author-meta span {
  display: block;
  font-size: 0.78rem;
  color: var(--text-secondary);
}

.stars-row {
  color: #fbbf24;
  font-size: 0.85rem;
  letter-spacing: 2px;
  margin-top: 0.15rem;
}

/* Client Logo Marquee Strip (Single-Row Slow Continuous Scroll) */
.client-pills-wrap {
  margin-top: 3.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--border-light);
}

.client-marquee-viewport {
  position: relative;
  overflow: hidden;
  width: 100%;
  margin-top: 1.75rem;
  padding: 0.75rem 0;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 8%, #000 92%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, #000 8%, #000 92%, transparent 100%);
}

.client-marquee-track {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  width: max-content;
  animation: clientMarqueeScroll 48s linear infinite;
}

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

@keyframes clientMarqueeScroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.client-logo-card {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 164px;
  height: 74px;
  padding: 0.75rem 1.35rem;
  border-radius: 16px;
  background: #ffffff;
  border: 1px solid var(--border-light);
  box-shadow: 0 6px 20px rgba(13, 92, 232, 0.04);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  flex-shrink: 0;
}

.client-logo-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 26px rgba(13, 92, 232, 0.1);
  border-color: rgba(13, 92, 232, 0.25);
}

.client-logo-card img {
  max-height: 40px;
  max-width: 126px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

/* ==========================================================================
   SECTION 8: BLOG / CONTENT HUB ("Content นั่นนี่นู่นอีก")
   ========================================================================== */
.blog-section {
  padding: 5rem 0;
  background: var(--bg-soft);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.85rem;
  margin-top: 2.5rem;
}

.blog-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-light);
  box-shadow: var(--card-shadow);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--card-shadow-hover);
}

.blog-thumb {
  height: 180px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: #ffffff;
  position: relative;
}

.blog-thumb-1 { background: linear-gradient(135deg, #0d5ce8 0%, #3b82f6 100%); }
.blog-thumb-2 { background: linear-gradient(135deg, #141824 0%, #334155 100%); }
.blog-thumb-3 { background: linear-gradient(135deg, #059669 0%, #10b981 100%); }

.blog-body {
  padding: 1.6rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.blog-body h3 {
  font-size: 1.12rem;
  font-weight: 800;
  color: var(--charcoal);
  margin-bottom: 0.65rem;
  line-height: 1.4;
}

.blog-body p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin-bottom: 1.25rem;
}

/* ==========================================================================
   SECTION 9: "GOT A QUESTION FOR UC CONNECT?" + MINIMAL ARROW FAQ (Frame 00:15)
   ========================================================================== */
.question-faq-section {
  padding: 5.5rem 0;
  background: #ffffff;
}

.question-faq-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 4rem;
  align-items: start;
}

.email-pill-form {
  display: flex;
  align-items: center;
  background: #ffffff;
  border: 1.5px solid #cbd5e1;
  border-radius: var(--radius-pill);
  padding: 0.35rem 0.35rem 0.35rem 1.35rem;
  margin-top: 1.85rem;
  max-width: 440px;
  box-shadow: 0 12px 28px rgba(13, 92, 232, 0.06);
  transition: border-color 0.2s ease;
}

.email-pill-form:focus-within {
  border-color: var(--royal-blue);
}

.email-pill-form input {
  border: none;
  outline: none;
  flex: 1;
  font-size: 0.92rem;
  color: var(--charcoal);
  background: transparent;
}

/* Minimal FAQ Rows with Right Arrow -> (Exact Frame 00:15) */
.campty-faq-list {
  margin-top: 1rem;
}

.campty-faq-item {
  border-bottom: 1px solid var(--border-light);
  padding: 1.15rem 0;
  cursor: pointer;
}

.campty-faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 1rem;
  font-weight: 700;
  color: var(--charcoal);
  transition: color 0.2s ease;
}

.campty-faq-item:hover .campty-faq-q {
  color: var(--royal-blue);
}

.campty-faq-arrow {
  font-size: 1.15rem;
  color: var(--text-muted);
  transition: transform 0.25s ease, color 0.25s ease;
}

.campty-faq-item.open .campty-faq-arrow {
  transform: rotate(90deg);
  color: var(--royal-blue);
}

.campty-faq-a {
  display: none;
  padding-top: 0.75rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.campty-faq-item.open .campty-faq-a {
  display: block;
}

/* ==========================================================================
   SECTION 10: FULL-WIDTH ROYAL BLUE FOOTER (Exact Frame 00:16)
   ========================================================================== */
.royal-footer {
  background: var(--royal-blue);
  color: #ffffff;
  padding: 4.5rem 0 2.5rem;
}

.royal-footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(4, 1fr);
  gap: 2.5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.footer-brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.4rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 1.1rem;
}

.footer-brand-badge {
  background: #ffffff;
  padding: 0.45rem 0.65rem;
  border-radius: 12px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.16);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.footer-brand-badge img {
  height: 42px;
  width: auto;
  object-fit: contain;
}

.royal-footer p {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.7;
}

.footer-col h4 {
  font-size: 0.96rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1.1rem;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.6rem;
}

.footer-links a {
  font-size: 0.86rem;
  color: rgba(255, 255, 255, 0.8);
}

.footer-links a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.footer-socials {
  display: flex;
  gap: 0.65rem;
  margin-top: 1rem;
}

.social-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #ffffff;
  color: var(--royal-blue);
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 0.8rem;
  transition: transform 0.2s ease;
}

.social-circle:hover {
  transform: translateY(-3px);
}

.footer-bottom {
  padding-top: 1.8rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.78);
  gap: 1rem;
}

/* ==========================================================================
   MODAL DIALOG (Request Demo / Article Reader)
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(20, 24, 36, 0.55);
  backdrop-filter: blur(6px);
  display: none;
  place-items: center;
  z-index: 999;
  padding: 1.5rem;
}

.modal-backdrop.open {
  display: grid;
}

.modal-card {
  background: #ffffff;
  border-radius: var(--radius-xl);
  max-width: 560px;
  width: 100%;
  padding: 2.25rem;
  box-shadow: 0 30px 80px rgba(20, 24, 36, 0.25);
  position: relative;
}

.modal-input {
  width: 100%;
  padding: 0.8rem 1rem;
  border-radius: 12px;
  border: 1.5px solid var(--border-light);
  font-size: 0.92rem;
  margin-bottom: 0.9rem;
  outline: none;
}

.modal-input:focus {
  border-color: var(--royal-blue);
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-grid,
  .map-finder-grid,
  .community-grid,
  .question-faq-grid,
  .studio-grid-2 {
    grid-template-columns: 1fr;
  }
  .way-grid {
    grid-template-columns: 1fr 1fr;
  }
  .solutions-grid,
  .testimonial-cards-grid,
  .blog-grid {
    grid-template-columns: 1fr 1fr;
  }
  .royal-stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }
  .royal-stat-item:nth-child(2) {
    border-right: none;
  }
  .royal-footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    display: none;
  }
  .way-grid,
  .solutions-grid,
  .testimonial-cards-grid,
  .blog-grid,
  .royal-stats-grid,
  .royal-footer-grid {
    grid-template-columns: 1fr;
  }
  .royal-stat-item {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
    padding: 1rem 0;
  }
  .campty-search-pill {
    flex-direction: column;
    border-radius: 20px;
    padding: 1.25rem;
    align-items: stretch;
  }
  .search-divider {
    display: none;
  }
}


/* ==========================================================================
   FLOATING WEB CHAT WIDGET (Bottom-Right Live Chat & AI Chatbot)
   ========================================================================== */
.webchat-widget {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 950;
  font-family: var(--font-sans);
}

.webchat-fab {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  background: var(--royal-blue);
  color: #ffffff;
  border: none;
  border-radius: var(--radius-pill);
  padding: 0.85rem 1.35rem;
  font-size: 0.94rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 14px 34px rgba(13, 92, 232, 0.35), 0 4px 12px rgba(20, 24, 36, 0.12);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), background 0.25s ease;
}

.webchat-fab:hover {
  background: var(--royal-blue-dark);
  transform: translateY(-3px) scale(1.02);
}

.webchat-fab-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 0 4px rgba(52, 211, 153, 0.28);
}

.webchat-window {
  position: absolute;
  right: 0;
  bottom: 68px;
  width: 370px;
  max-width: calc(100vw - 32px);
  background: #ffffff;
  border-radius: 24px;
  border: 1px solid var(--border-light);
  box-shadow: 0 28px 70px rgba(13, 92, 232, 0.2), 0 10px 30px rgba(20, 24, 36, 0.1);
  overflow: hidden;
  display: none;
  flex-direction: column;
}

.webchat-window.open {
  display: flex;
  animation: fadeUp 0.25s ease;
}

.webchat-header {
  background: var(--royal-blue);
  color: #ffffff;
  padding: 1rem 1.2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.webchat-header-brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.webchat-avatar {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: #ffffff;
  padding: 4px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.webchat-avatar img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.webchat-close {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.18);
  color: #ffffff;
  font-size: 0.95rem;
  cursor: pointer;
  display: grid;
  place-items: center;
}

.webchat-close:hover {
  background: rgba(255, 255, 255, 0.3);
}

.webchat-messages {
  padding: 1rem;
  background: #f8fbff;
  height: 300px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.chat-msg {
  max-width: 84%;
  padding: 0.65rem 0.9rem;
  border-radius: 16px;
  font-size: 0.84rem;
  line-height: 1.55;
}

.chat-msg.bot {
  align-self: flex-start;
  background: #ffffff;
  color: var(--charcoal);
  border: 1px solid var(--border-light);
  border-bottom-left-radius: 4px;
}

.chat-msg.user {
  align-self: flex-end;
  background: var(--royal-blue);
  color: #ffffff;
  border-bottom-right-radius: 4px;
}

.webchat-quick-replies {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  padding: 0.65rem 0.9rem;
  background: #ffffff;
  border-top: 1px solid var(--border-light);
}

.quick-reply-btn {
  font-size: 0.74rem;
  font-weight: 600;
  padding: 0.35rem 0.72rem;
  border-radius: var(--radius-pill);
  background: var(--bg-soft);
  color: var(--royal-blue);
  border: 1px solid var(--border-light);
  cursor: pointer;
  transition: all 0.2s ease;
}

.quick-reply-btn:hover {
  background: var(--royal-blue);
  color: #ffffff;
  border-color: var(--royal-blue);
}

.webchat-input-bar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 0.9rem;
  background: #ffffff;
  border-top: 1px solid var(--border-light);
}

.webchat-input-bar input {
  flex: 1;
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-pill);
  padding: 0.55rem 0.95rem;
  font-size: 0.85rem;
  outline: none;
}

.webchat-input-bar input:focus {
  border-color: var(--royal-blue);
}

.webchat-send-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: none;
  background: var(--charcoal);
  color: #ffffff;
  cursor: pointer;
  display: grid;
  place-items: center;
  font-size: 0.95rem;
  flex-shrink: 0;
}

.webchat-send-btn:hover {
  background: var(--royal-blue);
}
