/* ==========================================================================
   Epoq Connect CRM Stylesheet - Zendesk-Inspired SaaS Aesthetic
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Plus+Jakarta+Sans:wght@500;700;800&display=swap');

:root {
  /* Colors - Zendesk Organic Soft Warm Theme */
  --bg-linen: #f9f6f2;
  --bg-linen-light: #fcfbf9;
  --bg-primary: #ffffff;
  --bg-mint: #f1f6f5;
  --bg-peach: #fdf5f2;

  --brand-green: #012b30;
  --brand-green-dark: #001f22;
  --brand-green-light: #e6ebec;
  --brand-coral: #f27052;
  --brand-coral-hover: #df5d40;
  --brand-yellow: #f8c146;

  --text-main: #1f3a3d;
  --text-secondary: #4c6466;
  --text-muted: #7d9699;

  --border-organic: rgba(1, 43, 48, 0.08);
  --border-active: rgba(1, 43, 48, 0.16);

  --shadow-soft: 0 10px 40px rgba(1, 43, 48, 0.03);
  --shadow-hover: 0 20px 50px rgba(1, 43, 48, 0.06);

  --font-heading: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;

  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset and Global Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

body.epoq-light-theme {
  /* Override global style.css dark theme variables & fonts */
  --text-primary: var(--text-main);
  --text-secondary: #4c6466;
  --font-heading: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;

  font-family: var(--font-body);
  background-color: var(--bg-primary) !important;
  color: var(--text-main) !important;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-heading);
  color: var(--brand-green);
  font-weight: 700;
  line-height: 1.25;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-smooth);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* UI Elements */
.badge-zendesk {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 999px;
  background-color: var(--bg-mint);
  color: var(--brand-green);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.8rem;
  border: 1px solid var(--border-organic);
  margin-bottom: 24px;
}

.badge-dot {
  width: 8px;
  height: 8px;
  background-color: var(--brand-coral);
  border-radius: 50%;
}

.btn-coral {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--brand-coral);
  color: #ffffff;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 14px 28px;
  border-radius: 99px;
  transition: var(--transition-smooth);
  border: none;
  cursor: pointer;
}

.btn-coral:hover {
  background-color: var(--brand-coral-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(242, 112, 82, 0.25);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: transparent;
  color: var(--brand-green);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 14px 28px;
  border-radius: 99px;
  border: 2px solid var(--brand-green);
  transition: var(--transition-smooth);
  cursor: pointer;
}

.btn-outline:hover {
  background-color: var(--brand-green);
  color: #ffffff;
  transform: translateY(-2px);
}

/* ==========================================================================
   Navigation Bar
   ========================================================================== */
.nav-saas-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 40px !important;
  position: fixed;
  top: 24px !important;
  left: 5% !important;
  right: 5% !important;
  width: 90% !important;
  max-width: 1200px !important;
  margin: 0 auto;
  z-index: 1000;
  background-color: rgba(249, 246, 242, 0.9) !important;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 100px !important;
  border: 1px solid var(--border-organic) !important;
  box-shadow: 0 10px 35px rgba(1, 43, 48, 0.03) !important;
  transition: var(--transition-smooth);
}

.nav-saas-container.scrolled {
  background-color: rgba(255, 255, 255, 0.98) !important;
  box-shadow: 0 12px 40px rgba(1, 43, 48, 0.05) !important;
  padding: 10px 40px !important;
  top: 15px !important;
}

.logo-text {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--brand-green);
  display: flex;
  align-items: center;
}

.logo-text span {
  font-weight: 500;
  opacity: 0.7;
  margin-left: 4px;
}

.logo-dot {
  width: 6px;
  height: 6px;
  background-color: var(--brand-coral);
  border-radius: 50%;
  margin-left: 4px;
}

.nav-saas-links {
  display: flex;
  gap: 32px;
}

.nav-saas-links a {
  font-family: var(--font-heading);
  font-weight: 500;
  color: var(--text-main);
  font-size: 0.95rem;
}

.nav-saas-links a:hover {
  color: var(--brand-coral);
}

.nav-ctas {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav-signin {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--brand-green);
  font-size: 0.95rem;
}

.nav-signin:hover {
  color: var(--brand-coral);
}

.nav-btn-trial {
  padding: 10px 22px;
  font-size: 0.85rem;
}

.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 16px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--brand-green) !important;
  transition: var(--transition-smooth);
}

/* Animated X when open (specifically using .open as toggled in epoq-connect.html) */
.hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ==========================================================================
   Hero Section (Linen Theme Split)
   ========================================================================== */
.hero-saas {
  background-color: var(--bg-linen);
  padding: 180px 0 100px 0;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border-organic);
}

.hero-layout {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 50px;
  align-items: center;
}

.hero-text h1 {
  font-size: clamp(2.5rem, 5vw, 3.8rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}

.text-gradient {
  background: linear-gradient(135deg, var(--brand-green) 30%, var(--brand-coral) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--text-secondary);
  margin-bottom: 40px;
  max-width: 520px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* ==========================================================================
   Interactive CRM Workspace Mockup
   ========================================================================== */
.hero-visual {
  position: relative;
}

.workspace-mock {
  background-color: var(--bg-primary);
  border-radius: 28px;
  border: 1px solid var(--border-organic);
  box-shadow: var(--shadow-hover);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 480px;
  position: relative;
}

.mock-titlebar {
  background-color: var(--bg-linen-light);
  border-bottom: 1px solid var(--border-organic);
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.dots-group {
  display: flex;
  gap: 6px;
}

.dot-btn {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #e5e5e5;
}

.dot-btn.close {
  background-color: #f27052;
}

.dot-btn.minimize {
  background-color: #f8c146;
}

.dot-btn.maximize {
  background-color: #a7f3d0;
}

.mock-searchbar {
  background-color: var(--bg-primary);
  border: 1px solid var(--border-organic);
  border-radius: 8px;
  padding: 5px 16px;
  font-size: 0.75rem;
  color: var(--text-muted);
  width: 100%;
  max-width: 450px;
  text-align: center;
}

.mock-body-layout {
  display: grid;
  grid-template-columns: 70px 1.35fr 1fr;
  flex: 1;
  overflow: hidden;
}

/* Mock Sidebar */
.mock-nav {
  background-color: var(--bg-linen-light);
  border-right: 1px solid var(--border-organic);
  padding: 20px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.mock-nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-secondary);
  cursor: pointer;
}

.mock-nav-item.active {
  background-color: var(--bg-mint);
  color: var(--brand-green);
  font-weight: 700;
}

.mock-nav-item span {
  font-size: 1rem;
}

/* Mock Chat Thread */
.mock-chat-thread {
  border-right: 1px solid var(--border-organic);
  display: flex;
  flex-direction: column;
  background-color: var(--bg-primary);
}

.chat-header {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-organic);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.chat-user-info {
  display: flex;
  align-items: center;
  gap: 10px;
}

.chat-avatar {
  width: 32px;
  height: 32px;
  background-color: var(--brand-yellow);
  color: var(--brand-green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
}

.chat-title {
  font-size: 0.8rem;
  font-weight: 700;
}

.chat-subtitle {
  font-size: 0.65rem;
  color: var(--text-muted);
}

.chat-body {
  flex: 1;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  overflow-y: auto;
}

.chat-msg {
  max-width: 85%;
  padding: 10px 14px;
  border-radius: 14px;
  font-size: 0.75rem;
  line-height: 1.4;
}

.chat-msg.incoming {
  background-color: var(--bg-linen);
  align-self: flex-start;
  border-bottom-left-radius: 3px;
  color: var(--text-main);
}

.chat-msg.outgoing {
  background-color: var(--brand-green);
  color: #ffffff;
  align-self: flex-end;
  border-bottom-right-radius: 3px;
}

.chat-input-area {
  padding: 12px;
  border-top: 1px solid var(--border-organic);
  display: flex;
  gap: 10px;
  align-items: center;
}

.chat-input {
  flex: 1;
  background-color: var(--bg-linen);
  border: none;
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* Mock Card Detail */
.mock-details-panel {
  background-color: var(--bg-linen-light);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.details-title {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.details-card {
  background-color: var(--bg-primary);
  border: 1px solid var(--border-organic);
  border-radius: 12px;
  padding: 14px;
  box-shadow: var(--shadow-soft);
}

.details-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
  font-size: 0.7rem;
}

.details-row:last-child {
  margin-bottom: 0;
}

.details-label {
  color: var(--text-muted);
}

.details-value {
  font-weight: 600;
  color: var(--text-main);
}

.badge-pipeline {
  padding: 2px 8px;
  border-radius: 99px;
  font-size: 0.6rem;
  font-weight: 700;
}

.badge-pipeline.active {
  background-color: #d1fae5;
  color: #065f46;
}

.counselor-pill {
  display: flex;
  align-items: center;
  gap: 6px;
  background-color: var(--bg-mint);
  border: 1px solid var(--border-organic);
  border-radius: 8px;
  padding: 6px;
  margin-top: 10px;
}

.counselor-avatar {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background-color: var(--brand-coral);
  color: #ffffff;
  font-size: 0.6rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.counselor-name {
  font-size: 0.7rem;
  font-weight: 700;
}

/* Floating Card widget */
.floating-widget {
  position: absolute;
  bottom: -20px;
  left: -20px;
  background-color: var(--bg-primary);
  border-radius: 16px;
  border: 1px solid var(--border-organic);
  box-shadow: 0 15px 40px rgba(1, 43, 48, 0.1);
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 10;
  animation: floatAnim 4s ease-in-out infinite;
}

@keyframes floatAnim {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

@keyframes pulseRed {

  0%,
  100% {
    transform: scale(0.9);
    opacity: 1;
  }

  50% {
    transform: scale(1.3);
    opacity: 0.4;
  }
}

.widget-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: #fef3c7;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.widget-text h4 {
  font-size: 0.75rem;
  font-weight: 700;
}

.widget-text p {
  font-size: 0.65rem;
  color: var(--text-muted);
}

/* ==========================================================================
   Trust / Stats Bar
   ========================================================================== */
.trust-section {
  padding: 80px 0;
  background-color: var(--bg-primary);
  border-bottom: 1px solid var(--border-organic);
}

.trust-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

.trust-title {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--text-muted);
}

.trust-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 60px;
  flex-wrap: wrap;
}

.trust-logos img {
  width: 140px;
  height: 50px;
  object-fit: contain;
  opacity: 0.9;
  transition: var(--transition-smooth);
}

.trust-logos img:hover {
  opacity: 1;
  transform: scale(1.05);
}

.stats-bar-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  width: 100%;
  max-width: 900px;
  margin-top: 20px;
  border-top: 1px solid var(--border-organic);
  padding-top: 60px;
}

.stat-item {
  text-align: center;
}

.stat-num {
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  font-weight: 800;
  color: var(--brand-green);
  line-height: 1;
  margin-bottom: 10px;
}

.stat-label {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-secondary);
}

/* ==========================================================================
   Asymmetric solutions cards (Zendesk-inspired grid)
   ========================================================================== */
.solutions-section {
  padding: 120px 0;
  background-color: var(--bg-linen-light);
}

.section-header {
  text-align: center;
  max-width: 650px;
  margin: 0 auto 80px auto;
}

.section-header h2 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.section-header p {
  color: var(--text-secondary);
  font-size: 1.1rem;
}

.asymmetric-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.solution-tile {
  border-radius: 28px;
  padding: 50px;
  border: 1px solid var(--border-organic);
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 380px;
  transition: var(--transition-smooth);
}

.solution-tile:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.tile-mint {
  background-color: var(--bg-mint);
}

.tile-peach {
  background-color: var(--bg-peach);
}

.tile-white {
  background-color: var(--bg-primary);
}

.tile-blue {
  background-color: #eff6ff;
}

.tile-purple {
  background-color: #f5f3ff;
}

.tile-lavender {
  background-color: #faf5ff;
}

.tile-blue .tile-icon,
.tile-purple .tile-icon,
.tile-lavender .tile-icon {
  background-color: #ffffff;
}

.tile-top {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.tile-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  background-color: var(--bg-primary);
  box-shadow: var(--shadow-soft);
}

.tile-mint .tile-icon {
  background-color: #ffffff;
}

.tile-peach .tile-icon {
  background-color: #ffffff;
}

.solution-tile h3 {
  font-size: 1.6rem;
  font-weight: 700;
}

.solution-tile p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
}

.tile-footer {
  margin-top: 30px;
}

.learn-more-link {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--brand-green);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.learn-more-link span {
  transition: var(--transition-smooth);
}

.learn-more-link:hover span {
  transform: translateX(4px);
}

/* ==========================================================================
   Conversational Diagram Section
   ========================================================================== */
.diagram-section {
  padding: 100px 0;
  background-color: var(--bg-primary);
  border-bottom: 1px solid var(--border-organic);
}

.diagram-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.diagram-visual {
  background-color: var(--bg-linen);
  border-radius: 28px;
  padding: 40px;
  border: 1px solid var(--border-organic);
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.diagram-bubble {
  display: flex;
  align-items: center;
  gap: 15px;
  background-color: var(--bg-primary);
  border-radius: 20px;
  padding: 16px 20px;
  border: 1px solid var(--border-organic);
  box-shadow: var(--shadow-soft);
  width: fit-content;
  max-width: 80%;
}

.diagram-bubble.user {
  align-self: flex-start;
  border-bottom-left-radius: 3px;
}

.diagram-bubble.agent {
  align-self: flex-end;
  border-bottom-right-radius: 3px;
  background-color: var(--brand-green);
  color: #ffffff;
  border-color: var(--brand-green);
}

.diagram-bubble.agent h4 {
  color: #ffffff;
}

.diagram-bubble.agent p {
  color: rgba(255, 255, 255, 0.8);
}

.bubble-icon {
  font-size: 1.5rem;
}

.bubble-text h4 {
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 2px;
}

.bubble-text p {
  font-size: 0.75rem;
  line-height: 1.4;
}

.diagram-connector {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.diagram-line {
  width: 2px;
  height: 40px;
  background-color: var(--brand-coral);
  position: relative;
}

.diagram-line::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 5px solid var(--brand-coral);
}

.diagram-pill-badge {
  background-color: var(--bg-mint);
  border: 1px solid var(--border-organic);
  padding: 6px 16px;
  border-radius: 99px;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--brand-green);
  font-family: var(--font-heading);
}

.diagram-feature-list {
  list-style: none;
  padding: 0;
  margin: 20px 0 0 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.diagram-feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.dfl-icon {
  font-size: 1.1rem;
  flex-shrink: 0;
  margin-top: 1px;
}

/* ==========================================================================
   Core Capabilities Bento Grid
   ========================================================================== */
.capabilities-section {
  padding: 100px 0;
  background-color: var(--bg-primary);
  border-top: 1px solid var(--border-organic);
}

.capabilities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 0;
}

.capability-card {
  background-color: var(--bg-linen-light);
  border: 1px solid var(--border-organic);
  border-radius: 24px;
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: var(--transition-smooth);
  box-shadow: var(--shadow-soft);
  position: relative;
  overflow: hidden;
}

.capability-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--border-organic), transparent);
  transition: var(--transition-smooth);
}

.capability-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: var(--border-active);
  background-color: var(--bg-primary);
}

.capability-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
  margin-bottom: 4px;
}

/* Icon color variants */
.cap-blue {
  background-color: #dbeafe;
}

.cap-purple {
  background-color: #ede9fe;
}

.cap-green {
  background-color: #dcfce7;
}

.cap-yellow {
  background-color: #fef9c3;
}

.cap-mint {
  background-color: #ccfbf1;
}

.cap-pink {
  background-color: #fce7f3;
}

.cap-red {
  background-color: #fee2e2;
}

.cap-teal {
  background-color: #cffafe;
}

.cap-orange {
  background-color: #ffedd5;
}

.capability-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--brand-green);
  line-height: 1.3;
}

.capability-card p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ==========================================================================
   Compare CRM Switcher Panel
   ========================================================================== */
.compare-section {
  padding: 120px 0;
  background-color: var(--bg-linen-light);
}

.compare-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: start;
}

.compare-tabs {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 30px;
}

.compare-tab-btn {
  background: var(--bg-primary);
  border: 1px solid var(--border-organic);
  padding: 24px;
  border-radius: 18px;
  text-align: left;
  cursor: pointer;
  box-shadow: var(--shadow-soft);
  transition: var(--transition-smooth);
  display: flex;
  align-items: flex-start;
  gap: 16px;
  border-left: 1px solid var(--border-organic);
}

.compare-tab-btn:hover {
  transform: translateX(4px) translateY(-2px);
  border-color: var(--brand-green);
  background-color: #ffffff;
  box-shadow: var(--shadow-hover);
}

.compare-tab-btn.active {
  border-color: var(--brand-coral) !important;
  background: linear-gradient(135deg, var(--bg-mint) 0%, #ffffff 100%) !important;
  color: var(--brand-green) !important;
  border-left: 5px solid var(--brand-coral) !important;
  transform: translateX(6px) scale(1.02);
  box-shadow: 0 10px 25px rgba(1, 43, 48, 0.08);
}

.compare-tab-btn.active h4 {
  color: var(--brand-green) !important;
}

.compare-tab-btn.active p {
  color: var(--text-secondary) !important;
}

.compare-tab-btn.active .compare-icon {
  transform: scale(1.2);
  color: var(--brand-coral);
  transition: var(--transition-smooth);
}

.compare-tab-btn h4 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--brand-green);
  transition: var(--transition-smooth);
}

.compare-tab-btn p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
  transition: var(--transition-smooth);
}

.compare-icon {
  font-size: 1.4rem;
  color: var(--text-muted);
  transition: var(--transition-smooth);
}

.compare-content-box {
  background-color: var(--bg-primary);
  border-radius: 28px;
  border: 1px solid var(--border-organic);
  padding: 50px;
  box-shadow: var(--shadow-soft);
  min-height: 480px;
  position: relative;
}

.compare-panel-content {
  display: none;
  animation: fadeIn 0.4s ease-out forwards;
}

.compare-panel-content.active {
  display: block;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.compare-panel-header {
  margin-bottom: 30px;
}

.compare-panel-header h3 {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.compare-panel-header p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.compare-split-view {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.compare-column {
  background-color: var(--bg-linen-light);
  border-radius: 20px;
  padding: 30px;
  border: 1px solid var(--border-organic);
  transition: var(--transition-smooth);
  box-shadow: var(--shadow-soft);
}

.compare-column.highlighted {
  background-color: var(--bg-mint);
  border: 2px solid var(--brand-coral);
  box-shadow: 0 15px 35px rgba(242, 112, 82, 0.15);
  transform: translateY(-4px) scale(1.02);
  position: relative;
  z-index: 2;
}

.compare-column:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.col-header {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  color: var(--brand-green);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.col-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
  margin-bottom: 16px;
  line-height: 1.4;
  color: var(--text-secondary);
}

.col-item:last-child {
  margin-bottom: 0;
}

.item-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background-color: #10b981;
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 800;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(16, 185, 129, 0.3);
}

.item-cross {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: #fee2e2;
  color: #dc2626;
  font-size: 0.65rem;
  font-weight: 800;
  flex-shrink: 0;
}

/* ==========================================================================
   Pricing Section (Linen/Green styling)
   ========================================================================== */
.pricing-section {
  padding: 120px 0;
  background-color: var(--bg-primary);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 50px;
}

.pricing-card {
  background-color: var(--bg-linen-light);
  border-radius: 28px;
  border: 1px solid var(--border-organic);
  padding: 50px 40px;
  box-shadow: var(--shadow-soft);
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 480px;
  transition: var(--transition-smooth);
}

.pricing-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.pricing-card.featured {
  background-color: var(--brand-green);
  color: #ffffff;
  border-color: var(--brand-green);
}

.pricing-card.featured h3,
.pricing-card.featured .price,
.pricing-card.featured .pricing-features li {
  color: #ffffff;
}

.pricing-card.featured .btn-outline {
  border-color: #ffffff;
  color: #ffffff;
}

.pricing-card.featured .btn-outline:hover {
  background-color: #ffffff;
  color: var(--brand-green);
}

.popular-tag {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--brand-coral);
  color: #ffffff;
  padding: 6px 18px;
  border-radius: 99px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  box-shadow: 0 4px 15px rgba(242, 112, 82, 0.2);
}

.plan-name {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.billing-cycle {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.pricing-card.featured .billing-cycle {
  color: rgba(255, 255, 255, 0.65);
}

.price {
  font-size: 3.2rem;
  font-weight: 800;
  color: var(--brand-green);
  line-height: 1;
  margin-bottom: 30px;
}

.price span {
  font-size: 1.5rem;
  font-weight: 500;
}

.pricing-features {
  list-style: none;
  margin-bottom: 40px;
}

.pricing-features li {
  display: flex;
  gap: 12px;
  font-size: 0.9rem;
  margin-bottom: 12px;
  color: var(--text-secondary);
}

.pricing-features li:last-child {
  margin-bottom: 0;
}

/* ==========================================================================
   Testimonial Slider
   ========================================================================== */
.testimonials-section {
  padding: 120px 0;
  background-color: var(--bg-linen);
  border-top: 1px solid var(--border-organic);
  border-bottom: 1px solid var(--border-organic);
}

.slider-container {
  position: relative;
  overflow: hidden;
  max-width: 900px;
  margin: 0 auto;
}

.slider-track {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  gap: 0 !important;
  /* Override style.css gap to fix slide alignment */
}

.testimonial-card {
  flex: 0 0 100%;
  background-color: var(--bg-primary);
  border-radius: 28px;
  padding: 60px;
  border: 1px solid var(--border-organic);
  box-shadow: var(--shadow-soft);
  text-align: center;
  box-sizing: border-box;
  /* Ensure padding doesn't increase width */
}

.stars {
  color: var(--brand-yellow);
  font-size: 1.3rem;
  margin-bottom: 24px;
}

.testimonial-text {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--brand-green) !important;
  line-height: 1.5;
  margin-bottom: 36px;
  letter-spacing: -0.01em;
}

.testimonial-author {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.author-name {
  font-family: var(--font-heading);
  font-weight: 750;
  font-size: 1.05rem;
  color: var(--brand-green);
}

.author-role {
  font-size: 0.85rem;
  color: var(--brand-coral);
  font-weight: 600;
}

.slider-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-top: 40px;
}

.slider-btn {
  background-color: var(--bg-primary) !important;
  border: 1px solid var(--border-organic) !important;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-soft);
  transition: var(--transition-smooth);
  color: var(--brand-green) !important;
}

.slider-btn:hover {
  background-color: var(--brand-green);
  color: #ffffff;
  border-color: var(--brand-green);
}

.slider-btn svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
}

.slider-dots {
  display: flex;
  gap: 8px;
}

.slider-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--border-organic);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.slider-dot.active {
  background-color: var(--brand-coral);
  width: 24px;
  border-radius: 4px;
}

/* ==========================================================================
   Call To Action (Zendesk-inspired Banner)
   ========================================================================== */
.cta-section {
  padding: 120px 0;
  background-color: var(--bg-primary);
}

.cta-banner {
  background-color: var(--brand-green);
  border-radius: 36px;
  padding: 80px;
  color: #ffffff;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-hover);
}

.cta-banner h2 {
  color: #ffffff;
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
  position: relative;
  z-index: 2;
}

.cta-banner p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.15rem;
  max-width: 600px;
  margin: 0 auto 40px auto;
  position: relative;
  z-index: 2;
  line-height: 1.6;
}

.cta-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  position: relative;
  z-index: 2;
  flex-wrap: wrap;
}

.cta-banner .btn-coral {
  box-shadow: none;
}

.cta-banner .btn-outline {
  border-color: rgba(255, 255, 255, 0.3);
  color: #ffffff;
}

.cta-banner .btn-outline:hover {
  background-color: #ffffff;
  color: var(--brand-green);
  border-color: #ffffff;
}

/* Background circles */
.cta-circle {
  position: absolute;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.02);
  z-index: 1;
}

.cta-circle-1 {
  width: 400px;
  height: 400px;
  top: -150px;
  right: -100px;
}

.cta-circle-2 {
  width: 300px;
  height: 300px;
  bottom: -100px;
  left: -50px;
}

/* ==========================================================================
   Contact Details Block
   ========================================================================== */
.contact-section {
  padding: 100px 0;
  background-color: var(--bg-linen);
  border-top: 1px solid var(--border-organic);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: start;
}

.contact-details h2 {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.3;
}

.contact-desc {
  color: var(--text-secondary);
  margin-bottom: 30px;
  font-size: 1.05rem;
}

.map-wrapper {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--border-organic);
  line-height: 0;
}

.contact-cards {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-card {
  background-color: var(--bg-primary);
  border: 1px solid var(--border-organic);
  border-radius: 20px;
  padding: 30px;
  box-shadow: var(--shadow-soft);
}

.contact-card h4 {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 12px;
  letter-spacing: 0.05em;
}

.contact-numbers,
.contact-emails {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.contact-numbers a,
.contact-emails a {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--brand-green);
}

.contact-numbers a:hover,
.contact-emails a:hover {
  color: var(--brand-coral);
}

/* ==========================================================================
   Footer (Zendesk-inspired deep forest-green footer)
   ========================================================================== */
.footer-saas {
  background-color: var(--brand-green-dark);
  padding: 80px 0 40px 0;
  color: rgba(255, 255, 255, 0.7);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.9rem;
}

.footer-saas h3,
.footer-saas h4 {
  color: #ffffff;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr 1.5fr;
  gap: 35px;
  margin-bottom: 60px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-brand .logo {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.4rem;
  color: #ffffff;
}

.footer-brand p {
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.5);
}

.footer-links-col {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-links-col h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
}

.footer-links-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links-col a {
  color: rgba(255, 255, 255, 0.6);
  font-weight: 500;
}

.footer-links-col a:hover {
  color: #ffffff;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.8rem;
}

.footer-bottom-links {
  display: flex;
  gap: 24px;
}

.footer-bottom-links a {
  color: rgba(255, 255, 255, 0.45);
}

.footer-bottom-links a:hover {
  color: #ffffff;
}

/* ==========================================================================
   FAQ Section
   ========================================================================== */
.faq-saas {
  padding: 100px 5%;
  background: var(--bg-peach);
  border-top: 1px solid var(--border-organic);
}

.faq-list {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: var(--bg-primary);
  border: 1px solid var(--border-organic);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: all 0.3s ease;
}

.faq-item:hover {
  border-color: var(--brand-green);
  box-shadow: var(--shadow-hover);
}

.faq-question-btn {
  width: 100%;
  background: none;
  border: none;
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text-primary);
  padding: 24px 30px;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.faq-toggle-icon {
  width: 32px;
  height: 32px;
  color: var(--text-muted);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: var(--bg-linen);
  border-radius: 50%;
  font-weight: 800;
  font-size: 1.2rem;
}

.faq-item.active .faq-toggle-icon {
  transform: rotate(45deg);
  background: #f0fdf4;
  color: var(--brand-green);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-answer-inner {
  padding: 0 30px 24px 30px;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.65;
}

.faq-item.active .faq-answer {
  max-height: 500px;
}

/* ==========================================================================
   Responsive Adaptations
   ========================================================================== */
@media (max-width: 1024px) {

  .hero-layout,
  .compare-layout,
  .diagram-layout,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .diagram-layout .diagram-visual {
    order: -1;
  }

  .hero-text {
    text-align: center;
  }

  .hero-subtitle {
    margin: 0 auto 40px auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .asymmetric-grid,
  .pricing-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}

/* Follow-up Timeline Mockup Styles */
.followup-timeline-body {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 20px;
  height: 100%;
  overflow-y: auto;
  background-color: var(--bg-primary);
}

.timeline-status-bar {
  display: flex;
  justify-content: space-around;
  align-items: center;
  background-color: var(--bg-linen-light);
  border: 1px solid var(--border-organic);
  border-radius: 12px;
  padding: 8px 12px;
  font-size: 0.7rem;
  color: var(--text-secondary);
}

.status-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 500;
}

.status-item.scheduled {
  color: #16a34a;
  font-weight: 700;
}

.metric-mini-val.status-scheduled {
  color: #16a34a;
}

.activity-timeline {
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  padding-left: 14px;
  text-align: left;
}

.activity-timeline::before {
  content: '';
  position: absolute;
  top: 6px;
  left: 3px;
  bottom: 6px;
  width: 2px;
  background-color: var(--border-organic);
}

.timeline-log-item {
  position: relative;
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.timeline-log-dot {
  position: absolute;
  left: -14px;
  top: 6px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--border-active);
  z-index: 2;
}

.timeline-log-dot.active {
  background-color: var(--brand-green);
  box-shadow: 0 0 0 3px rgba(1, 43, 48, 0.1);
}

.timeline-log-dot.pending {
  background-color: var(--brand-coral);
  box-shadow: 0 0 0 3px rgba(242, 112, 82, 0.2);
}

.timeline-log-info {
  flex: 1;
}

.log-title-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 3px;
}

.log-event {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--brand-green);
}

.log-time {
  font-size: 0.65rem;
  color: var(--text-muted);
}

.log-desc {
  font-size: 0.7rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

.timeline-log-item.next-action {
  background-color: var(--bg-peach);
  border: 1px solid rgba(242, 112, 82, 0.1);
  border-radius: 10px;
  padding: 10px;
  margin-left: -6px;
}

.timeline-log-item.next-action .timeline-log-dot {
  left: -8px;
}

/* ==========================================================================
   MOBILE RESPONSIVE — Fixes Google Search Console Mobile Usability Issues:
   1. "Text too small to read"  — enforce min 14px font, min 44px touch targets
   2. "Clickable elements too close together" — add gap/padding to all buttons
   ========================================================================== */

/* ---- Tablet: 768px and below ---- */
@media (max-width: 768px) {

  /* --- Navigation --- */
  .nav-saas-container {
    padding: 12px 20px !important;
    top: 12px !important;
    left: 3% !important;
    right: 3% !important;
    width: 94% !important;
    border-radius: 20px !important;
  }

  .nav-saas-links,
  .nav-signin,
  .nav-saas-container .btn-coral {
    display: none;
  }

  .hamburger {
    display: flex;
    width: 32px;
    height: 22px;
    padding: 8px;
    /* Minimum 44px touch target */
    min-width: 44px;
    min-height: 44px;
    align-items: center;
    justify-content: center;
  }

  /* Mobile menu dropdown */
  .nav-saas-links.mobile-active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background-color: var(--bg-primary);
    padding: 24px 24px 28px;
    box-shadow: var(--shadow-hover);
    border: 1px solid var(--border-organic);
    border-radius: 20px;
    gap: 4px;
    z-index: 999;
  }

  /* Mobile nav links — large touch targets */
  .nav-saas-links.mobile-active a {
    font-size: 1rem;
    /* min readable: 16px */
    font-weight: 600;
    padding: 12px 16px;
    /* ≥44px touch height */
    border-radius: 10px;
    display: block;
    min-height: 44px;
    display: flex;
    align-items: center;
  }

  .nav-saas-links.mobile-active a:hover {
    background-color: var(--bg-mint);
    color: var(--brand-coral);
  }

  /* --- Hero Section --- */
  .hero-saas {
    padding: 120px 0 60px 0;
  }

  .hero-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-text h1 {
    font-size: clamp(2rem, 7vw, 2.8rem);
  }

  .hero-subtitle {
    font-size: 1rem;
    /* min 16px */
    margin-bottom: 32px;
  }

  /* Hero action buttons — big enough to tap */
  .hero-actions {
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
  }

  .hero-actions .btn-coral,
  .hero-actions .btn-outline {
    font-size: 1rem;
    /* 16px minimum */
    padding: 16px 32px;
    /* generous tap area */
    min-height: 52px;
    width: 100%;
    justify-content: center;
  }

  /* Hide complex mockup on small screens */
  .hero-visual {
    display: none;
  }

  /* --- Trust Section --- */
  .trust-section {
    padding: 50px 0;
  }

  .trust-logos {
    gap: 28px;
  }

  .trust-logos img {
    width: 100px;
    height: 40px;
  }

  .stats-bar-grid {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-top: 40px;
  }

  .stat-label {
    font-size: 0.9rem;
    /* 14.4px — readable */
  }

  /* --- Solutions Section --- */
  .solutions-section {
    padding: 70px 0;
  }

  .asymmetric-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .solution-tile {
    padding: 32px 24px;
    border-radius: 20px;
    min-height: auto;
  }

  .solution-tile h3 {
    font-size: 1.3rem;
    /* readable heading */
  }

  .solution-tile p {
    font-size: 0.95rem;
    /* 15.2px — readable */
  }

  /* Learn more links — tap target */
  .learn-more-link {
    font-size: 1rem;
    padding: 8px 0;
    display: inline-flex;
    min-height: 44px;
    align-items: center;
  }

  /* --- Capabilities Grid --- */
  .capabilities-section {
    padding: 60px 0;
  }

  .capabilities-grid {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .capability-card {
    padding: 24px 20px;
    border-radius: 18px;
    gap: 12px;
  }

  .capability-card h3 {
    font-size: 0.95rem;
    /* 15.2px — readable */
  }

  .capability-card p {
    font-size: 0.875rem;
    /* 14px minimum */
  }

  /* --- Diagram Sections --- */
  .diagram-section {
    padding: 60px 0;
  }

  .diagram-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .diagram-visual {
    padding: 24px;
    gap: 20px;
  }

  .diagram-bubble {
    max-width: 100%;
    padding: 14px 16px;
  }

  .bubble-text h4 {
    font-size: 0.9rem;
    /* 14.4px — readable */
  }

  .bubble-text p {
    font-size: 0.825rem;
    /* 13.2px — acceptable in mockup UI */
  }

  .diagram-pill-badge {
    font-size: 0.75rem;
    /* 12px, small but in decorative context */
    padding: 8px 14px;
  }

  .diagram-feature-list li {
    font-size: 0.9rem;
    /* 14.4px — readable */
  }

  .diagram-text h2 {
    font-size: clamp(1.6rem, 5vw, 2.2rem);
  }

  /* --- Compare Section --- */
  .compare-section {
    padding: 60px 0;
  }

  .compare-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  /* Compare tab buttons — big tap targets */
  .compare-tab-btn {
    padding: 20px 18px;
    min-height: 64px;
    border-radius: 16px;
  }

  .compare-tab-btn h4 {
    font-size: 1rem;
    /* 16px */
  }

  .compare-tab-btn p {
    font-size: 0.875rem;
    /* 14px */
  }

  .compare-content-box {
    padding: 28px 20px;
    border-radius: 20px;
  }

  .compare-split-view {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .compare-col-title {
    font-size: 0.85rem;
  }

  .compare-item {
    font-size: 0.875rem;
    /* 14px */
    padding: 10px 0;
    /* spacing between items */
    min-height: 44px;
    align-items: center;
  }

  /* --- Pricing Section --- */
  .pricing-section {
    padding: 60px 0;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .pricing-card {
    padding: 32px 24px;
    border-radius: 20px;
  }

  .pricing-card .btn-coral,
  .pricing-card .btn-outline {
    font-size: 1rem;
    /* 16px */
    padding: 16px 24px;
    min-height: 52px;
    width: 100%;
    text-align: center;
    justify-content: center;
    margin-top: 8px;
  }

  .price-amount {
    font-size: clamp(2rem, 8vw, 2.8rem);
  }

  /* Pricing feature list items */
  .pricing-feature {
    font-size: 0.9rem;
    /* 14.4px */
    padding: 6px 0;
    gap: 10px;
    min-height: 36px;
    align-items: center;
  }

  /* --- Testimonials --- */
  .testimonials-section {
    padding: 60px 0;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .testimonial-card {
    padding: 28px 22px;
    border-radius: 20px;
  }

  .testimonial-text {
    font-size: 0.95rem;
    /* 15.2px */
  }

  .testimonial-author-name {
    font-size: 0.9rem;
  }

  /* --- Section headers --- */
  .section-header {
    margin-bottom: 40px;
  }

  .section-header h2 {
    font-size: clamp(1.7rem, 5.5vw, 2.2rem);
    margin-bottom: 16px;
  }

  .section-header p {
    font-size: 0.95rem;
    /* 15.2px */
  }

  /* --- CTA Banner --- */
  .cta-banner {
    padding: 48px 24px;
    border-radius: 20px;
  }

  .cta-banner h2 {
    font-size: clamp(1.6rem, 5vw, 2rem);
    margin-bottom: 16px;
  }

  .cta-banner p {
    font-size: 0.95rem;
  }

  .cta-banner .btn-coral {
    font-size: 1rem;
    padding: 16px 32px;
    min-height: 52px;
    width: 100%;
    max-width: 320px;
    justify-content: center;
  }

  /* --- Contact Form --- */
  .contact-section {
    padding: 60px 0;
  }

  .contact-form-input,
  .contact-form-textarea,
  .contact-form-select {
    font-size: 1rem;
    /* 16px prevents iOS auto-zoom */
    padding: 14px 16px;
    min-height: 52px;
  }

  .contact-form-submit {
    font-size: 1rem;
    padding: 16px 24px;
    min-height: 52px;
    width: 100%;
  }

  /* --- Footer --- */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-links a {
    font-size: 0.9rem;
    /* 14.4px */
    padding: 6px 0;
    display: inline-block;
    min-height: 36px;
    line-height: 36px;
  }

  /* --- Misc fixes --- */
  .floating-widget {
    display: none;
  }

  .workspace-mock {
    height: 340px;
  }

  .mock-body-layout {
    grid-template-columns: 1fr;
  }

  .mock-nav,
  .mock-details-panel {
    display: none;
  }

  /* Badge readability */
  .badge-zendesk {
    font-size: 0.8rem;
    padding: 6px 14px;
  }
}

/* ---- Small phones: 480px and below ---- */
@media (max-width: 480px) {

  .capabilities-grid {
    grid-template-columns: 1fr;
  }

  .hero-text h1 {
    font-size: clamp(1.8rem, 8vw, 2.4rem);
  }

  .hero-subtitle {
    font-size: 0.95rem;
  }

  .solution-tile h3 {
    font-size: 1.15rem;
  }

  .trust-logos {
    gap: 20px;
  }

  .trust-logos img {
    width: 80px;
    height: 35px;
  }

  /* Ensure ALL buttons are minimum 44px tall */
  .btn-coral,
  .btn-outline {
    min-height: 48px;
    font-size: 1rem;
    padding: 14px 24px;
  }
}