
/* ==========================================
   DESIGN TOKENS & SYSTEM VARIABLES (DIRECTIMPACT.AI - SPACE GROTESK & VDB PALETTE)
   ========================================== */
:root {
  /* Fonts */
  --font-heading: 'Space Grotesk', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-body: 'Space Grotesk', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Theme: Light (Default) */
  --bg-primary: #ffffff;
  --bg-secondary: #f4f6f8;
  --bg-tertiary: #e9ecf0;
  
  --text-primary: #06101e;
  --text-secondary: #2a3a4e;
  --text-tertiary: #5b6e86;
  
  --accent-primary: #3f8dfe;      /* Secondary - Electric Blue */
  --accent-primary-rgb: 63, 141, 254;
  --accent-secondary: #a1c8f3;    /* Accent - Sky Blue */
  --accent-secondary-rgb: 161, 200, 243;
  --accent-tertiary: #0f1a2d;     /* Primary - Deep Navy */
  
  /* Glassmorphism Light */
  --glass-bg: rgba(255, 255, 255, 0.75);
  --glass-bg-hover: rgba(255, 255, 255, 0.9);
  --glass-border: rgba(233, 236, 240, 0.95);
  --glass-border-hover: rgba(63, 141, 254, 0.35);
  --glass-shadow: 0 8px 32px 0 rgba(6, 16, 30, 0.05),
                  0 1px 3px 0 rgba(6, 16, 30, 0.03),
                  inset 0 1px 0 0 rgba(255, 255, 255, 0.9);
  --glass-shadow-hover: 0 16px 48px 0 rgba(63, 141, 254, 0.12),
                        0 2px 8px 0 rgba(6, 16, 30, 0.05),
                        inset 0 1px 0 0 rgba(255, 255, 255, 1);
  
  /* Gradient Meshes */
  --mesh-gradient: radial-gradient(circle at 15% 15%, rgba(63, 141, 254, 0.05) 0%, transparent 60%),
                    radial-gradient(circle at 85% 10%, rgba(161, 200, 243, 0.07) 0%, transparent 60%),
                    radial-gradient(circle at 50% 80%, rgba(15, 26, 45, 0.03) 0%, transparent 70%);

  /* Cards Backgrounds */
  --card-bg: rgba(255, 255, 255, 0.88);
  --glow-color: rgba(63, 141, 254, 0.18);
  --badge-bg: rgba(63, 141, 254, 0.08);
  --badge-text: #0f1a2d;
  --timeline-line-color: rgba(15, 26, 45, 0.12);
  
  /* Transition Speeds */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  
  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-pill: 9999px;
  
  /* Layout Bounds */
  --max-width: 1280px;
  --header-height: 80px;

  /* Code Block Colors (Light Theme) */
  --code-bg: #e9ecf0;
  --code-color: #3f8dfe;

  /* Form Input Colors (Light Theme) */
  --input-bg: rgba(255, 255, 255, 0.95);
  --input-bg-focus: #ffffff;
  --input-border: rgba(15, 26, 45, 0.12);
  --input-border-focus: var(--accent-primary);
}

/* Dark Theme Override */
[data-theme="dark"] {
  --bg-primary: #06101e;
  --bg-secondary: #0f1a2d;
  --bg-tertiary: #152238;
  
  --text-primary: #ffffff;
  --text-secondary: #cbd9e8;
  --text-tertiary: #7a93b2;
  
  --accent-primary: #3f8dfe;      /* Secondary - Electric Blue */
  --accent-primary-rgb: 63, 141, 254;
  --accent-secondary: #a1c8f3;    /* Accent - Sky Blue */
  --accent-secondary-rgb: 161, 200, 243;
  --accent-tertiary: #7eb3fe;
  
  /* Glassmorphism Dark */
  --glass-bg: rgba(15, 26, 45, 0.55);
  --glass-bg-hover: rgba(21, 34, 56, 0.7);
  --glass-border: rgba(161, 200, 243, 0.12);
  --glass-border-hover: rgba(63, 141, 254, 0.35);
  --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.45),
                  0 1px 3px 0 rgba(0, 0, 0, 0.2),
                  inset 0 1px 0 0 rgba(255, 255, 255, 0.06);
  --glass-shadow-hover: 0 16px 48px 0 rgba(0, 0, 0, 0.65),
                        0 2px 8px 0 rgba(0, 0, 0, 0.3),
                        inset 0 1px 0 0 rgba(255, 255, 255, 0.12);
  
  /* Gradient Meshes Dark */
  --mesh-gradient: radial-gradient(circle at 15% 15%, rgba(63, 141, 254, 0.08) 0%, transparent 60%),
                    radial-gradient(circle at 85% 10%, rgba(161, 200, 243, 0.06) 0%, transparent 60%),
                    radial-gradient(circle at 50% 80%, rgba(15, 26, 45, 0.3) 0%, transparent 70%);
                    
  --card-bg: rgba(15, 26, 45, 0.65);
  --glow-color: rgba(63, 141, 254, 0.25);
  --badge-bg: rgba(63, 141, 254, 0.15);
  --badge-text: #a1c8f3;
  --timeline-line-color: var(--glass-border);

  /* Code Block Colors (Dark Theme) */
  --code-bg: rgba(6, 16, 30, 0.6);
  --code-color: #a1c8f3;

  /* Form Input Colors (Dark Theme) */
  --input-bg: rgba(255, 255, 255, 0.04);
  --input-bg-focus: rgba(255, 255, 255, 0.08);
  --input-border: var(--glass-border);
  --input-border-focus: var(--accent-primary);
}

/* ==========================================
   RESET & SYSTEM STYLES
   ========================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background-color: var(--bg-primary);
  background-image: var(--mesh-gradient);
  background-attachment: fixed;
  color: var(--text-primary);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background-color var(--transition-normal), color var(--transition-normal);
}

img, svg, video {
  display: block;
  max-width: 100%;
  height: auto;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  border: none;
  background: none;
  color: inherit;
}

button {
  cursor: pointer;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

/* ==========================================
   TYPOGRAPHY UTILITIES
   ========================================== */
.font-display {
  font-family: var(--font-heading);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.text-gradient {
  background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-gradient-pink {
  background: linear-gradient(135deg, var(--accent-secondary) 0%, var(--accent-primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background-color: var(--badge-bg);
  color: var(--badge-text);
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border: 1px solid rgba(var(--accent-primary-rgb), 0.15);
  margin-bottom: 16px;
  width: fit-content;
  backdrop-filter: blur(5px);
  transition: all var(--transition-fast);
}

.badge:hover {
  border-color: rgba(var(--accent-primary-rgb), 0.3);
  transform: translateY(-1px);
}

/* ==========================================
   GLASSMORPHISM SYSTEM
   ========================================== */
.glass-panel {
  background: var(--glass-bg);
  backdrop-filter: blur(20px) saturate(190%);
  -webkit-backdrop-filter: blur(20px) saturate(190%);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  border-radius: var(--radius-lg);
  transition: background var(--transition-normal), 
              border var(--transition-normal), 
              box-shadow var(--transition-normal);
}

.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(15px) saturate(170%);
  -webkit-backdrop-filter: blur(15px) saturate(170%);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  border-radius: var(--radius-md);
  padding: 32px;
  transition: background var(--transition-normal), 
              border var(--transition-normal), 
              box-shadow var(--transition-normal),
              transform var(--transition-normal);
}

.glass-card:hover {
  background: var(--glass-bg-hover);
  border-color: var(--glass-border-hover);
  box-shadow: var(--glass-shadow-hover);
}

.glass-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 24px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-pill);
  border: 1px solid var(--glass-border);
  background: var(--glass-bg);
  color: var(--text-primary);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: var(--glass-shadow);
  transition: all var(--transition-fast);
  position: relative;
  overflow: hidden;
}

.glass-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: 0.5s;
}

.glass-btn:hover::before {
  left: 100%;
}

.glass-btn:hover {
  background: var(--glass-bg-hover);
  border-color: var(--glass-border-hover);
  box-shadow: var(--glass-shadow-hover);
  transform: translateY(-2px);
}

.glass-btn.primary {
  background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-secondary) 100%);
  color: #ffffff;
  border: none;
  box-shadow: 0 4px 20px rgba(var(--accent-primary-rgb), 0.35);
}

.glass-btn.primary:hover {
  box-shadow: 0 8px 30px rgba(var(--accent-primary-rgb), 0.5);
  transform: translateY(-3px);
}

.glass-btn.secondary {
  border: 1px solid rgba(var(--accent-primary-rgb), 0.25);
  background: rgba(var(--accent-primary-rgb), 0.03);
}

.glass-btn.secondary:hover {
  background: rgba(var(--accent-primary-rgb), 0.08);
}

/* ==========================================
   SCROLL REVEAL ANIMATIONS
   ========================================== */
.reveal-on-scroll {
  opacity: 0;
  will-change: transform, opacity;
  transition: opacity var(--transition-slow), transform var(--transition-slow);
}

.reveal-on-scroll.fade-in {
  transform: translateY(0);
}

.reveal-on-scroll.slide-up {
  transform: translateY(40px);
}

.reveal-on-scroll.slide-down {
  transform: translateY(-40px);
}

.reveal-on-scroll.slide-left {
  transform: translateX(40px);
}

.reveal-on-scroll.slide-right {
  transform: translateX(-40px);
}

.reveal-on-scroll.scale-up {
  transform: scale(0.9);
}

/* Animation active states */
.reveal-on-scroll.in-view {
  opacity: 1;
  transform: translate(0) scale(1);
}

/* Delay modifiers */
.delay-100 { transition-delay: 100ms; }
.delay-200 { transition-delay: 200ms; }
.delay-300 { transition-delay: 300ms; }
.delay-400 { transition-delay: 400ms; }
.delay-500 { transition-delay: 500ms; }
.delay-600 { transition-delay: 600ms; }

/* Micro-animations */
@keyframes float {
  0% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-12px) rotate(2deg); }
  100% { transform: translateY(0px) rotate(0deg); }
}

@keyframes pulse-glow {
  0% { box-shadow: 0 0 0 0 rgba(var(--accent-primary-rgb), 0.4); }
  70% { box-shadow: 0 0 0 12px rgba(var(--accent-primary-rgb), 0); }
  100% { box-shadow: 0 0 0 0 rgba(var(--accent-primary-rgb), 0); }
}

@keyframes wave {
  0%, 100% { height: 10px; }
  50% { height: 45px; }
}

.animate-float {
  animation: float 6s ease-in-out infinite;
}

/* ==========================================
   NAVIGATION (HEADER)
   ========================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 1000;
  display: flex;
  align-items: center;
  transition: all var(--transition-normal);
}

.site-header.scrolled {
  height: 70px;
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
}

.header-container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* ==========================================
   LOGO STYLES (LIGHT / DARK THEME ADAPTIVE)
   ========================================== */
.logo-wrapper {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.logo-img {
  height: 38px;
  width: auto;
  max-height: 42px;
  object-fit: contain;
  display: block;
}

/* Light Theme (Default): Web Logo HD only */
.logo-light-theme {
  display: block;
}
.logo-dark-theme {
  display: none;
}

/* Dark Theme: Logo HD Light only */
[data-theme="dark"] .logo-light-theme {
  display: none;
}
[data-theme="dark"] .logo-dark-theme {
  display: block;
}

.site-footer .logo-img {
  height: 38px;
}


.main-nav {
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  gap: 32px;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-secondary);
  transition: color var(--transition-fast);
  position: relative;
  padding: 6px 0;
  display: inline-flex;
  align-items: center;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary));
  border-radius: var(--radius-pill);
  transition: width var(--transition-fast);
}

.nav-link:hover {
  color: var(--text-primary);
}

.nav-link:hover::after {
  width: 100%;
}

.nav-link.active {
  color: var(--text-primary);
}

.nav-link.active::after {
  width: 100%;
}

/* ==========================================
   NAVIGATION DROPDOWN MENU
   ========================================== */
.nav-item.dropdown {
  position: relative;
}

.dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
}

.dropdown-caret {
  width: 12px;
  height: 12px;
  transition: transform var(--transition-fast);
}

.nav-item.dropdown:hover .dropdown-caret {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  width: 280px;
  background: rgba(13, 18, 30, 0.95);
  backdrop-filter: blur(25px) saturate(180%);
  -webkit-backdrop-filter: blur(25px) saturate(180%);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  border-radius: var(--radius-md);
  padding: 12px 8px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transition: opacity var(--transition-fast), transform var(--transition-fast), visibility var(--transition-fast);
  z-index: 1100;
}

[data-theme="light"] .dropdown-menu {
  background: rgba(255, 255, 255, 0.96);
}

.nav-item.dropdown:hover .dropdown-menu {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.dropdown-item {
  display: block;
  padding: 10px 16px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}

.dropdown-item:hover {
  background: rgba(var(--accent-primary-rgb), 0.08);
  color: var(--text-primary);
  padding-left: 20px;
}

/* Mobile Responsive Dropdown Styles */
@media (max-width: 768px) {
  .nav-item.dropdown {
    width: 100%;
    text-align: center;
  }
  
  .dropdown-toggle {
    justify-content: center;
  }

  .dropdown-menu {
    position: static;
    transform: none !important;
    width: 100%;
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, opacity 0.3s ease;
  }

  .nav-item.dropdown.active .dropdown-menu {
    max-height: 200px;
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
    padding: 8px 0;
  }

  .dropdown-item {
    font-size: 0.85rem;
    padding: 8px 12px;
  }
  
  .dropdown-item:hover {
    padding-left: 12px;
    background: transparent;
    color: var(--accent-primary);
  }
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

/* Theme Toggle Button */
.theme-toggle-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--glass-border);
  background: var(--glass-bg);
  box-shadow: var(--glass-shadow);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
  position: relative;
  overflow: hidden;
}

.theme-toggle-btn:hover {
  transform: rotate(15deg) scale(1.05);
  border-color: var(--glass-border-hover);
  box-shadow: var(--glass-shadow-hover);
}

.theme-icon {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: var(--text-primary);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Sun/Moon Toggle Anim styling */
[data-theme="dark"] .sun-icon {
  transform: rotate(180deg) scale(0);
  opacity: 0;
}

.moon-icon {
  position: absolute;
  transform: rotate(-180deg) scale(0);
  opacity: 0;
}

[data-theme="dark"] .moon-icon {
  transform: rotate(0) scale(1);
  opacity: 1;
}

/* Hamburger mobile nav toggle */
.mobile-menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--glass-border);
  background: var(--glass-bg);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  transition: all var(--transition-fast);
}

.mobile-menu-toggle span {
  width: 20px;
  height: 2px;
  background-color: var(--text-primary);
  transition: all var(--transition-fast);
  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);
}

/* ==========================================
   HERO SECTION
   ========================================== */
.hero-section {
  padding: calc(var(--header-height) + 60px) 0 80px 0;
  min-height: 90vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-grid {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
}

.hero-title {
  font-size: clamp(2.8rem, 5vw, 4.2rem);
  line-height: 1.1;
  font-weight: 900;
  margin-bottom: 24px;
}

.hero-description {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: var(--text-secondary);
  margin-bottom: 36px;
  font-weight: 500;
  max-width: 600px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 48px;
}

.hero-features {
  display: flex;
  gap: 32px;
  border-top: 1px solid var(--glass-border);
  padding-top: 32px;
}

.hero-feat-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero-feat-icon {
  width: 20px;
  height: 20px;
  color: var(--accent-primary);
}

.hero-feat-text {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
}

/* Interactive Hero Preview Component */
.hero-visual {
  perspective: 1000px;
  position: relative;
}

.hero-3d-wrapper {
  transform-style: preserve-3d;
  transition: transform var(--transition-normal);
}

.mockup-card {
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--glass-shadow);
  border: 1px solid var(--glass-border);
  background: var(--glass-bg);
}

.mockup-header {
  padding: 16px 24px;
  background: rgba(255, 255, 255, 0.15);
  border-bottom: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  backdrop-filter: blur(10px);
}

.mockup-dots {
  display: flex;
  gap: 6px;
}

.mockup-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: var(--text-tertiary);
  opacity: 0.3;
}

.mockup-dot.red { background-color: #ef4444; opacity: 0.8; }
.mockup-dot.yellow { background-color: #f59e0b; opacity: 0.8; }
.mockup-dot.green { background-color: #10b981; opacity: 0.8; }

.mockup-title {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 6px;
}

.status-dot {
  width: 8px;
  height: 8px;
  background-color: #10b981;
  border-radius: 50%;
  animation: pulse-glow 2s infinite;
}

.mockup-body {
  padding: 24px;
  min-height: 380px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.chat-simulator {
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex-grow: 1;
}

.chat-bubble {
  max-width: 80%;
  padding: 14px 18px;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.4;
  backdrop-filter: blur(5px);
  transform: scale(0.95);
  opacity: 0;
  animation: messageIn 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.chat-bubble.bot {
  align-self: flex-start;
  background: var(--bg-tertiary);
  color: var(--text-primary);
  border-bottom-left-radius: 4px;
  border: 1px solid var(--glass-border);
}

.chat-bubble.user {
  align-self: flex-end;
  background: linear-gradient(135deg, var(--accent-primary) 0%, rgba(var(--accent-primary-rgb), 0.8) 100%);
  color: #ffffff;
  border-bottom-right-radius: 4px;
  box-shadow: 0 4px 12px rgba(var(--accent-primary-rgb), 0.15);
}

.chat-bubble.bot .avatar {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 800;
  font-size: 0.65rem;
  margin-right: 8px;
  vertical-align: middle;
}

.chat-input-row {
  margin-top: 20px;
  display: flex;
  gap: 10px;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-pill);
  align-items: center;
}

.chat-input-row input {
  flex-grow: 1;
  border: none;
  background: transparent;
  outline: none;
  font-size: 0.9rem;
  color: var(--text-primary);
}

.chat-send-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--accent-primary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition-fast);
}

.chat-send-btn:hover {
  transform: scale(1.05);
}

@keyframes messageIn {
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Floating 3D Elements */
.floating-element {
  position: absolute;
  padding: 12px 18px;
  border-radius: var(--radius-md);
  box-shadow: var(--glass-shadow-hover);
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 10;
  backdrop-filter: blur(10px);
}

.float-card-1 {
  top: 15%;
  left: -20px;
  background: rgba(var(--accent-primary-rgb), 0.1);
  border: 1px solid rgba(var(--accent-primary-rgb), 0.2);
  animation: float 5s ease-in-out infinite;
}

.float-card-2 {
  bottom: 20%;
  right: -30px;
  background: rgba(var(--accent-secondary-rgb), 0.15);
  border: 1px solid rgba(var(--accent-secondary-rgb), 0.3);
  animation: float 7s ease-in-out infinite 1s;
}

.float-icon {
  width: 24px;
  height: 24px;
}

.float-card-1 .float-icon { color: var(--accent-primary); }
.float-card-2 .float-icon { color: var(--accent-secondary); }

.float-text {
  display: flex;
  flex-direction: column;
}

.float-label {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-tertiary);
  letter-spacing: 0.05em;
}

.float-val {
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--text-primary);
}

/* ==========================================
   PARTNERS / TRUST LOGOS
   ========================================== */
.trust-section {
  padding: 40px 0;
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
  background: rgba(255, 255, 255, 0.02);
  overflow: hidden;
}

.trust-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.trust-title {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-tertiary);
}

.logo-marquee {
  display: flex;
  width: 100%;
  gap: 60px;
  overflow: hidden;
  position: relative;
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.marquee-content {
  display: flex;
  gap: 80px;
  animation: marquee 25s linear infinite;
  white-space: nowrap;
}

.marquee-content:hover {
  animation-play-state: paused;
}

.trust-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-tertiary);
  opacity: 0.55;
  transition: opacity var(--transition-fast), color var(--transition-fast);
}

.trust-logo svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.trust-logo:hover {
  opacity: 1;
  color: var(--text-primary);
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ==========================================
   SERVICES SECTION
   ========================================== */
.services-section {
  padding: 80px 0;
  position: relative;
}

.section-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 64px auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.section-title {
  font-size: clamp(2rem, 3.5vw, 3rem);
  margin-bottom: 20px;
}

.section-subtitle {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  color: var(--text-secondary);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  cursor: pointer;
  overflow: hidden;
}

.service-icon-box {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: rgba(var(--accent-primary-rgb), 0.08);
  border: 1px solid rgba(var(--accent-primary-rgb), 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-primary);
  margin-bottom: 24px;
  transition: all var(--transition-normal);
}

.service-card:hover .service-icon-box {
  background: var(--accent-primary);
  color: white;
  transform: scale(1.05) rotate(5deg);
}

.service-title {
  font-size: 1.35rem;
  margin-bottom: 16px;
}

.service-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: 24px;
  flex-grow: 1;
}

.service-bullets {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 30px;
  border-top: 1px solid var(--glass-border);
  padding-top: 20px;
}

.service-bullet {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.bullet-chk {
  width: 16px;
  height: 16px;
  color: var(--accent-secondary);
}

.service-link {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--accent-primary);
  display: flex;
  align-items: center;
  gap: 6px;
  transition: gap var(--transition-fast);
}

.service-link svg {
  width: 16px;
  height: 16px;
  transition: transform var(--transition-fast);
}

.service-card:hover .service-link {
  color: var(--accent-secondary);
}

.service-card:hover .service-link svg {
  transform: translateX(4px);
}

/* Glow gradient behind hover */
.service-card::after {
  content: '';
  position: absolute;
  top: -150px;
  left: -150px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, var(--glow-color) 0%, transparent 70%);
  opacity: 0;
  transition: opacity var(--transition-normal);
  pointer-events: none;
  z-index: -1;
}

.service-card:hover::after {
  opacity: 1;
}

/* ==========================================
   INTERACTIVE SHOWCASE (DASHBOARD HUB)
   ========================================== */
.showcase-section {
  padding: 80px 0;
  background: rgba(255, 255, 255, 0.01);
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
}

.showcase-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.showcase-tabs {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 48px;
}

.tab-btn {
  padding: 12px 24px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-secondary);
  border: 1px solid var(--glass-border);
  background: var(--glass-bg);
  box-shadow: var(--glass-shadow);
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all var(--transition-fast);
}

.tab-btn.active {
  background: linear-gradient(135deg, var(--accent-primary) 0%, rgba(var(--accent-primary-rgb), 0.8) 100%);
  color: white;
  border: none;
  box-shadow: 0 4px 15px rgba(var(--accent-primary-rgb), 0.3);
}

.tab-btn:hover:not(.active) {
  border-color: var(--glass-border-hover);
  background: var(--glass-bg-hover);
  color: var(--text-primary);
  transform: translateY(-2px);
}

.showcase-viewscreen {
  min-height: 520px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--glass-border);
  background: var(--glass-bg);
  box-shadow: var(--glass-shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.showcase-view-header {
  padding: 18px 24px;
  border-bottom: 1px solid var(--glass-border);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.view-controls {
  display: flex;
  align-items: center;
  gap: 16px;
}

.window-dots {
  display: flex;
  gap: 6px;
}

.window-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: var(--text-tertiary);
  opacity: 0.2;
}

.window-dot.active-red { background-color: #ef4444; opacity: 0.85; }
.window-dot.active-yellow { background-color: #f59e0b; opacity: 0.85; }
.window-dot.active-green { background-color: #10b981; opacity: 0.85; }

.view-title-display {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-secondary);
  letter-spacing: 0.02em;
}

.view-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.view-indicator-pill {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #10b981;
  background: rgba(16, 185, 129, 0.12);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  display: flex;
  align-items: center;
  gap: 6px;
}

.view-content-pane {
  flex-grow: 1;
  padding: 40px;
  display: none;
  width: 100%;
  min-height: 440px;
}

.view-content-pane.active {
  display: flex;
  flex-direction: column;
}

/* Tab 1: Live Chat simulator styles */
.pane-chat-wrapper {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 30px;
  width: 100%;
  min-height: 400px;
}

.sidebar-stats-box {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.stat-min-card {
  padding: 16px;
  border-radius: var(--radius-md);
  border: 1px solid var(--glass-border);
  background: rgba(255, 255, 255, 0.05);
}

.stat-min-header {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-tertiary);
  margin-bottom: 6px;
}

.stat-min-num {
  font-size: 1.5rem;
  font-weight: 800;
  font-family: var(--font-heading);
  display: block;
  text-align: right; /* Right align metrics inside mini stats card */
}

.stat-bar {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-pill);
  margin-top: 10px;
  overflow: hidden;
}

.stat-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary));
  border-radius: var(--radius-pill);
}

.chat-viewport-module {
  border-radius: var(--radius-md);
  border: 1px solid var(--glass-border);
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  flex-direction: column;
  max-height: 420px;
}

.chat-messages-container {
  flex-grow: 1;
  overflow-y: auto;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Custom modern premium scrollbar design */
.chat-messages-container::-webkit-scrollbar {
  width: 6px;
}

.chat-messages-container::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.02);
  border-radius: var(--radius-pill);
}

.chat-messages-container::-webkit-scrollbar-thumb {
  background: rgba(var(--accent-primary-rgb), 0.25);
  border-radius: var(--radius-pill);
  transition: background var(--transition-fast);
}

.chat-messages-container::-webkit-scrollbar-thumb:hover {
  background: rgba(var(--accent-primary-rgb), 0.45);
}

.chat-input-bar-module {
  padding: 16px 20px;
  border-top: 1px solid var(--glass-border);
  display: flex;
  gap: 10px;
}

.chat-input-bar-module input {
  flex-grow: 1;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-pill);
  padding: 10px 18px;
  outline: none;
  font-size: 0.9rem;
}

/* Tab 2: Voice Dashboard styles */
.pane-voice-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  width: 100%;
  min-height: 400px;
}

.voice-left-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 30px;
}

.audio-wavelength-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 80px;
}

.audio-bar {
  width: 6px;
  height: 10px;
  background: linear-gradient(to top, var(--accent-primary), var(--accent-secondary));
  border-radius: var(--radius-pill);
  animation: wave 1.2s ease-in-out infinite;
}

.audio-bar:nth-child(2) { animation-delay: 0.1s; }
.audio-bar:nth-child(3) { animation-delay: 0.2s; }
.audio-bar:nth-child(4) { animation-delay: 0.3s; }
.audio-bar:nth-child(5) { animation-delay: 0.4s; }
.audio-bar:nth-child(6) { animation-delay: 0.5s; }
.audio-bar:nth-child(7) { animation-delay: 0.6s; }
.audio-bar:nth-child(8) { animation-delay: 0.7s; }
.audio-bar:nth-child(9) { animation-delay: 0.8s; }
.audio-bar:nth-child(10) { animation-delay: 0.9s; }

.call-control-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.voice-pulse-btn {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-secondary) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  box-shadow: 0 4px 20px rgba(var(--accent-primary-rgb), 0.4);
  animation: pulse-glow 2s infinite;
}

.call-timer {
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  font-family: var(--font-heading);
}

.voice-right-panel {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.transcript-log-screen {
  border-radius: var(--radius-md);
  border: 1px solid var(--glass-border);
  background: rgba(0, 0, 0, 0.15);
  padding: 24px;
  flex-grow: 1;
  font-family: var(--font-body);
  font-size: 0.85rem;
  overflow-y: auto;
  max-height: 380px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.transcript-line {
  line-height: 1.4;
  color: var(--text-secondary);
}

.transcript-line.agent {
  color: var(--accent-secondary);
}

.transcript-line.user {
  color: var(--text-primary);
}

/* Tab 3: Custom Node agent Builder styles */
.pane-flow-wrapper {
  width: 100%;
  height: 400px;
  position: relative;
  overflow: hidden;
}

.flow-node {
  position: absolute;
  padding: 16px 20px;
  border-radius: var(--radius-md);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow-hover);
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 5;
}

.flow-node-icon {
  width: 24px;
  height: 24px;
  color: var(--accent-primary);
}

.flow-node-info {
  display: flex;
  flex-direction: column;
}

.flow-node-title {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--text-primary);
}

.flow-node-status {
  font-size: 0.65rem;
  font-weight: 600;
  color: #10b981;
}

.node-trigger { top: 20%; left: 10%; }
.node-processor-1 { top: 15%; right: 15%; }
.node-processor-2 { bottom: 20%; left: 20%; }
.node-output { bottom: 25%; right: 10%; }

.svg-connections-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.connection-path {
  fill: none;
  stroke: var(--accent-primary);
  stroke-width: 2;
  stroke-dasharray: 8 4;
  opacity: 0.3;
  animation: strokeDash 15s linear infinite;
}

.connection-path.active {
  stroke: var(--accent-secondary);
  stroke-width: 3;
  opacity: 0.8;
}

@keyframes strokeDash {
  to {
    stroke-dashoffset: -200;
  }
}

/* ==========================================
   HOW IT WORKS (TIMELINE)
   ========================================== */
.timeline-section {
  padding: 80px 0;
  overflow: hidden; /* Bulletproof overflow fix for translated timeline nodes on mobile */
}

.pipeline-timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 0;
}

.pipeline-timeline::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 100%;
  background: linear-gradient(to bottom, 
    var(--accent-primary) 0%, 
    var(--accent-secondary) 50%, 
    var(--accent-tertiary) 100%
  );
  border-radius: var(--radius-pill);
  opacity: 0.2;
}

.timeline-item {
  width: 100%;
  margin-bottom: 60px;
  position: relative;
  display: flex;
  justify-content: flex-end;
}

.timeline-item:nth-child(even) {
  justify-content: flex-start;
}

.timeline-dot {
  position: absolute;
  top: 24px;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--bg-primary);
  border: 4px solid var(--accent-primary);
  z-index: 10;
  box-shadow: 0 0 0 4px var(--bg-primary);
  transition: all var(--transition-normal);
}

.timeline-item:nth-child(2) .timeline-dot { border-color: var(--accent-secondary); }
.timeline-item:nth-child(3) .timeline-dot { border-color: var(--accent-primary); }
.timeline-item:nth-child(4) .timeline-dot { border-color: var(--accent-tertiary); }

.timeline-item.in-view .timeline-dot {
  background: var(--accent-primary);
  box-shadow: 0 0 15px var(--accent-primary);
}

.timeline-item:nth-child(2).in-view .timeline-dot {
  background: var(--accent-secondary);
  box-shadow: 0 0 15px var(--accent-secondary);
}

.timeline-item:nth-child(4).in-view .timeline-dot {
  background: var(--accent-tertiary);
  box-shadow: 0 0 15px var(--accent-tertiary);
}

.timeline-card {
  width: 45%;
}

.timeline-step {
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--accent-primary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}

.timeline-title {
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.timeline-desc {
  font-size: 0.92rem;
  color: var(--text-secondary);
}

/* ==========================================
   INDUSTRIES SECTION
   ========================================== */
.industries-section {
  padding: 80px 0;
  background: rgba(255, 255, 255, 0.01);
}

.industries-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.industry-card {
  text-align: center;
  position: relative;
}

.ind-icon-box {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: rgba(var(--accent-secondary-rgb), 0.08);
  border: 1px solid rgba(var(--accent-secondary-rgb), 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-secondary);
  margin: 0 auto 20px auto;
  transition: all var(--transition-normal);
}

.industry-card:hover .ind-icon-box {
  background: var(--accent-secondary);
  color: white;
  transform: translateY(-4px) rotate(360deg);
}

.ind-title {
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.ind-metric {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent-primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ==========================================
   STATS SECTION
   ========================================== */
.stats-section {
  padding: 80px 0;
  position: relative;
}

.premium-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-top: 40px;
}

.premium-stat-card {
  background: var(--glass-bg);
  backdrop-filter: blur(25px) saturate(200%);
  -webkit-backdrop-filter: blur(25px) saturate(200%);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 40px 24px;
  position: relative;
  overflow: hidden;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.premium-stat-card:hover {
  transform: translateY(-5px);
  border-color: var(--glass-border-hover);
  box-shadow: 0 20px 45px rgba(var(--accent-primary-rgb), 0.12);
}

.stat-icon-wrapper {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: rgba(var(--accent-primary-rgb), 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-primary);
  margin-bottom: 20px;
  border: 1px solid rgba(var(--accent-primary-rgb), 0.15);
}

.premium-stat-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at center, rgba(var(--accent-primary-rgb), 0.03) 0%, transparent 60%);
  pointer-events: none;
  z-index: 1;
}

.stat-number {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 900;
  font-family: var(--font-heading);
  margin-bottom: 8px;
  display: block;
  z-index: 2;
}

.stat-label {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-secondary);
  z-index: 2;
}

/* ==========================================
   WHY CHOOSE US SECTION
   ========================================== */
.why-section {
  padding: 80px 0;
  position: relative;
  background: rgba(255, 255, 255, 0.005);
  overflow: hidden; /* Prevent horizontal overflow from translated scroll-reveal child cards */
}

.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 40px;
}

.why-card {
  border-radius: var(--radius-lg);
  padding: 40px;
  transition: all var(--transition-normal);
  position: relative;
}

.why-card.premium-glass {
  background: rgba(var(--accent-primary-rgb), 0.02);
  border: 1px solid rgba(16, 185, 129, 0.3); /* Green to match the checkmark check icon */
  box-shadow: 0 8px 32px 0 rgba(63, 141, 254, 0.03);
}

.why-card.premium-glass:hover {
  border-color: rgba(16, 185, 129, 0.6);
  box-shadow: 0 16px 48px 0 rgba(63, 141, 254, 0.08);
}

.why-card.generic-glass {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(239, 68, 68, 0.25); /* Red/orange to match the cross icons */
  opacity: 0.85;
  transition: all var(--transition-normal);
}

.why-card.generic-glass:hover {
  border-color: rgba(239, 68, 68, 0.5);
}

.why-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 30px;
}

.why-icon {
  color: #10b981; /* Green */
  width: 28px;
  height: 28px;
}

.why-icon-cross {
  color: #ef4444; /* Red */
  width: 28px;
  height: 28px;
}

.why-title {
  font-size: 1.35rem;
  font-weight: 800;
  font-family: var(--font-heading);
}

.why-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.why-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--text-secondary);
}

.why-check {
  color: #10b981;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 3px;
}

.why-cross {
  color: #ef4444;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 3px;
}

/* ==========================================
   FLOATING CONTACT WIDGETS (PHONE & WHATSAPP)
   ========================================== */
.whatsapp-widget {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  width: 56px;
  height: 56px;
  text-decoration: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.whatsapp-widget:hover {
  transform: scale(1.1);
}

.whatsapp-icon-box {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: #25D366;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  animation: pulse-glow-green 2s infinite;
  transition: background-color 0.3s ease;
}

.whatsapp-widget:hover .whatsapp-icon-box {
  background: #20BA5A;
}

.whatsapp-badge {
  position: absolute;
  right: 68px;
  background: #0B1F3A;
  color: #FFFFFF;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.82rem;
  font-weight: 700;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transform: translateX(10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

[data-theme="light"] .whatsapp-badge,
:root:not([data-theme="dark"]) .whatsapp-badge {
  background: #FFFFFF;
  color: #0F172A;
  border-color: rgba(15, 23, 42, 0.08);
  box-shadow: 0 4px 18px rgba(6, 16, 30, 0.12);
}

.whatsapp-widget:hover .whatsapp-badge {
  opacity: 1;
  transform: translateX(0);
}

@keyframes pulse-glow-green {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5); }
  70% { box-shadow: 0 0 0 14px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

.phone-widget {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 9999;
  width: 56px;
  height: 56px;
  text-decoration: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.phone-widget:hover {
  transform: scale(1.1);
}

.phone-icon-box {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: var(--accent-primary, #3f8dfe);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(63, 141, 254, 0.4);
  animation: pulse-glow-blue 2s infinite;
  transition: background-color 0.3s ease;
}

.phone-icon-box svg {
  transform: rotate(90deg) !important;
}

.phone-widget:hover .phone-icon-box {
  background: #2b77ea;
}

[data-theme="dark"] .phone-icon-box {
  background: var(--accent-primary, #3f8dfe);
  color: #ffffff;
  box-shadow: 0 4px 20px rgba(63, 141, 254, 0.4);
}

.phone-badge {
  position: absolute;
  left: 68px;
  background: #0B1F3A;
  color: #FFFFFF;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.82rem;
  font-weight: 700;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transform: translateX(-10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

[data-theme="light"] .phone-badge,
:root:not([data-theme="dark"]) .phone-badge {
  background: #FFFFFF;
  color: #0F172A;
  border-color: rgba(15, 23, 42, 0.08);
  box-shadow: 0 4px 18px rgba(6, 16, 30, 0.12);
}

.phone-widget:hover .phone-badge {
  opacity: 1;
  transform: translateX(0);
}

@keyframes pulse-glow-blue {
  0% { box-shadow: 0 0 0 0 rgba(63, 141, 254, 0.5); }
  70% { box-shadow: 0 0 0 14px rgba(63, 141, 254, 0); }
  100% { box-shadow: 0 0 0 0 rgba(63, 141, 254, 0); }
}

@media (max-width: 768px) {
  .whatsapp-widget {
    bottom: 16px;
    right: 16px;
    width: 48px;
    height: 48px;
  }
  .phone-widget {
    bottom: 16px;
    left: 16px;
    width: 48px;
    height: 48px;
  }
  .whatsapp-badge,
  .phone-badge {
    display: none;
  }
}

/* ==========================================
   CLIENT TESTIMONIALS (REVIEWS) — Luxury Design
   ========================================== */
.reviews-section {
  background-color: var(--bg-secondary, #f4f6f8);
  padding: 95px 0 90px;
  position: relative;
}

[data-theme="dark"] .reviews-section {
  background-color: #0b1524;
}

/* Stats Ribbon Bar */
.reviews-stats-ribbon {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
  background: #ffffff;
  border: 1px solid rgba(15, 26, 45, 0.08);
  border-radius: 9999px;
  padding: 14px 36px;
  box-shadow: 0 4px 20px rgba(6, 16, 30, 0.05);
  margin-top: 32px;
  margin-bottom: 48px;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

[data-theme="dark"] .reviews-stats-ribbon {
  background: #0f1a2d;
  border-color: rgba(161, 200, 243, 0.14);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.35);
}

.rs-ribbon-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.rs-ribbon-item svg {
  color: var(--accent-primary, #3f8dfe);
  flex-shrink: 0;
}

[data-theme="dark"] .rs-ribbon-item svg {
  color: #7eb3fe;
}

.rs-google-logo {
  display: flex;
  align-items: center;
  justify-content: center;
}

.rs-score-text {
  display: block;
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--text-primary, #06101e);
  line-height: 1.1;
}

[data-theme="dark"] .rs-score-text {
  color: #ffffff;
}

.rs-sub-text {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-tertiary, #5b6e86);
}

[data-theme="dark"] .rs-sub-text {
  color: #7a93b2;
}

.rs-ribbon-divider {
  width: 1px;
  height: 24px;
  background: rgba(15, 26, 45, 0.1);
}

[data-theme="dark"] .rs-ribbon-divider {
  background: rgba(161, 200, 243, 0.14);
}

/* 3 Luxury Testimonial Cards Grid (Flexbox) */
.reviews-grid-container {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 28px !important;
  max-width: 1320px;
  margin: 0 auto;
}

.t-card {
  flex: 1 1 calc(33.333% - 19px) !important;
  min-width: 300px !important;
  background: #ffffff;
  border: 1px solid rgba(15, 26, 45, 0.08);
  border-radius: 24px;
  padding: 32px 28px;
  box-shadow: 0 4px 20px rgba(6, 16, 30, 0.04);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  transition: transform 0.32s ease, box-shadow 0.32s ease, border-color 0.32s ease;
}

[data-theme="dark"] .t-card {
  background: #0f1a2d;
  border-color: rgba(161, 200, 243, 0.12);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
}

.t-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 48px rgba(63, 141, 254, 0.14);
  border-color: var(--accent-primary, #3f8dfe);
}

/* Top Row: Stars + Quote Icon */
.t-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.t-stars {
  font-size: 1.75rem;
  letter-spacing: 2px;
  color: #F59e0b;
}

.t-quote-icon {
  color: var(--accent-primary, #3f8dfe);
  opacity: 0.25;
  transform: rotate(180deg);
  transition: opacity 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

[data-theme="dark"] .t-quote-icon {
  color: #7eb3fe;
  opacity: 0.35;
}

.t-card:hover .t-quote-icon {
  opacity: 0.65;
}

/* Quote Content */
.t-quote-text {
  font-size: 0.95rem;
  font-style: italic;
  color: var(--text-primary, #06101e);
  line-height: 1.7;
  margin-bottom: 28px;
  flex: 1;
}

[data-theme="dark"] .t-quote-text {
  color: #cbd9e8;
}

/* Author Footer Row */
.t-author-row {
  display: flex;
  align-items: center;
  gap: 14px;
  border-top: 1px solid rgba(15, 26, 45, 0.08);
  padding-top: 18px;
}

[data-theme="dark"] .t-author-row {
  border-color: rgba(161, 200, 243, 0.12);
}

.t-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  color: #FFFFFF;
  font-size: 0.95rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
  object-fit: cover;
  border: 1px solid rgba(15, 26, 45, 0.08);
}

[data-theme="dark"] .t-avatar {
  border-color: rgba(161, 200, 243, 0.2);
}

.t-author-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
}

.t-author-name {
  font-size: 0.98rem;
  font-weight: 800;
  color: var(--text-primary, #06101e);
}

[data-theme="dark"] .t-author-name {
  color: #ffffff;
}

.t-author-loc {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-tertiary, #5b6e86);
  display: flex;
  align-items: center;
  gap: 4px;
}

[data-theme="dark"] .t-author-loc {
  color: #7a93b2;
}

.t-author-loc svg {
  color: var(--accent-primary, #3f8dfe);
  flex-shrink: 0;
}

[data-theme="dark"] .t-author-loc svg {
  color: #7eb3fe;
}

/* Verified Badge Right */
.t-verified-badge {
  font-size: 0.72rem;
  font-weight: 800;
  color: #10B981;
  background: rgba(16, 185, 129, 0.12);
  padding: 4px 10px;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  gap: 5px;
  flex-shrink: 0;
  border: 1px solid rgba(16, 185, 129, 0.25);
}

/* Responsive */
@media (max-width: 1024px) {
  .t-card {
    flex: 1 1 calc(50% - 14px) !important;
  }
}

@media (max-width: 768px) {
  .reviews-stats-ribbon {
    padding: 14px 20px;
    flex-direction: column;
    gap: 12px;
    border-radius: 20px;
    width: 100%;
  }

  .rs-ribbon-divider {
    display: none;
  }

  .t-card {
    flex: 1 1 100% !important;
    min-width: 0 !important;
  }
}

/* ==========================================
   CLOSING CTA BANNER
   ========================================== */
.cta-section {
  padding: 80px 0;
  position: relative;
}

.cta-banner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.cta-glass-box {
  padding: 80px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  border-radius: var(--radius-xl);
}

/* Background mesh glow inside CTA banner */
.cta-glass-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 50% 50%, rgba(var(--accent-primary-rgb), 0.15) 0%, transparent 80%);
  z-index: -1;
  pointer-events: none;
}

.cta-title {
  font-size: clamp(2rem, 4vw, 3.2rem);
  margin-bottom: 20px;
  max-width: 800px;
}

.cta-desc {
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  color: var(--text-secondary);
  margin-bottom: 36px;
  max-width: 600px;
}

.cta-buttons {
  display: flex;
  gap: 16px;
}

/* ==========================================
   FOOTER
   ========================================== */
/* ==========================================
   FOOTER (REFERENCE MATCH LAYOUT & STYLING)
   ========================================== */
.site-footer {
  border-top: 1px solid var(--border-color);
  background: var(--bg-card);
  padding: 70px 0 24px 0;
  position: relative;
  width: 100%;
}

.footer-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1.3fr 1.6fr;
  gap: 48px;
  align-items: start;
  margin-bottom: 45px;
}

.footer-col {
  display: flex;
  flex-direction: column;
}

.footer-col-brand .logo-wrapper {
  margin-bottom: 18px;
}

.footer-desc {
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--text-secondary);
  max-width: 320px;
  margin-bottom: 22px;
}

.footer-social-links {
  display: flex;
  gap: 12px;
  align-items: center;
}

.footer-social-links .social-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--border-color);
  background: var(--bg-surface);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.footer-social-links .social-btn svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.footer-social-links .social-btn:hover {
  color: var(--accent-primary);
  border-color: var(--accent-primary);
  background: rgba(63, 141, 254, 0.08);
  transform: translateY(-2px);
}

.footer-col-title {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 22px;
  color: var(--text-primary);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-link {
  font-size: 0.92rem;
  color: var(--text-secondary);
  text-decoration: none;
  transition: all var(--transition-fast);
  display: inline-block;
}

.footer-link:hover {
  color: var(--accent-primary);
  transform: translateX(3px);
}

/* Contact Info Column */
.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-contact-icon {
  width: 36px;
  height: 36px;
  min-width: 36px;
  border-radius: 8px;
  background: rgba(63, 141, 254, 0.08);
  border: 1px solid rgba(63, 141, 254, 0.16);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-primary);
  flex-shrink: 0;
}

.footer-contact-icon svg {
  width: 17px;
  height: 17px;
}

.footer-contact-text {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.45;
  word-break: break-word;
}

.footer-contact-link {
  text-decoration: none;
  transition: color var(--transition-fast);
}

.footer-contact-link:hover {
  color: var(--accent-primary);
}

/* Bottom Bar */
.footer-bottom {
  border-top: 1px solid var(--border-color);
  padding-top: 24px;
  text-align: center;
  width: 100%;
}

.copyright-center {
  font-size: 0.88rem;
  color: var(--text-tertiary);
  margin: 0;
  text-align: center;
}


/* ==========================================
   RESPONSIVE MEDIA QUERIES
   ========================================== */
/* ==========================================
   RESPONSIVE MEDIA QUERIES
   ========================================== */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .hero-content {
    align-items: center;
    text-align: center;
  }
  .hero-description {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-actions {
    justify-content: center;
  }
  .hero-features {
    justify-content: center;
  }
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .why-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .industries-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .premium-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .pane-chat-wrapper {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 70px;
  }

  /* Reduce and lock section padding on mobile */
  .services-section,
  .why-section,
  .showcase-section,
  .timeline-section,
  .industries-section,
  .stats-section,
  .reviews-section,
  .cta-section {
    padding: 60px 0;
  }

  /* Responsive header */
  .header-cta-btn {
    padding: 8px 14px;
    font-size: 0.8rem;
  }

  .mobile-menu-toggle {
    display: flex;
    border: none;
    background: transparent;
    padding: 4px;
  }

  .main-nav {
    position: fixed;
    top: var(--header-height);
    left: 0;
    width: 100%;
    height: calc(100vh - var(--header-height));
    background: var(--bg-primary);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border-top: 1px solid var(--glass-border);
    padding: 40px;
    display: none;
    justify-content: center;
    z-index: 999;
  }

  .main-nav.active {
    display: flex;
  }

  .nav-list {
    flex-direction: column;
    align-items: center;
    gap: 32px;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  /* Showcase Sandbox mobile optimization */
  .showcase-tabs {
    flex-wrap: wrap;
    gap: 8px;
    padding: 0 10px;
  }

  .tab-btn {
    flex: 1 1 calc(50% - 8px);
    justify-content: center;
    padding: 10px 14px;
    font-size: 0.78rem;
    white-space: nowrap; /* Prevent double-line wrapping on mobile */
  }

  .tab-btn:last-child {
    flex: 1 1 100%;
  }

  .view-content-pane {
    padding: 20px 16px;
  }

  /* Truncate long header titles inside showcase screen on mobile */
  .view-title-display {
    max-width: 140px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .view-indicator-pill {
    white-space: nowrap; /* Prevent Sandbox Mode from wrapping to 2 lines */
  }

  /* Prevent floats from overflowing body horizontally on mobile */
  .float-card-1 {
    top: 5% !important;
    left: 10px !important;
  }

  .float-card-2 {
    bottom: 5% !important;
    right: 10px !important;
  }

  /* Stack nodes vertically and hide connectors on mobile */
  .pane-flow-wrapper {
    height: auto;
    min-height: 480px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 10px 0;
  }

  .flow-node {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    width: 100%;
    margin: 0;
  }

  .svg-connections-layer {
    display: none;
  }

  /* Rest of mobile grid layouts */
  .pipeline-timeline::before {
    left: 15px;
  }

  .timeline-item {
    display: block; /* Convert from flex to block to prevent layout offsets pushing past edges */
    width: 100%;
    margin-bottom: 40px;
  }

  .timeline-item:nth-child(even) {
    display: block;
  }

  .timeline-dot {
    left: 15px;
    top: 24px;
  }

  .timeline-card {
    width: calc(100% - 35px);
    margin-left: 35px;
    margin-right: 0;
  }

  .industries-grid {
    grid-template-columns: 1fr;
  }

  .premium-stats-grid {
    grid-template-columns: 1fr;
  }

  .pane-voice-wrapper {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  /* CTA responsive styling */
  .cta-glass-box {
    padding: 30px 20px;
  }

  .cta-buttons {
    flex-direction: column;
    width: 100%;
    gap: 12px;
  }

  .cta-buttons .glass-btn {
    width: 100%;
    justify-content: center;
  }

  /* Footer styling on mobile */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }

  .sandbox-controls {
    flex-direction: column;
    gap: 16px;
    align-items: stretch;
  }
  .sandbox-controls button {
    width: 100%;
  }

  /* Add-ons Stacked Layout */
  .addon-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .addon-price {
    align-self: flex-start;
  }
}

@media (max-width: 480px) {
  .header-cta-btn {
    display: none;
  }

  /* Optimize showcase layout for small screens (below 480px) */
  .showcase-container {
    padding: 0 12px;
  }

  .showcase-view-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 16px;
  }

  .view-controls {
    width: 100%;
    justify-content: space-between;
  }

  .view-title-display {
    max-width: none; /* Do not truncate when stacked */
  }

  .view-content-pane {
    padding: 16px 12px;
  }

  /* Make sure figures in stats cards don't cut off */
  .stat-min-card {
    padding: 12px;
  }

  .stat-min-num {
    font-size: 1.35rem; /* Allow numbers to scale down on smaller widths */
  }

  /* Allow the chat input box to shrink dynamically without overflowing */
  .chat-viewport-module {
    max-width: 100%;
  }

  .chat-input-bar-module {
    padding: 12px 14px;
    gap: 8px;
  }

  .chat-input-bar-module input {
    min-width: 0;
    width: 100%;
    font-size: 0.8rem;
    padding: 8px 12px;
  }

  .chat-input-bar-module button {
    padding: 8px 14px !important;
    font-size: 0.8rem;
  }
}

/* ==========================================
   PORTFOLIO PAGE STYLING
   ========================================== */
.portfolio-hero {
  padding: calc(var(--header-height) + 60px) 0 60px 0;
  text-align: center;
  position: relative;
}

.portfolio-hero-title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  margin-bottom: 24px;
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.portfolio-hero-subtitle {
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  color: var(--text-secondary);
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.6;
}

.portfolio-section {
  padding: 80px 0;
  position: relative;
}

.portfolio-section.case-studies-section {
  background: rgba(255, 255, 255, 0.005);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 48px;
}

/* Portfolio Cards general */
.portfolio-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* Agent Demos styling */
.agent-status-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  font-size: 0.65rem;
  font-weight: 800;
  padding: 4px 10px;
  background: rgba(16, 185, 129, 0.2);
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: #10b981;
  border-radius: var(--radius-pill);
  letter-spacing: 0.05em;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 5;
}

.agent-name {
  font-size: 1.35rem;
  text-align: left;
  margin-bottom: 4px;
}

.agent-role {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent-primary);
  text-align: left;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
}

.agent-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  text-align: left;
  margin-bottom: 24px;
  line-height: 1.5;
  flex-grow: 1;
}

.agent-bullets {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 30px;
  border-top: 1px solid var(--glass-border);
  padding-top: 20px;
}

.agent-bullets li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

.agent-bullets .bullet-chk {
  width: 16px;
  height: 16px;
  color: var(--accent-secondary);
  flex-shrink: 0;
  margin-top: 2px;
}

.agent-btn {
  width: 100%;
  justify-content: center;
  margin-top: auto;
}

/* Custom Case Studies styling */
.case-image-wrapper {
  width: 100%;
  height: 200px;
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 24px;
  border: 1px solid var(--glass-border);
  background: var(--bg-secondary);
  position: relative;
}

.case-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-normal);
}

.portfolio-card:hover .case-img {
  transform: scale(1.05);
}

.case-body {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.case-tag {
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--accent-secondary);
  margin-bottom: 8px;
}

.case-card-title {
  font-size: 1.4rem;
  margin-bottom: 12px;
}

.case-card-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 20px;
}

/* Case Study Detail Popup Lightbox Modal */
.case-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(3, 7, 18, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 2000;
  padding: 20px;
}

.case-modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
}

.case-modal-content {
  width: 100%;
  max-width: 680px;
  max-height: 85vh;
  overflow-y: auto;
  background: var(--bg-primary);
  border: 1px solid var(--bg-tertiary);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
  border-radius: var(--radius-lg);
  padding: 40px;
  position: relative;
  transform: scale(0.92) translateY(20px);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.case-modal-overlay.active .case-modal-content {
  transform: scale(1) translateY(0);
}

.case-modal-content::-webkit-scrollbar {
  width: 6px;
}

.case-modal-content::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.02);
  border-radius: var(--radius-pill);
}

.case-modal-content::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-pill);
}

.case-modal-content::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.25);
}

.modal-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--glass-border);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
  z-index: 10;
}

.modal-close-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: rotate(90deg);
}

.modal-body-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.modal-tag {
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--accent-secondary);
}

.modal-title {
  font-size: 1.8rem;
  margin-top: -8px;
  margin-bottom: 8px;
}

.case-detail-row {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 16px;
}

.case-detail-row strong {
  color: var(--text-primary);
  display: block;
  margin-bottom: 4px;
}

.case-flow-box {
  margin-top: 20px;
  background: rgba(0, 0, 0, 0.15);
  border: 1px solid var(--glass-border);
  padding: 16px;
  border-radius: var(--radius-sm);
}

.case-flow-box h4 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.case-flow-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.case-flow-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

.case-flow-list .bullet-chk {
  width: 14px;
  height: 14px;
  color: var(--accent-secondary);
  flex-shrink: 0;
  margin-top: 2px;
}

.case-footer {
  display: flex;
  gap: 12px;
  margin-top: auto;
  border-top: 1px solid var(--glass-border);
  padding-top: 20px;
}

.case-toggle-btn {
  flex: 1;
  font-size: 0.85rem;
  justify-content: center;
  padding: 10px 12px;
  white-space: nowrap;
}

.case-cta-btn {
  flex: 1;
  font-size: 0.85rem;
  justify-content: center;
  padding: 10px 16px;
}

/* ==========================================
   PORTFOLIO RESPONSIVE BREAKPOINTS
   ========================================== */
@media (max-width: 1024px) {
  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .portfolio-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  
  .portfolio-hero {
    padding: calc(var(--header-height) + 40px) 0 40px 0;
  }
  
  .portfolio-section {
    padding: 60px 0;
  }
  
  .case-footer {
    flex-direction: column;
    gap: 10px;
  }
  
  .case-toggle-btn, .case-cta-btn {
    width: 100%;
  }
}

/* ==========================================
   ABOUT PAGE CUSTOM STYLES
   ========================================== */
.about-hero {
  padding: calc(var(--header-height) + 80px) 0 60px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.about-hero-title {
  font-size: clamp(2.5rem, 6vw, 4.2rem);
  line-height: 1.1;
  margin-top: 16px;
  margin-bottom: 24px;
  font-family: var(--font-heading);
  font-weight: 900;
  letter-spacing: -0.03em;
}

.about-hero-subtitle {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  color: var(--text-secondary);
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.6;
}

.about-section {
  padding: 80px 0;
  position: relative;
}

.mission-vision-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.about-card {
  padding: 48px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  border-radius: var(--radius-lg);
  transition: all var(--transition-normal);
}

.about-card:hover {
  transform: translateY(-6px);
  border-color: var(--glass-border-hover);
  box-shadow: var(--glass-shadow-hover);
}

.about-card-icon-box {
  width: 56px;
  height: 56px;
  background: var(--badge-bg);
  color: var(--accent-primary);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 28px;
  border: 1px solid rgba(var(--accent-primary-rgb), 0.15);
}

.about-card-icon-box svg {
  width: 28px;
  height: 28px;
}

.about-card-title {
  font-size: 1.8rem;
  margin-bottom: 16px;
  font-family: var(--font-heading);
  font-weight: 800;
}

.about-card-text {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.pillar-card {
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.pillar-number {
  font-size: 3rem;
  font-weight: 900;
  font-family: var(--font-heading);
  background: linear-gradient(135deg, rgba(var(--accent-primary-rgb), 0.15), rgba(var(--accent-secondary-rgb), 0.15));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 12px;
}

.pillar-title {
  font-size: 1.4rem;
  margin-bottom: 12px;
  font-family: var(--font-heading);
  font-weight: 800;
}

.pillar-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.timeline-container {
  max-width: 800px;
  margin: 40px auto 0 auto;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.timeline-container::before {
  display: none;
}

.timeline-container .timeline-step {
  display: flex;
  gap: 30px;
  position: relative;
}

.timeline-container .timeline-step::after {
  content: '';
  position: absolute;
  top: 29px; /* center of step-num circle */
  left: 28px;
  width: 2px;
  height: calc(100% + 40px); /* spans down to next circle center */
  background: var(--timeline-line-color);
  z-index: 1;
}

.timeline-container .timeline-step:last-child::after {
  display: none;
}

.step-num {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--bg-primary);
  border: 2px solid var(--accent-primary);
  color: var(--text-primary);
  font-weight: 800;
  font-family: var(--font-heading);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  z-index: 2;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.step-content {
  background: var(--card-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: 28px;
  flex-grow: 1;
  box-shadow: var(--glass-shadow);
}

.step-title {
  font-size: 1.25rem;
  margin-bottom: 8px;
  font-family: var(--font-heading);
  font-weight: 800;
  text-transform: none;
}

.step-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
  font-weight: 400;
  text-transform: none;
}

.stats-section {
  padding: 60px 0;
}

.about-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.about-stat-item {
  text-align: center;
  padding: 32px;
}

.about-stat-item .stat-number {
  font-size: 3rem;
  font-weight: 900;
  font-family: var(--font-heading);
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: block;
  margin-bottom: 8px;
}

.about-stat-item .stat-label {
  font-size: 0.9rem;
  color: var(--text-secondary);
  font-weight: 600;
}

@media (max-width: 1024px) {
  .mission-vision-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .pillars-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .about-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .mission-vision-grid {
    grid-template-columns: 1fr;
  }
  .pillars-grid {
    grid-template-columns: 1fr;
  }
  .about-stats-grid {
    grid-template-columns: 1fr;
  }
  .about-card {
    padding: 32px;
  }
  .timeline-container .timeline-step::after {
    left: 20px;
    top: 21px;
  }
  .step-num {
    width: 42px;
    height: 42px;
    font-size: 0.9rem;
  }
  .timeline-container .timeline-step {
    gap: 16px;
  }
  .step-content {
    padding: 20px;
  }
}

/* ==========================================
   BLOG PAGE STYLES
   ========================================== */
.blog-hero {
  padding: 140px 0 60px 0;
  text-align: center;
  position: relative;
  z-index: 10;
}

.blog-filters {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.filter-btn {
  padding: 10px 24px;
  border-radius: var(--radius-pill);
  font-size: 0.95rem;
  font-weight: 600;
  transition: all var(--transition-normal);
}

.filter-btn.active {
  background: var(--accent-primary);
  color: white;
  border-color: var(--accent-primary);
  box-shadow: 0 0 20px rgba(var(--accent-primary-rgb), 0.4);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 60px;
}

.blog-card {
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.premium-3d {
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
  transform-style: preserve-3d;
}

.premium-3d:hover {
  transform: translateY(-4px);
  box-shadow: var(--glass-shadow-hover);
  border-color: var(--glass-border-hover);
}

.blog-image-wrapper {
  position: relative;
  width: 100%;
  height: 220px;
  border-bottom: 1px solid var(--glass-border);
  overflow: hidden;
}

.mesh-placeholder {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transition: transform var(--transition-slow);
}

.blog-card:hover .mesh-placeholder {
  transform: scale(1.08);
}
.blog-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}
.blog-card:hover .blog-img {
  transform: scale(1.08);
}

/* Mesh gradients for placeholders */
.mesh-blue { background: radial-gradient(at 0% 0%, rgba(63, 141, 254, 0.4) 0px, transparent 50%), radial-gradient(at 100% 100%, rgba(14, 165, 233, 0.4) 0px, transparent 50%), var(--bg-tertiary); }
.mesh-purple { background: radial-gradient(at 100% 0%, rgba(168, 85, 247, 0.4) 0px, transparent 50%), radial-gradient(at 0% 100%, rgba(99, 102, 241, 0.4) 0px, transparent 50%), var(--bg-tertiary); }
.mesh-emerald { background: radial-gradient(at 0% 100%, rgba(16, 185, 129, 0.4) 0px, transparent 50%), radial-gradient(at 100% 0%, rgba(20, 184, 166, 0.4) 0px, transparent 50%), var(--bg-tertiary); }
.mesh-sunset { background: radial-gradient(at 100% 100%, rgba(244, 63, 94, 0.4) 0px, transparent 50%), radial-gradient(at 0% 0%, rgba(249, 115, 22, 0.4) 0px, transparent 50%), var(--bg-tertiary); }
.mesh-ocean { background: radial-gradient(at 50% 50%, rgba(161, 200, 243, 0.4) 0px, transparent 50%), radial-gradient(at 100% 0%, rgba(59, 130, 246, 0.4) 0px, transparent 50%), var(--bg-tertiary); }
.mesh-dark { background: radial-gradient(at 0% 0%, rgba(100, 116, 139, 0.4) 0px, transparent 50%), radial-gradient(at 100% 100%, rgba(15, 23, 42, 0.8) 0px, transparent 50%), var(--bg-secondary); }

.blog-category {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--badge-bg);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(var(--accent-primary-rgb), 0.2);
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--badge-text);
}

.blog-content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.blog-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.dot-separator {
  color: var(--accent-primary);
  font-weight: 800;
}

.blog-title {
  font-size: 1.3rem;
  font-family: var(--font-heading);
  margin-bottom: 12px;
  line-height: 1.4;
  transition: color var(--transition-fast);
}

.blog-card:hover .blog-title {
  color: var(--accent-primary);
}

.blog-excerpt {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 24px;
  flex-grow: 1;
}

.read-more-link {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--accent-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: gap var(--transition-fast);
}

.read-more-link svg {
  width: 18px;
  height: 18px;
  transition: transform var(--transition-fast);
}

.blog-card:hover .read-more-link {
  gap: 12px;
}

.blog-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
}

.page-num-btn {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: transparent;
  border: 1px solid transparent;
  color: var(--text-primary);
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.page-num-btn:hover {
  background: rgba(255,255,255,0.05);
  border-color: var(--glass-border);
}

.page-num-btn.active {
  background: var(--accent-primary);
  color: white;
  box-shadow: 0 4px 12px rgba(var(--accent-primary-rgb), 0.3);
}

.page-nav-btn {
  width: 40px;
  height: 40px;
  padding: 0;
  border-radius: 50%;
}

.page-nav-btn svg {
  width: 20px;
  height: 20px;
}

.page-ellipsis {
  color: var(--text-secondary);
  font-weight: 700;
}

/* ==========================================
   CONTACT PAGE STYLES
   ========================================== */
.contact-section {
  padding: 140px 0 80px 0;
  position: relative;
  z-index: 10;
}

.contact-header {
  text-align: center;
  margin-bottom: 60px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 40px;
  align-items: flex-start;
}

.contact-info-col {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-info-card {
  padding: 32px;
  display: flex;
  align-items: flex-start;
  gap: 20px;
  border-radius: var(--radius-lg);
}

.info-icon-box {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(var(--accent-primary-rgb), 0.1);
  color: var(--accent-primary);
  border: 1px solid rgba(var(--accent-primary-rgb), 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.info-icon-box svg {
  width: 24px;
  height: 24px;
}

.info-text {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.info-title {
  font-size: 1.2rem;
  font-family: var(--font-heading);
}

.info-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.info-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--accent-primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 4px;
}

.info-link svg {
  width: 16px;
  height: 16px;
  transition: transform var(--transition-fast);
}

.info-link:hover svg {
  transform: translateX(4px) translateY(-4px);
}

.live-status {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-primary);
}

.map-placeholder {
  width: 100%;
  height: 100px;
  margin-top: 12px;
  border-radius: var(--radius-md);
  background: radial-gradient(circle at center, rgba(255,255,255,0.05) 0%, transparent 70%), var(--bg-tertiary);
  border: 1px dashed var(--glass-border);
  position: relative;
  overflow: hidden;
}

.map-placeholder::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 12px;
  height: 12px;
  background: var(--accent-primary);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(var(--accent-primary-rgb), 0.2);
  animation: pulse-glow 2s infinite;
}

.contact-form-wrapper {
  padding: 48px;
}

.form-heading {
  font-size: 1.8rem;
  font-family: var(--font-heading);
  margin-bottom: 12px;
}

.form-subheading {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: 32px;
  line-height: 1.6;
}

.liquid-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.liquid-input-group {
  position: relative;
}

.liquid-input {
  width: 100%;
  background: var(--input-bg);
  border: 1px solid var(--input-border);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: all var(--transition-normal);
  backdrop-filter: blur(8px);
}

.liquid-textarea {
  resize: vertical;
  min-height: 120px;
}

.liquid-input:focus {
  outline: none;
  border-color: var(--input-border-focus);
  background: var(--input-bg-focus);
  box-shadow: 0 0 0 4px rgba(var(--accent-primary-rgb), 0.1);
}

.liquid-label {
  position: absolute;
  left: 20px;
  top: 16px;
  color: var(--text-secondary);
  font-size: 1rem;
  pointer-events: none;
  transition: all var(--transition-fast);
}

/* Float label on focus or when valid (has input) */
.liquid-input:focus ~ .liquid-label,
.liquid-input:valid ~ .liquid-label {
  top: -10px;
  left: 12px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent-primary);
  background: var(--bg-secondary);
  padding: 0 8px;
  border-radius: 4px;
}

.static-label {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.radio-group {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.radio-card input {
  display: none;
}

.radio-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 20px;
  background: var(--input-bg);
  border: 1px solid var(--input-border);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-fast);
  text-align: center;
  font-size: 0.9rem;
  font-weight: 600;
}

.radio-content svg {
  width: 28px;
  height: 28px;
  color: var(--text-secondary);
  transition: color var(--transition-fast);
}

.radio-card:hover .radio-content {
  background: var(--input-bg-focus);
  border-color: var(--accent-primary);
}

.radio-card input:checked + .radio-content {
  background: rgba(var(--accent-primary-rgb), 0.1);
  border-color: var(--accent-primary);
  color: var(--accent-primary);
}

.radio-card input:checked + .radio-content svg {
  color: var(--accent-primary);
}

.form-submit-btn {
  width: fit-content;
  padding: 14px 32px;
  font-size: 1rem;
  margin-top: 10px;
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.form-submit-btn .btn-icon {
  width: 18px;
  height: 18px;
  transition: transform var(--transition-fast);
}

.form-submit-btn:hover .btn-icon {
  transform: translateX(4px) translateY(-4px);
}

/* ==========================================
   RESPONSIVE OVERRIDES FOR BLOG & CONTACT
   ========================================== */
@media (max-width: 1024px) {
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .blog-grid {
    grid-template-columns: 1fr;
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
  
  .radio-group {
    grid-template-columns: 1fr;
  }
  
  .contact-form-wrapper {
    padding: 32px 24px;
  }
}

/* ==========================================
   SINGLE ARTICLE / BLOG POST LAYOUT STYLES
   ========================================== */
.article-section {
  padding: 140px 0 80px 0;
  position: relative;
  z-index: 10;
}

.article-breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.article-breadcrumbs a {
  color: var(--text-secondary);
  transition: color var(--transition-fast);
  font-weight: 500;
}

.article-breadcrumbs a:hover {
  color: var(--accent-primary);
}

.article-breadcrumbs svg {
  width: 12px;
  height: 12px;
  opacity: 0.6;
}

.current-crumb {
  color: var(--text-primary);
  font-weight: 600;
}

.article-header {
  margin-bottom: 40px;
}

.article-header .blog-category {
  position: static;
  display: inline-block;
  margin-bottom: 16px;
  padding: 6px 16px;
}

.article-title {
  font-size: 2.8rem;
  font-family: var(--font-heading);
  line-height: 1.2;
  margin-bottom: 20px;
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.author-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--glass-border);
  padding: 4px 12px 4px 4px;
  border-radius: var(--radius-pill);
}

.author-avatar {
  width: 28px;
  height: 28px;
  background: var(--accent-primary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-weight: 800;
  font-size: 0.75rem;
}

.author-name {
  font-weight: 600;
  color: var(--text-primary);
}

.article-layout {
  display: grid;
  grid-template-columns: 2.2fr 1fr;
  gap: 40px;
  align-items: flex-start;
}

.article-body {
  padding: 48px;
  border-radius: var(--radius-lg);
  min-width: 0;
}

.article-body p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.article-body p.lead-text {
  font-size: 1.25rem;
  line-height: 1.6;
  color: var(--text-primary);
  font-weight: 500;
}

.article-body h2 {
  font-size: 1.8rem;
  font-family: var(--font-heading);
  color: var(--text-primary);
  margin-top: 40px;
  margin-bottom: 16px;
}

.article-body h3 {
  font-size: 1.4rem;
  font-family: var(--font-heading);
  color: var(--text-primary);
  margin-top: 32px;
  margin-bottom: 12px;
}

.article-body ul, .article-body ol {
  margin-bottom: 24px;
  padding-left: 24px;
  color: var(--text-secondary);
}

.article-body li {
  margin-bottom: 10px;
  line-height: 1.6;
  font-size: 1.05rem;
}

.article-body pre {
  background: var(--code-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: 24px;
  margin: 32px 0;
  overflow-x: auto;
}

.article-body code {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--code-color);
}

.article-table-container {
  overflow-x: auto;
  margin: 32px 0;
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
}

.article-body table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.article-body th, .article-body td {
  padding: 16px 20px;
  font-size: 0.95rem;
  border-bottom: 1px solid var(--glass-border);
}

.article-body th {
  background: rgba(255, 255, 255, 0.03);
  font-weight: 700;
  color: var(--text-primary);
}

.article-body td {
  color: var(--text-secondary);
}

.article-body tr:last-child td {
  border-bottom: none;
}

.article-sidebar {
  display: flex;
  flex-direction: column;
  gap: 32px;
  position: sticky;
  top: 100px;
}

.sidebar-widget {
  padding: 32px;
  border-radius: var(--radius-lg);
}

.widget-title {
  font-size: 1.2rem;
  font-family: var(--font-heading);
  margin-bottom: 20px;
  border-left: 3px solid var(--accent-primary);
  padding-left: 12px;
}

.widget-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  list-style: none !important;
  padding-left: 0 !important;
}

.widget-link {
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-decoration: none;
}

.widget-category {
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--accent-secondary);
  letter-spacing: 0.05em;
}

.widget-post-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.4;
  transition: color var(--transition-fast);
}

.widget-link:hover .widget-post-title {
  color: var(--accent-primary);
}

.newsletter-widget p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 20px;
}

.sidebar-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sidebar-form button {
  width: 100%;
  padding: 14px;
  justify-content: center;
}

/* Responsive overrides for articles */
@media (max-width: 1024px) {
  .article-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .article-sidebar {
    position: static;
  }
}

@media (max-width: 768px) {
  .article-title {
    font-size: 2rem;
  }
  
  .article-body {
    padding: 24px;
  }
}

/* ==========================================
   CONTACT PAGE PROCESS & FAQ STYLES
   ========================================== */
.contact-process-section {
  padding: 80px 0;
  position: relative;
  z-index: 10;
  border-top: 1px solid var(--glass-border);
  overflow: hidden;
}

.faq-section {
  padding: 80px 0 100px 0;
  position: relative;
  z-index: 10;
  border-top: 1px solid var(--glass-border);
}

.faq-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 800px;
  margin: 40px auto 0 auto;
}

.faq-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all var(--transition-fast);
}

.faq-trigger {
  width: 100%;
  padding: 24px;
  background: transparent;
  border: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-primary);
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  cursor: pointer;
  text-align: left;
  transition: background var(--transition-fast);
}

.faq-trigger:hover {
  background: rgba(255, 255, 255, 0.02);
}

[data-theme="light"] .faq-trigger:hover {
  background: rgba(0, 0, 0, 0.01);
}

.faq-caret {
  width: 20px;
  height: 20px;
  transition: transform var(--transition-fast);
  color: var(--accent-primary);
}

.faq-card.active .faq-caret {
  transform: rotate(180deg);
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
  padding: 0 24px;
}

.faq-card.active .faq-content {
  padding: 0 24px 24px 24px;
  max-height: 300px;
}

.faq-content p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ==========================================
   AI VOICE AGENT PAGE STYLES
   ========================================== */
.voice-hero {
  padding: 160px 0 80px 0;
  position: relative;
  z-index: 10;
  text-align: center;
}

.voice-hero .hero-actions {
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
}

/* Audio visualizer animations */
.voice-waveform {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  height: 80px;
  margin: 30px auto;
  max-width: 400px;
}

.wave-bar {
  width: 4px;
  height: 10px;
  background: linear-gradient(180deg, var(--accent-primary) 0%, var(--accent-secondary) 100%);
  border-radius: var(--radius-pill);
  animation: bounceBar 1.2s ease-in-out infinite alternate;
}

.wave-bar:nth-child(2) { animation-delay: 0.1s; height: 18px; }
.wave-bar:nth-child(3) { animation-delay: 0.2s; height: 28px; }
.wave-bar:nth-child(4) { animation-delay: 0.3s; height: 40px; }
.wave-bar:nth-child(5) { animation-delay: 0.4s; height: 60px; }
.wave-bar:nth-child(6) { animation-delay: 0.5s; height: 45px; }
.wave-bar:nth-child(7) { animation-delay: 0.6s; height: 30px; }
.wave-bar:nth-child(8) { animation-delay: 0.7s; height: 50px; }
.wave-bar:nth-child(9) { animation-delay: 0.8s; height: 22px; }
.wave-bar:nth-child(10) { animation-delay: 0.9s; height: 12px; }

@keyframes bounceBar {
  0% { transform: scaleY(0.3); }
  100% { transform: scaleY(1.3); }
}

/* Voice sandbox console */
.voice-sandbox-card {
  max-width: 1150px;
  margin: 0 auto;
  padding: 40px;
  border-radius: var(--radius-lg);
  position: relative;
}

.sandbox-console {
  display: grid;
  grid-template-columns: 1.1fr 2fr;
  gap: 40px;
  align-items: stretch;
}

.sandbox-sidebar {
  border-right: 1px solid var(--glass-border);
  padding-right: 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.voice-select-btn {
  width: 100%;
  padding: 16px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--input-border);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 16px;
  cursor: pointer;
  text-align: left;
  transition: all var(--transition-fast);
}

.voice-select-btn:hover, .voice-select-btn.active {
  background: var(--input-bg-focus);
  border-color: var(--accent-primary);
  box-shadow: 0 0 16px rgba(var(--accent-primary-rgb), 0.15);
}

.voice-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-secondary) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: white;
  font-size: 1.1rem;
  box-shadow: 0 4px 12px rgba(var(--accent-primary-rgb), 0.3);
}

.voice-details {
  display: flex;
  flex-direction: column;
}

.voice-name {
  font-weight: 700;
  font-family: var(--font-heading);
}

.voice-role {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.sandbox-main {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 320px;
}

.sandbox-status {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--glass-border);
  padding-bottom: 16px;
  margin-bottom: 16px;
}

.status-indicator {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 600;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  animation: pulseGreen 1.5s infinite alternate;
}

@keyframes pulseGreen {
  0% { transform: scale(0.8); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  100% { transform: scale(1.2); box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
}

.sandbox-transcript {
  flex-grow: 1;
  overflow-y: auto;
  max-height: 220px;
  padding-right: 8px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.transcript-line {
  display: flex;
  flex-direction: column;
  gap: 4px;
  animation: fadeIn 0.4s ease-out forwards;
}

.line-speaker {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.speaker-ai { color: var(--accent-primary); }
.speaker-user { color: var(--accent-secondary); }

.line-text {
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.03);
  padding: 12px 16px;
  border-radius: var(--radius-md);
  border: 1px solid var(--glass-border);
  width: fit-content;
  max-width: 90%;
}

.transcript-line.user-line {
  align-items: flex-end;
}

.transcript-line.user-line .line-text {
  background: rgba(var(--accent-secondary-rgb), 0.05);
  border-color: rgba(var(--accent-secondary-rgb), 0.15);
}

.sandbox-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--glass-border);
  padding-top: 16px;
  margin-top: 16px;
}

.sandbox-latency {
  font-size: 0.85rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 6px;
}

.latency-value {
  color: #10b981;
  font-weight: 700;
}

/* Pricing Grid Styles */
.pricing-section {
  padding: 80px 0;
  position: relative;
  z-index: 10;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 48px;
  align-items: stretch;
}

.pricing-card {
  display: flex;
  flex-direction: column;
  padding: 40px;
  position: relative;
  height: 100%;
}

.pricing-card.popular {
  border-color: var(--accent-primary);
  box-shadow: 0 0 32px rgba(var(--accent-primary-rgb), 0.1);
}

.popular-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-secondary) 100%);
  color: white;
  padding: 4px 16px;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  box-shadow: 0 4px 12px rgba(var(--accent-primary-rgb), 0.25);
}

.pricing-header {
  border-bottom: 1px solid var(--glass-border);
  padding-bottom: 24px;
  margin-bottom: 24px;
}

.plan-name {
  font-size: 1.5rem;
  font-family: var(--font-heading);
  font-weight: 800;
  margin-bottom: 8px;
}

.plan-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.4;
  margin-bottom: 20px;
}

.plan-price-box {
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.plan-currency {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
}

.plan-price {
  font-size: 3rem;
  font-family: var(--font-heading);
  font-weight: 900;
  color: var(--text-gradient);
  background: linear-gradient(135deg, var(--text-primary) 30%, var(--text-secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.plan-period {
  font-size: 0.9rem;
  color: var(--text-tertiary);
}

.plan-deliverables {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 32px;
  flex-grow: 1;
}

.deliverable-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

.deliverable-item svg {
  width: 18px;
  height: 18px;
  color: var(--accent-primary);
  flex-shrink: 0;
  margin-top: 2px;
}

.plan-cta {
  width: 100%;
  justify-content: center;
  padding: 16px;
  text-decoration: none;
  font-size: 1rem;
}

.plan-delivery {
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-tertiary);
  margin-top: 12px;
}

/* Add-ons styles */
.addons-section {
  padding: 60px 0 100px 0;
  position: relative;
  z-index: 10;
  border-top: 1px solid var(--glass-border);
}

.addons-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.addon-card {
  padding: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

.addon-info {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.addon-title {
  font-weight: 700;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--text-primary);
}

.addon-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

.addon-price {
  font-size: 1.3rem;
  font-weight: 800;
  font-family: var(--font-heading);
  color: var(--accent-primary);
  white-space: nowrap;
}

/* Responsive Overrides */
@media (max-width: 1024px) {
  .pricing-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .addons-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .sandbox-console {
    grid-template-columns: 1fr;
  }
  .sandbox-sidebar {
    border-right: none;
    border-bottom: 1px solid var(--glass-border);
    padding-right: 0;
    padding-bottom: 24px;
  }
  .voice-waveform {
    height: 60px;
  }
}

/* Custom Scrollbar for Sandbox Transcript */
.sandbox-transcript::-webkit-scrollbar {
  width: 4px;
}
.sandbox-transcript::-webkit-scrollbar-track {
  background: transparent;
}
.sandbox-transcript::-webkit-scrollbar-thumb {
  background: var(--glass-border);
  border-radius: 4px;
}
.sandbox-transcript::-webkit-scrollbar-thumb:hover {
  background: var(--accent-primary);
}

/* Voice wave container next to text */
.voice-wave-container {
  display: flex;
  align-items: center;
  gap: 3px;
  margin-top: 8px;
  height: 14px;
}

.voice-wave-container span {
  width: 2px;
  height: 4px;
  background: var(--accent-primary);
  border-radius: var(--radius-pill);
  animation: wavePulse 1s ease-in-out infinite alternate;
}

.voice-wave-container span:nth-child(2) { animation-delay: 0.15s; }
.voice-wave-container span:nth-child(3) { animation-delay: 0.3s; }
.voice-wave-container span:nth-child(4) { animation-delay: 0.45s; }
.voice-wave-container span:nth-child(5) { animation-delay: 0.6s; }

.user-line .voice-wave-container span {
  background: var(--accent-secondary);
}

@keyframes wavePulse {
  0% { height: 4px; transform: scaleY(1); }
  100% { height: 14px; transform: scaleY(1.4); }
}

/* Voice Pillars Grid */
.voice-pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.voice-pillar-card {
  padding: 28px;
  background: var(--card-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  transition: all var(--transition-normal);
  height: 100%;
}

.voice-pillar-card:hover {
  transform: translateY(-4px);
  border-color: rgba(var(--accent-primary-rgb), 0.3);
  box-shadow: 0 12px 32px rgba(var(--accent-primary-rgb), 0.08);
}

.voice-pillar-icon-box {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: rgba(var(--accent-primary-rgb), 0.08);
  border: 1px solid rgba(var(--accent-primary-rgb), 0.15);
  color: var(--accent-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.voice-pillar-icon-box svg {
  width: 22px;
  height: 22px;
}

.voice-pillar-title {
  font-size: 1.2rem;
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.voice-pillar-desc {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Slim Primary Border on Active FAQ Card */
.faq-card.active {
  border-color: var(--accent-primary) !important;
  box-shadow: 0 0 24px rgba(var(--accent-primary-rgb), 0.12) !important;
}

/* CTA Layout Enhancement with Info-graphics */
.cta-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: center;
  width: 100%;
  text-align: left;
}

.cta-content-left {
  display: flex;
  flex-direction: column;
}

.cta-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 12px;
}

.cta-visual-right {
  display: flex;
  justify-content: center;
  width: 100%;
}

.cta-visual-box {
  width: 100%;
  max-width: 380px;
  padding: 24px;
  background: rgba(13, 18, 30, 0.4);
  border-radius: var(--radius-lg);
  border: 1px solid var(--glass-border);
  display: flex;
  flex-direction: column;
  gap: 20px;
  box-shadow: var(--glass-shadow);
}

[data-theme="light"] .cta-visual-box {
  background: rgba(255, 255, 255, 0.6);
}

.visual-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  font-weight: 700;
}

.visual-status {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-secondary);
}

.visual-timer {
  color: var(--accent-primary);
  font-family: var(--font-body);
  font-size: 0.95rem;
}

.visual-waves {
  height: 80px;
  background: rgba(0, 0, 0, 0.2);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid var(--glass-border);
}

[data-theme="light"] .visual-waves {
  background: rgba(0, 0, 0, 0.03);
}

.visual-wave-svg {
  width: 100%;
  height: 100%;
}

.visual-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  text-align: center;
  border-top: 1px solid var(--glass-border);
  padding-top: 16px;
}

.v-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.v-label {
  font-size: 0.7rem;
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.v-val {
  font-size: 1.05rem;
  font-weight: 800;
  font-family: var(--font-heading);
}

@media (max-width: 1024px) {
  .voice-pillars-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .cta-grid {
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: center;
  }
  .cta-content-left {
    align-items: center;
  }
}

/* Light Theme Borders and Divider Lines Visibility */
[data-theme="light"] .about-section,
[data-theme="light"] .pricing-section,
[data-theme="light"] .addons-section,
[data-theme="light"] .faq-section,
[data-theme="light"] .sandbox-sidebar,
[data-theme="light"] .sandbox-status,
[data-theme="light"] .sandbox-controls,
[data-theme="light"] .line-text,
[data-theme="light"] .pricing-header,
[data-theme="light"] .visual-stats {
  border-color: rgba(15, 23, 42, 0.12) !important;
}

/* Light Theme Scrollbar for Live Playground */
[data-theme="light"] .sandbox-transcript::-webkit-scrollbar-thumb {
  background: rgba(15, 23, 42, 0.18);
}

/* Mobile Responsiveness Overrides (max-width: 768px) */
@media (max-width: 768px) {
  /* Sandbox Card Sizing & Padding */
  .voice-sandbox-card {
    padding: 20px !important;
  }
    
  .addon-price {
    align-self: flex-start;
  }

  /* CTA Section Padding & Buttons */
  .cta-glass-box {
    padding: 40px 20px !important;
  }
  .cta-ctas {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    gap: 12px !important;
  }
  .cta-ctas .glass-btn {
    width: 100%;
    justify-content: center;
    text-align: center;
    white-space: nowrap;
  }
}

/* ==========================================================================
   AI VOICE AGENT TELEPHONY INTERFACE & METRICS
   ========================================================================== */
.voice-call-dashboard {
  background: rgba(10, 15, 26, 0.4);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  box-shadow: var(--glass-shadow);
  height: 100%;
}
[data-theme="light"] .voice-call-dashboard {
  background: rgba(255, 255, 255, 0.45);
}

.active-call-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--glass-border);
  padding-bottom: 16px;
}
.call-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.call-title {
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--accent-primary);
  letter-spacing: 0.1em;
}
.call-number {
  font-size: 1.1rem;
  font-weight: 700;
  font-family: var(--font-body);
}
.call-timer-box {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.05);
  padding: 6px 12px;
  border-radius: var(--radius-md);
  border: 1px solid var(--glass-border);
}
[data-theme="light"] .call-timer-box {
  background: rgba(0, 0, 0, 0.02);
}
.pulse-red-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ef4444;
  animation: pulseRedTimer 1s infinite alternate;
}
@keyframes pulseRedTimer {
  0% { opacity: 0.4; }
  100% { opacity: 1; }
}
.call-duration {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.9rem;
}

.active-call-visualizer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  padding: 20px 0;
}
.phone-dialer-orb {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.orb-pulse-ring {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  border-radius: 50%;
  border: 2px solid var(--accent-primary);
  opacity: 0;
  animation: dialerRing 2s infinite linear;
}
.ring-2 { animation-delay: 0.6s; }
.ring-3 { animation-delay: 1.2s; }
.orb-avatar-inner {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-secondary) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  color: white;
  font-size: 1.5rem;
  z-index: 5;
  box-shadow: 0 4px 16px rgba(var(--accent-primary-rgb), 0.3);
}
@keyframes dialerRing {
  0% { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(1.6); opacity: 0; }
}

.telephony-sound-wave {
  display: flex;
  align-items: center;
  gap: 4px;
  height: 40px;
}
.telephony-sound-wave span {
  width: 3px;
  height: 8px;
  background: var(--accent-primary);
  border-radius: var(--radius-pill);
  animation: phoneSoundWave 1.2s infinite ease-in-out alternate;
}
.telephony-sound-wave span:nth-child(even) {
  background: var(--accent-secondary);
  animation-delay: 0.2s;
}
.telephony-sound-wave span:nth-child(3n) {
  animation-delay: 0.4s;
}
@keyframes phoneSoundWave {
  0% { height: 8px; }
  100% { height: 36px; }
}

.telephony-captions-box {
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: rgba(0,0,0,0.15);
  border-radius: var(--radius-md);
  padding: 16px;
  border: 1px solid var(--glass-border);
}
[data-theme="light"] .telephony-captions-box {
  background: rgba(255, 255, 255, 0.6);
}
.caption-label {
  font-size: 0.68rem;
  font-weight: 800;
  color: var(--text-tertiary);
  letter-spacing: 0.05em;
  border-bottom: 1px solid var(--glass-border);
  padding-bottom: 6px;
  margin-bottom: 6px;
}

/* ==========================================================================
   AI CHATBOT WIDGET SIMULATOR UI
   ========================================================================= */
.chatbot-widget-window {
  background: rgba(10, 15, 26, 0.45);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--glass-shadow);
  display: flex;
  flex-direction: column;
  height: 100%;
}
[data-theme="light"] .chatbot-widget-window {
  background: rgba(255, 255, 255, 0.6);
}

.chat-header-bar {
  background: rgba(255, 255, 255, 0.03);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--glass-border);
}
[data-theme="light"] .chat-header-bar {
  background: rgba(15, 23, 42, 0.02);
}
.chat-agent-profile {
  display: flex;
  align-items: center;
  gap: 12px;
}
.chat-avatar-ring {
  position: relative;
}
.chat-avatar-status {
  position: absolute;
  bottom: 0; right: 0;
  width: 10px;
  height: 10px;
  background: #10b981;
  border: 2px solid rgba(10, 15, 26, 0.95);
  border-radius: 50%;
}
.chat-agent-meta {
  display: flex;
  flex-direction: column;
}
.chat-agent-name {
  font-weight: 700;
  font-size: 0.95rem;
  font-family: var(--font-heading);
}
.chat-agent-sub {
  font-size: 0.75rem;
  color: var(--text-secondary);
}
.chat-window-controls {
  display: flex;
  gap: 10px;
  color: var(--text-tertiary);
}

.chat-transcript-scroller {
  flex-grow: 1;
  overflow-y: auto;
  height: 240px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.chat-bubble-row {
  display: flex;
  gap: 12px;
  max-width: 85%;
  animation: fadeInBubble 0.4s ease-out forwards;
}
.chat-bubble-row.user-bubble {
  align-self: flex-end;
  flex-direction: row-reverse;
  max-width: 80%;
}
.chat-bubble-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-secondary) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.8rem;
  color: white;
  flex-shrink: 0;
  margin-top: 4px;
}
.chat-bubble-text {
  padding: 12px 16px;
  border-radius: 0 16px 16px 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--glass-border);
  font-size: 0.9rem;
  line-height: 1.5;
}
.chat-bubble-row.user-bubble .chat-bubble-text {
  border-radius: 16px 0 16px 16px;
  background: rgba(var(--accent-secondary-rgb), 0.08);
  border-color: rgba(var(--accent-secondary-rgb), 0.2);
}
@keyframes fadeInBubble {
  0% { opacity: 0; transform: translateY(12px); }
  100% { opacity: 1; transform: translateY(0); }
}

.chat-quick-replies {
  display: flex;
  gap: 8px;
  padding: 12px 20px;
  flex-wrap: wrap;
  border-top: 1px solid var(--glass-border);
  background: rgba(255,255,255,0.01);
}
.reply-pill-btn {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--glass-border);
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition-fast);
}
.reply-pill-btn:hover {
  background: var(--input-bg-focus);
  color: var(--text-primary);
  border-color: var(--accent-primary);
  box-shadow: 0 2px 10px rgba(var(--accent-primary-rgb), 0.1);
}

.chat-input-placeholder {
  background: rgba(255, 255, 255, 0.02);
  border-top: 1px solid var(--glass-border);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
[data-theme="light"] .chat-input-placeholder {
  background: rgba(15, 23, 42, 0.01);
}
.chat-input-placeholder input {
  background: transparent;
  border: none;
  width: 80%;
  font-size: 0.9rem;
  color: var(--text-primary);
  outline: none;
}

.chat-typing-dots {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 10px 16px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--glass-border);
  border-radius: 0 16px 16px 16px;
  width: fit-content;
}
.chat-typing-dots span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--text-tertiary);
  animation: chatTypingDot 1.4s infinite both;
}
.chat-typing-dots span:nth-child(2) { animation-delay: 0.2s; }
.chat-typing-dots span:nth-child(3) { animation-delay: 0.4s; }
@keyframes chatTypingDot {
  0%, 80%, 100% { transform: scale(0.6); opacity: 0.4; }
  40% { transform: scale(1.1); opacity: 1; }
}

/* ==========================================================================
   CUSTOM AI AGENT WORKFLOW BUILDER UI
   ========================================================================== */
.workflow-builder-window {
  background: rgba(10, 15, 26, 0.45);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  box-shadow: var(--glass-shadow);
  height: 100%;
}
[data-theme="light"] .workflow-builder-window {
  background: rgba(255, 255, 255, 0.6);
}

.workflow-grid-nodes {
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  padding: 10px 0;
}
.workflow-grid-nodes::before {
  content: '';
  position: absolute;
  left: 27px;
  top: 30px;
  bottom: 30px;
  width: 2px;
  background: linear-gradient(180deg, var(--accent-primary) 0%, rgba(var(--accent-primary-rgb), 0.1) 100%);
  z-index: 1;
}

.workflow-node-item {
  display: flex;
  gap: 20px;
  align-items: center;
  position: relative;
  z-index: 5;
  animation: fadeIn 0.4s ease-out forwards;
}
.node-circle-indicator {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--input-bg-focus);
  border: 3px solid var(--glass-border);
  flex-shrink: 0;
  transition: all var(--transition-fast);
}
.workflow-node-item.active .node-circle-indicator {
  background: var(--accent-primary);
  border-color: rgba(var(--accent-primary-rgb), 0.2);
  box-shadow: 0 0 12px var(--accent-primary);
}
.workflow-node-item.success .node-circle-indicator {
  background: #10b981;
  border-color: rgba(16, 185, 129, 0.2);
  box-shadow: 0 0 10px #10b981;
}

.node-container-box {
  flex-grow: 1;
  padding: 12px 18px;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all var(--transition-fast);
}
[data-theme="light"] .node-container-box {
  background: rgba(0, 0, 0, 0.01);
}
.workflow-node-item.active .node-container-box {
  background: rgba(var(--accent-primary-rgb), 0.04);
  border-color: var(--accent-primary);
  box-shadow: 0 0 15px rgba(var(--accent-primary-rgb), 0.08);
}
.workflow-node-item.success .node-container-box {
  background: rgba(16, 185, 129, 0.03);
  border-color: #10b981;
}

.node-info-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.node-label-title {
  font-weight: 700;
  font-size: 0.9rem;
  font-family: var(--font-heading);
}
.node-desc-text {
  font-size: 0.76rem;
  color: var(--text-secondary);
}
.node-status-badge {
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  padding: 4px 8px;
  border-radius: 4px;
  background: rgba(255,255,255,0.05);
  color: var(--text-tertiary);
  letter-spacing: 0.05em;
}
.workflow-node-item.active .node-status-badge {
  background: rgba(var(--accent-primary-rgb), 0.15);
  color: var(--accent-primary);
}
.workflow-node-item.success .node-status-badge {
  background: rgba(16, 185, 129, 0.15);
  color: #10b981;
}

.human-gate-prompt-card {
  background: rgba(var(--accent-secondary-rgb), 0.08);
  border: 1px solid rgba(var(--accent-secondary-rgb), 0.2);
  border-radius: var(--radius-md);
  padding: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  animation: pulseSecRing 2s infinite alternate;
}
@keyframes pulseSecRing {
  0% { box-shadow: 0 0 4px rgba(var(--accent-secondary-rgb), 0.1); }
  100% { box-shadow: 0 0 12px rgba(var(--accent-secondary-rgb), 0.25); }
}
.human-gate-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.gate-title {
  font-weight: 800;
  font-size: 0.85rem;
  color: var(--accent-secondary);
}
.gate-desc {
  font-size: 0.74rem;
  color: var(--text-secondary);
}
.gate-actions-row {
  display: flex;
  gap: 8px;
}

/* ==========================================================================
   CTA GAUGE & DEFLECTION INFOGRAPHICS (HIGH IMPACT)
   ========================================================================== */
.radial-gauge-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 140px;
  height: 140px;
}
.gauge-svg {
  transform: rotate(-90deg);
}
.gauge-background-circle {
  fill: none;
  stroke: rgba(255, 255, 255, 0.05);
  stroke-width: 8;
}
[data-theme="light"] .gauge-background-circle {
  stroke: rgba(0, 0, 0, 0.05);
}
.gauge-active-circle {
  fill: none;
  stroke: var(--accent-primary);
  stroke-width: 8;
  stroke-dasharray: 339;
  stroke-dashoffset: 339;
  stroke-linecap: round;
  transition: stroke-dashoffset 2s ease-in-out;
}
.gauge-text-center {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.gauge-big-num {
  font-size: 1.6rem;
  font-weight: 900;
  font-family: var(--font-heading);
}
.gauge-small-label {
  font-size: 0.65rem;
  color: var(--text-tertiary);
  text-transform: uppercase;
}

.analytics-funnel-box {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}
.funnel-level-row {
  display: flex;
  align-items: center;
  gap: 12px;
}
.funnel-bar-fill {
  height: 10px;
  border-radius: var(--radius-pill);
  background: var(--accent-primary);
  transition: width 1.5s ease-in-out;
}
.funnel-val-text {
  font-size: 0.72rem;
  font-weight: 700;
  font-family: var(--font-body);
}

/* Custom premium scrollbar for simulator windows */
.chat-transcript-scroller,
.sandbox-transcript,
.terminal-logs {
  scrollbar-width: thin;
  scrollbar-color: rgba(var(--accent-primary-rgb), 0.35) transparent;
}
[data-theme="light"] .chat-transcript-scroller,
[data-theme="light"] .sandbox-transcript,
[data-theme="light"] .terminal-logs {
  scrollbar-color: rgba(15, 23, 42, 0.2) transparent;
}

.chat-transcript-scroller::-webkit-scrollbar,
.sandbox-transcript::-webkit-scrollbar,
.terminal-logs::-webkit-scrollbar {
  width: 6px !important;
  height: 6px !important;
}
.chat-transcript-scroller::-webkit-scrollbar-track,
.sandbox-transcript::-webkit-scrollbar-track,
.terminal-logs::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.02) !important;
  border-radius: 3px !important;
}
[data-theme="light"] .chat-transcript-scroller::-webkit-scrollbar-track,
[data-theme="light"] .sandbox-transcript::-webkit-scrollbar-track,
[data-theme="light"] .terminal-logs::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.02) !important;
}
.chat-transcript-scroller::-webkit-scrollbar-thumb,
.sandbox-transcript::-webkit-scrollbar-thumb,
.terminal-logs::-webkit-scrollbar-thumb {
  background: rgba(var(--accent-primary-rgb), 0.35) !important;
  border-radius: 3px !important;
  border: 1px solid transparent !important;
}
.chat-transcript-scroller::-webkit-scrollbar-thumb:hover,
.sandbox-transcript::-webkit-scrollbar-thumb:hover,
.terminal-logs::-webkit-scrollbar-thumb:hover {
  background: rgba(var(--accent-primary-rgb), 0.55) !important;
}

/* ========================================================================== 
   DIRECT IMPACT — PREMIUM HOMEPAGE COMPOSITION
   Homepage-only overrides. Internal pages retain their original presentation.
   Visual system: Space Grotesk + approved Visual Direction Board palette.
   ========================================================================== */

body.home {
  background: #ffffff;
  color: #06101e;
}

body.home .ambient-bg {
  display: none;
}

body.home .site-header {
  top: 14px;
  left: 50%;
  width: min(calc(100% - 28px), 1320px);
  height: 72px;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(15, 26, 45, 0.09);
  border-radius: 20px;
  box-shadow: 0 12px 36px rgba(6, 16, 30, 0.08);
  backdrop-filter: blur(22px) saturate(150%);
  -webkit-backdrop-filter: blur(22px) saturate(150%);
}

body.home .site-header.scrolled {
  top: 10px;
  height: 66px;
  border: 1px solid rgba(15, 26, 45, 0.12);
  border-radius: 18px;
  box-shadow: 0 14px 40px rgba(6, 16, 30, 0.12);
}

body.home .header-container {
  max-width: none;
  padding: 0 18px 0 22px;
}

body.home .nav-list {
  gap: 26px;
}

body.home .nav-link {
  font-size: 0.88rem;
  font-weight: 650;
}

body.home .header-cta-btn {
  min-height: 42px;
  padding-inline: 20px;
}

body.home .hero-section {
  min-height: auto;
  padding: 100px 14px 28px;
  overflow: visible;
}

body.home .hero-grid {
  max-width: 1320px;
  min-height: 650px;
  grid-template-columns: minmax(0, 1.03fr) minmax(0, 0.97fr);
  gap: 10px;
  padding: 10px;
  align-items: stretch;
  background: #e9ecf0;
  border: 1px solid rgba(15, 26, 45, 0.08);
  border-radius: 36px;
  box-shadow: 0 28px 80px rgba(6, 16, 30, 0.09);
}

body.home .hero-content,
body.home .hero-visual {
  border-radius: 28px;
  overflow: hidden;
}

body.home .hero-content {
  justify-content: center;
  min-width: 0;
  padding: clamp(42px, 5vw, 74px);
  background:
    radial-gradient(circle at 12% 8%, rgba(63, 141, 254, 0.12), transparent 35%),
    #ffffff;
  border: 1px solid rgba(15, 26, 45, 0.06);
}

body.home .hero-content .badge {
  align-self: flex-start;
  margin-bottom: 28px;
  padding: 9px 14px;
  background: rgba(63, 141, 254, 0.09);
  border-color: rgba(63, 141, 254, 0.18);
  color: #0f1a2d;
}

body.home .hero-title {
  max-width: 680px;
  margin-bottom: 24px;
  font-size: clamp(3rem, 5.1vw, 5.2rem);
  font-weight: 650;
  line-height: 0.98;
  letter-spacing: -0.055em;
  text-wrap: balance;
}

body.home .hero-description {
  max-width: 610px;
  margin-bottom: 34px;
  font-size: clamp(1rem, 1.25vw, 1.17rem);
  font-weight: 450;
  line-height: 1.7;
  color: #2a3a4e;
}

body.home .hero-actions {
  gap: 12px;
  margin-bottom: 42px;
}

body.home .hero-actions .glass-btn {
  min-height: 52px;
  padding-inline: 24px;
}

/* Dark Theme Overrides for Homepage Header & Hero */
[data-theme="dark"] body.home {
  background: #06101e;
  color: #ffffff;
}

[data-theme="dark"] body.home .site-header {
  background: rgba(15, 26, 45, 0.88);
  border-color: rgba(161, 200, 243, 0.14);
}

[data-theme="dark"] body.home .nav-link {
  color: #ffffff;
}

[data-theme="dark"] body.home .hero-grid {
  background: #0b1524;
  border-color: rgba(161, 200, 243, 0.12);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.45);
}

[data-theme="dark"] body.home .hero-content {
  background:
    radial-gradient(circle at 12% 8%, rgba(63, 141, 254, 0.15), transparent 35%),
    #0f1a2d;
  border-color: rgba(161, 200, 243, 0.12);
}

[data-theme="dark"] body.home .hero-content .badge {
  background: rgba(63, 141, 254, 0.15);
  border-color: rgba(63, 141, 254, 0.3);
  color: #a1c8f3;
}

[data-theme="dark"] body.home .hero-title {
  color: #ffffff;
}

[data-theme="dark"] body.home .hero-description {
  color: #cbd9e8;
}

[data-theme="dark"] body.home .hero-feat-item {
  background: #152238;
  border-color: rgba(161, 200, 243, 0.12);
}

[data-theme="dark"] body.home .hero-feat-text {
  color: #ffffff;
}

[data-theme="dark"] body.home .trust-section {
  background: #0f1a2d;
  border-color: rgba(161, 200, 243, 0.12);
}

[data-theme="dark"] body.home .trust-logo {
  color: #ffffff;
  opacity: 0.75;
}

body.home .hero-features {
  gap: 10px;
  padding-top: 22px;
}

body.home .hero-feat-item {
  flex: 1 1 0;
  gap: 9px;
  min-width: 0;
  padding: 12px 14px;
  background: #f4f6f8;
  border: 1px solid rgba(15, 26, 45, 0.07);
  border-radius: 12px;
}

body.home .hero-feat-text {
  font-size: 0.8rem;
  line-height: 1.3;
}

body.home .hero-visual {
  display: flex;
  align-items: center;
  min-height: 630px;
  padding: clamp(38px, 5vw, 72px);
  background:
    linear-gradient(rgba(15, 26, 45, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 26, 45, 0.03) 1px, transparent 1px),
    radial-gradient(circle at 82% 16%, rgba(63, 141, 254, 0.12), transparent 42%),
    radial-gradient(circle at 18% 85%, rgba(161, 200, 243, 0.16), transparent 45%),
    radial-gradient(circle at 50% 50%, rgba(15, 26, 45, 0.02), transparent 60%),
    #ffffff;
  background-size: 46px 46px, 46px 46px, auto, auto, auto, auto;
  border: 1px solid rgba(15, 26, 45, 0.06);
  isolation: isolate;
  position: relative;
}

body.home .hero-visual::before {
  content: '';
  position: absolute;
  width: 380px;
  height: 380px;
  right: -80px;
  bottom: -100px;
  background: radial-gradient(circle, rgba(63, 141, 254, 0.10) 0%, rgba(161, 200, 243, 0.05) 50%, transparent 70%);
  border-radius: 50%;
  filter: blur(20px);
  opacity: 0.8;
  z-index: -1;
  pointer-events: none;
}

body.home .hero-3d-wrapper {
  width: 100%;
  transform: rotate(-1.5deg);
}

body.home .mockup-card {
  background: #ffffff;
  border: 1px solid rgba(15, 26, 45, 0.08);
  border-radius: 22px;
  box-shadow: 0 24px 60px rgba(6, 16, 30, 0.08), 0 2px 8px rgba(6, 16, 30, 0.04);
}

body.home .mockup-header {
  background: #ffffff;
  border-bottom: 1px solid rgba(15, 26, 45, 0.06);
}

body.home .mockup-body {
  min-height: 390px;
  background: #f8fafc;
}

body.home .floating-element {
  background: #ffffff;
  border: 1px solid rgba(15, 26, 45, 0.08);
  box-shadow: 0 14px 36px rgba(6, 16, 30, 0.08);
}

body.home .float-card-1 {
  top: 9%;
  left: 16px;
  border-color: rgba(63, 141, 254, 0.2);
}

body.home .float-card-2 {
  right: 16px;
  bottom: 9%;
  border-color: rgba(161, 200, 243, 0.35);
}

/* Dedicated Dark Theme Hero Retention (Preserved Exactly As-Is) */
[data-theme="dark"] body.home .hero-visual {
  background:
    linear-gradient(rgba(161, 200, 243, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(161, 200, 243, 0.08) 1px, transparent 1px),
    radial-gradient(circle at 80% 18%, rgba(63, 141, 254, 0.35), transparent 35%),
    #0f1a2d;
  background-size: 46px 46px, 46px 46px, auto, auto;
  border: 1px solid rgba(161, 200, 243, 0.12);
}

[data-theme="dark"] body.home .hero-visual::before {
  content: '';
  position: absolute;
  width: 360px;
  height: 360px;
  right: -100px;
  bottom: -120px;
  background: #3f8dfe;
  border-radius: 50%;
  filter: blur(1px);
  opacity: 0.12;
  z-index: -1;
}

[data-theme="dark"] body.home .mockup-card {
  background: rgba(15, 26, 45, 0.95);
  border: 1px solid rgba(161, 200, 243, 0.15);
  box-shadow: 0 34px 70px rgba(0, 0, 0, 0.5);
}

[data-theme="dark"] body.home .mockup-header {
  background: rgba(15, 26, 45, 0.98);
  border-bottom: 1px solid rgba(161, 200, 243, 0.12);
}

[data-theme="dark"] body.home .mockup-body {
  background: rgba(6, 16, 30, 0.85);
}

[data-theme="dark"] body.home .floating-element {
  background: #0f1a2d;
  border: 1px solid rgba(161, 200, 243, 0.2);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.4);
}

body.home .trust-section {
  width: min(calc(100% - 28px), 1320px);
  margin: 0 auto;
  padding: 30px 0;
  background: #ffffff;
  border: 1px solid rgba(15, 26, 45, 0.08);
  border-radius: 22px;
}

body.home .trust-container {
  max-width: none;
}

body.home .trust-logo {
  color: #0f1a2d;
  opacity: 0.58;
}

body.home .home-about-section,
body.home .services-section,
body.home .why-section,
body.home .stats-section,
body.home .home-portfolio-section,
body.home .showcase-section,
body.home .timeline-section,
body.home .industries-section,
body.home .reviews-section,
body.home .home-faq-section,
body.home .cta-section {
  padding-block: clamp(82px, 9vw, 132px);
}

body.home .home-about-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(46px, 5.6vw, 82px);
  align-items: center;
}

body.home .home-about-media {
  position: relative;
  min-height: 566px;
  margin-left: 18px;
  border-radius: 0 28px 28px 28px;
  box-shadow: 0 30px 70px rgba(6, 16, 30, 0.18);
}

body.home .home-about-image {
  width: 100%;
  height: 566px;
  display: block;
  object-fit: cover;
  object-position: center;
  border-radius: 0 28px 28px 28px;
}

body.home .home-about-seal {
  position: absolute;
  z-index: 3;
  top: -28px;
  left: -28px;
  width: 132px;
  height: 132px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  color: #ffffff;
  text-align: center;
  text-transform: uppercase;
  background: #0f1a2d;
  border: 5px solid #e9ecf0;
  border-radius: 50%;
  box-shadow: 0 15px 34px rgba(6, 16, 30, 0.25), inset 0 0 0 1px rgba(161, 200, 243, 0.36);
}

body.home .home-about-seal::before,
body.home .home-about-seal::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
}

body.home .home-about-seal::before {
  inset: 8px;
  border: 1px solid rgba(161, 200, 243, 0.42);
}

body.home .home-about-seal::after {
  inset: 16px;
  border: 1px dashed rgba(161, 200, 243, 0.36);
}

body.home .home-about-seal strong,
body.home .home-about-seal span {
  position: relative;
  z-index: 1;
}

body.home .home-about-seal strong {
  font-size: 2rem;
  line-height: 1;
  letter-spacing: -0.08em;
}

body.home .home-about-seal span {
  max-width: 92px;
  font-size: 0.52rem;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0.12em;
}

body.home .home-about-seal .home-about-seal-ring {
  color: #a1c8f3;
}

body.home .home-about-float-card {
  position: absolute;
  z-index: 3;
  right: 24px;
  bottom: 24px;
  display: flex;
  align-items: center;
  gap: 13px;
  max-width: calc(100% - 48px);
  padding: 16px 20px;
  color: #06101e;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(161, 200, 243, 0.6);
  border-radius: 16px;
  box-shadow: 0 16px 38px rgba(6, 16, 30, 0.2);
  backdrop-filter: blur(16px);
}

body.home .home-about-float-icon {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  display: grid;
  place-items: center;
  color: #3f8dfe;
  background: #e9f2ff;
  border-radius: 50%;
}

body.home .home-about-float-card strong,
body.home .home-about-float-card small {
  display: block;
}

body.home .home-about-float-card strong {
  font-size: 0.9rem;
  line-height: 1.25;
}

body.home .home-about-float-card small {
  margin-top: 2px;
  color: #5b6e86;
  font-size: 0.7rem;
  line-height: 1.3;
}

body.home .home-about-content .badge,
body.home .home-about-content .section-title,
body.home .home-about-content .section-subtitle {
  align-self: flex-start;
  text-align: left;
}

body.home .home-about-content .section-title {
  max-width: 680px;
  margin: 20px 0 18px;
  font-size: clamp(2.55rem, 3.75vw, 4.05rem);
  line-height: 1.04;
  letter-spacing: -0.045em;
}

body.home .home-about-content .section-subtitle {
  max-width: 670px;
  font-size: clamp(0.98rem, 1.15vw, 1.08rem);
  line-height: 1.65;
}

body.home .home-about-info-strip {
  margin-top: 24px;
  padding: 17px 20px;
  color: #0f5cd8;
  background: #e4efff;
  border-left: 4px solid #3f8dfe;
  border-radius: 0 12px 12px 0;
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.45;
}

body.home .home-about-checks {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 25px 0 27px;
  padding: 0;
  list-style: none;
}

body.home .home-about-checks li {
  display: flex;
  align-items: center;
  gap: 13px;
  color: #0f1a2d;
  font-size: 0.92rem;
  line-height: 1.35;
}

body.home .home-about-check-icon {
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  display: grid;
  place-items: center;
  color: #3f8dfe;
  background: #e4efff;
  border-radius: 50%;
}

body.home .home-about-action-row {
  display: flex;
  align-items: center;
  gap: 22px;
}

body.home .home-about-link {
  min-height: 54px;
  flex: 0 0 auto;
  padding-inline: 23px;
}

body.home .home-about-link,
body.home .home-text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

body.home .home-about-trust {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 12px;
}

body.home .home-about-avatars {
  display: flex;
  flex: 0 0 auto;
  padding-left: 8px;
}

body.home .home-about-avatar {
  width: 38px;
  height: 38px;
  display: block;
  object-fit: cover;
  margin-left: -8px;
  background: #e9ecf0;
  border: 3px solid #ffffff;
  border-radius: 50%;
  box-shadow: 0 5px 13px rgba(6, 16, 30, 0.12);
}

body.home .home-about-trust > span {
  max-width: 170px;
  color: #5b6e86;
  font-size: 0.72rem;
  font-weight: 650;
  line-height: 1.35;
}

body.home .services-section {
  position: relative;
  overflow: hidden;
  background: #0f1a2d;
}

body.home .services-section::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 8% 20%, rgba(63, 141, 254, 0.22), transparent 30%),
    radial-gradient(circle at 92% 80%, rgba(161, 200, 243, 0.12), transparent 28%);
}

body.home .services-section .section-container {
  position: relative;
}

body.home .services-section .section-header,
body.home .why-section .section-header,
body.home .home-portfolio-section .section-header,
body.home .showcase-section .section-header,
body.home .timeline-section .section-header,
body.home .industries-section .section-header,
body.home .reviews-section .section-header {
  max-width: 820px;
  margin-bottom: 54px;
}

body.home .services-section .section-title,
body.home .services-section .section-subtitle,
body.home .timeline-section .section-title,
body.home .timeline-section .section-subtitle {
  color: #ffffff;
}

body.home .services-section .section-subtitle,
body.home .timeline-section .section-subtitle {
  opacity: 0.72;
}

body.home .services-section .badge,
body.home .timeline-section .badge {
  color: #a1c8f3;
  background: rgba(63, 141, 254, 0.12);
  border-color: rgba(161, 200, 243, 0.2);
}

body.home .services-grid {
  counter-reset: homeServices;
  gap: 14px;
}

body.home .service-card {
  counter-increment: homeServices;
  min-height: 500px;
  padding: 30px;
  background: #ffffff;
  border: 1px solid rgba(161, 200, 243, 0.16);
  border-radius: 22px;
  box-shadow: 0 24px 60px rgba(6, 16, 30, 0.2);
  cursor: default;
}

body.home .service-card::before {
  content: '0' counter(homeServices);
  position: absolute;
  top: 28px;
  right: 28px;
  color: #5b6e86;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

body.home .service-card:nth-child(2) {
  color: #ffffff;
  background: #3f8dfe;
  border-color: #3f8dfe;
  transform: translateY(-16px);
}

body.home .service-card:nth-child(2)::before,
body.home .service-card:nth-child(2) .service-desc,
body.home .service-card:nth-child(2) .service-bullet,
body.home .service-card:nth-child(2) .service-link {
  color: #ffffff;
}

body.home .service-card:nth-child(2) .service-desc,
body.home .service-card:nth-child(2) .service-bullet {
  opacity: 0.86;
}

body.home .service-card:nth-child(2) .service-icon-box {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.25);
}

body.home .service-card:nth-child(2) .service-bullets {
  border-color: rgba(255, 255, 255, 0.2);
}

body.home .service-card:hover,
body.home .service-card:nth-child(2):hover {
  transform: translateY(-9px);
  box-shadow: 0 30px 70px rgba(6, 16, 30, 0.28);
}

body.home .service-card:nth-child(2):hover {
  transform: translateY(-22px);
}

body.home .service-title {
  max-width: 270px;
  font-size: 1.45rem;
}

body.home .why-section {
  background: #ffffff;
}

body.home .why-grid {
  gap: 12px;
  margin-top: 0;
  padding: 12px;
  background: #e9ecf0;
  border-radius: 28px;
}

body.home .why-card {
  min-height: 440px;
  padding: clamp(30px, 4vw, 48px);
  border-radius: 20px;
}

body.home .why-card.premium-glass {
  color: #ffffff;
  background: #0f1a2d;
  border: 1px solid #0f1a2d;
  box-shadow: none;
}

body.home .why-card.premium-glass .why-item,
body.home .why-card.premium-glass .why-title {
  color: #ffffff;
}

body.home .why-card.premium-glass .why-item {
  opacity: 0.82;
}

body.home .why-card.generic-glass {
  background: #ffffff;
  border: 1px solid rgba(15, 26, 45, 0.06);
  opacity: 1;
}

body.home .why-item {
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(161, 200, 243, 0.15);
}

body.home .why-item:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

body.home .stats-section {
  background: #e9ecf0;
}

body.home .stats-section .section-container {
  display: grid;
  grid-template-columns: minmax(250px, 0.72fr) minmax(0, 1.28fr);
  gap: 54px;
  align-items: center;
}

body.home .stats-section .section-header {
  align-items: flex-start;
  margin: 0;
  text-align: left;
}

body.home .premium-stats-grid {
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin: 0;
}

body.home .premium-stat-card {
  min-height: 210px;
  align-items: flex-start;
  padding: 30px;
  text-align: left;
  background: #ffffff;
  border: 1px solid rgba(15, 26, 45, 0.07);
  border-radius: 18px;
  backdrop-filter: none;
}

body.home .premium-stat-card:nth-child(1) {
  color: #ffffff;
  background: #3f8dfe;
}

body.home .premium-stat-card:nth-child(1) .stat-label,
body.home .premium-stat-card:nth-child(1) .stat-number {
  color: #ffffff;
}

body.home .premium-stat-card:nth-child(1) .stat-label {
  opacity: 0.82;
}

body.home .stat-icon-wrapper {
  width: 44px;
  height: 44px;
  margin-bottom: 24px;
}

body.home .home-portfolio-section {
  background: #ffffff;
}

body.home .home-split-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.65fr);
  gap: 80px;
  align-items: end;
  margin-bottom: 52px;
}

body.home .home-split-heading .section-title {
  max-width: 700px;
  margin-top: 18px;
  margin-bottom: 0;
}

body.home .home-split-heading-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
}

body.home .home-text-link {
  color: #0f1a2d;
  font-size: 0.9rem;
  font-weight: 700;
  border-bottom: 1px solid #3f8dfe;
  padding-bottom: 5px;
}

body.home .home-portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

body.home .home-portfolio-card {
  position: relative;
  overflow: hidden;
  color: #06101e;
  background: #f4f6f8;
  border: 1px solid rgba(15, 26, 45, 0.08);
  border-radius: 22px;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

body.home .home-portfolio-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 60px rgba(6, 16, 30, 0.14);
}

body.home .home-portfolio-image {
  position: relative;
  height: 270px;
  overflow: hidden;
  background: #0f1a2d;
}

body.home .home-portfolio-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(6, 16, 30, 0.45));
}

body.home .home-portfolio-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

body.home .home-portfolio-card:hover .home-portfolio-image img {
  transform: scale(1.045);
}

body.home .home-portfolio-index {
  position: absolute;
  z-index: 2;
  top: 16px;
  right: 16px;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  color: #0f1a2d;
  background: rgba(255, 255, 255, 0.92);
  border-radius: 50%;
  font-size: 0.72rem;
  font-weight: 700;
}

body.home .home-portfolio-body {
  position: relative;
  min-height: 250px;
  padding: 26px 58px 28px 26px;
}

body.home .home-portfolio-body h3 {
  margin: 12px 0 10px;
  font-size: 1.3rem;
  line-height: 1.2;
}

body.home .home-portfolio-body p {
  color: #5b6e86;
  font-size: 0.9rem;
  line-height: 1.65;
}

body.home .home-portfolio-arrow {
  position: absolute;
  right: 22px;
  bottom: 24px;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  color: #ffffff;
  background: #3f8dfe;
  border-radius: 50%;
  font-size: 1rem;
}

body.home .showcase-section {
  background: #f4f6f8;
  border: 0;
}

body.home .showcase-viewscreen {
  overflow: hidden;
  background: #ffffff;
  border: 1px solid rgba(15, 26, 45, 0.08);
  border-radius: 24px;
  box-shadow: 0 30px 80px rgba(6, 16, 30, 0.1);
}

body.home .showcase-tabs {
  width: max-content;
  max-width: 100%;
  margin: 0 auto 18px;
  padding: 6px;
  background: #ffffff;
  border: 1px solid rgba(15, 26, 45, 0.08);
  border-radius: 14px;
}

body.home .timeline-section {
  position: relative;
  background: #0f1a2d;
}

body.home .pipeline-timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  max-width: none;
  padding: 30px 0 0;
}

body.home .pipeline-timeline::before {
  top: 18px;
  left: 12.5%;
  width: 75%;
  height: 1px;
  transform: none;
  background: rgba(161, 200, 243, 0.28);
  opacity: 1;
}

body.home .timeline-item,
body.home .timeline-item:nth-child(even) {
  display: block;
  width: auto;
  margin: 0;
}

body.home .timeline-dot {
  position: relative;
  top: auto;
  left: auto;
  width: 12px;
  height: 12px;
  margin: -18px auto 30px;
  background: #3f8dfe;
  border: 3px solid #0f1a2d;
  box-shadow: 0 0 0 1px rgba(161, 200, 243, 0.38), 0 0 22px rgba(63, 141, 254, 0.5);
  transform: none;
}

body.home .timeline-card {
  width: 100%;
  min-height: 275px;
  padding: 26px;
  color: #06101e;
  background: #ffffff;
  border: 1px solid rgba(161, 200, 243, 0.16);
  border-radius: 18px;
}

body.home .timeline-step {
  display: inline-flex;
  margin-bottom: 28px;
  padding: 6px 9px;
  background: rgba(63, 141, 254, 0.09);
  border-radius: 7px;
}

body.home .industries-section {
  background: #ffffff;
}

body.home .industries-grid {
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

body.home .industry-card {
  min-height: 170px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  padding: 24px;
  text-align: left;
  background: #f4f6f8;
  border: 1px solid rgba(15, 26, 45, 0.07);
  border-radius: 16px;
}

body.home .ind-icon-box {
  margin: 0 0 24px;
  color: #3f8dfe;
  background: #ffffff;
}

body.home .industry-card:hover .ind-icon-box {
  color: #ffffff;
  background: #3f8dfe;
  transform: translateY(-3px);
}

body.home .reviews-section {
  background: #f4f6f8;
}

[data-theme="dark"] body.home .reviews-section {
  background: #06101e;
}

body.home .home-faq-section {
  border: 0;
  background: #ffffff;
}

body.home .home-faq-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(48px, 7vw, 96px);
  align-items: start;
}

body.home .home-faq-intro {
  position: sticky;
  top: 110px;
}

body.home .home-faq-intro .section-title {
  margin: 18px 0 34px;
  font-size: clamp(2.4rem, 4vw, 4rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
}

body.home .home-faq-help-card {
  padding: 26px;
  color: #ffffff;
  background: #0f1a2d;
  border: 1px solid rgba(161, 200, 243, 0.16);
  border-radius: 18px;
}

body.home .home-faq-help-label {
  display: block;
  margin-bottom: 14px;
  color: #a1c8f3;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

body.home .home-faq-help-card h3 {
  margin-bottom: 12px;
  font-size: 1.35rem;
  line-height: 1.25;
}

body.home .home-faq-help-card p {
  margin-bottom: 22px;
  color: #ffffff;
  font-size: 0.85rem;
  line-height: 1.6;
  opacity: 0.7;
}

body.home .home-faq-list {
  border-top: 1px solid rgba(15, 26, 45, 0.1);
}

body.home .home-faq-list .faq-card {
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(15, 26, 45, 0.1);
  border-radius: 0;
  box-shadow: none;
}

body.home .home-faq-list .faq-trigger {
  padding: 25px 0;
  font-size: 1.05rem;
}

body.home .home-faq-list .faq-trigger > span {
  display: flex;
  align-items: center;
  gap: 18px;
}

body.home .home-faq-number {
  color: #3f8dfe;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
}

body.home .home-faq-list .faq-content {
  padding-inline: 42px 20px;
}

body.home .home-faq-list .faq-card.active .faq-content {
  padding: 0 42px 25px;
}

body.home .cta-section {
  padding: 16px 14px 90px;
}

body.home .cta-banner {
  max-width: 1320px;
  padding: 0;
}

body.home .cta-glass-box {
  min-height: 470px;
  justify-content: center;
  padding: 70px 40px;
  color: #ffffff;
  background:
    radial-gradient(circle at 14% 8%, rgba(63, 141, 254, 0.45), transparent 34%),
    radial-gradient(circle at 88% 100%, rgba(161, 200, 243, 0.17), transparent 32%),
    #0f1a2d;
  border: 1px solid rgba(161, 200, 243, 0.16);
  border-radius: 30px;
  box-shadow: 0 28px 70px rgba(6, 16, 30, 0.2);
}

body.home .cta-glass-box::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(161, 200, 243, 0.28) 1px, transparent 1px);
  background-size: 24px 24px;
  mask-image: linear-gradient(90deg, #000, transparent 42%, transparent 58%, #000);
  opacity: 0.28;
  pointer-events: none;
}

body.home .cta-title {
  max-width: 900px;
  color: #ffffff;
  font-size: clamp(2.5rem, 5vw, 5rem);
  font-weight: 650;
  line-height: 1;
  letter-spacing: -0.05em;
}

body.home .cta-desc {
  color: #ffffff;
  opacity: 0.72;
}

body.home .cta-buttons,
body.home .cta-title,
body.home .cta-desc {
  position: relative;
  z-index: 2;
}

body.home .cta-buttons .glass-btn.secondary {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.32);
}

body.home .site-footer {
  color: #ffffff;
  background: #06101e;
  border-top: 1px solid rgba(161, 200, 243, 0.12);
}

body.home .site-footer .logo-light-theme {
  display: none;
}

body.home .site-footer .logo-dark-theme {
  display: block;
}

body.home .site-footer .footer-col-title,
body.home .site-footer .footer-link,
body.home .site-footer .footer-contact-text,
body.home .site-footer .copyright-center,
body.home .site-footer .footer-desc {
  color: #ffffff;
}

body.home .site-footer .footer-link,
body.home .site-footer .footer-contact-text,
body.home .site-footer .copyright-center,
body.home .site-footer .footer-desc {
  opacity: 0.7;
}

body.home .site-footer .footer-link:hover,
body.home .site-footer .footer-contact-link:hover {
  color: #a1c8f3;
  opacity: 1;
}

body.home .site-footer .footer-contact-icon,
body.home .site-footer .social-btn {
  color: #a1c8f3;
  background: rgba(63, 141, 254, 0.1);
  border-color: rgba(161, 200, 243, 0.16);
}

body.home .site-footer .footer-bottom {
  border-color: rgba(161, 200, 243, 0.12);
}

@media (max-width: 1180px) {
  body.home .nav-list { gap: 18px; }
  body.home .nav-link { font-size: 0.82rem; }
  body.home .hero-title { font-size: clamp(2.8rem, 5.4vw, 4.3rem); }
  body.home .hero-content { padding: 44px; }
  body.home .hero-visual { padding: 42px; }
  body.home .home-portfolio-image { height: 230px; }
  body.home .pipeline-timeline { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  body.home .pipeline-timeline::before { display: none; }
  body.home .timeline-dot { display: none; }
  body.home .timeline-card { min-height: 230px; }
}

@media (max-width: 1024px) {
  body.home .site-header,
  body.home .site-header.scrolled {
    top: 10px;
    height: 66px;
  }

  body.home .hero-grid {
    grid-template-columns: 1fr;
  }

  body.home .hero-content,
  body.home .hero-visual {
    min-height: 560px;
  }

  body.home .hero-title {
    max-width: 820px;
    font-size: clamp(3.4rem, 8vw, 5rem);
  }

  body.home .home-about-grid,
  body.home .stats-section .section-container,
  body.home .home-faq-layout {
    grid-template-columns: 1fr;
  }

  body.home .home-about-media {
    width: min(100% - 28px, 680px);
    min-height: 520px;
    margin-left: 28px;
  }

  body.home .home-about-image {
    height: 520px;
  }

  body.home .home-about-content {
    max-width: 760px;
  }

  body.home .stats-section .section-header {
    max-width: 720px;
  }

  body.home .home-faq-intro {
    position: static;
  }

  body.home .home-faq-intro .section-title {
    max-width: 700px;
  }

  body.home .home-faq-help-card {
    max-width: 720px;
  }

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

  body.home .home-portfolio-card:last-child {
    grid-column: 1 / -1;
  }

  body.home .home-portfolio-card:last-child {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  body.home .home-portfolio-card:last-child .home-portfolio-image {
    height: 100%;
    min-height: 300px;
  }
}

@media (max-width: 900px) {
  body.home .site-header {
    width: calc(100% - 20px);
  }

  body.home .main-nav.active {
    width: calc(100% - 20px);
    left: 10px;
  }

  body.home .services-grid,
  body.home .why-grid {
    grid-template-columns: 1fr;
  }

  body.home .service-card {
    min-height: auto;
  }

  body.home .service-card:nth-child(2),
  body.home .service-card:nth-child(2):hover {
    transform: none;
  }

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

@media (max-width: 720px) {
  body.home .site-header,
  body.home .site-header.scrolled {
    top: 7px;
    width: calc(100% - 14px);
    height: 62px;
    border-radius: 16px;
  }

  body.home .header-container {
    padding-inline: 14px;
  }

  body.home .hero-section {
    padding: 80px 7px 18px;
  }

  body.home .hero-grid {
    gap: 7px;
    padding: 7px;
    border-radius: 24px;
  }

  body.home .hero-content,
  body.home .hero-visual {
    min-height: auto;
    border-radius: 18px;
  }

  body.home .hero-content {
    padding: 38px 24px;
  }

  body.home .hero-title {
    font-size: clamp(2.65rem, 13vw, 4rem);
    letter-spacing: -0.06em;
  }

  body.home .hero-description {
    font-size: 0.98rem;
  }

  body.home .hero-actions,
  body.home .cta-buttons {
    width: 100%;
    flex-direction: column;
  }

  body.home .hero-actions .glass-btn,
  body.home .cta-buttons .glass-btn {
    width: 100%;
    justify-content: center;
  }

  body.home .hero-features {
    flex-direction: column;
  }

  body.home .hero-visual {
    min-height: 510px;
    padding: 70px 18px;
  }

  body.home .mockup-body {
    min-height: 330px;
    padding: 18px;
  }

  body.home .float-card-1 {
    top: 18px;
    left: 18px;
  }

  body.home .float-card-2 {
    right: 18px;
    bottom: 18px;
  }

  body.home .floating-element {
    padding: 9px 12px;
  }

  body.home .trust-section {
    width: calc(100% - 14px);
    border-radius: 16px;
  }

  body.home .home-about-section,
  body.home .services-section,
  body.home .why-section,
  body.home .stats-section,
  body.home .home-portfolio-section,
  body.home .showcase-section,
  body.home .timeline-section,
  body.home .industries-section,
  body.home .reviews-section,
  body.home .home-faq-section,
  body.home .cta-section {
    padding-block: 76px;
  }

  body.home .home-about-grid {
    gap: 48px;
  }

  body.home .home-about-media {
    width: calc(100% - 18px);
    min-height: 420px;
    margin-left: 18px;
    border-radius: 0 20px 20px 20px;
  }

  body.home .home-about-image {
    height: 420px;
    border-radius: 0 20px 20px 20px;
  }

  body.home .home-about-seal {
    top: -22px;
    left: -18px;
    width: 112px;
    height: 112px;
    border-width: 4px;
  }

  body.home .home-about-seal strong {
    font-size: 1.65rem;
  }

  body.home .home-about-seal span {
    max-width: 78px;
    font-size: 0.44rem;
  }

  body.home .home-about-float-card {
    right: 14px;
    bottom: 14px;
    max-width: calc(100% - 28px);
    padding: 13px 15px;
  }

  body.home .home-about-content .section-title {
    font-size: clamp(2.35rem, 11vw, 3.5rem);
  }

  body.home .home-about-action-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 20px;
  }

  body.home .home-about-link {
    width: 100%;
    justify-content: center;
  }

  body.home .home-about-trust > span {
    max-width: 220px;
  }

  body.home .home-split-heading {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  body.home .home-portfolio-grid,
  body.home .premium-stats-grid,
  body.home .pipeline-timeline {
    grid-template-columns: 1fr;
  }

  body.home .home-portfolio-card:last-child,
  body.home .home-portfolio-card:last-child {
    display: block;
    grid-column: auto;
  }

  body.home .home-portfolio-card:last-child .home-portfolio-image,
  body.home .home-portfolio-image {
    height: 240px;
    min-height: 0;
  }

  body.home .showcase-tabs {
    width: 100%;
  }

  body.home .timeline-card {
    min-height: auto;
  }

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

  body.home .review-card {
    width: min(84vw, 350px);
  }

  body.home .home-faq-list .faq-trigger {
    font-size: 0.95rem;
  }

  body.home .home-faq-number {
    display: none;
  }

  body.home .home-faq-list .faq-content,
  body.home .home-faq-list .faq-card.active .faq-content {
    padding-inline: 0 28px;
  }

  body.home .cta-section {
    padding: 8px 7px 70px;
  }

  body.home .cta-glass-box {
    min-height: 430px;
    padding: 58px 24px;
    border-radius: 22px;
  }
}

@media (max-width: 480px) {
  body.home .hero-title {
    font-size: 2.55rem;
  }

  body.home .hero-content .badge {
    font-size: 0.66rem;
  }

  body.home .hero-visual {
    min-height: 470px;
  }

  body.home .mockup-title {
    max-width: 170px;
    overflow: hidden;
    font-size: 0.7rem;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  body.home .home-about-media,
  body.home .home-about-image {
    min-height: 370px;
    height: 370px;
  }

  body.home .home-about-info-strip {
    padding: 15px 16px;
  }

  body.home .home-about-checks li {
    align-items: flex-start;
  }

  body.home .home-about-trust {
    align-items: flex-start;
  }

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

  body.home .industry-card {
    min-height: 145px;
  }
}


