/* ==========================================================================
   NEXUS CRM - STYLESHEET
   Design System: Modern B2B SaaS • High-End Enterprise Aesthetic
   Colors derived from Nexus Logo (#2625BF & #63A5FC)
   Layout: Ultra-wide full breadth with minimal side margins
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. CSS Custom Properties / Design Tokens
   -------------------------------------------------------------------------- */
:root {
  /* Brand Primary Palette (Nexus Logo) */
  --color-primary: #2625bf;
  --color-primary-hover: #1e1db0;
  --color-primary-dark: #161587;
  --color-primary-light: #4342e0;
  --color-primary-subtle: #eef2ff;
  --color-primary-glow: rgba(38, 37, 191, 0.25);

  /* Brand Secondary / Accent Palette */
  --color-accent: #3b82f6;
  --color-accent-light: #63a5fc;
  --color-accent-cyan: #38bdf8;
  --color-accent-glow: rgba(99, 165, 252, 0.35);

  /* Dark & High-Contrast Tech Palette */
  --color-obsidian: #090d1a;
  --color-dark-navy: #0e1726;
  --color-dark-surface: #131d31;
  --color-dark-border: #1e293b;
  --color-dark-text-muted: #94a3b8;

  /* Light Surfaces & Neutrals */
  --color-white: #ffffff;
  --color-surface-light: #f8fafc;
  --color-surface-subtle: #f1f5f9;
  --color-surface-alt: #f3f6fb;
  --color-border: #e2e8f0;
  --color-border-hover: #cbd5e1;

  /* Typography Colors */
  --color-text-main: #0f172a;
  --color-text-muted: #475569;
  --color-text-light: #64748b;
  --color-text-white: #ffffff;

  /* Status Colors */
  --color-success: #10b981;
  --color-success-subtle: #ecfdf5;
  --color-warning: #f59e0b;
  --color-danger: #ef4444;
  --color-danger-subtle: #fef2f2;
  --color-whatsapp: #25d366;

  /* Typography Fonts - Poppins Across Entire Website */
  --font-heading: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Layout & Sizing - Wide breadth with minimal side margins */
  --container-max: 1600px;
  --header-height: 80px;
  --header-compact-height: 68px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Elevation & Shadows */
  --shadow-xs: 0 1px 2px 0 rgba(15, 23, 42, 0.05);
  --shadow-sm: 0 4px 6px -1px rgba(15, 23, 42, 0.07), 0 2px 4px -2px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 10px 15px -3px rgba(15, 23, 42, 0.08), 0 4px 6px -4px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 20px 25px -5px rgba(15, 23, 42, 0.08), 0 8px 10px -6px rgba(15, 23, 42, 0.04);
  --shadow-xl: 0 25px 50px -12px rgba(15, 23, 42, 0.14);
  --shadow-glow-primary: 0 10px 30px -5px rgba(38, 37, 191, 0.3);
  --shadow-glow-accent: 0 10px 30px -5px rgba(99, 165, 252, 0.35);

  /* Transitions */
  --transition-fast: 0.15s ease;
  --transition-base: 0.25s ease;
  --transition-smooth: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --------------------------------------------------------------------------
   2. Reset & Global Styles with Tech Grid Boxes Background
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  scrollbar-width: thin;
  scrollbar-color: #93c5fd #f1f5f9;
  overflow-x: hidden;
  max-width: 100vw;
  width: 100%;
}

/* Custom Thin Theme Scrollbar */
::-webkit-scrollbar {
  width: 7px;
  height: 7px;
}

::-webkit-scrollbar-track {
  background: #f8fafc;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #93c5fd 0%, #60a5fa 100%);
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  transition: background 0.2s ease;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #60a5fa 0%, #3b82f6 100%);
}

body {
  font-family: var(--font-body);
  color: var(--color-text-main);
  background-color: #fcfdfe;
  background-image: 
    linear-gradient(to right, rgba(38, 37, 191, 0.038) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(38, 37, 191, 0.038) 1px, transparent 1px);
  background-size: 40px 40px;
  line-height: 1.65;
  overflow-x: hidden;
  max-width: 100vw;
  width: 100%;
  position: relative;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

ul {
  list-style: none;
}

button, input, select, textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

/* --------------------------------------------------------------------------
   3. Ambient Decorative Glows
   -------------------------------------------------------------------------- */
.ambient-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.6;
}

.glow-top-left {
  top: -150px;
  left: -150px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(99, 165, 252, 0.25) 0%, rgba(38, 37, 191, 0.08) 70%, transparent 100%);
}

.glow-hero-center {
  top: 100px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 600px;
  background: radial-gradient(circle, rgba(38, 37, 191, 0.12) 0%, rgba(99, 165, 252, 0.15) 50%, transparent 80%);
}

.glow-middle-right {
  top: 1200px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.18) 0%, rgba(38, 37, 191, 0.08) 60%, transparent 100%);
}

/* --------------------------------------------------------------------------
   4. Layout & Container (Ultra-wide with minimal side margins)
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 16px;
  padding-right: 16px;
  position: relative;
  z-index: 1;
}

.section-padding {
  padding-top: 90px;
  padding-bottom: 90px;
  position: relative;
}

.bg-white {
  background-color: #ffffff;
}

.bg-light-surface {
  background-color: var(--color-surface-light);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

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

.hidden-mobile {
  display: inline;
}

/* Grid Utilities */
.grid {
  display: grid;
  gap: 24px;
}

.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

/* --------------------------------------------------------------------------
   5. Section Header & Typography
   -------------------------------------------------------------------------- */
.section-header {
  max-width: 920px;
  margin: 0 auto 52px auto;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: var(--color-primary-subtle);
  border: 1px solid rgba(38, 37, 191, 0.15);
  border-radius: var(--radius-full);
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 16px;
  letter-spacing: 0.02em;
}

.section-badge i {
  font-size: 0.85rem;
}

.badge-dark {
  background: rgba(99, 165, 252, 0.12);
  border-color: rgba(99, 165, 252, 0.25);
  color: var(--color-accent-light);
}

.badge-sitesoch {
  background: rgba(38, 37, 191, 0.1);
  color: var(--color-primary);
}

.badge-light-on-dark {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2.6rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-text-main);
  letter-spacing: -0.025em;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.12rem;
  color: var(--color-text-muted);
  line-height: 1.65;
  font-weight: 400;
}

.gradient-text {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 55%, var(--color-accent-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gradient-text-tech {
  background: linear-gradient(135deg, #60a5fa 0%, #93c5fd 50%, #ffffff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* --------------------------------------------------------------------------
   6. Buttons & Interactive Elements
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 0.96rem;
  font-weight: 600;
  padding: 13px 26px;
  border-radius: var(--radius-md);
  transition: all var(--transition-smooth);
  text-decoration: none;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn-sm {
  padding: 9px 18px;
  font-size: 0.88rem;
  border-radius: var(--radius-sm);
}

.btn-lg {
  padding: 15px 32px;
  font-size: 1.05rem;
  border-radius: var(--radius-md);
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-primary) 0%, #3030cf 50%, var(--color-accent) 100%);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(38, 37, 191, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #1f1ea8 0%, var(--color-primary) 50%, #2563eb 100%);
  box-shadow: 0 8px 24px rgba(38, 37, 191, 0.4);
  transform: translateY(-2px);
  color: #ffffff;
}

.btn-secondary {
  background: #ffffff;
  color: var(--color-text-main);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
  background: var(--color-primary-subtle);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-block {
  width: 100%;
}

.shadow-glow {
  box-shadow: 0 0 25px rgba(99, 165, 252, 0.35);
}

/* --------------------------------------------------------------------------
   7. Header & Navigation (Ultra-wide)
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.7);
  z-index: 1000;
  transition: height var(--transition-smooth), background var(--transition-smooth), box-shadow var(--transition-smooth);
}

.site-header.is-compact {
  height: var(--header-compact-height);
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.08);
}

.nav-container {
  width: 100%;
  max-width: var(--container-max);
  height: 100%;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.logo-box {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(38, 37, 191, 0.12);
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.06);
  padding: 2px;
}

.brand-logo {
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

.brand-text {
  display: flex;
  align-items: baseline;
  gap: 5px;
}

.brand-title {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--color-primary);
  letter-spacing: -0.03em;
}

.brand-badge {
  font-size: 0.72rem;
  font-weight: 800;
  background: var(--color-accent-light);
  color: #ffffff;
  padding: 2px 6px;
  border-radius: 4px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.desktop-nav {
  display: block;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 34px;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--color-text-muted);
  position: relative;
  padding: 6px 0;
  transition: color var(--transition-fast);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--color-primary);
  border-radius: 2px;
  transition: width var(--transition-smooth);
}

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

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

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 42px;
  height: 42px;
  padding: 8px;
  background: var(--color-surface-light);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  gap: 5px;
  transition: background var(--transition-fast);
}

.mobile-toggle:hover {
  background: var(--color-primary-subtle);
  border-color: var(--color-primary);
}

.hamburger-bar {
  width: 20px;
  height: 2px;
  background-color: var(--color-text-main);
  border-radius: 2px;
  transition: transform var(--transition-smooth), opacity var(--transition-smooth);
}

/* Mobile Toggle Open Animation */
.mobile-toggle[aria-expanded="true"] .hamburger-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.mobile-toggle[aria-expanded="true"] .hamburger-bar:nth-child(2) {
  opacity: 0;
}

.mobile-toggle[aria-expanded="true"] .hamburger-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Drawer */
.mobile-nav {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  max-height: calc(100vh - var(--header-height));
  overflow-y: auto;
  background: #ffffff;
  border-bottom: 1px solid var(--color-border);
  box-shadow: var(--shadow-xl);
  padding: 24px;
  transform: translateY(-10px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: all var(--transition-smooth);
  z-index: 999;
}

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

.mobile-nav-menu {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 24px;
}

.mobile-nav-link {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--color-text-main);
  padding: 8px 0;
  display: block;
  border-bottom: 1px solid var(--color-surface-subtle);
}

.mobile-nav-link:hover {
  color: var(--color-primary);
  padding-left: 6px;
}

/* --------------------------------------------------------------------------
   8. Hero Section (Expansive Layout)
   -------------------------------------------------------------------------- */
.hero-section {
  padding-top: 50px;
  padding-bottom: 80px;
  position: relative;
  overflow: hidden;
}

.hero-container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-content {
  max-width: 1080px;
  margin-bottom: 50px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #ffffff;
  border: 1px solid rgba(38, 37, 191, 0.18);
  box-shadow: 0 4px 12px rgba(38, 37, 191, 0.08);
  padding: 7px 18px;
  border-radius: var(--radius-full);
  margin-bottom: 22px;
}

.badge-dot {
  width: 8px;
  height: 8px;
  background-color: var(--color-primary);
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(38, 37, 191, 0.2);
  animation: pulse-dot 2s infinite ease-in-out;
}

@keyframes pulse-dot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.4); opacity: 0.6; }
}

.badge-text {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--color-primary);
}

.badge-icon {
  color: var(--color-accent);
  font-size: 0.85rem;
}

.hero-headline {
  font-family: var(--font-heading);
  font-size: 3.8rem;
  font-weight: 800;
  line-height: 1.14;
  letter-spacing: -0.035em;
  color: var(--color-text-main);
  margin-bottom: 20px;
}

.hero-subtext {
  font-size: 1.25rem;
  line-height: 1.62;
  color: var(--color-text-muted);
  max-width: 860px;
  margin: 0 auto 32px auto;
  font-weight: 400;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-bottom: 28px;
}

.hero-trust-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  font-size: 0.94rem;
  font-weight: 500;
  color: var(--color-text-light);
}

.trust-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.trust-item i {
  color: var(--color-accent);
  font-size: 0.9rem;
}

.trust-divider {
  color: var(--color-border);
}

/* --------------------------------------------------------------------------
   9. Hero Dashboard Mockup Visual (Wide View)
   -------------------------------------------------------------------------- */
.hero-mockup-wrapper {
  position: relative;
  width: 100%;
  max-width: 1480px;
  margin: 0 auto;
}

.dashboard-device {
  background: var(--color-dark-navy);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-xl);
  box-shadow: 0 30px 70px -15px rgba(15, 23, 42, 0.25), 0 0 0 1px rgba(38, 37, 191, 0.15);
  overflow: hidden;
  position: relative;
  z-index: 2;
}

.dash-top-bar {
  height: 46px;
  background: #090d1a;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 18px;
}

.dash-window-dots {
  display: flex;
  align-items: center;
  gap: 7px;
}

.dash-window-dots .dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
}

.dot-red { background-color: #ff5f56; }
.dot-yellow { background-color: #ffbd2e; }
.dot-green { background-color: #27c93f; }

.dash-search-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  padding: 5px 14px;
  font-size: 0.78rem;
  color: var(--color-dark-text-muted);
  width: 480px;
  max-width: 60%;
}

.dash-top-user {
  display: flex;
  align-items: center;
  gap: 12px;
}

.dash-status-online {
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--color-success);
  display: flex;
  align-items: center;
  gap: 5px;
}

.dash-status-online i {
  font-size: 0.5rem;
}

.dash-avatar {
  width: 28px;
  height: 28px;
  background: var(--color-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 0.75rem;
}

.dash-main-area {
  display: flex;
  min-height: 480px;
}

/* Dashboard Sidebar */
.dash-sidebar {
  width: 220px;
  background: #0b1324;
  border-right: 1px solid rgba(255, 255, 255, 0.06);
  padding: 20px 14px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.dash-sidebar-label {
  font-size: 0.68rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.4);
  letter-spacing: 0.08em;
  padding: 0 8px 6px 8px;
  display: block;
}

.dash-nav-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.dash-sidebar-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  color: var(--color-dark-text-muted);
  font-size: 0.82rem;
  font-weight: 500;
  transition: all var(--transition-fast);
}

.dash-sidebar-item.active {
  background: rgba(38, 37, 191, 0.35);
  color: #ffffff;
  border: 1px solid rgba(99, 165, 252, 0.3);
}

.dash-sidebar-item:hover:not(.active) {
  background: rgba(255, 255, 255, 0.04);
  color: #ffffff;
}

.sidebar-pill {
  margin-left: auto;
  font-size: 0.7rem;
  font-weight: 700;
  background: var(--color-primary);
  color: #ffffff;
  padding: 1px 6px;
  border-radius: 10px;
}

/* Dashboard Body Area */
.dash-body {
  flex: 1;
  padding: 24px;
  background: #0e172a;
  overflow: hidden;
}

.dash-metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 20px;
}

.metric-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 14px 16px;
}

.metric-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.metric-title {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--color-dark-text-muted);
}

.metric-badge {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
}

.metric-badge.positive {
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
}

.metric-badge.accent {
  background: rgba(99, 165, 252, 0.15);
  color: var(--color-accent-light);
}

.metric-val {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 4px;
}

.sub-label {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.45);
}

/* Dashboard Chart & Stream */
.dash-splits-grid {
  display: grid;
  grid-template-columns: 1.6fr 1.1fr;
  gap: 16px;
}

.dash-chart-card, .dash-activity-card {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 18px;
}

.card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 20px;
}

.card-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 2px;
}

.card-desc {
  font-size: 0.74rem;
  color: var(--color-dark-text-muted);
}

.chart-time-toggle {
  display: flex;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 6px;
  padding: 2px;
}

.time-btn {
  font-size: 0.7rem;
  padding: 3px 8px;
  border-radius: 4px;
  color: var(--color-dark-text-muted);
}

.time-btn.active {
  background: var(--color-primary);
  color: #ffffff;
}

/* Bar Chart Mockup */
.chart-visual-bars {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  height: 160px;
  padding-top: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

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

.bar-fill {
  width: 24px;
  background: linear-gradient(180deg, var(--color-accent-light) 0%, var(--color-primary) 100%);
  border-radius: 4px 4px 0 0;
  transition: height 1s ease;
}

.bar-fill.highlight {
  background: linear-gradient(180deg, #38bdf8 0%, #2563eb 100%);
  box-shadow: 0 0 12px rgba(56, 189, 248, 0.5);
}

.bar-fill.success {
  background: linear-gradient(180deg, #34d399 0%, #059669 100%);
}

.bar-label {
  font-size: 0.68rem;
  color: var(--color-dark-text-muted);
  white-space: nowrap;
}

/* Activity Feed */
.live-pulse-dot {
  width: 8px;
  height: 8px;
  background-color: #10b981;
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.3);
  animation: pulse-dot 1.8s infinite ease-in-out;
}

.activity-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.activity-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.act-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  flex-shrink: 0;
}

.bg-blue { background: rgba(59, 130, 246, 0.2); color: #60a5fa; }
.bg-emerald { background: rgba(16, 185, 129, 0.2); color: #34d399; }
.bg-purple { background: rgba(168, 85, 247, 0.2); color: #c084fc; }
.bg-indigo { background: rgba(99, 102, 241, 0.2); color: #818cf8; }
.bg-teal { background: rgba(20, 184, 166, 0.2); color: #2dd4bf; }

.act-info {
  flex: 1;
}

.act-text {
  font-size: 0.78rem;
  color: #f1f5f9;
  line-height: 1.4;
  margin-bottom: 2px;
}

.act-time {
  font-size: 0.7rem;
  color: var(--color-dark-text-muted);
}

/* --------------------------------------------------------------------------
   10. Floating Glassmorphic Notification Badges
   -------------------------------------------------------------------------- */
.floating-badge {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 18px 38px -8px rgba(15, 23, 42, 0.18), 0 0 0 1px rgba(38, 37, 191, 0.08);
  border-radius: var(--radius-lg);
  padding: 12px 18px;
  z-index: 10;
  pointer-events: none;
}

.badge-top-left {
  top: -24px;
  left: -20px;
}

.badge-top-right {
  top: 40px;
  right: -24px;
}

.badge-bottom-left {
  bottom: 20px;
  left: -24px;
}

.badge-bottom-right {
  bottom: -24px;
  right: -16px;
}

.f-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
}

.f-content {
  display: flex;
  flex-direction: column;
}

.f-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-text-main);
  line-height: 1.3;
}

.f-sub {
  font-size: 0.74rem;
  color: var(--color-text-muted);
}

/* Floating Animations */
@keyframes float-1 {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

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

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

@keyframes float-4 {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(9px); }
}

.float-anim-1 { animation: float-1 4.5s ease-in-out infinite; }
.float-anim-2 { animation: float-2 5.2s ease-in-out infinite 0.5s; }
.float-anim-3 { animation: float-3 4.8s ease-in-out infinite 1s; }
.float-anim-4 { animation: float-4 5.5s ease-in-out infinite 1.5s; }

/* --------------------------------------------------------------------------
   11. Trust / Philosophy Cards
   -------------------------------------------------------------------------- */
.philosophy-grid {
  margin-top: 10px;
}

.feature-card {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-smooth);
  box-shadow: var(--shadow-sm);
  position: relative;
}

.feature-card:hover {
  transform: translateY(-6px);
  border-color: rgba(38, 37, 191, 0.3);
  box-shadow: var(--shadow-xl);
}

.card-icon-wrapper {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  margin-bottom: 20px;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.feature-card:hover .card-icon-wrapper {
  transform: scale(1.12) rotate(4deg);
}

.icon-royal { background: var(--color-primary-subtle); color: var(--color-primary); }
.icon-sky { background: #e0f2fe; color: #0284c7; }
.icon-indigo { background: #e0e7ff; color: #4338ca; }
.icon-teal { background: #ccfbf1; color: #0f766e; }

.card-heading {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-text-main);
  margin-bottom: 12px;
}

.card-text {
  font-size: 0.94rem;
  color: var(--color-text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
  flex: 1;
}

.card-tag {
  align-self: flex-start;
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--color-primary);
  background: var(--color-primary-subtle);
  padding: 3px 10px;
  border-radius: var(--radius-full);
}

/* --------------------------------------------------------------------------
   12. Core CRM Features Grid
   -------------------------------------------------------------------------- */
.features-grid {
  row-gap: 28px;
}

.core-feature-card {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease;
  box-shadow: var(--shadow-xs);
  position: relative;
}

.core-feature-card:hover {
  transform: translateY(-7px) scale(1.01);
  border-color: rgba(99, 165, 252, 0.45);
  box-shadow: 0 20px 36px -8px rgba(38, 37, 191, 0.14), 0 0 0 1px rgba(99, 165, 252, 0.25);
}

.feature-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.f-icon-box {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.core-feature-card:hover .f-icon-box {
  transform: scale(1.12) rotate(-3deg);
}

.f-color-1 { background: #eff6ff; color: #2563eb; }
.f-color-2 { background: #f5f3ff; color: #7c3aed; }
.f-color-3 { background: #fdf2f8; color: #db2777; }
.f-color-4 { background: #ecfdf5; color: #059669; }
.f-color-5 { background: #fff7ed; color: #ea580c; }
.f-color-6 { background: #f0fdfa; color: #0d9488; }
.f-color-7 { background: #eef2ff; color: var(--color-primary); }
.f-color-8 { background: #fefce8; color: #ca8a04; }
.f-color-9 { background: #f8fafc; color: #475569; border: 1px solid var(--color-border); }
.f-color-10 { background: #ede9fe; color: #6d28d9; }

.f-num {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 800;
  color: #cbd5e1;
}

.f-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-text-main);
  margin-bottom: 10px;
}

.f-desc {
  font-size: 0.92rem;
  color: var(--color-text-muted);
  line-height: 1.58;
  margin-bottom: 18px;
}

.f-points {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-top: 1px solid var(--color-surface-subtle);
  padding-top: 16px;
}

.f-points li {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--color-text-main);
  display: flex;
  align-items: center;
  gap: 8px;
}

.f-points li i {
  color: var(--color-success);
  font-size: 0.78rem;
}

.full-width-card {
  grid-column: 1 / -1;
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  border-color: rgba(38, 37, 191, 0.2);
}

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

/* --------------------------------------------------------------------------
   13. Connected Workflow Section (Lead to Revenue)
   -------------------------------------------------------------------------- */
.workflow-timeline-container {
  position: relative;
  margin-top: 20px;
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 42px 28px;
  box-shadow: var(--shadow-sm);
}

.workflow-line-track {
  position: absolute;
  top: 68px;
  left: 50px;
  right: 50px;
  height: 3px;
  background: var(--color-surface-subtle);
  z-index: 1;
}

.workflow-line-progress {
  height: 100%;
  width: 100%;
  background: linear-gradient(90deg, var(--color-primary) 0%, var(--color-accent) 50%, var(--color-success) 100%);
  border-radius: 3px;
}

.workflow-steps-wrapper {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.workflow-step-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 120px;
}

.step-badge-circle {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #ffffff;
  border: 2px solid var(--color-primary);
  box-shadow: 0 4px 12px rgba(38, 37, 191, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  color: var(--color-primary);
  margin-bottom: 14px;
  transition: all var(--transition-smooth);
}

.workflow-step-node:hover .step-badge-circle {
  background: var(--color-primary);
  color: #ffffff;
  transform: scale(1.1);
  box-shadow: 0 8px 20px rgba(38, 37, 191, 0.35);
}

.step-badge-circle.step-accent {
  border-color: var(--color-success);
  color: #ffffff;
  background: var(--color-success);
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.3);
}

.step-num {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  display: block;
  margin-bottom: 4px;
}

.step-title {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-text-main);
  margin-bottom: 4px;
}

.step-desc {
  font-size: 0.74rem;
  color: var(--color-text-muted);
  line-height: 1.4;
}

.step-arrow {
  margin-top: 16px;
  color: #cbd5e1;
  font-size: 0.85rem;
}

/* --------------------------------------------------------------------------
   14. Custom CRM Deep Dive (Dark Tech Section)
   -------------------------------------------------------------------------- */
.dark-section {
  background-color: var(--color-obsidian);
  position: relative;
  overflow: hidden;
}

.dark-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
}

.dark-section-inner {
  position: relative;
  z-index: 2;
}

.text-white {
  color: #ffffff !important;
}

.text-slate-300 {
  color: #cbd5e1 !important;
}

.custom-matrix-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 44px;
}

.matrix-pill {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  color: #f1f5f9;
  font-size: 0.92rem;
  font-weight: 600;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, background 0.3s ease, border-color 0.3s ease;
}

.matrix-pill i {
  color: var(--color-accent-light);
  font-size: 1.15rem;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.matrix-pill:hover {
  background: rgba(38, 37, 191, 0.28);
  border-color: rgba(99, 165, 252, 0.6);
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.45);
}

.matrix-pill:hover i {
  transform: scale(1.2);
}

.custom-cta-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-xl);
  padding: 36px 24px;
  max-width: 860px;
  margin: 0 auto;
}

.custom-cta-text {
  font-size: 1.1rem;
  color: #f8fafc;
  margin-bottom: 20px;
}

/* --------------------------------------------------------------------------
   15. Industries Section
   -------------------------------------------------------------------------- */
.industries-grid {
  row-gap: 24px;
}

.industry-card {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 36px 30px;
  display: flex;
  flex-direction: column;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease;
  box-shadow: var(--shadow-xs);
}

.industry-card:hover {
  transform: translateY(-7px) scale(1.01);
  box-shadow: 0 24px 44px -10px rgba(38, 37, 191, 0.15), 0 0 0 1px rgba(99, 165, 252, 0.3);
  border-color: rgba(99, 165, 252, 0.45);
}

.industry-header {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 18px;
}

.ind-icon-box {
  width: 58px;
  height: 58px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.45rem;
  flex-shrink: 0;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.ind-realestate { background: #eff6ff; color: #2563eb; }
.ind-insurance { background: #ecfdf5; color: #059669; }
.ind-academy { background: #fdf2f8; color: #db2777; }
.ind-custom { background: #f5f3ff; color: #7c3aed; }

.ind-badge {
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: block;
  margin-bottom: 2px;
}

.ind-title {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--color-text-main);
  line-height: 1.25;
}

.ind-desc {
  font-size: 0.94rem;
  color: var(--color-text-muted);
  line-height: 1.62;
  margin-bottom: 22px;
}

.ind-feature-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
}

.ind-feature-tags span {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--color-text-main);
  background: var(--color-surface-light);
  border: 1px solid var(--color-border);
  padding: 5px 12px;
  border-radius: var(--radius-full);
}

.industry-card-highlight {
  background: linear-gradient(135deg, #ffffff 0%, #f8faff 100%);
  border-color: rgba(38, 37, 191, 0.25);
}

.ind-quote-banner {
  margin-top: 24px;
  padding: 16px 20px;
  background: var(--color-primary-subtle);
  border-left: 3px solid var(--color-primary);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--color-primary);
}

/* --------------------------------------------------------------------------
   16. Automation / RPA Section
   -------------------------------------------------------------------------- */
.automation-visual-card {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 44px 32px;
  box-shadow: var(--shadow-sm);
}

.auto-diagram-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 44px;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--color-border);
}

.diagram-node {
  flex: 1;
  background: var(--color-surface-light);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 28px 20px;
  text-align: center;
  position: relative;
}

.node-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  margin: 0 auto 16px auto;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
}

.node-core .node-icon { background: var(--color-primary); color: #ffffff; }
.node-external .node-icon { background: #0f172a; color: #38bdf8; }

.node-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-text-main);
  margin-bottom: 8px;
}

.node-desc {
  font-size: 0.84rem;
  color: var(--color-text-muted);
  line-height: 1.5;
  margin-bottom: 16px;
}

.node-pill {
  font-size: 0.72rem;
  font-weight: 700;
  background: #ffffff;
  border: 1px solid var(--color-border);
  padding: 3px 10px;
  border-radius: var(--radius-full);
  color: var(--color-primary);
}

/* Diagram Connector with Pulse Lines */
.diagram-connector {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  width: 180px;
}

.connector-line {
  width: 100%;
  height: 3px;
  background: var(--color-border);
  position: relative;
  border-radius: 3px;
  overflow: hidden;
}

.pulse-packet {
  position: absolute;
  top: 0;
  height: 100%;
  width: 40px;
  background: linear-gradient(90deg, transparent, var(--color-accent), transparent);
  animation: pulse-move 2.5s infinite linear;
}

.packet-1 { animation-delay: 0s; }
.packet-2 { animation-delay: 1.25s; }
.packet-3 { animation-delay: 0.6s; }
.packet-4 { animation-delay: 1.8s; }

@keyframes pulse-move {
  0% { left: -40px; }
  100% { left: 100%; }
}

.engine-badge {
  background: var(--color-primary-subtle);
  border: 1px solid rgba(38, 37, 191, 0.2);
  border-radius: var(--radius-full);
  padding: 6px 14px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--color-primary);
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Automation Capabilities Grid */
.automation-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.auto-feat-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.af-icon {
  width: 40px;
  height: 40px;
  background: var(--color-primary-subtle);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  font-size: 1rem;
  flex-shrink: 0;
}

.auto-feat-item h5 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-text-main);
  margin-bottom: 4px;
}

.auto-feat-item p {
  font-size: 0.84rem;
  color: var(--color-text-muted);
  line-height: 1.45;
}

/* --------------------------------------------------------------------------
   17. Technology Stack Section
   -------------------------------------------------------------------------- */
.tech-stack-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-bottom: 28px;
}

.tech-card {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 24px 18px;
  text-align: center;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease;
}

.tech-card:hover {
  transform: translateY(-7px) scale(1.02);
  border-color: rgba(99, 165, 252, 0.5);
  box-shadow: 0 16px 30px -6px rgba(38, 37, 191, 0.15);
}

.tech-icon {
  font-size: 2.2rem;
  color: var(--color-primary);
  margin-bottom: 12px;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), color 0.3s ease;
}

.tech-card:hover .tech-icon {
  transform: scale(1.18);
  color: var(--color-accent-light);
}

.tech-name {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-text-main);
  margin-bottom: 6px;
}

.tech-role {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  line-height: 1.4;
}

.tech-disclaimer {
  font-size: 0.88rem;
  color: var(--color-text-light);
}

.tech-disclaimer i {
  color: var(--color-accent);
  margin-right: 4px;
}

/* --------------------------------------------------------------------------
   18. How It Works (4-Step Timeline)
   -------------------------------------------------------------------------- */
.process-timeline-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.process-card {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 30px 22px;
  display: flex;
  flex-direction: column;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease;
  position: relative;
}

.process-card:hover {
  transform: translateY(-7px) scale(1.01);
  border-color: rgba(99, 165, 252, 0.45);
  box-shadow: 0 20px 36px -8px rgba(38, 37, 191, 0.15);
}

.process-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.process-num {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: rgba(38, 37, 191, 0.2);
  line-height: 1;
}

.p-icon {
  width: 44px;
  height: 44px;
  background: var(--color-primary-subtle);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  font-size: 1.15rem;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.process-card:hover .p-icon {
  transform: scale(1.15) rotate(5deg);
}

.process-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-text-main);
  margin-bottom: 10px;
}

.process-desc {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.6;
  margin-bottom: 18px;
  flex: 1;
}

.process-highlight {
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--color-primary);
  background: var(--color-surface-light);
  border: 1px solid var(--color-border);
  padding: 4px 10px;
  border-radius: 6px;
  display: inline-block;
}

/* --------------------------------------------------------------------------
   19. Why Sitesoch Section
   -------------------------------------------------------------------------- */
.sitesoch-banner {
  background: linear-gradient(135deg, #ffffff 0%, #f4f7fe 100%);
  border: 1px solid rgba(38, 37, 191, 0.2);
  border-radius: var(--radius-xl);
  padding: 50px 40px;
  box-shadow: var(--shadow-sm);
}

.sitesoch-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 40px;
  align-items: center;
}

.sitesoch-heading {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.2;
  color: var(--color-text-main);
  margin-bottom: 16px;
}

.sitesoch-desc {
  font-size: 1.05rem;
  color: var(--color-text-muted);
  line-height: 1.65;
  margin-bottom: 26px;
}

.capabilities-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px 16px;
  margin-bottom: 30px;
}

.cap-item {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--color-text-main);
  display: flex;
  align-items: center;
  gap: 8px;
}

.cap-item i {
  color: var(--color-primary);
}

.sitesoch-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.sitesoch-ext-link {
  font-size: 0.94rem;
  font-weight: 600;
  color: var(--color-primary);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.sitesoch-ext-link:hover {
  text-decoration: underline;
}

/* Sitesoch Emblem Card */
.sitesoch-card-box {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 32px;
  text-align: center;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

.sitesoch-logo-frame {
  max-width: 220px;
  padding: 8px;
}

.sitesoch-brand-img {
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

.sitesoch-meta-badge {
  display: flex;
  flex-direction: column;
  gap: 3px;
  border-top: 1px solid var(--color-border);
  padding-top: 14px;
  width: 100%;
}

.meta-label {
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--color-text-light);
  letter-spacing: 0.08em;
}

.meta-name {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  color: var(--color-text-main);
}

.meta-desc {
  font-size: 0.78rem;
  color: var(--color-text-muted);
}

/* --------------------------------------------------------------------------
   20. FAQ Accordion Section (Two-Column & Full Width)
   -------------------------------------------------------------------------- */
.faq-container {
  width: 100%;
  max-width: var(--container-max);
}

.faq-accordion-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  align-items: start;
  width: 100%;
}

.faq-column {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all var(--transition-base);
}

.faq-item.active {
  border-color: rgba(38, 37, 191, 0.35);
  box-shadow: var(--shadow-sm);
}

.faq-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
  font-family: var(--font-heading);
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--color-text-main);
  text-align: left;
  background: transparent;
  transition: color var(--transition-fast);
}

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

.faq-chevron {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--color-surface-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  color: var(--color-text-muted);
  transition: transform var(--transition-smooth), background var(--transition-fast), color var(--transition-fast);
  flex-shrink: 0;
}

.faq-item.active .faq-chevron {
  transform: rotate(180deg);
  background: var(--color-primary);
  color: #ffffff;
}

.faq-content {
  padding: 0 22px 18px 22px;
  transition: all var(--transition-base);
}

.faq-answer-text {
  font-size: 0.96rem;
  color: var(--color-text-muted);
  line-height: 1.65;
}

/* --------------------------------------------------------------------------
   21. Contact & Lead Generation Form (Full Breadth)
   -------------------------------------------------------------------------- */
/* --------------------------------------------------------------------------
   22. Direct Contact / CTA Channels Section
   -------------------------------------------------------------------------- */
.contact-cta-card {
  background: linear-gradient(145deg, #090e1a 0%, #0c1427 100%);
  border: 1px solid rgba(99, 165, 252, 0.2);
  border-radius: var(--radius-xl);
  padding: 60px 48px;
  box-shadow: 0 25px 60px -15px rgba(2, 6, 23, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.05);
  position: relative;
  overflow: hidden;
}

.contact-cta-header {
  max-width: 760px;
  margin: 0 auto 48px auto;
}

.contact-headline {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.2;
  margin-top: 14px;
  margin-bottom: 16px;
  letter-spacing: -0.03em;
}

.contact-lead-text {
  font-size: 1.08rem;
  color: #cbd5e1;
  line-height: 1.65;
}

/* Direct Channels 4-Column Grid */
.direct-channels-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}

.direct-cta-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: var(--radius-lg);
  padding: 30px 22px;
  display: flex;
  flex-direction: column;
  color: #ffffff;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease, background 0.3s ease;
  position: relative;
}

.direct-cta-card:hover {
  transform: translateY(-8px) scale(1.02);
  background: rgba(255, 255, 255, 0.07);
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.5);
}

.direct-whatsapp:hover {
  border-color: rgba(37, 211, 102, 0.6);
  box-shadow: 0 20px 40px -10px rgba(37, 211, 102, 0.25);
}

.direct-email:hover {
  border-color: rgba(99, 165, 252, 0.6);
  box-shadow: 0 20px 40px -10px rgba(99, 165, 252, 0.25);
}

.direct-phone:hover {
  border-color: rgba(56, 189, 248, 0.6);
  box-shadow: 0 20px 40px -10px rgba(56, 189, 248, 0.25);
}

.direct-web:hover {
  border-color: rgba(129, 140, 248, 0.6);
  box-shadow: 0 20px 40px -10px rgba(129, 140, 248, 0.25);
}

.channel-icon-box {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.45rem;
  margin-bottom: 20px;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.direct-cta-card:hover .channel-icon-box {
  transform: scale(1.12) rotate(4deg);
}

.whatsapp-box {
  background: rgba(37, 211, 102, 0.15);
  color: #25d366;
  border: 1px solid rgba(37, 211, 102, 0.3);
}

.email-box {
  background: rgba(99, 165, 252, 0.15);
  color: #63a5fc;
  border: 1px solid rgba(99, 165, 252, 0.3);
}

.phone-box {
  background: rgba(56, 189, 248, 0.15);
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.3);
}

.web-box {
  background: rgba(129, 140, 248, 0.15);
  color: #818cf8;
  border: 1px solid rgba(129, 140, 248, 0.3);
}

.channel-tag {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-accent-light);
  margin-bottom: 6px;
  display: block;
}

.channel-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 6px;
}

.channel-detail {
  font-size: 0.98rem;
  font-weight: 600;
  color: #f1f5f9;
  margin-bottom: 8px;
  word-break: break-all;
}

.channel-sub {
  font-size: 0.82rem;
  color: #94a3b8;
  line-height: 1.45;
  margin-top: auto;
  display: block;
}

.channel-action-arrow {
  margin-top: 18px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  color: var(--color-accent-light);
  font-size: 0.95rem;
  transition: transform 0.3s ease;
}

.direct-cta-card:hover .channel-action-arrow {
  transform: translateX(4px);
}

/* Contact Trust Bar */
.contact-trust-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 36px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 28px;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  font-weight: 500;
  color: #cbd5e1;
}

.trust-item i {
  font-size: 1rem;
}

/* --------------------------------------------------------------------------
   23. Minimal Footer Section (Copyright & Legal Bar Only)
   -------------------------------------------------------------------------- */
.site-footer {
  background-color: var(--color-obsidian);
  color: #94a3b8;
  padding-top: 34px;
  padding-bottom: 34px;
  border-top: 1px solid #1e293b;
  position: relative;
  z-index: 10;
}

.footer-bottom-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.86rem;
}

.copyright-text strong {
  color: #ffffff;
}

.footer-legal-links {
  display: flex;
  align-items: center;
  gap: 12px;
}

.legal-link {
  color: #94a3b8;
  transition: color var(--transition-fast);
}

.legal-link:hover {
  color: #ffffff;
}

.divider {
  color: #334155;
}

/* --------------------------------------------------------------------------
   23. Floating WhatsApp Widget
   -------------------------------------------------------------------------- */
.whatsapp-floating-widget {
  position: fixed;
  bottom: 24px;
  bottom: max(24px, env(safe-area-inset-bottom, 24px));
  right: 24px;
  right: max(24px, env(safe-area-inset-right, 24px));
  z-index: 850;
  transition: opacity var(--transition-base), visibility var(--transition-base);
  pointer-events: auto;
}

body.menu-open .whatsapp-floating-widget {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

.whatsapp-btn {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 1.85rem;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
  transition: transform var(--transition-smooth), box-shadow var(--transition-smooth);
  position: relative;
  -webkit-tap-highlight-color: transparent;
  animation: wa-shadow-pulse 2.6s infinite ease-out;
}

.whatsapp-icon-svg {
  width: 30px;
  height: 30px;
  fill: #ffffff;
  display: block;
  flex-shrink: 0;
}

.whatsapp-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 10px 28px rgba(37, 211, 102, 0.6);
  color: #ffffff;
}

/* WhatsApp Box-Shadow Pulse (No layout shifting or viewport bleeding) */
@keyframes wa-shadow-pulse {
  0% {
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4), 0 0 0 0 rgba(37, 211, 102, 0.6);
  }
  70% {
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4), 0 0 0 14px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4), 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

.whatsapp-tooltip {
  position: absolute;
  right: calc(100% + 14px);
  top: 50%;
  transform: translateY(-50%);
  background: var(--color-dark-navy);
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-fast);
  box-shadow: var(--shadow-md);
  pointer-events: none;
}

.whatsapp-tooltip::after {
  content: '';
  position: absolute;
  left: 100%;
  top: 50%;
  transform: translateY(-50%);
  border-width: 5px;
  border-style: solid;
  border-color: transparent transparent transparent var(--color-dark-navy);
}

@media (hover: hover) and (pointer: fine) {
  .whatsapp-btn:hover .whatsapp-tooltip,
  .whatsapp-btn:focus-visible .whatsapp-tooltip {
    opacity: 1;
    visibility: visible;
  }
}

@media (hover: none), (max-width: 768px) {
  .whatsapp-tooltip {
    display: none !important;
  }
  
  .whatsapp-btn:hover {
    transform: none;
  }
  
  .whatsapp-btn:active {
    transform: scale(0.94);
  }
}

/* --------------------------------------------------------------------------
   24. Scroll Reveal Animations
   -------------------------------------------------------------------------- */
.reveal-fade, .reveal-card, .reveal-scale {
  opacity: 0;
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-fade {
  transform: translateY(24px);
}

.reveal-card {
  transform: translateY(30px);
}

.reveal-scale {
  transform: scale(0.96);
}

.revealed {
  opacity: 1 !important;
  transform: translate(0) scale(1) !important;
}

/* --------------------------------------------------------------------------
   25. Enhanced Responsive Styles & Media Queries (Full Cross-Device Support)
   -------------------------------------------------------------------------- */

/* Large Screens & Laptops (max-width: 1280px) */
@media (max-width: 1280px) {
  :root {
    --container-max: 1200px;
  }

  .hero-headline {
    font-size: 3.2rem;
  }

  /* Prevent floating badges from causing horizontal overflow */
  .floating-badge {
    display: none;
  }

  .custom-matrix-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .tech-stack-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Tablets & Small Laptops (max-width: 1024px) */
@media (max-width: 1024px) {
  :root {
    --header-height: 72px;
    --header-compact-height: 64px;
  }

  .section-padding {
    padding-top: 70px;
    padding-bottom: 70px;
  }

  .section-title {
    font-size: 2.2rem;
  }

  .hero-headline {
    font-size: 2.75rem;
  }

  .hero-subtext {
    font-size: 1.1rem;
  }

  /* Switch Navigation to Mobile Drawer on Tablets to prevent menu clipping */
  .desktop-nav,
  .nav-cta {
    display: none !important;
  }

  .mobile-toggle {
    display: flex !important;
  }

  .mobile-nav {
    display: block;
  }

  /* Grid Layouts for Tablet */
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-timeline-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .direct-channels-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .sitesoch-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  /* Dashboard Mockup on Tablet */
  .dash-sidebar {
    display: none;
  }

  .dash-metrics-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .dash-splits-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  /* Workflow Section: Switch to Sleek Vertical Timeline on Tablets and Mobile */
  .workflow-timeline-container {
    padding: 36px 24px;
  }

  .workflow-line-track {
    top: 40px;
    bottom: 40px;
    left: 49.5px;
    width: 3px;
    height: auto;
    right: auto;
  }

  .workflow-line-progress {
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, var(--color-primary) 0%, var(--color-accent) 50%, var(--color-success) 100%);
  }

  .workflow-steps-wrapper {
    flex-direction: column;
    gap: 28px;
  }

  .workflow-step-node {
    flex-direction: row;
    align-items: flex-start;
    text-align: left;
    width: 100%;
    gap: 18px;
  }

  .step-badge-circle {
    margin-bottom: 0;
    flex-shrink: 0;
  }

  .step-arrow {
    display: none;
  }

  .step-meta {
    flex: 1;
  }
}

/* Medium Tablets & Large Phones (max-width: 860px) */
@media (max-width: 860px) {
  /* Automation RPA Diagram: Clean Vertical Responsive Architecture */
  .auto-diagram-grid {
    flex-direction: column;
    gap: 16px;
    margin-bottom: 32px;
    padding-bottom: 28px;
  }

  .diagram-node {
    width: 100%;
  }

  .diagram-connector {
    flex-direction: column;
    width: 100%;
    height: auto;
    margin: 8px 0;
    gap: 8px;
  }

  .connector-line {
    width: 3px;
    height: 30px;
    margin: 0 auto;
  }

  .pulse-packet {
    width: 100%;
    height: 20px;
    left: 0;
    top: -20px;
    background: linear-gradient(180deg, transparent, var(--color-accent), transparent);
    animation: pulse-move-v 2.2s infinite linear;
  }

  .packet-1 { animation-delay: 0s; }
  .packet-2 { animation-delay: 1.1s; }
  .packet-3 { animation-delay: 0.5s; }
  .packet-4 { animation-delay: 1.6s; }

  @keyframes pulse-move-v {
    0% { top: -20px; }
    100% { top: 100%; }
  }

  .automation-features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }

  .faq-accordion-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .industries-grid {
    grid-template-columns: 1fr;
  }
}

/* Mobile Devices (max-width: 768px) */
@media (max-width: 768px) {
  :root {
    --header-height: 68px;
    --header-compact-height: 60px;
  }

  .container {
    padding-left: 14px;
    padding-right: 14px;
  }

  .nav-container {
    padding: 0 14px;
  }

  .hidden-mobile {
    display: none !important;
  }

  .section-padding {
    padding-top: 54px;
    padding-bottom: 54px;
  }

  .section-header {
    margin-bottom: 36px;
  }

  .section-title {
    font-size: 1.85rem;
    line-height: 1.25;
  }

  .section-subtitle {
    font-size: 0.98rem;
  }

  /* Hero Section Mobile */
  .hero-section {
    padding-top: 32px;
    padding-bottom: 54px;
  }

  .hero-content {
    margin-bottom: 36px;
  }

  .hero-badge {
    padding: 6px 14px;
    margin-bottom: 16px;
  }

  .badge-text {
    font-size: 0.8rem;
  }

  .hero-headline {
    font-size: 2.2rem;
    line-height: 1.18;
    margin-bottom: 16px;
  }

  .hero-subtext {
    font-size: 1rem;
    line-height: 1.55;
    margin-bottom: 24px;
  }

  .hero-cta-group {
    flex-direction: column;
    width: 100%;
    gap: 12px;
    margin-bottom: 24px;
  }

  .hero-cta-group .btn {
    width: 100%;
  }

  .hero-trust-bar {
    flex-direction: column;
    gap: 8px;
    font-size: 0.86rem;
  }

  .trust-divider {
    display: none;
  }

  /* Dashboard Visual Mobile */
  .dashboard-device {
    border-radius: var(--radius-lg);
  }

  .dash-top-bar {
    height: 40px;
    padding: 0 12px;
  }

  .dash-search-bar {
    display: none;
  }

  .dash-body {
    padding: 16px;
  }

  .dash-metrics-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-bottom: 14px;
  }

  .metric-card {
    padding: 12px;
  }

  .metric-title {
    font-size: 0.72rem;
  }

  .metric-val {
    font-size: 1.25rem;
  }

  .sub-label {
    font-size: 0.65rem;
  }

  .card-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 14px;
  }

  .card-title {
    font-size: 0.85rem;
  }

  .card-desc {
    font-size: 0.7rem;
  }

  .chart-visual-bars {
    height: 130px;
    gap: 4px;
  }

  .bar-fill {
    width: 14px;
  }

  .bar-label {
    font-size: 0.6rem;
  }

  .act-text {
    font-size: 0.74rem;
  }

  .act-time {
    font-size: 0.66rem;
  }

  /* All Grids Mobile Collapse */
  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .custom-matrix-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .matrix-pill {
    padding: 14px 16px;
    font-size: 0.84rem;
    gap: 10px;
  }

  .tech-stack-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .tech-card {
    padding: 18px 14px;
  }

  .tech-icon {
    font-size: 1.8rem;
  }

  .tech-name {
    font-size: 0.95rem;
  }

  .process-timeline-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .process-card {
    padding: 24px 18px;
  }

  .capabilities-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .sitesoch-banner {
    padding: 28px 18px;
  }

  .sitesoch-heading {
    font-size: 1.85rem;
  }

  .sitesoch-desc {
    font-size: 0.95rem;
  }

  .sitesoch-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
  }

  .sitesoch-actions .btn {
    width: 100%;
  }

  .sitesoch-ext-link {
    justify-content: center;
  }

  /* Contact CTA Card Mobile */
  .contact-cta-card {
    padding: 34px 18px;
    border-radius: var(--radius-lg);
  }

  .contact-cta-header {
    margin-bottom: 30px;
  }

  .contact-headline {
    font-size: 2rem;
    line-height: 1.22;
  }

  .contact-lead-text {
    font-size: 0.96rem;
  }

  .direct-channels-grid {
    grid-template-columns: 1fr;
    gap: 14px;
    margin-bottom: 28px;
  }

  .direct-cta-card {
    padding: 22px 18px;
  }

  .contact-trust-bar {
    gap: 14px 20px;
    padding-top: 22px;
  }

  .trust-item {
    font-size: 0.82rem;
  }

  /* Footer Mobile */
  .footer-bottom-bar {
    flex-direction: column;
    gap: 14px;
    text-align: center;
  }

  .footer-legal-links {
    justify-content: center;
    flex-wrap: wrap;
  }

  /* Floating WhatsApp Button on Mobile */
  .whatsapp-floating-widget {
    bottom: 18px;
    bottom: max(18px, env(safe-area-inset-bottom, 18px));
    right: 18px;
    right: max(18px, env(safe-area-inset-right, 18px));
  }

  .whatsapp-btn {
    width: 48px;
    height: 48px;
  }

  .whatsapp-icon-svg {
    width: 24px;
    height: 24px;
  }
}

/* Small Smart Phones (max-width: 480px) */
@media (max-width: 480px) {
  .container {
    padding-left: 10px;
    padding-right: 10px;
  }

  .nav-container {
    padding: 0 10px;
  }

  .brand-title {
    font-size: 1.3rem;
  }

  .logo-box {
    width: 34px;
    height: 34px;
  }

  .hero-headline {
    font-size: 1.85rem;
  }

  .section-title {
    font-size: 1.65rem;
  }

  .custom-matrix-grid {
    grid-template-columns: 1fr;
  }

  .tech-stack-grid {
    grid-template-columns: 1fr;
  }

  .dash-metrics-grid {
    grid-template-columns: 1fr;
  }

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

  .workflow-timeline-container {
    padding: 24px 14px;
  }

  .workflow-line-track {
    left: 36px;
  }

  .workflow-step-node {
    gap: 14px;
  }

  .step-badge-circle {
    width: 44px;
    height: 44px;
    font-size: 1rem;
  }

  .step-title {
    font-size: 0.88rem;
  }

  .step-desc {
    font-size: 0.7rem;
  }

  .industry-card {
    padding: 24px 18px;
  }

  .ind-header {
    gap: 14px;
  }

  .ind-icon-box {
    width: 48px;
    height: 48px;
    font-size: 1.2rem;
  }

  .ind-title {
    font-size: 1.15rem;
  }

  .ind-desc {
    font-size: 0.88rem;
  }

  .ind-feature-tags span {
    font-size: 0.72rem;
    padding: 4px 10px;
  }

  .faq-trigger {
    padding: 15px 16px;
    font-size: 0.95rem;
  }

  .faq-content {
    padding: 0 16px 14px 16px;
  }

  .faq-answer-text {
    font-size: 0.88rem;
  }

  .contact-headline {
    font-size: 1.7rem;
  }
}

/* --------------------------------------------------------------------------
   26. Accessibility & Reduced Motion
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal-fade, .reveal-card, .reveal-scale {
    opacity: 1 !important;
    transform: none !important;
  }
}

:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

/* --------------------------------------------------------------------------
   27. Legal Pages (Privacy Policy & Terms of Service)
   -------------------------------------------------------------------------- */
.legal-page-main {
  padding-top: 60px;
  padding-bottom: 100px;
}

.legal-container {
  max-width: 1000px;
}

.legal-header {
  margin-bottom: 48px;
}

.legal-title {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 800;
  color: var(--color-text-main);
  letter-spacing: -0.03em;
  margin-bottom: 10px;
}

.legal-meta {
  font-size: 0.92rem;
  color: var(--color-text-light);
  font-weight: 500;
}

.legal-body-card {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 48px 42px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.legal-section h2 {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--color-text-main);
  margin-bottom: 14px;
  letter-spacing: -0.02em;
}

.legal-section p {
  font-size: 1rem;
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-bottom: 14px;
}

.legal-section p:last-child {
  margin-bottom: 0;
}

.legal-section ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 14px 0 16px 20px;
  list-style: disc;
}

.legal-section ul li {
  font-size: 0.96rem;
  color: var(--color-text-muted);
  line-height: 1.65;
}

.legal-section ul li strong {
  color: var(--color-text-main);
}

.legal-section a {
  color: var(--color-primary);
  font-weight: 600;
  text-decoration: underline;
}

.legal-contact-box {
  background: var(--color-surface-light);
  border: 1px solid var(--color-border);
  border-left: 3px solid var(--color-primary);
  border-radius: var(--radius-sm);
  padding: 20px 24px;
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--color-text-main);
  margin-top: 14px;
  word-break: break-word;
}

@media (max-width: 768px) {
  .legal-page-main {
    padding-top: 40px;
    padding-bottom: 60px;
  }

  .legal-header {
    margin-bottom: 32px;
  }

  .legal-title {
    font-size: 2.2rem;
  }

  .legal-body-card {
    padding: 28px 18px;
    gap: 24px;
    border-radius: var(--radius-lg);
  }

  .legal-section h2 {
    font-size: 1.25rem;
  }

  .legal-section p,
  .legal-section ul li {
    font-size: 0.92rem;
  }
}

@media (max-width: 480px) {
  .legal-title {
    font-size: 1.85rem;
  }

  .legal-body-card {
    padding: 20px 14px;
  }
}
