
/* ==========================================
   DESIGN TOKENS & SYSTEM VARIABLES
   ========================================== */
:root {
  /* Fonts */
  --font-heading: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Theme: Light (Default) - Sunset Coast 103 Palette */
  --bg-primary: #FBF9F5;
  --bg-secondary: #F5EFE6;
  --bg-tertiary: #E9E0D1;
  
  --text-primary: #2D2D2D;
  --text-secondary: #5A554E;
  --text-tertiary: #7D776D;
  
  --accent-primary: #A58763;      /* Warm Bronze / Tan Primary */
  --accent-primary-rgb: 165, 135, 99;
  --accent-secondary: #D7C9AE;    /* Soft Sand Accent */
  --accent-secondary-rgb: 215, 201, 174;
  --accent-tertiary: #C4AA89;     /* Tertiary Gold Accent */
  
  /* Glassmorphism Light */
  --glass-bg: rgba(255, 255, 255, 0.7);
  --glass-bg-hover: rgba(255, 255, 255, 0.9);
  --glass-border: rgba(165, 135, 99, 0.15);
  --glass-border-hover: rgba(165, 135, 99, 0.35);
  --glass-shadow: 0 8px 32px 0 rgba(165, 135, 99, 0.05),
                  0 1px 3px 0 rgba(0, 0, 0, 0.02),
                  inset 0 1px 0 0 rgba(255, 255, 255, 0.8);
  --glass-shadow-hover: 0 16px 48px 0 rgba(165, 135, 99, 0.10),
                        0 2px 8px 0 rgba(0, 0, 0, 0.04),
                        inset 0 1px 0 0 rgba(255, 255, 255, 0.95);
  
  /* Gradient Meshes */
  --mesh-gradient: radial-gradient(circle at 15% 15%, rgba(165, 135, 99, 0.06) 0%, transparent 60%),
                    radial-gradient(circle at 85% 10%, rgba(215, 201, 174, 0.08) 0%, transparent 60%),
                    radial-gradient(circle at 50% 80%, rgba(233, 224, 209, 0.10) 0%, transparent 70%);

  /* Cards Backgrounds */
  --card-bg: rgba(255, 255, 255, 0.85);
  --glow-color: rgba(165, 135, 99, 0.18);
  --badge-bg: rgba(165, 135, 99, 0.10);
  --badge-text: #A58763;
  --timeline-line-color: rgba(45, 45, 45, 0.15);
  
  /* 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: #E9E0D1;
  --code-color: #A58763;

  /* Form Input Colors (Light Theme) */
  --input-bg: rgba(255, 255, 255, 0.92);
  --input-bg-focus: #ffffff;
  --input-border: rgba(45, 45, 45, 0.15);
  --input-border-focus: var(--accent-primary);
}

/* Dark Theme Override */
[data-theme="dark"] {
  --bg-primary: #1A1918;
  --bg-secondary: #242220;
  --bg-tertiary: #2D2D2D;
  
  --text-primary: #FFFFFF;
  --text-secondary: #E2E8F0;
  --text-tertiary: #CBD5E1;
  
  --accent-primary: #C4AA89;      /* Warm Bronze Light */
  --accent-primary-rgb: 196, 170, 137;
  --accent-secondary: #E9E0D1;    /* Soft Surface Light */
  --accent-secondary-rgb: 233, 224, 209;
  --accent-tertiary: #A58763;
  
  /* Glassmorphism Dark */
  --glass-bg: rgba(36, 34, 32, 0.50);
  --glass-bg-hover: rgba(45, 42, 40, 0.65);
  --glass-border: rgba(215, 201, 174, 0.12);
  --glass-border-hover: rgba(215, 201, 174, 0.22);
  --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.45),
                  0 1px 3px 0 rgba(0, 0, 0, 0.15),
                  inset 0 1px 0 0 rgba(255, 255, 255, 0.05);
  --glass-shadow-hover: 0 16px 48px 0 rgba(0, 0, 0, 0.55),
                        0 2px 8px 0 rgba(0, 0, 0, 0.25),
                        inset 0 1px 0 0 rgba(255, 255, 255, 0.1);
  
  /* Gradient Meshes Dark */
  --mesh-gradient: radial-gradient(circle at 15% 15%, rgba(196, 170, 137, 0.06) 0%, transparent 60%),
                    radial-gradient(circle at 85% 10%, rgba(233, 224, 209, 0.06) 0%, transparent 60%),
                    radial-gradient(circle at 50% 80%, rgba(165, 135, 99, 0.08) 0%, transparent 70%);
                    
  --card-bg: rgba(36, 34, 32, 0.65);
  --glow-color: rgba(196, 170, 137, 0.25);
  --badge-bg: rgba(196, 170, 137, 0.15);
  --badge-text: #E2E8F0;
  --timeline-line-color: var(--glass-border);

  /* Code Block Colors (Dark Theme) */
  --code-bg: rgba(0, 0, 0, 0.4);
  --code-color: #E2E8F0;

  /* Form Input Colors (Dark Theme) */
  --input-bg: rgba(255, 255, 255, 0.03);
  --input-bg-focus: rgba(255, 255, 255, 0.06);
  --input-border: var(--glass-border);
  --input-border-focus: var(--accent-primary);
}

/* ==========================================
   DARK THEME COMPONENT OVERRIDES
   ========================================== */
[data-theme="dark"] .badge {
  background-color: rgba(196, 170, 137, 0.16) !important;
  color: #F5EFE6 !important;
  border: 1px solid rgba(215, 201, 174, 0.38) !important;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.08) !important;
}

[data-theme="dark"] .badge:hover {
  background-color: rgba(196, 170, 137, 0.26) !important;
  border-color: rgba(215, 201, 174, 0.55) !important;
  color: #FFFFFF !important;
}

[data-theme="dark"] .text-gradient {
  background: linear-gradient(135deg, #FFFFFF 0%, #F5EFE6 35%, #C4AA89 70%, #A58763 100%) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
}

[data-theme="dark"] .text-gradient-pink {
  background: linear-gradient(135deg, #F8F6F0 0%, #E9E0D1 40%, #C4AA89 100%) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
}

[data-theme="dark"] .glass-btn.primary {
  background: linear-gradient(135deg, #C4AA89 0%, #A58763 100%) !important;
  color: #1A1918 !important;
  font-weight: 700 !important;
  border: 1px solid rgba(233, 224, 209, 0.4) !important;
  box-shadow: 0 4px 20px rgba(196, 170, 137, 0.35) !important;
}

[data-theme="dark"] .glass-btn.primary:hover {
  background: linear-gradient(135deg, #E9E0D1 0%, #C4AA89 100%) !important;
  box-shadow: 0 8px 28px rgba(196, 170, 137, 0.50) !important;
  color: #1A1918 !important;
  transform: translateY(-2px);
}

[data-theme="dark"] .glass-btn.secondary {
  border: 1px solid rgba(215, 201, 174, 0.30) !important;
  background: rgba(255, 255, 255, 0.06) !important;
  color: #F8F6F0 !important;
}

[data-theme="dark"] .glass-btn.secondary:hover {
  background: rgba(255, 255, 255, 0.12) !important;
  border-color: rgba(215, 201, 174, 0.55) !important;
  color: #FFFFFF !important;
  transform: translateY(-2px);
}

[data-theme="dark"] .glass-panel {
  background: rgba(28, 26, 24, 0.72) !important;
  border: 1px solid rgba(215, 201, 174, 0.14) !important;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.50), inset 0 1px 0 rgba(255, 255, 255, 0.06) !important;
}

[data-theme="dark"] .glass-card {
  background: rgba(28, 26, 24, 0.75) !important;
  border: 1px solid rgba(215, 201, 174, 0.14) !important;
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.06) !important;
}

[data-theme="dark"] .glass-card:hover {
  background: rgba(36, 33, 30, 0.88) !important;
  border-color: rgba(215, 201, 174, 0.28) !important;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.60), inset 0 1px 0 rgba(255, 255, 255, 0.10) !important;
}

[data-theme="dark"] .service-icon-box,
[data-theme="dark"] .ind-icon-box {
  background: rgba(196, 170, 137, 0.12) !important;
  border: 1px solid rgba(215, 201, 174, 0.25) !important;
  color: #C4AA89 !important;
}

[data-theme="dark"] .service-card:hover .service-icon-box,
[data-theme="dark"] .industry-card:hover .ind-icon-box {
  background: linear-gradient(135deg, #C4AA89 0%, #A58763 100%) !important;
  border-color: #C4AA89 !important;
  color: #1A1918 !important;
}

[data-theme="dark"] .pricing-card {
  background: rgba(28, 26, 24, 0.80) !important;
  border: 1px solid rgba(215, 201, 174, 0.14) !important;
}

[data-theme="dark"] .pricing-card.popular {
  border-color: rgba(215, 201, 174, 0.50) !important;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.70), 0 0 35px rgba(196, 170, 137, 0.22) !important;
}

[data-theme="dark"] .popular-badge {
  background: linear-gradient(135deg, #C4AA89 0%, #A58763 100%) !important;
  color: #1A1918 !important;
  font-weight: 700 !important;
}

[data-theme="dark"] .pricing-header .plan-name {
  color: #F8F6F0 !important;
}

[data-theme="dark"] .pricing-card.popular .plan-name {
  color: #FFFFFF !important;
}

[data-theme="dark"] .plan-price-box {
  color: #FFFFFF !important;
}

[data-theme="dark"] .deliverable-item span {
  color: #E2E8F0 !important;
}

[data-theme="dark"] .deliverable-item svg {
  color: #C4AA89 !important;
}

[data-theme="dark"] .timeline-step .step-num {
  color: #C4AA89 !important;
  text-shadow: 0 0 20px rgba(196, 170, 137, 0.35);
}

[data-theme="dark"] .timeline-step .step-content {
  background: rgba(28, 26, 24, 0.80) !important;
  border-color: rgba(215, 201, 174, 0.15) !important;
}

[data-theme="dark"] .step-title {
  color: #FFFFFF !important;
}

[data-theme="dark"] .step-desc {
  color: #E2E8F0 !important;
}

[data-theme="dark"] .why-card.premium-glass {
  background: rgba(32, 29, 26, 0.85) !important;
  border: 1px solid rgba(215, 201, 174, 0.25) !important;
  box-shadow: 0 14px 44px rgba(0, 0, 0, 0.60), 0 0 30px rgba(196, 170, 137, 0.12) !important;
}

[data-theme="dark"] .why-card.generic-glass {
  background: rgba(22, 21, 20, 0.70) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
}

[data-theme="dark"] .why-title {
  color: #FFFFFF !important;
}

[data-theme="dark"] .why-item span,
[data-theme="dark"] .why-item {
  color: #E2E8F0 !important;
}

[data-theme="dark"] .why-check {
  color: #C4AA89 !important;
}

[data-theme="dark"] .why-cross {
  color: rgba(226, 232, 240, 0.40) !important;
}

[data-theme="dark"] .review-card {
  background: rgba(28, 26, 24, 0.80) !important;
  border: 1px solid rgba(215, 201, 174, 0.15) !important;
}

[data-theme="dark"] .review-text {
  color: #F1F5F9 !important;
}

[data-theme="dark"] .client-name {
  color: #FFFFFF !important;
}

[data-theme="dark"] .client-company {
  color: #C4AA89 !important;
}

[data-theme="dark"] .star-filled,
[data-theme="dark"] .review-stars svg {
  color: #E2E8F0 !important;
}

[data-theme="dark"] .faq-card {
  background: rgba(28, 26, 24, 0.75) !important;
  border: 1px solid rgba(215, 201, 174, 0.14) !important;
}

[data-theme="dark"] .faq-card.active {
  background: rgba(34, 31, 28, 0.90) !important;
  border-color: rgba(215, 201, 174, 0.35) !important;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.5) !important;
}

[data-theme="dark"] .faq-trigger {
  color: #FFFFFF !important;
}

[data-theme="dark"] .faq-content p {
  color: #E2E8F0 !important;
}

[data-theme="dark"] .faq-caret {
  color: #C4AA89 !important;
}

[data-theme="dark"] .cta-banner {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

[data-theme="dark"] .cta-glass-box {
  background: linear-gradient(135deg, rgba(32, 29, 26, 0.95) 0%, rgba(20, 19, 18, 0.98) 100%) !important;
  border: 1px solid rgba(215, 201, 174, 0.22) !important;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.70), 0 0 40px rgba(196, 170, 137, 0.15) !important;
}

[data-theme="dark"] .cta-title {
  color: #FFFFFF !important;
}

[data-theme="dark"] .cta-desc {
  color: #E2E8F0 !important;
}

[data-theme="dark"] .cta-visual-box {
  background: rgba(20, 19, 18, 0.85) !important;
  border-color: rgba(215, 201, 174, 0.15) !important;
}

[data-theme="dark"] .v-label {
  color: #E2E8F0 !important;
}

[data-theme="dark"] .site-header {
  background: rgba(26, 25, 24, 0.88) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  border-bottom: 1px solid rgba(215, 201, 174, 0.12) !important;
}

[data-theme="dark"] .nav-link {
  color: #E2E8F0 !important;
}

[data-theme="dark"] .nav-link:hover,
[data-theme="dark"] .nav-link.active {
  color: #FFFFFF !important;
}

[data-theme="dark"] .theme-toggle-btn {
  background: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid rgba(215, 201, 174, 0.25) !important;
  color: #E2E8F0 !important;
}

[data-theme="dark"] .theme-toggle-btn:hover {
  background: rgba(255, 255, 255, 0.15) !important;
  color: #FFFFFF !important;
}

[data-theme="dark"] .site-footer {
  background: #141312 !important;
  border-top: 1px solid rgba(215, 201, 174, 0.12) !important;
}

[data-theme="dark"] .footer-col-title,
[data-theme="dark"] .footer-title {
  color: #FFFFFF !important;
}

[data-theme="dark"] .footer-text,
[data-theme="dark"] .footer-link,
[data-theme="dark"] .footer-contact-link,
[data-theme="dark"] .footer-contact-text {
  color: #E2E8F0 !important;
}

[data-theme="dark"] .footer-link:hover,
[data-theme="dark"] .footer-contact-link:hover {
  color: var(--accent-primary) !important;
  text-shadow: 0 0 16px rgba(196, 170, 137, 0.35);
}

[data-theme="dark"] .footer-contact-icon,
[data-theme="dark"] .footer-social-btn {
  background: rgba(255, 255, 255, 0.05) !important;
  border-color: rgba(215, 201, 174, 0.15) !important;
  color: #E2E8F0 !important;
}

[data-theme="dark"] .footer-social-btn:hover {
  background: var(--accent-primary) !important;
  border-color: var(--accent-primary) !important;
  color: #141312 !important;
}

[data-theme="dark"] .footer-bottom,
[data-theme="dark"] .copyright {
  border-top: 1px solid rgba(215, 201, 174, 0.08) !important;
  color: #E2E8F0 !important;
}

[data-theme="dark"] .hero-subtitle,
[data-theme="dark"] .section-subtitle,
[data-theme="dark"] .service-desc,
[data-theme="dark"] .service-bullet,
[data-theme="dark"] .about-card-text,
[data-theme="dark"] .pillar-desc,
[data-theme="dark"] .agent-desc,
[data-theme="dark"] .case-desc,
[data-theme="dark"] .timeline-desc,
[data-theme="dark"] p {
  color: #E2E8F0 !important;
}

[data-theme="dark"] .wave-bar {
  background: linear-gradient(to top, #C4AA89, #E9E0D1) !important;
}

[data-theme="dark"] .voice-waveform {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

[data-theme="dark"] .addon-card {
  background: rgba(28, 26, 24, 0.75) !important;
  border-color: rgba(215, 201, 174, 0.14) !important;
}

[data-theme="dark"] .addon-title {
  color: #FFFFFF !important;
}

[data-theme="dark"] .addon-desc {
  color: #E2E8F0 !important;
}

[data-theme="dark"] .addon-price {
  color: #C4AA89 !important;
}

/* ==========================================
   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;
  overflow-x: hidden;
  max-width: 100vw;
}

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;
  max-width: 100vw;
  width: 100%;
  transition: background-color var(--transition-normal), color var(--transition-normal);
}

main {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

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, #A58763 0%, #C4A782 45%, #8D6E4C 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline;
}

.text-gradient-pink {
  background: linear-gradient(135deg, #8D6E4C 0%, #A58763 50%, #D7C9AE 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline;
}

.desktop-br {
  display: inline;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background-color: rgba(var(--accent-primary-rgb), 0.09);
  color: #8D6E4C;
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1px solid rgba(var(--accent-primary-rgb), 0.22);
  margin-bottom: 16px;
  width: fit-content;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: all var(--transition-fast);
}

.badge:hover {
  background-color: rgba(var(--accent-primary-rgb), 0.14);
  border-color: rgba(var(--accent-primary-rgb), 0.35);
  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, #A58763 0%, #947551 100%);
  color: #ffffff;
  border: 1px solid rgba(148, 117, 81, 0.5);
  box-shadow: 0 4px 16px rgba(165, 135, 99, 0.30);
}

.glass-btn.primary:hover {
  background: linear-gradient(135deg, #947551 0%, #7D613F 100%);
  box-shadow: 0 8px 26px rgba(165, 135, 99, 0.45);
  transform: translateY(-2px);
}

.glass-btn.secondary {
  border: 1px solid rgba(var(--accent-primary-rgb), 0.25);
  background: rgba(var(--accent-primary-rgb), 0.05);
  color: var(--text-primary);
}

.glass-btn.secondary:hover {
  background: rgba(var(--accent-primary-rgb), 0.10);
  border-color: rgba(var(--accent-primary-rgb), 0.40);
  transform: translateY(-2px);
}

/* ==========================================
   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-wrapper {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  transition: opacity var(--transition-fast), transform var(--transition-fast);
}

.logo-wrapper:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

.site-logo,
.logo-wrapper img,
.site-header .site-logo,
.site-footer .site-logo,
.footer-info .site-logo {
  height: 50px !important;
  max-height: 50px !important;
  width: auto !important;
  max-width: 275px !important;
  object-fit: contain !important;
  display: block;
}

/* Light mode (default or [data-theme="light"]): show light logo (Web Logo HD), hide dark logo */
.site-logo.logo-dark {
  display: none !important;
}
.site-logo.logo-light {
  display: block !important;
}

/* Dark mode ([data-theme="dark"]): show dark logo (Logo HD Full Light), hide light logo */
[data-theme="dark"] .site-logo.logo-dark {
  display: block !important;
}
[data-theme="dark"] .site-logo.logo-light {
  display: none !important;
}

.mobile-br {
  display: none;
}

.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.4rem, 4.3vw, 3.85rem);
  line-height: 1.15;
  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: var(--accent-secondary); 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: var(--accent-primary);
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(var(--accent-primary-rgb), 0.5);
  animation: pulse-glow 2s infinite;
}

.mockup-body {
  padding: 24px;
  height: 480px;
  max-height: 480px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-sizing: border-box;
}

.chat-simulator {
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex-grow: 1;
  overflow-y: auto;
  overflow-x: hidden;
  max-height: 380px;
  padding-right: 6px;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
}

/* Custom Scrollbar for Terminal Chat Simulator */
.chat-simulator::-webkit-scrollbar {
  width: 5px;
}

.chat-simulator::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.03);
  border-radius: 4px;
}

.chat-simulator::-webkit-scrollbar-thumb {
  background: rgba(var(--accent-primary-rgb), 0.35);
  border-radius: 4px;
  transition: background var(--transition-fast);
}

.chat-simulator::-webkit-scrollbar-thumb:hover {
  background: rgba(var(--accent-primary-rgb), 0.65);
}

[data-theme="dark"] .chat-simulator::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.03);
}

[data-theme="dark"] .chat-simulator::-webkit-scrollbar-thumb {
  background: rgba(196, 170, 137, 0.4);
}

.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);
  text-align: center;
}

.logo-marquee {
  display: flex;
  width: 100%;
  overflow: hidden;
  position: relative;
  user-select: none;
  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;
  align-items: center;
  flex-shrink: 0;
  gap: 80px;
  padding-right: 80px;
  animation: marquee 50s linear infinite;
  white-space: nowrap;
  will-change: transform;
}

.logo-marquee:hover .marquee-content {
  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;
  white-space: nowrap;
  flex-shrink: 0;
  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(-100%); }
}

/* ==========================================
   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-section .section-header {
  max-width: 850px;
}

.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: var(--accent-primary); 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: var(--accent-primary);
  background: rgba(var(--accent-primary-rgb), 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;
  height: 380px !important;
  min-height: 380px !important;
  max-height: 380px !important;
  overflow: hidden !important;
  box-sizing: border-box !important;
}

.chat-messages-container {
  flex: 1 1 auto;
  min-height: 0;
  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: 1 1 auto;
  min-height: 0;
  height: 380px !important;
  min-height: 380px !important;
  max-height: 380px !important;
  box-sizing: border-box !important;
  font-family: monospace;
  font-size: 0.85rem;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.transcript-line {
  line-height: 1.4;
  color: var(--text-secondary);
}

.transcript-line.agent {
  color: var(--accent-primary);
  font-weight: 600;
}

.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: var(--accent-primary);
}

.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 */
}

.timeline-section .section-header {
  max-width: 860px;
}

.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.in-view .timeline-dot {
  background: var(--accent-primary);
  box-shadow: 0 0 15px var(--accent-primary);
}

.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-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: 0 auto 20px auto;
  transition: all var(--transition-normal);
}

.industry-card:hover .ind-icon-box {
  background: var(--accent-primary);
  border-color: var(--accent-primary);
  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;
}

.stats-section .section-header {
  max-width: 880px;
}

.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.03);
  border: 1px solid rgba(var(--accent-primary-rgb), 0.25);
  box-shadow: 0 8px 32px 0 rgba(var(--accent-primary-rgb), 0.04);
}

.why-card.premium-glass:hover {
  border-color: var(--accent-primary);
  box-shadow: 0 16px 48px 0 rgba(var(--accent-primary-rgb), 0.12);
}

.why-card.generic-glass {
  background: rgba(45, 45, 45, 0.02);
  border: 1px solid rgba(45, 45, 45, 0.15);
  opacity: 0.85;
  transition: all var(--transition-normal);
}

.why-card.generic-glass:hover {
  border-color: rgba(45, 45, 45, 0.35);
}

.why-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 30px;
}

.why-icon {
  color: var(--accent-primary);
  width: 28px;
  height: 28px;
}

.why-icon-cross {
  color: var(--text-tertiary);
  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: var(--accent-primary);
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 3px;
}

.why-cross {
  color: var(--text-tertiary);
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 3px;
}

/* ==========================================
   FLOATING WHATSAPP SUPPORT WIDGET (BOTTOM-RIGHT)
   ========================================== */
.whatsapp-widget {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  pointer-events: none;
}

.whatsapp-icon-box {
  pointer-events: auto;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  color: white;
  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: transform var(--transition-fast);
  cursor: pointer;
  text-decoration: none;
}

.whatsapp-icon-box:hover {
  transform: scale(1.1) rotate(10deg);
}

.whatsapp-badge {
  background: var(--glass-bg);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid var(--glass-border);
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  box-shadow: var(--glass-shadow);
  color: var(--text-primary);
  font-size: 0.85rem;
  font-weight: 700;
  opacity: 0;
  transform: translateX(10px);
  transition: opacity 0.25s ease, transform 0.25s ease;
  pointer-events: none;
  white-space: nowrap;
}

/* ONLY show badge when hovering directly over the WhatsApp circle icon */
.whatsapp-icon-box:hover + .whatsapp-badge {
  opacity: 1;
  transform: translateX(0);
}

[data-theme="dark"] .whatsapp-badge {
  background: rgba(30, 28, 26, 0.85);
  border-color: rgba(215, 201, 174, 0.35);
  color: #F8F6F0;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6);
}

@keyframes pulse-glow-green {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.4); }
  70% { box-shadow: 0 0 0 12px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

@media (max-width: 768px) {
  .whatsapp-widget {
    bottom: 16px;
    right: 16px;
  }
  .whatsapp-icon-box {
    width: 48px;
    height: 48px;
  }
  .whatsapp-icon-box svg {
    width: 22px;
    height: 22px;
  }
  .whatsapp-badge {
    display: none;
  }
}

/* ==========================================
   CLIENT TESTIMONIALS
   ========================================== */
.reviews-section {
  padding: 80px 0;
}

.reviews-section .section-header {
  max-width: 880px;
  margin-bottom: 36px;
}
.reviews-marquee-wrapper {
  overflow: hidden;
  width: 100%;
  position: relative;
  padding: 24px 0;
  height: 380px;
  display: flex;
  align-items: center;
  contain: paint layout;
}

.reviews-marquee-wrapper::before,
.reviews-marquee-wrapper::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 150px;
  z-index: 10;
  pointer-events: none;
}

.reviews-marquee-wrapper::before {
  left: 0;
  background: linear-gradient(to right, var(--bg-primary) 0%, transparent 100%);
}

.reviews-marquee-wrapper::after {
  right: 0;
  background: linear-gradient(to left, var(--bg-primary) 0%, transparent 100%);
}

.marquee-track {
  display: flex;
  align-items: center;
  gap: 30px;
  width: max-content;
  height: 320px;
  animation: scroll-marquee 30s linear infinite;
  will-change: transform;
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.marquee-track:hover {
  animation-play-state: paused;
}

@keyframes scroll-marquee {
  0% {
    transform: translate3d(0, 0, 0);
  }
  100% {
    transform: translate3d(calc(-50% - 15px), 0, 0);
  }
}

.review-card {
  width: 380px;
  height: 320px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  margin: 0;
  contain: layout style;
  transform: translateZ(0);
  backface-visibility: hidden;
  transition: background var(--transition-normal), border-color var(--transition-normal), box-shadow var(--transition-normal) !important;
}

.review-card.glass-card:hover {
  transform: translateZ(0) !important;
}

.review-stars {
  display: flex;
  gap: 4px;
  color: #f59e0b;
  margin-bottom: 16px;
}

.review-star {
  width: 20px;
  height: 20px;
}

.review-text {
  font-size: 0.95rem;
  color: var(--text-secondary);
  font-style: italic;
  margin-bottom: 24px;
  flex-grow: 1;
  line-height: 1.6;
}

.review-client {
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 1px solid var(--glass-border);
  padding-top: 16px;
}

.client-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--bg-tertiary), var(--glass-border));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--text-primary);
  border: 1px solid var(--glass-border);
  object-fit: cover;
}

.client-info {
  display: flex;
  flex-direction: column;
}

.client-name {
  font-size: 0.9rem;
  font-weight: 700;
}

.client-company {
  font-size: 0.75rem;
  color: var(--text-tertiary);
  font-weight: 600;
}

/* ==========================================
   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: 820px;
}

.cta-buttons {
  display: flex;
  gap: 16px;
}

/* ==========================================
   FOOTER
   ========================================== */
.site-footer {
  border-top: 1px solid var(--glass-border);
  background: var(--bg-secondary);
  padding: 70px 0 30px 0;
}

.footer-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1.35fr 1.35fr;
  gap: 56px;
  margin-bottom: 50px;
}

.footer-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-desc {
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--text-secondary);
  max-width: 320px;
}

.footer-social-links {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 4px;
}

.footer-social-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--glass-border);
  background: var(--card-bg);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
}

.footer-social-btn svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.footer-social-btn:hover {
  background: var(--accent-primary);
  border-color: var(--accent-primary);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(var(--accent-primary-rgb), 0.25);
}

.footer-col-title {
  font-size: 0.88rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 24px;
  color: var(--text-primary);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 14px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-link {
  font-size: 0.92rem;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
  text-decoration: none;
}

.footer-link:hover {
  color: var(--accent-primary);
  transform: translateX(4px);
}

/* Contact Info Column */
.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.92rem;
  color: var(--text-secondary);
}

.footer-contact-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: var(--card-bg);
  border: 1px solid var(--glass-border);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-primary);
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
}

.footer-contact-icon svg {
  width: 18px;
  height: 18px;
}

.footer-contact-link {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.footer-contact-link:hover {
  color: var(--accent-primary);
}

.footer-bottom {
  border-top: 1px solid var(--glass-border);
  padding: 24px 0 0 0;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.copyright {
  font-size: 0.86rem;
  color: var(--text-tertiary);
}

/* ==========================================
   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;
  }

  /* Disable artificial desktop br line breaks ONLY on mobile / tablet screens, converting to clean space */
  .hero-title br:not(.mobile-br),
  .portfolio-hero-title br:not(.mobile-br),
  .about-hero-title br:not(.mobile-br),
  .section-title br:not(.mobile-br),
  .cta-title br:not(.mobile-br),
  .trust-title br:not(.mobile-br),
  .hero-desc br:not(.mobile-br),
  .hero-description br:not(.mobile-br),
  .cta-desc br:not(.mobile-br),
  .hero-subtitle br:not(.mobile-br),
  .blog-hero .hero-subtitle br:not(.mobile-br),
  .about-hero-subtitle br:not(.mobile-br),
  .portfolio-hero-subtitle br:not(.mobile-br),
  .section-subtitle br:not(.mobile-br),
  .contact-subtitle br:not(.mobile-br),
  p br:not(.mobile-br),
  h1 br:not(.mobile-br),
  h2 br:not(.mobile-br),
  h3 br:not(.mobile-br),
  h4 br:not(.mobile-br) {
    display: none !important;
  }

  .hero-title,
  .portfolio-hero-title,
  .about-hero-title {
    font-size: clamp(2rem, 7vw, 2.25rem); /* Clamped to 36px (2.25rem) on mobile */
    line-height: 1.22;
    text-wrap: balance;
  }

  /* Show hero features on separate lines on mobile only */
  .hero-features {
    flex-direction: column;
    align-items: center;
    gap: 14px;
    padding-top: 24px;
    width: 100%;
  }

  .hero-feat-item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    text-align: center;
  }

  .hero-feat-icon {
    flex-shrink: 0;
  }

  .section-title,
  .cta-title {
    font-size: clamp(1.65rem, 5.5vw, 1.875rem); /* Clamped to 30px (1.875rem) on mobile */
    line-height: 1.25;
    text-wrap: balance;
  }

  .desktop-br {
    display: none;
  }

  /* Outer Section Containers mobile padding adjustment: 20px */
  .section-container,
  .hero-grid,
  .footer-container,
  .trust-container {
    padding-left: 20px;
    padding-right: 20px;
  }

  .trust-title {
    text-align: center !important;
    width: 100%;
  }

  /* Fixed height on mobile for hero terminal to prevent jumping */
  .mockup-body {
    padding: 16px;
    height: 420px;
    max-height: 420px;
  }

  .chat-simulator {
    max-height: 330px;
    gap: 12px;
  }

  /* 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 */
  .site-header {
    width: 100%;
    max-width: 100vw;
  }

  .header-container {
    padding: 0 16px;
    width: 100%;
    max-width: 100%;
  }

  .site-logo,
  .logo-wrapper img,
  .site-header .site-logo,
  .site-footer .site-logo,
  .footer-info .site-logo {
    height: 38px !important;
    max-height: 38px !important;
    max-width: 200px !important;
  }

  .header-cta-btn {
    display: none !important;
  }

  .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 */
  .site-footer {
    padding: 50px 0 25px 0;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
    padding: 20px 0 0 0;
  }

  /* WhatsApp support widget placement on mobile */
  .whatsapp-widget {
    bottom: 16px;
    right: 16px;
  }

  .whatsapp-icon-box {
    width: 48px;
    height: 48px;
  }

  .whatsapp-badge {
    display: none;
  }
}

@media (max-width: 480px) {
  .hero-title,
  .portfolio-hero-title,
  .about-hero-title {
    font-size: clamp(2rem, 8.5vw, 2.25rem); /* Clamped to 36px (2.25rem) on small mobile */
    line-height: 1.25;
  }

  .section-title,
  .cta-title {
    font-size: clamp(1.65rem, 7vw, 1.875rem); /* Clamped to 30px (1.875rem) on small mobile */
    line-height: 1.28;
  }

  .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% !important;
    height: 360px !important;
    min-height: 360px !important;
    max-height: 360px !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
  }

  .chat-messages-container {
    flex: 1 1 auto !important;
    min-height: 0 !important;
    overflow-y: auto !important;
    padding: 16px 14px !important;
    gap: 12px !important;
  }

  .transcript-log-screen {
    height: 300px !important;
    min-height: 300px !important;
    max-height: 300px !important;
    overflow-y: auto !important;
    box-sizing: border-box !important;
  }

  .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.4rem, 4.3vw, 3.85rem);
  margin-bottom: 24px;
  line-height: 1.15;
  font-family: var(--font-heading);
  font-weight: 900;
  letter-spacing: -0.02em;
}

.portfolio-hero-subtitle {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: var(--text-secondary);
  max-width: 700px;
  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.72rem;
  font-weight: 800;
  padding: 5px 12px;
  background: #141312;
  border: 1px solid rgba(165, 135, 99, 0.45);
  color: #FFFFFF;
  border-radius: var(--radius-pill);
  letter-spacing: 0.08em;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
  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 50px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.about-hero-title {
  font-size: clamp(2.4rem, 4.3vw, 3.85rem);
  line-height: 1.15;
  margin-top: 16px;
  margin-bottom: 24px;
  font-family: var(--font-heading);
  font-weight: 900;
  letter-spacing: -0.02em;
}

.about-hero-subtitle {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: var(--text-secondary);
  max-width: 880px;
  width: 85%;
  margin: 0 auto;
  line-height: 1.6;
}

.about-section {
  padding: 80px 0;
  position: relative;
}

.about-hero + .about-section {
  padding-top: 0;
}

.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(165, 135, 99, 0.45) 0px, transparent 50%), radial-gradient(at 100% 100%, rgba(215, 201, 174, 0.45) 0px, transparent 50%), var(--bg-tertiary); }
.mesh-purple { background: radial-gradient(at 100% 0%, rgba(196, 170, 137, 0.45) 0px, transparent 50%), radial-gradient(at 0% 100%, rgba(165, 135, 99, 0.45) 0px, transparent 50%), var(--bg-tertiary); }
.mesh-emerald { background: radial-gradient(at 0% 100%, rgba(215, 201, 174, 0.45) 0px, transparent 50%), radial-gradient(at 100% 0%, rgba(165, 135, 99, 0.45) 0px, transparent 50%), var(--bg-tertiary); }
.mesh-sunset { background: radial-gradient(at 100% 100%, rgba(165, 135, 99, 0.45) 0px, transparent 50%), radial-gradient(at 0% 0%, rgba(233, 224, 209, 0.5) 0px, transparent 50%), var(--bg-tertiary); }
.mesh-ocean { background: radial-gradient(at 50% 50%, rgba(215, 201, 174, 0.45) 0px, transparent 50%), radial-gradient(at 100% 0%, rgba(165, 135, 99, 0.45) 0px, transparent 50%), var(--bg-tertiary); }
.mesh-dark { background: radial-gradient(at 0% 0%, rgba(45, 45, 45, 0.6) 0px, transparent 50%), radial-gradient(at 100% 100%, rgba(26, 25, 24, 0.8) 0px, transparent 50%), var(--bg-secondary); }

.blog-category {
  position: absolute;
  top: 16px;
  left: 16px;
  background: rgba(14, 18, 28, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(212, 175, 55, 0.45);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #F5E6CC;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
  z-index: 2;
  transition: all var(--transition-fast);
}

.blog-card:hover .blog-category {
  background: rgba(14, 18, 28, 0.96);
  border-color: rgba(212, 175, 55, 0.75);
  color: #FFFFFF;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.45);
}

.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: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--accent-primary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transition: all var(--transition-fast);
}

.read-more-link svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  stroke-width: 2.5;
  transition: transform var(--transition-fast);
}

.blog-card:hover .read-more-link {
  color: var(--text-primary);
  gap: 12px;
}

.blog-card:hover .read-more-link svg {
  transform: translateX(4px);
}

.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;
  overflow: hidden;
  width: 100%;
  max-width: 100%;
}

.contact-process-section {
  padding: 80px 0;
  position: relative;
  z-index: 10;
  overflow: hidden;
  width: 100%;
  max-width: 100%;
}

.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) {
  .mobile-br {
    display: inline;
  }

  .contact-header .hero-title {
    font-size: 2.2rem;
    line-height: 1.18;
  }

  .blog-hero .hero-subtitle br {
    display: none !important;
  }

  .blog-grid {
    grid-template-columns: 1fr;
  }

  .blog-filters {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    max-width: 440px;
    margin: 0 auto 36px auto;
    padding: 0 8px;
  }

  .filter-btn {
    padding: 9px 8px;
    font-size: clamp(0.78rem, 2.5vw, 0.85rem);
    font-weight: 600;
    white-space: nowrap;
    text-align: center;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  /* Prevent horizontal slide animations from causing mobile page overflow */
  .reveal-on-scroll.slide-left {
    transform: translateY(24px);
  }
  .reveal-on-scroll.slide-right {
    transform: translateY(24px);
  }
  .reveal-on-scroll.in-view {
    transform: translate(0) scale(1);
  }

  /* Contact Page Mobile Styles */
  .contact-section {
    padding: 100px 0 60px 0;
    overflow: hidden;
    width: 100%;
    max-width: 100%;
  }

  .contact-process-section {
    padding: 60px 0;
    overflow: hidden;
    width: 100%;
    max-width: 100%;
  }

  .contact-header {
    margin-bottom: 36px;
    width: 100%;
    max-width: 100%;
  }

  .contact-header .hero-title {
    font-size: clamp(2rem, 7vw, 2.25rem);
    line-height: 1.2;
    word-break: break-word;
  }

  .contact-header .hero-subtitle {
    font-size: 0.92rem;
    line-height: 1.5;
    word-break: break-word;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 28px;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
  }

  .contact-info-col {
    gap: 16px;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
  }

  .contact-info-card {
    padding: 20px 16px;
    gap: 14px;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    border-radius: var(--radius-md);
    box-sizing: border-box;
  }

  .info-icon-box {
    width: 44px;
    height: 44px;
    min-width: 44px;
    flex-shrink: 0;
  }

  .info-icon-box svg {
    width: 20px;
    height: 20px;
  }

  .info-text {
    min-width: 0;
    flex: 1;
    gap: 6px;
    overflow: hidden;
  }

  .info-title {
    font-size: 1.1rem;
    word-break: break-word;
  }

  .info-desc {
    font-size: 0.88rem;
    line-height: 1.45;
    word-break: break-word;
  }

  .info-link {
    font-size: clamp(0.76rem, 2.7vw, 0.86rem);
    word-break: break-all;
    overflow-wrap: anywhere;
    max-width: 100%;
    white-space: normal;
  }

  .contact-form-col {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
  }

  .contact-form-wrapper {
    padding: 24px 16px;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    border-radius: var(--radius-md);
    box-sizing: border-box;
  }

  .form-heading {
    font-size: clamp(1.35rem, 4.5vw, 1.6rem);
    line-height: 1.25;
    word-break: break-word;
  }

  .form-subheading {
    font-size: 0.88rem;
    margin-bottom: 24px;
    line-height: 1.5;
    word-break: break-word;
  }

  .liquid-form {
    gap: 18px;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    position: relative;
    overflow: hidden;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 18px;
    width: 100%;
  }

  .liquid-input {
    padding: 14px 16px;
    font-size: 0.9rem;
    width: 100%;
    box-sizing: border-box;
  }

  .radio-group {
    grid-template-columns: 1fr;
    gap: 10px;
    width: 100%;
  }

  .radio-content {
    padding: 12px 14px;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    gap: 12px;
    text-align: left;
    font-size: 0.88rem;
    width: 100%;
    box-sizing: border-box;
  }

  .radio-content svg {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
  }

  .form-submit-btn {
    width: 100%;
    justify-content: center;
    padding: 14px 20px;
    font-size: 0.92rem;
    box-sizing: border-box;
  }

  .timeline-container {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
  }

  .timeline-container .timeline-step {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .step-content {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
    word-break: break-word;
  }

  .booking-section {
    padding: 60px 0;
    overflow: hidden;
    width: 100%;
    max-width: 100%;
  }

  .booking-header {
    margin-bottom: 24px;
    width: 100%;
    max-width: 100%;
  }

  .booking-embed-container {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
  }

  .booking-embed-container iframe,
  .booking-embed-container [id^="my-cal-"] {
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden !important;
  }

  .booking-placeholder {
    padding: 40px 16px;
    font-size: 0.9rem;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .faq-section {
    padding: 60px 0 80px 0;
    overflow: hidden;
    width: 100%;
    max-width: 100%;
  }

  .faq-grid {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    padding: 0;
  }

  .faq-card {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }

  .faq-trigger {
    padding: 18px 16px;
    font-size: 1rem;
    gap: 12px;
  }

  .faq-caret {
    flex-shrink: 0;
  }

  .faq-content {
    padding: 0 16px;
  }

  .faq-card.active .faq-content {
    padding: 0 16px 18px 16px;
  }
}

/* ==========================================
   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 {
  display: block !important;
  clear: both;
  font-size: 2.8rem;
  font-family: var(--font-heading);
  line-height: 1.2;
  margin-top: 14px;
  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: 'Courier New', Courier, monospace;
  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;
    display: block !important;
    clear: both !important;
  }
  
  .article-body {
    padding: 24px;
  }
}

/* ==========================================
   CONTACT PAGE PROCESS & FAQ STYLES
   ========================================== */
.contact-process-section {
  padding: 80px 0;
  position: relative;
  z-index: 10;
  overflow: hidden;
  width: 100%;
  max-width: 100%;
  border-top: 1px solid var(--glass-border);
}

/* ==========================================
   CONTACT PAGE BOOKING CALENDAR SECTION
   ========================================== */
.booking-section {
  padding: 80px 0;
  position: relative;
  z-index: 10;
  overflow: hidden;
  width: 100%;
  max-width: 100%;
  border-top: 1px solid var(--glass-border);
}

.booking-header {
  text-align: center;
  margin-bottom: 40px;
}

.booking-embed-container {
  width: 100%;
  max-width: 1060px;
  margin: 0 auto;
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.booking-embed-container iframe,
.booking-embed-container [id^="my-cal-"] {
  width: 100% !important;
  max-width: 100% !important;
  min-height: 560px;
  overflow: hidden !important;
}

.booking-placeholder {
  padding: 48px 24px;
  text-align: center;
  border-radius: var(--radius-md);
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.6;
  max-width: 700px;
  margin: 0 auto;
}

[data-theme="light"] .booking-placeholder {
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid var(--glass-border);
}

.faq-section {
  padding: 80px 0 100px 0;
  position: relative;
  z-index: 10;
  overflow: hidden;
  width: 100%;
  max-width: 100%;
  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-subtitle {
  width: 80%;
  max-width: 80%;
  margin-left: auto;
  margin-right: auto;
}

.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: var(--accent-primary);
  animation: pulseGreen 1.5s infinite alternate;
}

@keyframes pulseGreen {
  0% { transform: scale(0.8); box-shadow: 0 0 0 0 rgba(var(--accent-primary-rgb), 0.7); }
  100% { transform: scale(1.2); box-shadow: 0 0 0 6px rgba(var(--accent-primary-rgb), 0); }
}

.sandbox-transcript {
  flex-grow: 1;
  overflow-y: auto;
  height: 180px !important;
  min-height: 180px !important;
  max-height: 180px !important;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 16px;
  background: rgba(0, 0, 0, 0.2);
  border-radius: var(--radius-md);
  margin-bottom: 20px;
}
[data-theme="light"] .sandbox-transcript {
  background: rgba(0, 0, 0, 0.03);
}

.transcript-entry {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.transcript-agent {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent-primary);
}

.transcript-msg {
  font-size: 0.88rem;
  color: var(--text-primary);
  line-height: 1.4;
}

.sandbox-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--glass-border);
  padding-top: 16px;
}

.latency-indicator {
  font-size: 0.85rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 6px;
}

.latency-value {
  color: var(--accent-primary);
  font-weight: 700;
}

.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: var(--accent-primary);
  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) {
  .voice-hero .hero-subtitle {
    width: 100%;
    max-width: 100%;
  }
  .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: monospace;
  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: 16px 12px !important;
    overflow-x: clip;
    width: 100%;
    max-width: 100%;
  }

  .sandbox-console {
    grid-template-columns: 1fr;
    gap: 16px;
    width: 100%;
    min-width: 0;
  }

  .sandbox-sidebar {
    border-right: none;
    border-bottom: 1px solid var(--glass-border);
    padding-right: 0;
    padding-bottom: 16px;
    gap: 10px;
    width: 100%;
    min-width: 0;
  }

  .voice-select-btn {
    padding: 12px 14px;
    gap: 12px;
    width: 100%;
    min-width: 0;
  }

  .voice-avatar {
    width: 38px;
    height: 38px;
    min-width: 38px;
    font-size: 0.95rem;
    flex-shrink: 0;
  }

  .voice-details {
    min-width: 0;
    flex: 1;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 2px;
  }

  .voice-name {
    font-size: 0.92rem;
    font-weight: 700;
    line-height: 1.25;
  }

  .voice-role {
    font-size: 0.78rem;
    color: var(--text-secondary);
    line-height: 1.3;
    word-break: break-word;
  }

  .sandbox-main {
    width: 100%;
    min-width: 0;
  }

  .voice-call-dashboard {
    padding: 16px 14px !important;
    gap: 14px !important;
    height: auto !important;
    min-height: 390px !important;
    max-height: none !important;
    overflow: visible !important;
  }

  .sandbox-transcript {
    height: 135px !important;
    min-height: 135px !important;
    max-height: 135px !important;
    overflow-y: auto !important;
  }

  .chatbot-widget-window {
    padding: 16px 14px !important;
    height: auto !important;
    min-height: 410px !important;
    max-height: none !important;
    overflow: visible !important;
  }

  .chat-transcript-scroller {
    height: 200px !important;
    min-height: 200px !important;
    max-height: 200px !important;
    overflow-y: auto !important;
    padding: 12px !important;
  }

  .chat-quick-replies {
    min-height: 44px !important;
    display: flex !important;
    align-items: center !important;
    padding: 6px 12px !important;
  }

  .workflow-builder-window {
    padding: 14px 12px !important;
    gap: 10px !important;
    width: 100% !important;
    min-width: 0 !important;
    height: 390px !important;
    min-height: 390px !important;
    max-height: 390px !important;
    overflow: hidden !important;
    display: flex !important;
    flex-direction: column !important;
    box-sizing: border-box !important;
  }

  .active-call-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    width: 100%;
    min-width: 0;
    flex-shrink: 0;
  }

  .workflow-scroll-body {
    flex: 1 1 auto !important;
    min-height: 0 !important;
    overflow-y: auto !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
    padding-right: 2px !important;
  }

  .workflow-grid-nodes {
    gap: 8px !important;
    width: 100%;
    min-width: 0;
    padding: 2px 0 !important;
    flex: none !important;
  }

  .workflow-grid-nodes::before {
    left: 17px;
  }

  .workflow-node-item {
    gap: 10px;
    width: 100%;
    min-width: 0;
    align-items: flex-start;
  }

  .node-circle-indicator {
    width: 12px;
    height: 12px;
    margin-top: 14px;
    flex-shrink: 0;
  }

  .node-container-box {
    padding: 12px 14px;
    min-width: 0;
    flex: 1;
    width: 100%;
    gap: 8px;
    flex-direction: column;
    align-items: flex-start;
  }

  .node-info-text {
    width: 100%;
    min-width: 0;
    flex: none;
    overflow: hidden;
    gap: 4px;
  }

  .node-label-title {
    font-size: 0.88rem;
    line-height: 1.3;
    display: block;
  }

  .node-desc-text {
    font-size: 0.76rem;
    line-height: 1.35;
    word-break: break-word;
    display: block;
  }

  .node-status-badge {
    align-self: flex-start;
    margin-top: 2px;
    flex-shrink: 0;
    font-size: 0.65rem;
    padding: 3px 8px;
  }

  .human-gate-prompt-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    width: 100%;
    min-width: 0;
    padding: 12px;
    flex-shrink: 0;
  }

  .gate-actions-row {
    width: 100%;
    display: flex;
    gap: 8px;
  }

  .sandbox-controls {
    flex-direction: column;
    gap: 12px;
    align-items: stretch;
    width: 100%;
    margin-top: 18px !important;
    position: relative !important;
    clear: both !important;
  }

  .sandbox-controls button {
    width: 100%;
    justify-content: center;
  }

  /* Full-width Testimonials Marquee on Mobile */
  .reviews-marquee-wrapper {
    width: 100vw !important;
    position: relative !important;
    left: 50% !important;
    right: 50% !important;
    margin-left: -50vw !important;
    margin-right: -50vw !important;
    padding: 20px 0 !important;
  }

  /* Add-ons Stacked Layout */
  .addon-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .addon-price {
    align-self: flex-start;
  }

  /* CTA Section Padding & Buttons */
  .cta-glass-box {
    padding: 32px 16px !important;
    width: 100%;
    max-width: 100%;
    overflow-x: clip;
  }
  .cta-grid {
    gap: 24px;
    width: 100%;
    min-width: 0;
  }
  .cta-visual-box {
    padding: 18px 14px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }
  .visual-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
    width: 100%;
    padding-top: 12px;
  }
  .v-stat {
    min-width: 0;
  }
  .v-label {
    font-size: 0.62rem;
    line-height: 1.2;
    word-break: break-word;
  }
  .v-val {
    font-size: clamp(0.72rem, 2.8vw, 0.85rem);
    line-height: 1.2;
    word-break: break-word;
  }
  .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: monospace;
}
.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: monospace;
  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: var(--accent-primary);
  border: 2px solid rgba(45, 45, 45, 0.4);
  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 !important;
  min-height: 240px !important;
  max-height: 240px !important;
  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: 10px 20px;
  flex-wrap: wrap;
  border-top: 1px solid var(--glass-border);
  background: rgba(255,255,255,0.01);
  min-height: 52px;
  align-items: center;
  box-sizing: border-box;
}
.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: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: var(--glass-shadow);
  height: 390px !important;
  min-height: 390px !important;
  max-height: 390px !important;
  overflow: hidden !important;
  box-sizing: border-box !important;
}
[data-theme="light"] .workflow-builder-window {
  background: rgba(255, 255, 255, 0.6);
}

.workflow-scroll-body {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-right: 4px;
}

.workflow-grid-nodes {
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  padding: 4px 0;
  flex: none;
}
.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: var(--accent-secondary);
  border-color: rgba(var(--accent-secondary-rgb), 0.3);
  box-shadow: 0 0 10px var(--accent-secondary);
}

.node-container-box {
  flex-grow: 1;
  min-width: 0;
  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;
  gap: 12px;
  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(var(--accent-secondary-rgb), 0.05);
  border-color: var(--accent-secondary);
}

.node-info-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  flex: 1;
}
.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(var(--accent-secondary-rgb), 0.15);
  color: var(--accent-primary);
}

.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;
  flex-shrink: 0;
}
@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: monospace;
}

/* Custom premium scrollbar for simulator windows */
.chat-transcript-scroller,
.sandbox-transcript,
.terminal-logs,
.workflow-grid-nodes,
.workflow-scroll-body,
.chat-messages-container,
.transcript-log-screen {
  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,
[data-theme="light"] .workflow-grid-nodes,
[data-theme="light"] .workflow-scroll-body,
[data-theme="light"] .chat-messages-container,
[data-theme="light"] .transcript-log-screen {
  scrollbar-color: rgba(15, 23, 42, 0.2) transparent;
}

.chat-transcript-scroller::-webkit-scrollbar,
.sandbox-transcript::-webkit-scrollbar,
.terminal-logs::-webkit-scrollbar,
.workflow-grid-nodes::-webkit-scrollbar,
.workflow-scroll-body::-webkit-scrollbar,
.chat-messages-container::-webkit-scrollbar,
.transcript-log-screen::-webkit-scrollbar {
  width: 6px !important;
  height: 6px !important;
}
.chat-transcript-scroller::-webkit-scrollbar-track,
.sandbox-transcript::-webkit-scrollbar-track,
.terminal-logs::-webkit-scrollbar-track,
.workflow-grid-nodes::-webkit-scrollbar-track,
.workflow-scroll-body::-webkit-scrollbar-track,
.chat-messages-container::-webkit-scrollbar-track,
.transcript-log-screen::-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,
[data-theme="light"] .workflow-grid-nodes::-webkit-scrollbar-track,
[data-theme="light"] .workflow-scroll-body::-webkit-scrollbar-track,
[data-theme="light"] .chat-messages-container::-webkit-scrollbar-track,
[data-theme="light"] .transcript-log-screen::-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,
.workflow-grid-nodes::-webkit-scrollbar-thumb,
.workflow-scroll-body::-webkit-scrollbar-thumb,
.chat-messages-container::-webkit-scrollbar-thumb,
.transcript-log-screen::-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,
.workflow-grid-nodes::-webkit-scrollbar-thumb:hover,
.workflow-scroll-body::-webkit-scrollbar-thumb:hover,
.chat-messages-container::-webkit-scrollbar-thumb:hover,
.transcript-log-screen::-webkit-scrollbar-thumb:hover {
  background: rgba(var(--accent-primary-rgb), 0.55) !important;
}

/* WooCommerce Notices & Coupon Bar */
.woocommerce-form-coupon-toggle {
  grid-column: 1 / -1;
  background: var(--glass-bg) !important;
  border: 1px solid var(--glass-border) !important;
  border-left: 4px solid var(--accent-primary) !important;
  border-radius: var(--radius-md) !important;
  padding: 16px 20px !important;
  margin: 0 0 24px 0 !important;
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  box-shadow: var(--glass-shadow);
}

.woocommerce-NoticeGroup-checkout,
.woocommerce-info,
.woocommerce-message,
.woocommerce-error {
  grid-column: 1 / -1;
  background: var(--glass-bg) !important;
  border: 1px solid var(--glass-border) !important;
  border-left: 4px solid var(--accent-primary) !important;
  border-radius: var(--radius-md) !important;
  color: var(--text-primary) !important;
  padding: 16px 20px !important;
  margin: 0 0 24px 0 !important;
  line-height: 1.5 !important;
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  box-shadow: var(--glass-shadow);
  font-size: 0.95rem;
}

.woocommerce-form-coupon-toggle .woocommerce-info {
  margin: 0 !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

/* WooCommerce Checkout Coupon Form & Button */
.woocommerce form.checkout_coupon,
form.checkout_coupon {
  grid-column: 1 / -1 !important;
  background: var(--glass-bg) !important;
  border: 1px solid var(--glass-border) !important;
  border-radius: var(--radius-md) !important;
  padding: 18px 24px !important;
  margin: 0 0 30px 0 !important;
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  box-shadow: var(--glass-shadow);
  box-sizing: border-box !important;
  width: 100% !important;
  max-width: 100% !important;
  position: relative !important;
}

.woocommerce form.checkout_coupon .clear,
form.checkout_coupon .clear {
  clear: both !important;
  display: block !important;
  height: 0 !important;
  overflow: hidden !important;
}

.woocommerce form.checkout_coupon .form-row,
form.checkout_coupon .form-row {
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
}

.woocommerce form.checkout_coupon .form-row-first,
form.checkout_coupon .form-row-first {
  float: left !important;
  width: calc(100% - 165px) !important;
  margin: 0 !important;
  padding: 0 !important;
  clear: none !important;
  display: block !important;
  box-sizing: border-box !important;
}

.woocommerce form.checkout_coupon input.input-text,
.woocommerce form.checkout_coupon #coupon_code,
form.checkout_coupon input.input-text,
form.checkout_coupon #coupon_code {
  width: 100% !important;
  height: 48px !important;
  background: var(--input-bg) !important;
  border: 1px solid var(--input-border) !important;
  border-radius: var(--radius-pill) !important;
  color: var(--text-primary) !important;
  padding: 0 20px !important;
  font-size: 0.95rem !important;
  font-family: var(--font-body) !important;
  outline: none !important;
  box-sizing: border-box !important;
  transition: all var(--transition-fast) !important;
  display: block !important;
}

.woocommerce form.checkout_coupon input.input-text:focus,
.woocommerce form.checkout_coupon #coupon_code:focus,
form.checkout_coupon input.input-text:focus,
form.checkout_coupon #coupon_code:focus {
  border-color: var(--accent-primary) !important;
  background: var(--input-bg-focus) !important;
  box-shadow: 0 0 0 3px rgba(var(--accent-primary-rgb), 0.2) !important;
}

.woocommerce form.checkout_coupon .form-row-last,
form.checkout_coupon .form-row-last {
  float: right !important;
  width: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  clear: none !important;
  display: block !important;
  text-align: right !important;
  box-sizing: border-box !important;
}

.woocommerce form.checkout_coupon button.button,
.woocommerce form.checkout_coupon button[name="apply_coupon"],
.woocommerce .coupon button.button,
.woocommerce button.button[name="apply_coupon"],
form.checkout_coupon button.button,
form.checkout_coupon button[name="apply_coupon"] {
  height: 48px !important;
  padding: 0 26px !important;
  background: linear-gradient(135deg, #A58763 0%, #947551 100%) !important;
  color: #ffffff !important;
  font-family: var(--font-body) !important;
  font-size: 0.92rem !important;
  font-weight: 600 !important;
  border: 1px solid rgba(148, 117, 81, 0.5) !important;
  border-radius: var(--radius-pill) !important;
  cursor: pointer !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-shadow: 0 4px 16px rgba(165, 135, 99, 0.30) !important;
  transition: all var(--transition-fast) !important;
  white-space: nowrap !important;
  box-sizing: border-box !important;
}

.woocommerce form.checkout_coupon button.button:hover,
.woocommerce form.checkout_coupon button[name="apply_coupon"]:hover,
.woocommerce .coupon button.button:hover,
.woocommerce button.button[name="apply_coupon"]:hover,
form.checkout_coupon button.button:hover,
form.checkout_coupon button[name="apply_coupon"]:hover {
  background: linear-gradient(135deg, #947551 0%, #7D613F 100%) !important;
  box-shadow: 0 8px 26px rgba(165, 135, 99, 0.45) !important;
  transform: translateY(-2px) !important;
}

@media (max-width: 480px) {
  .woocommerce form.checkout_coupon,
  form.checkout_coupon {
    padding: 12px 14px !important;
  }
  .woocommerce form.checkout_coupon .form-row-first,
  form.checkout_coupon .form-row-first {
    width: calc(100% - 130px) !important;
  }
  .woocommerce form.checkout_coupon input.input-text,
  .woocommerce form.checkout_coupon #coupon_code,
  form.checkout_coupon input.input-text,
  form.checkout_coupon #coupon_code {
    height: 42px !important;
    padding: 0 12px !important;
    font-size: 0.82rem !important;
  }
  .woocommerce form.checkout_coupon button.button,
  .woocommerce form.checkout_coupon button[name="apply_coupon"],
  form.checkout_coupon button.button,
  form.checkout_coupon button[name="apply_coupon"] {
    height: 42px !important;
    padding: 0 14px !important;
    font-size: 0.80rem !important;
  }
}

/* Checkout Headings Alignment & Spacing */
.woocommerce-checkout form.checkout {
  column-gap: 40px !important;
  row-gap: 0px !important;
}

.woocommerce-checkout #customer_details .woocommerce-billing-fields h3,
.woocommerce-checkout #customer_details h3 {
  margin-top: 0 !important;
  margin-bottom: 20px !important;
  padding-top: 0 !important;
  line-height: 1.2 !important;
}

.woocommerce-checkout #order_review_heading {
  margin-top: 32px !important;
  margin-bottom: 28px !important;
  padding-top: 0 !important;
  line-height: 1.2 !important;
}

.woocommerce-checkout #order_review {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

.woocommerce-checkout table.woocommerce-checkout-review-order-table {
  margin-top: 0 !important;
}




