/* ============================================
   TRADEWORKS AI — Design System & Styles
   Version 4.0 — April 2026
   ============================================ */

/* ---------- CSS Custom Properties ---------- */
:root {
  /* Colors */
  --color-teal: #00B4D8;
  --color-teal-dark: #0096B7;
  --color-teal-glow: rgba(0, 180, 216, 0.15);
  --color-orange: #FF6B2B;
  --color-orange-dark: #E55A1B;
  --color-blue: #1E3A5F;
  --color-success: #10B981;

  /* Backgrounds */
  --bg-white: #FFFFFF;
  --bg-light: #F5F7FA;
  --bg-dark: #0F2B46;
  --bg-dark-lighter: #132F4C;

  /* Text */
  --text-primary: #1A1A2E;
  --text-secondary: #6B7280;
  --text-on-dark: #FFFFFF;
  --text-on-dark-muted: #94A3B8;

  /* Borders */
  --border-light: #E5E7EB;
  --border-medium: #D1D5DB;

  /* Shadows */
  --shadow-card: 0 1px 3px rgba(15, 43, 70, 0.06), 0 4px 12px rgba(15, 43, 70, 0.06);
  --shadow-md: 0 4px 6px rgba(15, 43, 70, 0.07), 0 12px 24px rgba(15, 43, 70, 0.1);
  --shadow-lg: 0 8px 16px rgba(15, 43, 70, 0.1), 0 20px 48px rgba(15, 43, 70, 0.12);

  /* Radius */
  --radius-sm: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;

  /* Layout */
  --container-max: 1200px;

  /* Fonts */
  --font-heading: 'Plus Jakarta Sans', sans-serif;
  --font-body: 'Inter', sans-serif;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}

body {
  overflow-x: hidden;
  max-width: 100vw;
  width: 100%;
}

/* Global overflow containment — exclude header so dropdowns aren't clipped */
section, footer, main, .site-footer, .hero-section, .hero-animated,
.page-hero, .page-hero-v2, .final-cta-section, .final-cta-v2,
.bg-dark, .bg-dark-gradient, .hiw-section, .trust-bar, .trust-bar-colorful {
  overflow-x: hidden;
}

/* Breadcrumb: keep in DOM for SEO, hide visually */
.breadcrumb {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-primary);
  background: var(--bg-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul, ol {
  list-style: none;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  line-height: 1.2;
}

/* ---------- Skip Link ---------- */
.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  background: var(--color-teal);
  color: white;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  z-index: 10000;
  font-weight: 600;
}

.skip-link:focus {
  top: 8px;
}

/* ---------- Container ---------- */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

.container-narrow {
  max-width: 780px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Section Utilities ---------- */
.section-padding {
  padding: 80px 0;
}

.bg-white { background-color: var(--bg-white); }
.bg-light { background-color: var(--bg-light); }
.bg-dark  { background-color: var(--bg-dark); }

.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-header h2 {
  font-size: 36px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.section-header-light h2 {
  color: var(--text-on-dark);
}

.section-subtitle {
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.6;
  color: var(--text-secondary);
  max-width: 640px;
  margin: 0 auto;
}

.text-on-dark-muted {
  color: var(--text-on-dark-muted) !important;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 16px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  border: 2px solid transparent;
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-orange) 0%, #FF8F5C 100%);
  color: white;
  padding: 10px 20px;
  box-shadow: 0 2px 8px rgba(255, 107, 43, 0.3);
}
.btn-primary:hover {
  background: linear-gradient(135deg, var(--color-orange-dark) 0%, var(--color-orange) 100%);
  box-shadow: 0 4px 16px rgba(255, 107, 43, 0.4);
  transform: translateY(-1px);
}

.btn-lg {
  padding: 16px 32px;
  font-size: 17px;
}

.btn-sm {
  padding: 10px 24px;
  font-size: 15px;
}

.btn-outline {
  background: transparent;
  border-color: var(--color-blue);
  color: var(--color-blue);
  padding: 10px 24px;
}
.btn-outline:hover {
  background: var(--color-blue);
  color: white;
}

.btn-outline-light {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.5);
  color: white;
  padding: 16px 32px;
}
.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: white;
}

.btn-ghost {
  background: transparent;
  border: 2px solid #1A1A2E;
  color: #1A1A2E;
  padding: 16px 32px;
}
.btn-ghost:hover {
  background: #1A1A2E;
  color: #FFFFFF;
}

/* Ghost button on dark backgrounds */
.bg-dark .btn-ghost,
.bg-dark-gradient .btn-ghost,
.final-cta-v2 .btn-ghost,
.final-cta-section .btn-ghost,
.page-hero-v2 .btn-ghost {
  border-color: rgba(255, 255, 255, 0.4);
  color: white;
}
.bg-dark .btn-ghost:hover,
.bg-dark-gradient .btn-ghost:hover,
.final-cta-v2 .btn-ghost:hover,
.final-cta-section .btn-ghost:hover,
.page-hero-v2 .btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: white;
  color: white;
}

/* ============================================
   NAVIGATION
   ============================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  transition: box-shadow 0.3s, background 0.3s;
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04), 0 4px 20px rgba(0, 0, 0, 0.06);
}

.nav-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  height: 64px;
  gap: 8px;
}

/* Text Logo */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, rgba(0,180,216,0.12) 0%, rgba(0,180,216,0.04) 100%);
  border-radius: 10px;
  border: 1px solid rgba(0,180,216,0.15);
}

.logo-text {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

.logo-text-white {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  color: var(--text-on-dark);
  letter-spacing: -0.02em;
}

.logo-ai {
  color: var(--color-orange);
}

.nav-logo img {
  width: 36px;
  height: 36px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0 auto;
  flex-shrink: 1;
  min-width: 0;
}

.nav-links > li > a,
.nav-links > li > button {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-primary);
  padding: 8px 10px;
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.2s;
  white-space: nowrap;
}

.nav-links > li > a:hover,
.nav-links > li > button:hover {
  color: var(--color-teal);
}

/* Dropdown */
.nav-dropdown {
  position: relative;
}

.nav-dropdown button::after {
  content: '';
  display: inline-block;
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  margin-left: 6px;
  vertical-align: middle;
  transition: transform 0.2s;
}

.nav-dropdown button[aria-expanded="true"]::after {
  transform: rotate(180deg);
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 8px 0;
  z-index: 10000;
}

.dropdown-menu.active {
  display: block;
}

.dropdown-menu a {
  display: block;
  padding: 10px 16px;
  font-size: 14px;
  color: var(--text-primary);
  transition: background 0.15s, color 0.15s;
}

.dropdown-menu a:hover {
  background: var(--bg-light);
  color: var(--color-teal);
}

.dropdown-footer {
  border-top: 1px solid var(--border-light);
  margin-top: 4px;
  padding-top: 4px;
}

.dropdown-footer a {
  font-weight: 600;
  color: var(--color-teal) !important;
}

.dropdown-2col {
  min-width: 340px;
  display: none;
  flex-wrap: wrap;
  padding: 8px;
}

.dropdown-2col.active {
  display: flex;
}

.dropdown-2col > li {
  width: 50%;
}

.dropdown-2col > .dropdown-full {
  width: 100%;
}

/* Nav Actions */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: 8px;
  flex-shrink: 0;
}

.nav-phone {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--text-primary);
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  transition: color 0.2s;
}

.nav-phone:hover {
  color: var(--color-teal);
}

.nav-cta {
  white-space: nowrap;
  border-radius: var(--radius-sm);
  font-size: 13px;
  padding: 9px 16px;
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}

.hamburger-line {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all 0.3s;
}

/* Mobile nav overlay */
.mobile-nav-open .nav-links {
  display: flex;
  flex-direction: column;
  position: fixed;
  inset: 0;
  background: var(--bg-white);
  z-index: 999;
  padding: 80px 24px 24px;
  overflow-y: auto;
  align-items: stretch;
}

/* ============================================
   HERO
   ============================================ */
.hero-section {
  background: var(--bg-dark);
  background-image:
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(0,180,216,0.12) 0%, transparent 60%),
    radial-gradient(ellipse 40% 40% at 80% 60%, rgba(0,180,216,0.06) 0%, transparent 50%);
  padding: 100px 0 80px;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0,180,216,0.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.hero-content h1 {
  font-size: 48px;
  font-weight: 700;
  color: var(--text-on-dark);
  max-width: 640px;
  margin-bottom: 24px;
}

.hero-lead {
  font-size: 18px;
  line-height: 1.6;
  color: var(--text-on-dark-muted);
  margin-bottom: 32px;
  max-width: 560px;
}

.hero-lead strong {
  color: var(--text-on-dark);
}

.hero-ctas {
  display: flex;
  gap: 16px;
  margin-bottom: 16px;
}

.hero-micro-trust {
  font-size: 14px;
  color: var(--text-on-dark-muted);
  opacity: 0.8;
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  min-width: 0;
}

.hero-visual picture,
.hero-visual img {
  width: 100%;
  max-width: 580px;
  height: auto;
  border-radius: var(--radius-xl);
}

.hero-video-wrapper {
  width: 100%;
  max-width: 580px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.hero-video-wrapper video {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-xl);
}

/* Placeholder for missing hero image */
.hero-visual picture {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 380px;
  background: linear-gradient(145deg, var(--bg-dark-lighter) 0%, rgba(0,180,216,0.1) 100%);
  border: 1px solid rgba(0,180,216,0.15);
  border-radius: var(--radius-xl);
  position: relative;
  overflow: hidden;
}

.hero-visual picture::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(90deg, rgba(0,180,216,0.03) 0px, rgba(0,180,216,0.03) 1px, transparent 1px, transparent 40px),
    repeating-linear-gradient(0deg, rgba(0,180,216,0.03) 0px, rgba(0,180,216,0.03) 1px, transparent 1px, transparent 40px);
  pointer-events: none;
}

.hero-visual picture::after {
  content: 'AI Dashboard Preview';
  font-family: var(--font-heading);
  font-size: 16px;
  color: rgba(0,180,216,0.4);
  font-weight: 600;
  letter-spacing: 0.05em;
  z-index: 1;
}

/* Hide placeholder text when real image loads */
.hero-visual picture img[src]:not([src=""]) ~ * {
  display: none;
}

/* ============================================
   TRUST BAR
   ============================================ */
.trust-bar {
  background: var(--bg-white);
  padding: 40px 0;
  border-bottom: 1px solid var(--border-light);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}

.trust-item {
  position: relative;
  padding: 16px 8px;
}

.trust-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 20%;
  height: 60%;
  width: 1px;
  background: var(--border-light);
}

.trust-number {
  display: block;
  font-family: var(--font-heading);
  font-size: 36px;
  font-weight: 700;
  color: var(--color-teal);
  line-height: 1;
  margin-bottom: 6px;
}

.trust-label {
  display: block;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--text-secondary);
  margin-top: 4px;
}

/* ============================================
   SERVICES OVERVIEW
   ============================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 36px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.4s ease, border-color 0.3s, transform 0.4s ease;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-teal), #00D4AA);
  opacity: 0;
  transition: opacity 0.3s;
}

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

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

.service-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(0,180,216,0.12) 0%, rgba(0,180,216,0.04) 100%);
  border: 1px solid rgba(0,180,216,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

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

.service-card h3 {
  font-size: 22px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.service-card > p {
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-secondary);
}

.service-features {
  margin-top: 20px;
  margin-bottom: 24px;
}

.service-features li {
  position: relative;
  padding-left: 24px;
  font-size: 15px;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.service-features li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  color: var(--color-success);
  font-weight: 700;
}

.service-link {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  color: var(--color-teal);
  margin-top: auto;
  transition: color 0.2s;
}

.service-link:hover {
  color: var(--color-teal-dark);
  text-decoration: underline;
}

/* ============================================
   HOW IT WORKS — TIMELINE
   ============================================ */
.timeline {
  position: relative;
  padding-left: 60px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 19px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--border-light);
}

.timeline-step {
  display: flex;
  gap: 24px;
  margin-bottom: 40px;
  position: relative;
}

.timeline-step:last-child {
  margin-bottom: 0;
}

.step-marker {
  position: absolute;
  left: -60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.step-number {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-teal);
  color: white;
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
}

.step-days {
  display: inline-block;
  background: rgba(0, 180, 216, 0.1);
  color: var(--color-teal);
  font-size: 13px;
  padding: 4px 10px;
  border-radius: 12px;
  white-space: nowrap;
}

.step-content h3 {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.step-content p {
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-secondary);
}

/* ============================================
   INDUSTRIES
   ============================================ */
.industry-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.industry-card {
  display: block;
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-left: 3px solid transparent;
  border-radius: var(--radius-lg);
  padding: 24px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.industry-card:hover {
  border-left-color: var(--color-teal);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
  background: linear-gradient(135deg, #fff 80%, rgba(0,180,216,0.03) 100%);
}

.industry-icon {
  margin-bottom: 12px;
}

.industry-card h3 {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.industry-card p {
  font-size: 14px;
  line-height: 1.5;
  color: var(--text-secondary);
}

/* ============================================
   INTEGRATIONS
   ============================================ */
.integration-grid-featured {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}

.integration-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 32px 24px;
  text-align: center;
  text-decoration: none;
  min-height: 140px;
  transition: all 0.3s ease;
}

.integration-card:hover {
  border-color: var(--color-teal);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.integration-card img {
  max-height: 48px;
  object-fit: contain;
  margin: 0 auto;
}

/* When logo images are missing, show label nicely */
.integration-card img[src$=".png"] {
  min-height: 48px;
  background: var(--bg-light);
  border-radius: 8px;
  width: 120px;
}

.integration-label {
  display: block;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
  margin-top: 8px;
}

.integration-grid-secondary {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px 24px;
  margin-bottom: 32px;
}

.integration-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  width: 110px;
  padding: 14px 10px;
  border-radius: var(--radius-sm);
  transition: background 0.2s;
}

.integration-logo:hover {
  background: rgba(0,180,216,0.05);
}

.integration-logo img {
  width: 56px;
  height: 56px;
  object-fit: contain;
  border-radius: 10px;
  background: var(--bg-light);
  padding: 6px;
}

.integration-logo span {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-secondary);
  text-align: center;
}

#integrations .btn-outline {
  display: block;
  width: fit-content;
  margin: 0 auto;
}

/* ============================================
   WHY TRADEWORKS AI
   ============================================ */
.differentiator-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.diff-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-xl);
  padding: 28px;
  transition: all 0.3s ease;
}

.diff-card:hover {
  border-color: rgba(0, 180, 216, 0.3);
  background: rgba(255, 255, 255, 0.05);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.diff-icon {
  margin-bottom: 16px;
}

.diff-card h3 {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 600;
  color: white;
  margin-bottom: 12px;
}

.diff-card p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-on-dark-muted);
}

.link-on-dark {
  color: var(--color-teal);
  text-decoration: none;
}

.link-on-dark:hover {
  text-decoration: underline;
}

/* ============================================
   PRICING PREVIEW
   ============================================ */
.pricing-preview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 24px;
}

.pricing-preview-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 36px 32px;
  text-align: center;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pricing-preview-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.pricing-preview-card.featured {
  border-color: var(--color-teal);
  box-shadow: 0 0 0 1px rgba(0,180,216,0.2), var(--shadow-lg);
  transform: scale(1.03);
}

.pricing-preview-card.featured:hover {
  transform: scale(1.03) translateY(-3px);
}

.pricing-badge {
  display: inline-block;
  background: var(--color-teal);
  color: white;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 12px;
  margin-bottom: 12px;
}

.pricing-preview-card h3 {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.price {
  margin-bottom: 16px;
}

.price-amount {
  font-family: var(--font-heading);
  font-size: 48px;
  font-weight: 700;
  color: var(--text-primary);
}

.price-period {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--text-secondary);
}

.pricing-preview-card > p {
  font-size: 15px;
  color: var(--text-secondary);
  margin-bottom: 24px;
  line-height: 1.5;
}

.pricing-note {
  text-align: center;
  font-size: 14px;
  color: var(--text-secondary);
}

.pricing-note a {
  color: var(--color-teal);
  font-weight: 500;
}

.pricing-note a:hover {
  text-decoration: underline;
}

/* ============================================
   BLOG / EXPERT INSIGHTS
   ============================================ */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 32px;
}

.blog-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: box-shadow 0.4s ease, transform 0.4s ease;
}

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

.blog-card > a {
  display: block;
  background: linear-gradient(135deg, var(--bg-light) 0%, rgba(0,180,216,0.06) 100%);
  position: relative;
}

.blog-card > a img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

/* Blog image placeholder when images are missing */
.blog-card > a img[src$=".webp"] {
  min-height: 160px;
  background: linear-gradient(135deg, var(--bg-light) 0%, rgba(0,180,216,0.08) 100%);
}

.blog-card-body {
  padding: 20px;
}

.blog-category {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-teal);
  display: block;
  margin-bottom: 8px;
}

.blog-card-body h3 {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.blog-card-body h3 a {
  color: inherit;
  text-decoration: none;
}

.blog-card-body h3 a:hover {
  text-decoration: underline;
}

.blog-card-body p {
  font-size: 14px;
  line-height: 1.5;
  color: var(--text-secondary);
}

.section-link {
  display: block;
  text-align: center;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
  color: var(--color-teal);
  transition: color 0.2s;
}

.section-link:hover {
  color: var(--color-teal-dark);
  text-decoration: underline;
}

/* ============================================
   FAQ
   ============================================ */
.faq-list {
  max-width: 780px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--border-light);
}

.faq-item summary {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary);
  padding: 20px 48px 20px 0;
  cursor: pointer;
  list-style: none;
  position: relative;
  transition: color 0.2s;
}

/* Also style h3 inside summary (services page FAQ) */
.faq-item summary h3 {
  font-size: inherit;
  font-weight: inherit;
  color: inherit;
  font-family: inherit;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 24px;
  font-weight: 300;
  color: var(--text-secondary);
  transition: transform 0.2s;
}

.faq-item[open] summary::after {
  content: '\2212';
}

.faq-item summary:hover {
  color: var(--color-teal);
}

.faq-answer {
  padding: 0 0 24px 0;
}

.faq-answer p {
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-secondary);
}

.faq-answer a {
  color: var(--color-teal);
}

.faq-answer a:hover {
  text-decoration: underline;
}

/* ============================================
   FINAL CTA
   ============================================ */
.final-cta-section {
  background: var(--gradient-cta) !important;
}

.final-cta-section h2 {
  font-size: 36px;
  font-weight: 700;
  color: white;
  margin-bottom: 24px;
}

.final-cta-section > .container > p:first-of-type,
.final-cta-section > .container-narrow > p:first-of-type {
  font-size: 18px;
  line-height: 1.6;
  color: var(--text-on-dark-muted);
  margin-bottom: 32px;
}

.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.cta-micro-trust {
  font-size: 14px;
  color: var(--text-on-dark-muted);
  opacity: 0.8;
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  background: linear-gradient(180deg, var(--bg-dark) 0%, #091E33 100%);
  padding: 72px 0 32px;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  margin-bottom: 4px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
}

.footer-brand p {
  font-size: 14px;
  line-height: 1.5;
  color: var(--text-on-dark-muted);
  margin-top: 16px;
}

.footer-location {
  font-size: 13px !important;
  color: var(--text-on-dark-muted) !important;
  margin-top: 8px !important;
}

.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255,255,255,0.06);
  color: var(--text-on-dark-muted);
  transition: all 0.2s;
}

.footer-social a:hover {
  background: var(--color-teal);
  color: white;
  transform: translateY(-2px);
}

.footer-column h4 {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 600;
  color: white;
  margin-bottom: 16px;
}

.footer-column ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-column a {
  font-size: 14px;
  color: var(--text-on-dark-muted);
  transition: color 0.2s;
}

.footer-column a:hover {
  color: white;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
  margin-top: 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom p {
  font-size: 13px;
  color: var(--text-on-dark-muted);
}

.footer-legal {
  display: flex;
  gap: 24px;
}

.footer-legal a {
  font-size: 13px;
  color: var(--text-on-dark-muted);
  transition: color 0.2s;
}

.footer-legal a:hover {
  color: white;
}

/* ============================================
   AUTHOR PAGE
   ============================================ */

/* Breadcrumb */
.author-header .breadcrumb {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 2rem;
}
.author-header .breadcrumb a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.2s;
}
.author-header .breadcrumb a:hover {
  color: var(--color-teal);
}

/* Author Grid */
.author-grid {
  display: grid;
  grid-template-columns: 35% 65%;
  gap: 3rem;
  align-items: start;
}
.author-photo img {
  width: 100%;
  max-width: 300px;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}
.author-content {
  padding-top: 0.5rem;
}
.author-title {
  font-family: var(--font-heading);
  font-size: 42px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 0.5rem 0;
  line-height: 1.15;
}
.author-subtitle {
  font-size: 18px;
  color: var(--text-secondary);
  margin: 0 0 1.5rem 0;
}
.author-social {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
}
.author-social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 15px;
  color: var(--color-teal-dark);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}
.author-social-link:hover {
  color: var(--color-teal);
}

/* Expertise List */
.expertise-list {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 780px;
}
.expertise-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border-light);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-primary);
}
.expertise-item:last-child {
  border-bottom: none;
}
.expertise-bullet {
  flex-shrink: 0;
  margin-top: 2px;
}

/* Article List */
.article-list {
  max-width: 780px;
  margin: 0 auto;
}
.article-entry {
  display: block;
  padding: 1.25rem 1.5rem;
  margin-bottom: 1rem;
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: box-shadow 0.2s, border-color 0.2s;
}
.article-entry:hover {
  box-shadow: var(--shadow-card);
  border-color: var(--color-teal);
}
.article-category {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-teal-dark);
  margin-bottom: 0.35rem;
}
.article-entry h3 {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0;
  line-height: 1.4;
}

/* ============================================
   RESPONSIVE — TABLET (768–1023px)
   ============================================ */
@media (max-width: 1023px) {
  .hero-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hero-content h1 {
    font-size: 40px;
  }

  .hero-section {
    padding: 60px 0;
  }

  .section-padding {
    padding: 60px 0;
  }

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

  .trust-item:nth-child(2)::after {
    display: none;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

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

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

  .section-header h2 {
    font-size: 30px;
  }

  .final-cta-section h2 {
    font-size: 30px;
  }

  .nav-phone-text {
    display: none;
  }

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

  .footer-brand {
    grid-column: 1 / -1;
  }

  .author-grid {
    grid-template-columns: 30% 70%;
    gap: 2rem;
  }
  .author-title {
    font-size: 34px;
  }
}

/* ============================================
   RESPONSIVE — MOBILE (<768px)
   ============================================ */
@media (max-width: 767px) {
  .nav-links {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-actions {
    margin-left: auto;
    margin-right: 12px;
  }

  .nav-cta {
    display: none;
  }

  /* Mobile menu open state */
  body.mobile-nav-open .nav-links {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: var(--bg-white);
    z-index: 999;
    padding: 80px 24px 24px;
    overflow-y: auto;
    align-items: stretch;
    gap: 0;
  }

  body.mobile-nav-open .nav-links > li > a,
  body.mobile-nav-open .nav-links > li > button {
    display: block;
    width: 100%;
    text-align: left;
    padding: 14px 0;
    font-size: 18px;
    border-bottom: 1px solid var(--border-light);
  }

  body.mobile-nav-open .dropdown-menu,
  body.mobile-nav-open .dropdown-2col {
    position: static;
    box-shadow: none;
    border: none;
    border-radius: 0;
    padding-left: 16px;
    min-width: unset;
  }

  body.mobile-nav-open .dropdown-2col > li {
    width: 100%;
  }

  body.mobile-nav-open .nav-links .mobile-menu-cta {
    margin-top: 24px;
  }

  /* Hamburger to X */
  body.mobile-nav-open .nav-toggle .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
  }
  body.mobile-nav-open .nav-toggle .hamburger-line:nth-child(2) {
    opacity: 0;
  }
  body.mobile-nav-open .nav-toggle .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
  }

  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-content h1 {
    font-size: 32px;
    max-width: 100%;
  }

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

  .hero-section {
    padding: 48px 0;
  }

  .hero-ctas {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-visual {
    order: 2;
  }

  .hero-visual img {
    max-width: 320px;
    margin: 0 auto;
  }

  .section-padding {
    padding: 48px 0;
  }

  .trust-bar {
    padding: 24px 0;
  }

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

  .trust-item::after {
    display: none !important;
  }

  .trust-number {
    font-size: 28px;
  }

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

  .integration-grid-featured {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .integration-grid-secondary {
    justify-content: space-around;
  }

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

  .pricing-preview-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

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

  .cta-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .section-header h2 {
    font-size: 26px;
  }

  .final-cta-section h2 {
    font-size: 28px;
  }

  .price-amount {
    font-size: 40px;
  }

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

  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

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

  .timeline {
    padding-left: 0;
  }

  .timeline::before {
    display: none;
  }

  .step-marker {
    position: static;
    flex-direction: row;
    gap: 10px;
    margin-bottom: 12px;
  }

  .timeline-step {
    flex-direction: column;
    gap: 0;
    margin-bottom: 24px;
  }

  .content-grid {
    grid-template-columns: 1fr !important;
  }

  .content-grid-reverse .content-visual {
    order: 2;
  }

  .content-grid-reverse .content-text {
    order: 1;
  }

  .content-visual img {
    max-width: 400px;
    margin: 0 auto;
  }

  .process-steps {
    grid-template-columns: 1fr !important;
  }

  .process-cta {
    flex-direction: column;
    align-items: stretch;
  }

  .industry-strip {
    gap: 8px;
  }

  .author-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    text-align: center;
  }
  .author-photo {
    display: flex;
    justify-content: center;
  }
  .author-photo img {
    max-width: 220px;
  }
  .author-title {
    font-size: 30px;
  }
  .author-social {
    justify-content: center;
  }
  .author-header .breadcrumb {
    text-align: center;
  }
}

/* ============================================
   SERVICES HUB — PAGE HERO (shorter than homepage)
   ============================================ */
.page-hero {
  padding: 60px 0 80px;
  text-align: center;
  background-image:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(0,180,216,0.1) 0%, transparent 60%) !important;
}

.page-hero h1 {
  font-family: var(--font-heading);
  font-size: 40px;
  font-weight: 700;
  color: var(--text-on-dark);
  max-width: 780px;
  margin: 0 auto 24px;
}

.page-hero .hero-lead {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 32px;
}

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

/* ---------- Breadcrumb ---------- */
.breadcrumb {
  background: var(--bg-dark);
  padding: 12px 0 0;
}

.breadcrumb ol {
  display: flex;
  gap: 8px;
  align-items: center;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
  font-size: 13px;
}

.breadcrumb li {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-on-dark-muted);
}

.breadcrumb li a {
  color: var(--text-on-dark);
  text-decoration: none;
  transition: color 0.2s;
}

.breadcrumb li a:hover {
  color: var(--color-teal);
}

.breadcrumb li + li::before {
  content: '>';
  color: var(--text-on-dark-muted);
  opacity: 0.5;
}

/* ============================================
   SERVICES HUB — PILLAR CARDS
   ============================================ */
.services-pillar-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.pillar-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.3s, border-color 0.3s, transform 0.3s;
}

.pillar-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--color-teal);
  transform: translateY(-2px);
}

.pillar-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(0, 180, 216, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}

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

.pillar-number {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-teal);
  margin-bottom: 8px;
}

.pillar-card h3 {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.pillar-card > p {
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-secondary);
}

.pillar-features {
  margin-top: 20px;
  margin-bottom: 24px;
}

.pillar-features li {
  position: relative;
  padding-left: 24px;
  font-size: 15px;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.pillar-features li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  color: var(--color-success);
  font-weight: 700;
}

.pillar-card .btn {
  margin-top: auto;
}

/* ============================================
   CONTENT GRID (Deep Dive Sections)
   ============================================ */
.content-grid {
  display: grid;
  grid-template-columns: 55% 45%;
  gap: 48px;
  align-items: center;
}

.content-grid-reverse {
  grid-template-columns: 45% 55%;
}

.content-text h2 {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 24px;
}

.content-text p {
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.content-text a:not(.section-link):not(.btn) {
  color: var(--color-teal);
  font-weight: 500;
  text-decoration: none;
}

.content-text a:not(.section-link):not(.btn):hover {
  text-decoration: underline;
}

.content-text .section-link {
  display: inline-block;
  margin-top: 8px;
}

.content-visual picture {
  display: block;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: linear-gradient(145deg, var(--bg-light) 0%, rgba(0,180,216,0.06) 100%);
  min-height: 280px;
  border: 1px solid var(--border-light);
  position: relative;
}

.content-visual picture::after {
  content: 'Dashboard Preview';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 14px;
  color: var(--text-secondary);
  opacity: 0.4;
  letter-spacing: 0.05em;
}

.content-visual img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  position: relative;
  z-index: 1;
}

/* ============================================
   PROCESS STEPS (How We Work)
   ============================================ */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

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

.process-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--color-teal);
  color: white;
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 16px;
}

.process-step h3 {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 600;
  color: white;
  margin-bottom: 12px;
}

.process-step p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-on-dark-muted);
}

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

/* ============================================
   INDUSTRY CHIPS (Who We Serve)
   ============================================ */
.industry-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 24px;
}

.industry-chip {
  display: inline-flex;
  align-items: center;
  padding: 10px 20px;
  border: 1px solid var(--border-light);
  border-radius: 9999px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  color: var(--text-primary);
  background: transparent;
  text-decoration: none;
  transition: all 0.2s;
}

.industry-chip:hover {
  background: var(--color-teal);
  color: white;
  border-color: var(--color-teal);
}

.industry-note {
  text-align: center;
  font-size: 15px;
  color: var(--text-secondary);
}

.industry-note a {
  color: var(--color-teal);
  font-weight: 500;
  text-decoration: none;
}

.industry-note a:hover {
  text-decoration: underline;
}

/* ============================================
   SERVICES HUB — RESPONSIVE
   ============================================ */
@media (max-width: 1023px) {
  .services-pillar-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .process-steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .page-hero h1 {
    font-size: 32px;
  }

  .content-text h2 {
    font-size: 26px;
  }
}

@media (max-width: 767px) {
  .page-hero {
    padding: 40px 0 60px;
  }

  .page-hero h1 {
    font-size: 28px;
  }

  .page-hero .hero-ctas {
    flex-direction: column;
    align-items: stretch;
  }

  .services-pillar-grid {
    gap: 16px;
  }

  .pillar-card {
    padding: 24px;
  }
}

/* ============================================
   ABOUT PAGE — Founder Grid
   ============================================ */
.founder-grid {
  display: grid;
  grid-template-columns: 40% 60%;
  gap: 48px;
  align-items: center;
}

.founder-photo img {
  width: 100%;
  max-width: 400px;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  background: linear-gradient(145deg, var(--bg-light) 0%, rgba(0,180,216,0.08) 100%);
  min-height: 300px;
}

.founder-content h2 {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.founder-title,
.founder-content .founder-title {
  font-size: 16px;
  color: var(--color-teal);
  font-weight: 600;
  margin-bottom: 20px;
}

.founder-content p {
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.founder-links {
  display: flex;
  gap: 20px;
  align-items: center;
  margin-top: 24px;
}

/* ---------- Team Grid ---------- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.team-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: 32px 24px;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
}

.team-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
}

.team-card-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.team-initials {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 700;
  color: #FFFFFF;
}

.team-card h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.team-role {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-teal);
  margin-bottom: 16px;
}

.team-card p {
  font-size: 14px;
  line-height: 1.65;
  color: var(--text-secondary);
  margin-bottom: 12px;
  text-align: left;
}

.team-links a {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-teal);
}

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

.founder-link {
  color: var(--color-teal);
  font-weight: 600;
  font-size: 15px;
}

.founder-link:hover {
  text-decoration: underline;
}

.founder-social {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text-secondary);
  font-size: 14px;
}

.founder-social:hover {
  color: var(--color-teal);
}

/* ============================================
   ABOUT PAGE — Mission Text
   ============================================ */
.mission-text {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--text-primary);
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

/* ============================================
   ABOUT PAGE — Services Cards (compact)
   ============================================ */
.about-services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 24px;
}

.about-service-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 28px;
  transition: all 0.3s ease;
}

.about-service-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--color-teal);
  transform: translateY(-2px);
}

.about-service-card h3 {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.about-service-card p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.about-service-card .service-link {
  text-align: left;
}

/* ============================================
   ABOUT PAGE — Values Grid
   ============================================ */
.values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.value-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-left: 3px solid transparent;
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: all 0.3s ease;
}

.value-card:hover {
  border-left-color: var(--color-teal);
  box-shadow: var(--shadow-md);
}

.value-icon {
  margin-bottom: 16px;
}

.value-card h3 {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.value-card p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-secondary);
}

/* ============================================
   ABOUT PAGE — Credentials Placeholder
   ============================================ */
.credentials-placeholder {
  text-align: center;
  padding: 48px 24px;
  border: 2px dashed var(--border-light);
  border-radius: var(--radius-lg);
  color: var(--text-secondary);
  font-size: 15px;
}

/* ============================================
   AI AGENTS — Pricing 2-Tier
   ============================================ */
.container-pricing {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 24px;
}

.pricing-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 24px;
}

.pricing-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pricing-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.pricing-card.featured {
  border-top: 3px solid var(--color-teal);
  box-shadow: var(--shadow-lg);
}

.pricing-card h3 {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.pricing-card .price {
  margin-bottom: 12px;
}

.trial-badge {
  display: inline-block;
  background: rgba(16, 185, 129, 0.1);
  color: var(--color-success);
  font-size: 13px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  margin-bottom: 8px;
}

.setup-fee {
  display: block;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.billing-note {
  display: block;
  font-size: 13px;
  font-style: italic;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.plan-features {
  margin-bottom: 24px;
  flex-grow: 1;
}

.plan-features li {
  position: relative;
  padding-left: 24px;
  font-size: 14px;
  color: var(--text-primary);
  margin-bottom: 8px;
  line-height: 1.4;
}

.plan-features li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  color: var(--color-success);
  font-weight: 700;
}

.plan-features li.includes-starter {
  font-weight: 700;
  color: var(--color-teal);
  border-bottom: 1px dashed var(--border-light);
  padding-bottom: 8px;
  margin-bottom: 12px;
}

.btn-block {
  display: block;
  width: 100%;
  text-align: center;
  margin-top: auto;
}

/* ============================================
   AI AGENTS — Feature Grid (6 cards)
   ============================================ */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 28px;
  transition: all 0.3s ease;
}

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

.feature-card .card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(0,180,216,0.12) 0%, rgba(0,180,216,0.04) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.feature-card h3 {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.feature-card p {
  font-size: 14px;
  line-height: 1.5;
  color: var(--text-secondary);
}

/* ============================================
   AI AGENTS — Channel Cards (4 cards)
   ============================================ */
.channel-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.channel-card {
  text-align: center;
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 28px 20px;
  transition: all 0.3s ease;
}

.channel-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--color-teal);
  transform: translateY(-2px);
}

.channel-card .card-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(0,180,216,0.12) 0%, rgba(0,180,216,0.04) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.channel-card h3 {
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.channel-card p {
  font-size: 14px;
  line-height: 1.5;
  color: var(--text-secondary);
}

/* ============================================
   AI AGENTS — Intelligence Items
   ============================================ */
.intelligence-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.intelligence-item {
  padding: 24px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  background: var(--bg-white);
  transition: all 0.3s ease;
}

.intelligence-item:hover {
  border-color: var(--color-teal);
  box-shadow: var(--shadow-card);
}

.intelligence-item h3 {
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.intelligence-item p {
  font-size: 14px;
  line-height: 1.5;
  color: var(--text-secondary);
}

/* ============================================
   AI AGENTS — Escalation Tiers
   ============================================ */
.escalation-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.escalation-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-xl);
  padding: 28px;
  transition: all 0.3s ease;
}

.escalation-card:hover {
  border-color: rgba(0,180,216,0.3);
  background: rgba(255,255,255,0.06);
}

.escalation-card h3 {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 600;
  color: white;
  margin-bottom: 12px;
}

.escalation-card p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-on-dark-muted);
}

.escalation-card .card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(255,107,43,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

/* ============================================
   AI AGENTS — Use Case Vignettes
   ============================================ */
.use-case-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.use-case-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 28px;
  transition: all 0.3s ease;
}

.use-case-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--color-teal);
}

.use-case-card h3 {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.use-case-trade {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-teal);
  margin-bottom: 12px;
  display: block;
}

.use-case-card p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: 12px;
}

.use-case-card .service-link {
  text-align: left;
  font-size: 14px;
}

/* ============================================
   LEGAL PAGES (Accessibility, Privacy, Terms)
   ============================================ */
.legal-page {
  line-height: 1.75;
}

.legal-page h1 {
  font-size: 36px;
  margin-bottom: 8px;
}

.legal-page .last-updated {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 40px;
}

.legal-page h2 {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 600;
  color: var(--text-primary);
  margin-top: 40px;
  margin-bottom: 16px;
}

.legal-page p {
  margin-bottom: 16px;
  color: var(--text-secondary);
}

.legal-page ul {
  margin-bottom: 16px;
  padding-left: 20px;
}

.legal-page li {
  margin-bottom: 10px;
  color: var(--text-secondary);
  list-style: disc;
  padding-left: 4px;
}

.legal-page a {
  color: var(--color-teal);
}

.legal-page a:hover {
  text-decoration: underline;
}

/* ============================================
   BREADCRUMB NAV (inline style for sub-pages)
   ============================================ */
.breadcrumb-nav {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 13px;
  margin-bottom: 16px;
}

.breadcrumb-nav a {
  color: var(--text-on-dark);
  opacity: 0.7;
  transition: opacity 0.2s;
}

.breadcrumb-nav a:hover {
  opacity: 1;
  color: var(--color-teal);
}

.breadcrumb-nav span {
  color: var(--text-on-dark-muted);
  opacity: 0.5;
}

.breadcrumb-nav span[aria-current] {
  opacity: 0.7;
}

/* ============================================
   AUTOMATION — Platform Cards
   ============================================ */
.platform-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.platform-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 28px;
  text-align: center;
  transition: all 0.3s ease;
}

.platform-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--color-teal);
  transform: translateY(-2px);
}

.platform-card h3 {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.platform-card .platform-price {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-teal);
  margin-bottom: 12px;
}

.platform-card p {
  font-size: 14px;
  line-height: 1.5;
  color: var(--text-secondary);
}

/* ============================================
   RESPONSIVE — New Components
   ============================================ */
@media (max-width: 1023px) {
  .founder-grid {
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: center;
  }

  .founder-photo img {
    margin: 0 auto;
    max-width: 300px;
  }

  .founder-links {
    justify-content: center;
  }

  .about-services-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

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

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

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

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

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

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

  .use-case-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 767px) {
  .founder-grid {
    gap: 24px;
  }

  .feature-grid,
  .channel-grid,
  .intelligence-grid {
    grid-template-columns: 1fr;
  }

  .pricing-card {
    padding: 28px 24px;
  }

  .legal-page h1 {
    font-size: 28px;
  }

  .legal-page h2 {
    font-size: 20px;
  }

  .mission-text {
    font-size: 18px;
  }

  .breadcrumb-nav {
    font-size: 12px;
  }
}

/* ============================================
   BLOG HUB — Hero
   ============================================ */
.blog-hero {
  background: var(--bg-dark);
  background-image: radial-gradient(ellipse 70% 50% at 50% 0%, rgba(0,180,216,0.1) 0%, transparent 60%);
  padding: 48px 0;
}

.blog-hero h1 {
  font-family: var(--font-heading);
  font-size: 36px;
  font-weight: 700;
  color: var(--text-on-dark);
  margin-bottom: 16px;
}

.hero-subtitle {
  font-size: 17px;
  line-height: 1.6;
  color: var(--text-on-dark-muted);
  max-width: 640px;
  margin: 0 auto;
}

.breadcrumb-light a {
  color: rgba(255,255,255,0.7);
}

.breadcrumb-light a:hover {
  color: var(--color-teal);
}

.breadcrumb-light span {
  color: rgba(255,255,255,0.4);
}

/* ============================================
   BLOG HUB — Category Filter Bar
   ============================================ */
.blog-filters {
  background: var(--bg-white);
  border-bottom: 1px solid var(--border-light);
  padding: 16px 0;
  position: sticky;
  top: 64px;
  z-index: 50;
}

.filter-bar {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.filter-bar::-webkit-scrollbar {
  display: none;
}

.filter-btn {
  display: inline-flex;
  align-items: center;
  padding: 8px 20px;
  border-radius: 20px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  background: transparent;
  border: 1px solid var(--border-light);
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s;
}

.filter-btn:hover {
  background: var(--bg-light);
  color: var(--text-primary);
}

.filter-btn.active {
  background: var(--color-teal);
  color: white;
  border-color: var(--color-teal);
}

/* Blog Hub card titles use H2 */
.blog-grid h2 {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.blog-grid h2 a {
  color: inherit;
  text-decoration: none;
}

.blog-grid h2 a:hover {
  text-decoration: underline;
}

.blog-meta {
  display: block;
  font-size: 13px;
  color: var(--text-secondary);
  margin-top: 12px;
}

.blog-meta a {
  color: var(--color-teal);
  font-weight: 500;
}

.blog-meta a:hover {
  text-decoration: underline;
}

/* ============================================
   ARTICLE PAGE — Layout
   ============================================ */
.article-page {
  background: var(--bg-white);
}

.article-header {
  background: var(--bg-dark);
  background-image: radial-gradient(ellipse 60% 40% at 50% 0%, rgba(0,180,216,0.08) 0%, transparent 50%);
  padding: 48px 0 0;
  text-align: center;
}

.article-header .blog-category {
  display: inline-block;
  margin-bottom: 16px;
  background: rgba(0,180,216,0.15);
  padding: 4px 14px;
  border-radius: 20px;
}

.article-header h1 {
  font-family: var(--font-heading);
  font-size: 38px;
  font-weight: 700;
  color: var(--text-on-dark);
  max-width: 720px;
  margin: 0 auto 20px;
  line-height: 1.2;
}

.article-byline {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 14px;
  color: var(--text-on-dark-muted);
  margin-bottom: 32px;
}

.article-byline a {
  color: var(--color-teal);
  font-weight: 500;
}

.article-byline a:hover {
  text-decoration: underline;
}

.author-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(0,180,216,0.2) 0%, rgba(0,180,216,0.05) 100%);
  border: 2px solid rgba(0,180,216,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  color: var(--color-teal);
}

.article-featured-image {
  max-width: 800px;
  margin: 0 auto;
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  overflow: hidden;
  background: linear-gradient(135deg, var(--bg-light) 0%, rgba(0,180,216,0.06) 100%);
  min-height: 200px;
}

.article-featured-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* Article Body */
.article-body {
  max-width: 780px;
  margin: 0 auto;
  padding: 48px 24px 64px;
}

.article-body h2 {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 600;
  color: var(--text-primary);
  margin-top: 48px;
  margin-bottom: 20px;
}

.article-body h3 {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 600;
  color: var(--text-primary);
  margin-top: 32px;
  margin-bottom: 16px;
}

.article-body p {
  font-size: 17px;
  line-height: 1.75;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.article-body strong {
  color: var(--text-primary);
}

.article-body a {
  color: var(--color-teal);
  font-weight: 500;
}

.article-body a:hover {
  text-decoration: underline;
}

.article-body ul,
.article-body ol {
  margin-bottom: 24px;
  padding-left: 24px;
}

.article-body li {
  font-size: 17px;
  line-height: 1.75;
  color: var(--text-secondary);
  margin-bottom: 8px;
  list-style: disc;
}

.article-body ol li {
  list-style: decimal;
}

/* Comparison Table */
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0 32px;
  font-size: 14px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.comparison-table thead {
  background: var(--bg-dark);
  color: white;
}

.comparison-table th {
  padding: 14px 16px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 14px;
  text-align: left;
}

.comparison-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border-light);
  color: var(--text-secondary);
  vertical-align: top;
}

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

.comparison-table tbody tr:hover {
  background: rgba(0,180,216,0.03);
}

.comparison-table td:first-child {
  font-weight: 600;
  color: var(--text-primary);
  white-space: nowrap;
}

/* Table scroll wrapper for mobile */
.table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 24px -24px 32px;
  padding: 0 24px;
}

/* Article CTA */
.article-cta {
  text-align: center;
  padding: 48px 32px;
  border-radius: var(--radius-xl);
  margin: 48px 0;
}

.article-cta h2 {
  margin-top: 0 !important;
  margin-bottom: 16px !important;
}

.article-cta p {
  max-width: 560px;
  margin: 0 auto 24px;
}

/* Related Articles */
.related-articles {
  padding: 48px 0;
}

.related-articles h2 {
  margin-top: 0;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 24px;
}

.related-services {
  display: flex;
  gap: 24px;
  justify-content: center;
  margin-top: 24px;
}

.related-services a {
  color: var(--color-teal);
  font-weight: 600;
  font-size: 15px;
}

.related-services a:hover {
  text-decoration: underline;
}

/* ============================================
   BLOG RESPONSIVE
   ============================================ */
@media (max-width: 1023px) {
  .blog-hero h1 {
    font-size: 30px;
  }

  .article-header h1 {
    font-size: 32px;
  }

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

@media (max-width: 767px) {
  .blog-hero {
    padding: 36px 0;
  }

  .blog-hero h1 {
    font-size: 26px;
  }

  .blog-filters {
    top: 64px;
  }

  .filter-bar {
    gap: 8px;
  }

  .article-header h1 {
    font-size: 26px;
  }

  .article-body {
    padding: 32px 20px 48px;
  }

  .article-body h2 {
    font-size: 24px;
  }

  .article-body p,
  .article-body li {
    font-size: 16px;
  }

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

  .related-services {
    flex-direction: column;
    align-items: center;
  }

  .comparison-table {
    font-size: 13px;
  }

  .comparison-table th,
  .comparison-table td {
    padding: 10px 12px;
  }
}

/* ============================================
   CONTACT PAGE — Form-First Layout
   ============================================ */
.contact-hero {
  background: var(--bg-white);
  padding: 48px 0 24px;
  text-align: center;
}

.container-form {
  max-width: 640px;
  margin: 0 auto;
  padding: 0 24px;
}

.contact-hero h1 {
  font-family: var(--font-heading);
  font-size: 36px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.contact-subtitle {
  font-size: 17px;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: 12px;
}

.contact-phone {
  font-size: 15px;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.contact-phone a {
  color: var(--color-teal);
  font-weight: 600;
}

.contact-phone a:hover {
  text-decoration: underline;
}

/* Trust Strip */
.trust-strip {
  background: var(--bg-light);
  padding: 16px 0;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.trust-strip-grid {
  display: flex;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-secondary);
  white-space: nowrap;
}

.trust-badge svg {
  flex-shrink: 0;
}

/* Form Wrapper */
.contact-form-section {
  padding: 48px 0;
  background: var(--bg-white);
}

.form-wrapper {
  max-width: 640px;
  margin: 0 auto;
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 36px;
  box-shadow: var(--shadow-card);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.form-group .required {
  color: #DC3545;
  margin-left: 2px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--text-primary);
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  transition: border-color 0.2s, box-shadow 0.2s;
  -webkit-appearance: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-teal);
  box-shadow: 0 0 0 3px rgba(0, 180, 216, 0.15);
}

.form-group input.input-error,
.form-group select.input-error {
  border-color: #DC3545;
  box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.1);
}

.form-group .error-message {
  display: none;
  font-size: 13px;
  color: #DC3545;
  margin-top: 4px;
}

.form-group .error-message.visible {
  display: block;
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.form-group select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%236B7280' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

/* Success State */
.form-success {
  text-align: center;
  padding: 64px 32px;
  max-width: 640px;
  margin: 0 auto;
}

.form-success .success-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 24px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
}

.form-success h2 {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.form-success p {
  font-size: 16px;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

/* Contact Info Block */
.contact-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.contact-info-list {
  list-style: none;
}

.contact-info-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border-light);
  font-size: 15px;
  color: var(--text-secondary);
}

.contact-info-list li:last-child {
  border-bottom: none;
}

.contact-info-list a {
  color: var(--color-teal);
  font-weight: 500;
}

.contact-info-list a:hover {
  text-decoration: underline;
}

.map-placeholder {
  width: 100%;
  min-height: 250px;
  background: linear-gradient(135deg, var(--bg-light) 0%, rgba(0,180,216,0.06) 100%);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  font-size: 14px;
}

/* ============================================
   CRM CONSULTING — À La Carte Pricing List
   ============================================ */
.container-md {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 24px;
}

.consulting-list {
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  overflow: hidden;
  margin-bottom: 24px;
}

.consulting-row {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 32px;
  padding: 28px 32px;
  border-bottom: 1px solid var(--border-light);
  transition: background 0.2s;
}

.consulting-row:last-child {
  border-bottom: none;
}

.consulting-row:nth-child(even) {
  background: var(--bg-light);
}

.consulting-row:hover {
  background: rgba(0, 180, 216, 0.03);
}

.consulting-left h3 {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.consulting-price {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.consulting-price .price-amount {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 700;
  color: var(--color-teal);
}

.consulting-price .price-billing {
  font-size: 13px;
  color: var(--text-secondary);
}

.consulting-right p {
  font-size: 15px;
  line-height: 1.55;
  color: var(--text-secondary);
  margin-bottom: 12px;
}

.consulting-cta {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-teal);
}

.consulting-cta:hover {
  text-decoration: underline;
}

/* Service card pricing anchor */
.pricing-anchor {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-teal);
  margin-top: 12px;
}

/* Deliverable list */
.deliverable-list {
  list-style: none;
  max-width: 700px;
  margin: 0 auto;
}

.deliverable-list li {
  position: relative;
  padding: 16px 0 16px 36px;
  border-bottom: 1px solid var(--border-light);
  font-size: 16px;
  color: var(--text-secondary);
}

.deliverable-list li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  color: var(--color-success);
  font-weight: 700;
  font-size: 18px;
}

.deliverable-list li:last-child {
  border-bottom: none;
}

/* ============================================
   CONTACT + CONSULTING — RESPONSIVE
   ============================================ */
@media (max-width: 1023px) {
  .consulting-row {
    grid-template-columns: 1fr;
    gap: 12px;
  }

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

@media (max-width: 767px) {
  .contact-hero h1 {
    font-size: 28px;
  }

  .form-wrapper {
    padding: 24px 20px;
  }

  .trust-strip-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .consulting-row {
    padding: 20px 20px;
  }

  .consulting-price .price-amount {
    font-size: 24px;
  }
}

/* ============================================
   INDUSTRY PAGES — Pricing Anchor Cards
   ============================================ */
.pricing-anchors {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 24px;
}

.pricing-anchor-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 28px;
  text-align: center;
  transition: all 0.3s ease;
}

.pricing-anchor-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--color-teal);
  transform: translateY(-2px);
}

.pricing-anchor-card h3 {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.pricing-anchor-card .price-note {
  font-size: 13px;
  color: var(--text-secondary);
  margin-top: 8px;
  margin-bottom: 16px;
}

.anchor-cta {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-teal);
}

.anchor-cta:hover {
  text-decoration: underline;
}

/* ============================================
   DIGITAL MARKETING — Service Pricing Grid
   ============================================ */
.service-pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.service-pricing-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 24px;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
}

.service-pricing-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--color-teal);
  transform: translateY(-2px);
}

.service-pricing-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(0,180,216,0.12) 0%, rgba(0,180,216,0.04) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.service-pricing-card h3 {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.service-price {
  margin-bottom: 12px;
}

.service-price .price-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-secondary);
  display: block;
  margin-bottom: 4px;
}

.service-price .price-amount {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 700;
  color: var(--color-teal);
}

.service-price .price-note {
  font-size: 13px;
  color: var(--text-secondary);
  display: block;
  margin-top: 2px;
}

.service-pricing-card p {
  font-size: 14px;
  line-height: 1.55;
  color: var(--text-secondary);
  margin-bottom: 12px;
}

.service-deliverables {
  margin-bottom: 16px;
  flex-grow: 1;
}

.service-deliverables li {
  position: relative;
  padding-left: 20px;
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 6px;
  list-style: none;
}

.service-deliverables li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  color: var(--color-success);
  font-weight: 700;
  font-size: 12px;
}

.service-pricing-cta {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-teal);
  margin-top: auto;
}

.service-pricing-cta:hover {
  text-decoration: underline;
}

.exclusive-badge {
  display: inline-block;
  background: rgba(0,180,216,0.1);
  color: var(--color-teal);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 3px 8px;
  border-radius: 4px;
  margin-bottom: 8px;
}

/* ============================================
   INTEGRATION — Setup Timeline
   ============================================ */
.setup-timeline {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

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

.setup-step .step-number {
  margin-bottom: 12px;
}

.setup-step h3 {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 600;
  color: white;
  margin-bottom: 6px;
}

.setup-step p {
  font-size: 13px;
  color: var(--text-on-dark-muted);
}

/* ============================================
   INDUSTRY / MARKETING / INTEGRATION — Scenario Cards
   ============================================ */
.scenario-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.scenario-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 28px;
  transition: all 0.3s ease;
}

.scenario-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--color-teal);
}

.scenario-card h3 {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.scenario-card p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-secondary);
}

/* ============================================
   NEW COMPONENTS — RESPONSIVE
   ============================================ */
@media (max-width: 1023px) {
  .pricing-anchors {
    grid-template-columns: 1fr;
    gap: 16px;
  }

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

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

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

@media (max-width: 767px) {
  .service-pricing-grid {
    grid-template-columns: 1fr;
  }

  .setup-timeline {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .pricing-anchor-card {
    padding: 20px;
  }
}

/* ============================================
   V2 REDESIGN — Animations, Colors & Interactive
   ============================================ */

/* ---------- New Color Variables ---------- */
:root {
  --color-purple: #7C3AED;
  --color-purple-dark: #6D28D9;
  --color-pink: #EC4899;
  --color-yellow: #F59E0B;
  --color-indigo: #6366F1;
  --color-red: #EF4444;
  --gradient-primary: linear-gradient(135deg, #00B4D8 0%, #7C3AED 50%, #FF6B2B 100%);
  --gradient-hero: linear-gradient(135deg, #0F2B46 0%, #1a1a3e 40%, #1E3A5F 100%);
  --gradient-dark: linear-gradient(135deg, #0F2B46 0%, #1a1a3e 50%, #0F2B46 100%);
  --gradient-cta: linear-gradient(135deg, #1a1a3e 0%, #0F2B46 50%, #132F4C 100%);
}

/* ---------- Text Gradient ---------- */
.text-gradient {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

/* ---------- Section Tags ---------- */
.section-tag {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 16px;
}

.tag-teal {
  background: rgba(0, 180, 216, 0.1);
  color: var(--color-teal);
}

.tag-purple {
  background: rgba(124, 58, 237, 0.1);
  color: var(--color-purple);
}

.tag-orange {
  background: rgba(255, 107, 43, 0.1);
  color: var(--color-orange);
}

.tag-glow {
  background: rgba(0, 180, 216, 0.15);
  color: var(--color-teal);
  box-shadow: 0 0 20px rgba(0, 180, 216, 0.2);
}

/* ---------- Glow Button ---------- */
.btn-glow {
  position: relative;
  overflow: hidden;
}

.btn-glow::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.2) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.4s;
}

.btn-glow:hover::before {
  opacity: 1;
}

/* ---------- Logo Image & Stack ---------- */
.nav-logo-img {
  width: 36px;
  height: 36px;
  border-radius: 6px;
  object-fit: contain;
  transition: transform 0.3s, filter 0.3s;
}

.nav-logo:hover .nav-logo-img {
  transform: none;
  filter: none;
}

.footer-logo-img {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  object-fit: cover;
  filter: brightness(1.4) invert(1);
}

.logo-text-stack {
  display: flex;
  flex-direction: column;
  line-height: 1;
  gap: 0;
}

.logo-name {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: 0.06em;
  line-height: 1.1;
}

.logo-ai-sub {
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 700;
  color: var(--color-orange);
  letter-spacing: 0.12em;
  line-height: 1.2;
}

.logo-text-stack-white .logo-name {
  color: var(--text-on-dark);
}

.logo-text-stack-white .logo-ai-sub {
  color: var(--color-orange);
}

/* ---------- Header Particles ---------- */
.header-particles {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 64px;
  pointer-events: none;
  z-index: 9999;
  overflow: hidden;
  max-width: 100vw;
}

.particle {
  position: absolute;
  border-radius: 50%;
  opacity: 0.3;
  animation: particleFloat 8s ease-in-out infinite;
}

.particle-1 { width: 4px; height: 4px; background: var(--color-teal); top: 20px; left: 10%; animation-delay: 0s; }
.particle-2 { width: 3px; height: 3px; background: var(--color-purple); top: 40px; left: 30%; animation-delay: 1.5s; }
.particle-3 { width: 5px; height: 5px; background: var(--color-orange); top: 15px; left: 60%; animation-delay: 3s; }
.particle-4 { width: 3px; height: 3px; background: var(--color-pink); top: 45px; left: 80%; animation-delay: 4.5s; }
.particle-5 { width: 4px; height: 4px; background: var(--color-teal); top: 30px; left: 95%; animation-delay: 6s; }

@keyframes particleFloat {
  0%, 100% { transform: translateY(0) translateX(0); opacity: 0.3; }
  25% { transform: translateY(-8px) translateX(5px); opacity: 0.6; }
  50% { transform: translateY(4px) translateX(-3px); opacity: 0.3; }
  75% { transform: translateY(-5px) translateX(8px); opacity: 0.5; }
}

/* ---------- Animated Logo ---------- */
.animated-logo {
  background: linear-gradient(135deg, rgba(0,180,216,0.12), rgba(124,58,237,0.1), rgba(255,107,43,0.08));
  border: 1px solid rgba(0,180,216,0.2);
  transition: transform 0.3s, box-shadow 0.3s;
}

.nav-logo:hover .animated-logo {
  transform: none;
  box-shadow: none;
}

/* ---------- Nav Chevron ---------- */
.nav-chevron {
  transition: transform 0.3s;
  margin-left: 4px;
}

.nav-dropdown button[aria-expanded="true"] .nav-chevron {
  transform: rotate(180deg);
}

/* Hide default after arrow when chevron SVG is present */
.nav-dropdown button:has(.nav-chevron)::after {
  display: none;
}

/* ---------- Dropdown Animation ---------- */
.dropdown-animated {
  animation: none;
  transform-origin: top center;
}

.dropdown-animated.active {
  animation: dropdownSlide 0.25s ease forwards;
}

@keyframes dropdownSlide {
  from { opacity: 0; transform: translateY(-8px) scale(0.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

/* Dropdown icons */
.dropdown-icon {
  margin-right: 8px;
  font-size: 16px;
}

/* ---------- Hero Section V2 ---------- */
.hero-animated {
  position: relative;
  overflow: hidden;
  background: var(--gradient-hero);
  padding: 100px 0 80px;
}

.hero-bg-shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero-shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.4;
}

.hero-shape-1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(0,180,216,0.35), transparent 70%);
  top: -150px;
  right: -100px;
}

.hero-shape-2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(124,58,237,0.3), transparent 70%);
  bottom: -100px;
  left: -50px;
}

.hero-shape-3 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(255,107,43,0.2), transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
}

.hero-orb-1 {
  width: 6px;
  height: 6px;
  background: var(--color-teal);
  top: 20%;
  left: 15%;
  animation: orbPulse 3s ease-in-out infinite;
  box-shadow: 0 0 12px var(--color-teal);
}

.hero-orb-2 {
  width: 4px;
  height: 4px;
  background: var(--color-orange);
  top: 60%;
  right: 20%;
  animation: orbPulse 3s ease-in-out infinite 1.5s;
  box-shadow: 0 0 12px var(--color-orange);
}

@keyframes orbPulse {
  0%, 100% { opacity: 0.4; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.5); }
}

/* Hero Badge */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-teal);
  background: rgba(0, 180, 216, 0.1);
  border: 1px solid rgba(0, 180, 216, 0.2);
  padding: 8px 18px;
  border-radius: 100px;
  margin-bottom: 24px;
}

.badge-dot,
.hero-badge-dot {
  width: 8px;
  height: 8px;
  background: var(--color-teal);
  border-radius: 50%;
  animation: dotPulse 2s ease-in-out infinite;
}

@keyframes dotPulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(0, 180, 216, 0.5); }
  50% { opacity: 0.8; box-shadow: 0 0 0 6px rgba(0, 180, 216, 0); }
}

/* Hero Title */
.hero-title-animated {
  font-size: 48px;
  font-weight: 800;
  line-height: 1.15;
  color: var(--text-on-dark);
  margin-bottom: 20px;
}

.hero-title-animated .title-line {
  display: block;
}

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

.hero-animated .hero-lead {
  color: var(--text-on-dark-muted);
  font-size: 18px;
  line-height: 1.7;
  margin-bottom: 32px;
}

.hero-animated .hero-lead strong {
  color: var(--text-on-dark);
}

.hero-animated .hero-micro-trust {
  color: var(--text-on-dark-muted);
  font-size: 14px;
  margin-top: 16px;
}

/* Hero Image Wrapper */
.hero-image-wrapper {
  position: relative;
  overflow: hidden;
  max-width: 100%;
}

/* Floating Cards */
.floating-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-lg);
  padding: 12px 18px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
  font-size: 14px;
  font-weight: 500;
  z-index: 5;
  white-space: nowrap;
}

.floating-card-1 {
  bottom: 20%;
  left: 5%;
}

.floating-card-2 {
  top: 15%;
  right: 5%;
}

.floating-card-text strong {
  font-weight: 700;
}

/* Float Animations */
.animate-float {
  animation: floatCard 4s ease-in-out infinite;
}

.animate-float-delayed {
  animation: floatCard 4s ease-in-out infinite 2s;
}

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

/* ---------- Scroll Animations ---------- */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.animate-fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-fade-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 { transition-delay: 0.15s; }
.delay-2 { transition-delay: 0.3s; }
.delay-3 { transition-delay: 0.45s; }

/* ---------- Trust Bar V2 ---------- */
.trust-bar-colorful {
  background: var(--bg-white);
  padding: 40px 0;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.trust-bar-colorful .trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
}

.trust-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--bg-light);
  margin-bottom: 4px;
  transition: transform 0.3s, box-shadow 0.3s;
}

.trust-item:hover .trust-icon {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

/* ---------- Service Card V2 ---------- */
.service-card-interactive {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border-light);
  transition: transform 0.35s, box-shadow 0.35s, border-color 0.35s;
}

.service-card-interactive:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
  border-color: var(--card-accent, var(--color-teal));
}

.service-card-glow {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--card-accent, var(--color-teal));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}

.service-card-interactive:hover .service-card-glow {
  transform: scaleX(1);
}

.service-icon-wrapper {
  margin-bottom: 16px;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  transition: gap 0.3s;
}

.service-link:hover {
  gap: 12px;
}

/* ---------- Timeline V2 ---------- */
.timeline-animated .step-number {
  background: var(--step-color, var(--color-teal));
  color: white;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s, box-shadow 0.3s;
}

.timeline-animated .timeline-step:hover .step-number {
  transform: scale(1.15);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.2);
}

/* ---------- Industry Card V2 ---------- */
.industry-card-v2 {
  position: relative;
  overflow: hidden;
  transition: transform 0.35s, box-shadow 0.35s;
}

.industry-card-v2::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--industry-color, var(--color-teal));
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.35s ease;
}

.industry-card-v2:hover::before {
  transform: scaleX(1);
}

.industry-card-v2:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.1);
}

.industry-card-v2 .industry-icon {
  color: var(--industry-color, var(--color-teal));
  transition: transform 0.3s;
}

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

.industry-card-v2 .industry-icon svg {
  stroke: var(--industry-color, var(--color-teal));
}

/* ---------- Integration Card V2 ---------- */
.integration-card-v2 {
  transition: transform 0.3s, box-shadow 0.3s;
}

.integration-card-v2:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.1);
}

.integration-logo-v2 {
  transition: transform 0.3s;
}

.integration-logo-v2:hover {
  transform: scale(1.08);
}

/* ---------- Integrations Logo Row ---------- */
.integrations-logo-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  margin-bottom: 1rem;
}

/* ---------- Our Customers Section ---------- */
.customers-grid {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3rem;
  flex-wrap: wrap;
  margin-top: 2.5rem;
}

/* Logo Strip Layout */
.customers-logo-strip {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 48px;
  flex-wrap: wrap;
  margin-top: 2.5rem;
  padding: 24px 0;
}

.customer-logo-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px 32px;
  border-radius: 12px;
  transition: transform 0.3s;
}

.customer-logo-item:hover {
  transform: scale(1.05);
}

.customer-logo-item img {
  max-width: 280px;
  height: 120px;
  object-fit: contain;
}

.customer-logo-item .customer-name {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  margin-top: 10px;
  text-align: center;
}

.customer-logo-dark .customer-name {
  color: #FFFFFF;
}

.customer-logo-dark {
  background: #1a1a2e;
  border-radius: 12px;
  padding: 20px 32px;
}

.customer-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  padding: 2rem 2.5rem;
  background: #F8FAFC;
  border-radius: 16px;
  border: 1px solid #E2E8F0;
  transition: transform 0.3s, box-shadow 0.3s;
  min-width: 200px;
}

.customer-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
}

.customer-card img {
  max-width: 220px;
  height: 90px;
  object-fit: contain;
}

.customer-card-dark {
  background: #1a1a2e;
  border-color: #2d2d44;
}

.customer-card-dark .customer-name {
  color: #fff;
}

.customer-name {
  font-weight: 600;
  font-size: 1rem;
  color: var(--color-heading, #1E293B);
}

@media (max-width: 768px) {
  .customers-grid {
    gap: 1.5rem;
  }
  .customer-card {
    padding: 1.5rem 1.75rem;
    min-width: 160px;
  }
}

/* ---------- Dark Gradient Section ---------- */
.bg-dark-gradient {
  position: relative;
  overflow: hidden;
  background: var(--gradient-dark);
}

.why-us-bg-shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.why-shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
}

.why-shape-1 {
  width: 400px;
  height: 400px;
  background: rgba(124, 58, 237, 0.15);
  top: -100px;
  right: -50px;
}

.why-shape-2 {
  width: 350px;
  height: 350px;
  background: rgba(0, 180, 216, 0.1);
  bottom: -80px;
  left: -30px;
}

/* ---------- Differentiator Card V2 ---------- */
.diff-card-v2 {
  position: relative;
  overflow: hidden;
  transition: transform 0.35s, box-shadow 0.35s;
}

.diff-card-v2::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  background: var(--diff-accent, var(--color-teal));
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.35s ease;
}

.diff-card-v2:hover::before {
  transform: scaleY(1);
}

.diff-card-v2:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

.diff-card-v2 .diff-icon svg {
  stroke: var(--diff-accent, var(--color-teal));
  transition: transform 0.3s;
}

.diff-card-v2:hover .diff-icon svg {
  transform: scale(1.15) rotate(-5deg);
}

/* ---------- Pricing Card V2 ---------- */
.pricing-card-v2 {
  transition: transform 0.35s, box-shadow 0.35s;
}

.pricing-card-v2:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
}

.pricing-card-v2.featured {
  border-color: var(--color-purple);
}

.pricing-card-v2.featured .pricing-badge {
  background: var(--gradient-primary);
}

/* ---------- Blog Card V2 ---------- */
.blog-card-v2 {
  overflow: hidden;
  transition: transform 0.35s, box-shadow 0.35s;
}

.blog-card-v2:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.1);
}

.blog-card-image {
  position: relative;
  display: block;
  overflow: hidden;
}

.blog-card-image img {
  transition: transform 0.5s ease;
}

.blog-card-v2:hover .blog-card-image img {
  transform: scale(1.06);
}

.blog-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,0.1) 100%);
  transition: opacity 0.3s;
}

.blog-category-teal { background: rgba(0, 180, 216, 0.1); color: var(--color-teal); }
.blog-category-purple { background: rgba(124, 58, 237, 0.1); color: var(--color-purple); }
.blog-category-orange { background: rgba(255, 107, 43, 0.1); color: var(--color-orange); }

/* ---------- FAQ V2 ---------- */
.faq-item-v2 {
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  transition: border-color 0.3s, box-shadow 0.3s;
  overflow: hidden;
}

.faq-item-v2:hover {
  border-color: var(--color-teal);
}

.faq-item-v2[open] {
  border-color: var(--color-teal);
  box-shadow: 0 4px 20px rgba(0, 180, 216, 0.1);
}

.faq-item-v2 summary {
  position: relative;
  padding-right: 40px;
}

.faq-item-v2 summary::after {
  content: '+';
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 22px;
  font-weight: 300;
  color: var(--color-teal);
  transition: transform 0.3s;
}

.faq-item-v2[open] summary::after {
  content: '\2212';
  transform: translateY(-50%) rotate(180deg);
}

/* ---------- Final CTA V2 ---------- */
.final-cta-v2 {
  position: relative;
  overflow: hidden;
  background: var(--gradient-cta);
}

.final-cta-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.cta-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
}

.cta-orb-1 {
  width: 300px;
  height: 300px;
  background: rgba(0, 180, 216, 0.2);
  top: -60px;
  left: -40px;
  animation: ctaFloat 6s ease-in-out infinite;
}

.cta-orb-2 {
  width: 250px;
  height: 250px;
  background: rgba(124, 58, 237, 0.15);
  bottom: -60px;
  right: -40px;
  animation: ctaFloat 6s ease-in-out infinite 2s;
}

.cta-orb-3 {
  width: 200px;
  height: 200px;
  background: rgba(255, 107, 43, 0.1);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: ctaFloat 6s ease-in-out infinite 4s;
}

@keyframes ctaFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(20px, -15px) scale(1.05); }
  66% { transform: translate(-10px, 10px) scale(0.95); }
}

.final-cta-v2 h2 {
  color: var(--text-on-dark);
  font-size: 40px;
  margin-bottom: 20px;
}

.final-cta-v2 p {
  color: var(--text-on-dark-muted);
}

.final-cta-v2 .cta-micro-trust {
  color: var(--text-on-dark-muted);
  font-size: 14px;
  margin-top: 16px;
}

/* ---------- Footer V2 Additions ---------- */
.footer-gradient-border {
  height: 3px;
  background: var(--gradient-primary);
}

.footer-cta-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: linear-gradient(135deg, rgba(0,180,216,0.08), rgba(124,58,237,0.06));
  border: 1px solid rgba(0,180,216,0.15);
  border-radius: var(--radius-xl);
  padding: 32px 40px;
  margin-bottom: 48px;
}

.footer-cta-content h3 {
  font-size: 22px;
  color: var(--text-on-dark);
  margin-bottom: 4px;
}

.footer-cta-content p {
  color: var(--text-on-dark-muted);
  font-size: 15px;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  transition: transform 0.3s, background 0.3s;
}

.social-facebook {
  background: rgba(59, 89, 152, 0.1);
}

.social-facebook:hover {
  background: rgba(59, 89, 152, 0.2);
  transform: translateY(-3px);
}

.social-linkedin {
  background: rgba(0, 119, 181, 0.1);
}

.social-linkedin:hover {
  background: rgba(0, 119, 181, 0.2);
  transform: translateY(-3px);
}

.footer-column a {
  transition: color 0.2s, padding-left 0.3s;
}

.footer-column a:hover {
  color: var(--color-teal);
  padding-left: 4px;
}

/* ---------- Responsive V2 ---------- */
@media (max-width: 991px) {
  .hero-title-animated {
    font-size: 36px;
  }

  .floating-card {
    display: none;
  }

  .footer-cta-banner {
    flex-direction: column;
    text-align: center;
    padding: 24px;
  }
}

@media (max-width: 767px) {
  .hero-title-animated {
    font-size: 28px;
  }

  .hero-animated {
    padding: 80px 0 60px;
  }

  .hero-badge {
    font-size: 12px;
    padding: 6px 14px;
  }

  .section-tag {
    font-size: 11px;
  }

  .final-cta-v2 h2 {
    font-size: 28px;
  }

  .header-particles {
    display: none;
  }

  .trust-bar-colorful .trust-grid {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
}

/* ============================================
   HOW IT WORKS V2 — Horizontal Cards
   ============================================ */
.hiw-section {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #F5F7FA 0%, #EEF2F7 50%, #F5F7FA 100%);
}

.hiw-bg-pattern {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(0, 180, 216, 0.06) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(124, 58, 237, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 50% 50%, rgba(255, 107, 43, 0.03) 0%, transparent 40%);
  pointer-events: none;
}

/* Progress bar */
.hiw-progress {
  max-width: 700px;
  margin: 0 auto 48px;
}

.hiw-progress-track {
  height: 6px;
  background: rgba(0, 0, 0, 0.06);
  border-radius: 100px;
  overflow: hidden;
  position: relative;
}

.hiw-progress-fill {
  height: 100%;
  width: 0;
  border-radius: 100px;
  background: linear-gradient(90deg, #00B4D8 0%, #7C3AED 40%, #FF6B2B 70%, #10B981 100%);
  transition: width 1.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.hiw-progress.is-visible .hiw-progress-fill {
  width: 100%;
}

.hiw-progress-labels {
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
}

/* Card grid */
.hiw-grid {
  display: flex;
  align-items: stretch;
  gap: 0;
  justify-content: center;
}

.hiw-connector {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 40px;
  opacity: 0.6;
}

/* Individual card */
.hiw-card {
  flex: 1;
  max-width: 280px;
  background: var(--bg-white);
  border-radius: var(--radius-xl);
  padding: 28px 24px 20px;
  border: 1px solid var(--border-light);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.4s ease, border-color 0.3s;
}

.hiw-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--hiw-color);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.hiw-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.1), 0 0 0 1px rgba(0,0,0,0.02);
  border-color: var(--hiw-color);
}

.hiw-card:hover::before {
  transform: scaleX(1);
}

/* Card top badges */
.hiw-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.hiw-step-badge {
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--hiw-color);
  background: color-mix(in srgb, var(--hiw-color) 10%, transparent);
  padding: 4px 12px;
  border-radius: 100px;
}

.hiw-days-badge {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
  background: var(--bg-light);
  padding: 4px 10px;
  border-radius: 100px;
}

/* Icon ring */
.hiw-icon-ring {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: color-mix(in srgb, var(--hiw-color) 8%, transparent);
  border: 2px solid color-mix(in srgb, var(--hiw-color) 20%, transparent);
  color: var(--hiw-color);
  margin-bottom: 18px;
  transition: transform 0.4s, background 0.3s, box-shadow 0.3s;
}

.hiw-card:hover .hiw-icon-ring {
  transform: scale(1.1) rotate(-5deg);
  background: color-mix(in srgb, var(--hiw-color) 14%, transparent);
  box-shadow: 0 0 24px color-mix(in srgb, var(--hiw-color) 20%, transparent);
}

.hiw-card h3 {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.hiw-card > p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

/* Checklist */
.hiw-checklist {
  list-style: none;
  padding: 0;
  margin: 0 0 auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.hiw-checklist li {
  font-size: 13px;
  color: var(--text-primary);
  padding-left: 22px;
  position: relative;
  line-height: 1.5;
}

.hiw-checklist li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 5px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--hiw-color) 12%, transparent);
  border: 1.5px solid var(--hiw-color);
  background-image: url("data:image/svg+xml,%3Csvg width='8' height='8' viewBox='0 0 12 12' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M10 3L4.5 8.5L2 6' stroke='%23333' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 8px;
}

/* Card footer */
.hiw-card-footer {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--border-light);
}

.hiw-effort {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
}

.hiw-effort svg {
  color: var(--hiw-color);
}

.hiw-effort-live {
  color: #10B981;
}

.hiw-live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10B981;
  animation: dotPulse 2s ease-in-out infinite;
  box-shadow: 0 0 6px rgba(16, 185, 129, 0.5);
}

/* Responsive */
@media (max-width: 1100px) {
  .hiw-grid {
    flex-wrap: wrap;
    gap: 20px;
  }

  .hiw-connector {
    display: none;
  }

  .hiw-card {
    max-width: none;
    flex: 1 1 calc(50% - 10px);
    min-width: 260px;
  }
}

@media (max-width: 640px) {
  .hiw-card {
    flex: 1 1 100%;
  }

  .hiw-progress {
    margin-bottom: 32px;
  }
}

/* ============================================
   SERVICE PAGES V2 — Full Redesign
   ============================================ */

/* --- Page Hero V2 --- */
.page-hero-v2 {
  position: relative;
  padding: 72px 0 80px;
  overflow: hidden;
  background: var(--gradient-dark) !important;
}

.page-hero-v2 .hero-bg-shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.page-hero-v2 .hero-shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.35;
}

.page-hero-v2 h1 {
  font-size: 42px;
  font-weight: 800;
  line-height: 1.15;
  color: var(--text-on-dark);
  max-width: 720px;
  margin-bottom: 20px;
}

.page-hero-v2 .hero-lead {
  color: var(--text-on-dark-muted);
  max-width: 640px;
  font-size: 17px;
  line-height: 1.7;
  margin-bottom: 32px;
}

.page-hero-v2 .hero-ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.page-hero-v2 .cta-micro-trust {
  color: var(--text-on-dark-muted);
  font-size: 13px;
  margin-top: 14px;
}

.page-hero-v2.hero-center {
  text-align: center;
}

.page-hero-v2.hero-center h1,
.page-hero-v2.hero-center .hero-lead {
  margin-left: auto;
  margin-right: auto;
}

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

/* --- Pillar Card V2 --- */
.pillar-card-v2 {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.4s cubic-bezier(0.22,1,0.36,1), box-shadow 0.4s, border-color 0.35s;
  position: relative;
}

.pillar-card-v2::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--card-color, var(--color-teal));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.22,1,0.36,1);
}

.pillar-card-v2:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 64px rgba(0,0,0,0.1);
  border-color: var(--card-color, var(--color-teal));
}

.pillar-card-v2:hover::before {
  transform: scaleX(1);
}

.pillar-card-v2-body {
  padding: 32px 28px 28px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.pillar-card-v2-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.pillar-icon-v2 {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: color-mix(in srgb, var(--card-color, var(--color-teal)) 10%, transparent);
  flex-shrink: 0;
  transition: transform 0.3s, box-shadow 0.3s;
}

.pillar-card-v2:hover .pillar-icon-v2 {
  transform: scale(1.1) rotate(-5deg);
  box-shadow: 0 0 20px color-mix(in srgb, var(--card-color, var(--color-teal)) 20%, transparent);
}

.pillar-icon-v2 svg {
  width: 26px;
  height: 26px;
}

.pillar-card-v2-header .pillar-title {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 700;
  color: var(--text-primary);
}

.pillar-card-v2-header .pillar-label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--card-color, var(--color-teal));
  display: block;
  margin-bottom: 2px;
}

.pillar-card-v2-body > p {
  font-size: 15px;
  line-height: 1.65;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.pillar-features-v2 {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pillar-features-v2 li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--text-primary);
  line-height: 1.5;
}

.pillar-features-v2 li::before {
  content: '';
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 1px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--card-color, var(--color-teal)) 12%, transparent);
  border: 1.5px solid var(--card-color, var(--color-teal));
  background-image: url("data:image/svg+xml,%3Csvg width='8' height='8' viewBox='0 0 12 12' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M10 3L4.5 8.5L2 6' stroke='%2310B981' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 10px;
}

.pillar-card-v2 .btn {
  margin-top: auto;
  align-self: flex-start;
}

/* --- Feature Card V2 --- */
.feature-card-v2 {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 32px 28px;
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
  position: relative;
  overflow: hidden;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.feature-card-v2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--feat-color, var(--color-teal));
  opacity: 0;
  transition: opacity 0.3s;
}

.feature-card-v2:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.1);
  border-color: var(--feat-color, var(--color-teal));
}

.feature-card-v2:hover::after {
  opacity: 1;
}

.feature-card-v2 .feature-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: color-mix(in srgb, var(--feat-color, var(--color-teal)) 10%, transparent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px auto;
  transition: transform 0.3s;
}

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

.feature-card-v2 h3 {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.feature-card-v2 p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-secondary);
}

/* Feature card on dark backgrounds */
.feature-card-dark,
.bg-dark .feature-card-v2 {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.1);
}

.feature-card-dark h3,
.bg-dark .feature-card-v2 h3 {
  color: var(--text-on-dark);
}

.feature-card-dark p,
.bg-dark .feature-card-v2 p {
  color: var(--text-on-dark-muted);
}

.feature-card-dark:hover,
.bg-dark .feature-card-v2:hover {
  background: rgba(255,255,255,0.1);
  box-shadow: 0 16px 48px rgba(0,0,0,0.2);
}

/* Feature card as link */
.feature-card-v2.feature-card-link {
  text-decoration: none;
  cursor: pointer;
}

/* --- Process Step V2 --- */
.process-grid-v2 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.process-card-v2 {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-xl);
  padding: 28px 24px;
  text-align: center;
  transition: transform 0.35s, background 0.35s, border-color 0.3s;
  position: relative;
}

.process-card-v2:hover {
  transform: translateY(-6px);
  background: rgba(255,255,255,0.08);
  border-color: var(--step-color, var(--color-teal));
}

.process-num-v2 {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--step-color, var(--color-teal));
  color: white;
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  transition: transform 0.3s, box-shadow 0.3s;
}

.process-card-v2:hover .process-num-v2 {
  transform: scale(1.15);
  box-shadow: 0 0 20px color-mix(in srgb, var(--step-color, var(--color-teal)) 40%, transparent);
}

.process-card-v2 h3 {
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 700;
  color: var(--text-on-dark);
  margin-bottom: 8px;
}

.process-card-v2 p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-on-dark-muted);
}

/* --- Industry Chips V2 --- */
.industry-chips-v2 {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.industry-chip-v2 {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  transition: all 0.3s;
  text-decoration: none;
}

.industry-chip-v2:hover {
  background: var(--color-teal);
  color: white;
  border-color: var(--color-teal);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0, 180, 216, 0.25);
}

/* --- Content Section V2 --- */
/* When used inside a container as a layout grid */
.container > .content-section-v2,
div.content-section-v2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.container > .content-section-v2.reverse,
div.content-section-v2.reverse {
  direction: rtl;
}

.container > .content-section-v2.reverse > *,
div.content-section-v2.reverse > * {
  direction: ltr;
}

/* When content-section-v2 is on a <section> tag, it's just a marker — don't apply grid */
section.content-section-v2 {
  display: block;
}

.content-text-v2 h2 {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.content-text-v2 p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 14px;
}

.content-visual-v2 {
  position: relative;
}

.content-visual-v2 img {
  border-radius: var(--radius-xl);
  box-shadow: 0 12px 40px rgba(0,0,0,0.08);
}

/* --- Trust Metrics V2 --- */
section.trust-metrics-v2,
.trust-metrics-v2-section {
  padding: 32px 0;
  background: var(--bg-white);
  border-bottom: 1px solid var(--border-light);
}

.trust-metrics-v2-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.trust-metric-v2 {
  text-align: center;
  padding: 24px 16px;
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  transition: transform 0.3s, box-shadow 0.3s;
}

.trust-metric-v2:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
}

.trust-metric-v2 .metric-value {
  display: block;
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 4px;
}

.trust-metric-v2 .metric-label {
  font-size: 13px;
  color: var(--text-secondary);
  font-weight: 500;
}

/* --- Service Page Responsive --- */
@media (max-width: 991px) {
  .process-grid-v2 {
    grid-template-columns: 1fr 1fr;
  }

  .container > .content-section-v2,
  div.content-section-v2 {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .container > .content-section-v2.reverse,
  div.content-section-v2.reverse {
    direction: ltr;
  }

  .trust-metrics-v2,
  .trust-metrics-v2-grid {
    grid-template-columns: 1fr 1fr;
  }

  .page-hero-v2 h1 {
    font-size: 32px;
  }
}

@media (max-width: 767px) {
  .services-pillar-grid {
    grid-template-columns: 1fr;
  }

  .process-grid-v2 {
    grid-template-columns: 1fr;
  }

  .trust-metrics-v2,
  .trust-metrics-v2-grid {
    grid-template-columns: 1fr 1fr;
  }

  .page-hero-v2 h1 {
    font-size: 26px;
  }

  .page-hero-v2 {
    padding: 56px 0 60px;
  }
}

/* ============================================
   FEATURE GRIDS — Creative Layouts
   ============================================ */

/* 3x2 Bento Grid — first card spans 2 rows */
.features-grid {
  display: grid;
  gap: 20px;
}

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

/* All cards in 3x2 grid are equal size */

/* 4-column row */
.features-grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

/* 4-col cards get centered layout */
.features-grid-4 > .feature-card-v2 {
  text-align: center;
}

.features-grid-4 > .feature-card-v2 .feature-icon {
  margin-left: auto;
  margin-right: auto;
}

/* 3-column row */
.features-grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

/* Numbered feature cards for visual variety */
.feature-card-v2 {
  counter-increment: feat;
}

/* Connected line between channel cards */
.features-grid-4 {
  position: relative;
}

.features-grid-4::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 5%;
  right: 5%;
  height: 2px;
  background: linear-gradient(90deg, #00B4D8, #7C3AED, #FF6B2B, #00B4D8);
  opacity: 0.15;
  z-index: 0;
  transform: translateY(-50%);
}

.features-grid-4 > .feature-card-v2 {
  position: relative;
  z-index: 1;
}

/* Alternating subtle tint backgrounds for visual rhythm */
/* All cards use same styling */

/* Integration logo strip */
.logo-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 12px;
}

.integration-logo-item {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  background: var(--bg-light);
  border: 1px solid var(--border-light);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: all 0.3s;
}

.integration-logo-item:hover {
  border-color: var(--color-teal);
  color: var(--color-teal);
  transform: translateY(-2px);
}

/* --- Responsive --- */
@media (max-width: 991px) {
  .features-grid-3x2 {
    grid-template-columns: 1fr 1fr;
  }

  /* 3x2 responsive — handled by grid-template-columns above */

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

  .features-grid-4::before {
    display: none;
  }

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

@media (max-width: 640px) {
  .features-grid-3x2,
  .features-grid-4,
  .features-grid-3 {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   INTEGRATION HUB V2 — Interactive Design
   ============================================ */

/* --- Flow Steps (horizontal pipeline) --- */
.integ-flow {
  display: flex;
  align-items: stretch;
  gap: 0;
  margin-bottom: 0;
}

.integ-flow-step {
  flex: 1;
  text-align: center;
  padding: 28px 20px;
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  position: relative;
  transition: transform 0.35s, box-shadow 0.35s, border-color 0.3s;
}

.integ-flow-step:first-child {
  border-radius: var(--radius-xl) 0 0 var(--radius-xl);
}

.integ-flow-step:last-child {
  border-radius: 0 var(--radius-xl) var(--radius-xl) 0;
}

.integ-flow-step:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.08);
  border-color: var(--step-color, var(--color-teal));
  z-index: 2;
}

.integ-flow-num {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--step-color, var(--color-teal));
  color: white;
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  transition: transform 0.3s, box-shadow 0.3s;
}

.integ-flow-step:hover .integ-flow-num {
  transform: scale(1.15);
  box-shadow: 0 0 16px color-mix(in srgb, var(--step-color, var(--color-teal)) 30%, transparent);
}

.integ-flow-step h3 {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.integ-flow-step p {
  font-size: 13px;
  line-height: 1.55;
  color: var(--text-secondary);
}

/* Arrow connectors between flow steps */
.integ-flow-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  flex-shrink: 0;
  color: var(--color-teal);
  opacity: 0.4;
}

/* --- Platform Grid (showcasing integrations) --- */
.integ-platform-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.integ-platform-card {
  position: relative;
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.22,1,0.36,1), box-shadow 0.4s, border-color 0.3s;
}

.integ-platform-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--platform-color, var(--color-teal));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.22,1,0.36,1);
}

.integ-platform-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 48px rgba(0,0,0,0.1);
  border-color: var(--platform-color, var(--color-teal));
}

.integ-platform-card:hover::before {
  transform: scaleX(1);
}

.integ-platform-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}

.integ-platform-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: color-mix(in srgb, var(--platform-color, var(--color-teal)) 10%, transparent);
  flex-shrink: 0;
  transition: transform 0.3s;
}

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

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

.integ-platform-name {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
}

.integ-platform-tag {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--platform-color, var(--color-teal));
}

.integ-platform-card > p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: 16px;
  flex: 1;
}

.integ-platform-card .btn {
  align-self: flex-start;
  margin-top: auto;
}

/* Single platform card — full width with side layout */
.integ-platform-solo {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 24px 32px;
}

.integ-platform-solo > p {
  margin-bottom: 0;
}

/* --- Category Section --- */
.integ-category {
  position: relative;
}

.integ-category-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--cat-color, var(--text-secondary));
  margin-bottom: 20px;
}

.integ-category-label::before {
  content: '';
  width: 24px;
  height: 3px;
  background: var(--cat-color, var(--color-teal));
  border-radius: 100px;
}

/* --- Responsive --- */
@media (max-width: 991px) {
  .integ-flow {
    flex-wrap: wrap;
    gap: 12px;
  }

  .integ-flow-step {
    border-radius: var(--radius-lg) !important;
    flex: 1 1 calc(50% - 6px);
  }

  .integ-flow-arrow {
    display: none;
  }

  .integ-platform-grid {
    grid-template-columns: 1fr 1fr;
  }

  .integ-platform-solo {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 12px;
  }
}

@media (max-width: 640px) {
  .integ-flow-step {
    flex: 1 1 100%;
  }

  .integ-platform-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- Prefers reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .animate-on-scroll,
  .animate-fade-up {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .animate-float,
  .animate-float-delayed,
  .particle,
  .hero-orb,
  .cta-orb,
  .badge-dot {
    animation: none;
  }

  .hero-shape,
  .why-shape {
    animation: none;
  }
}