/* ============================================
   YOUR FRONT DESK AI — Design System & Styles
   ============================================ */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Sora:wght@600;700;800&display=swap');

/* --- CSS Custom Properties (Design Tokens) --- */
:root {
  /* Primary Palette — Steel Blue family */
  --primary: #7294b5;
  --primary-dark: #5a7a9e;
  --primary-light: #89a5c1;
  --primary-pale: #bcccdc;
  --primary-gradient: linear-gradient(160deg, #7294b5 0%, #5a7a9e 100%);

  /* Accent — Green */
  --accent: #37b183;
  --accent-dark: #2d9a71;
  --accent-light: #4fc99a;
  --accent-gradient: linear-gradient(135deg, #37b183 0%, #2d9a71 100%);

  /* Neutrals */
  --text-dark: #1e2d3d;
  --text-body: #4a6280;
  --text-soft: #8fa8bf;
  --bg-white: #ffffff;
  --bg-light: #f5f8fb;
  --bg-dark: #1a1f2e;
  --bg-dark-card: #232a3b;
  --border-color: rgba(114, 148, 181, 0.15);
  --accent-glow: rgba(114, 148, 181, 0.3);

  /* Typography */
  --font-display: 'Sora', 'Segoe UI', sans-serif;
  --font-body: 'Manrope', 'Segoe UI', sans-serif;
  --fs-hero: clamp(2.8rem, 6vw, 4.5rem);
  --fs-h2: clamp(2rem, 4vw, 3rem);
  --fs-h3: clamp(1.25rem, 2vw, 1.5rem);
  --fs-body: clamp(1rem, 1.2vw, 1.125rem);
  --fs-small: 0.875rem;
  --fs-xs: 0.75rem;

  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 1.85rem;
  --space-2xl: 2.65rem;
  --space-3xl: 3.65rem;
  --section-padding: 2rem clamp(1rem, 5vw, 2rem);

  /* Layout */
  --max-width: 1200px;
  --nav-height: 88px;

  /* Borders & Shadows */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-pill: 100px;
  --shadow-sm: 0 2px 8px rgba(30, 45, 61, 0.06);
  --shadow-md: 0 4px 20px rgba(30, 45, 61, 0.08);
  --shadow-lg: 0 8px 40px rgba(30, 45, 61, 0.12);
  --shadow-xl: 0 16px 64px rgba(30, 45, 61, 0.16);
  --shadow-glow: 0 4px 30px rgba(55, 177, 131, 0.2);

  /* Transitions */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --duration-fast: 200ms;
  --duration-normal: 400ms;
  --duration-slow: 600ms;
}

/* --- Reset & Base --- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scrollbar-width: thin;
  scrollbar-color: var(--primary-light) var(--bg-light);
}

/* --- Custom Scrollbar --- */
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: var(--bg-light);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb {
  background: var(--primary-light);
  border-radius: 4px;
  border: 2px solid var(--bg-light);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary);
}

body {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  color: var(--text-body);
  background: var(--bg-white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.lucide {
  width: 1em;
  height: 1em;
  stroke-width: 2;
  vertical-align: middle;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--duration-fast) var(--ease-out);
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
  font-size: inherit;
}

ul,
ol {
  list-style: none;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  color: var(--text-dark);
  line-height: 1.2;
  font-weight: 700;
}

/* --- Utility / Layout --- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.section {
  padding: var(--section-padding);
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(114, 148, 181, 0.1);
  color: var(--primary-dark);
  padding: 0.4rem 1rem;
  border-radius: var(--radius-pill);
  font-size: var(--fs-small);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--space-sm);
}

.section-title {
  font-size: var(--fs-h2);
  margin-bottom: var(--space-sm);
}

.section-subtitle {
  font-size: var(--fs-body);
  color: var(--text-soft);
  max-width: 600px;
  margin: 0 auto 2rem;
}

.text-center {
  text-align: center;
}

/* --- Scroll Reveal --- */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity var(--duration-slow) var(--ease-out),
    transform var(--duration-slow) var(--ease-out);
}

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

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--fs-small);
  padding: 0.85rem 1.8rem;
  border-radius: var(--radius-pill);
  transition: all var(--duration-normal) var(--ease-out);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--primary-gradient);
  color: white;
  box-shadow: 0 4px 16px rgba(114, 148, 181, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(114, 148, 181, 0.4);
}

.btn-accent {
  background: var(--accent-gradient);
  color: white;
  box-shadow: 0 4px 16px rgba(55, 177, 131, 0.3);
}

.btn-accent:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

.btn-outline {
  background: transparent;
  color: var(--primary-dark);
  border: 2px solid var(--border-color);
}

.btn-outline:hover {
  border-color: var(--primary);
  background: rgba(114, 148, 181, 0.06);
}

.btn-white {
  background: white;
  color: var(--primary-dark);
  box-shadow: var(--shadow-sm);
}

.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* ============================================
   NAVIGATION
   ============================================ */
/* ==================== TOP BAR ==================== */
.top-bar {
  background: var(--primary-dark);
  color: white;
  padding: 8px 0;
  font-size: var(--fs-xs);
  font-weight: 500;
  z-index: 1001;
  position: relative;
}

.top-bar-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-bar-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.promo-badge {
  background: var(--accent);
  color: white;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
}

.top-bar-right {
  display: flex;
  gap: 20px;
}

.top-bar-btn {
  color: rgba(255, 255, 255, 0.8);
  font-weight: 600;
  transition: color var(--duration-fast) var(--ease-out);
}

.top-bar-btn:hover {
  color: white;
}

.top-bar-btn.promo-link {
  color: var(--accent-light);
}

/* ==================== NAVIGATION ==================== */
.navbar {
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 1000;
  background: rgb(240, 244, 248);
  box-shadow: 0 1px 0 var(--border-color);
  transition: all var(--duration-normal) var(--ease-out);
}

.navbar.scrolled {
  background: rgb(240, 244, 248);
  backdrop-filter: none;
  box-shadow: 0 1px 0 var(--border-color);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  min-height: var(--nav-height);
  position: relative;
  row-gap: 4px;
  align-content: start;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 1001;
  margin-top: 6px;
}

.nav-logo img {
  height: 64px;
  width: auto;
  max-width: 100%;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.2rem;
}

.nav-links a {
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--text-body);
  position: relative;
  padding: 4px 0;
  line-height: 1;
}

.nav-dropdown {
  position: relative;
  display: flex;
  align-items: center;
}

.nav-dropdown-trigger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.nav-dropdown-trigger::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  border-radius: 1px;
  transition: width var(--duration-normal) var(--ease-out);
}

.nav-dropdown-trigger::before {
  content: '';
  display: inline-block;
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  margin-top: 2px;
  opacity: 0.7;
  order: 2;
}

.nav-dropdown:hover .nav-dropdown-trigger::after,
.nav-dropdown:focus-within .nav-dropdown-trigger::after {
  width: 100%;
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 4px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 220px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(114, 148, 181, 0.16);
  border-radius: 18px;
  box-shadow: 0 18px 40px rgba(30, 45, 61, 0.12);
  display: flex;
  flex-direction: column;
  gap: 6px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity var(--duration-normal) var(--ease-out),
    transform var(--duration-normal) var(--ease-out),
    visibility var(--duration-normal) var(--ease-out);
  z-index: 20;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.nav-dropdown-item {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 14px 16px;
  border-radius: 14px;
  color: var(--text-body);
  transition: all var(--duration-fast) var(--ease-out);
  text-decoration: none;
}

.nav-dropdown-item::after {
  display: none;
}

.nav-dropdown-item:hover {
  background: rgba(114, 148, 181, 0.08);
  color: var(--text-dark);
}

.nav-dropdown-title {
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  border-radius: 1px;
  transition: width var(--duration-normal) var(--ease-out);
}

.nav-links a:hover {
  color: var(--text-dark);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}



.nav-promo-tabs {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 0 6px 0;
  white-space: nowrap;
  background: transparent;
  border: none;
  box-shadow: none;
}

@media (max-width: 1024px) {
  .nav-promo-tabs {
    display: none;
  }
}

.nav-tab-divider {
  width: 1px;
  height: 16px;
  background: rgba(114, 148, 181, 0.2);
}

.nav-tab-text {
  font-size: 0.75rem;
  color: var(--text-soft);
  font-weight: 500;
}

.lang-switcher {
  display: flex;
  align-items: center;
  background: var(--bg-light);
  border-radius: var(--radius-pill);
  padding: 3px;
  gap: 2px;
}

.lang-switcher button {
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--text-soft);
  transition: all var(--duration-fast) var(--ease-out);
}

.lang-switcher button.active {
  background: white;
  color: var(--primary-dark);
  box-shadow: var(--shadow-sm);
}

/* Nav Tab */
.nav-tab-btn {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  color: #ffffff;
  background: var(--primary);
  cursor: pointer;
  transition: all var(--duration-fast) var(--ease-out);
  border: none;
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
}

.nav-tab-btn:hover {
  background: var(--accent);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

#bookDemoBtn {
  background: var(--primary-gradient);
  color: #ffffff;
  border-radius: var(--radius-pill);
  padding: 0.72rem 1.45rem;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(55, 177, 131, 0.25);
  transition: all var(--duration-fast) var(--ease-out);
  white-space: nowrap;
  line-height: 1;
}

#bookDemoBtn:hover {
  background: var(--accent-gradient);
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
  transition: all var(--duration-fast) var(--ease-out);
}

.promo-pill-btn {
  background: var(--primary-gradient);
  color: #ffffff;
  border-radius: var(--radius-pill);
  padding: 0.72rem 1.6rem;
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(55, 177, 131, 0.25);
  transition: all var(--duration-fast) var(--ease-out);
  white-space: nowrap;
}

.promo-pill-btn:hover {
  background: var(--accent-gradient);
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
  transition: all var(--duration-fast) var(--ease-out);
}

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  z-index: 1001;
}

.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-dark);
  border-radius: 2px;
  transition: all var(--duration-normal) var(--ease-out);
}

/* Mobile Menu */
/* Mobile Menu Breakpoint Overhaul */
@media (max-width: 1024px) {
  .top-bar {
    display: none;
    /* Hide top bar on mobile/tablet to save space */
  }

  .nav-links {
    position: fixed;
    inset: 0;
    height: 100dvh;
    width: 100vw;
    background: #ffffff;
    backdrop-filter: none;
    flex-direction: column;
    justify-content: center;
    gap: var(--space-xl);
    opacity: 0;
    pointer-events: none;
    transition: all var(--duration-normal) var(--ease-out);
    z-index: 20000;
    transform: translateY(-20px);
  }

  .nav-links.open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-dropdown {
    width: 100%;
    flex-direction: column;
    align-items: center;
  }

  .nav-dropdown-menu {
    position: static;
    min-width: 0;
    width: 100%;
    margin-top: 10px;
    transform: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    box-shadow: none;
    background: transparent;
    border: 0;
    padding: 0;
  }

  .nav-dropdown-item {
    justify-content: center;
    padding: 10px 0;
  }

  .nav-links a {
    font-size: var(--fs-xl);
    font-weight: 600;
  }

  .nav-hamburger {
    display: flex;
    z-index: 20001;
  }

  .nav-hamburger.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .nav-hamburger.open span:nth-child(2) {
    opacity: 0;
  }

  .nav-hamburger.open span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  .nav-cta-btn {
    display: none;
  }

  .nav-right .btn,
  .nav-promo-tabs {
    display: none !important;
  }
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  position: relative;
  min-height: auto;
  display: flex;
  align-items: flex-start;
  /* padding-top: var(--nav-height); */
  background: linear-gradient(170deg, var(--bg-light) 0%, var(--bg-white) 50%, rgba(55, 177, 131, 0.03) 100%);
  overflow: hidden;
  padding-bottom: 0.35rem;
}

.hero::before {
  content: none;
}

.hero::after {
  content: none;
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.4rem;
  align-items: start;
  position: relative;
  z-index: 1;
}

.hero-content {
  max-width: 520px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(55, 177, 131, 0.1);
  color: var(--accent-dark);
  padding: 0.42rem 0.9rem;
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 0.9rem;
  animation: fadeInUp 0.8s var(--ease-out) both;
}

.hero-badge svg {
  width: 16px;
  height: 16px;
}

.hero-title {
  font-size: clamp(2.6rem, 4.4vw, 4.2rem);
  font-weight: 800;
  line-height: 1.02;
  margin-bottom: 0.85rem;
  animation: fadeInUp 0.8s var(--ease-out) 0.1s both;
}

.hero-title .highlight {
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: clamp(0.88rem, 1vw, 0.98rem);
  color: var(--text-body);
  line-height: 1.5;
  margin-bottom: 0;
  animation: fadeInUp 0.8s var(--ease-out) 0.2s both;
}

.hero-ctas {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
  justify-content: flex-start;
  width: 100%;
  margin-left: 0;
  animation: fadeInUp 0.8s var(--ease-out) 0.3s both;
}

.hero-stats {
  display: flex;
  gap: var(--space-lg);
  margin-top: 0;
  justify-content: flex-start;
  width: 100%;
  margin-left: 0;
  padding-top: 0.4rem;
  animation: fadeInUp 0.8s var(--ease-out) 0.4s both;
}

.hero-stat {
  text-align: left;
  min-width: 120px;
  position: relative;
}

.hero-stat:not(:last-child) {
  padding-right: 0.9rem;
  margin-right: 0;
}

.hero-stat .stat-number {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--text-dark);
}

.hero-stat .stat-label {
  font-size: 0.78rem;
  color: var(--text-soft);
}

/* AI Chat Preview (Hero Right) */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: flex-end;
  padding-right: 1.25rem;
  transform: translateY(-56px);
  animation: fadeInRight 1s var(--ease-out) 0.4s both;
}

.widget-frame {
  width: 100%;
  max-width: 382px;
  height: 536px;
  border-radius: 30px;
  overflow: hidden;
  box-shadow: none;
  border: 0;
  background: transparent;
}

.widget-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  background: transparent;
}

.hero-actions-panel {
  width: 100%;
  max-width: 420px;
  margin-top: 0.65rem;
}

.features.section {
  padding-top: 0.9rem;
}

.chat-preview {
  background: white;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  width: 100%;
  max-width: 390px;
  overflow: hidden;
  border: 1px solid var(--border-color);
}

.chat-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--border-color);
  background: var(--bg-light);
}

.chat-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--primary-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 0.85rem;
}

.chat-header-info h4 {
  font-family: var(--font-body);
  font-size: var(--fs-small);
  font-weight: 600;
  color: var(--text-dark);
}

.chat-header-info span {
  font-size: var(--fs-xs);
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: 4px;
}

.chat-header-info span::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.chat-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 280px;
}

.chat-msg {
  max-width: 85%;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  font-size: var(--fs-small);
  line-height: 1.5;
  animation: messageIn var(--duration-normal) var(--ease-out) both;
}

.chat-msg.ai {
  background: var(--bg-light);
  color: var(--text-dark);
  align-self: flex-start;
  border-bottom-left-radius: 4px;
}

.chat-msg.user {
  background: var(--primary-gradient);
  color: white;
  align-self: flex-end;
  border-bottom-right-radius: 4px;
}

.chat-msg.ai.typing {
  display: flex;
  gap: 4px;
  padding: 1rem 1.25rem;
}

.typing-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--text-soft);
  animation: typingBounce 1.4s infinite;
}

.typing-dot:nth-child(2) {
  animation-delay: 0.2s;
}

.typing-dot:nth-child(3) {
  animation-delay: 0.4s;
}

/* Floating elements around chat */
.float-badge {
  position: absolute;
  background: white;
  border-radius: var(--radius-md);
  padding: 0.6rem 1rem;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: var(--fs-small);
  font-weight: 600;
  color: var(--text-dark);
  white-space: nowrap;
  z-index: 2;
}

.float-badge.top-left {
  top: 10%;
  left: -10%;
  animation: float 6s ease-in-out infinite;
}

.float-badge.bottom-right {
  bottom: 15%;
  right: -8%;
  animation: float 6s ease-in-out 1.5s infinite;
}

.float-badge .badge-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.float-badge .badge-icon.green {
  background: rgba(55, 177, 131, 0.12);
  color: var(--accent);
}

.float-badge .badge-icon.blue {
  background: rgba(114, 148, 181, 0.12);
  color: var(--primary);
}

@media (max-width: 768px) {
  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-content {
    max-width: 100%;
  }

  .hero-ctas {
    justify-content: center;
  }

  .hero-stats {
    justify-content: center;
  }

  .hero-visual {
    margin-top: var(--space-lg);
  }

  .hero-actions-panel {
    margin: 1.25rem auto 0;
  }

  .hero-support-copy {
    max-width: 100%;
    margin-top: 0;
  }

  .float-badge {
    display: none;
  }
}

/* ============================================
   TRUSTED BY / Logos
   ============================================ */
.trusted {
  display: none;
}

.trusted p {
  font-size: var(--fs-small);
  color: var(--text-soft);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
  text-align: center;
  margin-bottom: var(--space-md);
}

.logo-marquee {
  display: flex;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent 0%, black 15%, black 85%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 15%, black 85%, transparent 100%);
}

.logo-track {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
  animation: marquee 30s linear infinite;
  flex-shrink: 0;
}

.logo-track span {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary-pale);
  white-space: nowrap;
  user-select: none;
}

/* ============================================
   FEATURES
   ============================================ */
.features {
  background: var(--bg-white);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.1rem;
  align-items: stretch;
}

.feature-card {
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.2rem 1.1rem;
  transition: all var(--duration-normal) var(--ease-out);
  position: relative;
  overflow: hidden;
  display: grid;
  align-content: start;
  min-height: 100%;
}

.feature-card-header {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 0.75rem;
  text-align: left;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--primary-gradient);
  opacity: 0;
  transition: opacity var(--duration-normal) var(--ease-out);
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.feature-card:hover::before {
  opacity: 1;
}


.feature-icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  margin-bottom: 0;
  flex-shrink: 0;
}

.feature-icon.blue {
  /* background: rgba(114, 148, 181, 0.12); */
  color: var(--primary);
}

.feature-icon.green {
  /* background: rgba(55, 177, 131, 0.12); */
  color: var(--accent);
}

.feature-icon.purple {
  /* background: rgba(130, 100, 200, 0.12); */
  color: #8264c8;
}

.feature-card h3 {
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0;
  text-align: left;
  line-height: 1.25;
}

.feature-card p {
  color: var(--text-body);
  font-size: 0.88rem;
  line-height: 1.55;
  text-align: left;
}

.support-banner {
  margin-top: 1.6rem;
  display: grid;
  grid-template-columns: 88px minmax(220px, 340px) 1fr;
  align-items: center;
  gap: 1.4rem;
  padding: 1.75rem 1.8rem;
  border: 1px solid var(--border-color);
  border-radius: 28px;
  background: linear-gradient(135deg, rgba(18, 58, 99, 0.03) 0%, rgba(15, 159, 147, 0.04) 100%);
  text-align: left;
}

.support-banner-icon {
  width: 60px;
  height: 60px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-light);
  background: rgba(18, 58, 99, 0.06);
  font-size: 1.8rem;
}

.support-banner-title {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 2.5vw, 2.3rem);
  line-height: 1.1;
  font-weight: 800;
  color: var(--text-dark);
}

.support-banner-copy {
  font-size: 0.96rem;
  line-height: 1.65;
  color: var(--text-body);
}

@media (max-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .features-grid {
    grid-template-columns: 1fr;
  }

  .support-banner {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 1.4rem 1.2rem;
  }

  .support-banner-icon {
    margin: 0 auto;
  }
}

.feature-card.wide {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  text-align: left;
  background: linear-gradient(135deg, rgba(114, 148, 181, 0.05) 0%, rgba(55, 177, 131, 0.05) 100%);
  padding: 1.25rem 1.5rem;
}

.feature-card.wide .feature-icon {
  flex-shrink: 0;
  margin-bottom: 0;
  width: 42px;
  height: 42px;
  font-size: 1.35rem;
}

.feature-card.wide h3 {
  margin-bottom: 0.5rem;
}

@media (max-width: 900px) {
  .feature-card.wide {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: var(--space-xl) var(--space-lg);
  }

  .feature-card.wide .feature-icon {
    margin-bottom: var(--space-md);
  }
}

/* ============================================
   HOW IT WORKS
   ============================================ */
.how-it-works {
  background: var(--bg-light);
}

.how-it-works .container {
  max-width: 980px;
}

.how-it-works .section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
}

.how-it-works .section-subtitle {
  max-width: 520px;
  margin-bottom: 1.5rem;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  position: relative;
}

/* Connecting line */
.steps::before {
  content: '';
  position: absolute;
  top: 28px;
  left: calc(16.66% + 28px);
  right: calc(16.66% + 28px);
  height: 2px;
  background: linear-gradient(90deg, var(--primary-pale), var(--accent-light));
  z-index: 0;
}

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

.step-number {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 0.9rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.3rem;
  color: white;
  position: relative;
}

.step:nth-child(1) .step-number {
  background: var(--primary-gradient);
}

.step:nth-child(2) .step-number {
  background: linear-gradient(160deg, var(--primary-light) 0%, var(--accent) 100%);
}

.step:nth-child(3) .step-number {
  background: var(--accent-gradient);
}

.step h3 {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.step p {
  font-size: 0.88rem;
  color: var(--text-body);
  max-width: 220px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .steps {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .steps::before {
    display: none;
  }
}

/* ============================================
   BENEFITS (Bento Grid)
   ============================================ */
.benefits {
  background: var(--bg-dark);
  color: white;
}

.benefits .section-tag {
  background: rgba(55, 177, 131, 0.15);
  color: var(--accent-light);
}

.benefits .section-title {
  color: white;
}

.benefits .section-subtitle {
  color: rgba(255, 255, 255, 0.5);
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0.85rem;
}

.bento-card {
  background: var(--bg-dark-card);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-lg);
  padding: 1rem 0.9rem;
  transition: all var(--duration-normal) var(--ease-out);
  text-align: left;
}

.bento-card:hover {
  border-color: rgba(114, 148, 181, 0.2);
  transform: translateY(-2px);
}

.bento-card.wide {
  grid-column: span 1;
}

.bento-card .bento-icon {
  font-size: 1.2rem;
  margin-bottom: 0.6rem;
}

.bento-card h3 {
  font-family: var(--font-body);
  color: white;
  font-weight: 700;
  font-size: 0.98rem;
  margin-bottom: 0.35rem;
}

.bento-card p {
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.82rem;
  line-height: 1.45;
}

.bento-card .stat-highlight {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 800;
  background: linear-gradient(160deg, var(--primary-light) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin: 0.25rem 0 0.45rem;
}

@media (max-width: 1024px) {
  .bento-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .bento-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   COMPARISON
   ============================================ */
.comparison {
  background: var(--bg-light);
}

.comparison-table-container {
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 1.25rem;
  margin-top: var(--space-xl);
  box-shadow: var(--shadow-xl);
  max-width: 980px;
  margin-left: auto;
  margin-right: auto;
}

.comparison-table-header {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--primary-dark);
}

.comparison-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  text-align: left;
}

.comparison-table th,
.comparison-table td {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--border-color);
  vertical-align: middle;
}

.comparison-table th {
  background: rgba(114, 148, 181, 0.03);
  font-weight: 700;
  color: var(--text-dark);
  text-transform: uppercase;
  font-size: 0.72rem;
  letter-spacing: 0.05em;
}

.comparison-table td {
  font-size: 0.9rem;
  line-height: 1.45;
}

.comparison-table td:first-child {
  font-weight: 700;
  color: var(--primary-dark);
  width: 25%;
  background: rgba(114, 148, 181, 0.015);
}

.comparison-table .highlight-column {
  background: rgba(55, 177, 131, 0.04);
  color: var(--text-dark);
}

.comparison-table th.highlight-column {
  background: var(--accent);
  color: white;
  border-bottom: none;
}

.comparison-table tr:last-child td {
  border-bottom: none;
}

.comparison-table tr:hover td {
  background: rgba(114, 148, 181, 0.05);
}

.comparison-table tr:hover td.highlight-column {
  background: rgba(55, 177, 131, 0.08);
}

/* Table Responsiveness */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

@media (max-width: 900px) {

  .comparison-table th,
  .comparison-table td {
    padding: 1rem;
    font-size: 0.9rem;
  }

  .comparison-table td:first-child {
    width: 30%;
  }
}

@media (max-width: 768px) {
  .comparison-table-container {
    padding: var(--space-lg) var(--space-sm);
    border-radius: var(--radius-lg);
  }

  .comparison-table {
    display: block;
  }

  .comparison-table thead {
    display: none;
  }

  .comparison-table tbody {
    display: block;
  }

  .comparison-table tr {
    display: block;
    margin-bottom: 2rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    background: white;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
  }

  .comparison-table td {
    display: block;
    width: 100% !important;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--border-color);
    text-align: left;
  }

  .comparison-table td:last-child {
    border-bottom: none;
  }

  .comparison-table td:first-child {
    background: var(--primary-gradient);
    color: white;
    font-weight: 700;
    text-align: center;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
  }

  .comparison-table td:nth-child(2)::before {
    content: "Human Front Desk:";
    display: block;
    font-size: 0.7rem;
    text-transform: uppercase;
    color: var(--text-soft);
    margin-bottom: 0.25rem;
    font-weight: 700;
  }

  .comparison-table td:nth-child(3)::before {
    content: "AI Front Desk:";
    display: block;
    font-size: 0.7rem;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 0.25rem;
    font-weight: 700;
  }

  /* Localized labels for mobile via CSS if needed, but for now we'll keep EN labels as fallback or just use simple styling */
  [data-lang="es"] .comparison-table td:nth-child(2)::before {
    content: "Recepción Humana:";
  }

  [data-lang="es"] .comparison-table td:nth-child(3)::before {
    content: "Recepción IA:";
  }

  .comparison-table td.highlight-column {
    background: rgba(55, 177, 131, 0.02);
  }
}

/* ============================================
   INTEGRATIONS
   ============================================ */
.integrations {
  background: var(--bg-white);
}

.integration-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-md);
  max-width: 800px;
  margin: 0 auto;
}

.integration-logo {
  background: var(--bg-light);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.2rem 2rem;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: var(--fs-small);
  color: var(--text-dark);
  transition: all var(--duration-normal) var(--ease-out);
}

.integration-logo:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-pale);
}

.integration-logo .int-icon {
  font-size: 1.5rem;
}

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials {
  background: var(--bg-light);
}

.testimonials-carousel {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  overflow: hidden;
}

.testimonials-track {
  display: flex;
  transition: transform var(--duration-slow) var(--ease-out);
}

.testimonial-card {
  min-width: 100%;
  padding: 0 var(--space-sm);
}

.testimonial-inner {
  background: white;
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  box-shadow: var(--shadow-md);
  text-align: center;
  border: 1px solid var(--border-color);
}

.testimonial-stars {
  color: #f5a623;
  font-size: 1.25rem;
  margin-bottom: var(--space-sm);
  letter-spacing: 4px;
}

.testimonial-inner blockquote {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  color: var(--text-dark);
  font-style: italic;
  line-height: 1.6;
  margin-bottom: var(--space-md);
}

.testimonial-author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.testimonial-author-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--primary-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 1rem;
}

.testimonial-author-info strong {
  display: block;
  color: var(--text-dark);
  font-size: var(--fs-small);
}

.testimonial-author-info span {
  font-size: var(--fs-xs);
  color: var(--text-soft);
}

.carousel-controls {
  display: flex;
  justify-content: center;
  gap: var(--space-sm);
  margin-top: var(--space-md);
}

.carousel-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: white;
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--duration-fast) var(--ease-out);
  color: var(--text-body);
  font-size: 1.1rem;
}

.carousel-btn:hover {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: var(--space-sm);
}

.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary-pale);
  transition: all var(--duration-fast) var(--ease-out);
}

.carousel-dot.active {
  width: 24px;
  border-radius: 4px;
  background: var(--primary);
}

/* ============================================
   PRICING
   ============================================ */
.pricing {
  background: var(--bg-white);
}

.pricing.section {
  padding: calc(var(--section-padding) * 0.72);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  align-items: stretch;
}

.pricing-card {
  background: var(--bg-light);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.2rem 1.2rem 1.05rem;
  transition: all var(--duration-normal) var(--ease-out);
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  grid-template-areas:
    "head body"
    "footer footer";
  column-gap: 1rem;
  row-gap: 0.9rem;
  align-items: start;
  height: 100%;
  overflow: hidden;
}

.pricing-card.featured {
  background: var(--bg-dark);
  border-color: transparent;
  color: white;
  transform: none;
  box-shadow: var(--shadow-xl);
}

.pricing-card.featured .pricing-tag {
  display: inline-block;
}

.pricing-tag {
  display: none;
  background: var(--accent-gradient);
  color: white;
  padding: 4px 14px;
  border-radius: var(--radius-pill);
  font-size: var(--fs-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--space-sm);
}

.pricing-card h3 {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0;
}

.pricing-card.featured h3 {
  color: white;
}

.pricing-price {
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 0;
  letter-spacing: -0.03em;
}

.pricing-card.featured .pricing-price {
  color: white;
}

.pricing-price span {
  font-family: var(--font-body);
  font-size: var(--fs-small);
  font-weight: 400;
  color: var(--text-soft);
}

.pricing-card.featured .pricing-price span {
  color: rgba(255, 255, 255, 0.5);
}

.pricing-desc {
  font-size: 0.8rem;
  color: var(--text-body);
  margin-bottom: 0;
  line-height: 1.5;
}

.pricing-desc-left {
  text-align: left;
  max-width: 280px;
  margin-right: auto;
}

.pricing-card.featured .pricing-desc {
  color: rgba(255, 255, 255, 0.6);
}

.pricing-card-head {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  grid-area: head;
}

.pricing-card-body {
  grid-area: body;
  margin-top: 0.1rem;
}

.pricing-card-footer {
  grid-area: footer;
  margin-top: 0;
}

.pricing-card.starter .pricing-card-footer {
  margin-top: 4rem;
}

.pricing-card-footer .btn {
  width: 100%;
}

.pricing-features {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.4rem;
  align-content: start;
}

.pricing-card.enterprise .pricing-card-body {
  text-align: left;
}

.pricing-card.enterprise .pricing-features {
  justify-items: start;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  line-height: 1.35;
  padding: 0;
  color: var(--text-body);
  min-width: 0;
}

.pricing-card.enterprise .pricing-features li {
  justify-content: flex-start;
  text-align: left;
}

.pricing-card.featured .pricing-features li {
  color: rgba(255, 255, 255, 0.75);
}

.pricing-features li::before {
  content: '✓';
  color: var(--accent);
  font-weight: 700;
  font-size: 0.85rem;
}

@media (max-width: 768px) {
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }

  .pricing-card.featured {
    transform: none;
  }

  .pricing-features {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 769px) and (max-width: 1180px) {
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 860px;
    margin: 0 auto;
  }
}

@media (min-width: 1181px) {
  .pricing-card {
    min-height: 320px;
  }
}

.pricing-features li::before {
  content: "\2713";
  color: var(--accent);
  font-weight: 700;
  font-size: 0.8rem;
  flex: 0 0 auto;
}

/* ============================================
   FAQ
   ============================================ */
.faq {
  background: var(--bg-light);
}

.faq.section {
  padding: calc(var(--section-padding) * 0.7);
}

.faq .section-title {
  font-size: clamp(1.85rem, 2.8vw, 2.35rem);
}

.faq .section-subtitle {
  max-width: 520px;
  margin: 0 auto 1.25rem;
  font-size: 0.98rem;
}

.faq .section-tag {
  margin-top: 10px;
}

.pricing .section-tag {
  margin-top: 10px;
}

.faq-list {
  max-width: 640px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq-item {
  background: white;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: box-shadow var(--duration-normal) var(--ease-out);
}

.faq-item:hover {
  box-shadow: var(--shadow-sm);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0.95rem 1.25rem;
  font-weight: 600;
  font-size: 0.98rem;
  color: var(--text-dark);
  text-align: left;
  transition: color var(--duration-fast) var(--ease-out);
}

.faq-question:hover {
  color: var(--primary-dark);
}

.faq-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--bg-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  color: var(--text-soft);
  transition: all var(--duration-normal) var(--ease-out);
}

.faq-item.open .faq-icon {
  background: var(--primary);
  color: white;
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--duration-normal) var(--ease-out),
    padding var(--duration-normal) var(--ease-out);
}

.faq-item.open .faq-answer {
  max-height: 300px;
}

.faq-answer p {
  padding: 0 1.25rem 0.95rem;
  color: var(--text-body);
  font-size: 0.92rem;
  line-height: 1.65;
}

/* ============================================
   CTA BANNER
   ============================================ */
.cta-banner {
  background: var(--primary-gradient);
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(55, 177, 131, 0.3) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.cta-banner .container {
  position: relative;
  z-index: 1;
  text-align: center;
}

.cta-banner h2 {
  color: white;
  font-size: var(--fs-h2);
  margin-bottom: var(--space-sm);
}

.cta-banner p {
  color: rgba(255, 255, 255, 0.8);
  font-size: var(--fs-body);
  max-width: 500px;
  margin: 0 auto var(--space-lg);
}

.cta-comparison {
  display: grid;
  gap: 0.7rem;
  max-width: 940px;
  margin: 0 auto 1.4rem;
  padding: 1rem 1.3rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
}

.cta-comparison-row {
  display: grid;
  grid-template-columns: 190px 1fr;
  align-items: center;
  gap: 1rem;
  text-align: left;
}

.cta-comparison-row.featured {
  padding-top: 0.7rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.cta-comparison-kicker {
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.78);
}

.cta-comparison-item {
  font-size: 0.96rem;
  line-height: 1.45;
}

.cta-comparison-item.highlight {
  font-weight: 700;
  color: #ffffff;
}

.cta-banner .btn-white:hover {
  background: white;
}

@media (max-width: 768px) {
  .cta-comparison {
    border-radius: 24px;
    padding: 1rem;
  }

  .cta-comparison-row {
    grid-template-columns: 1fr;
    gap: 0.35rem;
    text-align: center;
  }
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--bg-dark);
  color: rgba(255, 255, 255, 0.6);
  padding: var(--space-2xl) 0 var(--space-lg);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-xl);
  margin-bottom: var(--space-xl);
}

.footer-brand img {
  height: 80px;
  margin-bottom: var(--space-sm);
}

.footer-brand p {
  font-size: var(--fs-small);
  line-height: 1.7;
  max-width: 280px;
  color: rgba(255, 255, 255, 0.6);
}

.footer-col h4 {
  font-family: var(--font-body);
  color: white;
  font-weight: 700;
  font-size: var(--fs-small);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--space-sm);
}

.footer-col a {
  display: block;
  font-size: var(--fs-small);
  padding: 4px 0;
  color: rgba(255, 255, 255, 0.5);
  transition: color var(--duration-fast) var(--ease-out);
}

.footer-col a:hover {
  color: var(--accent-light);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: var(--space-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.footer-bottom p {
  font-size: var(--fs-xs);
}

.footer-socials {
  display: flex;
  gap: 12px;
}

.footer-socials a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.5);
  transition: all var(--duration-fast) var(--ease-out);
  font-size: 0.9rem;
}

.footer-socials a:hover {
  background: var(--accent);
  color: white;
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
  }

  .footer-brand {
    grid-column: span 2;
  }

  .footer-bottom {
    justify-content: center;
    text-align: center;
  }
}

/* ============================================
   KEYFRAMES
   ============================================ */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(28px);
  }

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

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(40px);
  }

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

@keyframes float {

  0%,
  100% {
    transform: translateY(0);
  }

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

@keyframes marquee {
  0% {
    transform: translateX(0);
  }

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

@keyframes messageIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

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

@keyframes typingBounce {

  0%,
  60%,
  100% {
    transform: translateY(0);
  }

  30% {
    transform: translateY(-5px);
  }
}

/* ============================================
   STATS BADGE (from user spec)
   ============================================ */
.stats-badge {
  background: var(--accent-gradient);
  color: white;
  padding: 0.6rem 1.2rem;
  border-radius: 40px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  white-space: nowrap;
}

/* ============================================
   TOAST NOTIFICATIONS
   ============================================ */
.toast-container {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 10000;
  display: flex;
  flex-direction: column;
  gap: 12px;
  pointer-events: none;
}

.toast {
  background: rgba(255, 255, 255, 0.85);
  /* Fallback */
  color: var(--text-dark);
  padding: 16px 24px;
  border-radius: var(--radius-md);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 12px;
  pointer-events: auto;
  transform: translateX(-120%);
  opacity: 0;
  animation: toast-slide-in 0.3s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
  border: 1px solid rgba(255, 255, 255, 0.5);
  /* Base subtle glass border */
  border-left: 4px solid transparent;
  /* Placeholder for thicker left border */
}

.toast.error {
  background: rgba(254, 242, 242, 0.85);
  /* 85% frosted light red */
  border: 1px solid rgba(239, 68, 68, 0.3);
  border-left: 4px solid #ef4444;
  color: #b91c1c;
  /* Sharp, readable dark red */
}

.toast.success {
  background: rgba(238, 253, 245, 0.85);
  /* 85% frosted light green */
  border: 1px solid rgba(55, 177, 131, 0.3);
  border-left: 4px solid var(--accent);
  color: #065f46;
  /* Sharp, readable dark green */
}

.toast.hiding {
  animation: toast-slide-out 0.3s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

@keyframes toast-slide-in {
  from {
    transform: translateX(-120%);
    opacity: 0;
  }

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

@keyframes toast-slide-out {
  from {
    transform: translateX(0);
    opacity: 1;
  }

  to {
    transform: translateX(-120%);
    opacity: 0;
  }
}

/* ============================================
   INTEGRATIONS ORBIT
   ============================================ */
.integrations {
  overflow: hidden;
}

.integration-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-xl);
}

.integration-text {
  flex: 0 0 40%;
  text-align: left;
}

.integration-text .section-subtitle {
  margin-left: 0;
  margin-right: 0;
}

.integration-orbit-wrapper {
  flex: 0 0 60%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: var(--space-xl) 0;
}

.orbit-circle {
  position: relative;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  border: 2px dashed #ffc107;
  display: flex;
  justify-content: center;
  align-items: center;
}

.orbit-center {
  position: absolute;
  width: 165px;
  height: 165px;
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: var(--space-sm);
  z-index: 10;
}

.orbit-center img {
  max-width: 154px;
}

.orbit-item {
  position: absolute;
  top: 50%;
  left: 50%;
  --orbit-radius: 200px;
  margin-left: -70px;
  /* Adjust based on typical logo width roughly to center */
  margin-top: -20px;
  display: flex;
  justify-content: center;
  align-items: center;
  transform: rotate(calc(45deg * var(--i))) translateX(var(--orbit-radius)) rotate(calc(-45deg * var(--i)));
  z-index: 20;
}

.integration-logo {
  background: white;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: var(--fs-small);
  white-space: nowrap;
  border: 1px solid var(--border-color);
  transition: transform var(--duration-normal) var(--ease-out);
}

.integration-logo:hover {
  transform: scale(1.05);
  box-shadow: var(--shadow-lg);
}

.integration-logo .int-icon {
  display: flex;
  color: var(--primary);
  font-size: 1.2rem;
}

@media (max-width: 992px) {
  .integration-container {
    flex-direction: column;
    text-align: center;
  }

  .integration-text {
    flex: none;
    text-align: center;
  }

  .integration-text .section-subtitle {
    margin: 0 auto;
  }

  /* Revert orbit back to a simple responsive grid on mobile */
  .integration-orbit-wrapper {
    width: 100%;
    margin-top: var(--space-xl);
    padding: 0;
  }

  .orbit-circle {
    width: 100%;
    height: auto;
    border: none;
    border-radius: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-md);
  }

  .orbit-center {
    display: none;
    /* Hide the central logo on mobile to focus on the tools */
  }

  .orbit-item {
    position: static;
    transform: none !important;
    /* Override inline styles from --i */
    margin: 0;
  }

  .integration-logo {
    padding: 10px 18px;
    border-radius: var(--radius-pill);
    box-shadow: var(--shadow-sm);
    justify-content: center;
    width: auto;
    height: auto;
    border-width: 1px;
  }

  .integration-logo .int-text {
    display: inline;
  }

  .integration-logo .int-icon {
    font-size: 1.2rem;
    margin: 0;
  }
}

/* ============================================
   CONTACT US
   ============================================ */
.contact {
  background: var(--bg-light);
}

.contact-card {
  background: var(--bg-white);
  border-radius: var(--radius-xl);
  padding: 3rem var(--space-xl);
  box-shadow: var(--shadow-xl);
  max-width: 900px;
  margin: 0 auto;
  border: 1px solid var(--border-color);
}

.contact-form .form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md) var(--space-lg);
  margin-bottom: 1.5rem;
}

.contact-form .form-group.full-width {
  grid-column: span 2;
}

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

.contact-form label {
  font-size: var(--fs-xs);
  font-weight: 700;
  color: var(--text-dark);
  letter-spacing: 0.02em;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  background: var(--bg-light);
  font-family: var(--font-body);
  font-size: var(--fs-small);
  transition: all var(--duration-fast) var(--ease-out);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--primary);
  background: white;
  box-shadow: 0 0 0 4px rgba(114, 148, 181, 0.1);
}

.contact-form select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%234a6280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 1.2rem;
}

.contact-form select:invalid {
  color: #7294b5;
  opacity: 0.6;
}

.contact-form select option {
  color: var(--text-dark);
  opacity: 1;
}

@media (max-width: 768px) {
  .contact-card {
    padding: var(--space-xl) var(--space-md);
  }

  .contact-form .form-grid {
    grid-template-columns: 1fr;
  }

  .contact-form .form-group.full-width {
    grid-column: span 1;
  }
}

/* ============================================
   OFFICE LOCATION (TelHouse Style)
   ============================================ */
.office-location {
  margin-top: var(--space-lg);
  padding: var(--space-lg) 0;
  border-top: 1px solid var(--border-color);
}

.office-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr 1fr;
  gap: var(--space-xl);
  align-items: center;
}

.section-tag-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-light);
  padding: 6px 16px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 700;
  color: #4a6280;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1.5rem;
}

.office-info .section-title {
  font-size: 2rem;
  font-family: var(--font-display);
  color: var(--text-dark);
}

.detail-item {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 1rem;
}

.detail-item i {
  color: var(--primary);
  width: 18px;
  stroke-width: 2.5;
}

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

.btn-pill {
  border-radius: var(--radius-pill);
  padding: 0.75rem 2rem;
}

.office-img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 24px;
  box-shadow: var(--shadow-lg);
}

/* ============================================
   INTERACTIVE MAP
   ============================================ */
.office-map-container {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
  background: white;
  height: 400px;
}

.office-map-container iframe {
  display: block;
  height: 100%;
}

@media (max-width: 992px) {
  .office-grid {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
    text-align: center;
  }

  .office-info .section-title {
    text-align: center !important;
  }

  .detail-item {
    justify-content: center;
  }

  .office-img,
  .office-map-container {
    height: 350px;
    max-width: 600px;
    margin: 0 auto;
  }
}

/* ============================================
   AI CONTACT WIDGET
   ============================================ */
.portal-container {
  position: fixed;
  bottom: 30px;
  left: 30px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  z-index: 10000;
}

.contact-toggle {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  padding: 8px 16px 8px 8px;
  border-radius: 40px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.contact-toggle:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.toggle-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  position: relative;
}

.toggle-avatar img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.toggle-status {
  position: absolute;
  bottom: 2px;
  right: 2px;
  width: 10px;
  height: 10px;
  background: #10b981;
  border: 2px solid #fff;
  border-radius: 50%;
}

.toggle-text {
  color: #1e293b;
  font-weight: 600;
  font-size: 15px;
}

.portal-menu {
  width: 286px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
  overflow: hidden;
  display: none;
  flex-direction: column;
  animation: slideUpFade 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.portal-menu.active {
  display: flex;
}

.menu-header {
  padding: 14px 18px;
  background: #f8fafc;
  border-bottom: 1px solid #f1f5f9;
}

.menu-header h2 {
  font-size: 15px;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 2px;
}

.menu-header p {
  font-size: 11px;
  color: #64748b;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.menu-option {
  padding: 13px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  transition: background 0.2s;
  color: #475569;
  text-decoration: none;
}

.menu-option:hover {
  background: #f1f5f9;
  color: #1e293b;
}

.menu-option svg {
  width: 18px;
  height: 18px;
  opacity: 0.7;
}

.menu-option span {
  font-weight: 500;
  font-size: 14px;
}

.text-chat-card {
  width: 305px;
  height: 390px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.16);
  display: none;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.05);
  animation: slideUpFade 0.5s ease;
}

.text-chat-card.active {
  display: flex;
}

.text-chat-card[hidden] {
  display: none !important;
}

#text-chat .chat-header {
  padding: 14px 16px;
  background: var(--primary-gradient);
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
}

.chat-messages {
  flex: 1;
  padding: 14px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: #f8fafc;
}

.msg {
  max-width: 80%;
  padding: 8px 11px;
  border-radius: 14px;
  font-size: 12px;
  line-height: 1.4;
}

.msg.user {
  align-self: flex-end;
  background: var(--primary-gradient);
  color: #fff;
  border-bottom-right-radius: 4px;
}

.msg.agent {
  align-self: flex-start;
  background: rgba(114, 148, 181, 0.12);
  color: var(--primary-dark);
  border-bottom-left-radius: 4px;
  box-shadow: 0 2px 5px rgba(114, 148, 181, 0.08);
}

.chat-input-area {
  padding: 10px;
  border-top: 1px solid #e2e8f0;
  display: flex;
  gap: 8px;
}

.chat-input-area input {
  flex: 1;
  padding: 9px 12px;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  outline: none;
  font-family: inherit;
  font-size: 12px;
}

.avatar-card {
  width: 338px;
  height: 476px;
  background: #f8fafc;
  border-radius: 31px;
  border: 1px solid rgba(203, 213, 225, 0.8);
  box-shadow: 0 1px 2px rgba(30, 45, 61, 0.10);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  overflow: hidden;
  position: fixed;
  bottom: 30px;
  left: 30px;
  transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
  opacity: 0;
  transform: translateY(30px) scale(0.95);
  pointer-events: none;
  z-index: 10001;
}

.avatar-card.active {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.video-wrapper {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
  padding-top: 1px;
  background: #ffffff;
}

.branding-header {
  position: absolute;
  top: 16px;
  left: 17px;
  z-index: 10;
  animation: fadeIn 0.8s ease-out;
}

.branding-header h1 {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 13px;
  border-radius: 999px;
  font-size: 9px;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: #334155;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(203, 213, 225, 0.75);
  box-shadow: 0 4px 14px rgba(30, 45, 61, 0.06);
  opacity: 1;
}

#avatar-video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  transition: transform 1s cubic-bezier(0.25, 1, 0.5, 1);
}

#avatar-video.video-active {
  transform: translateY(-60px) scale(1.1);
}

#avatar-audio {
  display: none;
}

.status-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  padding: 4px 11px;
  background: rgba(225, 232, 240, 0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 40px;
  border: none;
  color: #111827;
  font-size: 9.5px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 10;
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #64748b;
}

.status-dot.online {
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent);
}

.status-dot.busy {
  background: var(--danger);
}

.input-panel {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 15px;
  background: linear-gradient(to top, rgba(248, 250, 252, 0.96), rgba(248, 250, 252, 0.72) 60%, transparent);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  display: flex;
  flex-direction: column;
  gap: 9px;
  z-index: 10;
}

.input-container {
  display: none;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(203, 213, 225, 0.9);
  border-radius: 16px;
  padding: 5px;
  transition: all 0.3s ease;
}

.input-container.video-input {
  display: none;
}

.input-container.video-input.active {
  display: flex;
}

.input-container:focus-within {
  background: rgba(255, 255, 255, 1);
  border-color: rgba(114, 148, 181, 0.35);
  box-shadow: 0 0 20px rgba(114, 148, 181, 0.10);
}

#user-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  padding: 8px 12px;
  font-family: var(--font-main);
  font-size: 12px;
  color: #111827;
}

#user-input::placeholder {
  color: #94a3b8;
}

#btnSendText {
  background: var(--primary);
  color: white;
  border: none;
  padding: 0 14px;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 600;
  font-size: 12px;
  transition: all 0.2s ease;
}

#btnSendText:hover {
  background: var(--primary-hover);
  transform: translateY(-1px);
}

#btnSend {
  appearance: none;
  border: 1px solid rgba(124, 144, 166, 0.32);
  background: linear-gradient(135deg, #6d87a4 0%, #5f7f9e 50%, #547695 100%);
  color: #ffffff;
  box-shadow: 0 10px 24px rgba(95, 127, 158, 0.24);
  min-width: 88px;
  height: 38px;
  padding: 0 20px;
  margin-left: 8px;
  flex: 0 0 auto;
  border-radius: 14px;
  cursor: pointer;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.01em;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

#btnSend:hover {
  filter: brightness(1.04);
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(95, 127, 158, 0.30);
}

#btnSend:active {
  transform: translateY(0);
  box-shadow: 0 8px 18px rgba(95, 127, 158, 0.20);
}

#btnSend:focus-visible {
  outline: 3px solid rgba(124, 144, 166, 0.22);
  outline-offset: 2px;
}

.controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.btn-round {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(203, 213, 225, 0.9);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #64748b;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-call {
  background: rgba(114, 148, 181, 0.16);
  color: #fff;
  border: 1px solid rgba(114, 148, 181, 0.16);
}

.btn-call:hover {
  background: var(--primary) !important;
  border-color: var(--primary) !important;
  color: white !important;
  box-shadow: 0 0 25px rgba(114, 148, 181, 0.30);
}

.btn-call.active {
  background: var(--primary);
  border-color: var(--primary);
  color: white;
  box-shadow: 0 0 30px rgba(114, 148, 181, 0.28);
  animation: pulse 2s infinite;
}

.btn-call.off {
  background: rgba(255, 255, 255, 0.92);
  color: #64748b;
  border: 1px solid rgba(203, 213, 225, 0.9);
}

.btn-hangup {
  background: rgba(255, 255, 255, 0.92);
  color: #64748b;
  border: 1px solid rgba(203, 213, 225, 0.9);
}

.btn-hangup:hover {
  background: var(--danger);
  border-color: var(--danger);
  color: white;
}

.btn-round:hover {
  transform: scale(1.08);
}

.btn-round:active {
  transform: scale(0.94);
}

.wave-loader {
  display: none;
  height: 16px;
  align-items: center;
  gap: 4px;
}

.wave-loader span {
  width: 4px;
  height: 8px;
  background: var(--accent);
  border-radius: 4px;
  animation: quiet 1.2s infinite;
  filter: drop-shadow(0 0 8px rgba(114, 148, 181, 0.45));
}

@keyframes quiet {
  0%,
  100% {
    height: 8px;
    opacity: 0.5;
    transform: scaleY(1);
  }

  50% {
    height: 18px;
    opacity: 1;
    transform: scaleY(1.2);
  }
}

.wave-loader.active {
  display: flex;
}

@keyframes slideUpFade {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

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

@media (max-width: 768px) {
  .portal-container {
    left: 16px;
    bottom: 16px;
  }

  .avatar-card {
    left: 16px;
    bottom: 16px;
    width: min(338px, calc(100vw - 32px));
    height: min(476px, calc(100vh - 32px));
  }

  .portal-menu {
    width: min(286px, calc(100vw - 32px));
  }

  .text-chat-card {
    width: min(305px, calc(100vw - 32px));
    height: min(390px, calc(100vh - 32px));
  }
}

/* ============================================
   CONTACT FORM - 2 COLUMN REFINEMENT
   ============================================ */
.contact.section {
  padding: 3rem 0;
}

.contact-card {
  max-width: 700px;
  margin: 0 auto;
  padding: 2rem;
}

.contact-form .form-grid {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 1.25rem 1.5rem;
}

.contact-form .form-group.full-width {
  grid-column: span 2 !important;
}

.phone-input-group {
  display: flex;
  gap: 0;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  background: #f8fafc;
  overflow: hidden;
  transition: border-color var(--duration-fast);
}

.phone-input-group:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(55, 177, 131, 0.1);
}

.phone-input-group select {
  background: #edf2f7;
  border: none;
  border-right: 1px solid var(--border-color);
  padding: 0 0.75rem;
  font-size: 0.9rem;
  color: var(--text-dark);
  cursor: pointer;
  width: 85px;
  outline: none;
}

.phone-input-group input {
  border: none !important;
  background: transparent !important;
  flex: 1;
  box-shadow: none !important;
}

@media (max-width: 600px) {
  .contact-form .form-grid {
    grid-template-columns: 1fr !important;
  }

  .contact-form .form-group.full-width {
    grid-column: span 1 !important;
  }

  .contact-card {
    padding: 1.5rem;
  }
}

/* --- 2026 Refresh Overrides --- */
.navbar {
  backdrop-filter: blur(18px);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(18, 58, 99, 0.08);
}

.hero::before {
  background:
    radial-gradient(circle at top left, rgba(15, 159, 147, 0.14), transparent 34%),
    radial-gradient(circle at bottom right, rgba(18, 58, 99, 0.12), transparent 38%);
}

.section-tag {
  background: rgba(18, 58, 99, 0.08);
  color: var(--primary-dark);
}

.feature-card,
.pricing-card,
.contact-card,
.faq-item,
.bento-card,
.step,
.chat-preview {
  border-color: rgba(18, 58, 99, 0.1);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.06);
}

.hero-title,
.section-title,
.pricing-card h3,
.faq-question,
.step h3,
.feature-card h3 {
  letter-spacing: -0.03em;
}

.hero-title {
  font-size: clamp(2.4rem, 3.9vw, 3.7rem);
  max-width: 18ch;
  text-wrap: balance;
}

.hero-subtitle,
.section-subtitle,
.pricing-desc,
.feature-card p,
.bento-card p,
.faq-answer p,
.footer-brand p {
  color: var(--text-body);
}

.footer-bottom {
  justify-content: center;
}

.benefits .bento-card p {
  color: rgba(255, 255, 255, 0.6);
}

.footer .footer-brand p {
  color: rgba(255, 255, 255, 0.6);
}

.nav-logo {
  position: relative;
  top: 9px;
}

.nav-logo img {
  height: 68px;
}

.nav-links a {
  font-size: 0.8rem;
}

.lang-switcher button {
  padding: 3px 9px;
  font-size: 0.68rem;
}

.nav-promo-tabs {
  gap: 10px;
  padding-bottom: 6px;
}

.nav-promo-tabs .btn,
.nav-promo-tabs #bookDemoBtn,
.nav-promo-tabs .promo-pill-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.76rem;
  padding: 0.64rem 1.3rem;
  min-height: 44px;
  line-height: 1;
}

.nav-promo-tabs .promo-pill-btn {
  padding-inline: 1.5rem;
}

@media (min-width: 769px) {
  .navbar .container {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    row-gap: 10px;
  }

  .nav-logo {
    grid-column: 1;
    justify-self: start;
  }

  .nav-links {
    grid-column: 2;
    align-self: center;
    justify-content: center;
    width: fit-content;
    justify-self: center;
  }

  .nav-right {
    grid-column: 3;
    justify-self: end;
    align-self: center;
  }

  .nav-promo-tabs {
    grid-column: 2;
    justify-self: center;
    width: fit-content;
    max-width: 100%;
    gap: 12px;
    padding-bottom: 6px;
    margin-top: 0;
  }

  .hero-visual {
    align-self: start;
    margin-top: 4px;
  }
}

@media (max-width: 768px) {
  .hero-visual {
    margin-top: 6px;
  }
}
