/* ============================================
   Zethic Technologies - White Theme
   Based on reference: https://zethic.com/
   ============================================ */

/* CSS Variables - Zethic Color Scheme */
:root {
  /* Primary Colors */
  --color-primary: #0066FF;
  --color-primary-dark: #0052CC;
  --color-primary-light: #3385FF;
  --color-secondary: #024AB6;
  
  /* Gradient Colors for Highlights */
  --gradient-start: #0066FF;
  --gradient-end: #7C3AED;
  
  /* Neutral Colors */
  --color-white: #FFFFFF;
  --color-gray-50: #F8F9FB;
  --color-gray-100: #F0F2F5;
  --color-gray-200: #E4E7EB;
  --color-gray-300: #D1D5DB;
  --color-gray-400: #9CA3AF;
  --color-gray-500: #6B7280;
  --color-gray-600: #4B5563;
  --color-gray-700: #374151;
  --color-gray-800: #1F2937;
  --color-gray-900: #111827;
  
  /* Accent Colors */
  --color-accent: #0D1130;
  --color-accent-light: #1A2332;
  
  /* Text Colors */
  --color-text-primary: #181B31;
  --color-text-secondary: #383E47;
  --color-text-muted: #626974;
  --color-text-light: #FFFFFF99;
  
  /* Functional Colors */
  --color-success: #10B981;
  --color-warning: #F59E0B;
  --color-error: #EF4444;
  --color-info: #3B82F6;
  
  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --shadow-card: 0 5px 50px 0 rgba(0, 0, 0, 0.14);
  --shadow-button: 0 17px 27px 0 rgba(64, 100, 233, 0.4);
  
  /* Typography */
  --font-primary: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-secondary: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  
  /* Spacing */
  --spacing-xs: 0.25rem;
  --spacing-sm: 0.5rem;
  --spacing-md: 1rem;
  --spacing-lg: 1.5rem;
  --spacing-xl: 2rem;
  --spacing-2xl: 3rem;
  --spacing-3xl: 4rem;
  
  /* Border Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 20px;
  --radius-full: 9999px;
  
  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-normal: 300ms ease;
  --transition-slow: 500ms ease;
  
  /* Container */
  --container-max-width: 1270px;
}

/* ============================================
   Reset & Base Styles
   ============================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-primary);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.6;
  color: var(--color-text-secondary);
  background-color: var(--color-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-primary);
  font-weight: 900;
  line-height: 1.3;
  color: var(--color-text-primary);
  margin-bottom: var(--spacing-md);
}

h1 { font-size: 42px; }
h2 { font-size: 36px; }
h3 { font-size: 24px; }
h4 { font-size: 20px; }
h5 { font-size: 18px; }
h6 { font-size: 16px; }

p {
  margin-bottom: var(--spacing-md);
  color: var(--color-text-secondary);
}

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--color-primary-dark);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul, ol {
  list-style: none;
}

/* ============================================
   Utility Classes
   ============================================ */
.container {
  width: 100%;
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 var(--spacing-lg);
}

.section-header {
  text-align: center;
  margin-bottom: var(--spacing-3xl);
}

.section-title {
  font-size: 38px;
  font-weight: 900;
  color: var(--color-text-primary);
  margin-bottom: var(--spacing-md);
  letter-spacing: -0.5px;
}

.section-subtitle {
  font-size: 15px;
  font-weight: 500;
  color: var(--color-text-muted);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ============================================
   Testimonials Section - Clean White Background
   ============================================ */
.testimonials {
  padding: var(--spacing-3xl) 0;
  background-color: var(--color-white);
}

.btn-outline {
  background-color: transparent;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
}

.btn-outline:hover {
  background-color: var(--color-primary);
  color: var(--color-white);
}

.btn-lg {
  padding: 16px 32px;
  font-size: 16px;
}

.btn-sm {
  padding: 10px 20px;
  font-size: 14px;
}

/* ============================================
   Header / Navigation
   ============================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: var(--color-white);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
}

.header.is-stuck {
  box-shadow: var(--shadow-md);
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.logo {
  display: flex;
  align-items: center;
}

.logo a {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  color: var(--color-text-primary);
  font-size: 24px;
  font-weight: 900;
}

.logo svg {
  width: 40px;
  height: 40px;
}

.logo-text {
  font-family: var(--font-primary);
  font-weight: 900;
  color: var(--color-text-primary);
}

/* Navigation */
.main-nav {
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: var(--spacing-xs);
}

.nav-item {
  position: relative;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  padding: 12px 16px;
  color: var(--color-text-secondary);
  font-size: 14px;
  font-weight: 700;
  transition: color var(--transition-fast);
  border-radius: var(--radius-md);
}

.nav-link:hover,
.nav-link.active {
  color: var(--color-primary);
  background-color: rgba(0, 102, 255, 0.05);
}

/* Dropdown Menu */
.dropdown {
  position: relative;
}

.dropdown-toggle {
  display: flex;
  align-items: center;
  gap: var(--spacing-xs);
}

.dropdown-arrow {
  font-size: 12px;
  color: var(--color-text-muted);
  transition: transform var(--transition-fast);
}

.dropdown:hover .dropdown-arrow {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  transform: translateY(-10px);
  width: 680px;
  max-width: calc(100vw - 40px);
  background-color: var(--color-white);
  border: 1px solid var(--color-gray-200);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
  z-index: 1000;
  padding: var(--spacing-lg);
  margin-top: var(--spacing-xs);
}

.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}


.dropdown-content {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-lg);
}

.dropdown-services {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--spacing-md);
}

.dropdown-services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--spacing-md);
}

.dropdown-column {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.dropdown-service-item {
  padding: 10px 14px;
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
  cursor: pointer;
  white-space: nowrap;
}

.dropdown-service-item:hover {
  background-color: rgba(0, 102, 255, 0.05);
}

.dropdown-service-item h4 {
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 0;
  color: var(--color-text-secondary);
  transition: color var(--transition-fast);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dropdown-service-item:hover h4 {
  color: var(--color-primary);
}

.dropdown-cta {
  border-top: 1px solid var(--color-gray-200);
  padding-top: var(--spacing-md);
}

.dropdown-cta .btn {
  width: 100%;
  justify-content: center;
  padding: 12px 16px;
  font-size: 14px;
}

.nav-icon {
  font-size: 16px;
}

.nav-label {
  display: none;
}

@media (min-width: 992px) {
  .nav-label {
    display: inline;
  }
}

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
}

.theme-toggle {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  border: none;
  background-color: var(--color-gray-100);
  color: var(--color-text-secondary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.theme-toggle:hover {
  background-color: var(--color-gray-200);
}

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 10px;
  border: none;
  background: transparent;
  cursor: pointer;
}

.mobile-menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--color-text-primary);
  transition: all var(--transition-fast);
}

@media (max-width: 991px) {
  .mobile-menu-toggle {
    display: flex;
  }
  
  .main-nav {
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--color-white);
    padding: var(--spacing-xl);
    transform: translateX(-100%);
    transition: transform var(--transition-normal);
  }
  
  .main-nav.is-open {
    transform: translateX(0);
  }
  
  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  
  .nav-link {
    padding: var(--spacing-md);
    font-size: 16px;
  }
}

/* ============================================
   High-End Corporate Open-Flow UI
   ============================================ */

/* Color Variables for Corporate Theme */
:root {
  --accent-blue: #007aff;
  --text-navy: #0a192f;
  --bg-white: #ffffff;
  --slate-gray: #64748b;
  --light-slate: #f1f5f9;
  --tag-text: #475569;
}

/* Services Flow Section */
.services-flow-section {
  background: var(--bg-white);
  padding: 100px 0 80px;
  overflow: hidden;
}

.flow-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px;
}

.eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: var(--accent-blue);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 16px;
}

.flow-header h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-navy);
  margin-bottom: 16px;
  line-height: 1.2;
}

.flow-subtitle {
  font-size: 1.1rem;
  color: var(--slate-gray);
  line-height: 1.7;
  max-width: 600px;
  margin: 0 auto;
}

/* Services Flow Grid - Open Layout */
.services-flow-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 60px 40px;
  position: relative;
}

/* Flow Item - No Box Container */
.flow-item {
  text-align: center;
  opacity: 1;
  transform: translateY(0);
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.flow-item.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* Diagram Wrapper */
.diagram-wrapper {
  position: relative;
  margin-bottom: 30px;
  display: flex;
  justify-content: center;
  transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.flow-item:hover .diagram-wrapper {
  transform: scale(1.05);
}

/* Floating Diagram SVG */
.floating-diagram {
  width: 100%;
  max-width: 280px;
  height: auto;
  filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.08));
  animation: float 6s ease-in-out infinite;
}

/* Stagger animations for diagrams */
.flow-item:nth-child(1) .floating-diagram { animation-delay: 0s; }
.flow-item:nth-child(2) .floating-diagram { animation-delay: 0.5s; }
.flow-item:nth-child(3) .floating-diagram { animation-delay: 1s; }
.flow-item:nth-child(4) .floating-diagram { animation-delay: 1.5s; }
.flow-item:nth-child(5) .floating-diagram { animation-delay: 2s; }
.flow-item:nth-child(6) .floating-diagram { animation-delay: 2.5s; }
.flow-item:nth-child(7) .floating-diagram { animation-delay: 3s; }
.flow-item:nth-child(8) .floating-diagram { animation-delay: 3.5s; }
.flow-item:nth-child(9) .floating-diagram { animation-delay: 4s; }

/* Floating Animation */
@keyframes float {
  0%, 100% { 
    transform: translateY(0px);
  }
  50% { 
    transform: translateY(-15px);
  }
}

/* Pulse Dot */
.pulse-dot {
  position: absolute;
  top: 10px;
  right: 20px;
  width: 8px;
  height: 8px;
  background: var(--accent-blue);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(0, 122, 255, 0.4);
  }
  50% {
    opacity: 0.7;
    transform: scale(1.2);
    box-shadow: 0 0 0 10px rgba(0, 122, 255, 0);
  }
}

/* Flow Content */
.flow-content {
  padding: 0 10px;
}

.flow-content h3 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-navy);
  margin-bottom: 12px;
  line-height: 1.3;
}

.flow-content p {
  font-size: 0.95rem;
  color: var(--slate-gray);
  line-height: 1.6;
  margin-bottom: 15px;
}

/* Flow Tags */
.flow-tags {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin: 15px 0;
  flex-wrap: wrap;
}

.flow-tags span {
  font-size: 11px;
  font-weight: 600;
  background: var(--light-slate);
  color: var(--tag-text);
  padding: 4px 12px;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.flow-item:hover .flow-tags span {
  background: #e2e8f0;
}

/* Flow Link */
.flow-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent-blue);
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.3s ease;
  margin-top: 10px;
}

.flow-link .arrow {
  transition: transform 0.3s ease;
  font-size: 16px;
}

.flow-item:hover .flow-link {
  color: #0056b3;
}

.flow-item:hover .flow-link .arrow {
  transform: translateX(4px);
}

/* Responsive Design */
@media (max-width: 992px) {
  .services-flow-section {
    padding: 80px 0;
  }

  .services-flow-grid {
    gap: 80px 30px;
  }

  .flow-header h2 {
    font-size: 2rem;
  }
}

@media (max-width: 768px) {
  .services-flow-section {
    padding: 60px 0;
  }

  .flow-header {
    margin-bottom: 50px;
  }

  .flow-header h2 {
    font-size: 1.75rem;
  }

  .flow-subtitle {
    font-size: 1rem;
  }

  .services-flow-grid {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .floating-diagram {
    max-width: 240px;
  }
}

/* ============================================
   Corporate White Theme - Glass Container
   ============================================ */

/* New Color Variables for Corporate White Theme */
:root {
  --bg-white: #f8fafc;
  --glass-white: rgba(255, 255, 255, 0.7);
  --primary-blue: #3b82f6;
  --text-dark: #1e293b;
  --text-light: #64748b;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
}

/* Enhanced Animated Background */
.animated-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
}

/* Floating Geometric Shapes */
.shape-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.6;
}

.shape {
  position: absolute;
  border-radius: 50%;
  background: linear-gradient(135deg, #E0E7FF, #F0E6FF);
  animation: float 20s ease-in-out infinite;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.shape-1 {
  width: 400px;
  height: 400px;
  top: -100px;
  left: 10%;
  animation-delay: 0s;
  opacity: 0.03;
}

.shape-2 {
  width: 300px;
  height: 300px;
  top: 20%;
  right: 10%;
  animation-delay: -5s;
  opacity: 0.02;
  transform: rotate(45deg);
}

.shape-3 {
  width: 200px;
  height: 200px;
  bottom: 10%;
  left: 20%;
  animation-delay: -10s;
  opacity: 0.03;
}

.shape-4 {
  width: 250px;
  height: 250px;
  top: 40%;
  left: 5%;
  animation-delay: -15s;
  opacity: 0.02;
}

.shape-5 {
  width: 150px;
  height: 150px;
  bottom: 30%;
  right: 20%;
  animation-delay: -8s;
  opacity: 0.03;
}

/* Animated Lines and Grid */
.grid-lines {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(rgba(0, 0, 0, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 0, 0, 0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  animation: gridMove 30s linear infinite;
  opacity: 0.5;
}

/* Light Rays */
.light-rays {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(ellipse at 20% 20%, rgba(200, 200, 200, 0.03) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 80%, rgba(200, 200, 200, 0.02) 0%, transparent 50%);
  animation: lightPulse 8s ease-in-out infinite;
  pointer-events: none;
}

/* Subtle Particle Animation */
.particles-container {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
}

.particle {
  position: absolute;
  background: rgba(0, 0, 0, 0.1);
  border-radius: 50%;
  animation: particleFloat 15s linear infinite;
  pointer-events: none;
}

.particle:nth-child(1) { width: 4px; height: 4px; top: 10%; left: 20%; animation-duration: 12s; }
.particle:nth-child(2) { width: 3px; height: 3px; top: 30%; left: 80%; animation-duration: 18s; }
.particle:nth-child(3) { width: 5px; height: 5px; top: 60%; left: 10%; animation-duration: 14s; }
.particle:nth-child(4) { width: 2px; height: 2px; top: 80%; left: 60%; animation-duration: 20s; }
.particle:nth-child(5) { width: 6px; height: 6px; top: 20%; left: 40%; animation-duration: 16s; }
.particle:nth-child(6) { width: 3px; height: 3px; top: 50%; left: 70%; animation-duration: 13s; }
.particle:nth-child(7) { width: 4px; height: 4px; top: 70%; left: 30%; animation-duration: 19s; }
.particle:nth-child(8) { width: 2px; height: 2px; top: 10%; left: 90%; animation-duration: 11s; }

/* Enhanced Gradient Overlay */
.gradient-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(ellipse at top right, rgba(200, 200, 200, 0.02) 0%, transparent 60%),
    radial-gradient(ellipse at bottom left, rgba(180, 180, 180, 0.02) 0%, transparent 60%);
  animation: gradientShift 25s ease-in-out infinite;
  z-index: 2;
}

/* Content Layer */
.hero .container {
  position: relative;
  z-index: 10;
}

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(180deg); }
}

@keyframes gridMove {
  0% { transform: translate(0, 0); }
  100% { transform: translate(60px, 60px); }
}

@keyframes lightPulse {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 0.8; }
}

@keyframes particleFloat {
  0% { transform: translateY(100vh) rotate(0deg); opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { transform: translateY(-100px) rotate(360deg); opacity: 0; }
}

@keyframes gradientShift {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 0.6; }
}

/* Hero Section - Proper Layout */
.hero {
  position: relative;
  padding-top: 140px;
  padding-bottom: 80px;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero .container {
  position: relative;
  z-index: 1;
  width: 100%;
}

.hero-content {
  max-width: 650px;
}

.hero-tagline {
  margin-bottom: var(--spacing-lg);
}

.hero-tagline .tag {
  display: inline-block;
  padding: 8px 20px;
  background-color: transparent;
  color: #000000;
  font-size: 14px;
  font-weight: 700;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.hero-title {
  font-size: 42px;
  font-weight: 800;
  line-height: 1.3;
  color: var(--color-text-primary);
  margin-bottom: var(--spacing-lg);
  letter-spacing: -0.5px;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  text-shadow: none;
  background: none;
  -webkit-background-clip: unset;
  -webkit-text-fill-color: var(--color-text-primary);
  background-clip: unset;
}

@media (max-width: 767px) {
  .hero-title {
    font-size: 26px;
    line-height: 1.3;
    letter-spacing: -0.3px;
  }
}

.hero-title .title-line {
  display: block;
  font-size: 36px;
  font-weight: 800;
  line-height: 1.4;
}

@media (max-width: 767px) {
  .hero-title .title-line {
    font-size: 24px;
  }
}

/* Highlight Text Styling */
.highlight-text {
  background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.hero-subtitle {
  margin-bottom: var(--spacing-xl);
}

.hero-subtitle p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--color-text-muted);
  max-width: 550px;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-weight: 400;
}

.hero-subtitle {
  margin-bottom: var(--spacing-xl);
}

.hero-subtitle p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--color-text-muted);
  max-width: 550px;
}

.hero-cta {
  display: flex;
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-2xl);
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: var(--spacing-2xl);
}

.stat-item {
  text-align: left;
}

.stat-number {
  font-size: 36px;
  font-weight: 900;
  color: var(--color-primary);
  line-height: 1;
}

.stat-label {
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text-muted);
  margin-top: var(--spacing-xs);
}

.hero-visual {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 50%;
  height: 80%;
  display: none;
}

@media (min-width: 992px) {
  .hero-visual {
    display: block;
  }
}

.hologram-container {
  position: relative;
  width: 100%;
  height: 100%;
}

.hologram-layer {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: var(--radius-xl);
  animation: hologramFloat 6s ease-in-out infinite;
}

.hologram-1 {
  background: linear-gradient(135deg, rgba(0, 102, 255, 0.1) 0%, rgba(123, 58, 237, 0.1) 100%);
  animation-delay: 0s;
}

.hologram-2 {
  background: linear-gradient(135deg, rgba(0, 102, 255, 0.05) 0%, rgba(123, 58, 237, 0.05) 100%);
  animation-delay: -2s;
  transform: scale(0.95);
}

.hologram-3 {
  background: linear-gradient(135deg, rgba(0, 102, 255, 0.02) 0%, rgba(123, 58, 237, 0.02) 100%);
  animation-delay: -4s;
  transform: scale(0.9);
}

.data-stream {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(0, 102, 255, 0.03) 2px,
    rgba(0, 102, 255, 0.03) 4px
  );
  animation: dataStream 20s linear infinite;
}

@keyframes hologramFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-20px); }
}

@keyframes dataStream {
  0% { transform: translateY(0); }
  100% { transform: translateY(100px); }
}

@media (max-width: 767px) {
  .hero-title {
    font-size: 36px;
  }
  
  .hero-stats {
    flex-direction: column;
    gap: var(--spacing-lg);
  }
  
  .hero-visual {
    display: none;
  }
}

/* ============================================
   Hero Info Cards (Right Side)
   ============================================ */
.hero-info-cards {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
  padding: var(--spacing-lg);
}

.info-card {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
  padding: var(--spacing-lg);
  background-color: var(--color-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-gray-100);
  transition: all var(--transition-normal);
  animation: infoCardFloat 6s ease-in-out infinite;
}

.info-card:nth-child(2) {
  animation-delay: -1.5s;
}

.info-card:nth-child(3) {
  animation-delay: -3s;
}

.info-card:nth-child(4) {
  animation-delay: -4.5s;
}

@keyframes infoCardFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.info-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.info-card-icon {
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(0, 102, 255, 0.1) 0%, rgba(123, 58, 237, 0.1) 100%);
  border-radius: var(--radius-md);
}

.info-card-icon i {
  font-size: 22px;
  color: var(--color-primary);
}

.info-card-content h4 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--color-text-primary);
  line-height: 1.3;
}

.info-card-content p {
  font-size: 13px;
  color: var(--color-text-muted);
  margin-bottom: 0;
  line-height: 1.5;
}

/* Hide old tech visualization elements */
.tech-visualization {
  display: none;
}

/* Data Nodes */
.data-nodes {
  position: absolute;
  width: 100%;
  height: 100%;
}

.data-node {
  position: absolute;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: nodeFloat 8s ease-in-out infinite;
}

.data-node .node-core {
  width: 20px;
  height: 20px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  border-radius: 50%;
  box-shadow: 0 0 20px rgba(0, 102, 255, 0.5);
  animation: corePulse 3s ease-in-out infinite;
}

.data-node .node-ring {
  position: absolute;
  border: 2px solid rgba(0, 102, 255, 0.3);
  border-radius: 50%;
  animation: ringRotate 10s linear infinite;
}

.data-node .node-ring.ring-2 {
  animation-duration: 15s;
  border-color: rgba(123, 58, 237, 0.3);
}

.node-1 {
  top: 20%;
  left: 30%;
  animation-delay: 0s;
}

.node-2 {
  top: 60%;
  left: 70%;
  animation-delay: -2s;
}

.node-3 {
  top: 40%;
  left: 20%;
  animation-delay: -4s;
}

.node-4 {
  top: 80%;
  left: 50%;
  animation-delay: -6s;
}

/* Connection Lines */
.connection-lines {
  position: absolute;
  width: 100%;
  height: 100%;
}

.line {
  position: absolute;
  height: 2px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
  opacity: 0.3;
  animation: lineFlow 4s ease-in-out infinite;
}

.line-1 {
  top: 25%;
  left: 30%;
  width: 40%;
  transform: rotate(45deg);
}

.line-2 {
  top: 65%;
  left: 70%;
  width: 30%;
  transform: rotate(-30deg);
}

.line-3 {
  top: 45%;
  left: 20%;
  width: 50%;
  transform: rotate(15deg);
}

.line-4 {
  top: 85%;
  left: 50%;
  width: 35%;
  transform: rotate(-60deg);
}

.line-5 {
  top: 50%;
  left: 40%;
  width: 45%;
  transform: rotate(75deg);
}

/* Code Elements */
.code-elements {
  position: absolute;
  top: 10%;
  right: 10%;
  width: 200px;
}

.code-block {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(0, 102, 255, 0.3);
  border-radius: var(--radius-md);
  padding: var(--spacing-md);
  margin-bottom: var(--spacing-lg);
  animation: codeFloat 6s ease-in-out infinite;
  -webkit-backdrop-filter: blur(5px); backdrop-filter: blur(5px);
}

.code-block.block-2 {
  animation-delay: -3s;
}

.code-line {
  display: block;
  font-family: 'Courier New', monospace;
  font-size: 12px;
  color: #00f0ff;
  margin-bottom: 2px;
}

.code-line.indent {
  margin-left: 15px;
  color: #7c3aed;
}

/* Digital Grid */
.digital-grid {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    linear-gradient(rgba(0, 102, 255, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 102, 255, 0.1) 1px, transparent 1px);
  background-size: 40px 40px;
  animation: gridMove 15s linear infinite;
  opacity: 0.5;
}

/* Scan Line */
.scan-line {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, transparent, rgba(0, 102, 255, 0.8), transparent);
  animation: scanMove 3s linear infinite;
  pointer-events: none;
}

/* Animations */
@keyframes nodeFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(180deg); }
}

@keyframes corePulse {
  0%, 100% { transform: scale(1); box-shadow: 0 0 20px rgba(0, 102, 255, 0.5); }
  50% { transform: scale(1.2); box-shadow: 0 0 40px rgba(0, 102, 255, 0.8); }
}

@keyframes ringRotate {
  0% { transform: scale(1) rotate(0deg); }
  100% { transform: scale(1.5) rotate(360deg); }
}

@keyframes lineFlow {
  0%, 100% { opacity: 0.3; transform: scaleX(0.5); }
  50% { opacity: 0.8; transform: scaleX(1); }
}

@keyframes codeFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes scanMove {
  0% { transform: translateY(-100%); }
  100% { transform: translateY(100vh); }
}

/* ============================================
   Modern Services Section
   ============================================ */
.services-section {
  padding: 100px 0;
  background: linear-gradient(180deg, #F0F7FF 0%, #FFFFFF 50%, #F8FBFF 100%);
  width: 100%;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.services-section.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.services-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
}

/* Services Navigation Bar */
.services-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  margin-bottom: 60px;
  border-bottom: 1px solid #E5E7EB;
}

.nav-logo .logo-text {
  font-size: 24px;
  font-weight: 900;
  color: var(--color-text-primary);
  font-family: var(--font-primary);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-menu .nav-item {
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text-secondary);
  text-decoration: none;
  border-radius: var(--radius-full);
  transition: all var(--transition-fast);
  font-family: var(--font-primary);
}

.nav-menu .nav-item:hover {
  color: var(--color-primary);
  background-color: rgba(0, 102, 255, 0.05);
}

.nav-menu .nav-item:first-child {
  background-color: rgba(0, 102, 255, 0.08);
  color: var(--color-primary);
}

.nav-cta .btn-lets-talk {
  padding: 12px 28px;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  color: var(--color-white);
  border: none;
  border-radius: var(--radius-full);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-normal);
  font-family: var(--font-primary);
  box-shadow: 0 4px 15px rgba(0, 102, 255, 0.3);
}

.nav-cta .btn-lets-talk:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 102, 255, 0.4);
}

/* Services Content */
.services-content {
  margin-bottom: 0;
}

.services-title {
  font-size: 42px;
  font-weight: 800;
  color: var(--color-text-primary);
  margin-bottom: 50px;
  line-height: 1.2;
  font-family: 'Inter', var(--font-primary);
}

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}

.services-column {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.service-item {
  font-size: 15px;
  font-weight: 500;
  color: var(--color-text-secondary);
  padding: 12px 0;
  cursor: pointer;
  transition: color 0.2s ease;
  font-family: 'Inter', var(--font-primary);
  line-height: 1.5;
}

.service-item:hover {
  color: var(--color-primary);
}

/* Responsive Design for Services Section */
@media (max-width: 1199px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 991px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .services-nav {
    flex-wrap: wrap;
    gap: 20px;
  }
  
  .nav-menu {
    order: 3;
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
  }
}

@media (max-width: 767px) {
  .services-section {
    padding: 60px 0;
  }
  
  .services-container {
    padding: 0 20px;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .services-title {
    font-size: 32px;
    margin-bottom: 40px;
  }
  
  .nav-menu {
    flex-direction: column;
    gap: 4px;
  }
  
  .nav-menu .nav-item {
    width: 100%;
    text-align: center;
  }
  
  .nav-cta {
    width: 100%;
  }
  
  .nav-cta .btn-lets-talk {
    width: 100%;
  }
}

/* ============================================
   Services / Solutions Section
   ============================================ */
.solutions {
  padding: var(--spacing-3xl) 0;
  background-color: var(--color-white);
}

.solutions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--spacing-xl);
}

.solution-card {
  background-color: var(--color-white);
  border-radius: var(--radius-lg);
  padding: var(--spacing-xl);
  border: 1px solid var(--color-gray-100);
  transition: all var(--transition-normal);
}

.solution-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-card);
  border-color: transparent;
}

.solution-icon {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-gray-50);
  border-radius: var(--radius-lg);
  margin-bottom: var(--spacing-lg);
  transition: all var(--transition-normal);
}

.solution-card:hover .solution-icon {
  background-color: var(--color-primary);
}

.solution-icon i {
  font-size: 28px;
  color: var(--color-primary);
  transition: color var(--transition-normal);
}

.solution-card:hover .solution-icon i {
  color: var(--color-white);
}

.solution-card h3 {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: var(--spacing-md);
  color: var(--color-text-primary);
}

.solution-card p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--color-text-muted);
  margin-bottom: var(--spacing-lg);
}

.solution-tech {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-lg);
}

.tech-tag {
  display: inline-block;
  padding: 4px 12px;
  background-color: var(--color-gray-50);
  color: var(--color-text-secondary);
  font-size: 12px;
  font-weight: 600;
  border-radius: var(--radius-full);
}

.solution-link {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-xs);
  color: var(--color-primary);
  font-size: 14px;
  font-weight: 600;
}

.solution-link:hover {
  gap: var(--spacing-sm);
}

/* ============================================
   Portfolio Section - Bento Grid with Filtering
   ============================================ */
.portfolio-section {
  background-color: #f8f9fa;
  padding: 100px 0;
}

/* Filter Ribbon */
.portfolio-filter-ribbon {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #eee;
  padding: 8px;
  border-radius: 50px;
  margin-bottom: 40px;
  flex-wrap: wrap;
  gap: 16px;
}

.filter-group {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
}

.filter-btn {
  border: none;
  background: transparent;
  padding: 10px 20px;
  border-radius: 25px;
  cursor: pointer;
  font-weight: 500;
  font-size: 14px;
  color: var(--color-text-secondary);
  transition: all 0.3s ease;
  font-family: var(--font-primary);
}

.filter-btn:hover {
  color: var(--color-primary);
}

.filter-btn.active {
  background: white;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  color: var(--color-primary);
}

/* View Toggle */
.view-toggle {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 500;
  color: var(--color-text-secondary);
}

.switch {
  position: relative;
  display: inline-block;
  width: 48px;
  height: 26px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition: 0.4s;
  border-radius: 26px;
}

.slider:before {
  position: absolute;
  content: "";
  height: 20px;
  width: 20px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: 0.4s;
  border-radius: 50%;
}

input:checked + .slider {
  background-color: var(--color-primary);
}

input:checked + .slider:before {
  transform: translateX(22px);
}

/* Bento Grid */
.portfolio-bento-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  grid-auto-rows: 250px;
  gap: 24px;
}

/* Portfolio Card */
.portfolio-card {
  background: white;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.portfolio-card.flagship {
  grid-column: span 2;
  grid-row: span 2;
}

.portfolio-card.tall {
  grid-row: span 2;
}

.portfolio-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.05);
  border-color: var(--color-primary);
}

/* Card Image */
.card-image {
  position: relative;
  height: 60%;
  overflow: hidden;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.portfolio-card:hover .card-image img {
  transform: scale(1.05);
}

/* Metric Badge */
.metric-badge {
  position: absolute;
  bottom: 15px;
  right: 15px;
  background: rgba(255, 255, 255, 0.9);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  padding: 10px 15px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.trend-icon {
  color: #2ecc71;
  font-weight: 700;
  font-size: 16px;
}

.metric-value {
  font-weight: 700;
  color: #2ecc71;
  margin: 0;
  font-size: 16px;
  line-height: 1;
}

.metric-label {
  font-size: 10px;
  color: #666;
  margin: 0;
}

/* Card Content */
.card-content {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.tag-accent {
  display: inline-block;
  padding: 4px 12px;
  background: linear-gradient(135deg, var(--color-primary), var(--gradient-end));
  color: white;
  font-size: 10px;
  font-weight: 700;
  border-radius: 20px;
  margin-bottom: 12px;
  letter-spacing: 1px;
  width: fit-content;
}

.card-content h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--color-text-primary);
}

.card-content p {
  font-size: 14px;
  color: var(--color-text-muted);
  line-height: 1.5;
  margin-bottom: 12px;
}

/* Tech Stack */
.tech-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 16px;
}

.tech-stack span {
  padding: 4px 10px;
  background: rgba(0, 102, 255, 0.08);
  color: var(--color-primary);
  font-size: 12px;
  font-weight: 600;
  border-radius: 12px;
}

/* Case Study Button */
.btn-case-study {
  display: inline-flex;
  align-items: center;
  padding: 10px 20px;
  background: linear-gradient(135deg, var(--color-primary), var(--gradient-end));
  color: white;
  text-decoration: none;
  border-radius: 25px;
  font-size: 13px;
  font-weight: 600;
  transition: all 0.3s ease;
  margin-top: auto;
  width: fit-content;
}

.btn-case-study:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 102, 255, 0.3);
}

/* Responsive */
@media (max-width: 768px) {
  .portfolio-filter-ribbon {
    flex-direction: column;
    align-items: stretch;
    border-radius: 16px;
    padding: 16px;
  }
  
  .filter-group {
    justify-content: center;
  }
  
  .view-toggle {
    justify-content: center;
  }
  
  .portfolio-bento-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
  }
  
  .portfolio-card.flagship,
  .portfolio-card.tall {
    grid-column: span 1;
    grid-row: span 1;
  }
  
  .card-image {
    height: 200px;
  }
}

.portfolio-grid-modern {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: var(--spacing-xl);
  position: relative;
  z-index: 2;
}

/* ============================================
   AI Brain Portfolio Enhancement
   ============================================ */
.ai-brain-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

#ai-neural-canvas {
  width: 100%;
  height: 100%;
}

.ai-brain-core {
  position: absolute;
  top: -50px;
  right: -50px;
  width: 200px;
  height: 200px;
  opacity: 0.15;
  pointer-events: none;
}

.brain-sphere-ai {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, 
    rgba(0, 240, 255, 0.6) 0%, 
    rgba(0, 102, 255, 0.3) 40%, 
    rgba(124, 58, 237, 0.1) 70%, 
    transparent 100%);
  animation: aiBrainPulse 4s ease-in-out infinite;
  box-shadow: 
    0 0 40px rgba(0, 240, 255, 0.3),
    0 0 80px rgba(0, 102, 255, 0.2),
    inset 0 0 40px rgba(0, 240, 255, 0.1);
}

.brain-ring-ai {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border: 1.5px solid transparent;
  border-radius: 50%;
  animation: aiRingRotate 8s linear infinite;
}

.brain-ring-ai:nth-child(1) {
  width: 150px;
  height: 150px;
  border-top-color: rgba(0, 240, 255, 0.3);
  border-right-color: rgba(0, 102, 255, 0.3);
  animation-duration: 6s;
}

.brain-ring-ai:nth-child(2) {
  width: 180px;
  height: 180px;
  border-bottom-color: rgba(124, 58, 237, 0.3);
  border-left-color: rgba(0, 240, 255, 0.3);
  animation-duration: 10s;
  animation-direction: reverse;
}

@keyframes aiBrainPulse {
  0%, 100% { 
    transform: translate(-50%, -50%) scale(1);
    box-shadow: 0 0 40px rgba(0, 240, 255, 0.3), 0 0 80px rgba(0, 102, 255, 0.2);
  }
  50% { 
    transform: translate(-50%, -50%) scale(1.05);
    box-shadow: 0 0 60px rgba(0, 240, 255, 0.5), 0 0 120px rgba(0, 102, 255, 0.3);
  }
}

@keyframes aiRingRotate {
  0% { transform: translate(-50%, -50%) rotate(0deg); }
  100% { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Enhanced Portfolio Card with AI Glow */
.portfolio-tile.ai-enhanced {
  position: relative;
  background: var(--color-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-gray-200);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.portfolio-tile.ai-enhanced::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, 
    rgba(0, 240, 255, 0.03) 0%, 
    rgba(124, 58, 237, 0.03) 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 0;
  pointer-events: none;
}

.portfolio-tile.ai-enhanced:hover::before {
  opacity: 1;
}

.portfolio-tile.ai-enhanced:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 
    0 15px 35px rgba(0, 0, 0, 0.12),
    0 0 25px rgba(0, 240, 255, 0.15),
    inset 0 0 25px rgba(0, 240, 255, 0.03);
  border-color: rgba(0, 240, 255, 0.3);
}

/* AI Processing Indicator */
.ai-processing {
  position: absolute;
  top: 12px;
  right: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  background: rgba(0, 240, 255, 0.1);
  border: 1px solid rgba(0, 240, 255, 0.2);
  border-radius: 20px;
  font-size: 10px;
  font-weight: 600;
  color: var(--accent-cyan, #00F0FF);
  z-index: 3;
  opacity: 0;
  transform: translateY(-10px);
  transition: all 0.3s ease;
}

.portfolio-tile.ai-enhanced:hover .ai-processing {
  opacity: 1;
  transform: translateY(0);
}

.ai-processing .pulse-dot {
  width: 6px;
  height: 6px;
  background: var(--accent-cyan, #00F0FF);
  border-radius: 50%;
  animation: aiPulse 1.5s ease-in-out infinite;
}

@keyframes aiPulse {
  0%, 100% { opacity: 0.5; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.2); }
}

/* Neural Network Lines between cards */
.neural-lines-svg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.synapse-connection {
  stroke: rgba(0, 240, 255, 0.2);
  stroke-width: 1;
  fill: none;
  animation: synapseFlow 3s ease-in-out infinite;
}

@keyframes synapseFlow {
  0%, 100% { stroke-opacity: 0.1; }
  50% { stroke-opacity: 0.4; }
}

/* AI Stats Badge */
.ai-stats-badge {
  position: absolute;
  bottom: 80px;
  left: 16px;
  display: flex;
  gap: 12px;
  z-index: 3;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.4s ease;
}

.portfolio-tile.ai-enhanced:hover .ai-stats-badge {
  opacity: 1;
  transform: translateY(0);
}

.ai-stat-item {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  background: rgba(0, 0, 0, 0.7);
  border-radius: 12px;
  font-size: 11px;
  color: var(--color-white);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}

.ai-stat-item i {
  color: var(--accent-cyan, #00F0FF);
  font-size: 10px;
}

@media (min-width: 640px) {
  .portfolio-grid-modern {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .portfolio-grid-modern {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-xl);
  }
}

/* Portfolio Tile - Compact Modern Design */
.portfolio-tile {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-gray-200);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.portfolio-tile:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
  border-color: rgba(0, 102, 255, 0.3);
}

.portfolio-tile-image {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
}

.portfolio-tile-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.portfolio-tile:hover .portfolio-tile-image img {
  transform: scale(1.05);
}

.portfolio-tile-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(0, 102, 255, 0.85) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.portfolio-tile:hover .portfolio-tile-overlay {
  opacity: 1;
}

.portfolio-tile-link {
  color: white;
  font-weight: 600;
  font-size: 0.875rem;
  padding: 8px 16px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: var(--radius-full);
  text-decoration: none;
  transition: all 0.2s ease;
}

.portfolio-tile-link:hover {
  background: white;
  color: var(--color-primary);
}

.portfolio-tile-content {
  padding: var(--spacing-md) var(--spacing-lg);
}

.portfolio-tile-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-text-primary);
  margin-bottom: var(--spacing-sm);
  line-height: 1.3;
}

.portfolio-tile-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: var(--spacing-sm);
}

.portfolio-tile-tags span {
  padding: 3px 10px;
  background: var(--color-gray-50);
  color: var(--color-text-secondary);
  font-size: 0.7rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  border: 1px solid var(--color-gray-200);
}

.portfolio-tile-metric {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.08) 0%, rgba(5, 150, 105, 0.08) 100%);
  border-radius: var(--radius-md);
}

.metric-arrow {
  color: #10B981;
  font-weight: 800;
  font-size: 0.875rem;
}

.metric-text {
  font-size: 0.75rem;
  font-weight: 600;
  color: #10B981;
}

/* Responsive */
@media (max-width: 640px) {
  .portfolio-tile-content {
    padding: var(--spacing-md);
  }
  
  .portfolio-tile-title {
    font-size: 0.9375rem;
  }
}

/* ============================================
   Technology Section - Infinite Scroll Marquee
   Clean White Background - No Background Effects
   ============================================ */
.technology {
  padding: 80px 0;
  background-color: var(--color-white);
  position: relative;
}

/* Marquee Container */
.tech-marquee-container {
  position: relative;
  max-width: 100%;
  overflow: hidden;
  padding: 30px 0;
  z-index: 1;
}

/* Gradient Overlays for fade effect */
.marquee-gradient-left,
.marquee-gradient-right {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 150px;
  z-index: 10;
  pointer-events: none;
}

.marquee-gradient-left {
  left: 0;
  background: linear-gradient(to right, var(--color-white) 0%, transparent 100%);
}

.marquee-gradient-right {
  right: 0;
  background: linear-gradient(to left, var(--color-white) 0%, transparent 100%);
}

/* Marquee Rows */
.marquee-row {
  display: flex;
  overflow: hidden;
  margin-bottom: 30px;
}

.marquee-row:last-child {
  margin-bottom: 0;
}

.marquee-track {
  display: flex;
  gap: 40px;
  animation: marqueeScroll 40s linear infinite;
  will-change: transform;
}

.marquee-row-1 .marquee-track {
  animation-direction: normal;
}

.marquee-row-2 .marquee-track {
  animation-direction: reverse;
  animation-duration: 45s;
}

/* Pause on hover */
.marquee-container:hover .marquee-track,
.tech-marquee-container:hover .marquee-track {
  animation-play-state: paused;
}

@keyframes marqueeScroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Marquee Item - No Box, Just Logo and Text */
.marquee-item {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 16px 20px;
  transition: all 0.3s ease;
  cursor: default;
  text-align: center;
}

.marquee-item:hover {
  transform: scale(1.15);
}

/* Logo Wrapper - No Background Box */
.marquee-logo {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  overflow: hidden;
}

.marquee-item:hover .marquee-logo {
  transform: scale(1.1);
  filter: drop-shadow(0 4px 8px rgba(0, 102, 255, 0.2));
}

.marquee-logo img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

/* Tech Label - Enhanced Typography */
.marquee-label {
  font-size: 14px;
  font-weight: 700;
  color: var(--color-text-secondary);
  transition: all 0.3s ease;
  white-space: nowrap;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  line-height: 1.2;
}

.marquee-item:hover .marquee-label {
  color: var(--color-primary);
  letter-spacing: 0.8px;
}

/* Responsive */
@media (max-width: 768px) {
  .marquee-gradient-left,
  .marquee-gradient-right {
    width: 60px;
  }
  
  .marquee-item {
    padding: 16px 20px;
    gap: 8px;
  }
  
  .marquee-logo {
    width: 52px;
    height: 52px;
    border-radius: 12px;
  }
  
  .marquee-logo img {
    width: 32px;
    height: 32px;
  }
  
  .marquee-label {
    font-size: 11px;
  }
  
  .marquee-track {
    gap: 24px;
  }
}

.tech-tab {
  padding: 12px 28px;
  background: var(--color-white);
  border: 2px solid var(--color-gray-200);
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text-secondary);
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: var(--font-primary);
}

.tech-tab:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
  transform: translateY(-2px);
}

.tech-tab.active {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  border-color: transparent;
  color: var(--color-white);
  box-shadow: 0 4px 15px rgba(0, 102, 255, 0.3);
}

/* Tech Showcase Container */
.tech-showcase {
  max-width: 1200px;
  margin: 0 auto;
}

.tech-carousel-container {
  position: relative;
  overflow: hidden;
  padding: 20px 0;
}

.tech-carousel {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  animation: techFloat 6s ease-in-out infinite;
}

@keyframes techFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

/* Tech Item - Enhanced with Logo */
.tech-item {
  text-align: center;
  padding: 30px 24px;
  background: var(--color-white);
  border-radius: 20px;
  border: 1px solid var(--color-gray-100);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  width: 160px;
  flex-shrink: 0;
}

.tech-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-primary), var(--gradient-end));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.tech-item:hover::before {
  transform: scaleX(1);
}

.tech-item:hover {
  transform: translateY(-10px) scale(1.05);
  box-shadow: 
    0 20px 40px rgba(0, 0, 0, 0.1),
    0 0 30px rgba(0, 102, 255, 0.15);
  border-color: rgba(0, 102, 255, 0.3);
}

/* Logo Wrapper */
.tech-logo-wrapper {
  width: 80px;
  height: 80px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
  border-radius: 20px;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.tech-logo-wrapper::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0, 102, 255, 0.1) 0%, rgba(124, 58, 237, 0.1) 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.tech-item:hover .tech-logo-wrapper::after {
  opacity: 1;
}

.tech-item:hover .tech-logo-wrapper {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 10px 30px rgba(0, 102, 255, 0.2);
}

.tech-logo-wrapper img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  position: relative;
  z-index: 1;
  transition: all 0.4s ease;
}

.tech-item:hover .tech-logo-wrapper img {
  transform: scale(1.1);
}

.tech-item h4 {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--color-text-primary);
  transition: color 0.3s ease;
}

.tech-item:hover h4 {
  color: var(--color-primary);
}

.tech-item p {
  font-size: 12px;
  color: var(--color-text-muted);
  margin-bottom: 0;
}

/* Animated Tech Items */
.tech-item.animated {
  animation: techSlideIn 0.6s ease forwards;
  opacity: 0;
}

@keyframes techSlideIn {
  from {
    opacity: 0;
    transform: translateX(-30px) translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateX(0) translateY(0);
  }
}

/* Staggered animation delays */
.tech-item.animated:nth-child(1) { animation-delay: 0.1s; }
.tech-item.animated:nth-child(2) { animation-delay: 0.15s; }
.tech-item.animated:nth-child(3) { animation-delay: 0.2s; }
.tech-item.animated:nth-child(4) { animation-delay: 0.25s; }
.tech-item.animated:nth-child(5) { animation-delay: 0.3s; }
.tech-item.animated:nth-child(6) { animation-delay: 0.35s; }
.tech-item.animated:nth-child(7) { animation-delay: 0.4s; }
.tech-item.animated:nth-child(8) { animation-delay: 0.45s; }
.tech-item.animated:nth-child(9) { animation-delay: 0.5s; }
.tech-item.animated:nth-child(10) { animation-delay: 0.55s; }
.tech-item.animated:nth-child(11) { animation-delay: 0.6s; }
.tech-item.animated:nth-child(12) { animation-delay: 0.65s; }
.tech-item.animated:nth-child(13) { animation-delay: 0.7s; }
.tech-item.animated:nth-child(14) { animation-delay: 0.75s; }
.tech-item.animated:nth-child(15) { animation-delay: 0.8s; }
.tech-item.animated:nth-child(16) { animation-delay: 0.85s; }
.tech-item.animated:nth-child(17) { animation-delay: 0.9s; }
.tech-item.animated:nth-child(18) { animation-delay: 0.95s; }
.tech-item.animated:nth-child(19) { animation-delay: 1.0s; }
.tech-item.animated:nth-child(20) { animation-delay: 1.05s; }
.tech-item.animated:nth-child(21) { animation-delay: 1.1s; }
.tech-item.animated:nth-child(22) { animation-delay: 1.15s; }
.tech-item.animated:nth-child(23) { animation-delay: 1.2s; }
.tech-item.animated:nth-child(24) { animation-delay: 1.25s; }

/* Hidden state for filtering */
.tech-item.hidden {
  display: none;
}

/* Responsive */
@media (max-width: 768px) {
  .tech-tabs {
    gap: 8px;
    margin-bottom: 30px;
  }
  
  .tech-tab {
    padding: 10px 20px;
    font-size: 13px;
  }
  
  .tech-item {
    width: 140px;
    padding: 24px 16px;
  }
  
  .tech-logo-wrapper {
    width: 64px;
    height: 64px;
  }
  
  .tech-logo-wrapper img {
    width: 36px;
    height: 36px;
  }
  
  .tech-item h4 {
    font-size: 13px;
  }
  
  .tech-item p {
    font-size: 11px;
  }
}

/* Old tech grid (kept for backward compatibility) */
.tech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: var(--spacing-xl);
}

/* ============================================
   Testimonials Section - Subtle Gradient Background
   ============================================ */
.testimonials {
  padding: var(--spacing-3xl) 0;
  position: relative;
  overflow: hidden;
  /* Visible gradient background for alternating pattern */
  background: linear-gradient(180deg, #E8F0FE 0%, #F5F8FD 30%, #FFFFFF 50%, #F5F8FD 70%, #E8F0FE 100%) !important;
}

/* Subtle animated light overlay for testimonials */
.testimonials::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(ellipse at 20% 30%, rgba(59, 130, 246, 0.03) 0%, transparent 40%),
    radial-gradient(ellipse at 80% 70%, rgba(147, 51, 234, 0.02) 0%, transparent 40%);
  animation: testimonialsFloat 20s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}

@keyframes testimonialsFloat {
  0%, 100% {
    opacity: 0.3;
    transform: translate(0, 0);
  }
  50% {
    opacity: 0.6;
    transform: translate(1%, -1%);
  }
}

/* Ensure content is above background */
.testimonials .container {
  position: relative;
  z-index: 1;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--spacing-xl);
  margin-bottom: var(--spacing-2xl);
}

.testimonial-card {
  background-color: var(--color-white);
  border-radius: var(--radius-lg);
  padding: var(--spacing-xl);
  box-shadow: var(--shadow-md);
}

.testimonial-content {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.testimonial-quote {
  flex: 1;
  margin-bottom: var(--spacing-lg);
}

.testimonial-quote i {
  font-size: 24px;
  color: var(--color-primary);
  opacity: 0.5;
  margin-bottom: var(--spacing-md);
  display: block;
}

.testimonial-quote p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--color-text-secondary);
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
}

.author-avatar {
  flex-shrink: 0;
}

.avatar-circle {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-full);
}

.author-info h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 2px;
  color: var(--color-text-primary);
}

.author-info p {
  font-size: 13px;
  color: var(--color-text-muted);
  margin-bottom: 0;
}

.testimonials-stats {
  display: flex;
  justify-content: center;
  gap: var(--spacing-3xl);
  padding: var(--spacing-xl);
  background-color: var(--color-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.stat-box {
  text-align: center;
}

.stat-box .stat-number {
  font-size: 42px;
  font-weight: 900;
  color: var(--color-primary);
  line-height: 1;
}

.stat-box .stat-label {
  font-size: 14px;
  color: var(--color-text-muted);
  margin-top: var(--spacing-sm);
}

@media (max-width: 767px) {
  .testimonials-stats {
    flex-direction: column;
    gap: var(--spacing-xl);
  }
}

/* ============================================
   Process Section - Neumorphism (Soft UI)
   ============================================ */
.process {
  padding: var(--spacing-3xl) 0;
  background: #ffffff;
  position: relative;
  overflow: hidden;
}

/* Neumorphism Timeline Container */
.process-timeline-neumorphism {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 32px;
  position: relative;
  padding: 60px 20px 40px;
  max-width: 1400px;
  margin: 0 auto;
}

/* Connecting Line - Soft Style */
.process-line-neu {
  position: absolute;
  top: 50%;
  left: 10%;
  right: 10%;
  height: 2px;
  background: linear-gradient(90deg, var(--color-primary), var(--gradient-end));
  border-radius: 2px;
  transform: translateY(-50%);
  z-index: 0;
  opacity: 0.6;
}

.process-line-progress-neu {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--color-primary), var(--gradient-end));
  border-radius: 3px;
  animation: lineProgressNeu 3s ease-out forwards;
  animation-delay: 0.5s;
}

@keyframes lineProgressNeu {
  to { width: 80%; }
}

/* Neumorphism Process Card */
.process-card-neu {
  flex: 1;
  max-width: 280px;
  min-width: 240px;
  position: relative;
  z-index: 1;
}

.process-card-neu-inner {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 20px;
  padding: 40px 28px 32px;
  transition: all 0.4s ease;
  position: relative;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
}

/* Pressed Effect on Hover */
.process-card-neu:hover .process-card-neu-inner {
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  transform: translateY(-6px);
  border-color: var(--color-primary);
}

/* Step Number - Neumorphism Badge */
.process-step-number-neu {
  position: absolute;
  top: -18px;
  left: 50%;
  transform: translateX(-50%);
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--color-primary), var(--gradient-end));
  color: #ffffff;
  font-size: 18px;
  font-weight: 800;
  border-radius: 50%;
  z-index: 2;
  box-shadow: 0 4px 6px -1px rgba(0, 102, 255, 0.3);
  transition: all 0.4s ease;
}

.process-card-neu:hover .process-step-number-neu {
  transform: translateX(-50%) scale(1.05);
  box-shadow: 0 8px 12px -2px rgba(0, 102, 255, 0.4);
}

/* Icon Container - Neumorphism */
.process-icon-neu {
  width: 88px;
  height: 88px;
  margin: 0 auto 24px;
  background: linear-gradient(135deg, rgba(0, 102, 255, 0.1), rgba(124, 58, 237, 0.1));
  border: 1px solid rgba(0, 102, 255, 0.2);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  transition: all 0.3s ease;
}

.process-card-neu:hover .process-icon-neu {
  background: linear-gradient(135deg, var(--color-primary), var(--gradient-end));
  border-color: var(--color-primary);
  transform: scale(1.05);
}

.process-icon-neu i {
  font-size: 36px;
  color: var(--color-primary);
  transition: color 0.4s ease;
}

.process-card-neu:hover .process-icon-neu i {
  color: var(--color-white);
}

/* Card Content */
.process-card-neu-inner h3 {
  font-size: 18px;
  font-weight: 800;
  text-align: center;
  margin-bottom: 12px;
  color: var(--color-text-primary);
}

.process-card-neu-inner p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--color-text-muted);
  text-align: center;
  margin-bottom: 20px;
}

/* Metric Badge - Neumorphism */
.process-metric-neu {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: #f8fafc;
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 12px;
  margin: 0 auto;
  display: flex;
  display: flex;
}

.metric-value-neu {
  font-size: 16px;
  font-weight: 900;
  color: var(--color-primary);
}

.metric-label-neu {
  font-size: 12px;
  font-weight: 600;
  color: var(--color-text-muted);
}

/* Dot Indicators */
.process-dots-neu {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 40px;
}

.process-dot-neu {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #e2e8f0;
  border: 2px solid #ffffff;
  transition: all 0.3s ease;
}

.process-dot-neu.active {
  background: linear-gradient(135deg, var(--color-primary), var(--gradient-end));
  border-color: transparent;
}

/* Responsive - Stack on mobile */
@media (max-width: 1024px) {
  .process-timeline-neumorphism {
    flex-wrap: wrap;
    gap: 40px;
  }
  
  .process-line-neu {
    display: none;
  }
  
  .process-card-neu {
    max-width: 100%;
  }
}

@media (max-width: 767px) {
  .process-timeline-neumorphism {
    flex-direction: column;
    align-items: center;
    gap: 36px;
    padding: 40px 16px;
  }
  
  .process-card-neu {
    max-width: 340px;
    width: 100%;
  }
  
  .process-card-neu-inner {
    padding: 36px 24px 28px;
  }
}

/* ============================================
   Partners Section
   ============================================ */
.partners {
  padding: var(--spacing-3xl) 0;
  background-color: var(--color-gray-50);
}

.partners-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: var(--spacing-2xl);
}

.partner-logo {
  width: 150px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--spacing-md);
  background-color: var(--color-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
}

.partner-logo:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.partner-logo img {
  max-width: 120px;
  max-height: 50px;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.7;
  transition: all var(--transition-normal);
}

.partner-logo:hover img {
  filter: grayscale(0%);
  opacity: 1;
}

/* ============================================
   Contact Section
   ============================================ */
.contact {
  padding: var(--spacing-3xl) 0;
  background-color: var(--color-white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: var(--spacing-2xl);
}

@media (max-width: 991px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-lg);
}

.contact-card {
  display: flex;
  gap: var(--spacing-lg);
  padding: var(--spacing-lg);
  background-color: var(--color-gray-50);
  border-radius: var(--radius-lg);
}

.contact-icon {
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-primary);
  color: var(--color-white);
  border-radius: var(--radius-md);
}

.contact-icon i {
  font-size: 20px;
}

.contact-content h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: var(--spacing-xs);
  color: var(--color-text-primary);
}

.contact-content p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--color-text-muted);
  margin-bottom: 0;
}

/* Contact Form */
.contact-form {
  background-color: var(--color-white);
  border-radius: var(--radius-lg);
  padding: var(--spacing-xl);
  border: 1px solid var(--color-gray-200);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-lg);
  margin-bottom: var(--spacing-lg);
}

@media (max-width: 576px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text-primary);
  margin-bottom: var(--spacing-sm);
}

.form-group input,
.form-group textarea {
  padding: 14px 16px;
  border: 2px solid var(--color-gray-200);
  border-radius: var(--radius-md);
  font-family: var(--font-primary);
  font-size: 15px;
  color: var(--color-text-primary);
  background-color: var(--color-white);
  transition: border-color var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-primary);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--color-gray-400);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.error-message {
  font-size: 12px;
  color: var(--color-error);
  margin-top: var(--spacing-xs);
  min-height: 18px;
}

.form-actions {
  text-align: right;
}

/* ============================================
   Footer
   ============================================ */
.footer {
  background: linear-gradient(120deg, #323945 78%, #514A65 100%);
  color: var(--color-white);
  padding: var(--spacing-3xl) 0 var(--spacing-xl);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: var(--spacing-xl);
  margin-bottom: var(--spacing-2xl);
}

@media (max-width: 991px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

.footer-section {
  display: flex;
  flex-direction: column;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-lg);
  color: var(--color-white);
  font-size: 24px;
  font-weight: 900;
}

.footer-logo svg {
  width: 40px;
  height: 40px;
}

.footer-section p {
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: var(--spacing-lg);
}

.social-links {
  display: flex;
  gap: var(--spacing-sm);
}

.social-links a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--color-white);
  border-radius: var(--radius-full);
  transition: all var(--transition-fast);
}

.social-links a:hover {
  background-color: var(--color-primary);
  transform: translateY(-3px);
}

.footer-section h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: var(--spacing-lg);
  color: var(--color-white);
}

.footer-section ul {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
}

.footer-section ul a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  transition: color var(--transition-fast);
}

.footer-section ul a:hover {
  color: var(--color-white);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--spacing-xl);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-copyright p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 0;
}

.footer-links {
  display: flex;
  gap: var(--spacing-lg);
}

.footer-links a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
}

.footer-links a:hover {
  color: var(--color-white);
}

@media (max-width: 767px) {
  .footer-bottom {
    flex-direction: column;
    gap: var(--spacing-md);
    text-align: center;
  }
}

/* ============================================
   Back to Top Button
   ============================================ */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-primary);
  color: var(--color-white);
  border: none;
  border-radius: var(--radius-full);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all var(--transition-normal);
  z-index: 999;
  box-shadow: var(--shadow-lg);
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background-color: var(--color-primary-dark);
  transform: translateY(-3px);
}

.back-to-top i {
  font-size: 20px;
}

/* ============================================
   Modal
   ============================================ */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
}

.modal.is-open {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  background-color: var(--color-white);
  border-radius: var(--radius-lg);
  padding: var(--spacing-2xl);
  max-width: 500px;
  width: 90%;
  position: relative;
  transform: translateY(20px);
  transition: transform var(--transition-normal);
}

.modal.is-open .modal-content {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: var(--spacing-md);
  right: var(--spacing-md);
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  font-size: 24px;
  color: var(--color-text-muted);
  cursor: pointer;
  transition: color var(--transition-fast);
}

.modal-close:hover {
  color: var(--color-text-primary);
}

.modal-content h3 {
  font-size: 24px;
  font-weight: 800;
  margin-bottom: var(--spacing-sm);
}

.modal-content p {
  font-size: 15px;
  color: var(--color-text-muted);
  margin-bottom: var(--spacing-xl);
}

.modal-content form {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
}

.modal-content form input,
.modal-content form textarea {
  padding: 14px 16px;
  border: 2px solid var(--color-gray-200);
  border-radius: var(--radius-md);
  font-family: var(--font-primary);
  font-size: 15px;
  transition: border-color var(--transition-fast);
}

.modal-content form input:focus,
.modal-content form textarea:focus {
  outline: none;
  border-color: var(--color-primary);
}

/* ============================================
   Skip Link
   ============================================ */
.skip-link {
  position: absolute;
  top: -100%;
  left: 50%;
  transform: translateX(-50%);
  padding: var(--spacing-md) var(--spacing-xl);
  background-color: var(--color-primary);
  color: var(--color-white);
  font-weight: 600;
  border-radius: var(--radius-md);
  z-index: 9999;
  transition: top var(--transition-fast);
}

.skip-link:focus {
  top: var(--spacing-md);
}

/* ============================================
   Animations (Preserved)
   ============================================ */

/* Particles.js container styles */
#particles-js {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
}

/* AOS Animation Base */
[data-aos] {
  opacity: 0;
  transition: opacity 0.6s ease;
}

[data-aos].aos-animate {
  opacity: 1;
}

[data-aos="fade-up"] {
  transform: translateY(30px);
}

[data-aos="fade-up"].aos-animate {
  transform: translateY(0);
}

[data-aos="fade-down"] {
  transform: translateY(-30px);
}

[data-aos="fade-down"].aos-animate {
  transform: translateY(0);
}

[data-aos="fade-left"] {
  transform: translateX(30px);
}

[data-aos="fade-left"].aos-animate {
  transform: translateX(0);
}

[data-aos="fade-right"] {
  transform: translateX(-30px);
}

[data-aos="fade-right"].aos-animate {
  transform: translateX(0);
}

[data-aos="zoom-in"] {
  transform: scale(0.9);
}

[data-aos="zoom-in"].aos-animate {
  transform: scale(1);
}

/* Staggered animations */
[data-aos-delay="100"] {
  transition-delay: 100ms;
}

[data-aos-delay="200"] {
  transition-delay: 200ms;
}

[data-aos-delay="300"] {
  transition-delay: 300ms;
}

[data-aos-delay="400"] {
  transition-delay: 400ms;
}

[data-aos-delay="500"] {
  transition-delay: 500ms;
}

/* ============================================
   Responsive Adjustments
   ============================================ */
@media (max-width: 1199px) {
  :root {
    --container-max-width: 960px;
  }
  
  h1 { font-size: 48px; }
  h2 { font-size: 32px; }
  .section-title { font-size: 32px; }
}

@media (max-width: 991px) {
  :root {
    --container-max-width: 720px;
  }
  
  .hero {
    padding-top: 120px;
    min-height: auto;
    padding-bottom: var(--spacing-3xl);
  }
  
  h1 { font-size: 42px; }
  .section-title { font-size: 28px; }
}

@media (max-width: 767px) {
  :root {
    --container-max-width: 100%;
  }
  
  .container {
    padding: 0 var(--spacing-md);
  }
  
  h1 { font-size: 36px; }
  h2 { font-size: 28px; }
  .section-title { font-size: 24px; }
  
  .hero-cta {
    flex-direction: column;
  }
  
  .hero-cta .btn {
    width: 100%;
    justify-content: center;
  }
  
  .solutions-grid,
  .portfolio-grid,
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
  
  .tech-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Dark Mode Support (Optional - kept for theme toggle) */
body.dark-mode {
  --color-white: #1A1A2E;
  --color-gray-50: #16213E;
  --color-gray-100: #0F3460;
  --color-gray-200: #1A1A2E;
  --color-text-primary: #FFFFFF;
  --color-text-secondary: #E0E0E0;
  --color-text-muted: #A0A0A0;
}

/* ============================================
   Simple Hero Features - Vertical Text Only with Animations
   ============================================ */
.hero-features {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-top: 40px;
    align-items: center;
}

.feature-text {
    text-align: center;
    padding: 20px;
    transition: all 0.3s ease;
    width: 100%;
    max-width: 600px;
    opacity: 0;
    transform: translateY(30px);
    animation: featureTextSlideIn 0.8s ease-out forwards;
}

.feature-text:nth-child(1) {
    animation-delay: 0.1s;
}

.feature-text:nth-child(2) {
    animation-delay: 0.3s;
}

.feature-text:nth-child(3) {
    animation-delay: 0.5s;
}

@keyframes featureTextSlideIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.feature-text h4 {
    font-size: 20px;
    font-weight: 800;
    color: #000000;
    margin-bottom: 12px;
    line-height: 1.3;
    opacity: 0;
    transform: translateY(10px);
    animation: titleSlideIn 0.6s ease-out 0.2s forwards;
}

.feature-text p {
    font-size: 14px;
    color: #000000;
    line-height: 1.6;
    margin-bottom: 0;
    opacity: 0.8;
    opacity: 0;
    transform: translateY(10px);
    animation: textSlideIn 0.6s ease-out 0.4s forwards;
}

@keyframes titleSlideIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes textSlideIn {
    to {
        opacity: 0.8;
        transform: translateY(0);
    }
}

.feature-text:hover {
    transform: translateY(-2px);
    cursor: default;
}

/* Enhanced hover effects with subtle scale */
.feature-text:hover h4 {
    transform: translateY(0) scale(1.02);
}

.feature-text:hover p {
    transform: translateY(0) scale(1.01);
}

/* Responsive Design for Feature Text */
@media (max-width: 768px) {
    .feature-text {
        padding: 16px;
    }
}

@media (max-width: 480px) {
    .feature-text {
        padding: 12px;
    }
    
    .feature-text h4 {
        font-size: 18px;
    }
    
    .feature-text p {
        font-size: 13px;
    }
}

/* ============================================
   Enhanced Services Section with Premium Design
   ============================================ */

/* Service Tabs */
.service-tabs {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e5e7eb;
}

.tab-btn {
    padding: 12px 24px;
    background: transparent;
    border: 2px solid #e5e7eb;
    border-radius: 25px;
    color: #6b7280;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: var(--font-primary);
}

.tab-btn:hover {
    border-color: #00c6ff;
    color: #00c6ff;
    transform: translateY(-2px);
}

.tab-btn.active {
    background: linear-gradient(135deg, #00c6ff, #0072ff);
    border-color: transparent;
    color: white;
    box-shadow: 0 4px 15px rgba(0, 198, 255, 0.3);
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

/* Default state - show development services by default */
.services-grid.development {
    display: grid;
}

.services-grid.design {
    display: none;
}

.services-grid.ai {
    display: none;
}

/* Active state */
.services-grid.active {
    display: grid;
}

/* Service Tile - Premium Corporate Design */
.service-tile {
    position: relative;
    padding: 35px;
    border-radius: 24px;
    background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
    border: 1px solid rgba(0, 102, 255, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    cursor: pointer;
    opacity: 0; /* Initially invisible */
    transform: translateY(0);
    animation: none;
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.08),
        0 1px 0 rgba(255, 255, 255, 0.8) inset;
    min-height: 320px;
    display: flex;
    flex-direction: column;
}

/* Premium Border Effect */
.service-tile::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #0066FF, #7C3AED);
    opacity: 0;
    transition: opacity 0.3s ease;
    transform: scaleX(0);
    transform-origin: left;
}

.service-tile:hover::before {
    opacity: 1;
    transform: scaleX(1);
}

/* Enhanced Hover Effect - Make tile visible on hover */
.service-tile:hover {
    opacity: 1; /* Visible on hover */
    transform: translateY(-8px) scale(1.01);
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.15),
        0 1px 0 rgba(255, 255, 255, 0.8) inset;
    border-color: rgba(0, 102, 255, 0.2);
}

/* Glow Border Effect */
.service-tile::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 20px;
    padding: 1px;
    background: linear-gradient(120deg, #00c6ff, #0072ff, #00c6ff);
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    opacity: 0;
    transition: 0.4s;
}

/* Hover Effects - Make tile visible on hover */
.service-tile:hover {
    opacity: 1; /* Visible on hover */
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 20px 50px rgba(0, 114, 255, 0.25);
}

.service-tile:hover::before {
    opacity: 1;
}

/* Icon Animation */
.service-icon {
    font-size: 40px;
    margin-bottom: 20px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    color: #0066FF;
    position: relative;
    z-index: 2;
}

.service-tile:hover .service-icon {
    transform: scale(1.1) translateY(-5px);
    color: #0066FF;
    filter: drop-shadow(0 4px 8px rgba(0, 102, 255, 0.3));
}

/* Service Content Layout */
.service-content {
    flex: 1;
    position: relative;
    z-index: 2;
}

.service-description {
    margin-bottom: 20px;
    position: relative;
}

.service-description::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, #0066FF, #7C3AED);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-tile:hover .service-description::after {
    opacity: 1;
}

/* Content Styling */
.service-tile h3 {
    color: #181B31;
    font-size: 20px;
    margin-bottom: 15px;
    font-weight: 800;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.service-tile p {
    color: #383E47;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
    transition: color 0.3s ease;
}

/* Tech Tags */
.service-tech {
    margin-top: 15px;
}

.tech-tag {
    display: inline-block;
    padding: 5px 12px;
    margin: 4px;
    border-radius: 20px;
    font-size: 12px;
    background: rgba(0,198,255,0.1);
    color: #00c6ff;
    border: 1px solid rgba(0,198,255,0.3);
    transition: 0.3s;
}

.tech-tag:hover {
    background: #00c6ff;
    color: white;
}

/* Overlay System */
.service-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(0, 102, 255, 0.1) 100%);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 24px;
    padding: 20px;
}

.service-more {
    margin-bottom: 20px;
    padding: 12px 24px;
    background: linear-gradient(135deg, #0066FF 0%, #7C3AED 100%);
    color: white;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 25px rgba(0, 102, 255, 0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.service-more:hover {
    background: linear-gradient(135deg, #0052CC 0%, #6B2FD6 100%);
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 12px 30px rgba(0, 102, 255, 0.5);
}

.service-tile:hover .service-overlay {
    opacity: 1;
}

/* Service Tile Content Structure */
.service-tile-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.service-tile-header {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 20px;
}

.service-tile-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.service-tile-footer {
    margin-top: auto;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

/* Smooth Entrance Animation */
.service-tile:nth-child(1) { animation-delay: 0.1s; }
.service-tile:nth-child(2) { animation-delay: 0.2s; }
.service-tile:nth-child(3) { animation-delay: 0.3s; }
.service-tile:nth-child(4) { animation-delay: 0.4s; }
.service-tile:nth-child(5) { animation-delay: 0.5s; }
.service-tile:nth-child(6) { animation-delay: 0.6s; }

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* View All Services Button */
.view-all-container {
    text-align: center;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #e5e7eb;
}

#view-all-services {
    padding: 14px 32px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 30px;
    transition: all 0.3s ease;
    background: transparent;
    border: 2px solid #00c6ff;
    color: #00c6ff;
}

#view-all-services:hover {
    background: #00c6ff;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 198, 255, 0.3);
}

/* Responsive Design */
@media (max-width: 768px) {
    .service-tabs {
        flex-direction: column;
        align-items: center;
    }
    
    .tab-btn {
        width: 100%;
        max-width: 200px;
    }
    
    .services-grid {
        gap: 20px;
    }
    
    .service-tile {
        padding: 25px;
    }
    
    .service-icon {
        font-size: 32px;
    }
    
    .service-tile h3 {
        font-size: 18px;
    }
    
    .service-tile p {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .services-grid {
        gap: 15px;
    }
    
    .service-tile {
        padding: 20px;
    }
    
    .service-icon {
        font-size: 28px;
    }
    
    .service-tile h3 {
        font-size: 16px;
    }
    
    .service-tile p {
        font-size: 12px;
    }
}

/* Legacy solutions grid for backward compatibility */
.solutions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.solution-card {
    background: rgba(255, 255, 255, 0.1);
    -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.solution-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.solution-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    transition: all 0.3s ease;
}

.solution-card:hover .solution-icon {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.solution-icon i {
    font-size: 32px;
    color: #fff;
}

.solution-card h3 {
    color: #fff;
    font-size: 24px;
    margin-bottom: 15px;
    font-weight: 600;
}

.solution-card p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 25px;
}

.solution-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 25px;
    justify-content: center;
}

.tech-tag {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.solution-link {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.solution-link:hover {
    color: #667eea;
    transform: translateX(5px);
}

/* ============================================
   MODERN SERVICES SECTION - WHITE THEME
   Premium SaaS-style cards - Clean White Background
   ============================================ */

/* Section Container */
.services-section-modern {
    padding: var(--spacing-3xl) var(--spacing-lg);
    width: 100%;
    max-width: 100%;
    position: relative;
    overflow: hidden;
    /* Clean white background */
    background-color: var(--color-white);
}

/* Ensure content is above background */
.services-container {
    position: relative;
    z-index: 1;
    max-width: 1400px;
    margin: 0 auto;
}

.services-container {
    width: 100%;
}

/* Section Header */
.services-header-modern {
    text-align: center;
    max-width: 700px;
    margin: 0 auto var(--spacing-3xl);
}

.services-label {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: var(--spacing-sm);
}

.services-title-modern {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-text-primary);
    line-height: 1.2;
    margin-bottom: var(--spacing-md);
    letter-spacing: -0.02em;
}

.services-subtitle-modern {
    font-size: 1.125rem;
    color: var(--color-text-secondary);
    line-height: 1.7;
}

/* Services Grid */
.services-grid-modern {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-2xl);
}

/* Tablet */
@media (min-width: 640px) {
    .services-grid-modern {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Desktop */
@media (min-width: 1024px) {
    .services-grid-modern {
        grid-template-columns: repeat(3, 1fr);
        gap: var(--spacing-2xl);
    }
}

/* Large Desktop */
@media (min-width: 1280px) {
    .services-grid-modern {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Service Card - Premium Glassmorphism with 3D Tilt */
.service-card-modern {
    /* Glassmorphism base */
    background: rgba(255, 255, 255, 0.7);
    -webkit-backdrop-filter: blur(20px) saturate(180%); backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    
    /* Border and spacing */
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: var(--radius-xl);
    padding: var(--spacing-xl);
    position: relative;
    overflow: hidden;
    
    /* Smooth transitions for all effects */
    transition: 
        opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1),
        transform 0.4s cubic-bezier(0.4, 0, 0.2, 1),
        box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1),
        border-color 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    
    cursor: pointer;
    
    /* Initial state - invisible but properly aligned */
    opacity: 0;
    transform: perspective(1000px) translateY(0) rotateX(0) rotateY(0);
    transform-style: preserve-3d;
}

/* Subtle gradient background overlay */
.service-card-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(99, 102, 241, 0.03) 0%,
        rgba(168, 85, 247, 0.03) 50%,
        rgba(236, 72, 153, 0.03) 100%
    );
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    z-index: 0;
}

/* Top gradient border accent */
.service-card-modern::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, 
        var(--color-primary), 
        var(--gradient-end), 
        #ec4899
    );
    opacity: 0;
    transform: scaleX(0);
    transform-origin: left;
    transition: 
        opacity 0.4s ease,
        transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card-modern.is-visible {
    opacity: 1;
    transform: perspective(1000px) translateY(0) rotateX(0) rotateY(0);
    transition: 
        opacity 0.5s ease,
        transform 0.5s cubic-bezier(0.4, 0, 0.2, 1),
        box-shadow 0.5s ease,
        border-color 0.5s ease;
}

/* Hover State - Glassmorphism + 3D Tilt + Depth */
.service-card-modern:hover {
    opacity: 1;
    
    /* 3D tilt effect */
    transform: perspective(1000px) translateY(-12px) rotateX(2deg) rotateY(-2deg);
    
    /* Deep layered shadows for depth */
    box-shadow: 
        0 8px 32px rgba(31, 38, 135, 0.1),
        0 16px 64px rgba(31, 38, 135, 0.08),
        0 32px 96px rgba(31, 38, 135, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    
    /* Enhanced border */
    border-color: rgba(99, 102, 241, 0.3);
}

/* Show gradient overlay on hover */
.service-card-modern:hover::before {
    opacity: 1;
}

/* Show top gradient border on hover */
.service-card-modern:hover::after {
    opacity: 1;
    transform: scaleX(1);
}

/* Enhanced glass effect on hover */
.service-card-modern:hover {
    background: rgba(255, 255, 255, 0.85);
    -webkit-backdrop-filter: blur(30px) saturate(200%); backdrop-filter: blur(30px) saturate(200%);
    -webkit-backdrop-filter: blur(30px) saturate(200%);
}

/* Card Icon Wrapper */
.service-card-icon-wrapper {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--spacing-lg);
    transition: transform var(--transition-normal);
}

.service-card-modern:hover .service-card-icon-wrapper {
    transform: scale(1.1);
}

.service-card-icon {
    width: 28px;
    height: 28px;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* Icon Background Colors - Soft Pastels */
.icon-bg-blue {
    background-color: #eff6ff;
    color: #2563eb;
}

.icon-bg-purple {
    background-color: #f5f3ff;
    color: #7c3aed;
}

.icon-bg-green {
    background-color: #f0fdf4;
    color: #16a34a;
}

.icon-bg-orange {
    background-color: #fff7ed;
    color: #ea580c;
}

.icon-bg-pink {
    background-color: #fdf2f8;
    color: #db2777;
}

.icon-bg-teal {
    background-color: #f0fdfa;
    color: #0d9488;
}

.icon-bg-indigo {
    background-color: #eef2ff;
    color: #4f46e5;
}

.icon-bg-red {
    background-color: #fef2f2;
    color: #dc2626;
}

/* Card Title */
.service-card-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-text-primary);
    margin-bottom: var(--spacing-sm);
    line-height: 1.4;
}

/* Card Description */
.service-card-description {
    font-size: 0.9375rem;
    color: var(--color-text-secondary);
    line-height: 1.7;
    margin-bottom: var(--spacing-lg);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Technology Tags */
.service-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-lg);
}

.service-card-tag {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--color-primary);
    background-color: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: var(--radius-full);
    transition: 
        background-color var(--transition-fast),
        color var(--transition-fast);
}

.service-card-modern:hover .service-card-tag {
    background-color: #dbeafe;
}

/* Card Footer */
.service-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: var(--spacing-md);
    border-top: 1px solid var(--color-gray-100);
}

.service-card-cta {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-sm);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-primary);
    text-decoration: none;
    transition: gap var(--transition-fast);
}

.service-card-modern:hover .service-card-cta {
    gap: var(--spacing-md);
}

.service-card-cta svg {
    width: 16px;
    height: 16px;
    transition: transform var(--transition-fast);
}

.service-card-modern:hover .service-card-cta svg {
    transform: translateX(4px);
}

/* View All Button */
.services-footer-modern {
    text-align: center;
}

.btn-view-all-modern {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
    padding: 0.875rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-primary);
    background-color: var(--color-white);
    border: 2px solid var(--color-primary);
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: 
        background-color var(--transition-normal),
        color var(--transition-normal),
        transform var(--transition-fast),
        box-shadow var(--transition-normal);
    text-decoration: none;
    font-family: var(--font-primary);
}

.btn-view-all-modern:hover {
    background-color: var(--color-primary);
    color: var(--color-white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-view-all-modern:active {
    transform: translateY(0);
}

.btn-view-all-modern svg {
    width: 18px;
    height: 18px;
}

/* Stagger delays for cards */
.service-card-modern:nth-child(1) { transition-delay: 0ms; }
.service-card-modern:nth-child(2) { transition-delay: 100ms; }
.service-card-modern:nth-child(3) { transition-delay: 200ms; }
.service-card-modern:nth-child(4) { transition-delay: 300ms; }
.service-card-modern:nth-child(5) { transition-delay: 400ms; }
.service-card-modern:nth-child(6) { transition-delay: 500ms; }
.service-card-modern:nth-child(7) { transition-delay: 600ms; }
.service-card-modern:nth-child(8) { transition-delay: 700ms; }

/* Hidden class for JS toggle */
.service-card-modern.hidden {
    display: none;
}

/* Responsive Adjustments */
@media (max-width: 640px) {
    .services-section-modern {
        padding: var(--spacing-2xl) var(--spacing-md);
    }

    .services-title-modern {
        font-size: 1.875rem;
    }

    .services-subtitle-modern {
        font-size: 1rem;
    }

    .service-card-modern {
        padding: var(--spacing-lg);
    }
}

/* Accessibility - Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    .service-card-modern {
        transition: box-shadow var(--transition-normal), border-color var(--transition-normal);
    }
    
    .service-card-modern:hover {
        transform: none;
    }
    
    .service-card-modern.is-visible {
        animation: none;
        opacity: 1;
        transform: none;
    }
}

/* Focus states for keyboard navigation */
.service-card-modern:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

.btn-view-all-modern:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

/* ============================================
   Corporate Level Refinements
   Elevates the existing white theme to a
   polished corporate aesthetic without
   changing the HTML structure or layout.
   ============================================ */

/* Corporate Color Palette - overrides earlier :root blocks (source order wins) */
:root {
  /* Primary - deep professional navy blue */
  --color-primary: #0B3D91;
  --color-primary-dark: #082F6B;
  --color-primary-light: #E8EEF7;

  /* Secondary */
  --color-secondary: #0A2540;

  /* Accent - one restrained corporate accent color, used sparingly */
  --color-accent: #C08432;
  --color-accent-light: #FDF4E3;

  /* Backgrounds - light slate instead of stark white */
  --color-body-bg: #F4F6F8;
  --color-section-bg: #FFFFFF;
  --color-section-alt: #F4F6F8;
  --color-card-bg: #FFFFFF;

  /* Text - deep slate for authority & readability */
  --color-text-primary: #0F172A;
  --color-text-secondary: #334155;
  --color-text-muted: #64748B;

  /* Borders - subtle, refined */
  --color-border: #E2E8F0;
  --color-border-hover: #CBD5E1;

  /* Form */
  --color-input-bg: #FFFFFF;
  --color-input-border: #CBD5E1;
  --color-input-focus: #0B3D91;

  /* Neutrals */
  --color-gray-50: #F4F6F8;
  --color-gray-100: #FFFFFF;
  --color-gray-200: #F1F5F9;

  /* Refined shadows - softer, more professional */
  --shadow-sm: 0 1px 2px 0 rgba(2, 6, 23, 0.04);
  --shadow-md: 0 4px 6px -1px rgba(2, 6, 23, 0.05), 0 2px 4px -1px rgba(2, 6, 23, 0.04);
  --shadow-lg: 0 12px 28px -6px rgba(2, 6, 23, 0.07);
  --shadow-xl: 0 20px 40px -8px rgba(2, 6, 23, 0.08);
  --shadow-card: 0 8px 24px -4px rgba(2, 6, 23, 0.06);
}

/* Base - replace stark white body with light corporate slate */
body {
  background-color: var(--color-body-bg);
  color: var(--color-text-secondary);
}

/* Headings - deeper tone, tighter corporate hierarchy */
h1, h2, h3, h4, h5, h6 {
  color: var(--color-text-primary);
}

/* Links - corporate blue */
a {
  color: var(--color-primary);
}
a:hover {
  color: var(--color-primary-dark);
}

/* Header - subtle separation from content */
.header {
  background-color: var(--color-section-bg);
  border-bottom: 1px solid var(--color-border);
}
.header.is-stuck {
  box-shadow: var(--shadow-md);
  border-bottom: 1px solid var(--color-border);
}

/* Navigation links - refined corporate look */
.nav-link {
  color: var(--color-text-secondary);
}
.nav-link:hover,
.nav-link.active {
  color: var(--color-primary);
  background-color: var(--color-primary-light);
}

/* Section backgrounds - alternate white & slate so the page isn't one white field */
.solutions,
.process,
.technology {
  background-color: var(--color-section-bg) !important; /* white panels */
}
.services-section,
.portfolio-section,
.testimonials,
.contact {
  background-color: var(--color-section-alt) !important; /* slate panels for rhythm */
}

/* Section separators - subtle rule so sections no longer blend into one white field */
section + section,
[class*="-section"] + [class*="-section"] {
  border-top: 1px solid var(--color-border);
  margin-top: 0;
  padding-top: var(--spacing-3xl);
}

/* Cards - white cards on slate body with subtle border */
.solution-card,
.service-card-modern,
.testimonial-card,
.portfolio-card,
.info-card,
.tech-item,
.contact-card,
.partner-logo {
  background-color: var(--color-card-bg);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
}
.solution-card:hover,
.service-card-modern:hover,
.testimonial-card:hover,
.portfolio-card:hover,
.info-card:hover,
.tech-item:hover,
.contact-card:hover,
.partner-logo:hover {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-lg);
}

/* Buttons - corporate button system (HTML uses these classes; they were previously undefined) */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-sm);
  font-family: var(--font-primary);
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  padding: 12px 24px;
  border: 1px solid transparent;
  border-radius: var(--radius-full);
  cursor: pointer;
  text-decoration: none;
  transition: all var(--transition-normal);
  white-space: nowrap;
}
.btn:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}
.btn:hover {
  transform: translateY(-1px);
}
.btn:active {
  transform: translateY(0);
}
.btn-lg {
  padding: 16px 32px;
  font-size: 16px;
}
.btn-sm {
  padding: 8px 16px;
  font-size: 13px;
}

/* Primary - solid navy */
.btn-primary {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
  color: var(--color-white);
  box-shadow: 0 4px 14px rgba(11, 61, 145, 0.25);
}
.btn-primary:hover {
  background-color: var(--color-primary-dark);
  border-color: var(--color-primary-dark);
  color: var(--color-white);
  box-shadow: 0 8px 22px rgba(11, 61, 145, 0.35);
  transform: translateY(-2px);
}

/* Secondary - transparent with navy border */
.btn-secondary {
  background-color: transparent;
  border-color: var(--color-border);
  color: var(--color-text-primary);
}
.btn-secondary:hover {
  background-color: var(--color-primary-light);
  border-color: var(--color-primary);
  color: var(--color-primary-dark);
}

/* Outline - navy outline, transparent fill */
.btn-outline {
  background-color: transparent;
  border-color: var(--color-primary);
  color: var(--color-primary);
}
.btn-outline:hover {
  background-color: var(--color-primary);
  color: var(--color-white);
}

/* Footer - refine separation */
.footer {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Tag badges - corporate tinted look */
.tech-tag,
.flow-tags span {
  background-color: var(--color-primary-light);
  color: var(--color-primary-dark);
  border: 1px solid rgba(11, 61, 145, 0.15);
}

/* Accent tag - one splash of color, used sparingly */
.tag-accent,
.accent-tag {
  background-color: var(--color-accent-light);
  color: var(--color-accent);
  border: 1px solid rgba(192, 132, 50, 0.2);
}

/* Active nav indicator - thin accent underline */
.nav-link.active {
  position: relative;
}
.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 6px;
  height: 6px;
  background-color: var(--color-accent);
  border-radius: 50%;
  transform: translateX(-50%);
}

/* Section header - subtle accent eyebrow underline */
.section-header {
  position: relative;
}
.section-header::before {
  content: '';
  position: absolute;
  left: 0;
  bottom: -12px;
  width: 36px;
  height: 3px;
  background: linear-gradient(90deg, var(--color-accent), var(--color-primary));
  border-radius: 2px;
}

/* Form inputs - subtle, corporate styling */
input,
textarea,
select {
  background-color: var(--color-input-bg);
  border: 1px solid var(--color-input-border);
  border-radius: var(--radius-md);
  color: var(--color-text-primary);
  font-family: var(--font-primary);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}
input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: var(--color-input-focus);
  box-shadow: 0 0 0 3px rgba(11, 61, 145, 0.1);
}

/* Accessible corporate focus outline */
:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

/* ============================================
   Modern Colorful Testimonials
   ============================================ */
.testimonials-modern {
  position: relative;
  overflow: hidden;
}
.testimonials-modern::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(11, 61, 145, 0.08) 0%, transparent 70%);
  z-index: 0;
  pointer-events: none;
}
.testimonials-modern .container {
  position: relative;
  z-index: 1;
}
.section-header-modern .section-title {
  font-size: 34px;
  font-weight: 800;
  letter-spacing: -0.5px;
}
.section-header-modern .section-subtitle {
  font-size: 16px;
  color: var(--color-text-muted);
  max-width: 600px;
  margin: 0 auto;
}
.featured-testimonial {
  margin-bottom: 3rem;
}
.video-testimonial-card {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  background: linear-gradient(135deg, var(--color-section-bg) 0%, var(--color-gray-50) 100%);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}
.video-testimonial-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, var(--color-primary), var(--gradient-end));
}
.video-wrapper {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #000;
}
.video-placeholder {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #1e293b, #0f172a);
}
.video-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(11, 61, 145, 0.3), rgba(124, 58, 237, 0.2));
  z-index: 1;
}
.play-btn {
  position: absolute;
  z-index: 2;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--color-white);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-xl);
  transition: all var(--transition-normal);
}
.play-btn:hover {
  transform: scale(1.1);
  background: var(--color-primary);
  color: var(--color-white);
}
.play-icon {
  font-size: 24px;
  font-weight: 900;
  margin-left: 4px;
  color: var(--color-primary);
}
.play-btn:hover .play-icon {
  color: var(--color-white);
}
.video-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
  padding: 1.25rem;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  color: var(--color-white);
}
.video-duration {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, 0.7);
  display: block;
  margin-bottom: 4px;
}
.video-title {
  font-size: 16px;
  font-weight: 700;
  margin: 0;
}
.video-testimonial-content {
  position: relative;
  z-index: 1;
}
.client-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--color-primary);
  margin-bottom: 1rem;
}
.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-primary);
  box-shadow: 0 0 8px rgba(11, 61, 145, 0.5);
}
.video-testimonial-content h3 {
  font-size: 22px;
  font-weight: 800;
  margin: 0 0 1rem;
  color: var(--color-text-primary);
}
.video-testimonial-content p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--color-text-secondary);
  margin: 0 0 1.5rem;
}
.client-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.client-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--color-white);
  box-shadow: var(--shadow-md);
}
.client-info h4 {
  font-size: 16px;
  font-weight: 800;
  margin: 0;
  color: var(--color-text-primary);
}
.client-info p {
  font-size: 13px;
  color: var(--color-text-muted);
  margin: 2px 0 0;
}
.client-result {
  margin-left: auto;
  text-align: right;
}
.result-number {
  font-size: 20px;
  font-weight: 900;
  color: var(--color-primary);
  display: block;
}
.result-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--color-text-muted);
}
.testimonials-grid-modern {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}
.testimonial-card-modern {
  background: var(--color-section-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: all var(--transition-normal);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}
.testimonial-card-modern:hover {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}
.testimonial-card-modern.testimonial-blue { border-left: 4px solid var(--color-primary); }
.testimonial-card-modern.testimonial-purple { border-left: 4px solid #7c3aed; }
.testimonial-card-modern.testimonial-green { border-left: 4px solid #10b981; }
.testimonial-header-modern {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}
.stars {
  display: flex;
  gap: 3px;
  color: #f59e0b;
}
.result-tag {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  color: var(--color-primary);
  background: var(--color-primary-light);
  border: 1px solid rgba(11, 61, 145, 0.15);
}
.testimonial-card-modern.testimonial-purple .result-tag {
  color: #7c3aed;
  background: rgba(124, 58, 237, 0.1);
  border-color: rgba(124, 58, 237, 0.15);
}
.testimonial-card-modern.testimonial-green .result-tag {
  color: #10b981;
  background: rgba(16, 185, 129, 0.1);
  border-color: rgba(16, 185, 129, 0.15);
}
.testimonial-quote-modern p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--color-text-secondary);
  margin: 0 0 1.5rem;
  font-style: italic;
}
.testimonial-author-modern {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.author-avatar-modern {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--color-white);
  box-shadow: var(--shadow-sm);
}
.author-info-modern h4 {
  font-size: 15px;
  font-weight: 800;
  margin: 0;
  color: var(--color-text-primary);
}
.author-info-modern p {
  font-size: 12px;
  color: var(--color-text-muted);
  margin: 2px 0 0;
}
.testimonials-stats-modern {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--color-border);
}
.stat-box-modern {
  text-align: center;
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  background: var(--color-section-bg);
  border: 1px solid var(--color-border);
}
.stat-number-modern {
  font-size: 32px;
  font-weight: 900;
  line-height: 1;
  margin-bottom: 6px;
  background: linear-gradient(135deg, var(--color-primary), var(--gradient-end));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.stat-blue .stat-number-modern { background: linear-gradient(135deg, var(--color-primary), #3b82f6); }
.stat-purple .stat-number-modern { background: linear-gradient(135deg, #7c3aed, #a855f7); }
.stat-green .stat-number-modern { background: linear-gradient(135deg, #10b981, #34d399); }
.stat-orange .stat-number-modern { background: linear-gradient(135deg, #f59e0b, #fb923c); }
.stat-label-modern {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--color-text-muted);
}

/* ============================================
   Video Showcase
   ============================================ */
.video-showcase {
  background: linear-gradient(135deg, var(--color-gray-50) 0%, var(--color-section-bg) 100%);
}
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}
.video-card-modern {
  background: var(--color-section-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition-normal);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  height: 100%;
}
.video-card-modern:hover {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}
.video-thumbnail {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #000;
  overflow: hidden;
}
.thumbnail-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(11, 61, 145, 0.2), rgba(124, 58, 237, 0.15));
}
.video-play-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--color-white);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-xl);
  transition: all var(--transition-normal);
}
.video-play-overlay:hover {
  transform: translate(-50%, -50%) scale(1.1);
  background: var(--color-primary);
}
.video-play-overlay:hover .play-triangle {
  color: var(--color-white);
}
.play-circle {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.play-triangle {
  font-size: 18px;
  font-weight: 900;
  color: var(--color-primary);
  margin-left: 4px;
}
.video-category {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--color-white);
  background: rgba(0, 0, 0, 0.6);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
}
.video-meta {
  position: absolute;
  bottom: 12px;
  right: 12px;
  z-index: 2;
  display: flex;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  color: var(--color-white);
  background: rgba(0, 0, 0, 0.6);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
}
.video-content-modern {
  padding: 1.25rem;
}
.video-content-modern h3 {
  font-size: 18px;
  font-weight: 800;
  margin: 0 0 8px;
  color: var(--color-text-primary);
}
.video-content-modern p {
  font-size: 13px;
  line-height: 1.5;
  color: var(--color-text-muted);
  margin: 0;
}
.video-cta {
  text-align: center;
  margin-top: 3rem;
}
.btn-video-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  background: var(--color-primary);
  color: var(--color-white);
  text-decoration: none;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 15px;
  transition: all var(--transition-normal);
  box-shadow: var(--shadow-button);
}
.btn-video-cta:hover {
  background: var(--color-primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 24px -4px rgba(11, 61, 145, 0.3);
}

/* ============================================
   Development Process - Modern Colorful
   ============================================ */
.process-modern {
  position: relative;
}
.process-video {
  margin-bottom: 3rem;
}
.process-video-card {
  display: flex;
  gap: 2rem;
  background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 100%);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  color: var(--color-white);
  box-shadow: var(--shadow-xl);
  align-items: center;
}
.video-placeholder-process {
  flex-shrink: 0;
  width: 200px;
  height: 112px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.1);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.video-gradient-process {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), transparent);
}
.play-btn-process {
  position: absolute;
  z-index: 2;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--color-white);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 8px 16px -4px rgba(0, 0, 0, 0.3);
  transition: all var(--transition-normal);
}
.play-btn-process:hover {
  transform: scale(1.1);
}
.play-icon-process {
  font-size: 20px;
  font-weight: 900;
  color: var(--color-primary-dark);
  margin-left: 2px;
}
.video-info-process .video-duration-process {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, 0.7);
  display: block;
  margin-bottom: 4px;
}
.video-info-process .video-title-process {
  font-size: 16px;
  font-weight: 800;
  margin: 0;
  color: var(--color-white);
}
.process-video-content h3 {
  font-size: 20px;
  font-weight: 800;
  margin: 0 0 8px;
  color: var(--color-white);
}
.process-video-content p {
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
}
.process-timeline-modern {
  position: relative;
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  gap: 0.75rem;
  padding: 2rem 0 3rem 0;
  overflow: visible;
}
.process-line-modern {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--color-border);
  z-index: 0;
  transform: translateY(-50%);
  border-radius: 2px;
}
.process-step-modern {
  position: relative;
  z-index: 1;
  flex: 0 0 220px;
  max-width: 220px;
  overflow: visible;
}
.process-step-card-modern {
  background: var(--color-section-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 1.25rem 1rem;
  text-align: center;
  transition: all var(--transition-normal);
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: visible;
}
.process-step-card-modern::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  z-index: 2;
}
.step-blue .process-step-card-modern::before { background: var(--color-primary); }
.step-purple .process-step-card-modern::before { background: #7c3aed; }
.step-green .process-step-card-modern::before { background: #10b981; }
.step-orange .process-step-card-modern::before { background: #f59e0b; }
.process-step-card-modern:hover {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  z-index: 5;
}
.step-header-modern {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}
.step-number-modern {
  font-size: 16px;
  font-weight: 900;
  color: var(--color-text-muted);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-section-bg);
  z-index: 3;
  position: relative;
}
.step-icon-modern {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-primary-light);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  border: 1px solid rgba(11, 61, 145, 0.15);
  z-index: 3;
  position: relative;
}
.step-purple .step-icon-modern { background: rgba(124, 58, 237, 0.1); color: #7c3aed; border-color: rgba(124, 58, 237, 0.15); }
.step-green .step-icon-modern { background: rgba(16, 185, 129, 0.1); color: #10b981; border-color: rgba(16, 185, 129, 0.15); }
.step-orange .step-icon-modern { background: rgba(245, 158, 11, 0.1); color: #f59e0b; border-color: rgba(245, 158, 11, 0.15); }
.step-title-modern {
  font-size: 16px;
  font-weight: 800;
  margin: 0 0 6px;
  color: var(--color-text-primary);
}
.step-desc-modern {
  font-size: 12px;
  line-height: 1.5;
  color: var(--color-text-muted);
  margin: 0 0 1rem;
}
.step-metric-modern {
  margin-bottom: 1rem;
}
.metric-val {
  font-size: 13px;
  font-weight: 800;
  color: var(--color-primary);
}
.step-expand-modern {
  position: absolute;
  top: calc(100% + 0.75rem);
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  width: 260px;
  background: var(--color-section-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1rem;
  box-shadow: var(--shadow-xl);
  z-index: 10;
  opacity: 0;
  pointer-events: none;
  transition: all var(--transition-normal);
  text-align: left;
  font-size: 12px;
  line-height: 1.6;
  color: var(--color-text-secondary);
}
.process-step-card-modern:hover .step-expand-modern {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.process-step-card-modern:hover .step-number-modern {
  background: var(--color-primary);
  color: var(--color-white);
  border-color: var(--color-primary);
}
.process-step-card-modern:hover .step-icon-modern {
  background: var(--color-primary);
  color: var(--color-white);
  border-color: var(--color-primary);
}

@media (max-width: 768px) {
  .process-timeline-modern {
    flex-direction: column;
    align-items: center;
  }
  .process-line-modern {
    display: none;
  }
  .process-step-modern {
    max-width: 100%;
    width: 100%;
  }
  .process-video-card {
    flex-direction: column;
    text-align: center;
    gap: 1.5rem;
  }
  .video-testimonial-card {
    padding: 1.5rem;
  }
  .video-testimonial-content h3 {
    font-size: 18px;
  }
  .testimonials-grid-modern {
    grid-template-columns: 1fr;
  }
  .video-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   Development Process - Corporate Horizontal Timeline
   ============================================ */
.process-corporate {
  position: relative;
  overflow: hidden;
}
.process-corporate .container {
  position: relative;
  z-index: 1;
}

/* ---------- OpenAI-style Abstract Background Blobs ---------- */
.process-bg-blobs {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.15;
  animation: blob-float 12s ease-in-out infinite;
}
.blob-1 {
  top: -10%;
  left: -10%;
  width: 500px;
  height: 500px;
  background: #0B3D91;
  animation-delay: 0s;
}
.blob-2 {
  bottom: -15%;
  right: -10%;
  width: 450px;
  height: 450px;
  background: #7c3aed;
  animation-delay: -4s;
}
.blob-3 {
  top: 40%;
  left: 50%;
  width: 600px;
  height: 600px;
  background: #10b981;
  transform: translateX(-50%);
  animation-delay: -8s;
  opacity: 0.1;
}
.blob-4 {
  top: 20%;
  right: 20%;
  width: 300px;
  height: 300px;
  background: #f59e0b;
  animation-delay: -2s;
  opacity: 0.12;
}

@keyframes blob-float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -50px) scale(1.1); }
  66% { transform: translate(-20px, 40px) scale(0.9); }
}

/* ---------- Decorative Dots Grid (subtle texture) ---------- */
.process-dots {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: radial-gradient(var(--color-border) 0.5px, transparent 0.5px);
  background-size: 24px 24px;
  opacity: 0.3;
}

/* ---------- Floating Animation for Cards ---------- */
@keyframes float-up-down {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.float-anim {
  animation: float-up-down 6s ease-in-out infinite;
}

/* ---------- Step Image Pulse Glow ---------- */
.step-image::after {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 22px;
  background: conic-gradient(from 0deg, transparent, var(--color-primary), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
  animation: rotate-glow 4s linear infinite;
}
@keyframes rotate-glow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
.timeline-step:hover .step-image::after {
  opacity: 0.6;
}

/* ---------- Animated SVG Icons Inside Steps ---------- */
.step-svg path,
.step-svg circle,
.step-svg rect {
  transition: all 0.4s ease;
}
.timeline-step:hover .step-svg path {
  transform: scale(1.05);
  transform-origin: center;
}
.timeline-step:hover .step-svg circle {
  transform: scale(1.2);
  transform-origin: center;
}
.process-layout {
  display: flex;
  align-items: flex-start;
  gap: 3rem;
  margin-top: 2.5rem;
  flex-wrap: nowrap;
}
.process-overview {
  flex: 0 0 340px;
  max-width: 340px;
}
.overview-card {
  background: var(--color-section-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 2rem;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}
.overview-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--color-primary), #7c3aed);
}
.overview-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--color-primary-light);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(11, 61, 145, 0.15);
}
.overview-card h3 {
  font-size: 20px;
  font-weight: 800;
  margin: 0 0 1rem;
  color: var(--color-text-primary);
}
.overview-card p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--color-text-secondary);
  margin: 0 0 1.75rem;
}
.process-stats {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.stat-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem 1rem;
  background: var(--color-gray-50);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
}
.stat-number {
  font-size: 18px;
  font-weight: 900;
  color: var(--color-primary);
  min-width: 48px;
}
.stat-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Right: Horizontal Timeline */
.process-timeline-wrap {
  flex: 1;
  min-width: 0;
}
.timeline-container {
  position: relative;
  padding: 1rem 0;
}
.timeline-line {
  position: absolute;
  top: 52px;
  left: 40px;
  right: 40px;
  height: 2px;
  background: var(--color-border);
  z-index: 0;
  border-radius: 2px;
}
.timeline-step {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 0 1rem;
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.step-marker {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-section-bg);
  border: 2px solid var(--color-border);
  color: var(--color-text-muted);
  font-size: 14px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  position: relative;
  z-index: 3;
  transition: all var(--transition-normal);
}
.step-active .step-marker {
  background: var(--color-primary);
  color: var(--color-white);
  border-color: var(--color-primary);
  box-shadow: 0 0 0 4px rgba(11, 61, 145, 0.2);
}
.step-content {
  max-width: 200px;
  margin: 0 auto;
}
.step-image {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: var(--color-gray-50);
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  position: relative;
  z-index: 3;
  transition: all var(--transition-normal);
}
.step-svg {
  width: 32px;
  height: 32px;
}
.step-content h4 {
  font-size: 15px;
  font-weight: 800;
  margin: 0 0 6px;
  color: var(--color-text-primary);
  transition: color var(--transition-normal);
}
.step-content p {
  font-size: 12px;
  line-height: 1.5;
  color: var(--color-text-muted);
  margin: 0 0 0.75rem;
}
.step-time {
  font-size: 11px;
  font-weight: 800;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: block;
}
.timeline-step:hover .step-marker {
  background: var(--color-primary);
  color: var(--color-white);
  border-color: var(--color-primary);
  transform: scale(1.1);
}
.timeline-step:hover .step-image {
  border-color: var(--color-primary);
  background: var(--color-primary-light);
  transform: translateY(-2px);
}
.timeline-step:hover .step-content h4 {
  color: var(--color-primary);
}
.timeline-step:hover .step-marker::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid rgba(11, 61, 145, 0.3);
  animation: pulse-ring 2s infinite;
}
@keyframes pulse-ring {
  0% { transform: translate(-50%, -50%) scale(0.8); opacity: 0.5; }
  100% { transform: translate(-50%, -50%) scale(1.4); opacity: 0; }
}

/* Mobile Responsive */
@media (max-width: 992px) {
  .process-layout {
    flex-direction: column;
    gap: 2rem;
  }
  .process-overview {
    flex: 1;
    max-width: 100%;
  }
  .timeline-line {
    display: none;
  }
  .timeline-step {
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
    padding: 1rem 0;
    border-bottom: 1px solid var(--color-border);
  }
  .timeline-step:last-child {
    border-bottom: none;
  }
  .step-marker {
    margin: 0;
  }
  .step-content {
    max-width: none;
    text-align: left;
    flex: 1;
  }
  .step-image {
    margin: 0;
    order: -1;
  }
  .step-content h4,
  .step-content p,
  .step-time {
    text-align: left;
  }
  .step-time {
    margin-top: 0.5rem;
  }
}

/* ============================================
   Colorful Technology Illustrations
   Animated scenes for core capabilities
   ============================================ */
.tech-illustrations-section {
  padding: var(--spacing-3xl) 0;
  background-color: var(--color-section-bg);
}

.software-animation-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
  width: 100%;
}

.animation-card {
  overflow: hidden;
  border-radius: 13px;
  background: var(--color-card-bg);
  border: 1px solid var(--color-border);
  padding: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.animation-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-primary);
}

.scene {
  height: 155px;
  position: relative;
  overflow: hidden;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.animation-caption {
  padding: 12px 3px 3px;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-text-primary);
  text-align: center;
}

/* 1. CODING */
.code-scene { background: #d9f2e4; }

.code-window {
  width: 65%;
  height: 100px;
  background: #fff;
  border: 1px solid #c7d8cd;
  border-radius: 7px;
  padding: 10px;
  position: relative;
  box-shadow: 0 8px 18px rgba(80, 123, 96, 0.125);
  animation: float 3s ease-in-out infinite;
}

.window-dots {
  font-size: 7px;
  letter-spacing: 3px;
  color: #75aa86;
  margin-bottom: 12px;
}

.code-line {
  height: 7px;
  margin: 7px 0;
  background: #eef3ef;
  border-radius: 5px;
}

.code-line span {
  display: block;
  height: 100%;
  background: #83c6a0;
  border-radius: 5px;
  animation: codeTyping 2.5s ease-in-out infinite alternate;
}

.code-line:nth-child(3) span { background: #e7b86e; }
.code-line:nth-child(4) span { background: #83b8d6; }

.typing-cursor {
  position: absolute;
  width: 2px;
  height: 9px;
  background: #388b62;
  right: 24px;
  bottom: 18px;
  animation: blink 0.8s infinite;
}

.code-orbit {
  position: absolute;
  right: 7%;
  bottom: 15%;
  background: #fff;
  color: #438f69;
  padding: 9px;
  border-radius: 50%;
  font-size: 12px;
  font-family: monospace;
  font-weight: 700;
  animation: float 2s infinite ease-in-out;
}

/* 2. WEBSITE */
.web-scene { background: #fce8c9; }

.browser {
  width: 72%;
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(156, 113, 51, 0.13);
  animation: float 3s infinite ease-in-out;
}

.browser-top {
  height: 17px;
  background: #f1f1ee;
  display: flex;
  gap: 4px;
  align-items: center;
  padding-left: 8px;
}

.browser-top i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #d9ad80;
  display: inline-block;
}

.browser-content { padding: 12px; }

.web-heading {
  width: 65%;
  height: 8px;
  background: #4f7966;
  border-radius: 5px;
}

.web-subheading {
  width: 85%;
  height: 5px;
  margin-top: 7px;
  background: #e2e8e2;
  border-radius: 5px;
}

.web-button {
  width: 38px;
  height: 12px;
  background: #f3b16f;
  border-radius: 4px;
  margin-top: 10px;
  animation: pulse 2s infinite;
}

.web-image {
  height: 25px;
  margin-top: 10px;
  background: #c7e4d3;
  border-radius: 4px;
  animation: reveal 3s infinite;
}

.web-spark {
  position: absolute;
  right: 12%;
  top: 15%;
  color: #dc9854;
  font-size: 14px;
  animation: spin 5s linear infinite;
}

/* 3. AI CHATBOT */
.ai-scene { background: #e9e4fb; }

.ai-orb {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  background: #a99bdf;
  color: white;
  display: grid;
  place-items: center;
  font-size: 30px;
  box-shadow: 0 0 25px rgba(170, 157, 233, 0.55);
  animation: float 2.5s infinite ease-in-out;
}

.chat-bubble {
  position: absolute;
  background: white;
  padding: 8px 11px;
  border-radius: 10px;
  font-size: 9px;
  color: #55516a;
  box-shadow: 0 3px 10px rgba(0,0,0,0.1);
  max-width: 60px;
  text-align: center;
}

.bubble-one {
  top: 17%;
  left: 8%;
  animation: appear 3s infinite;
}

.bubble-two {
  top: 55%;
  right: 7%;
  animation: appear 3s infinite 0.8s;
}

.bubble-three {
  bottom: 8%;
  left: 12%;
  animation: appear 3s infinite 1.5s;
}

.bubble-two span {
  display: inline-block;
  width: 4px;
  height: 4px;
  background: #9d91d7;
  margin: 0 2px;
  border-radius: 50%;
  animation: typing 1s infinite alternate;
}

/* 4. WORKFLOW */
.workflow-scene { background: #dff0e7; }

.flow-node {
  position: absolute;
  z-index: 2;
  width: 38px;
  height: 38px;
  background: white;
  border-radius: 10px;
  display: grid;
  place-items: center;
  color: #558c70;
  font-size: 11px;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(85, 123, 96, 0.2);
  animation: pulse 2s infinite;
}

.node-one { left: 8%; top: 40%; }
.node-two { left: 42%; top: 40%; animation-delay: .5s; }
.node-three { right: 8%; top: 40%; animation-delay: 1s; }

.flow-line {
  position: absolute;
  top: 52%;
  height: 2px;
  background: #80bd99;
  width: 25%;
}

.line-one { left: 20%; }
.line-two { left: 55%; }

.flow-particle {
  position: absolute;
  width: 8px;
  height: 8px;
  background: #438b65;
  border-radius: 50%;
  top: calc(52% - 3px);
  left: 20%;
  animation: flow 2.5s linear infinite;
}

/* 5. ANALYTICS */
.analytics-scene { background: #fff0d5; }

.chart-label {
  position: absolute;
  top: 16%;
  left: 13%;
  font-size: 10px;
  color: #856b49;
  font-weight: 600;
}

.chart-bars {
  height: 75px;
  width: 70%;
  display: flex;
  align-items: end;
  gap: 9px;
  border-bottom: 2px solid #d7c6a9;
}

.chart-bars div {
  flex: 1;
  height: var(--bar-height);
  background: #e6b86f;
  border-radius: 4px 4px 0 0;
  transform-origin: bottom;
  animation: grow 2s ease-in-out infinite alternate;
}

.chart-bars div:nth-child(even) {
  background: #a7cdb5;
  animation-delay: .4s;
}

.chart-growth {
  position: absolute;
  right: 12%;
  top: 18%;
  color: #639b73;
  font-size: 12px;
  font-weight: 700;
}

/* 6. CLOUD */
.cloud-scene { background: #e2eff5; }

.cloud-icon {
  font-size: 65px;
  color: #82b5cb;
  animation: float 3s infinite ease-in-out;
}

.device {
  position: absolute;
  font-size: 20px;
  background: white;
  color: #6a9aab;
  padding: 8px;
  border-radius: 8px;
  box-shadow: 0 3px 10px rgba(107, 135, 144, 0.22);
  display: grid;
  place-items: center;
}

.device-one { left: 12%; bottom: 18%; }
.device-two { right: 12%; bottom: 18%; }

.sync-dot {
  position: absolute;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #5caa8d;
  top: 50%;
  left: 50%;
  animation: sync 2s infinite;
}

.sync-label {
  position: absolute;
  bottom: 8%;
  font-size: 9px;
  color: #5f8293;
  font-weight: 600;
}

/* 7. MOBILE */
.mobile-scene { background: #f7e4e5; }

.phone {
  width: 66px;
  height: 116px;
  background: white;
  border: 3px solid #e5a8a8;
  border-radius: 13px;
  position: relative;
  padding: 17px 7px 7px;
  animation: float 3s infinite ease-in-out;
}

.phone-camera {
  position: absolute;
  width: 15px;
  height: 3px;
  background: #d9b2b2;
  top: 7px;
  left: 24px;
  border-radius: 5px;
}

.phone-header {
  height: 12px;
  background: #dca3a3;
  border-radius: 3px;
  margin-bottom: 7px;
}

.phone-card {
  height: 27px;
  background: #f4dddd;
  border-radius: 4px;
  margin-bottom: 6px;
}

.phone-card.small { height: 14px; background: #f6e9d5; }

.phone-nav {
  display: flex;
  justify-content: space-around;
  margin-top: 7px;
}

.phone-nav i {
  width: 6px;
  height: 6px;
  background: #dca3a3;
  border-radius: 50%;
  display: inline-block;
}

.tap-circle {
  position: absolute;
  width: 24px;
  height: 24px;
  border: 2px solid #d98e8e;
  border-radius: 50%;
  right: 23%;
  bottom: 22%;
  animation: tap 2s infinite;
}

/* 8. API INTEGRATION */
.api-scene { background: #e8e8f7; }

.api-box {
  position: absolute;
  z-index: 2;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: white;
  color: #7476a8;
  font-size: 10px;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.api-left { left: 5%; }
.api-center { left: calc(50% - 20px); background: #c7c7ef; }
.api-right { right: 5%; }

.api-connection {
  position: absolute;
  height: 2px;
  background: #a3a4d7;
  width: 24%;
  top: 50%;
}

.connection-one { left: 20%; }
.connection-two { right: 20%; }

.api-packet {
  position: absolute;
  top: calc(50% - 4px);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #7476b9;
}

.packet-one { animation: packetOne 2s linear infinite; }
.packet-two {
  background: #e1a76d;
  animation: packetTwo 2s linear infinite;
}

/* SHARED ANIMATIONS */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}

@keyframes pulse {
  0%, 100% { opacity: .75; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.06); }
}

@keyframes blink {
  50% { opacity: 0; }
}

@keyframes codeTyping {
  from { transform: scaleX(.4); transform-origin: left; }
  to { transform: scaleX(1); transform-origin: left; }
}

@keyframes reveal {
  0%, 20% { opacity: .2; transform: scaleX(.7); }
  60%, 100% { opacity: 1; transform: scaleX(1); }
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@keyframes appear {
  0%, 15% { opacity: 0; transform: translateY(7px); }
  35%, 75% { opacity: 1; transform: translateY(0); }
  100% { opacity: 0; }
}

@keyframes typing {
  to { transform: translateY(-3px); opacity: .4; }
}

@keyframes flow {
  from { left: 20%; }
  to { left: 75%; }
}

@keyframes grow {
  from { transform: scaleY(.5); }
  to { transform: scaleY(1); }
}

@keyframes sync {
  0% { transform: translate(-35px, 0); opacity: 0; }
  50% { opacity: 1; }
  100% { transform: translate(35px, 0); opacity: 0; }
}

@keyframes tap {
  0% { transform: scale(.5); opacity: 1; }
  100% { transform: scale(1.7); opacity: 0; }
}

@keyframes packetOne {
  from { left: 20%; }
  to { left: 48%; }
}

@keyframes packetTwo {
  from { left: 52%; }
  to { left: 77%; }
}

/* Responsive */
@media (max-width: 768px) {
  .software-animation-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  .scene { height: 130px; }
}

@media (max-width: 480px) {
  .software-animation-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .software-animation-grid *,
  .software-animation-grid *::before,
  .software-animation-grid *::after {
    animation: none !important;
  }
}


/* =====================================================================
   SERVICES SECTION - Colorful Corporate Cards (svc-*)
   Each card gets its own brand color via --svc / --svc-2.
   ===================================================================== */
.svc-section {
  --svc-ink: #0B1533;
  --svc-text: #475569;
  --svc-card: #FFFFFF;
  --svc-line: #E6EAF2;
  position: relative;
  padding: 110px 0 100px;
  background: linear-gradient(180deg, #F7F9FE 0%, #FFFFFF 45%, #F5F3FF 100%);
  overflow: hidden;
  isolation: isolate;
}

/* Soft colored background blobs + dot grid */
.svc-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.svc-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: .45;
  animation: svcDrift 18s ease-in-out infinite alternate;
}
.svc-blob-1 { width: 460px; height: 460px; top: -120px; left: -120px; background: #93C5FD; }
.svc-blob-2 { width: 420px; height: 420px; top: 30%; right: -140px; background: #F0ABFC; animation-delay: -6s; }
.svc-blob-3 { width: 380px; height: 380px; bottom: -140px; left: 30%; background: #FDE68A; animation-delay: -12s; }
.svc-dots {
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(11, 21, 51, .08) 1px, transparent 1px);
  background-size: 22px 22px;
  mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
}
@keyframes svcDrift {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(40px, 30px) scale(1.1); }
}

/* Header */
.svc-header { text-align: center; max-width: 760px; margin: 0 auto 64px; }
.svc-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px;
  font-size: 12px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
  color: #4338CA;
  background: rgba(255, 255, 255, .8);
  border: 1px solid rgba(99, 102, 241, .25);
  border-radius: 999px;
  box-shadow: 0 4px 14px rgba(79, 70, 229, .08);
  margin-bottom: 20px;
}
.svc-eyebrow-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: linear-gradient(135deg, #2563EB, #DB2777);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, .15);
}
.svc-header h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -.02em;
  color: var(--svc-ink);
  margin: 0 0 18px;
}
.svc-gradient-text {
  background: linear-gradient(90deg, #2563EB 0%, #7C3AED 45%, #DB2777 75%, #F97316 100%);
  background-size: 200% auto;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  animation: svcShine 8s linear infinite;
}
@keyframes svcShine { to { background-position: 200% center; } }
.svc-header p { font-size: 1.1rem; line-height: 1.7; color: var(--svc-text); margin: 0 auto; max-width: 620px; }

/* Grid */
.svc-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

/* Per-service colors */
.svc-blue   { --svc: #2563EB; --svc-2: #60A5FA; }
.svc-pink   { --svc: #DB2777; --svc-2: #F472B6; }
.svc-cyan   { --svc: #0891B2; --svc-2: #22D3EE; }
.svc-green  { --svc: #059669; --svc-2: #34D399; }
.svc-violet { --svc: #7C3AED; --svc-2: #A78BFA; }
.svc-indigo { --svc: #4F46E5; --svc-2: #818CF8; }
.svc-orange { --svc: #EA580C; --svc-2: #FB923C; }
.svc-amber  { --svc: #D97706; --svc-2: #FBBF24; }
.svc-rose   { --svc: #E11D48; --svc-2: #FB7185; }

/* Card */
.svc-card {
  position: relative;
  display: flex; flex-direction: column;
  background: var(--svc-card);
  border: 1px solid var(--svc-line);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(11, 21, 51, .04), 0 8px 24px rgba(11, 21, 51, .05);
  transition: transform .35s cubic-bezier(.2, .8, .2, 1), box-shadow .35s ease, border-color .35s ease;
}
.svc-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--svc), var(--svc-2));
  z-index: 2;
}
.svc-card:hover {
  transform: translateY(-8px);
  border-color: color-mix(in srgb, var(--svc) 35%, transparent);
  box-shadow: 0 24px 48px -12px color-mix(in srgb, var(--svc) 35%, transparent);
}

/* Visual area */
.svc-visual {
  position: relative;
  padding: 18px 18px 0;
}
.svc-num {
  position: absolute; top: 26px; right: 30px; z-index: 3;
  font-size: 12px; font-weight: 800; letter-spacing: 1px;
  color: var(--svc);
  background: rgba(255, 255, 255, .85);
  padding: 4px 9px; border-radius: 999px;
}
.svc-card .scene {
  height: 170px;
  border-radius: 14px;
  background: color-mix(in srgb, var(--svc) 10%, #fff);
  background: linear-gradient(135deg,
      color-mix(in srgb, var(--svc) 12%, #fff) 0%,
      color-mix(in srgb, var(--svc-2) 24%, #fff) 100%);
  transition: transform .5s cubic-bezier(.2, .8, .2, 1);
}
.svc-card:hover .scene { transform: scale(1.03); }

/* Body */
.svc-body { display: flex; flex-direction: column; flex: 1; padding: 22px 26px 26px; text-align: left; }
.svc-icon {
  width: 46px; height: 46px; margin: -46px 0 14px;
  position: relative; z-index: 3;
  display: grid; place-items: center;
  font-size: 18px; color: #fff;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--svc), var(--svc-2));
  box-shadow: 0 8px 18px -4px color-mix(in srgb, var(--svc) 55%, transparent), 0 0 0 4px #fff;
}
.svc-body h3 { font-size: 1.3rem; font-weight: 700; color: var(--svc-ink); margin: 0 0 10px; line-height: 1.3; }
.svc-body p { font-size: .95rem; line-height: 1.65; color: var(--svc-text); margin: 0 0 18px; }
.svc-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.svc-tags span {
  font-size: 12px; font-weight: 600;
  padding: 5px 11px; border-radius: 999px;
  color: var(--svc);
  background: color-mix(in srgb, var(--svc) 9%, #fff);
  border: 1px solid color-mix(in srgb, var(--svc) 20%, transparent);
}
.svc-link {
  margin-top: auto;
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 700;
  color: var(--svc); text-decoration: none;
}
.svc-arrow { display: inline-block; transition: transform .3s ease; }
.svc-card:hover .svc-arrow, .svc-link:focus-visible .svc-arrow { transform: translateX(5px); }
.svc-link:focus-visible { outline: 2px solid var(--svc); outline-offset: 4px; border-radius: 4px; }

/* ---- Recolor existing scene animations to each card's color ---- */
.svc-card .browser-top i,
.svc-card .phone-nav i { background: var(--svc-2); }
.svc-card .web-heading { background: var(--svc); }
.svc-card .web-button { background: var(--svc-2); }
.svc-card .web-image { background: color-mix(in srgb, var(--svc-2) 35%, #fff); }
.svc-card .web-spark { color: var(--svc); font-size: 18px; }

.svc-card .phone { border-color: var(--svc-2); box-shadow: 0 10px 24px -8px color-mix(in srgb, var(--svc) 45%, transparent); }
.svc-card .phone-header { background: var(--svc); }
.svc-card .phone-card { background: color-mix(in srgb, var(--svc-2) 25%, #fff); }
.svc-card .phone-card.small { background: color-mix(in srgb, var(--svc-2) 15%, #fff); }
.svc-card .tap-circle { border-color: var(--svc); }

.svc-card .cloud-icon { color: var(--svc-2); font-size: 58px; }
.svc-card .device { color: var(--svc); font-size: 16px; padding: 10px; }
.svc-card .sync-dot { background: var(--svc); }
.svc-card .sync-label { color: var(--svc); }

.svc-card .flow-node { color: var(--svc); font-size: 14px; }
.svc-card .flow-line { background: color-mix(in srgb, var(--svc) 40%, #fff); }
.svc-card .flow-particle { background: var(--svc); box-shadow: 0 0 10px var(--svc-2); }

.svc-card .ai-orb { background: linear-gradient(135deg, var(--svc), var(--svc-2)); font-size: 24px; box-shadow: 0 0 30px color-mix(in srgb, var(--svc-2) 60%, transparent); }
.svc-card .bubble-two span { background: var(--svc-2); }

.svc-card .api-box { color: var(--svc); }
.svc-card .api-center { background: linear-gradient(135deg, var(--svc), var(--svc-2)); color: #fff; }
.svc-card .api-connection { background: color-mix(in srgb, var(--svc) 35%, #fff); }
.svc-card .packet-one { background: var(--svc); }
.svc-card .packet-two { background: var(--svc-2); }

.svc-card .chart-label, .svc-card .chart-growth { color: var(--svc); }
.svc-card .chart-bars { border-bottom-color: color-mix(in srgb, var(--svc) 35%, #fff); }
.svc-card .chart-bars div { background: var(--svc-2); }
.svc-card .chart-bars div:nth-child(even) { background: var(--svc); }

/* Neural network scene (AI/ML) */
.nn-svg { width: 78%; height: auto; overflow: visible; }
.nn-links path { stroke: color-mix(in srgb, var(--svc) 25%, #fff); stroke-width: 1.5; fill: none; }
.nn-signal path {
  stroke: var(--svc); stroke-width: 2.5; fill: none; stroke-linecap: round;
  stroke-dasharray: 14 200; animation: nnSignal 2.4s linear infinite;
}
.nn-signal path:nth-child(2) { animation-delay: 1.2s; stroke: var(--svc-2); }
.nn-node { fill: #fff; stroke: var(--svc); stroke-width: 2.5; animation: nnPulse 2.4s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
.nn-mid { animation-delay: .6s; }
.nn-out { fill: var(--svc); animation-delay: 1.2s; }
@keyframes nnSignal { from { stroke-dashoffset: 214; } to { stroke-dashoffset: 0; } }
@keyframes nnPulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.25); } }

/* Design scene (UI/UX) */
.design-canvas {
  width: 62%; height: 108px; padding: 10px;
  background: #fff; border-radius: 10px;
  display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 8px;
  box-shadow: 0 10px 24px -8px color-mix(in srgb, var(--svc) 40%, transparent);
  animation: float 3s ease-in-out infinite;
}
.design-block { border-radius: 6px; }
.db-1 { grid-column: 1 / 3; background: linear-gradient(90deg, var(--svc), var(--svc-2)); animation: dbResize 3s ease-in-out infinite alternate; transform-origin: left; }
.db-2 { background: color-mix(in srgb, var(--svc-2) 30%, #fff); border: 1.5px dashed var(--svc); }
.db-3 { background: color-mix(in srgb, #F59E0B 25%, #fff); }
.design-swatches { position: absolute; left: 10%; top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; gap: 6px; }
.design-swatches i { width: 12px; height: 12px; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 2px 6px rgba(0,0,0,.12); }
.design-swatches i:nth-child(1) { background: var(--svc); }
.design-swatches i:nth-child(2) { background: #F59E0B; }
.design-swatches i:nth-child(3) { background: #2563EB; }
.design-swatches i:nth-child(4) { background: #10B981; }
.design-cursor { position: absolute; color: var(--svc-ink); font-size: 16px; animation: dcMove 4s ease-in-out infinite; }
@keyframes dbResize { from { transform: scaleX(.55); } to { transform: scaleX(1); } }
@keyframes dcMove {
  0%, 100% { transform: translate(30px, 30px); }
  33% { transform: translate(-25px, -28px); }
  66% { transform: translate(35px, -10px); }
}

/* Bottom CTA strip */
.svc-cta {
  margin-top: 56px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  padding: 32px 40px;
  border-radius: 20px;
  background: linear-gradient(120deg, #0B1533 0%, #1E3A8A 55%, #6D28D9 100%);
  color: #fff;
  box-shadow: 0 24px 48px -16px rgba(30, 58, 138, .5);
  position: relative; overflow: hidden;
}
.svc-cta::after {
  content: ''; position: absolute; width: 320px; height: 320px; right: -80px; top: -140px;
  background: radial-gradient(circle, rgba(244, 114, 182, .45), transparent 70%);
  pointer-events: none;
}
.svc-cta-text h3 { margin: 0 0 6px; font-size: 1.4rem; font-weight: 700; color: #fff; }
.svc-cta-text p { margin: 0; color: rgba(255, 255, 255, .78); font-size: 1rem; }
.svc-cta-btn {
  position: relative; z-index: 1;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 26px; border-radius: 999px;
  font-weight: 700; font-size: 15px; text-decoration: none;
  color: #0B1533; background: #fff;
  transition: transform .25s ease, box-shadow .25s ease;
}
.svc-cta-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0, 0, 0, .25); }
.svc-cta-btn:hover .svc-arrow { transform: translateX(5px); }

/* Dark mode */
body.dark-mode .svc-section {
  --svc-ink: #F1F5F9; --svc-text: #A5B0C2; --svc-card: #111827; --svc-line: #1F2A3D;
  background: linear-gradient(180deg, #0B1020 0%, #0E1428 100%);
}
body.dark-mode .svc-blob { opacity: .18; }
body.dark-mode .svc-dots { background-image: radial-gradient(rgba(255,255,255,.07) 1px, transparent 1px); }
body.dark-mode .svc-eyebrow { background: rgba(17, 24, 39, .8); color: #A5B4FC; }
body.dark-mode .svc-icon { box-shadow: 0 8px 18px -4px color-mix(in srgb, var(--svc) 55%, transparent), 0 0 0 4px #111827; }
body.dark-mode .svc-tags span { background: color-mix(in srgb, var(--svc) 16%, #111827); color: var(--svc-2); }
body.dark-mode .svc-link, body.dark-mode .svc-num { color: var(--svc-2); }

/* Responsive */
@media (max-width: 1024px) {
  .svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .svc-section { padding: 72px 0; }
  .svc-header { margin-bottom: 44px; }
  .svc-grid { grid-template-columns: 1fr; gap: 22px; }
  .svc-cta { padding: 26px 22px; text-align: left; }
  .svc-cta-btn { width: 100%; justify-content: center; }
}

/* Respect reduced-motion settings */
@media (prefers-reduced-motion: reduce) {
  .svc-section *, .svc-section *::before, .svc-section *::after { animation: none !important; transition: none !important; }
}


/* =====================================================================
   DEVELOPMENT PROCESS - Corporate scroll story (dp-*)
   Sticky step navigator + 5 colored step cards (photo + animated scene).
   Colors come from the svc-* classes (--svc / --svc-2).
   Scene animations only run while a card is on screen (.is-playing).
   ===================================================================== */
.dp-section {
  --dp-ink: #0B1533;
  --dp-text: #475569;
  --dp-card: #FFFFFF;
  --dp-line: #E6EAF2;
  --dp-ease: cubic-bezier(.2, .7, .2, 1);
  position: relative;
  padding: 120px 0 110px;
  background: linear-gradient(180deg, #FFFFFF 0%, #F7F9FE 45%, #FDF4FF 100%);
  isolation: isolate;
}
/* Clip blobs here, not on the section, so the sticky rail keeps working */
.dp-bg { position: absolute; inset: 0; overflow: hidden; z-index: -1; pointer-events: none; }
.dp-blob { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .35; }
.dp-blob-1 { width: 520px; height: 520px; top: 4%; left: -180px; background: #BFDBFE; }
.dp-blob-2 { width: 480px; height: 480px; top: 42%; right: -180px; background: #DDD6FE; }
.dp-blob-3 { width: 460px; height: 460px; bottom: -120px; left: 25%; background: #FBCFE8; }

/* Header */
.dp-header { text-align: center; max-width: 780px; margin: 0 auto 80px; }
.dp-header h2 {
  font-size: clamp(2rem, 4.2vw, 3.25rem);
  font-weight: 800; line-height: 1.1; letter-spacing: -.025em;
  color: var(--dp-ink); margin: 0 0 20px;
}
.dp-header p { font-size: 1.125rem; line-height: 1.7; color: var(--dp-text); margin: 0 auto; max-width: 640px; }

/* Layout */
.dp-layout {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 64px;
  align-items: start;
}

/* ---------- Sticky rail ---------- */
.dp-rail { position: sticky; top: 110px; }
.dp-rail-inner { position: relative; padding-left: 26px; }
.dp-rail-track {
  position: absolute; left: 0; top: 8px; height: calc(5 * 64px - 16px);
  width: 3px; border-radius: 3px; background: var(--dp-line); overflow: hidden;
}
.dp-rail-fill {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, #2563EB, #7C3AED 30%, #059669 55%, #D97706 78%, #DB2777);
  transform-origin: top; transform: scaleY(0);
  transition: transform .15s linear;
}
.dp-nav { list-style: none; margin: 0 0 28px; padding: 0; }
.dp-nav li { margin: 0; padding: 0; }
.dp-nav-link {
  display: flex; align-items: center; gap: 14px;
  height: 64px; text-decoration: none;
  color: var(--dp-text);
  opacity: .55;
  transition: opacity .35s var(--dp-ease), transform .35s var(--dp-ease);
}
.dp-nav-link:hover, .dp-nav-link:focus-visible { opacity: .9; }
.dp-nav-link:focus-visible { outline: 2px solid var(--svc); outline-offset: 4px; border-radius: 10px; }
.dp-nav-num {
  flex: 0 0 auto;
  width: 38px; height: 38px; border-radius: 12px;
  display: grid; place-items: center;
  font-size: 13px; font-weight: 800;
  color: var(--svc); background: color-mix(in srgb, var(--svc) 10%, transparent);
  border: 1px solid color-mix(in srgb, var(--svc) 22%, transparent);
  transition: all .35s var(--dp-ease);
}
.dp-nav-text { display: flex; flex-direction: column; line-height: 1.25; }
.dp-nav-text strong { font-size: 15px; font-weight: 700; color: var(--dp-ink); }
.dp-nav-text small { font-size: 12.5px; color: var(--dp-text); margin-top: 2px; }
.dp-nav-link.is-done { opacity: .8; }
.dp-nav-link.is-active { opacity: 1; transform: translateX(4px); }
.dp-nav-link.is-active .dp-nav-num {
  color: #fff;
  background: linear-gradient(135deg, var(--svc), var(--svc-2));
  border-color: transparent;
  box-shadow: 0 8px 20px color-mix(in srgb, var(--svc) 40%, transparent);
}

.dp-rail-card {
  padding: 22px;
  border-radius: 20px;
  background: var(--dp-card);
  border: 1px solid var(--dp-line);
  box-shadow: 0 20px 40px -24px rgba(11, 21, 51, .25);
}
.dp-rail-label { font-size: 11px; font-weight: 700; letter-spacing: 1.6px; text-transform: uppercase; color: var(--dp-text); }
.dp-rail-card strong {
  display: block; margin: 6px 0 4px;
  font-size: 28px; font-weight: 800; letter-spacing: -.02em;
  background: linear-gradient(90deg, #2563EB, #7C3AED, #DB2777);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.dp-rail-card p { font-size: 14px; line-height: 1.5; color: var(--dp-text); margin: 0 0 16px; }
.dp-rail-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 18px; border-radius: 999px;
  font-size: 14px; font-weight: 700; text-decoration: none;
  color: #fff; background: #0B1533;
  transition: transform .25s var(--dp-ease), background .25s;
}
.dp-rail-btn:hover { background: #1E293B; transform: translateY(-2px); }
.dp-rail-btn i { transition: transform .25s var(--dp-ease); }
.dp-rail-btn:hover i { transform: translateX(3px); }

/* ---------- Step cards ---------- */
.dp-steps { display: flex; flex-direction: column; gap: 56px; }
.dp-step {
  scroll-margin-top: 110px;
  border-radius: 28px;
  background: var(--dp-card);
  border: 1px solid var(--dp-line);
  box-shadow: 0 30px 60px -36px rgba(11, 21, 51, .28);
  overflow: hidden;
  transition: box-shadow .5s var(--dp-ease), transform .5s var(--dp-ease);
}
.dp-step:hover {
  box-shadow: 0 40px 80px -40px color-mix(in srgb, var(--svc) 55%, transparent);
}

/* Media */
.dp-media {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background:
    radial-gradient(circle at 20% 20%, var(--svc-2), transparent 60%),
    linear-gradient(135deg, var(--svc), #0B1533);
}
.dp-media img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.08);
  transition: transform 1.6s var(--dp-ease);
}
.dp-step.is-visible .dp-media img { transform: scale(1); }
.dp-step:hover .dp-media img { transform: scale(1.03); }
.dp-media-tint {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, transparent 35%, rgba(11, 21, 51, .55) 100%),
    linear-gradient(135deg, color-mix(in srgb, var(--svc) 45%, transparent), transparent 60%);
  mix-blend-mode: multiply;
}

/* Floating glass panel on the photo */
.dp-float {
  position: absolute; right: 24px; bottom: 24px;
  min-width: 230px;
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, .86);
  -webkit-backdrop-filter: blur(14px) saturate(160%); backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, .7);
  box-shadow: 0 20px 40px -12px rgba(11, 21, 51, .35);
  color: #0B1533;
  font-size: 13px;
  opacity: 0; transform: translateY(18px) scale(.97);
  transition: opacity .8s var(--dp-ease) .35s, transform .8s var(--dp-ease) .35s;
}
.dp-step.is-visible .dp-float { opacity: 1; transform: none; }
.dp-float-head { display: flex; align-items: center; gap: 8px; font-weight: 700; margin-bottom: 10px; }
.dp-float-head i { color: var(--svc); }

/* Animations are paused until the card is on screen */
.dp-step .dp-float *, .dp-step .dp-float *::before, .dp-step .dp-float *::after { animation-play-state: paused !important; }
.dp-step.is-playing .dp-float *, .dp-step.is-playing .dp-float *::before, .dp-step.is-playing .dp-float *::after { animation-play-state: running !important; }

/* 01 - checklist ticks in sequence */
.dp-check-row { display: flex; align-items: center; gap: 10px; padding: 5px 0; color: #334155; }
.dp-tick {
  position: relative; flex: 0 0 auto;
  width: 18px; height: 18px; border-radius: 6px;
  border: 2px solid color-mix(in srgb, var(--svc) 35%, #CBD5E1);
  animation: dpTickBox 6s var(--dp-ease) infinite;
}
.dp-tick::after {
  content: ""; position: absolute; left: 4px; top: 1px;
  width: 5px; height: 9px;
  border: solid #fff; border-width: 0 2px 2px 0;
  transform: rotate(45deg) scale(0);
  animation: dpTickMark 6s var(--dp-ease) infinite;
}
.dp-check-row:nth-child(3) .dp-tick, .dp-check-row:nth-child(3) .dp-tick::after { animation-delay: .6s; }
.dp-check-row:nth-child(4) .dp-tick, .dp-check-row:nth-child(4) .dp-tick::after { animation-delay: 1.2s; }
@keyframes dpTickBox {
  0%, 8% { background: transparent; border-color: color-mix(in srgb, var(--svc) 35%, #CBD5E1); }
  14%, 85% { background: var(--svc); border-color: var(--svc); }
  100% { background: transparent; }
}
@keyframes dpTickMark {
  0%, 10% { transform: rotate(45deg) scale(0); }
  18%, 85% { transform: rotate(45deg) scale(1); }
  100% { transform: rotate(45deg) scale(0); }
}

/* 02 - wireframe fills with color, cursor moves */
.dp-wire { width: 220px; }
.dp-wire-bar { display: flex; gap: 5px; margin-bottom: 10px; }
.dp-wire-bar i { width: 8px; height: 8px; border-radius: 50%; background: #CBD5E1; }
.dp-wire-hero, .dp-wire-row span, .dp-wire-btn {
  border-radius: 8px;
  background: linear-gradient(90deg, #E2E8F0 0%, #F1F5F9 50%, #E2E8F0 100%);
  background-size: 200% 100%;
  animation: dpWireFill 6s var(--dp-ease) infinite;
}
.dp-wire-hero { height: 54px; margin-bottom: 8px; }
.dp-wire-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-bottom: 8px; }
.dp-wire-row span { height: 30px; animation-delay: .4s; }
.dp-wire-row span:nth-child(2) { animation-delay: .6s; }
.dp-wire-row span:nth-child(3) { animation-delay: .8s; }
.dp-wire-btn { width: 46%; height: 18px; border-radius: 999px; animation-delay: 1.1s; }
@keyframes dpWireFill {
  0%, 15% { background-position: 100% 0; background-image: linear-gradient(90deg, #E2E8F0, #F1F5F9, #E2E8F0); }
  30%, 80% { background-image: linear-gradient(135deg, var(--svc), var(--svc-2)); }
  100% { background-image: linear-gradient(90deg, #E2E8F0, #F1F5F9, #E2E8F0); }
}
.dp-cursor {
  position: absolute; left: 30px; top: 40px;
  font-size: 15px; color: #0B1533;
  filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .25));
  animation: dpCursor 6s var(--dp-ease) infinite;
}
@keyframes dpCursor {
  0%   { transform: translate(0, 0); }
  25%  { transform: translate(110px, 10px); }
  50%  { transform: translate(60px, 70px); }
  75%  { transform: translate(40px, 100px) scale(.9); }
  100% { transform: translate(0, 0); }
}

/* 03 - code lines type in, commit badge pops */
.dp-code { width: 250px; background: rgba(11, 21, 51, .9); border-color: rgba(255, 255, 255, .12); color: #E2E8F0; }
.dp-code-head { display: flex; align-items: center; gap: 5px; margin-bottom: 12px; font-size: 11.5px; color: #94A3B8; }
.dp-code-head i { width: 8px; height: 8px; border-radius: 50%; background: #F87171; }
.dp-code-head i:nth-child(2) { background: #FBBF24; }
.dp-code-head i:nth-child(3) { background: #34D399; }
.dp-code-head span { margin-left: 6px; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; }
.dp-code-line {
  height: 8px; border-radius: 4px; margin: 8px 0;
  width: var(--w);
  background: linear-gradient(90deg, var(--svc-2), color-mix(in srgb, var(--svc-2) 40%, #60A5FA));
  transform-origin: left; transform: scaleX(0);
  animation: dpType 5s steps(12, end) infinite;
}
.dp-code-line.dp-indent { margin-left: 18px; }
.dp-code-line:nth-of-type(3) { animation-delay: .5s; }
.dp-code-line:nth-of-type(4) { animation-delay: 1s; }
.dp-code-line:nth-of-type(5) { animation-delay: 1.5s; }
@keyframes dpType { 0% { transform: scaleX(0); } 22%, 88% { transform: scaleX(1); } 100% { transform: scaleX(0); } }
.dp-commit {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 8px; padding: 5px 10px; border-radius: 999px;
  font-size: 11.5px; font-weight: 700;
  color: #052E1C; background: var(--svc-2);
  animation: dpPop 5s var(--dp-ease) infinite;
}
@keyframes dpPop { 0%, 40% { opacity: 0; transform: scale(.8); } 50%, 88% { opacity: 1; transform: scale(1); } 100% { opacity: 0; } }

/* 04 - progress ring fills to 100% */
.dp-qa { display: flex; align-items: center; gap: 16px; }
.dp-ring { width: 72px; height: 72px; transform: rotate(-90deg); flex: 0 0 auto; }
.dp-ring circle { fill: none; stroke-width: 7; }
.dp-ring-bg { stroke: color-mix(in srgb, var(--svc) 15%, #E2E8F0); }
.dp-ring-fg {
  stroke: var(--svc); stroke-linecap: round;
  stroke-dasharray: 201; stroke-dashoffset: 201;
  animation: dpRing 5s var(--dp-ease) infinite;
}
@keyframes dpRing { 0% { stroke-dashoffset: 201; } 45%, 88% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 201; } }
.dp-qa-text { display: flex; flex-direction: column; line-height: 1.3; }
.dp-qa-text strong { font-size: 18px; font-weight: 800; }
.dp-qa-text span { color: #475569; }
.dp-qa-text em {
  margin-top: 6px; font-style: normal; font-size: 12px; font-weight: 700;
  color: color-mix(in srgb, var(--svc) 80%, #000);
}

/* 05 - live pulse + rising bars */
.dp-launch { width: 240px; }
.dp-live {
  width: 9px; height: 9px; border-radius: 50%; background: #10B981;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, .6);
  animation: dpPulse 1.8s ease-out infinite;
}
@keyframes dpPulse { to { box-shadow: 0 0 0 10px rgba(16, 185, 129, 0); } }
.dp-bars { display: flex; align-items: flex-end; gap: 7px; height: 70px; margin-bottom: 10px; }
.dp-bars i {
  flex: 1; height: var(--h); border-radius: 6px 6px 3px 3px;
  background: linear-gradient(180deg, var(--svc-2), var(--svc));
  transform-origin: bottom; transform: scaleY(.15);
  animation: dpBar 5s var(--dp-ease) infinite;
}
.dp-bars i:nth-child(2) { animation-delay: .12s; }
.dp-bars i:nth-child(3) { animation-delay: .24s; }
.dp-bars i:nth-child(4) { animation-delay: .36s; }
.dp-bars i:nth-child(5) { animation-delay: .48s; }
.dp-bars i:nth-child(6) { animation-delay: .6s; }
@keyframes dpBar { 0% { transform: scaleY(.15); } 35%, 85% { transform: scaleY(1); } 100% { transform: scaleY(.15); } }
.dp-launch-foot { font-size: 12.5px; font-weight: 700; color: #059669; }

/* Body */
.dp-body { padding: 34px 38px 36px; }
.dp-kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--svc);
  margin-bottom: 12px;
}
.dp-kicker-num {
  padding: 3px 9px; border-radius: 999px;
  color: #fff; background: linear-gradient(135deg, var(--svc), var(--svc-2));
  letter-spacing: .5px;
}
.dp-body h3 {
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  font-weight: 800; letter-spacing: -.02em; line-height: 1.2;
  margin: 0 0 14px;
  background: linear-gradient(90deg, var(--dp-ink) 0%, var(--dp-ink) 40%, var(--svc) 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.dp-body p { font-size: 1.04rem; line-height: 1.75; color: var(--dp-text); margin: 0 0 20px; }
.dp-tags { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 22px; padding: 0; }
.dp-tags li {
  margin: 0; padding: 6px 13px; border-radius: 999px;
  font-size: 13px; font-weight: 600;
  color: color-mix(in srgb, var(--svc) 85%, #000);
  background: color-mix(in srgb, var(--svc) 9%, transparent);
  border: 1px solid color-mix(in srgb, var(--svc) 20%, transparent);
}
.dp-tags li::before { display: none; }
.dp-outcome {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 14px 16px; border-radius: 14px;
  font-size: 14.5px; line-height: 1.5; color: var(--dp-ink);
  background: linear-gradient(135deg, color-mix(in srgb, var(--svc) 8%, transparent), color-mix(in srgb, var(--svc-2) 6%, transparent));
  border-left: 3px solid var(--svc);
}
.dp-outcome i { color: var(--svc); margin-top: 3px; }

/* ---------- Stats strip ---------- */
.dp-stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
  margin-top: 90px;
}
.dp-stat {
  text-align: center;
  padding: 28px 18px;
  border-radius: 20px;
  background: var(--dp-card);
  border: 1px solid var(--dp-line);
  position: relative; overflow: hidden;
}
.dp-stat::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px;
  background: linear-gradient(90deg, var(--svc), var(--svc-2));
}
.dp-stat strong {
  display: block; font-size: clamp(1.8rem, 3vw, 2.4rem); font-weight: 800; letter-spacing: -.02em;
  background: linear-gradient(135deg, var(--svc), var(--svc-2));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.dp-stat span { font-size: 14px; color: var(--dp-text); font-weight: 600; }

/* ---------- Scroll reveal (fade up + un-blur, OpenAI style) ---------- */
.dp-reveal, .dp-step {
  opacity: 0; transform: translateY(40px); filter: blur(6px);
  transition: opacity 1s var(--dp-ease), transform 1s var(--dp-ease), filter 1s var(--dp-ease), box-shadow .5s var(--dp-ease);
}
.dp-reveal.is-visible, .dp-step.is-visible { opacity: 1; transform: none; filter: none; }
.dp-step.is-visible:hover { transform: translateY(-4px); }

/* ---------- Dark mode ---------- */
body.dark-mode .dp-section {
  --dp-ink: #F1F5F9; --dp-text: #A5B0C2; --dp-card: #111827; --dp-line: #1F2A3D;
  background: linear-gradient(180deg, #0E1428 0%, #0B1020 100%);
}
body.dark-mode .dp-blob { opacity: .15; }
body.dark-mode .dp-float:not(.dp-code) { background: rgba(17, 24, 39, .85); border-color: rgba(255, 255, 255, .1); color: #F1F5F9; }
body.dark-mode .dp-check-row, body.dark-mode .dp-qa-text span { color: #CBD5E1; }
body.dark-mode .dp-cursor { color: #F1F5F9; }
body.dark-mode .dp-rail-btn { background: #F1F5F9; color: #0B1533; }
body.dark-mode .dp-tags li, body.dark-mode .dp-qa-text em { color: var(--svc-2); }
body.dark-mode .dp-step { box-shadow: 0 30px 60px -36px rgba(0, 0, 0, .7); }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .dp-layout { grid-template-columns: 250px minmax(0, 1fr); gap: 40px; }
}
@media (max-width: 991px) {
  .dp-section { padding: 90px 0 80px; }
  .dp-header { margin-bottom: 52px; }
  .dp-layout { grid-template-columns: 1fr; }
  .dp-rail { display: none; }
  .dp-steps { gap: 36px; }
  .dp-stats { grid-template-columns: repeat(2, 1fr); margin-top: 60px; }
}
@media (max-width: 600px) {
  .dp-step { border-radius: 22px; }
  .dp-media { aspect-ratio: 4 / 3; }
  .dp-float { left: 14px; right: 14px; bottom: 14px; min-width: 0; width: auto; padding: 12px 14px; font-size: 12px; }
  .dp-wire { width: auto; }
  .dp-cursor { display: none; }
  .dp-body { padding: 24px 22px 26px; }
  .dp-stats { gap: 12px; }
  .dp-stat { padding: 20px 12px; }
}

/* Reduced motion: no movement, everything visible */
@media (prefers-reduced-motion: reduce) {
  .dp-section *, .dp-section *::before, .dp-section *::after { animation: none !important; transition: none !important; }
  .dp-reveal, .dp-step, .dp-float { opacity: 1 !important; transform: none !important; filter: none !important; }
  .dp-media img { transform: none !important; }
  .dp-tick { background: var(--svc); border-color: var(--svc); }
  .dp-tick::after { transform: rotate(45deg) scale(1); }
  .dp-ring-fg { stroke-dashoffset: 0; }
  .dp-code-line, .dp-bars i { transform: none; }
  .dp-commit { opacity: 1; }
}


/* =====================================================================
   CONTACT SECTION - Global corporate (ct-*)
   Dark info panel (next steps, contact methods, trust) + white form card.
   Uses svc-* classes for per-item color (--svc / --svc-2).
   ===================================================================== */
.ct-section {
  --ct-ink: #0B1533;
  --ct-text: #475569;
  --ct-card: #FFFFFF;
  --ct-line: #E2E8F0;
  --ct-field: #F8FAFC;
  --ct-ease: cubic-bezier(.2, .7, .2, 1);
  position: relative;
  padding: 120px 0 120px;
  background: linear-gradient(180deg, #FDF4FF 0%, #F7F9FE 40%, #FFFFFF 100%);
  isolation: isolate;
}
.ct-bg { position: absolute; inset: 0; overflow: hidden; z-index: -1; pointer-events: none; }
.ct-blob { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .35; }
.ct-blob-1 { width: 480px; height: 480px; top: -80px; right: -120px; background: #C7D2FE; }
.ct-blob-2 { width: 420px; height: 420px; bottom: -100px; left: -140px; background: #FBCFE8; }
.ct-blob-3 { width: 360px; height: 360px; top: 40%; left: 40%; background: #A7F3D0; opacity: .25; }

.ct-header { text-align: center; max-width: 760px; margin: 0 auto 64px; }
.ct-header h2 {
  font-size: clamp(2rem, 4.2vw, 3.25rem);
  font-weight: 800; line-height: 1.1; letter-spacing: -.025em;
  color: var(--ct-ink); margin: 0 0 18px;
}
.ct-header p { font-size: 1.125rem; line-height: 1.7; color: var(--ct-text); margin: 0 auto; max-width: 620px; }

.ct-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 28px;
  align-items: stretch;
}

/* ---------- Left panel ---------- */
.ct-panel {
  position: relative; overflow: hidden;
  padding: 40px 36px;
  border-radius: 28px;
  color: #E2E8F0;
  background: linear-gradient(160deg, #0B1533 0%, #13205A 55%, #1E1B4B 100%);
  box-shadow: 0 40px 80px -40px rgba(11, 21, 51, .6);
}
.ct-panel-glow {
  position: absolute; inset: -40% -30% auto auto;
  width: 420px; height: 420px; border-radius: 50%;
  background: conic-gradient(from 0deg, #2563EB, #7C3AED, #DB2777, #F97316, #2563EB);
  filter: blur(80px); opacity: .35;
  animation: ctSpin 18s linear infinite;
  pointer-events: none;
}
@keyframes ctSpin { to { transform: rotate(360deg); } }
.ct-panel > *:not(.ct-panel-glow) { position: relative; }
.ct-panel h3 { font-size: 1.35rem; font-weight: 800; color: #fff; margin: 0 0 22px; letter-spacing: -.01em; }

.ct-steps { list-style: none; margin: 0 0 30px; padding: 0; position: relative; }
.ct-steps::before {
  content: ""; position: absolute; left: 17px; top: 20px; bottom: 20px; width: 2px;
  background: linear-gradient(180deg, #60A5FA, #A78BFA, #F472B6); opacity: .5;
}
.ct-steps li { display: flex; gap: 16px; align-items: flex-start; margin: 0 0 18px; padding: 0; }
.ct-steps li:last-child { margin-bottom: 0; }
.ct-steps li::before { display: none; }
.ct-step-num {
  position: relative; flex: 0 0 auto;
  width: 36px; height: 36px; border-radius: 50%;
  display: grid; place-items: center;
  font-weight: 800; font-size: 14px; color: #fff;
  background: linear-gradient(135deg, var(--svc), var(--svc-2));
  box-shadow: 0 0 0 5px rgba(11, 21, 51, .9), 0 8px 18px color-mix(in srgb, var(--svc) 50%, transparent);
}
.ct-steps strong { display: block; color: #fff; font-size: 15.5px; margin: 6px 0 3px; }
.ct-steps li span:not(.ct-step-num) { font-size: 14px; line-height: 1.5; color: #A5B4CB; }

.ct-methods { display: grid; gap: 10px; margin-bottom: 22px; }
.ct-method {
  display: flex; align-items: center; gap: 14px;
  padding: 12px 14px; border-radius: 16px;
  text-decoration: none; color: #fff;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .1);
  transition: background .3s var(--ct-ease), border-color .3s, transform .3s var(--ct-ease);
}
.ct-method:hover, .ct-method:focus-visible {
  background: rgba(255, 255, 255, .1);
  border-color: color-mix(in srgb, var(--svc-2) 60%, transparent);
  transform: translateX(4px);
}
.ct-method:focus-visible { outline: 2px solid var(--svc-2); outline-offset: 2px; }
.ct-method-icon {
  flex: 0 0 auto; width: 42px; height: 42px; border-radius: 12px;
  display: grid; place-items: center; font-size: 17px; color: #fff;
  background: linear-gradient(135deg, var(--svc), var(--svc-2));
}
.ct-method small { display: block; font-size: 12px; color: #A5B4CB; }
.ct-method strong { font-size: 15px; font-weight: 700; word-break: break-word; }

.ct-clock {
  display: flex; align-items: center; gap: 10px;
  font-size: 13.5px; color: #A5B4CB;
  padding: 12px 0; border-top: 1px solid rgba(255, 255, 255, .1);
}
.ct-clock strong { color: #fff; }
.ct-live {
  flex: 0 0 auto; width: 9px; height: 9px; border-radius: 50%; background: #34D399;
  animation: ctPulse 1.8s ease-out infinite;
}
@keyframes ctPulse { 0% { box-shadow: 0 0 0 0 rgba(52, 211, 153, .6); } 100% { box-shadow: 0 0 0 10px rgba(52, 211, 153, 0); } }

.ct-trust { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 0; padding: 0; }
.ct-trust li {
  margin: 0; padding: 7px 12px; border-radius: 999px;
  font-size: 12.5px; font-weight: 600; color: #E2E8F0;
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12);
}
.ct-trust li::before { display: none; }
.ct-trust i { color: #A78BFA; margin-right: 4px; }

/* ---------- Form card ---------- */
.ct-card {
  position: relative;
  padding: 40px;
  border-radius: 28px;
  background: var(--ct-card);
  border: 1px solid var(--ct-line);
  box-shadow: 0 40px 80px -48px rgba(11, 21, 51, .35);
}
.ct-card::before {
  content: ""; position: absolute; left: 40px; right: 40px; top: 0; height: 3px; border-radius: 0 0 3px 3px;
  background: linear-gradient(90deg, #2563EB, #7C3AED, #DB2777, #F97316);
}
.ct-form { display: grid; gap: 18px; }
.ct-form[hidden] { display: none; }
.ct-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.ct-field { display: flex; flex-direction: column; gap: 7px; min-width: 0; margin: 0; padding: 0; border: 0; }
.ct-field label, .ct-interests legend {
  font-size: 13.5px; font-weight: 700; color: var(--ct-ink); padding: 0;
}
.ct-req { color: #DB2777; }
.ct-opt { font-weight: 500; color: var(--ct-text); }
.ct-field input, .ct-field select, .ct-field textarea {
  width: 100%;
  padding: 13px 15px;
  font: inherit; font-size: 15px; color: var(--ct-ink);
  background: var(--ct-field);
  border: 1.5px solid var(--ct-line);
  border-radius: 12px;
  transition: border-color .2s, box-shadow .2s, background .2s;
  appearance: none; -webkit-appearance: none;
}
.ct-field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2364748B' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 15px center;
  padding-right: 40px; cursor: pointer;
}
.ct-field textarea { resize: vertical; min-height: 130px; }
.ct-field input::placeholder, .ct-field textarea::placeholder { color: #94A3B8; }
.ct-field input:hover, .ct-field select:hover, .ct-field textarea:hover { border-color: #CBD5E1; }
.ct-field input:focus, .ct-field select:focus, .ct-field textarea:focus {
  outline: none; background: #fff;
  border-color: #6366F1;
  box-shadow: 0 0 0 4px rgba(99, 102, 241, .15);
}
.ct-field.has-error input, .ct-field.has-error textarea {
  border-color: #E11D48; box-shadow: 0 0 0 4px rgba(225, 29, 72, .1);
}
.ct-error { font-size: 12.5px; font-weight: 600; color: #E11D48; min-height: 0; }
.ct-error:empty { display: none; }

/* Service chips */
.ct-interests legend { margin-bottom: 10px; }
.ct-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.ct-chip { position: relative; cursor: pointer; }
.ct-chip input { position: absolute; opacity: 0; width: 1px; height: 1px; padding: 0; border: 0; pointer-events: none; }
.ct-chip span {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 9px 15px; border-radius: 999px;
  font-size: 13.5px; font-weight: 600; color: var(--ct-text);
  background: var(--ct-field);
  border: 1.5px solid var(--ct-line);
  transition: all .25s var(--ct-ease);
  user-select: none;
}
.ct-chip span i { color: var(--svc); transition: color .25s; }
.ct-chip:hover span { border-color: color-mix(in srgb, var(--svc) 45%, transparent); color: var(--ct-ink); }
.ct-chip input:focus-visible + span { box-shadow: 0 0 0 4px color-mix(in srgb, var(--svc) 25%, transparent); }
.ct-chip input:checked + span {
  color: #fff; border-color: transparent;
  background: linear-gradient(135deg, var(--svc), var(--svc-2));
  box-shadow: 0 8px 18px -6px color-mix(in srgb, var(--svc) 60%, transparent);
}
.ct-chip input:checked + span i { color: #fff; }

/* Spam trap */
.ct-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Consent */
.ct-consent {
  display: flex; gap: 12px; align-items: flex-start; cursor: pointer;
  font-size: 13.5px; line-height: 1.5; color: var(--ct-text);
}
.ct-consent input {
  flex: 0 0 auto; width: 20px; height: 20px; margin: 1px 0 0;
  accent-color: #4F46E5; cursor: pointer;
}
.ct-consent.has-error span { color: #E11D48; }

/* Submit */
.ct-actions { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 4px; }
.ct-submit {
  position: relative;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 30px; border: 0; border-radius: 999px;
  font: inherit; font-size: 16px; font-weight: 700; color: #fff;
  background: linear-gradient(90deg, #2563EB, #7C3AED, #DB2777, #2563EB);
  background-size: 300% 100%;
  box-shadow: 0 16px 32px -12px rgba(124, 58, 237, .6);
  cursor: pointer;
  transition: background-position .8s var(--ct-ease), transform .25s var(--ct-ease), box-shadow .25s;
}
.ct-submit:hover { background-position: 100% 0; transform: translateY(-2px); box-shadow: 0 20px 40px -12px rgba(219, 39, 119, .55); }
.ct-submit:focus-visible { outline: 3px solid #A5B4FC; outline-offset: 3px; }
.ct-submit:disabled { opacity: .75; cursor: progress; transform: none; }
.ct-submit-icon { transition: transform .25s var(--ct-ease); }
.ct-submit:hover .ct-submit-icon { transform: translateX(4px); }
.ct-submit-spin { display: none; }
.ct-submit.is-loading .ct-submit-icon { display: none; }
.ct-submit.is-loading .ct-submit-spin { display: inline-block; }
.ct-note { margin: 0; font-size: 13.5px; color: var(--ct-text); }
.ct-note i { color: #059669; margin-right: 4px; }
.ct-form-status { margin: 0; font-size: 14px; font-weight: 600; color: #E11D48; }
.ct-form-status:empty { display: none; }

/* Success state */
.ct-success { text-align: center; padding: 50px 10px; outline: none; animation: ctIn .6s var(--ct-ease); }
.ct-success[hidden] { display: none; }
.ct-success-icon {
  width: 76px; height: 76px; margin: 0 auto 22px; border-radius: 50%;
  display: grid; place-items: center; font-size: 30px; color: #fff;
  background: linear-gradient(135deg, #059669, #34D399);
  box-shadow: 0 0 0 10px rgba(16, 185, 129, .12), 0 20px 40px -12px rgba(5, 150, 105, .6);
}
.ct-success h3 { font-size: 1.5rem; font-weight: 800; color: var(--ct-ink); margin: 0 0 10px; }
.ct-success p { font-size: 1rem; line-height: 1.7; color: var(--ct-text); max-width: 440px; margin: 0 auto 24px; }
.ct-again {
  padding: 11px 22px; border-radius: 999px; cursor: pointer;
  font: inherit; font-weight: 700; font-size: 14px; color: var(--ct-ink);
  background: transparent; border: 1.5px solid var(--ct-line);
  transition: border-color .2s, background .2s;
}
.ct-again:hover { border-color: #6366F1; background: rgba(99, 102, 241, .06); }
@keyframes ctIn { from { opacity: 0; transform: translateY(14px) scale(.98); } to { opacity: 1; transform: none; } }

/* ---------- Scroll reveal ---------- */
.ct-reveal {
  opacity: 0; transform: translateY(36px); filter: blur(6px);
  transition: opacity 1s var(--ct-ease), transform 1s var(--ct-ease), filter 1s var(--ct-ease);
}
.ct-reveal.is-visible { opacity: 1; transform: none; filter: none; }
.ct-grid .ct-card.ct-reveal { transition-delay: .12s; }

/* ---------- Dark mode ---------- */
body.dark-mode .ct-section {
  --ct-ink: #F1F5F9; --ct-text: #A5B0C2; --ct-card: #111827; --ct-line: #243049; --ct-field: #0F172A;
  background: linear-gradient(180deg, #0B1020 0%, #0E1428 100%);
}
body.dark-mode .ct-blob { opacity: .14; }
body.dark-mode .ct-field input:focus, body.dark-mode .ct-field select:focus, body.dark-mode .ct-field textarea:focus { background: #0B1222; }
body.dark-mode .ct-panel { border: 1px solid #243049; }

/* ---------- Responsive ---------- */
@media (max-width: 991px) {
  .ct-section { padding: 90px 0; }
  .ct-header { margin-bottom: 48px; }
  .ct-grid { grid-template-columns: 1fr; }
  .ct-card { order: -1; }
}
@media (max-width: 600px) {
  .ct-panel, .ct-card { padding: 28px 20px; border-radius: 22px; }
  .ct-card::before { left: 20px; right: 20px; }
  .ct-row { grid-template-columns: 1fr; }
  .ct-actions { flex-direction: column; align-items: stretch; }
  .ct-submit { justify-content: center; }
  .ct-note { text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  .ct-section *, .ct-section *::before, .ct-section *::after { animation: none !important; transition: none !important; }
  .ct-reveal { opacity: 1 !important; transform: none !important; filter: none !important; }
}


/* =====================================================================
   SEE IT IN ACTION (sia-*) - OpenAI-style chat + animated demo cards
   Colors come from the svc-* classes (--svc / --svc-2).
   Scene prefixes: sx- store, an- analytics, cb- chatbot, mb- mobile, pl- pipeline
   ===================================================================== */
.sia-section.sia-section {
  --sia-ink: #0B1533;
  --sia-text: #475569;
  --sia-muted: #94A3B8;
  --sia-panel: #F7F7F8;
  --sia-bubble: #ECECF1;
  --sia-line: #E6EAF2;
  --sia-ok: #10B981;
  padding: 110px 0;
  margin: 0;
  border-top: 0;
  background: #FFFFFF;
  color: var(--sia-ink);
  overflow: hidden;
}
.sia-section [hidden] { display: none !important; }

.sia-layout {
  display: grid;
  grid-template-columns: minmax(0, 390px) minmax(0, 1fr);
  gap: 56px;
  align-items: center;
}

/* ---------- Intro ---------- */
.sia-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; border-radius: 999px;
  font-size: 12px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
  color: #4338CA; background: #fff; border: 1px solid rgba(99, 102, 241, .25);
  margin-bottom: 18px;
}
.sia-eyebrow-dot { width: 8px; height: 8px; border-radius: 50%; background: linear-gradient(135deg, #2563EB, #DB2777); }
.sia-intro h2 {
  font-size: clamp(1.9rem, 3.4vw, 2.6rem);
  font-weight: 800; letter-spacing: -.02em; line-height: 1.15;
  color: var(--sia-ink); margin: 0 0 14px;
}
.sia-gradient-text {
  background: linear-gradient(90deg, #2563EB, #7C3AED 50%, #DB2777);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.sia-lead { font-size: 1.05rem; line-height: 1.7; color: var(--sia-text); margin: 0 0 28px; }

/* ---------- Challenge tabs ---------- */
.sia-tabs { display: flex; flex-direction: column; gap: 6px; }
.sia-tab {
  position: relative; overflow: hidden;
  display: flex; align-items: center; gap: 14px;
  width: 100%; padding: 13px 16px;
  font: inherit; color: inherit; text-align: left;
  background: transparent; border: 1px solid transparent; border-radius: 14px;
  cursor: pointer;
  transition: background .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.sia-tab:hover { background: #F8FAFC; }
.sia-tab:focus-visible { outline: 2px solid var(--svc); outline-offset: 2px; }
.sia-tab.active {
  background: #fff; border-color: var(--sia-line);
  box-shadow: 0 12px 28px -14px color-mix(in srgb, var(--svc) 55%, transparent);
}
.sia-tab-icon {
  flex-shrink: 0; width: 40px; height: 40px; border-radius: 11px;
  display: grid; place-items: center; font-size: 16px;
  color: var(--svc); background: color-mix(in srgb, var(--svc) 11%, #fff);
  transition: background .25s ease, color .25s ease;
}
.sia-tab.active .sia-tab-icon { color: #fff; background: linear-gradient(135deg, var(--svc), var(--svc-2)); }
.sia-tab-text b { display: block; font-size: 15px; font-weight: 700; color: var(--sia-ink); }
.sia-tab-text span { display: block; font-size: 13px; color: var(--sia-text); margin-top: 2px; }
.sia-tab-progress {
  position: absolute; left: 0; bottom: 0; height: 3px; width: 0;
  background: linear-gradient(90deg, var(--svc), var(--svc-2));
}
.sia-tab.active.running .sia-tab-progress { animation: siaProgress var(--dur, 10s) linear forwards; }
.sia-section.sia-paused .sia-tab-progress { animation-play-state: paused !important; }
@keyframes siaProgress { from { width: 0; } to { width: 100%; } }

/* ---------- Gray panel + conversation ---------- */
.sia-panel {
  background: var(--sia-panel);
  border-radius: 28px;
  padding: 36px;
  min-height: 560px;
}
.sia-convo { display: flex; flex-direction: column; gap: 16px; }

.sia-bubble {
  align-self: flex-end; max-width: 82%;
  background: var(--sia-bubble); color: #1F2937;
  padding: 12px 18px; border-radius: 22px;
  font-size: 15px; line-height: 1.5;
  opacity: 0; transform: translateY(10px);
  transition: opacity .45s ease, transform .45s ease;
}
.sia-reply {
  display: flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 600; color: var(--sia-text);
  opacity: 0; transition: opacity .4s ease .45s;
}
.sia-avatar { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, #00C6FF, #7C3AED); }
.sia-avatar svg { width: 12px; height: 12px; }

.sia-card {
  position: relative; align-self: flex-start;
  width: min(100%, 540px);
  padding: 20px; border-radius: 20px;
  background: linear-gradient(140deg, var(--svc) 0%, color-mix(in srgb, var(--svc) 60%, var(--svc-2)) 55%, var(--svc-2) 100%);
  box-shadow: 0 24px 48px -18px color-mix(in srgb, var(--svc) 60%, transparent);
  opacity: 0; transform: translateY(14px) scale(.98);
  transition: opacity .55s ease .8s, transform .55s ease .8s;
}
.sia-card::before {
  content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(circle at 85% 0%, rgba(255, 255, 255, .35), transparent 55%);
}
.sia-caption {
  display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px;
  font-size: 13px; color: var(--sia-text);
  opacity: 0; transition: opacity .5s ease 1.2s;
}
.sia-caption b { color: var(--svc); }
.sia-caption a { color: var(--svc); font-weight: 700; text-decoration: none; }
.sia-caption a:hover { text-decoration: underline; }

.sia-convo.show .sia-bubble,
.sia-convo.show .sia-card { opacity: 1; transform: none; }
.sia-convo.show .sia-reply,
.sia-convo.show .sia-caption { opacity: 1; }

/* ---------- Stage (shared) ---------- */
.sia-stage {
  position: relative; height: 300px; overflow: hidden;
  border-radius: 14px; background: #fff;
  box-shadow: 0 10px 30px rgba(11, 21, 51, .18);
  font-size: 12px; line-height: 1.4; color: var(--sia-ink); text-align: left;
  transition: opacity .45s ease;
}
.sia-stage.sia-fade { opacity: 0; }
.sia-stage b { font-weight: 700; }

.sia-cursor {
  position: absolute; left: 0; top: 0; z-index: 30; width: 22px; height: 22px; pointer-events: none;
  transform: translate(var(--cx, 0), var(--cy, 0));
  transition: transform .9s cubic-bezier(.45, .05, .25, 1);
}
.sia-cursor svg { width: 100%; height: 100%; display: block; filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .25)); }
.sia-cursor::after {
  content: ''; position: absolute; left: -8px; top: -8px; width: 18px; height: 18px; border-radius: 50%;
  background: color-mix(in srgb, var(--svc, #2563EB) 40%, transparent); transform: scale(0); opacity: 0;
}
.sia-cursor.click::after { animation: siaRipple .45s ease-out; }
.sia-cursor.no-anim { transition: none; }
@keyframes siaRipple { from { transform: scale(.3); opacity: 1; } to { transform: scale(1.9); opacity: 0; } }

.sia-pressable { transition: transform .12s ease, background .3s ease, color .3s ease; }
.sia-pressed { transform: scale(.92); }

.sia-toast {
  position: absolute; left: 50%; top: 10px; z-index: 25;
  display: flex; align-items: center; gap: 8px; white-space: nowrap;
  padding: 9px 14px 9px 10px; border-radius: 999px;
  background: var(--sia-ink); color: #fff; font-size: 12px; font-weight: 700;
  box-shadow: 0 10px 24px rgba(11, 21, 51, .3);
  opacity: 0; transform: translate(-50%, -60px);
  transition: transform .5s cubic-bezier(.2, .9, .3, 1.3), opacity .3s ease;
}
.sia-toast.show { opacity: 1; transform: translate(-50%, 0); }
.sia-toast.sia-toast-bottom { top: auto; bottom: 12px; transform: translate(-50%, 60px); }
.sia-toast.sia-toast-bottom.show { transform: translate(-50%, 0); }
.sia-toast i { width: 18px; height: 18px; border-radius: 50%; background: var(--sia-ok); display: grid; place-items: center; }
.sia-toast svg { width: 10px; height: 10px; }

.sia-spin { width: 13px; height: 13px; border: 2px solid rgba(255, 255, 255, .45); border-top-color: #fff; border-radius: 50%; animation: siaSpin .7s linear infinite; display: inline-block; }
@keyframes siaSpin { to { transform: rotate(360deg); } }
@keyframes siaIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ---------- Scene 1: Online store (sx-) ---------- */
.sx-head { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-bottom: 1px solid #EEF2F7; }
.sx-logo { display: flex; align-items: center; gap: 6px; font-weight: 800; font-size: 13px; }
.sx-logo b { width: 16px; height: 16px; border-radius: 5px; background: linear-gradient(135deg, var(--svc), var(--svc-2)); display: inline-block; }
.sx-search { flex: 1; height: 24px; border-radius: 999px; background: #F1F5F9; display: flex; align-items: center; gap: 6px; padding-left: 10px; }
.sx-search i { width: 8px; height: 8px; border: 1.5px solid #94A3B8; border-radius: 50%; }
.sx-search span { width: 70px; height: 5px; border-radius: 3px; background: #E2E8F0; }
.sx-cart { position: relative; width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: color-mix(in srgb, var(--svc) 10%, #fff); color: var(--svc); }
.sx-cart svg { width: 16px; height: 16px; }
.sx-badge { position: absolute; top: -5px; right: -5px; min-width: 17px; height: 17px; padding: 0 4px; border-radius: 999px; background: #F43F5E; color: #fff; font-size: 10px; font-weight: 800; display: grid; place-items: center; border: 2px solid #fff; }
.sx-badge.bump { animation: sxBump .45s ease; }
@keyframes sxBump { 40% { transform: scale(1.45); } }
.sx-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding: 14px; }
.sx-pd { border: 1px solid #EEF2F7; border-radius: 11px; padding: 8px; }
.sx-img { height: 74px; border-radius: 8px; display: grid; place-items: center; margin-bottom: 8px; }
.sx-pd:nth-child(1) .sx-img { background: #FEF3C7; }
.sx-pd:nth-child(1) .sx-img div { width: 34px; height: 34px; background: #F59E0B; border-radius: 10px; transform: rotate(12deg); }
.sx-pd:nth-child(2) .sx-img { background: #DBEAFE; }
.sx-pd:nth-child(2) .sx-img div { width: 38px; height: 38px; border-radius: 50%; background: linear-gradient(135deg, var(--svc), var(--svc-2)); }
.sx-pd:nth-child(3) .sx-img { background: #FCE7F3; }
.sx-pd:nth-child(3) .sx-img div { width: 0; height: 0; border-left: 20px solid transparent; border-right: 20px solid transparent; border-bottom: 34px solid #EC4899; }
.sx-name { height: 6px; width: 80%; border-radius: 3px; background: #E2E8F0; margin-bottom: 6px; }
.sx-row { display: flex; align-items: center; justify-content: space-between; gap: 4px; }
.sx-price { font-size: 11px; font-weight: 800; }
.sx-add { font-size: 10px; font-weight: 700; color: #fff; background: var(--svc); padding: 5px 8px; border-radius: 7px; }
.sx-add.done { background: var(--sia-ok); }
.sx-promo { margin: 0 14px; height: 42px; border-radius: 10px; background: linear-gradient(90deg, #EEF2FF, #FDF2F8); display: flex; align-items: center; gap: 10px; padding: 0 12px; }
.sx-promo b { font-size: 11px; color: #4338CA; }
.sx-promo span { height: 5px; width: 90px; border-radius: 3px; background: #E0E7FF; }
.sx-drawer {
  position: absolute; top: 0; right: 0; bottom: 0; width: 60%;
  display: flex; flex-direction: column; padding: 14px;
  background: #fff; border-left: 1px solid #EEF2F7; box-shadow: -18px 0 40px rgba(11, 21, 51, .14);
  transform: translateX(105%); transition: transform .55s cubic-bezier(.2, .8, .2, 1);
}
.sx-drawer.open { transform: none; }
.sx-dr-title { font-size: 13px; font-weight: 800; margin-bottom: 8px; }
.sx-dr-item { display: flex; align-items: center; gap: 9px; padding: 7px 0; border-bottom: 1px dashed #E2E8F0; }
.sx-thumb { width: 28px; height: 28px; border-radius: 8px; }
.sx-lines { flex: 1; }
.sx-lines i { display: block; height: 5px; border-radius: 3px; background: #E2E8F0; margin: 4px 0; }
.sx-lines i:last-child { width: 55%; }
.sx-amt { font-size: 11px; font-weight: 700; }
.sx-meta { display: flex; justify-content: space-between; margin-top: 8px; font-size: 11px; color: var(--sia-text); }
.sx-meta b { color: var(--sia-ok); }
.sx-total { display: flex; justify-content: space-between; margin: 6px 0 8px; font-size: 12px; font-weight: 800; }
.sx-methods { display: flex; gap: 6px; }
.sx-methods span { flex: 1; text-align: center; font-size: 10px; font-weight: 700; padding: 5px 0; border-radius: 7px; border: 1px solid #E2E8F0; color: var(--sia-text); }
.sx-methods span.on { border-color: var(--svc); color: var(--svc); background: color-mix(in srgb, var(--svc) 8%, #fff); }
.sx-pay {
  margin-top: auto; height: 36px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  font-size: 12px; font-weight: 800; color: #fff;
  background: linear-gradient(90deg, var(--svc), #4F46E5);
}
.sx-pay.paid { background: var(--sia-ok); }
.sx-fly { position: absolute; left: 0; top: 0; z-index: 20; width: 14px; height: 14px; border-radius: 50%; opacity: 0; pointer-events: none; background: linear-gradient(135deg, var(--svc), var(--svc-2)); box-shadow: 0 4px 10px color-mix(in srgb, var(--svc) 50%, transparent); }

/* ---------- Scene 2: Analytics (an-) ---------- */
.an-head { display: flex; align-items: center; justify-content: space-between; padding: 12px 14px; border-bottom: 1px solid #EEF2F7; font-size: 13px; }
.an-pill { font-size: 10px; font-weight: 600; color: var(--sia-text); background: #F1F5F9; padding: 4px 10px; border-radius: 999px; }
.an-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 12px 14px 4px; }
.an-kpi { border: 1px solid #EEF2F7; border-radius: 10px; padding: 7px 10px; }
.an-kpi span { display: block; font-size: 10px; color: var(--sia-muted); }
.an-kpi b { display: block; font-size: 16px; font-weight: 800; margin: 1px 0; font-variant-numeric: tabular-nums; }
.an-kpi em { font-style: normal; font-size: 10px; font-weight: 700; }
.an-kpi .up { color: var(--sia-ok); }
.an-kpi .down { color: #EF4444; }
.an-chart { height: 112px; margin: 4px 14px 0; }
.an-chart svg { width: 100%; height: 100%; overflow: visible; display: block; }
.an-grid path { stroke: #EEF2F7; stroke-width: 1; }
.an-area { opacity: 0; transition: opacity .8s ease .6s; }
.an-line { fill: none; stroke: var(--svc); stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.4s ease; }
.an-fix { fill: none; stroke: var(--sia-ok); stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1s ease; }
.an-fix-label { font-size: 10px; font-weight: 700; fill: var(--sia-ok); opacity: 0; transition: opacity .4s ease .8s; }
.an-dot { fill: #EF4444; stroke: #fff; stroke-width: 2; opacity: 0; transition: opacity .3s ease; }
.an-ring { fill: rgba(239, 68, 68, .18); opacity: 0; transform-box: fill-box; transform-origin: center; }
.an-tip { opacity: 0; transition: opacity .3s ease; }
.an-tip rect { fill: var(--sia-ink); }
.an-tip text { fill: #fff; font-size: 10px; font-weight: 700; }
.drawn .an-area, .an-chart.drawn .an-area { opacity: 1; }
.an-chart.drawn .an-line { stroke-dashoffset: 0; }
.an-chart.flagged .an-dot { opacity: 1; }
.an-chart.flagged .an-ring { opacity: 1; animation: anPulse 1.4s ease-out infinite; }
.an-chart.tipped .an-tip { opacity: 1; }
.an-chart.fixed .an-fix { stroke-dashoffset: 0; }
.an-chart.fixed .an-fix-label { opacity: 1; }
@keyframes anPulse { from { transform: scale(.6); opacity: 1; } to { transform: scale(1.8); opacity: 0; } }
.an-insight {
  position: absolute; left: 14px; right: 14px; bottom: 12px;
  display: flex; align-items: center; gap: 10px; padding: 8px 12px;
  border-radius: 12px; background: #ECFDF5; border: 1px solid #A7F3D0;
  opacity: 0; transform: translateY(12px); transition: opacity .45s ease, transform .45s ease;
}
.an-insight.show { opacity: 1; transform: none; }
.an-insight-icon { width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; background: var(--sia-ok); color: #fff; font-size: 13px; }
.an-insight div b { display: block; font-size: 12px; color: #065F46; }
.an-insight div span { display: block; font-size: 11px; color: #047857; }

/* ---------- Scene 3: Chatbot (cb-) ---------- */
.cb-stage { display: flex; flex-direction: column; }
.cb-head { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-bottom: 1px solid #EEF2F7; }
.cb-av { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-size: 13px; background: linear-gradient(135deg, var(--svc), var(--svc-2)); }
.cb-who b { display: block; font-size: 12px; }
.cb-who small { display: flex; align-items: center; gap: 5px; font-size: 10px; color: var(--sia-muted); }
.cb-who small i { width: 6px; height: 6px; border-radius: 50%; background: var(--sia-ok); }
.cb-time { margin-left: auto; font-size: 10px; font-weight: 600; color: var(--sia-muted); }
.cb-body { flex: 1; display: flex; flex-direction: column; gap: 8px; padding: 12px 14px; background: #FAFAFC; overflow: hidden; }
.cb-body > * { animation: siaIn .35s ease both; }
.cb-msg { max-width: 80%; padding: 8px 12px; font-size: 12px; line-height: 1.45; }
.cb-user { align-self: flex-end; color: #fff; background: var(--svc); border-radius: 14px 14px 4px 14px; }
.cb-bot { align-self: flex-start; background: #fff; border: 1px solid #EEF2F7; border-radius: 14px 14px 14px 4px; }
.cb-typing { align-self: flex-start; display: flex; gap: 4px; padding: 10px 12px; background: #fff; border: 1px solid #EEF2F7; border-radius: 14px; }
.cb-typing span { width: 6px; height: 6px; border-radius: 50%; background: var(--svc-2); animation: cbDot 1s ease-in-out infinite; }
.cb-typing span:nth-child(2) { animation-delay: .15s; }
.cb-typing span:nth-child(3) { animation-delay: .3s; }
@keyframes cbDot { 0%, 100% { transform: translateY(0); opacity: .5; } 50% { transform: translateY(-4px); opacity: 1; } }
.cb-track { align-self: flex-start; width: 80%; padding: 8px 10px; background: #fff; border: 1px solid #EEF2F7; border-radius: 12px; }
.cb-track-top { display: flex; justify-content: space-between; font-size: 10px; color: var(--sia-muted); margin-bottom: 6px; }
.cb-track-top b { color: var(--svc); }
.cb-bar { height: 5px; border-radius: 3px; background: color-mix(in srgb, var(--svc) 12%, #fff); overflow: hidden; }
.cb-bar span { display: block; height: 100%; width: var(--p, 33%); border-radius: inherit; background: linear-gradient(90deg, var(--svc), var(--svc-2)); transition: width .9s ease; }
.cb-steps { display: flex; justify-content: space-between; margin-top: 5px; font-size: 9px; color: var(--sia-muted); }
.cb-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.cb-chip { font-size: 10.5px; font-weight: 600; padding: 5px 10px; border-radius: 999px; color: var(--svc); background: #fff; border: 1px solid color-mix(in srgb, var(--svc) 30%, transparent); }
.cb-chip.on { color: #fff; background: var(--svc); }
.cb-input { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-top: 1px solid #EEF2F7; }
.cb-field { flex: 1; height: 30px; display: flex; align-items: center; padding: 0 12px; border-radius: 999px; background: #F1F5F9; font-size: 12px; overflow: hidden; white-space: nowrap; }
.cb-typed:empty::before { content: 'Type a message…'; color: var(--sia-muted); }
.cb-caret { width: 1.5px; height: 14px; margin-left: 1px; background: var(--svc); animation: cbBlink .9s steps(1) infinite; }
@keyframes cbBlink { 50% { opacity: 0; } }
.cb-send { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-size: 12px; background: linear-gradient(135deg, var(--svc), var(--svc-2)); }

/* ---------- Scene 4: Mobile app (mb-) ---------- */
.mb-stage { background: linear-gradient(135deg, color-mix(in srgb, var(--svc) 8%, #fff), color-mix(in srgb, var(--svc-2) 22%, #fff)); }
.mb-phone {
  position: absolute; left: 50%; top: 14px; transform: translateX(-50%);
  width: 156px; height: 272px; overflow: hidden;
  background: #fff; border: 6px solid var(--sia-ink); border-radius: 28px;
  box-shadow: 0 18px 36px -10px color-mix(in srgb, var(--svc) 45%, transparent);
}
.mb-notch { position: absolute; top: 5px; left: 50%; transform: translateX(-50%); width: 46px; height: 12px; border-radius: 999px; background: var(--sia-ink); z-index: 2; }
.mb-screens { display: flex; width: 200%; height: 100%; transition: transform .6s cubic-bezier(.2, .8, .2, 1); }
.mb-screens.done { transform: translateX(-50%); }
.mb-screen { position: relative; width: 50%; height: 100%; padding: 26px 10px 10px; }
.mb-title { font-size: 13px; font-weight: 800; }
.mb-sub { font-size: 9.5px; color: var(--sia-muted); margin-bottom: 8px; }
.mb-dates { display: flex; gap: 5px; margin-bottom: 9px; }
.mb-dates span { flex: 1; text-align: center; font-size: 8.5px; color: var(--sia-muted); padding: 4px 0; border-radius: 8px; background: #F8FAFC; }
.mb-dates span b { display: block; font-size: 12px; color: var(--sia-ink); }
.mb-dates span.on { background: var(--svc); color: rgba(255, 255, 255, .85); }
.mb-dates span.on b { color: #fff; }
.mb-label { font-size: 9px; font-weight: 700; color: var(--sia-text); margin-bottom: 5px; }
.mb-slots { display: grid; grid-template-columns: 1fr 1fr; gap: 5px; }
.mb-slots span { text-align: center; font-size: 10px; font-weight: 600; padding: 5px 0; border-radius: 7px; border: 1px solid #E2E8F0; }
.mb-slots span.off { color: #CBD5E1; text-decoration: line-through; }
.mb-slots span.on { color: #fff; background: var(--svc); border-color: var(--svc); }
.mb-confirm {
  position: absolute; left: 10px; right: 10px; bottom: 12px; height: 30px; border-radius: 9px;
  display: flex; align-items: center; justify-content: center; gap: 6px;
  font-size: 10.5px; font-weight: 800; color: #fff; background: linear-gradient(90deg, var(--svc), var(--svc-2));
}
.mb-success { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.mb-check { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 10px; background: linear-gradient(135deg, var(--svc), var(--svc-2)); box-shadow: 0 0 0 8px color-mix(in srgb, var(--svc) 14%, transparent); transform: scale(.6); transition: transform .5s cubic-bezier(.2, .9, .3, 1.4) .3s; }
.mb-check svg { width: 28px; height: 28px; }
.mb-check path { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset .5s ease .6s; }
.mb-screens.done .mb-check { transform: scale(1); }
.mb-screens.done .mb-check path { stroke-dashoffset: 0; }
.mb-done-title { font-size: 15px; font-weight: 800; }
.mb-done-sub { font-size: 10.5px; color: var(--sia-text); margin: 2px 0 10px; }
.mb-done-chip { font-size: 9.5px; font-weight: 600; color: var(--svc); background: color-mix(in srgb, var(--svc) 10%, #fff); padding: 5px 9px; border-radius: 999px; }
.mb-notif {
  position: absolute; left: 50%; margin-left: -94px; top: 34px; z-index: 5; width: 188px;
  display: flex; align-items: center; gap: 8px; padding: 8px 10px;
  background: rgba(255, 255, 255, .96); border-radius: 14px; box-shadow: 0 12px 28px rgba(11, 21, 51, .18);
  opacity: 0; transform: translateY(-16px) scale(.96);
  transition: opacity .4s ease, transform .5s cubic-bezier(.2, .9, .3, 1.3);
}
.mb-notif.show { opacity: 1; transform: none; }
.mb-app { flex-shrink: 0; width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; color: #fff; font-size: 12px; background: linear-gradient(135deg, var(--svc), var(--svc-2)); }
.mb-notif div b { display: block; font-size: 10.5px; }
.mb-notif div span { display: block; font-size: 9.5px; color: var(--sia-text); line-height: 1.3; }
.mb-side {
  position: absolute; z-index: 4; padding: 8px 12px; border-radius: 12px;
  background: #fff; box-shadow: 0 10px 24px rgba(11, 21, 51, .12);
  opacity: 0; transform: translateY(10px); transition: opacity .4s ease, transform .4s ease;
}
.mb-side.show { opacity: 1; transform: none; }
.mb-side b { display: block; font-size: 16px; font-weight: 800; color: var(--svc); }
.mb-side span { display: block; font-size: 10px; color: var(--sia-text); }
.mb-side-1 { right: 16px; top: 46%; }
.mb-side-2 { left: 16px; bottom: 22px; }

/* ---------- Scene 5: CI/CD pipeline (pl-) ---------- */
.pl-head { display: flex; align-items: center; gap: 8px; padding: 11px 14px; border-bottom: 1px solid #EEF2F7; font-size: 12px; }
.pl-head > i { color: var(--sia-muted); }
.pl-branch { font-size: 10px; font-weight: 600; padding: 3px 8px; border-radius: 999px; background: #F1F5F9; color: var(--sia-text); }
.pl-live { display: inline-flex; align-items: center; gap: 5px; font-size: 10px; font-weight: 800; color: var(--sia-ok); opacity: 0; transform: scale(.8); transition: opacity .3s ease, transform .3s ease; }
.pl-live i { width: 7px; height: 7px; border-radius: 50%; background: var(--sia-ok); animation: plLive 1.4s ease-out infinite; }
.pl-live.show { opacity: 1; transform: none; }
@keyframes plLive { 0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, .6); } 100% { box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); } }
.pl-deploy { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 800; color: #fff; padding: 6px 12px; border-radius: 8px; background: linear-gradient(90deg, var(--svc), var(--svc-2)); }
.pl-deploy i { font-size: 9px; }
.pl-steps { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); padding: 18px 10px 12px; }
.pl-track { position: absolute; left: 10%; right: 10%; top: 35px; height: 3px; border-radius: 3px; background: #E2E8F0; }
.pl-track span { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, var(--svc), var(--svc-2)); transition: width .6s ease; }
.pl-node { position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 10.5px; font-weight: 600; color: var(--sia-text); }
.pl-node > span { position: relative; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; color: var(--sia-muted); background: #F8FAFC; border: 2px solid #E2E8F0; transition: background .3s ease, border-color .3s ease, color .3s ease; }
.pl-node.running > span { color: var(--svc); border-color: color-mix(in srgb, var(--svc) 25%, #fff); background: #fff; }
.pl-node.running > span::after { content: ''; position: absolute; inset: -2px; border-radius: 50%; border: 2px solid transparent; border-top-color: var(--svc); animation: siaSpin .8s linear infinite; }
.pl-node.done > span { color: #fff; background: var(--svc); border-color: var(--svc); }
.pl-node.done { color: var(--sia-ink); }
.pl-term { margin: 0 14px; padding: 10px 12px; height: 128px; border-radius: 10px; background: var(--sia-ink); font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', monospace; font-size: 11px; line-height: 1.75; color: #CBD5E1; overflow: hidden; }
.pl-line { opacity: 0; transform: translateX(-6px); transition: opacity .3s ease, transform .3s ease; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pl-line.show { opacity: 1; transform: none; }
.pl-line em { font-style: normal; color: #34D399; margin-right: 6px; }
.pl-line:first-child em { color: #93C5FD; }

/* ---------- Dark mode ---------- */
body.dark-mode .sia-section.sia-section {
  --sia-ink: #F1F5F9; --sia-text: #A5B0C2; --sia-panel: #111827; --sia-bubble: #1F2937; --sia-line: #1F2A3D;
  background: #0B1020;
}
body.dark-mode .sia-bubble { color: #E5E7EB; }
body.dark-mode .sia-tab:hover { background: #111827; }
body.dark-mode .sia-tab.active { background: #111827; }
body.dark-mode .sia-eyebrow { background: #111827; color: #A5B4FC; }
/* the demo screens stay light, like real app screenshots */
body.dark-mode .sia-stage { --sia-ink: #0B1533; --sia-text: #475569; color: #0B1533; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .sia-layout { grid-template-columns: minmax(0, 330px) minmax(0, 1fr); gap: 36px; }
  .sia-panel { padding: 28px; }
}
@media (max-width: 960px) {
  .sia-section.sia-section { padding: 80px 0; }
  .sia-layout { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .sia-intro { text-align: center; }
  .sia-lead { margin-bottom: 20px; }
  .sia-tabs {
    flex-direction: row; gap: 8px; overflow-x: auto; scroll-snap-type: x mandatory;
    margin: 0 -16px; padding: 4px 16px 8px; scrollbar-width: none;
  }
  .sia-tabs::-webkit-scrollbar { display: none; }
  .sia-tab { flex: 0 0 auto; width: auto; padding: 8px 14px 8px 8px; gap: 10px; border-color: var(--sia-line); background: #fff; scroll-snap-align: start; }
  .sia-tab-icon { width: 32px; height: 32px; font-size: 13px; border-radius: 9px; }
  .sia-tab-text b { font-size: 14px; white-space: nowrap; }
  .sia-tab-text span { display: none; }
  .sia-panel { min-height: 0; }
  .sia-card { width: 100%; }
}
@media (max-width: 560px) {
  .sia-section.sia-section { padding: 64px 0; }
  .sia-panel { padding: 20px 14px 24px; border-radius: 22px; }
  .sia-bubble { font-size: 14px; max-width: 92%; }
  .sia-card { padding: 12px; border-radius: 16px; }
  .sia-stage { height: 290px; }
  .sx-img { height: 58px; }
  .sx-search span { width: 36px; }
  .sx-drawer { width: 74%; }
  .an-kpi { padding: 6px 7px; }
  .an-kpi b { font-size: 14px; }
  .an-kpi span { font-size: 9px; }
  .mb-side { display: none; }
  .pl-node { font-size: 9.5px; }
  .pl-node > span { width: 30px; height: 30px; font-size: 11px; }
  .pl-track { top: 32px; }
  .pl-term { font-size: 10px; }
  .sia-toast { font-size: 11px; }
}

/* ---------- Reduced motion: final frame, no movement ---------- */
@media (prefers-reduced-motion: reduce) {
  .sia-section *, .sia-section *::before, .sia-section *::after { transition: none !important; animation: none !important; }
  .sia-cursor, .sia-tab-progress { display: none; }
}

.an-dot { transform-box: fill-box; transform-origin: center; }


/* =====================================================================
   TECHNOLOGIES SECTION - Colorful marquee (tx-*)
   3 full-width rows (left / right / left), category filters,
   popular stack cards and a CTA strip. Colors from svc-* classes.
   JS clones each row once for a seamless loop and sets --tx-shift/--tx-dur.
   ===================================================================== */
.tx-section {
  --tx-ink: #0B1533;
  --tx-text: #475569;
  --tx-card: #FFFFFF;
  --tx-line: #E6EAF2;
  --tx-ease: cubic-bezier(.2, .7, .2, 1);
  position: relative;
  padding: 120px 0 110px;
  background: linear-gradient(180deg, #FFFFFF 0%, #F5F7FF 50%, #FFFFFF 100%);
  isolation: isolate;
  overflow: hidden;
}
.tx-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.tx-blob { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .35; }
.tx-blob-1 { width: 520px; height: 520px; top: -160px; left: -140px; background: #BFDBFE; }
.tx-blob-2 { width: 460px; height: 460px; top: 30%; right: -160px; background: #E9D5FF; }
.tx-blob-3 { width: 420px; height: 420px; bottom: -160px; left: 35%; background: #A7F3D0; opacity: .25; }
.tx-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(11, 21, 51, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11, 21, 51, .045) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at 50% 40%, #000 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 40%, #000 20%, transparent 70%);
}

/* Header */
.tx-header { text-align: center; max-width: 760px; margin: 0 auto 36px; }
.tx-header h2 {
  font-size: clamp(2rem, 4.2vw, 3.25rem);
  font-weight: 800; line-height: 1.1; letter-spacing: -.025em;
  color: var(--tx-ink); margin: 0 0 18px;
}
.tx-header p { font-size: 1.125rem; line-height: 1.7; color: var(--tx-text); margin: 0 auto; max-width: 640px; }

/* Filters */
.tx-filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 0 auto 44px; max-width: 900px; }
.tx-filter {
  --svc: #4F46E5; --svc-2: #818CF8;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 16px; border-radius: 999px; cursor: pointer;
  font: inherit; font-size: 14px; font-weight: 600; color: var(--tx-text);
  background: rgba(255, 255, 255, .8);
  border: 1.5px solid var(--tx-line);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  transition: all .25s var(--tx-ease);
}
.tx-filter i { color: var(--svc); transition: color .25s; }
.tx-filter:hover { color: var(--tx-ink); border-color: color-mix(in srgb, var(--svc) 45%, transparent); transform: translateY(-1px); }
.tx-filter:focus-visible { outline: 3px solid color-mix(in srgb, var(--svc) 40%, transparent); outline-offset: 2px; }
.tx-filter.is-active {
  color: #fff; border-color: transparent;
  background: linear-gradient(135deg, var(--svc), var(--svc-2));
  box-shadow: 0 10px 22px -8px color-mix(in srgb, var(--svc) 60%, transparent);
}
.tx-filter[data-cat="all"].is-active { background: linear-gradient(135deg, #0B1533, #312E81); box-shadow: 0 10px 22px -8px rgba(11, 21, 51, .5); }
.tx-filter.is-active i { color: #fff; }
.tx-count {
  min-width: 24px; padding: 1px 7px; border-radius: 999px;
  font-size: 12px; font-weight: 700;
  background: rgba(255, 255, 255, .2);
}
.tx-count:empty { display: none; }

/* ---------- Marquee ---------- */
.tx-marquee {
  position: relative;
  display: grid; gap: 18px;
  padding: 8px 0;
  mask-image: linear-gradient(90deg, transparent 0, #000 9%, #000 91%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 9%, #000 91%, transparent 100%);
}
.tx-row { overflow: hidden; padding: 8px 0; }
.tx-track {
  display: flex; gap: 16px;
  width: max-content;
  list-style: none; margin: 0; padding: 0 8px;
}
.tx-animated .tx-track {
  animation: txScroll var(--tx-dur, 60s) linear infinite;
  animation-play-state: paused;
  will-change: transform;
}
.tx-animated.is-playing .tx-track { animation-play-state: running; }
.tx-animated.is-playing .tx-row:hover .tx-track,
.tx-animated.is-playing .tx-row:focus-within .tx-track { animation-play-state: paused; }
.tx-row[data-dir="right"] .tx-track { animation-direction: reverse; }
@keyframes txScroll { from { transform: translateX(0); } to { transform: translateX(calc(-1 * var(--tx-shift, 50%))); } }

/* Logo tile */
.tx-item {
  flex: 0 0 auto;
  display: flex; align-items: center; gap: 12px;
  margin: 0; padding: 9px 20px 9px 9px;
  border-radius: 18px;
  background: var(--tx-card);
  border: 1px solid var(--tx-line);
  box-shadow: 0 10px 24px -18px rgba(11, 21, 51, .35);
  transition: transform .35s var(--tx-ease), box-shadow .35s var(--tx-ease), border-color .35s, opacity .35s, filter .35s;
}
.tx-item::before { display: none; }
.tx-item:hover {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--svc) 45%, transparent);
  box-shadow: 0 18px 34px -16px color-mix(in srgb, var(--svc) 55%, transparent);
}
.tx-logo {
  flex: 0 0 auto;
  width: 48px; height: 48px; border-radius: 14px;
  display: grid; place-items: center;
  background: #fff;
  border: 1px solid color-mix(in srgb, var(--svc, #6366F1) 18%, #E2E8F0);
  box-shadow: inset 0 -2px 0 color-mix(in srgb, var(--svc, #6366F1) 12%, transparent);
  transition: transform .35s var(--tx-ease), box-shadow .35s;
}
.tx-item:hover .tx-logo { transform: rotate(-6deg) scale(1.06); box-shadow: 0 0 0 4px color-mix(in srgb, var(--svc) 15%, transparent); }
.tx-logo img { width: 30px; height: 30px; object-fit: contain; display: block; }
.tx-mono {
  display: block; width: 28px; height: 28px;
  background: var(--brand, #0B1533);
  -webkit-mask: var(--logo) center / contain no-repeat;
  mask: var(--logo) center / contain no-repeat;
}
.tx-text { display: flex; flex-direction: column; line-height: 1.2; white-space: nowrap; }
.tx-text strong { font-size: 15px; font-weight: 700; color: var(--tx-ink); }
.tx-text small { font-size: 11.5px; font-weight: 600; letter-spacing: .4px; color: var(--svc); margin-top: 3px; }

/* Filter highlight */
.tx-section.is-filtering .tx-item:not(.is-match) { opacity: .28; filter: grayscale(1); }
.tx-section.is-filtering .tx-item.is-match {
  border-color: color-mix(in srgb, var(--svc) 55%, transparent);
  box-shadow: 0 14px 30px -14px color-mix(in srgb, var(--svc) 60%, transparent);
}

/* ---------- Popular stacks ---------- */
.tx-stacks { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin-top: 70px; }
.tx-stack {
  position: relative; overflow: hidden;
  padding: 26px 24px 24px;
  border-radius: 22px;
  background: var(--tx-card);
  border: 1px solid var(--tx-line);
  box-shadow: 0 24px 48px -36px rgba(11, 21, 51, .35);
  transition: transform .4s var(--tx-ease), box-shadow .4s var(--tx-ease), border-color .4s;
}
.tx-stack::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px;
  background: linear-gradient(90deg, var(--svc), var(--svc-2));
}
.tx-stack::after {
  content: ""; position: absolute; width: 180px; height: 180px; right: -70px; top: -70px; border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--svc-2) 30%, transparent), transparent 70%);
  pointer-events: none;
}
.tx-stack:hover {
  transform: translateY(-6px);
  border-color: color-mix(in srgb, var(--svc) 35%, transparent);
  box-shadow: 0 30px 60px -30px color-mix(in srgb, var(--svc) 55%, transparent);
}
.tx-stack-logos { display: flex; margin-bottom: 18px; }
.tx-stack-logos .tx-logo {
  width: 44px; height: 44px; border-radius: 50%;
  margin-left: -10px;
  box-shadow: 0 0 0 3px var(--tx-card), 0 6px 14px -6px rgba(11, 21, 51, .3);
  transition: transform .35s var(--tx-ease);
}
.tx-stack-logos .tx-logo:first-child { margin-left: 0; }
.tx-stack:hover .tx-stack-logos .tx-logo { transform: translateY(-3px); }
.tx-stack:hover .tx-stack-logos .tx-logo:nth-child(2) { transition-delay: .05s; }
.tx-stack:hover .tx-stack-logos .tx-logo:nth-child(3) { transition-delay: .1s; }
.tx-stack:hover .tx-stack-logos .tx-logo:nth-child(4) { transition-delay: .15s; }
.tx-stack-logos img { width: 24px; height: 24px; }
.tx-stack-logos .tx-mono { width: 22px; height: 22px; }
.tx-stack h3 {
  font-size: 1.15rem; font-weight: 800; letter-spacing: -.01em; margin: 0 0 8px;
  background: linear-gradient(90deg, var(--tx-ink) 30%, var(--svc));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.tx-stack p { font-size: 14.5px; line-height: 1.6; color: var(--tx-text); margin: 0; }

/* ---------- CTA strip ---------- */
.tx-cta {
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  margin-top: 36px; padding: 26px 32px;
  border-radius: 22px;
  color: #fff;
  background: linear-gradient(120deg, #0B1533 0%, #1E3A8A 45%, #6D28D9 80%, #BE185D 100%);
  box-shadow: 0 30px 60px -34px rgba(30, 58, 138, .7);
  position: relative; overflow: hidden;
}
.tx-cta::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .12) 50%, transparent 70%);
  transform: translateX(-100%);
  animation: txSheen 6s ease-in-out infinite;
  pointer-events: none;
}
@keyframes txSheen { 0%, 60% { transform: translateX(-100%); } 100% { transform: translateX(100%); } }
.tx-cta-text { display: flex; flex-direction: column; gap: 4px; position: relative; z-index: 1; }
.tx-cta-text strong { font-size: 1.2rem; font-weight: 800; }
.tx-cta-text span { font-size: 15px; color: #CBD5E1; }
.tx-cta-btn {
  position: relative; z-index: 1;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 24px; border-radius: 999px;
  font-weight: 700; font-size: 15px; text-decoration: none;
  color: #0B1533; background: #fff;
  transition: transform .25s var(--tx-ease), box-shadow .25s;
}
.tx-cta-btn:hover { transform: translateY(-2px); box-shadow: 0 12px 24px -8px rgba(0, 0, 0, .4); }
.tx-cta-btn i { transition: transform .25s var(--tx-ease); }
.tx-cta-btn:hover i { transform: translateX(4px); }

/* ---------- Scroll reveal ---------- */
.tx-reveal {
  opacity: 0; transform: translateY(32px); filter: blur(6px);
  transition: opacity 1s var(--tx-ease), transform 1s var(--tx-ease), filter 1s var(--tx-ease);
}
.tx-reveal.is-visible { opacity: 1; transform: none; filter: none; }
.tx-stacks .tx-stack.tx-reveal:nth-child(2) { transition-delay: .08s; }
.tx-stacks .tx-stack.tx-reveal:nth-child(3) { transition-delay: .16s; }
.tx-stacks .tx-stack.tx-reveal:nth-child(4) { transition-delay: .24s; }
/* keep hover lift working after reveal */
.tx-stack.tx-reveal.is-visible:hover { transform: translateY(-6px); }

/* ---------- Dark mode ---------- */
body.dark-mode .tx-section {
  --tx-ink: #F1F5F9; --tx-text: #A5B0C2; --tx-card: #111827; --tx-line: #1F2A3D;
  background: linear-gradient(180deg, #0B1020 0%, #0E1428 100%);
}
body.dark-mode .tx-blob { opacity: .14; }
body.dark-mode .tx-grid {
  background-image:
    linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px);
}
body.dark-mode .tx-filter { background: rgba(17, 24, 39, .8); }
body.dark-mode .tx-text small { color: var(--svc-2); }
/* logo tiles stay white in dark mode so every brand logo stays readable */

/* ---------- Responsive ---------- */
@media (max-width: 1100px) { .tx-stacks { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 768px) {
  .tx-section { padding: 90px 0 80px; }
  .tx-filters { gap: 8px; margin-bottom: 32px; }
  .tx-filter { padding: 8px 13px; font-size: 13px; }
  .tx-marquee { gap: 10px; mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%); -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%); }
  .tx-item { padding: 7px 16px 7px 7px; gap: 10px; border-radius: 16px; }
  .tx-logo { width: 40px; height: 40px; border-radius: 12px; }
  .tx-logo img { width: 26px; height: 26px; }
  .tx-text strong { font-size: 14px; }
  .tx-cta { padding: 24px 22px; }
  .tx-cta-btn { width: 100%; justify-content: center; }
}
@media (max-width: 560px) { .tx-stacks { grid-template-columns: 1fr; margin-top: 50px; } }

/* Reduced motion: no scrolling, logos wrap into a static grid */
@media (prefers-reduced-motion: reduce) {
  .tx-section *, .tx-section *::before, .tx-section *::after { animation: none !important; transition: none !important; }
  .tx-reveal { opacity: 1 !important; transform: none !important; filter: none !important; }
  .tx-marquee { mask-image: none; -webkit-mask-image: none; padding: 0 16px; }
  .tx-track { flex-wrap: wrap; justify-content: center; width: auto; }
  .tx-clone { display: none; }
}


/* =====================================================================
   SITE CLEANUP (2026-11-02) - one palette, header, hero content,
   testimonials, footer. Hero background animation is NOT touched.
   ===================================================================== */

/* ---------- One palette ---------- */
:root {
  --color-primary: #2563EB;
  --color-primary-dark: #1D4ED8;
  --color-primary-light: #EFF6FF;
  --color-secondary: #0B1533;
  --color-accent: #7C3AED;
  --color-accent-light: #F5F3FF;
  --gradient-start: #2563EB;
  --gradient-end: #7C3AED;
  --brand-ink: #0B1533;
  --brand-text: #475569;
  --brand-line: #E6EAF2;
  --brand-gradient: linear-gradient(90deg, #2563EB 0%, #7C3AED 50%, #DB2777 100%);
}
.btn-primary { box-shadow: 0 6px 18px -4px rgba(37, 99, 235, .45); }
.btn-primary:hover { box-shadow: 0 10px 24px -6px rgba(37, 99, 235, .55); }

/* Old centered-heading underline sat at the far left */
.section-header::before { left: 50%; transform: translateX(-50%); }

/* ---------- Header ---------- */
.header {
  background: rgba(255, 255, 255, .86);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  backdrop-filter: saturate(180%) blur(14px);
  box-shadow: none;
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease, box-shadow .3s ease, background .3s ease;
}
.header.scrolled { background: rgba(255, 255, 255, .95); border-bottom-color: var(--brand-line); box-shadow: 0 6px 24px -12px rgba(11, 21, 51, .18); }
.header-content { height: 72px; }
.logo a, .logo-text { color: var(--brand-ink); }
.nav-list { gap: 2px; }
.header .nav-link {
  position: relative;
  padding: 10px 14px;
  font-size: 15px; font-weight: 600;
  color: #334155;
  background: transparent;
  border-radius: 8px;
}
.header .nav-link:hover { color: var(--brand-ink); background: #F1F5F9; }
.header .nav-link.active { color: var(--color-primary); background: transparent; }
.header .nav-link.active::after,
.header .nav-link::after {
  content: ''; position: absolute; left: 14px; right: 14px; bottom: 4px;
  width: auto; height: 2px; border-radius: 2px; transform: scaleX(0);
  background: var(--brand-gradient); transition: transform .3s ease;
}
.header .nav-link.active::after { transform: scaleX(1); }
.hd-cta {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 18px; border-radius: 999px;
  font-size: 14px; font-weight: 700; color: #fff; text-decoration: none;
  background: var(--brand-ink);
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.hd-cta:hover { color: #fff; background: var(--color-primary); transform: translateY(-1px); box-shadow: 0 8px 20px -6px rgba(37, 99, 235, .55); }
.hd-cta span { transition: transform .2s ease; }
.hd-cta:hover span { transform: translateX(3px); }
.mobile-menu-toggle span { background-color: var(--brand-ink); border-radius: 2px; }
.mobile-menu-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mobile-menu-toggle.active span:nth-child(2) { opacity: 0; }
.mobile-menu-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 991px) {
  .main-nav { top: 72px; background: #fff; padding: 16px; border-top: 1px solid var(--brand-line); }
  .main-nav .nav-list { display: flex; }
  .header .nav-link { padding: 14px 12px; font-size: 17px; border-bottom: 1px solid #F1F5F9; border-radius: 0; }
  .header .nav-link::after { display: none; }
  body.nav-open { overflow: hidden; }
}
@media (max-width: 480px) {
  .hd-cta { padding: 9px 14px; font-size: 13px; }
}

/* ---------- Hero content (animation untouched) ---------- */
.hero-content { position: relative; }
/* soft glow so the network lines fade behind the text */
.hero-content::before {
  content: ''; position: absolute; z-index: -1; pointer-events: none;
  inset: -60px -90px -60px -120px;
  background: radial-gradient(ellipse at 40% 50%, rgba(247, 249, 252, .92) 0%, rgba(247, 249, 252, .75) 45%, rgba(247, 249, 252, 0) 72%);
}
.hero-tagline .tag {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px;
  font-size: 12px; font-weight: 700; letter-spacing: 2px;
  color: #4338CA; background: #fff;
  border: 1px solid rgba(99, 102, 241, .25);
  box-shadow: 0 4px 14px rgba(79, 70, 229, .08);
}
.tag-dot { width: 8px; height: 8px; border-radius: 50%; background: linear-gradient(135deg, #2563EB, #DB2777); }
.hero-title { font-family: var(--font-primary, 'Plus Jakarta Sans'), sans-serif; color: var(--brand-ink); -webkit-text-fill-color: var(--brand-ink); }
.hero-title .title-line { font-size: clamp(2rem, 3.6vw, 3rem); line-height: 1.18; letter-spacing: -.02em; }
.hero .highlight-text {
  background: linear-gradient(90deg, #2563EB, #7C3AED);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.hero-subtitle p { font-size: 1.1rem; color: var(--brand-text); font-family: inherit; }

/* Stats: equal-width cards */
.hero-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; max-width: 600px; }
.hero-stats .stat-item {
  display: flex; flex-direction: column; align-items: flex-start; gap: 4px;
  padding: 14px 16px; min-width: 0;
  background: rgba(255, 255, 255, .85); border: 1px solid var(--brand-line); border-radius: 14px;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.hero-stats .stat-number { font-size: 26px; font-weight: 800; color: var(--brand-ink); min-width: 0; font-variant-numeric: tabular-nums; }
.hero-stats .stat-label { font-size: 11px; letter-spacing: .6px; color: var(--brand-text); margin: 0; }

/* Feature cards on the right */
.hero-features { align-items: stretch; gap: 14px; margin-top: 0; max-width: 360px; margin-left: auto; }
.hero .hf-card {
  display: flex; align-items: center; gap: 14px; text-align: left;
  padding: 16px 18px; max-width: none;
  background: rgba(255, 255, 255, .82); border: 1px solid var(--brand-line); border-radius: 16px;
  box-shadow: 0 12px 30px -16px rgba(11, 21, 51, .25);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.hero .hf-card:nth-child(2) { margin-left: -36px; margin-right: 36px; }
.hf-icon {
  flex-shrink: 0; width: 42px; height: 42px; border-radius: 12px;
  display: grid; place-items: center; color: #fff; font-size: 16px;
  background: linear-gradient(135deg, var(--svc), var(--svc-2));
  box-shadow: 0 8px 16px -6px color-mix(in srgb, var(--svc) 60%, transparent);
}
.hero .hf-card h4 { font-size: 15px; font-weight: 700; color: var(--brand-ink); margin: 0 0 2px; }
.hero .hf-card p { font-size: 13px; color: var(--brand-text); margin: 0; opacity: 1; }
.hero-visual { display: none; }
@media (min-width: 992px) {
  .hero-visual { display: flex; align-items: center; justify-content: flex-end; width: 42%; right: 24px; height: auto; }
}

@media (max-width: 767px) {
  .hero { padding-top: 110px; min-height: auto; }
  .hero-content::before { inset: -40px -16px; }
  .hero-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .hero-stats .stat-item { padding: 10px; }
  .hero-stats .stat-number { font-size: 20px; }
  .hero-stats .stat-label { font-size: 9.5px; letter-spacing: .3px; }
  .hero-cta .btn { width: 100%; justify-content: center; }
}

/* ---------- Shared section heading (pill + gradient word) ---------- */
.sec-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.sec-eyebrow {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px;
  font-size: 12px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
  color: #4338CA; background: #fff; border: 1px solid rgba(99, 102, 241, .25);
  box-shadow: 0 4px 14px rgba(79, 70, 229, .08); margin-bottom: 18px;
}
.sec-eyebrow-dot { width: 8px; height: 8px; border-radius: 50%; background: linear-gradient(135deg, #2563EB, #DB2777); }
.sec-head h2 { font-size: clamp(1.9rem, 4vw, 2.75rem); font-weight: 800; letter-spacing: -.02em; line-height: 1.15; color: var(--brand-ink); margin: 0 0 14px; }
.sec-gradient-text { background: var(--brand-gradient); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
.sec-head p { font-size: 1.05rem; line-height: 1.7; color: var(--brand-text); margin: 0 auto; max-width: 620px; }

/* ---------- Testimonials ---------- */
section.testimonials.testimonials-modern {
  padding: 110px 0;
  background: linear-gradient(180deg, #FFFFFF 0%, #F5F7FF 50%, #FFFFFF 100%) !important;
}
.testimonials-modern::before { display: none; }

.ts-featured {
  display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  border-radius: 24px; overflow: hidden; margin-bottom: 28px;
  background: #fff; border: 1px solid var(--brand-line);
  box-shadow: 0 24px 48px -24px rgba(11, 21, 51, .25);
}
.ts-featured-quote { position: relative; padding: 44px 48px; }
.ts-badge { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--color-primary); }
.ts-badge-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--color-primary); box-shadow: 0 0 0 4px rgba(37, 99, 235, .15); }
.ts-quote-mark { position: absolute; right: 44px; top: 36px; font-size: 56px; color: #EEF2FF; }
.ts-featured blockquote { margin: 18px 0 28px; font-size: clamp(1.25rem, 2.2vw, 1.6rem); line-height: 1.45; font-weight: 700; letter-spacing: -.01em; color: var(--brand-ink); }
.ts-author { display: flex; align-items: center; gap: 14px; }
.ts-author b { display: block; font-size: 15px; color: var(--brand-ink); }
.ts-author span { display: block; font-size: 13px; color: var(--brand-text); }
.ts-avatar {
  flex-shrink: 0; width: 44px; height: 44px; border-radius: 50%;
  display: grid !important; place-items: center;
  font-size: 14px; font-weight: 800; color: #fff; letter-spacing: .5px;
  background: linear-gradient(135deg, var(--svc), var(--svc-2));
}
.testimonial-author-modern .ts-avatar { width: 40px; height: 40px; font-size: 13px; }
.ts-featured-result {
  display: flex; flex-direction: column; justify-content: center;
  padding: 40px; color: #fff;
  background: linear-gradient(140deg, #0B1533 0%, #1E3A8A 55%, #6D28D9 100%);
  position: relative; overflow: hidden;
}
.ts-featured-result::after { content: ''; position: absolute; width: 260px; height: 260px; right: -80px; top: -100px; background: radial-gradient(circle, rgba(244, 114, 182, .4), transparent 70%); }
.ts-result-number { font-size: clamp(3rem, 6vw, 4.25rem); font-weight: 800; line-height: 1; letter-spacing: -.03em; }
.ts-result-label { margin: 8px 0 22px; font-size: 15px; color: rgba(255, 255, 255, .8); }
.ts-result-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; position: relative; z-index: 1; }
.ts-result-list li { display: flex; align-items: center; gap: 10px; font-size: 14px; color: rgba(255, 255, 255, .92); }
.ts-result-list i { width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; font-size: 10px; background: rgba(255, 255, 255, .16); }
.testimonial-card-modern { border-radius: 18px; }
.testimonial-quote-modern p { font-style: normal; color: #334155; }

/* Stats: numbers were rendering as solid color bars */
.stat-box-modern { border-radius: 16px; background: #fff; }
.stat-number-modern { font-variant-numeric: tabular-nums; }
.stat-blue .stat-number-modern   { background-image: linear-gradient(135deg, #2563EB, #60A5FA); }
.stat-purple .stat-number-modern { background-image: linear-gradient(135deg, #7C3AED, #A78BFA); }
.stat-green .stat-number-modern  { background-image: linear-gradient(135deg, #059669, #34D399); }
.stat-orange .stat-number-modern { background-image: linear-gradient(135deg, #D97706, #FBBF24); }
.stat-box-modern .stat-number-modern {
  background-color: transparent;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

@media (max-width: 860px) {
  .ts-featured { grid-template-columns: 1fr; }
  .ts-featured-quote { padding: 32px 24px; }
  .ts-featured-result { padding: 28px 24px; }
  .ts-quote-mark { right: 24px; top: 24px; font-size: 40px; }
}
@media (max-width: 640px) {
  section.testimonials.testimonials-modern { padding: 72px 0; }
  .sec-head { margin-bottom: 40px; }
}

/* ---------- Footer ---------- */
.footer.ft-footer {
  padding: 72px 0 28px;
  border-top: 0;
  color: rgba(255, 255, 255, .72);
  background: radial-gradient(ellipse at 100% 0%, rgba(109, 40, 217, .35), transparent 50%), linear-gradient(180deg, #0B1533 0%, #070D22 100%);
}
.ft-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); gap: 40px; padding-bottom: 44px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.ft-logo { display: inline-flex; align-items: center; gap: 10px; color: #fff; font-size: 22px; font-weight: 800; text-decoration: none; margin-bottom: 16px; }
.ft-logo:hover { color: #fff; }
.ft-brand p { font-size: 14px; line-height: 1.7; color: rgba(255, 255, 255, .65); max-width: 340px; margin: 0 0 22px; }
.ft-social { display: flex; gap: 10px; }
.ft-social a { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; color: #fff; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .1); transition: background .2s ease, transform .2s ease; }
.ft-social a:hover { background: var(--color-primary); transform: translateY(-2px); color: #fff; }
.ft-col h4 { font-size: 13px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: #fff; margin: 6px 0 18px; border: 0; padding: 0; }
.ft-col h4::before, .ft-col h4::after { display: none; }
.ft-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.ft-col a, .ft-col span { font-size: 14px; color: rgba(255, 255, 255, .7); text-decoration: none; transition: color .2s ease; }
.ft-col a:hover { color: #fff; }
.ft-contact a, .ft-contact span { display: inline-flex; align-items: center; gap: 10px; }
.ft-contact i { width: 16px; text-align: center; color: #93C5FD; }
.ft-cta { display: inline-flex !important; align-items: center; gap: 8px; margin-top: 20px; padding: 10px 18px; border-radius: 999px; font-weight: 700; color: var(--brand-ink) !important; background: #fff; }
.ft-cta:hover { transform: translateY(-1px); }
.ft-bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 24px; flex-wrap: wrap; }
.ft-bottom p { margin: 0; font-size: 13px; color: rgba(255, 255, 255, .55); }
.ft-top { font-size: 13px; color: rgba(255, 255, 255, .7); text-decoration: none; display: inline-flex; align-items: center; gap: 8px; }
.ft-top:hover { color: #fff; }
@media (max-width: 900px) {
  .ft-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ft-brand { grid-column: 1 / -1; }
}
@media (max-width: 520px) {
  .ft-grid { grid-template-columns: 1fr; gap: 32px; }
}

/* cleanup fixes */
.hero-content { max-width: 740px; }
.hero-title .title-line { font-size: clamp(2rem, 3.3vw, 2.75rem); }
.ts-author .ts-avatar { color: #fff; font-size: 14px; }
.ft-cta span { color: inherit !important; display: inline !important; }

/* =====================================================================
   SERVICES BENTO (bt-*) + CLIENTS (cl-*) + hero trust row + fixes
   ===================================================================== */

/* ---------- Global fixes ---------- */
main > section[id] { scroll-margin-top: 80px; }
.ct-submit .ct-submit-spin { display: none; }
.ct-submit.is-loading .ct-submit-spin { display: inline-block; }
/* Static background shapes: smoother scrolling, same look */
.svc-blob, .tx-blob, .dp-blob, .ct-blob { animation: none !important; }

/* ---------- Bento section ---------- */
.bt-section.bt-section {
  position: relative;
  padding: 110px 0 100px;
  margin: 0;
  border-top: 0;
  background:
    radial-gradient(ellipse 60% 50% at 0% 0%, rgba(147, 197, 253, .35), transparent 60%),
    radial-gradient(ellipse 50% 45% at 100% 100%, rgba(240, 171, 252, .25), transparent 60%),
    linear-gradient(180deg, #F7F9FE 0%, #FFFFFF 100%);
}
.bt-legend { display: flex; justify-content: center; gap: 8px; margin-top: 22px; flex-wrap: wrap; }

.bt-pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px; border-radius: 999px;
  font-size: 11px; font-weight: 700; letter-spacing: .8px; text-transform: uppercase;
  color: var(--pill); background: color-mix(in srgb, var(--pill) 10%, #fff);
  border: 1px solid color-mix(in srgb, var(--pill) 22%, transparent);
}
.bt-pill i { width: 6px; height: 6px; border-radius: 50%; background: var(--pill); }
.bt-build { --pill: #2563EB; }
.bt-scale { --pill: #059669; }
.bt-auto  { --pill: #7C3AED; }

/* ---------- Grid ---------- */
.bt-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: minmax(220px, auto);
  gap: 18px;
}
.bt-xl   { grid-column: span 2; grid-row: span 2; }
.bt-tall { grid-row: span 2; }
.bt-wide { grid-column: span 2; }
.bt-cta  { grid-column: 1 / -1; }

/* ---------- Tile ---------- */
.bt-tile {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; gap: 14px;
  padding: 22px;
  border-radius: 22px;
  background: #fff;
  border: 1px solid var(--brand-line, #E6EAF2);
  box-shadow: 0 1px 2px rgba(11, 21, 51, .04), 0 10px 30px -18px rgba(11, 21, 51, .18);
  color: var(--brand-ink, #0B1533); text-decoration: none;
  transition: transform .35s cubic-bezier(.2, .8, .2, 1), box-shadow .35s ease, border-color .35s ease;
}
a.bt-tile:hover {
  color: var(--brand-ink, #0B1533);
  transform: translateY(-6px);
  border-color: color-mix(in srgb, var(--svc) 35%, transparent);
  box-shadow: 0 26px 50px -20px color-mix(in srgb, var(--svc) 45%, transparent);
}
a.bt-tile:focus-visible { outline: 3px solid var(--svc); outline-offset: 3px; }
/* soft color wash in the corner */
.bt-tile::before {
  content: ''; position: absolute; width: 220px; height: 220px; right: -70px; top: -90px; pointer-events: none;
  background: radial-gradient(circle, color-mix(in srgb, var(--svc-2, #93C5FD) 30%, transparent), transparent 70%);
  opacity: .7; transition: opacity .35s ease;
}
a.bt-tile:hover::before { opacity: 1; }

.bt-top { display: flex; align-items: center; justify-content: space-between; position: relative; z-index: 1; }
.bt-go {
  width: 32px; height: 32px; border-radius: 50%;
  display: grid; place-items: center; font-size: 15px; font-weight: 700;
  color: var(--svc); background: color-mix(in srgb, var(--svc) 9%, #fff);
  transition: transform .3s ease, background .3s ease, color .3s ease;
}
a.bt-tile:hover .bt-go { transform: translateX(3px) rotate(-45deg); background: var(--svc); color: #fff; }

.bt-copy { position: relative; z-index: 1; }
.bt-icon {
  width: 42px; height: 42px; border-radius: 12px; margin-bottom: 12px;
  display: grid; place-items: center; color: #fff; font-size: 16px;
  background: linear-gradient(135deg, var(--svc), var(--svc-2));
  box-shadow: 0 8px 18px -6px color-mix(in srgb, var(--svc) 60%, transparent);
}
.bt-tile h3 { margin: 0 0 6px; font-size: 1.15rem; font-weight: 700; line-height: 1.3; color: var(--brand-ink, #0B1533); }
.bt-tile p { margin: 0; font-size: .92rem; line-height: 1.6; color: var(--brand-text, #475569); }
.bt-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.bt-tags span { font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 999px; color: var(--svc); background: color-mix(in srgb, var(--svc) 8%, #fff); border: 1px solid color-mix(in srgb, var(--svc) 18%, transparent); }

/* Scenes inside tiles */
.bt-tile .scene {
  position: relative; z-index: 1;
  flex: 1; min-height: 170px; width: 100%;
  border-radius: 16px;
  background: linear-gradient(135deg, color-mix(in srgb, var(--svc) 10%, #fff) 0%, color-mix(in srgb, var(--svc-2) 22%, #fff) 100%);
  transition: transform .5s cubic-bezier(.2, .8, .2, 1);
}
a.bt-tile:hover .scene { transform: scale(1.02); }

/* XL tile: copy on top, big scene below */
.bt-xl { padding: 28px; }
.bt-xl h3 { font-size: 1.6rem; letter-spacing: -.01em; }
.bt-xl p { font-size: 1rem; max-width: 440px; }
.bt-xl .scene { min-height: 230px; }
.bt-xl .browser { width: 62%; }
/* Tall tiles: scene first, copy at bottom */
.bt-tall .scene { min-height: 200px; }
/* Wide tiles: copy left, scene right */
.bt-wide { flex-direction: row; align-items: stretch; }
.bt-wide .bt-copy { flex: 1 1 46%; display: flex; flex-direction: column; justify-content: center; }
.bt-wide .bt-copy .bt-top { margin-bottom: 14px; }
.bt-wide .scene { flex: 1 1 54%; min-height: 0; }
/* Small tiles: copy pinned to bottom */
.bt-sm .bt-copy { margin-top: auto; }

/* CTA tile */
.bt-cta {
  flex-direction: row; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  padding: 30px 36px; color: #fff; border: 0;
  background: linear-gradient(120deg, #0B1533 0%, #1E3A8A 55%, #6D28D9 100%);
  box-shadow: 0 24px 48px -20px rgba(30, 58, 138, .55);
}
.bt-cta::before { width: 320px; height: 320px; right: -60px; top: -160px; opacity: 1; background: radial-gradient(circle, rgba(244, 114, 182, .45), transparent 70%); }
.bt-cta > div { position: relative; z-index: 1; }
.bt-cta h3 { color: #fff; font-size: 1.35rem; margin-bottom: 4px; }
.bt-cta p { color: rgba(255, 255, 255, .78); }
.bt-cta-btn {
  position: relative; z-index: 1;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 24px; border-radius: 999px;
  font-weight: 700; font-size: 15px; text-decoration: none;
  color: #0B1533; background: #fff;
  transition: transform .2s ease, box-shadow .2s ease;
}
.bt-cta-btn:hover { color: #0B1533; transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0, 0, 0, .25); }

/* Responsive */
@media (max-width: 1100px) {
  .bt-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bt-xl { grid-column: 1 / -1; grid-row: auto; }
  .bt-wide { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .bt-section.bt-section { padding: 72px 0; }
  .bt-grid { grid-template-columns: 1fr; grid-auto-rows: auto; gap: 14px; }
  .bt-xl, .bt-tall, .bt-wide { grid-column: auto; grid-row: auto; }
  .bt-wide { flex-direction: column; }
  .bt-wide .scene { min-height: 170px; }
  .bt-xl { padding: 22px; }
  .bt-xl h3 { font-size: 1.35rem; }
  .bt-sm .bt-copy { margin-top: 0; }
  .bt-cta { padding: 24px; }
  .bt-cta-btn { width: 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  .bt-section *, .bt-section *::before { animation: none !important; transition: none !important; }
}

/* ---------- Clients ---------- */
.cl-section.cl-section {
  padding: 110px 0;
  margin: 0;
  border-top: 0;
  background: linear-gradient(180deg, #FFFFFF 0%, #F5F7FF 100%);
}
.cl-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.cl-card {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column;
  padding: 26px 22px 22px;
  border-radius: 20px; background: #fff;
  border: 1px solid var(--brand-line, #E6EAF2);
  box-shadow: 0 10px 30px -20px rgba(11, 21, 51, .2);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.cl-card::after { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: linear-gradient(90deg, var(--svc), var(--svc-2)); }
.cl-card:hover { transform: translateY(-5px); border-color: color-mix(in srgb, var(--svc) 30%, transparent); box-shadow: 0 22px 44px -20px color-mix(in srgb, var(--svc) 45%, transparent); }
.cl-icon {
  width: 52px; height: 52px; border-radius: 14px; margin-bottom: 16px;
  display: grid; place-items: center; font-size: 22px; color: #fff;
  background: linear-gradient(135deg, var(--svc), var(--svc-2));
  box-shadow: 0 10px 20px -8px color-mix(in srgb, var(--svc) 60%, transparent);
}
.cl-industry { font-size: 11px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; color: var(--svc); margin-bottom: 6px; }
.cl-card h3 { margin: 0 0 8px; font-size: 1.15rem; font-weight: 700; color: var(--brand-ink, #0B1533); }
.cl-card p { margin: 0 0 18px; font-size: .92rem; line-height: 1.6; color: var(--brand-text, #475569); }
.cl-work { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--brand-ink, #0B1533); padding-top: 14px; border-top: 1px dashed #E2E8F0; }
.cl-work i { width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; font-size: 10px; color: #fff; background: #10B981; }
.cl-next {
  margin-top: 28px; padding: 20px 24px; border-radius: 18px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  background: #fff; border: 1px dashed color-mix(in srgb, #2563EB 35%, transparent);
}
.cl-next p { margin: 0; font-size: 15px; color: var(--brand-text, #475569); }
.cl-next b { color: var(--brand-ink, #0B1533); }
.cl-next-btn { display: inline-flex; align-items: center; gap: 8px; padding: 11px 20px; border-radius: 999px; font-weight: 700; font-size: 14px; color: #fff; background: var(--brand-ink, #0B1533); text-decoration: none; transition: background .2s ease, transform .2s ease; }
.cl-next-btn:hover { color: #fff; background: #2563EB; transform: translateY(-1px); }
@media (max-width: 1024px) { .cl-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) {
  .cl-section.cl-section { padding: 72px 0; }
  .cl-grid { grid-template-columns: 1fr; }
  .cl-next-btn { width: 100%; justify-content: center; }
}

/* ---------- Hero: honest stats + trust row ---------- */
.hero-stats .stat-number { font-size: 22px; }
.hero-trust { margin-top: 26px; display: flex; flex-direction: column; gap: 10px; }
.hero-trust-label { font-size: 12px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--brand-text, #475569); }
.hero-trust-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.hero-trust-list li {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 12px 7px 8px; border-radius: 999px;
  font-size: 13px; font-weight: 600; color: var(--brand-ink, #0B1533);
  background: rgba(255, 255, 255, .85); border: 1px solid var(--brand-line, #E6EAF2);
}
.hero-trust-list i { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-size: 11px; color: #fff; background: linear-gradient(135deg, var(--svc), var(--svc-2)); }
@media (max-width: 767px) {
  .hero-stats .stat-number { font-size: 17px; }
  .hero-trust-list li { font-size: 12px; }
}

/* Scene colors inside bento tiles (copied from the svc block) */
.bt-tile .browser-top i,
.bt-tile .phone-nav i { background: var(--svc-2); }
.bt-tile .web-heading { background: var(--svc); }
.bt-tile .web-button { background: var(--svc-2); }
.bt-tile .web-image { background: color-mix(in srgb, var(--svc-2) 35%, #fff); }
.bt-tile .web-spark { color: var(--svc); font-size: 18px; }
.bt-tile .phone { border-color: var(--svc-2); box-shadow: 0 10px 24px -8px color-mix(in srgb, var(--svc) 45%, transparent); }
.bt-tile .phone-header { background: var(--svc); }
.bt-tile .phone-card { background: color-mix(in srgb, var(--svc-2) 25%, #fff); }
.bt-tile .phone-card.small { background: color-mix(in srgb, var(--svc-2) 15%, #fff); }
.bt-tile .tap-circle { border-color: var(--svc); }
.bt-tile .cloud-icon { color: var(--svc-2); font-size: 58px; }
.bt-tile .device { color: var(--svc); font-size: 16px; padding: 10px; }
.bt-tile .sync-dot { background: var(--svc); }
.bt-tile .sync-label { color: var(--svc); }
.bt-tile .flow-node { color: var(--svc); font-size: 14px; }
.bt-tile .flow-line { background: color-mix(in srgb, var(--svc) 40%, #fff); }
.bt-tile .flow-particle { background: var(--svc); box-shadow: 0 0 10px var(--svc-2); }
.bt-tile .ai-orb { background: linear-gradient(135deg, var(--svc), var(--svc-2)); font-size: 24px; box-shadow: 0 0 30px color-mix(in srgb, var(--svc-2) 60%, transparent); }
.bt-tile .bubble-two span { background: var(--svc-2); }
.bt-tile .api-box { color: var(--svc); }
.bt-tile .api-center { background: linear-gradient(135deg, var(--svc), var(--svc-2)); color: #fff; }
.bt-tile .api-connection { background: color-mix(in srgb, var(--svc) 35%, #fff); }
.bt-tile .packet-one { background: var(--svc); }
.bt-tile .packet-two { background: var(--svc-2); }
.bt-tile .chart-label, .bt-tile .chart-growth { color: var(--svc); }
.bt-tile .chart-bars { border-bottom-color: color-mix(in srgb, var(--svc) 35%, #fff); }
.bt-tile .chart-bars div { background: var(--svc-2); }
.bt-tile .chart-bars div:nth-child(even) { background: var(--svc); }

/* Clients - "Delivered" row with tags */
.cl-work { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.cl-work-label { font-size: 11px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; color: var(--brand-text, #475569); }
.cl-tags { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.cl-tags li {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 10px; border-radius: 999px;
  font-size: 12px; font-weight: 600;
  color: var(--svc); background: color-mix(in srgb, var(--svc) 8%, #fff);
  border: 1px solid color-mix(in srgb, var(--svc) 22%, transparent);
}
.cl-tags li i { font-size: 11px; }.cl-work .cl-tags li i { width: auto; height: auto; display: inline; background: none; color: inherit; border-radius: 0; font-size: 11px; }
/* Header glass on a pseudo-element: a backdrop-filter on .header itself
   traps the fixed mobile menu inside the 72px header */
.header, .header.scrolled { -webkit-backdrop-filter: none; backdrop-filter: none; background: transparent; }
.header::before {
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: rgba(255, 255, 255, .86);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  backdrop-filter: saturate(180%) blur(14px);
  transition: background .3s ease;
}
.header.scrolled::before { background: rgba(255, 255, 255, .95); }
body.nav-open .header::before { background: #fff; }
@media (max-width: 991px) {
  .main-nav { z-index: 5; overflow-y: auto; }
}@media (max-width: 991px) {
  .main-nav { flex-direction: column; align-items: stretch; justify-content: flex-start; }
  .main-nav .nav-list { width: 100%; }
  .main-nav .nav-item { width: 100%; }
  .main-nav .nav-link { width: 100%; }
}
/* ---------- Fallbacks for browsers without color-mix() (Safari < 16.2, Chrome < 111) ---------- */
@supports not (color: color-mix(in srgb, red 50%, blue)) {
  .sia-card, .bt-cta { background: linear-gradient(140deg, var(--svc, #2563EB), var(--svc-2, #60A5FA)); }
  .bt-tile .scene, .svc-card .scene, .mb-stage { background: linear-gradient(135deg, #F8FAFF, #EEF2FF); }
  .bt-tags span, .svc-tags span, .cl-tags li, .bt-pill, .sia-tab-icon, .bt-go { background: #F1F5F9; }
  .bt-pill { color: var(--pill); }
  .sx-cart, .sx-methods span.on, .mb-done-chip { background: #EFF6FF; }
  .cb-bar, .an-pill { background: #EEF2FF; }
}

/* =====================================================================
   SERVICES SHOWCASE (sv-*) - grouped service menu + animated demo panel.
   Builds on the sia-* engine/styles. New scenes: ws- website,
   ds- UI/UX design, au- automation. Colors from svc-* (--svc / --svc-2).
   ===================================================================== */
.sia-section.sv-section {
  padding: 110px 0 100px;
  overflow: visible; /* keeps the sticky service menu working */
  background:
    radial-gradient(ellipse 60% 50% at 0% 0%, rgba(147, 197, 253, .30), transparent 60%),
    radial-gradient(ellipse 50% 45% at 100% 100%, rgba(240, 171, 252, .22), transparent 60%),
    linear-gradient(180deg, #F7F9FE 0%, #FFFFFF 100%);
}
.sv-layout {
  display: grid;
  grid-template-columns: minmax(0, 340px) minmax(0, 1fr);
  gap: 48px;
  align-items: start;
  margin-top: 8px;
}
.sv-nav { position: sticky; top: 96px; }

/* Group labels */
.sv-tabs { gap: 2px; }
.sv-group {
  display: flex; align-items: center; gap: 8px;
  padding: 14px 14px 4px;
  font-size: 11px; font-weight: 800; letter-spacing: 1.4px; text-transform: uppercase;
  color: var(--g);
}
.sv-group:first-child { padding-top: 0; }
.sv-group i { width: 18px; height: 2px; border-radius: 2px; background: var(--g); }
.sv-g-build { --g: #2563EB; }
.sv-g-scale { --g: #059669; }
.sv-g-auto  { --g: #7C3AED; }

/* Tabs: a little tighter than the original */
.sv-tabs .sia-tab { padding: 10px 14px; gap: 12px; }
.sv-tabs .sia-tab-icon { width: 36px; height: 36px; font-size: 15px; border-radius: 10px; }
.sv-tabs .sia-tab-text b { font-size: 14.5px; }
.sv-tabs .sia-tab-text span { font-size: 12.5px; }

/* "Not sure where to start?" card */
.sv-help {
  margin-top: 18px; padding: 18px 20px;
  display: flex; flex-direction: column; gap: 4px;
  border-radius: 18px; color: #fff;
  background: linear-gradient(120deg, #0B1533 0%, #1E3A8A 60%, #6D28D9 100%);
  box-shadow: 0 20px 40px -24px rgba(30, 58, 138, .7);
}
.sv-help b { font-size: 15px; }
.sv-help span { font-size: 13px; line-height: 1.55; color: rgba(255, 255, 255, .78); }
.sv-help a { margin-top: 8px; font-size: 13.5px; font-weight: 700; color: #fff; text-decoration: none; }
.sv-help a:hover { text-decoration: underline; color: #fff; }

/* Panel */
.sv-panel { min-height: 0; padding: 30px; }
.sv-panel .sia-convo { gap: 14px; }
.sv-panel .sia-card { width: 100%; }

/* Details card under each demo */
.sv-details {
  padding: 18px 20px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid #E6EAF2;
  opacity: 0; transform: translateY(8px);
  transition: opacity .5s ease 1.1s, transform .5s ease 1.1s;
}
.sia-convo.show .sv-details { opacity: 1; transform: none; }
.sv-details-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-bottom: 6px; }
.sv-details h3 { margin: 0; font-size: 1.12rem; font-weight: 800; letter-spacing: -.01em; color: #0B1533; }
.sv-time {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px; border-radius: 999px;
  font-size: 12.5px; font-weight: 700;
  color: var(--svc); background: color-mix(in srgb, var(--svc) 9%, #fff);
}
.sv-details p { margin: 0 0 12px; font-size: 14.5px; line-height: 1.6; color: #475569; }
.sv-incl { list-style: none; margin: 0 0 14px; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px 16px; }
.sv-incl li { position: relative; margin: 0; padding: 0 0 0 23px; font-size: 13.5px; font-weight: 600; color: #0B1533; }
.sv-incl li::before {
  content: '\f00c'; font-family: 'Font Awesome 6 Free'; font-weight: 900;
  position: absolute; left: 0; top: 2px;
  width: 16px; height: 16px; border-radius: 50%;
  display: grid; place-items: center; font-size: 8px; color: #fff;
  background: linear-gradient(135deg, var(--svc), var(--svc-2));
}
.sv-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; padding-top: 12px; border-top: 1px dashed #E2E8F0; }
.sv-stack { font-size: 12.5px; font-weight: 600; color: #64748B; }
.sv-cta {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 9px 16px; border-radius: 999px;
  font-size: 13.5px; font-weight: 700; color: #fff; text-decoration: none;
  background: linear-gradient(135deg, var(--svc), var(--svc-2));
  box-shadow: 0 10px 20px -10px color-mix(in srgb, var(--svc) 70%, transparent);
  transition: transform .2s ease, box-shadow .2s ease;
}
.sv-cta:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 14px 26px -10px color-mix(in srgb, var(--svc) 70%, transparent); }
.sv-cta:focus-visible { outline: 3px solid color-mix(in srgb, var(--svc) 40%, transparent); outline-offset: 2px; }

/* ---------- Scene: Website (ws-) ---------- */
.ws-stage { background: #fff; }
.ws-bar { height: 34px; display: flex; align-items: center; gap: 10px; padding: 0 12px; background: #F8FAFC; border-bottom: 1px solid #EEF2F7; }
.ws-dots { display: flex; gap: 4px; }
.ws-dots i { width: 7px; height: 7px; border-radius: 50%; background: #CBD5E1; }
.ws-url {
  flex: 1; max-width: 220px; margin: 0 auto; height: 20px;
  display: flex; align-items: center; gap: 6px; padding: 0 8px;
  font-size: 10.5px; color: #64748B;
  background: #fff; border: 1px solid #E2E8F0; border-radius: 6px;
}
.ws-url i { font-size: 9px; color: #16A34A; }
.ws-devices { display: flex; gap: 3px; }
.ws-dev { width: 24px; height: 20px; border-radius: 6px; display: grid; place-items: center; font-size: 10px; color: #94A3B8; transition: background .3s, color .3s; }
.ws-dev.on { color: var(--svc); background: color-mix(in srgb, var(--svc) 14%, #fff); }
.ws-view { position: absolute; left: 0; right: 0; top: 34px; bottom: 0; display: flex; justify-content: center; padding: 12px; overflow: hidden; background: #EEF2F7; }
.ws-site {
  width: 100%; max-width: 520px; padding: 10px 14px; overflow: hidden;
  background: #fff; border-radius: 10px;
  box-shadow: 0 8px 20px -12px rgba(11, 21, 51, .3);
  transition: max-width .8s cubic-bezier(.4, 0, .2, 1), padding .5s ease;
}
.ws-site.mobile { max-width: 150px; padding: 8px; }
.ws-nav { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.ws-brand { width: 46px; height: 10px; border-radius: 4px; background: linear-gradient(90deg, var(--svc), var(--svc-2)); }
.ws-nav span { width: 28px; height: 6px; border-radius: 3px; background: #E2E8F0; }
.ws-nav span:first-of-type { margin-left: auto; }
.ws-burger { display: none; margin-left: auto; flex-direction: column; gap: 3px; }
.ws-burger i { display: block; width: 14px; height: 2px; border-radius: 2px; background: #64748B; }
.ws-hero { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.ws-hero-text { flex: 1 1 55%; min-width: 0; }
.ws-h1 { margin-bottom: 8px; font-size: 16px; font-weight: 800; line-height: 1.2; letter-spacing: -.01em; color: #0B1533; transition: font-size .5s ease; }
.ws-p { width: 90%; height: 6px; margin-bottom: 5px; border-radius: 3px; background: #E2E8F0; }
.ws-p.ws-short { width: 65%; }
.ws-btn { display: inline-block; margin-top: 8px; padding: 6px 12px; border-radius: 999px; font-size: 10.5px; font-weight: 700; color: #fff; background: linear-gradient(135deg, var(--svc), var(--svc-2)); }
.ws-hero-img {
  flex: 1 1 45%; height: 96px; border-radius: 10px;
  display: grid; place-items: center; font-size: 30px; color: var(--svc);
  background: linear-gradient(135deg, color-mix(in srgb, var(--svc-2) 35%, #fff), color-mix(in srgb, var(--svc) 22%, #fff));
  transition: height .5s ease, font-size .5s ease;
}
.ws-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.ws-cards div { height: 44px; border-radius: 8px; background: #F1F5F9; border: 1px solid #E2E8F0; transition: height .5s ease; }
/* mobile layout */
.ws-site.mobile .ws-nav span { display: none; }
.ws-site.mobile .ws-burger { display: flex; }
.ws-site.mobile .ws-hero { flex-direction: column; align-items: stretch; gap: 8px; }
.ws-site.mobile .ws-hero-img { order: -1; height: 54px; font-size: 20px; }
.ws-site.mobile .ws-h1 { font-size: 12px; }
.ws-site.mobile .ws-cards { grid-template-columns: 1fr; gap: 6px; }
.ws-site.mobile .ws-cards div { height: 22px; }
.ws-site.mobile .ws-cards div:nth-child(3) { display: none; }
/* build-in: blocks appear one by one */
.ws-nav, .ws-hero-text > *, .ws-hero-img, .ws-cards div { opacity: 0; transform: translateY(8px); transition: opacity .45s ease, transform .45s ease, height .5s ease, font-size .5s ease; }
.ws-site.built .ws-nav, .ws-site.built .ws-hero-text > *, .ws-site.built .ws-hero-img, .ws-site.built .ws-cards div { opacity: 1; transform: none; }
.ws-site.built .ws-h1 { transition-delay: .15s; }
.ws-site.built .ws-p { transition-delay: .3s; }
.ws-site.built .ws-btn { transition-delay: .45s; }
.ws-site.built .ws-hero-img { transition-delay: .35s; }
.ws-site.built .ws-cards div:nth-child(1) { transition-delay: .6s; }
.ws-site.built .ws-cards div:nth-child(2) { transition-delay: .7s; }
.ws-site.built .ws-cards div:nth-child(3) { transition-delay: .8s; }
/* quote form */
.ws-form {
  position: absolute; right: 16px; top: 56px; z-index: 20;
  width: 190px; padding: 12px;
  display: flex; flex-direction: column; gap: 6px;
  background: #fff; border-radius: 12px;
  box-shadow: 0 18px 40px -12px rgba(11, 21, 51, .35);
  opacity: 0; transform: translateY(10px) scale(.96); pointer-events: none;
  transition: opacity .3s ease, transform .35s cubic-bezier(.2, .9, .3, 1.2);
}
.ws-form.open { opacity: 1; transform: none; }
.ws-form b { font-size: 12px; }
.ws-in { padding: 6px 8px; font-size: 10.5px; color: #475569; background: #F8FAFC; border: 1px solid #E2E8F0; border-radius: 7px; }
.ws-send { display: flex; align-items: center; justify-content: center; gap: 6px; padding: 7px; border-radius: 8px; font-size: 11px; font-weight: 700; color: #fff; background: linear-gradient(135deg, var(--svc), var(--svc-2)); }
.ws-badges {
  position: absolute; left: 50%; bottom: 12px; z-index: 15;
  display: flex; gap: 6px;
  opacity: 0; transform: translate(-50%, 16px);
  transition: opacity .4s ease, transform .45s cubic-bezier(.2, .9, .3, 1.2);
}
.ws-badges.show { opacity: 1; transform: translate(-50%, 0); }
.ws-badges span { display: inline-flex; align-items: center; gap: 5px; padding: 5px 9px; border-radius: 999px; font-size: 10.5px; font-weight: 700; white-space: nowrap; color: #fff; background: #0B1533; box-shadow: 0 8px 18px -8px rgba(11, 21, 51, .5); }
.ws-badges i { color: #34D399; }

/* ---------- Scene: UI/UX design (ds-) ---------- */
.ds-stage { background: #F5F5F7; }
.ds-top { height: 36px; display: flex; align-items: center; gap: 10px; padding: 0 12px; font-size: 11px; color: #E5E7EB; background: #1E1E1E; }
.ds-file i { color: #F24E1E; margin-right: 4px; }
.ds-avatars { margin-left: auto; display: flex; }
.ds-avatars i { width: 20px; height: 20px; margin-left: -6px; border-radius: 50%; border: 2px solid #1E1E1E; display: grid; place-items: center; font-style: normal; font-size: 9.5px; font-weight: 700; color: #fff; background: #7C3AED; }
.ds-avatars i + i { background: #0EA5E9; }
.ds-play { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 6px; font-size: 10.5px; font-weight: 700; background: #2C2C2C; transition: background .3s, color .3s; }
.ds-play.on { color: #fff; background: var(--svc); }
.ds-body { position: absolute; left: 0; right: 0; top: 36px; bottom: 0; display: grid; grid-template-columns: 92px minmax(0, 1fr) 104px; }
.ds-layers, .ds-props { padding: 10px 8px; display: flex; flex-direction: column; gap: 4px; font-size: 10.5px; color: #475569; background: #fff; }
.ds-layers { border-right: 1px solid #E5E7EB; }
.ds-props { border-left: 1px solid #E5E7EB; }
.ds-layers b, .ds-props b { margin: 2px 0 4px; font-size: 9.5px; letter-spacing: .6px; text-transform: uppercase; color: #94A3B8; }
.ds-layers span { padding: 4px 6px; border-radius: 5px; transition: background .3s, color .3s; }
.ds-layers span.on { font-weight: 700; color: var(--svc); background: color-mix(in srgb, var(--svc) 14%, #fff); }
.ds-swatches { display: grid; grid-template-columns: repeat(4, 1fr); gap: 5px; margin-bottom: 8px; }
.ds-swatches span { aspect-ratio: 1; border-radius: 5px; background: var(--c); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .08); transition: box-shadow .25s; }
.ds-swatches span.on { box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--c); }
.ds-font { margin-bottom: 6px; padding: 4px 6px; font-size: 10.5px; color: #0B1533; border: 1px solid #E5E7EB; border-radius: 5px; }
.ds-canvas { display: grid; place-items: center; padding: 10px; background-color: #F5F5F7; background-image: radial-gradient(#D4D4D8 1px, transparent 1px); background-size: 14px 14px; }
.ds-board {
  position: relative; width: 156px; padding: 10px;
  display: flex; flex-direction: column; gap: 8px;
  background: #fff; border-radius: 14px;
  box-shadow: 0 10px 24px -10px rgba(0, 0, 0, .25);
  transition: box-shadow .5s ease;
}
.ds-hdr { display: flex; align-items: center; gap: 6px; }
.ds-hdr i { width: 16px; height: 16px; border-radius: 5px; background: #E5E7EB; transition: background .5s; }
.ds-hdr span { flex: 1; height: 6px; border-radius: 3px; background: #E5E7EB; }
.ds-title span { display: block; font-size: 12px; font-weight: 800; line-height: 1.25; color: transparent; background: #E5E7EB; border-radius: 4px; transition: color .5s ease .1s, background .5s ease .1s; }
.ds-txt { width: 80%; height: 6px; border-radius: 3px; background: #EEF0F3; }
.ds-slots { display: flex; gap: 5px; }
.ds-slots span { flex: 1; padding: 5px 0; text-align: center; font-size: 9.5px; font-weight: 700; color: transparent; background: #F1F5F9; border: 1px solid transparent; border-radius: 6px; transition: all .5s ease .2s; }
.ds-btn { display: block; padding: 7px; text-align: center; font-size: 10.5px; font-weight: 700; color: transparent; background: #D4D4D8; border-radius: 4px; transition: all .5s ease .3s; }
.ds-select { position: absolute; left: 6px; right: 6px; bottom: 6px; height: 35px; border: 1.5px solid #0D99FF; border-radius: 3px; opacity: 0; pointer-events: none; transition: opacity .2s; }
.ds-select::before, .ds-select::after { content: ''; position: absolute; width: 5px; height: 5px; background: #fff; border: 1.5px solid #0D99FF; }
.ds-select::before { left: -4px; top: -4px; }
.ds-select::after { right: -4px; bottom: -4px; }
.ds-select.show { opacity: 1; }
/* styled state */
.ds-board.styled .ds-hdr i { background: linear-gradient(135deg, var(--svc), var(--svc-2)); }
.ds-board.styled .ds-title span { color: #0B1533; background: transparent; }
.ds-board.styled .ds-slots span { color: #475569; background: #fff; border-color: color-mix(in srgb, var(--svc) 25%, #E2E8F0); }
.ds-board.styled .ds-slots span:nth-child(2) { color: var(--svc); background: color-mix(in srgb, var(--svc) 12%, #fff); border-color: var(--svc); }
.ds-board.styled .ds-btn { color: #fff; border-radius: 10px; background: linear-gradient(135deg, var(--svc), var(--svc-2)); box-shadow: 0 8px 16px -8px color-mix(in srgb, var(--svc) 70%, transparent); }
.ds-board.proto { box-shadow: 0 0 0 3px color-mix(in srgb, var(--svc) 35%, transparent), 0 14px 30px -10px rgba(0, 0, 0, .3); }
.ds-board.proto .ds-btn { animation: dsHot 1.3s ease-in-out infinite; }
@keyframes dsHot { 0%, 100% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--svc) 45%, transparent); } 50% { box-shadow: 0 0 0 6px color-mix(in srgb, var(--svc) 0%, transparent); } }
.sia-section.sia-paused .ds-board.proto .ds-btn { animation-play-state: paused; }

/* ---------- Scene: Automation (au-) ---------- */
.au-stage { background: linear-gradient(180deg, #F8FAFC 0%, #FFFFFF 100%); }
.au-head { height: 42px; display: flex; align-items: center; gap: 8px; padding: 0 14px; font-size: 12px; background: #fff; border-bottom: 1px solid #EEF2F7; }
.au-head > i { color: var(--svc); }
.au-status { margin-left: auto; padding: 3px 8px; border-radius: 999px; font-size: 10.5px; font-weight: 700; color: #64748B; background: #F1F5F9; transition: background .3s, color .3s; }
.au-status.running { color: #B45309; background: #FEF3C7; }
.au-status.ok { color: #15803D; background: #DCFCE7; }
.au-run { display: inline-flex; align-items: center; gap: 6px; padding: 6px 11px; border-radius: 8px; font-size: 11px; font-weight: 700; color: #fff; background: linear-gradient(135deg, var(--svc), var(--svc-2)); }
.au-flow { position: absolute; left: 50%; top: 54px; width: min(300px, 86%); transform: translateX(-50%); display: flex; flex-direction: column; }
.au-node {
  height: 38px; padding: 6px 10px;
  display: flex; align-items: center; gap: 10px;
  background: #fff; border: 1px solid #E2E8F0; border-radius: 11px;
  box-shadow: 0 4px 12px -8px rgba(11, 21, 51, .25);
  transition: border-color .3s, box-shadow .3s, transform .3s;
}
.au-ic { flex: 0 0 auto; width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; font-size: 12px; color: #fff; background: var(--c); }
.au-txt { display: flex; flex-direction: column; min-width: 0; line-height: 1.2; }
.au-txt b { font-size: 11.5px; }
.au-txt small { font-size: 10px; color: #64748B; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.au-ok { flex: 0 0 auto; margin-left: auto; width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center; font-size: 9px; color: #fff; background: #10B981; transform: scale(0); transition: transform .35s cubic-bezier(.2, .9, .3, 1.4); }
.au-node.active { border-color: var(--svc); box-shadow: 0 0 0 3px color-mix(in srgb, var(--svc) 18%, transparent); transform: translateX(3px); }
.au-node.done .au-ok { transform: scale(1); }
.au-link { position: relative; height: 10px; }
.au-link::before { content: ''; position: absolute; left: 23px; top: 0; bottom: 0; width: 2px; background: #E2E8F0; transition: background .3s; }
.au-link i { position: absolute; left: 20px; top: -2px; width: 8px; height: 8px; border-radius: 50%; background: var(--svc); opacity: 0; }
.au-link.flow::before { background: var(--svc); }
.au-link.flow i { animation: auDrop .35s ease-in forwards; }
@keyframes auDrop { from { opacity: 1; transform: translateY(-4px); } to { opacity: 0; transform: translateY(10px); } }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .sv-layout { grid-template-columns: minmax(0, 290px) minmax(0, 1fr); gap: 28px; }
  .sv-tabs .sia-tab-text span { display: none; }
}
@media (max-width: 960px) {
  .sia-section.sv-section { padding: 80px 0; }
  .sv-layout { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .sv-nav { position: static; }
  .sv-group, .sv-help { display: none; }
  .sv-tabs .sia-tab { padding: 8px 14px 8px 8px; }
}
@media (max-width: 560px) {
  .sv-panel { padding: 18px 12px 20px; }
  .sv-details { padding: 16px; }
  .sv-incl { grid-template-columns: 1fr; }
  .sv-cta { width: 100%; justify-content: center; }
  .ds-body { grid-template-columns: 0 minmax(0, 1fr) 92px; }
  .ds-layers { display: none; }
  .ws-form { right: 10px; width: 170px; }
  .ws-url { display: none; }
  .ws-devices { margin-left: auto; }
  .ws-badges span { font-size: 9.5px; padding: 4px 7px; }
}
@media (prefers-reduced-motion: reduce) {
  .sv-details { opacity: 1; transform: none; }
}


/* =====================================================================
   COLOR SYSTEM (2026-11-02) - one place for the site's color rules.
   Brand: navy #0B1533 (ink), blue #2563EB (primary), violet #7C3AED (secondary).
   Accents: 5 only (blue, violet, pink, green, amber). --svc is always a
   text-safe shade (>= 4.5:1 on white); --svc-2 is the light shade for
   decoration only, never under white text.
   Section rhythm: white / #F8FAFC, one dark navy section (Tech Stack).
   ===================================================================== */

/* ---------- 1. Accent palette: 9 classes -> 5 colors ---------- */
.svc-blue, .svc-indigo, .svc-cyan { --svc: #2563EB; --svc-2: #60A5FA; }
.svc-violet                       { --svc: #7C3AED; --svc-2: #A78BFA; }
.svc-pink, .svc-rose              { --svc: #DB2777; --svc-2: #F472B6; }
.svc-green                        { --svc: #047857; --svc-2: #34D399; }
.svc-amber, .svc-orange           { --svc: #B45309; --svc-2: #FBBF24; }

/* ---------- 2. White text sits on solid colors, never on light gradient ends ---------- */
.sv-cta { background: #0B1533; box-shadow: 0 10px 20px -12px rgba(11, 21, 51, .6); }
.sv-cta:hover { background: #2563EB; box-shadow: 0 14px 26px -12px rgba(37, 99, 235, .6); }
.tx-filter.is-active,
.ct-chip input:checked + span,
.dp-kicker-num,
.dp-nav-link.is-active .dp-nav-num,
.ct-step-num,
.ws-btn, .ws-send, .au-run,
.ds-board.styled .ds-btn { background: var(--svc); }
.ct-submit { background: #2563EB; background-size: auto; box-shadow: 0 16px 32px -14px rgba(37, 99, 235, .65); }
.ct-submit:hover { background: #1D4ED8; box-shadow: 0 20px 36px -14px rgba(37, 99, 235, .7); }

/* Small gray labels: darker gray so they stay readable */
.sia-section { --sia-muted: #64748B; }
.ds-layers b, .ds-props b { color: #64748B; }
.ct-field input::placeholder, .ct-field textarea::placeholder { color: #7C8BA1; }
.sv-g-scale { --g: #047857; }

/* ---------- 3. Headings: gradient only in hero + contact ---------- */
.sv-section .sec-gradient-text,
.cl-section .sec-gradient-text,
.dp-header .svc-gradient-text {
  background: none; animation: none;
  color: #2563EB; -webkit-text-fill-color: #2563EB;
}
/* Contact keeps the gradient; each wrapped line gets the full gradient */
.ct-header .svc-gradient-text {
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
/* Card titles and numbers: solid colors */
.dp-body h3, .tx-stack h3 { background: none; color: var(--dp-ink, #0B1533); -webkit-text-fill-color: currentColor; }
.dp-rail-card strong { background: none; color: #2563EB; -webkit-text-fill-color: #2563EB; }
.dp-stat strong { background: none; color: var(--svc); -webkit-text-fill-color: var(--svc); }

/* ---------- 4. Section rhythm: white / light gray, no tinted washes ---------- */
.sia-section.sv-section { background: #FFFFFF; }
.dp-section { background: #F8FAFC; }
.cl-section.cl-section { background: #FFFFFF; }
.ct-section { background: #F8FAFC; }
.dp-bg, .ct-bg { display: none; }

/* ---------- 5. Tech Stack: the one dark navy section ---------- */
.tx-section {
  --tx-ink: #F1F5F9;
  --tx-text: #A5B4CB;
  --tx-card: #111B3A;
  --tx-line: rgba(255, 255, 255, .09);
  background:
    radial-gradient(ellipse 55% 45% at 50% 0%, rgba(37, 99, 235, .28), transparent 70%),
    #0B1533;
}
.tx-blob { display: none; }
.tx-grid {
  background-image:
    linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px);
}
.tx-header .svc-gradient-text { background: none; animation: none; color: #93C5FD; -webkit-text-fill-color: #93C5FD; }
.tx-section .svc-eyebrow { color: #C7D2FE; background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .14); box-shadow: none; }
.tx-filter { color: #CBD5E1; background: rgba(255, 255, 255, .05); border-color: rgba(255, 255, 255, .12); backdrop-filter: none; }
.tx-filter i { color: var(--svc-2); }
.tx-filter:hover { color: #fff; border-color: rgba(255, 255, 255, .3); }
.tx-filter.is-active { color: #fff; box-shadow: 0 10px 22px -10px rgba(0, 0, 0, .6); }
.tx-filter[data-cat="all"].is-active { color: #0B1533; background: #fff; box-shadow: none; }
.tx-filter[data-cat="all"].is-active .tx-count { background: rgba(11, 21, 51, .1); }
.tx-item { box-shadow: none; }
.tx-item:hover { border-color: color-mix(in srgb, var(--svc-2) 55%, transparent); box-shadow: 0 16px 30px -18px color-mix(in srgb, var(--svc-2) 60%, transparent); }
.tx-text small { color: var(--svc-2); }
.tx-logo { border-color: transparent; box-shadow: none; }
.tx-stack { box-shadow: none; }
.tx-stack::after { opacity: .5; }
.tx-stack h3 { color: #F1F5F9; }
.tx-stack:hover { border-color: color-mix(in srgb, var(--svc-2) 45%, transparent); box-shadow: 0 24px 50px -30px color-mix(in srgb, var(--svc-2) 60%, transparent); }
.tx-section.is-filtering .tx-item.is-match { border-color: color-mix(in srgb, var(--svc-2) 60%, transparent); }
.tx-cta {
  background: linear-gradient(120deg, #1D4ED8 0%, #6D28D9 100%);
  border: 1px solid rgba(255, 255, 255, .12);
  box-shadow: none;
}
.tx-cta-text span { color: #E0E7FF; }

/* No color-mix() support: keep the dark tiles readable */
@supports not (color: color-mix(in srgb, red 50%, blue)) {
  .tx-item:hover, .tx-stack:hover { border-color: rgba(255, 255, 255, .3); }
}

/* Hero: no floating dots for visitors who turn motion off (the network is drawn still in script.js) */
@media (prefers-reduced-motion: reduce) {
  .hero .particles-container { display: none; }
}

/* ---------- Brand logo ---------- */
/* Logo image (images/baelify-logo.png, navy; baelify-logo-white.png for the dark footer; ratio 1047:210) */
.logo .brand-logo-img { display: block; height: 40px; width: auto; }
.ft-logo .brand-logo-img { display: block; height: 38px; width: auto; }
@media (max-width: 560px) {
  .logo .brand-logo-img { height: 32px; }
}

/* =====================================================================
   BRAND GREEN (2026-11-02) - ties the page to the leaf logo.
   Blue stays the action color (buttons, links). Logo green is used for
   small accents; violet is now only a service color (Automate).
   Logo greens: #8BD51B (light), #39B916 (mid), #087A38 (dark).
   ===================================================================== */
:root {
  --leaf-light: #8BD51B;
  --leaf: #39B916;
  --leaf-dark: #087A38;
  --leaf-gradient: linear-gradient(135deg, #8BD51B, #087A38);
}

/* ---------- 1. Green accents ---------- */
/* Dots in the small labels above headings */
.tag-dot, .sec-eyebrow-dot, .svc-eyebrow-dot, .sia-eyebrow-dot {
  background: var(--leaf-gradient);
  box-shadow: 0 0 0 4px rgba(57, 185, 22, .16);
}
/* Label text: brand blue instead of indigo */
.sec-eyebrow, .svc-eyebrow { color: #1D4ED8; border-color: rgba(37, 99, 235, .2); box-shadow: 0 4px 14px rgba(37, 99, 235, .07); }
.tx-section .svc-eyebrow { color: #DBEAFE; }
/* Active menu underline */
.header .nav-link::after, .header .nav-link.active::after { background: var(--leaf-gradient); }
/* "Delivered" ticks on client cards */
.cl-work i { background: var(--leaf-gradient); }

/* ---------- 2. Less violet: navy cards with a soft green glow ---------- */
.sv-help {
  background:
    radial-gradient(circle at 100% 0%, rgba(57, 185, 22, .28), transparent 55%),
    linear-gradient(120deg, #0B1533 0%, #1E3A8A 100%);
}
.tx-cta {
  background:
    radial-gradient(ellipse 40% 120% at 100% 50%, rgba(57, 185, 22, .30), transparent 70%),
    linear-gradient(120deg, #1D4ED8 0%, #1E3A8A 100%);
}
.ct-panel { background: linear-gradient(160deg, #0B1533 0%, #13265E 60%, #0E3340 100%); }
.ct-panel-glow { background: conic-gradient(from 0deg, #2563EB, #39B916, #60A5FA, #8BD51B, #2563EB); opacity: .28; }
.ct-steps::before { background: linear-gradient(180deg, #60A5FA, #8BD51B); }
.ct-card::before { background: linear-gradient(90deg, #2563EB, #39B916); }
/* Contact heading: blue to green, no moving shine */
.ct-header .svc-gradient-text {
  background: linear-gradient(90deg, #2563EB 0%, #15803D 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  animation: none;
}
.footer.ft-footer {
  background:
    radial-gradient(ellipse at 100% 0%, rgba(37, 99, 235, .30), transparent 50%),
    radial-gradient(ellipse at 0% 100%, rgba(57, 185, 22, .12), transparent 45%),
    linear-gradient(180deg, #0B1533 0%, #070D22 100%);
}

/* ---------- 4 + 5. Hero: white at the top (blends with the header) and
   at the bottom (blends into Services), soft blue/green tint between ---------- */
.hero {
  background:
    radial-gradient(ellipse 50% 45% at 6% 20%, rgba(37, 99, 235, .07), transparent 70%),
    radial-gradient(ellipse 45% 40% at 94% 80%, rgba(57, 185, 22, .07), transparent 70%),
    linear-gradient(180deg, #FFFFFF 0%, #F4F7FC 20%, #F4F7FC 80%, #FFFFFF 100%);
}
.hero-content::before {
  background: radial-gradient(ellipse at 40% 50%, rgba(244, 247, 252, .92) 0%, rgba(244, 247, 252, .75) 45%, rgba(244, 247, 252, 0) 72%);
}

/* Privacy policy links (footer + contact consent) */
.ft-bottom .ft-legal { color: rgba(255, 255, 255, .75); text-decoration: underline; text-underline-offset: 3px; }
.ft-bottom .ft-legal:hover { color: #fff; }
.ct-consent a { color: #2563EB; font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }

/* =====================================================================
   WIDE LAYOUT (2026-11-02) - content uses most of the screen width with a
   side margin that grows with the screen (20px on phones, up to 72px on
   big monitors). Headings and paragraphs keep their own reading widths.
   ===================================================================== */
:root { --container-max-width: 1760px; }
.container {
  max-width: var(--container-max-width);
  padding-left: clamp(16px, 4.5vw, 72px);
  padding-right: clamp(16px, 4.5vw, 72px);
}
/* Big screens: slightly larger hero text so the wider hero doesn't feel empty */
@media (min-width: 1440px) {
  .hero-content { max-width: min(57vw, 1040px); }
  .hero-title .title-line { font-size: clamp(2.75rem, 3.2vw, 3.6rem); }
  .hero-subtitle p { font-size: 1.2rem; max-width: 620px; }
}
/* Small laptops: keep the headline clear of the feature cards on the right */
@media (min-width: 992px) and (max-width: 1279px) {
  .hero-content { max-width: 56%; }
}
/* "How we work" photos: wider and shorter so cards don't get too tall */
@media (min-width: 1280px) {
  .dp-media { aspect-ratio: 21 / 9; }
}

/* =====================================================================
   AI AGENTS + MULTI-PAGE (2026-11-10)
   nd-  Services drop-down in the header (all pages)
   ax-  "AI Agents" demo scene in the Services showcase
   ag-  AI Agents section on the home page
   Uses the existing palette: --svc / --svc-2 from the svc-* classes,
   navy #0B1533, blue #2563EB, leaf greens.
   ===================================================================== */

/* ---------- Section rhythm: Services white, AI Agents gray, Process white ---------- */
.dp-section { background: #FFFFFF; }

/* ---------- Header: Services drop-down (nd-) ---------- */
.nd { position: relative; display: flex; align-items: center; }
.nd-toggle {
  display: grid; place-items: center;
  width: 22px; height: 30px; margin-left: -10px; padding: 0;
  font-size: 10px; color: #64748B;
  background: transparent; border: 0; border-radius: 6px; cursor: pointer;
}
.nd-toggle i { transition: transform .25s ease; }
.nd-toggle:hover { color: var(--brand-ink, #0B1533); }
.nd-toggle:focus-visible { outline: 2px solid #2563EB; outline-offset: 1px; }
.nd-menu {
  position: absolute; left: -24px; top: calc(100% + 12px); z-index: 50;
  width: 860px; max-width: calc(100vw - 48px);
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px 16px;
  padding: 18px;
  background: #fff; border: 1px solid var(--brand-line, #E6EAF2); border-radius: 20px;
  box-shadow: 0 30px 60px -24px rgba(11, 21, 51, .28);
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .2s ease, transform .2s ease, visibility 0s linear .2s;
}
/* invisible bridge so the menu doesn't close on the way down */
.nd-menu::before { content: ''; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.nd-col { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.nd-label {
  display: flex; align-items: center; gap: 8px; padding: 4px 10px 8px;
  font-size: 11px; font-weight: 800; letter-spacing: 1.4px; text-transform: uppercase; color: var(--g);
}
.nd-label::before { content: ''; width: 16px; height: 2px; border-radius: 2px; background: var(--g); }
.nd-g-build { --g: #2563EB; }
.nd-g-scale { --g: #047857; }
.nd-g-auto  { --g: #7C3AED; }
.nd-item {
  display: flex; align-items: center; gap: 12px;
  padding: 9px 10px; border-radius: 12px;
  text-decoration: none; color: inherit;
  transition: background .2s ease;
}
.nd-item:hover, .nd-item:focus-visible { background: #F8FAFC; }
.nd-item:focus-visible { outline: 2px solid var(--svc); outline-offset: -2px; }
.nd-item > i {
  flex: 0 0 auto; width: 34px; height: 34px; border-radius: 10px;
  display: grid; place-items: center; font-size: 14px;
  color: var(--svc); background: color-mix(in srgb, var(--svc) 11%, #fff);
  transition: background .2s ease, color .2s ease;
}
.nd-item:hover > i { color: #fff; background: var(--svc); }
.nd-item span { min-width: 0; display: flex; flex-direction: column; line-height: 1.3; }
.nd-item b { display: flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 700; color: var(--brand-ink, #0B1533); }
.nd-item small { font-size: 12px; color: var(--brand-text, #475569); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nd-item[aria-current="page"] { background: color-mix(in srgb, var(--svc) 8%, #fff); }
.nd-new {
  padding: 1px 7px; border-radius: 999px;
  font-size: 10px; font-style: normal; font-weight: 800; letter-spacing: .4px; text-transform: uppercase;
  color: #fff; background: #7C3AED;
}
@media (min-width: 992px) {
  .nd:hover .nd-menu, .nd:focus-within .nd-menu, .nd.open .nd-menu {
    opacity: 1; visibility: visible; transform: none;
    transition: opacity .2s ease, transform .2s ease, visibility 0s;
  }
  .nd:hover .nd-toggle i, .nd:focus-within .nd-toggle i, .nd.open .nd-toggle i { transform: rotate(180deg); }
  .nd.nd-hold .nd-menu { opacity: 0; visibility: hidden; transform: translateY(6px); }
  .nd.nd-hold .nd-toggle i { transform: none; }
}
/* Slightly tighter menu so 6 links fit on small laptops */
@media (min-width: 992px) and (max-width: 1240px) {
  .header .nav-link { padding: 10px 10px; font-size: 14.5px; }
  .header .nav-link::after { left: 10px; right: 10px; }
  .nd-toggle { margin-left: -8px; }
}
@media (max-width: 991px) {
  .nd { flex-wrap: wrap; width: 100%; }
  .nd .nd-link { flex: 1 1 auto; width: auto !important; }
  .nd-toggle {
    width: 48px; height: 48px; margin: 0; font-size: 13px;
    border-bottom: 1px solid #F1F5F9; border-radius: 0;
  }
  .nd.open .nd-toggle i { transform: rotate(180deg); }
  .nd-menu {
    position: static; display: none; width: 100%; max-width: none;
    grid-template-columns: minmax(0, 1fr); gap: 2px;
    padding: 6px 0 10px; border: 0; border-bottom: 1px solid #F1F5F9; border-radius: 0; box-shadow: none;
    opacity: 1; visibility: visible; transform: none; transition: none;
  }
  .nd-menu::before { display: none; }
  .nd.open .nd-menu { display: grid; }
  .nd-label { padding: 10px 8px 4px; }
  .nd-item small { display: none; }
}

/* ---------- Demo scene: AI agent (ax-) ---------- */
.ax-stage { display: flex; flex-direction: column; background: linear-gradient(180deg, #F8FAFC 0%, #FFFFFF 100%); }
.ax-head { flex: 0 0 auto; height: 46px; display: flex; align-items: center; gap: 10px; padding: 0 14px; background: #fff; border-bottom: 1px solid #EEF2F7; }
.ax-av { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; color: #fff; background: var(--svc); }
.ax-who { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }
.ax-who b { font-size: 12.5px; }
.ax-who small { font-size: 10.5px; color: #64748B; transition: color .3s; }
.ax-who small.working { color: #B45309; }
.ax-who small.ok { color: #047857; font-weight: 700; }
.ax-timer { margin-left: auto; padding: 3px 9px; border-radius: 999px; font-size: 10.5px; font-weight: 700; font-variant-numeric: tabular-nums; color: #475569; background: #F1F5F9; }
.ax-goal {
  margin: 10px 14px 8px; padding: 7px 10px;
  display: flex; align-items: center; gap: 8px;
  font-size: 11.5px; border-radius: 10px;
  background: color-mix(in srgb, var(--svc) 7%, #fff);
  border: 1px dashed color-mix(in srgb, var(--svc) 35%, transparent);
  opacity: 0; transform: translateY(-4px); transition: opacity .35s ease, transform .35s ease;
}
.ax-goal i { color: var(--svc); }
.ax-goal span { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ax-goal.show { opacity: 1; transform: none; }
.ax-steps { list-style: none; margin: 0; padding: 0 14px; display: grid; gap: 5px; }
.ax-step {
  height: 31px; padding: 4px 8px;
  display: flex; align-items: center; gap: 9px;
  background: #fff; border: 1px solid #E2E8F0; border-radius: 9px;
  opacity: 0; transform: translateX(-8px);
  transition: opacity .3s ease, transform .3s ease, border-color .3s, box-shadow .3s;
}
.ax-step.show { opacity: 1; transform: none; }
.ax-step.active { border-color: var(--svc); box-shadow: 0 0 0 3px color-mix(in srgb, var(--svc) 16%, transparent); }
.ax-ic { flex: 0 0 auto; width: 22px; height: 22px; border-radius: 7px; display: grid; place-items: center; font-size: 10px; color: #fff; background: var(--c); }
.ax-t { flex: 1 1 auto; min-width: 0; font-size: 11.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ax-ok { flex: 0 0 auto; width: 17px; height: 17px; border-radius: 50%; display: grid; place-items: center; font-size: 8.5px; color: #fff; background: #10B981; transform: scale(0); transition: transform .35s cubic-bezier(.2, .9, .3, 1.4); }
.ax-step.done .ax-ok { transform: scale(1); }
.ax-approve {
  margin: 8px 14px 0; padding: 6px 6px 6px 12px;
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  border-radius: 10px; color: #fff; background: #0B1533;
  opacity: 0; transform: translateY(6px);
  transition: opacity .35s ease, transform .35s ease, background .35s ease;
}
.ax-approve.show { opacity: 1; transform: none; }
.ax-approve.sent { background: #047857; }
.ax-approve-t { display: flex; align-items: center; gap: 8px; min-width: 0; font-size: 11.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ax-approve-t i { color: #8BD51B; }
.ax-btn { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 8px; font-size: 11px; font-weight: 700; color: #fff; background: var(--svc); }
.ax-approve.sent .ax-btn { background: rgba(255, 255, 255, .18); }

/* ---------- Home: AI Agents section (ag-) ---------- */
.ag-section { position: relative; padding: 110px 0; background: #F8FAFC; }
.ag-section .sec-gradient-text { background: none; color: #7C3AED; -webkit-text-fill-color: #7C3AED; }
.ag-reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.ag-reveal.is-visible { opacity: 1; transform: none; }
.ag-grid .ag-reveal:nth-child(2) { transition-delay: .08s; }
.ag-grid .ag-reveal:nth-child(3) { transition-delay: .16s; }
.ag-grid .ag-reveal:nth-child(4) { transition-delay: .24s; }

.ag-top { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 22px; margin-bottom: 22px; }

/* Chatbot vs agent */
.ag-compare {
  padding: 26px 28px; border-radius: 24px; background: #fff;
  border: 1px solid var(--brand-line, #E6EAF2);
  box-shadow: 0 10px 30px -20px rgba(11, 21, 51, .2);
}
.ag-compare-head, .ag-rows li { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 24px; }
.ag-compare-head { padding-bottom: 14px; }
.ag-compare-head span { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 800; letter-spacing: 1.2px; text-transform: uppercase; color: #64748B; }
.ag-compare-head i { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; font-size: 14px; color: #64748B; background: #F1F5F9; }
.ag-compare-head .ag-is-agent { color: #7C3AED; }
.ag-compare-head .ag-is-agent i { color: #fff; background: #7C3AED; box-shadow: 0 8px 16px -6px rgba(124, 58, 237, .55); }
.ag-compare { display: flex; flex-direction: column; }
.ag-rows { list-style: none; margin: 0; padding: 0; }
.ag-compare-note {
  margin: auto 0 0; padding: 14px 16px; border-radius: 14px;
  display: flex; align-items: flex-start; gap: 12px;
  font-size: 14px; line-height: 1.55; color: var(--brand-text, #475569);
  background: #F5F3FF;
}
.ag-compare .ag-rows { margin-bottom: 18px; }
.ag-compare-note i { margin-top: 3px; color: #7C3AED; }
.ag-compare-note b { color: var(--brand-ink, #0B1533); }
.ag-rows li { padding: 13px 0; border-top: 1px solid #EEF2F7; font-size: 14.5px; line-height: 1.5; }
.ag-rows li span { position: relative; padding-left: 24px; }
.ag-rows li span::before {
  position: absolute; left: 0; top: 3px; width: 16px; height: 16px; border-radius: 50%;
  display: grid; place-items: center; font-family: 'Font Awesome 6 Free'; font-weight: 900; font-size: 8px;
}
.ag-rows li span:first-child { color: #64748B; }
.ag-rows li span:first-child::before { content: '\f068'; color: #94A3B8; background: #F1F5F9; }
.ag-rows li span:last-child { font-weight: 600; color: var(--brand-ink, #0B1533); }
.ag-rows li span:last-child::before { content: '\f00c'; color: #fff; background: #7C3AED; }

/* How an agent works (navy card) */
.ag-loop {
  position: relative; overflow: hidden;
  padding: 26px 28px; border-radius: 24px; color: #fff;
  background:
    radial-gradient(circle at 100% 0%, rgba(57, 185, 22, .26), transparent 50%),
    linear-gradient(140deg, #0B1533 0%, #1E3A8A 100%);
  box-shadow: 0 24px 48px -26px rgba(30, 58, 138, .7);
}
.ag-loop-label { font-size: 12px; font-weight: 800; letter-spacing: 1.6px; text-transform: uppercase; color: #C7D2FE; }
.ag-steps { list-style: none; margin: 16px 0 20px; padding: 0; display: grid; gap: 10px; }
.ag-steps li {
  display: flex; align-items: center; gap: 14px; padding: 12px 14px; border-radius: 14px;
  background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .08);
}
.ag-num { flex: 0 0 auto; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; font-weight: 800; background: rgba(255, 255, 255, .1); }
.ag-steps b { display: block; font-size: 15px; color: #fff; }
.ag-steps small { display: block; margin-top: 2px; font-size: 12.5px; line-height: 1.45; color: rgba(255, 255, 255, .72); }
.ag-loop.is-playing .ag-steps li { animation: agStep 8s ease-in-out infinite; animation-delay: calc(var(--i) * 2s); }
.ag-loop.is-playing .ag-num { animation: agNum 8s ease-in-out infinite; animation-delay: calc(var(--i) * 2s); }
@keyframes agStep {
  0%, 22% { background: rgba(255, 255, 255, .12); border-color: rgba(139, 213, 27, .55); transform: translateX(4px); }
  30%, 100% { background: rgba(255, 255, 255, .05); border-color: rgba(255, 255, 255, .08); transform: none; }
}
@keyframes agNum {
  0%, 22% { background: #39B916; }
  30%, 100% { background: rgba(255, 255, 255, .1); }
}
.ag-tools { display: flex; flex-wrap: wrap; gap: 8px; }
.ag-tools span {
  display: inline-flex; align-items: center; gap: 7px; padding: 6px 11px; border-radius: 999px;
  font-size: 12.5px; font-weight: 600; color: #E2E8F0;
  background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .12);
}
.ag-tools i { color: #8BD51B; font-size: 12px; }

/* Use-case cards (same look as the client cards) */
.ag-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.ag-card {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column;
  padding: 26px 22px 22px; border-radius: 20px; background: #fff;
  border: 1px solid var(--brand-line, #E6EAF2);
  box-shadow: 0 10px 30px -20px rgba(11, 21, 51, .2);
  transition: opacity .6s ease, transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.ag-card::after { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: linear-gradient(90deg, var(--svc), var(--svc-2)); }
.ag-card.is-visible:hover { transform: translateY(-5px); border-color: color-mix(in srgb, var(--svc) 30%, transparent); box-shadow: 0 22px 44px -20px color-mix(in srgb, var(--svc) 45%, transparent); }
.ag-icon {
  width: 52px; height: 52px; border-radius: 14px; margin-bottom: 16px;
  display: grid; place-items: center; font-size: 22px; color: #fff; background: var(--svc);
  box-shadow: 0 10px 20px -8px color-mix(in srgb, var(--svc) 60%, transparent);
}
.ag-kicker { font-size: 11px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; color: var(--svc); margin-bottom: 6px; }
.ag-card h3 { margin: 0 0 8px; font-size: 1.15rem; font-weight: 700; color: var(--brand-ink, #0B1533); }
.ag-card p { margin: 0 0 18px; font-size: .92rem; line-height: 1.6; color: var(--brand-text, #475569); }
.ag-eg { margin-top: auto; padding-top: 14px; border-top: 1px dashed #E2E8F0; display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--brand-ink, #0B1533); }
.ag-eg i { flex: 0 0 auto; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; font-size: 9px; color: #fff; background: var(--svc); }

/* Safety strip + buttons */
.ag-trust {
  margin-top: 22px; padding: 20px 24px; border-radius: 18px;
  display: flex; align-items: center; justify-content: space-between; gap: 18px 28px; flex-wrap: wrap;
  background: #fff; border: 1px dashed color-mix(in srgb, #7C3AED 35%, transparent);
}
.ag-trust-copy { display: flex; align-items: center; gap: 10px 22px; flex-wrap: wrap; }
.ag-trust-copy b { font-size: 15px; color: var(--brand-ink, #0B1533); }
.ag-trust-copy ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 20px; }
.ag-trust-copy li { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--brand-text, #475569); }
.ag-trust-copy li i { color: #047857; }
.ag-trust-cta { display: flex; gap: 10px; flex-wrap: wrap; }
.ag-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 20px; border-radius: 999px;
  font-weight: 700; font-size: 14px; color: #fff; text-decoration: none;
  background: var(--brand-ink, #0B1533); border: 1px solid transparent;
  transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}
.ag-btn:hover { color: #fff; background: #2563EB; transform: translateY(-1px); }
.ag-btn-ghost { color: var(--brand-ink, #0B1533); background: #fff; border-color: var(--brand-line, #E6EAF2); }
.ag-btn-ghost:hover { color: #2563EB; background: #fff; border-color: #2563EB; }

@media (max-width: 1100px) {
  .ag-top { grid-template-columns: minmax(0, 1fr); }
  .ag-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .ag-section { padding: 72px 0; }
  .ag-compare, .ag-loop { padding: 20px 18px; }
  .ag-compare-head, .ag-rows li { gap: 14px; }
  .ag-compare-head span { font-size: 11.5px; letter-spacing: .8px; gap: 8px; }
  .ag-compare-head i { width: 28px; height: 28px; font-size: 12px; }
  .ag-rows li { font-size: 13.5px; }
  .ag-rows li span { padding-left: 22px; }
  .ag-grid { grid-template-columns: minmax(0, 1fr); }
  .ag-trust { padding: 20px; }
  .ag-trust-cta, .ag-btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .ag-reveal { opacity: 1; transform: none; transition: none; }
  .ag-loop .ag-steps li, .ag-loop .ag-num { animation: none !important; }
}


/* ---------- Inner pages (pg-) - service pages like ai-agents.html ---------- */
.pg-accent { color: #7C3AED; }
.pg-section { padding: 100px 0; background: #FFFFFF; }
.pg-gray { background: #F8FAFC; }
.pg-section .sec-head h2 .pg-accent { color: #7C3AED; -webkit-text-fill-color: #7C3AED; }
.pg-reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.pg-reveal.is-visible { opacity: 1; transform: none; }

/* Hero */
.pg-hero {
  padding: 140px 0 90px;
  background:
    radial-gradient(ellipse 50% 45% at 6% 20%, rgba(37, 99, 235, .07), transparent 70%),
    radial-gradient(ellipse 45% 40% at 94% 80%, rgba(124, 58, 237, .08), transparent 70%),
    linear-gradient(180deg, #FFFFFF 0%, #F4F7FC 30%, #FFFFFF 100%);
}
.pg-hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.pg-crumbs { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; font-size: 13px; font-weight: 600; color: var(--brand-text, #475569); }
.pg-crumbs a { color: var(--brand-text, #475569); text-decoration: none; }
.pg-crumbs a:hover { color: #2563EB; }
.pg-crumbs i { font-size: 9px; color: #94A3B8; }
.pg-crumbs span { color: var(--brand-ink, #0B1533); }
.pg-hero h1 {
  margin: 0 0 18px; font-size: clamp(2.1rem, 4vw, 3.4rem); font-weight: 800;
  line-height: 1.12; letter-spacing: -.025em; color: var(--brand-ink, #0B1533);
}
.pg-lead { margin: 0 0 28px; max-width: 600px; font-size: 1.12rem; line-height: 1.7; color: var(--brand-text, #475569); }
.pg-hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 32px; }
.pg-hero-cta .ag-btn { padding: 14px 24px; font-size: 15px; }
.pg-facts { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; max-width: 600px; }
.pg-facts li {
  display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: 14px;
  background: rgba(255, 255, 255, .85); border: 1px solid var(--brand-line, #E6EAF2);
}
.pg-facts i { flex: 0 0 auto; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; font-size: 14px; color: #7C3AED; background: #F5F3FF; }
.pg-facts span { display: flex; flex-direction: column; font-size: 12px; color: var(--brand-text, #475569); line-height: 1.35; }
.pg-facts b { font-size: 15px; color: var(--brand-ink, #0B1533); }

/* Hero demo (re-uses the ax- scene) */
.pg-demo { --sia-ink: #0B1533; --sia-ok: #10B981; color: #0B1533; }
.pg-demo .sia-card { width: 100%; opacity: 1; transform: none; }
.pg-demo .sia-stage { height: 300px; }
.pg-demo-cap { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 14px 0 0; font-size: 13px; color: var(--brand-text, #475569); }
.pg-demo-cap i { color: #7C3AED; }

/* Use cases */
.pg-uc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.pg-tasks { list-style: none; margin: auto 0 0; padding: 14px 0 0; border-top: 1px dashed #E2E8F0; display: grid; gap: 8px; }
.pg-tasks li { position: relative; padding-left: 24px; font-size: 14px; line-height: 1.5; color: var(--brand-ink, #0B1533); }
.pg-tasks li::before {
  content: '\f00c'; position: absolute; left: 0; top: 3px; width: 16px; height: 16px; border-radius: 50%;
  display: grid; place-items: center; font-family: 'Font Awesome 6 Free'; font-weight: 900; font-size: 8px;
  color: #fff; background: var(--svc);
}

/* Safety */
.pg-safe-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.pg-safe {
  padding: 24px; border-radius: 20px; background: #fff;
  border: 1px solid var(--brand-line, #E6EAF2); box-shadow: 0 10px 30px -22px rgba(11, 21, 51, .2);
}
.pg-safe i { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; font-size: 18px; color: #047857; background: #ECFDF5; margin-bottom: 14px; }
.pg-safe h3 { margin: 0 0 6px; font-size: 1.05rem; font-weight: 700; color: var(--brand-ink, #0B1533); }
.pg-safe p { margin: 0; font-size: .93rem; line-height: 1.6; color: var(--brand-text, #475569); }

/* Build steps */
.pg-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; counter-reset: none; }
.pg-steps li {
  position: relative; padding: 24px 22px; border-radius: 20px; background: #fff;
  border: 1px solid var(--brand-line, #E6EAF2); box-shadow: 0 10px 30px -22px rgba(11, 21, 51, .2);
}
.pg-steps li::after { content: ''; position: absolute; left: 22px; right: 22px; top: 0; height: 3px; border-radius: 0 0 3px 3px; background: var(--svc); }
.pg-step-num { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; font-size: 14px; font-weight: 800; color: #fff; background: var(--svc); }
.pg-steps small { display: block; margin: 14px 0 4px; font-size: 11px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; color: var(--svc); }
.pg-steps h3 { margin: 0 0 6px; font-size: 1.1rem; font-weight: 700; color: var(--brand-ink, #0B1533); }
.pg-steps p { margin: 0; font-size: .93rem; line-height: 1.6; color: var(--brand-text, #475569); }
.pg-tech { margin-top: 28px; display: flex; align-items: center; flex-wrap: wrap; gap: 12px 18px; }
.pg-tech-label { font-size: 12px; font-weight: 800; letter-spacing: 1.4px; text-transform: uppercase; color: var(--brand-text, #475569); }
.pg-tech ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.pg-tech li { padding: 7px 13px; border-radius: 999px; font-size: 13px; font-weight: 600; color: var(--brand-ink, #0B1533); background: #F8FAFC; border: 1px solid var(--brand-line, #E6EAF2); }

/* FAQs */
.pg-faq { max-width: 860px; margin: 0 auto; display: grid; gap: 12px; }
.pg-faq details { border-radius: 16px; background: #fff; border: 1px solid var(--brand-line, #E6EAF2); transition: border-color .2s ease, box-shadow .2s ease; }
.pg-faq details[open] { border-color: rgba(124, 58, 237, .35); box-shadow: 0 14px 30px -22px rgba(124, 58, 237, .5); }
.pg-faq summary {
  list-style: none; cursor: pointer; position: relative;
  padding: 18px 56px 18px 22px; font-size: 1.02rem; font-weight: 700; color: var(--brand-ink, #0B1533);
}
.pg-faq summary::-webkit-details-marker { display: none; }
.pg-faq summary::after {
  content: '\2b'; position: absolute; right: 18px; top: 50%; transform: translateY(-50%);
  width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center;
  font-family: 'Font Awesome 6 Free'; font-weight: 900; font-size: 11px; color: #7C3AED; background: #F5F3FF;
  transition: transform .2s ease;
}
.pg-faq details[open] summary::after { content: '\f068'; }
.pg-faq summary:focus-visible { outline: 2px solid #7C3AED; outline-offset: 2px; border-radius: 16px; }
.pg-faq details p { margin: 0; padding: 0 22px 20px; font-size: .97rem; line-height: 1.7; color: var(--brand-text, #475569); }

/* Related services + CTA */
.pg-rel-title { margin: 0 0 18px; font-size: 1.3rem; font-weight: 800; color: var(--brand-ink, #0B1533); }
.pg-related { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-bottom: 40px; }
.pg-rel {
  display: flex; align-items: center; gap: 14px; padding: 18px; border-radius: 18px;
  text-decoration: none; background: #fff; border: 1px solid var(--brand-line, #E6EAF2);
  transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.pg-rel:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--svc) 35%, transparent); box-shadow: 0 18px 36px -22px color-mix(in srgb, var(--svc) 55%, transparent); }
.pg-rel > i { flex: 0 0 auto; width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; font-size: 16px; color: var(--svc); background: color-mix(in srgb, var(--svc) 11%, #fff); }
.pg-rel span { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.pg-rel b { font-size: 15px; color: var(--brand-ink, #0B1533); }
.pg-rel small { font-size: 13px; line-height: 1.45; color: var(--brand-text, #475569); }
.pg-rel em { font-style: normal; font-weight: 700; color: var(--svc); transition: transform .2s ease; }
.pg-rel:hover em { transform: translateX(3px); }
.pg-cta {
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  padding: 40px 44px; border-radius: 28px; color: #fff;
  background:
    radial-gradient(ellipse 40% 120% at 100% 50%, rgba(57, 185, 22, .28), transparent 70%),
    linear-gradient(120deg, #0B1533 0%, #1E3A8A 100%);
  box-shadow: 0 30px 60px -30px rgba(30, 58, 138, .7);
}
.pg-cta h2 { margin: 0 0 8px; font-size: clamp(1.4rem, 2.6vw, 2rem); font-weight: 800; letter-spacing: -.01em; color: #fff; }
.pg-cta p { margin: 0; max-width: 620px; font-size: 1rem; line-height: 1.6; color: rgba(255, 255, 255, .8); }
.pg-cta-btn {
  flex: 0 0 auto; display: inline-flex; align-items: center; gap: 8px; padding: 14px 26px; border-radius: 999px;
  font-weight: 700; font-size: 15px; text-decoration: none; color: #0B1533; background: #fff;
  transition: transform .2s ease, background .2s ease, color .2s ease;
}
.pg-cta-btn:hover { color: #fff; background: #2563EB; transform: translateY(-2px); }

@media (max-width: 1100px) {
  .pg-hero-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .pg-demo { max-width: 640px; }
  .pg-uc-grid, .pg-safe-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pg-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pg-related { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .pg-hero { padding: 110px 0 64px; }
  .pg-section { padding: 72px 0; }
  .pg-hero-cta .ag-btn { width: 100%; }
  .pg-facts { grid-template-columns: minmax(0, 1fr); }
  .pg-uc-grid, .pg-safe-grid, .pg-steps { grid-template-columns: minmax(0, 1fr); }
  .pg-faq summary { padding: 16px 52px 16px 18px; font-size: .97rem; }
  .pg-faq details p { padding: 0 18px 18px; }
  .pg-cta { padding: 28px 22px; }
  .pg-cta-btn { width: 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  .pg-reveal { opacity: 1; transform: none; transition: none; }
}


/* ---------- Service, About and Contact pages (2026-11-10) ---------- */
/* Page colour themes: blue (Build), green (Scale), violet (Automate) */
.pg-t-blue { --pg-a: #2563EB; --pg-a-soft: #EFF6FF; }
.pg-t-green { --pg-a: #047857; --pg-a-soft: #ECFDF5; }
.pg-t-violet { --pg-a: #7C3AED; --pg-a-soft: #F5F3FF; }
.pg-t-blue .pg-accent, .pg-t-green .pg-accent, .pg-t-violet .pg-accent,
.pg-t-blue .pg-section .sec-head h2 .pg-accent, .pg-t-green .pg-section .sec-head h2 .pg-accent, .pg-t-violet .pg-section .sec-head h2 .pg-accent { color: var(--pg-a); -webkit-text-fill-color: var(--pg-a); }
.pg-t-blue .pg-facts i, .pg-t-green .pg-facts i, .pg-t-violet .pg-facts i,
.pg-t-blue .pg-safe i, .pg-t-green .pg-safe i, .pg-t-violet .pg-safe i { color: var(--pg-a); background: var(--pg-a-soft); }
.pg-t-blue .pg-faq summary::after, .pg-t-green .pg-faq summary::after, .pg-t-violet .pg-faq summary::after { color: var(--pg-a); background: var(--pg-a-soft); }
.pg-t-blue .pg-faq details[open], .pg-t-green .pg-faq details[open], .pg-t-violet .pg-faq details[open] { border-color: color-mix(in srgb, var(--pg-a) 35%, transparent); box-shadow: 0 14px 30px -22px color-mix(in srgb, var(--pg-a) 50%, transparent); }

/* Hero summary card */
.pg-visual { position: relative; padding: 0 0 28px; }
.pg-vcard {
  position: relative; padding: 24px; border-radius: 24px; background: #fff;
  border: 1px solid var(--brand-line, #E6EAF2);
  box-shadow: 0 40px 80px -40px rgba(11, 21, 51, .35), 0 0 0 8px color-mix(in srgb, var(--svc) 6%, transparent);
}
.pg-vhead { display: flex; align-items: center; gap: 14px; padding-bottom: 18px; margin-bottom: 16px; border-bottom: 1px dashed #E2E8F0; }
.pg-vicon { flex: 0 0 auto; width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; font-size: 20px; color: #fff; background: linear-gradient(135deg, var(--svc), var(--svc-2, var(--svc))); }
.pg-vicon-logo { background: #F8FAFC; border: 1px solid var(--brand-line, #E6EAF2); }
.pg-vicon-logo img { width: 32px; height: 32px; object-fit: contain; }
.pg-vhead > div { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; }
.pg-vhead b { font-size: 16px; color: var(--brand-ink, #0B1533); }
.pg-vhead small { display: flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--brand-text, #475569); }
.pg-vdot { width: 7px; height: 7px; border-radius: 50%; background: #10B981; box-shadow: 0 0 0 3px rgba(16, 185, 129, .18); }
.pg-vbadge { flex: 0 0 auto; padding: 6px 11px; border-radius: 999px; font-size: 12px; font-weight: 700; color: var(--svc); background: color-mix(in srgb, var(--svc) 10%, #fff); }
.pg-vlist { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.pg-vlist li {
  display: flex; align-items: center; gap: 12px; padding: 11px 14px; border-radius: 12px;
  font-size: 14.5px; font-weight: 600; color: var(--brand-ink, #0B1533); background: #F8FAFC;
  animation: pg-vin .5s ease both; animation-delay: calc(var(--i) * 90ms + 200ms);
}
.pg-vtick { flex: 0 0 auto; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 10px; color: #fff; background: var(--svc); }
.pg-vfoot { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.pg-vfoot span { font-size: 11px; font-weight: 800; letter-spacing: 1.2px; text-transform: uppercase; color: var(--brand-text, #475569); margin-right: 4px; }
.pg-vfoot em { font-style: normal; padding: 5px 11px; border-radius: 999px; font-size: 12.5px; font-weight: 600; color: var(--brand-ink, #0B1533); border: 1px solid var(--brand-line, #E6EAF2); }
.pg-vfloat {
  position: absolute; right: -22px; bottom: 0; display: flex; align-items: center; gap: 12px;
  padding: 12px 16px; border-radius: 16px; background: #0B1533; color: #fff;
  box-shadow: 0 20px 40px -20px rgba(11, 21, 51, .6);
}
.pg-vfloat i { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: rgba(255, 255, 255, .12); color: #86EFAC; }
.pg-vfloat span { display: flex; flex-direction: column; font-size: 12px; color: rgba(255, 255, 255, .7); }
.pg-vfloat b { font-size: 14px; color: #fff; }
@keyframes pg-vin { from { opacity: 0; transform: translateX(10px); } to { opacity: 1; transform: none; } }

/* About + contact helpers */
.pg-related-all { margin-bottom: 0; }
.pg-steps-gap { margin-top: 28px; }
.pg-cta-gap { height: 48px; }
.pg-contact { padding-top: 140px; }
.pg-crumbs-center { justify-content: center; }
.ct-header h1 {
  font-size: clamp(2rem, 4.2vw, 3.25rem); font-weight: 800; line-height: 1.1; letter-spacing: -.025em;
  color: var(--ct-ink, #0B1533); margin: 0 0 18px;
}

@media (max-width: 1100px) {
  .pg-vfloat { right: 12px; }
}
@media (max-width: 640px) {
  .pg-vcard { padding: 18px; }
  .pg-vlist li { font-size: 13.5px; padding: 10px 12px; }
  .pg-vfloat { position: relative; right: auto; margin: 14px auto 0; width: fit-content; }
  .pg-visual { padding-bottom: 0; }
  .pg-contact { padding-top: 110px; }
}
@media (prefers-reduced-motion: reduce) {
  .pg-vlist li { animation: none; }
}

/* ---------- Services, Process, Clients, Tech Stack pages (copied home sections) ---------- */
.pg-body .pg-first { padding-top: 140px !important; }
.pg-cta-wrap { padding-top: 0; }
.sec-head h1 { font-size: clamp(2rem, 4.2vw, 3.1rem); font-weight: 800; letter-spacing: -.02em; line-height: 1.15; color: var(--brand-ink); margin: 0 0 14px; }
.dp-header h1 { font-size: clamp(2rem, 4.2vw, 3.25rem); font-weight: 800; line-height: 1.1; letter-spacing: -.025em; color: var(--dp-ink); margin: 0 0 20px; }
.tx-header h1 { font-size: clamp(2rem, 4.2vw, 3.25rem); font-weight: 800; line-height: 1.1; letter-spacing: -.025em; color: var(--tx-ink); margin: 0 0 18px; }
.pg-first .pg-crumbs { margin-bottom: 18px; }
@media (max-width: 640px) {
  .pg-body .pg-first { padding-top: 110px !important; }
}
.tx-section .pg-crumbs a, .tx-section .pg-crumbs i { color: rgba(255, 255, 255, .65); }
.tx-section .pg-crumbs span { color: #fff; }


/* ---------- Baelify Business product page (bz-) ---------- */
.bz-visual { position: relative; padding: 0 34px 40px 0; }
.bz-win {
  border-radius: 18px; overflow: hidden; background: #fff;
  border: 1px solid var(--brand-line, #E6EAF2);
  box-shadow: 0 40px 80px -40px rgba(11, 21, 51, .4), 0 0 0 8px rgba(4, 120, 87, .05);
}
.bz-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: #F1F5F9; border-bottom: 1px solid var(--brand-line, #E6EAF2); }
.bz-bar > span { width: 9px; height: 9px; border-radius: 50%; background: #CBD5E1; }
.bz-bar em { margin: 0 auto; padding: 3px 14px; border-radius: 999px; font-style: normal; font-size: 11px; color: #64748B; background: #fff; }
.bz-bar em i { color: #10B981; font-size: 9px; margin-right: 4px; }
.bz-app { display: grid; grid-template-columns: 132px minmax(0, 1fr); min-height: 300px; }
.bz-side { display: flex; flex-direction: column; gap: 3px; padding: 14px 10px; background: #0B1533; }
.bz-logo { display: flex; align-items: center; gap: 6px; margin: 0 6px 12px; font-size: 12.5px; color: #fff; }
.bz-logo img { width: 18px; height: 18px; }
.bz-side span { display: flex; align-items: center; gap: 8px; padding: 7px 8px; border-radius: 8px; font-size: 11.5px; font-weight: 600; color: rgba(255, 255, 255, .62); }
.bz-side span i { width: 13px; font-size: 11px; text-align: center; }
.bz-side span.on { color: #fff; background: rgba(57, 185, 22, .22); }
.bz-main { padding: 16px; background: #F8FAFC; display: flex; flex-direction: column; gap: 12px; }
.bz-hello b { display: block; font-size: 15px; color: #0B1533; }
.bz-hello small { font-size: 11.5px; color: #64748B; }
.bz-kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.bz-kpis div { padding: 10px; border-radius: 10px; background: #fff; border: 1px solid #E6EAF2; display: flex; flex-direction: column; }
.bz-kpis small { font-size: 10px; color: #64748B; }
.bz-kpis b { font-size: 16px; color: #0B1533; }
.bz-kpis em { font-style: normal; font-size: 10px; font-weight: 700; color: #64748B; }
.bz-kpis em.up { color: #047857; }
.bz-row { display: grid; grid-template-columns: 1.25fr 1fr; gap: 8px; }
.bz-card { padding: 10px 12px; border-radius: 10px; background: #fff; border: 1px solid #E6EAF2; }
.bz-h { display: block; margin-bottom: 6px; font-size: 10px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; color: #64748B; }
.bz-card p { display: flex; align-items: center; gap: 7px; margin: 0 0 5px; font-size: 11px; font-weight: 600; color: #0B1533; }
.bz-dot { width: 7px; height: 7px; border-radius: 50%; flex: 0 0 auto; }
.bz-dot.r { background: #EF4444; } .bz-dot.a { background: #F59E0B; } .bz-dot.b { background: #2563EB; }
.bz-bars { display: flex; align-items: flex-end; gap: 6px; height: 58px; }
.bz-bars i { flex: 1; height: var(--h); border-radius: 4px 4px 2px 2px; background: linear-gradient(180deg, #39B916, #047857); transform-origin: bottom; animation: bz-grow .8s ease both; }
.bz-bars i:nth-child(2) { animation-delay: .08s; } .bz-bars i:nth-child(3) { animation-delay: .16s; } .bz-bars i:nth-child(4) { animation-delay: .24s; } .bz-bars i:nth-child(5) { animation-delay: .32s; } .bz-bars i:nth-child(6) { animation-delay: .4s; }
@keyframes bz-grow { from { transform: scaleY(0); } to { transform: none; } }
.bz-phone {
  position: absolute; right: 0; bottom: 0; width: 172px; padding: 22px 12px 14px; border-radius: 26px;
  background: #fff; border: 6px solid #0B1533; box-shadow: 0 30px 60px -24px rgba(11, 21, 51, .55);
}
.bz-notch { position: absolute; top: 6px; left: 50%; width: 46px; height: 6px; border-radius: 6px; background: #0B1533; transform: translateX(-50%); }
.bz-check { display: flex; align-items: center; gap: 8px; padding: 8px; margin-bottom: 8px; border-radius: 10px; background: #ECFDF5; }
.bz-check i { color: #047857; }
.bz-check span { display: flex; flex-direction: column; font-size: 10px; color: #475569; }
.bz-check b { font-size: 11.5px; color: #0B1533; }
.bz-ptask { display: flex; align-items: center; gap: 7px; padding: 6px 2px; font-size: 11px; font-weight: 600; color: #0B1533; border-bottom: 1px dashed #E2E8F0; }
.bz-ptask i { color: #10B981; }
.bz-ptask.todo { color: #64748B; border-bottom: 0; }
.bz-ptask.todo i { color: #94A3B8; }
.bz-compare .ag-is-agent { color: #047857; }
.bz-ind { list-style: none; margin: 0 auto; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; max-width: 980px; }
.bz-ind li {
  display: flex; align-items: center; gap: 10px; padding: 14px 20px; border-radius: 999px;
  font-weight: 700; font-size: 15px; color: var(--brand-ink, #0B1533); background: #fff;
  border: 1px solid var(--brand-line, #E6EAF2); box-shadow: 0 10px 24px -20px rgba(11, 21, 51, .3);
}
.bz-ind i { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; color: #047857; background: #ECFDF5; }
.bz-cta-link { color: #86EFAC; font-weight: 700; }

/* Home page banner for the app */
.bz-strip-section { padding: 0 0 80px; background: #F8FAFC; }
.bz-strip {
  display: flex; align-items: center; gap: 28px; flex-wrap: wrap; padding: 30px 36px; border-radius: 26px; color: #fff;
  background: radial-gradient(ellipse 45% 130% at 100% 50%, rgba(57, 185, 22, .3), transparent 70%), linear-gradient(120deg, #0B1533 0%, #14532D 100%);
  box-shadow: 0 30px 60px -32px rgba(4, 120, 87, .6);
}
.bz-strip-icon { flex: 0 0 auto; width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center; background: #fff; }
.bz-strip-icon img { width: 38px; height: 38px; }
.bz-strip-text { flex: 1 1 360px; min-width: 0; }
.bz-strip-tag { display: inline-block; margin-bottom: 6px; padding: 4px 10px; border-radius: 999px; font-size: 11px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; color: #0B1533; background: #86EFAC; }
.bz-strip h2 { margin: 0 0 4px; font-size: clamp(1.25rem, 2.4vw, 1.6rem); font-weight: 800; color: #fff; }
.bz-strip p { margin: 0; font-size: .98rem; line-height: 1.6; color: rgba(255, 255, 255, .8); }

@media (max-width: 1100px) {
  .bz-visual { max-width: 640px; margin: 0 auto; }
}
@media (max-width: 640px) {
  .bz-visual { padding: 0 0 24px; }
  .bz-app { grid-template-columns: minmax(0, 1fr); }
  .bz-side { display: none; }
  .bz-kpis b { font-size: 13px; }
  .bz-row { grid-template-columns: minmax(0, 1fr); }
  .bz-phone { position: relative; margin: 16px auto 0; }
  .bz-ind li { font-size: 14px; padding: 12px 16px; }
  .bz-strip { padding: 24px 20px; }
  .bz-strip .pg-cta-btn { width: 100%; justify-content: center; }
  .bz-strip-section { padding-bottom: 60px; }
}
@media (prefers-reduced-motion: reduce) {
  .bz-bars i { animation: none; }
}

/* Banner sits inside the grey AI Agents band; phone preview overlaps the app menu, not the chart */
.ag-section + .bz-strip-section { border-top: 0; padding-top: 0; margin-top: -40px; }
.bz-visual { padding: 0 0 70px 44px; }
.bz-phone { left: 0; right: auto; }
@media (max-width: 640px) {
  .ag-section + .bz-strip-section { margin-top: -30px; }
  .bz-visual { padding: 0 0 24px; }
  .bz-phone { left: auto; }
}
.bz-strip-section { position: relative; z-index: 1; }


/* ---------- Baelify Business page, part 2: sub-nav, tour (tr-), industries (bi-), features ---------- */
/* Sticky "on this page" bar */
.bz-sub {
  position: sticky; top: 72px; z-index: 40; background: rgba(255, 255, 255, .92);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-top: 1px solid var(--brand-line, #E6EAF2); border-bottom: 1px solid var(--brand-line, #E6EAF2);
}
.bz-sub .container { display: flex; justify-content: center; gap: 6px; padding-top: 10px; padding-bottom: 10px; overflow-x: auto; scrollbar-width: none; }
.bz-sub .container::-webkit-scrollbar { display: none; }
.bz-sub a { flex: 0 0 auto; padding: 7px 14px; border-radius: 999px; font-size: 13.5px; font-weight: 600; text-decoration: none; color: var(--brand-text, #475569); transition: background .2s ease, color .2s ease; }
.bz-sub a:hover, .bz-sub a.on { color: #047857; background: #ECFDF5; }
.bz-sub + section { border-top: 0 !important; }
.pg-t-green [id] { scroll-margin-top: 130px; }

/* Tour */
.tr-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 28px; }
.tr-tab {
  position: relative; overflow: hidden; display: inline-flex; align-items: center; gap: 8px; padding: 11px 18px; border-radius: 999px;
  font: inherit; font-size: 14.5px; font-weight: 700; cursor: pointer; color: var(--brand-ink, #0B1533);
  background: #fff; border: 1px solid var(--brand-line, #E6EAF2); transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.tr-tab i { color: #047857; }
.tr-tab:hover { border-color: #A7F3D0; }
.tr-tab.on { color: #fff; background: #0B1533; border-color: #0B1533; }
.tr-tab.on i { color: #86EFAC; }
.tr-tab.on::after { content: ''; position: absolute; left: 0; bottom: 0; height: 3px; width: 0; background: #39B916; animation: tr-prog var(--dur) linear forwards; }
.tr-tour.paused .tr-tab.on::after, .tr-tour.manual .tr-tab.on::after { animation: none; width: 0; }
.tr-tab:focus-visible { outline: 2px solid #047857; outline-offset: 2px; }
@keyframes tr-prog { to { width: 100%; } }
.tr-panel { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 48px; align-items: center; }
.tr-panel[hidden] { display: none; }
.tr-copy h3 { margin: 0 0 22px; font-size: clamp(1.3rem, 2.4vw, 1.75rem); font-weight: 800; line-height: 1.25; color: var(--brand-ink, #0B1533); }
.tr-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; counter-reset: tr; }
.tr-steps li {
  position: relative; padding: 14px 16px 14px 54px; border-radius: 16px; background: #fff; border: 1px solid var(--brand-line, #E6EAF2);
  display: flex; flex-direction: column; gap: 2px; counter-increment: tr; opacity: .5;
}
.tr-steps li::before { content: counter(tr); position: absolute; left: 16px; top: 14px; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 800; color: #64748B; background: #F1F5F9; }
.tr-steps b { font-size: 15px; color: var(--brand-ink, #0B1533); }
.tr-steps span { font-size: 14px; line-height: 1.5; color: var(--brand-text, #475569); }
.tr-panel.is-on .tr-steps li { animation: tr-step .4s ease var(--d) both; }
.tr-panel.is-on .tr-steps li::before { animation: tr-num .4s ease var(--d) both; }
@keyframes tr-step { from { opacity: .5; border-color: var(--brand-line, #E6EAF2); box-shadow: none; } to { opacity: 1; border-color: #A7F3D0; box-shadow: 0 14px 30px -24px rgba(4, 120, 87, .6); } }
@keyframes tr-num { from { color: #64748B; background: #F1F5F9; } to { color: #fff; background: #047857; } }
.tr-screen { position: relative; display: flex; justify-content: center; }
.tr-win { width: 100%; max-width: 560px; border-radius: 18px; overflow: hidden; background: #fff; border: 1px solid var(--brand-line, #E6EAF2); box-shadow: 0 40px 80px -40px rgba(11, 21, 51, .4); }
.tr-body { position: relative; padding: 18px; min-height: 330px; display: flex; flex-direction: column; gap: 10px; background: #F8FAFC; }
.tr-in { opacity: 0; }
.tr-panel.is-on .tr-in { animation: tr-in .45s ease var(--d) both; }
@keyframes tr-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.tr-sw { display: inline-grid; vertical-align: middle; }
.tr-sw > span { grid-area: 1 / 1; display: inline-flex; align-items: center; }
.tr-sw .b { opacity: 0; }
.tr-panel.is-on .tr-sw .a { animation: tr-out .3s ease var(--d) both; }
.tr-panel.is-on .tr-sw .b { animation: tr-in .35s ease var(--d) both; }
@keyframes tr-out { from { opacity: 1; } to { opacity: 0; visibility: hidden; } }
.tr-block { display: grid; width: 100%; }
.tr-block > span { width: 100%; }
.tr-note, .tr-task { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 12px; background: #fff; border: 1px solid #E6EAF2; }
.tr-note > i, .tr-task > i { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; flex: 0 0 auto; color: #2563EB; background: #EFF6FF; }
.tr-task > i { color: #047857; background: #ECFDF5; }
.tr-note span, .tr-task span { display: flex; flex-direction: column; font-size: 12.5px; color: #64748B; }
.tr-note b, .tr-task b { font-size: 14px; color: #0B1533; }
.tr-line { display: flex; align-items: center; justify-content: space-between; padding: 10px 14px; border-radius: 12px; background: #fff; border: 1px solid #E6EAF2; font-size: 13.5px; font-weight: 600; color: #475569; }
.tr-chip { display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px; border-radius: 999px; font-style: normal; font-size: 12px; font-weight: 700; color: #475569; background: #F1F5F9; white-space: nowrap; }
.tr-chip.ok { color: #047857; background: #D1FAE5; }
.tr-chip.hot { color: #C2410C; background: #FFEDD5; }
.tr-qhead { display: flex; align-items: center; justify-content: space-between; font-size: 15px; color: #0B1533; }
.tr-q { display: grid; grid-template-columns: minmax(0, 1fr) auto 86px; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 12px; background: #fff; border: 1px solid #E6EAF2; font-size: 13px; color: #0B1533; }
.tr-q > span { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; font-weight: 600; }
.tr-q small { color: #64748B; font-size: 12px; }
.tr-q > b { justify-self: end; }
.tr-flag { font-style: normal; padding: 2px 8px; border-radius: 999px; font-size: 11px; font-weight: 700; color: #B45309; background: #FEF3C7; }
.tr-flag.ok { color: #047857; background: #D1FAE5; }
.tr-alert { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 12px; font-size: 13px; font-weight: 600; color: #92400E; background: #FFFBEB; border: 1px solid #FDE68A; }
.tr-alert > span { flex: 1; }
.tr-alert.bad { color: #B91C1C; background: #FEF2F2; border-color: #FECACA; }
.tr-btn { font-style: normal; padding: 6px 12px; border-radius: 999px; font-size: 12px; font-weight: 700; color: #fff; background: #0B1533; white-space: nowrap; }
.tr-btn.done { background: #047857; }
.tr-total { display: flex; align-items: center; justify-content: space-between; padding: 12px 14px; border-radius: 12px; font-size: 13.5px; font-weight: 700; color: #fff; background: #0B1533; }
.tr-total b { font-size: 16px; }
.tr-budget { padding: 12px 14px; border-radius: 12px; background: #fff; border: 1px solid #E6EAF2; font-size: 13px; color: #475569; display: grid; gap: 8px; }
.tr-budget b { color: #0B1533; }
.tr-budget small { font-size: 12px; font-weight: 600; color: #475569; }
.tr-bar { height: 10px; border-radius: 999px; background: #E2E8F0; overflow: hidden; }
.tr-bar i { display: block; height: 100%; width: var(--from); border-radius: 999px; background: #10B981; }
.tr-panel.is-on .tr-bar i { animation: tr-bar .9s ease var(--d) both; }
@keyframes tr-bar { from { width: var(--from); background: #10B981; } to { width: var(--to); background: #EF4444; } }
.tr-toast { align-self: center; display: inline-flex; align-items: center; gap: 8px; margin-top: auto; padding: 9px 16px; border-radius: 999px; font-size: 13px; font-weight: 700; color: #fff; background: #047857; box-shadow: 0 14px 30px -14px rgba(4, 120, 87, .7); }
.tr-phone { position: relative; width: 260px; min-height: 380px; padding: 30px 16px 18px; border-radius: 34px; background: #fff; border: 8px solid #0B1533; box-shadow: 0 40px 70px -30px rgba(11, 21, 51, .55); display: flex; flex-direction: column; gap: 10px; }
.tr-pbtn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: 100%; padding: 12px; border-radius: 12px; font-size: 13.5px; font-weight: 700; color: #fff; background: #047857; }
.tr-phone .bz-check { width: 100%; margin: 0; }
.tr-phone .bz-ptask { font-size: 13px; gap: 9px; }
.tr-photos { display: flex; align-items: center; gap: 6px; }
.tr-photos > i { width: 44px; height: 44px; border-radius: 8px; background: var(--c); }
.tr-photos em { font-style: normal; font-size: 12px; font-weight: 700; color: #475569; margin-left: 4px; }
.tr-more { margin: 30px 0 0; text-align: center; font-size: 15px; color: var(--brand-text, #475569); }
.tr-more a { font-weight: 700; color: #047857; text-decoration: none; }
.tr-more a:hover { text-decoration: underline; }

/* Industry switcher */
.bi-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 24px; }
.bi-tab { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; color: var(--brand-ink, #0B1533); background: #fff; border: 1px solid var(--brand-line, #E6EAF2); transition: background .2s ease, color .2s ease, border-color .2s ease; }
.bi-tab i { color: #047857; }
.bi-tab:hover { border-color: #A7F3D0; }
.bi-tab.on { color: #fff; background: #047857; border-color: #047857; }
.bi-tab.on i { color: #fff; }
.bi-tab:focus-visible { outline: 2px solid #047857; outline-offset: 2px; }
.bi-panel { max-width: 1020px; margin: 0 auto; padding: 30px; border-radius: 24px; background: #fff; border: 1px solid var(--brand-line, #E6EAF2); box-shadow: 0 24px 50px -36px rgba(11, 21, 51, .35); animation: tr-in .35s ease both; }
.bi-panel[hidden] { display: none; }
.bi-top { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }
.bi-icon { flex: 0 0 auto; width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; font-size: 20px; color: #fff; background: linear-gradient(135deg, #39B916, #047857); }
.bi-top h3 { margin: 0; font-size: 1.3rem; font-weight: 800; color: var(--brand-ink, #0B1533); }
.bi-top p { margin: 2px 0 0; font-size: 14.5px; color: var(--brand-text, #475569); }
.bi-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.bi-block { padding: 18px; border-radius: 16px; background: #F8FAFC; border: 1px solid #EEF2F7; }
.bi-label { display: block; margin-bottom: 10px; font-size: 11px; font-weight: 800; letter-spacing: 1.2px; text-transform: uppercase; color: #64748B; }
.bi-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.bi-chips em { font-style: normal; padding: 6px 12px; border-radius: 999px; font-size: 13.5px; font-weight: 700; color: #047857; background: #ECFDF5; border: 1px solid #A7F3D0; }
.bi-flow { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.bi-flow li { position: relative; display: inline-flex; align-items: center; padding: 6px 12px; border-radius: 8px; font-size: 13px; font-weight: 600; color: var(--brand-ink, #0B1533); background: #fff; border: 1px solid #E2E8F0; }
.bi-flow li:not(:last-child)::after { content: '\f054'; font-family: 'Font Awesome 6 Free'; font-weight: 900; font-size: 8px; color: #94A3B8; margin: 0 -2px 0 10px; }
.bi-flow-alt li { color: #1E3A8A; background: #EFF6FF; border-color: #BFDBFE; }
.bi-pay { display: flex; height: 14px; border-radius: 999px; overflow: hidden; margin-bottom: 12px; }
.bi-pay i { width: var(--w); background: var(--c); }
.bi-pay i + i { border-left: 2px solid #fff; }
.bi-paylist { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.bi-paylist li { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--brand-text, #475569); }
.bi-paylist li i { width: 10px; height: 10px; border-radius: 3px; background: var(--c); }
.bi-paylist b { color: var(--brand-ink, #0B1533); }
.bi-note { display: flex; align-items: flex-start; gap: 10px; margin: 18px 0 0; font-size: 14px; line-height: 1.55; color: var(--brand-text, #475569); }
.bi-note i { margin-top: 3px; color: #047857; }

/* Smart features */
.bz-feats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 22px; }
.bz-feats li { display: flex; gap: 14px; padding: 18px; border-radius: 18px; background: #fff; border: 1px solid var(--brand-line, #E6EAF2); }
.bz-feats li > i { flex: 0 0 auto; width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; font-size: 16px; color: #047857; background: #ECFDF5; }
.bz-feats h3 { margin: 0 0 4px; font-size: 1rem; font-weight: 700; color: var(--brand-ink, #0B1533); }
.bz-feats p { margin: 0; font-size: .93rem; line-height: 1.6; color: var(--brand-text, #475569); }
.bz-start-cta { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 14px; margin-top: 30px; font-size: 14px; color: var(--brand-text, #475569); }
.bz-start-cta .ag-btn { padding: 14px 24px; font-size: 15px; }

/* Roles: 9 cards in 3 columns */
#roles .ag-card h3 { margin-top: 4px; }

@media (max-width: 1100px) {
  .tr-panel { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .tr-copy { max-width: 640px; }
}
@media (max-width: 760px) {
  .bi-grid, .bz-feats { grid-template-columns: minmax(0, 1fr); }
  .bi-panel { padding: 20px; }
}
@media (max-width: 640px) {
  .bz-sub .container { justify-content: flex-start; }
  .tr-tabs, .bi-tabs { justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; margin-left: -16px; margin-right: -16px; padding: 0 16px 6px; scrollbar-width: none; }
  .tr-tabs::-webkit-scrollbar, .bi-tabs::-webkit-scrollbar { display: none; }
  .tr-tab, .bi-tab { flex: 0 0 auto; }
  .tr-body { padding: 14px; min-height: 0; }
  .tr-q { grid-template-columns: minmax(0, 1fr) 70px; }
  .tr-q small { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .tr-in, .tr-steps li { opacity: 1; animation: none !important; }
  .tr-steps li::before { color: #fff; background: #047857; animation: none !important; }
  .tr-sw .a { display: none; }
  .tr-sw .b { opacity: 1; animation: none !important; }
  .tr-bar i { width: var(--to); background: #EF4444; animation: none !important; }
  .tr-tab.on::after { display: none; }
  .bi-panel { animation: none; }
}

/* Baelify Business: "New" badge in the menu, home hero link, promo box on related pages */
.nav-new { margin-left: 4px; padding: 1px 6px; border-radius: 999px; font-size: 9.5px; font-style: normal; font-weight: 800; letter-spacing: .4px; text-transform: uppercase; vertical-align: 2px; color: #fff; background: #39B916; }
.hero-new { display: inline-flex; align-items: center; gap: 10px; max-width: 100%; margin: -8px 0 26px; padding: 6px 14px 6px 6px; border-radius: 999px; text-decoration: none; font-size: 14px; color: var(--brand-ink, #0B1533); background: #fff; border: 1px solid #BBF7D0; box-shadow: 0 10px 24px -18px rgba(4, 120, 87, .6); transition: border-color .2s ease, transform .2s ease; }
.hero-new:hover { border-color: #39B916; transform: translateY(-1px); }
.hero-new em { flex: 0 0 auto; padding: 3px 9px; border-radius: 999px; font-style: normal; font-size: 11px; font-weight: 800; letter-spacing: .5px; text-transform: uppercase; color: #fff; background: #047857; }
.hero-new span { min-width: 0; }
.hero-new b { color: #047857; }
.hero-new i { font-size: 11px; color: #047857; }
.bz-promo { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; margin: 0 0 36px; padding: 20px 24px; border-radius: 22px; background: linear-gradient(120deg, #ECFDF5, #F0FDF4 60%, #fff); border: 1px solid #BBF7D0; }
.pg-related-all + .bz-promo { margin: 28px 0 0; }
.bz-promo .bz-strip-icon { box-shadow: 0 10px 24px -16px rgba(4, 120, 87, .7); }
.bz-promo-text { flex: 1 1 380px; min-width: 0; }
.bz-promo-text p { margin: 0; font-size: .98rem; line-height: 1.6; color: var(--brand-text, #475569); }
.bz-promo-text b { color: var(--brand-ink, #0B1533); }
.bz-promo-btn { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 8px; padding: 12px 20px; border-radius: 999px; font-weight: 700; font-size: 14.5px; text-decoration: none; color: #fff; background: #047857; transition: background .2s ease, transform .2s ease; }
.bz-promo-btn:hover { background: #065F46; transform: translateY(-1px); color: #fff; }
@media (max-width: 1240px) { .nav-new { display: none; } }
@media (max-width: 991px) { .nav-new { display: inline-block; } }
@media (max-width: 640px) { .hero-new { font-size: 13px; } .bz-promo { padding: 18px; } .bz-promo-btn { width: 100%; justify-content: center; } }




/* ---------- Careers page (cr-) ---------- */
.cr-card {
  --ct-ink: #0B1533; --ct-text: #475569; --ct-card: #FFFFFF; --ct-line: #E2E8F0; --ct-field: #F8FAFC; --ct-ease: cubic-bezier(.2, .7, .2, 1);
  max-width: 900px; margin: 0 auto;
}
.cr-apply { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; font-size: 14px; font-weight: 700; text-decoration: none; color: var(--svc); }
.cr-apply:hover { text-decoration: underline; }
.cr-done { text-align: center; padding: 30px 10px; }
.cr-done h3 { margin: 16px 0 8px; font-size: 1.4rem; color: var(--brand-ink, #0B1533); }
.cr-done p { margin: 0; color: var(--brand-text, #475569); }
.cr-done .ct-success-icon { margin: 0 auto; }
.cr-card .ct-note a { color: #2563EB; font-weight: 600; }
.cr-card .ct-submit:disabled { opacity: .6; cursor: wait; }
@media (max-width: 640px) {
  .cr-card .ct-row { grid-template-columns: minmax(0, 1fr); }
}

/* Narrow laptops: 8 menu items + Let's Talk fit on one line */
@media (min-width: 992px) and (max-width: 1199px) {
  .logo .brand-logo-img { height: 32px; }
  .header .nav-link { padding: 10px 7px; font-size: 13.5px; }
  .header .nav-link::after { left: 7px; right: 7px; }
  .nd-toggle { margin-left: -6px; }
  .hd-cta { padding: 9px 14px; font-size: 13px; }
  .header .container { padding-left: 16px; padding-right: 16px; }
}

/* City pages + footer city links */
.city-areas { display: flex; align-items: flex-start; justify-content: center; gap: 10px; max-width: 900px; margin: 26px auto 0; font-size: 14.5px; line-height: 1.6; text-align: center; color: var(--brand-text, #475569); }
.city-areas i { margin-top: 4px; color: #2563EB; }
.ft-inline { color: inherit; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(255, 255, 255, .35); }
.ft-inline:hover { color: #fff; }
.ft-locs { display: inline; }
.ft-contact .ft-locs { display: inline; }
.ft-contact .ft-locs a { display: inline; }
