/* ===================================
   LuxonLink - Light-Speed Theme
   CSS Variables & Design System
   =================================== */

:root {
  /* Light-Speed Color Palette */
  --luxon-primary: #0066ff;
  --luxon-primary-dark: #0052cc;
  --luxon-light: #00d4ff;
  --luxon-accent: #6366f1;
  --luxon-glow: rgba(0, 212, 255, 0.3);
  
  /* Brand Colors (xillix logo colors) */
  --brand-blue: #0066ff;
  --brand-pink: #fb5bed;
  --brand-pink-hover: #e84ad8;
  --brand-pink-glow: rgba(251, 91, 237, 0.3);
  --brand-pink-dark: #e84ad8;
  
  /* Neutral Colors */
  --dark: #0f172a;
  --dark-alt: #1e293b;
  --gray-900: #1e293b;
  --gray-700: #475569;
  --gray-500: #64748b;
  --gray-300: #cbd5e1;
  --gray-100: #f1f5f9;
  --white: #ffffff;
  
  /* Semantic Colors (normalized to brand colors) */
  --success: var(--brand-blue);
  --warning: #f59e0b;
  --danger: var(--brand-pink);
  
  /* Typography */
  --font-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
  
  /* Spacing Scale */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --space-2xl: 4rem;
  --space-3xl: 6rem;
  
  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  --shadow-glow: 0 0 30px var(--luxon-glow);
  
  /* Border Radius */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-full: 9999px;
  
  /* Transitions */
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 200ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 300ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===================================
   Base Styles & Reset
   =================================== */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  line-height: 1.6;
  color: var(--gray-900);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

/* Accessible skip link (only visible on keyboard focus) */
.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
  white-space: nowrap;
  z-index: 10000;
}
.skip-link:focus {
  left: var(--content-padding-x);
  top: 12px;
  width: auto;
  height: auto;
  padding: 10px 12px;
  border-radius: 10px;
  background: #0b5cff;
  color: #fff;
  box-shadow: 0 8px 24px rgba(0,0,0,.18);
  outline: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

ul, ol {
  list-style: none;
}

/* ===================================
   Typography
   =================================== */

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: var(--space-md);
  color: var(--dark);
}

h1 {
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(1.875rem, 4vw, 3rem);
  letter-spacing: -0.01em;
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
}

h4 {
  font-size: 1.25rem;
  font-weight: 600;
}

p {
  margin-bottom: var(--space-md);
  color: var(--gray-700);
}

.lead {
  font-size: 1.25rem;
  line-height: 1.7;
  color: var(--gray-700);
}

.text-gradient {
  background: linear-gradient(135deg, var(--luxon-primary), var(--luxon-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ===================================
   Layout
   =================================== */

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.container-wide {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

section {
  padding: 4rem 0;
}

/* ===================================
   Navigation Bar
   =================================== */

.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gray-300);
  padding: 1rem 0;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-lg);
}

.logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--dark);
}

.logo-img {
  height: 40px;
  width: auto;
}

.logo-text {
  background: linear-gradient(135deg, var(--luxon-primary), var(--luxon-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}

.nav-menu a {
  font-weight: 500;
  font-size: 0.9375rem;
  color: var(--gray-700);
  position: relative;
  padding: var(--space-xs) 0;
}

.nav-menu a:hover,
.nav-menu a.active {
  color: var(--luxon-primary);
}

.nav-menu a.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--luxon-primary), var(--luxon-light));
  box-shadow: 0 2px 8px var(--luxon-glow);
}

/* Products dropdown */
.nav-menu .nav-item {
  position: relative;
}

.nav-menu .nav-item > button {
  font-weight: 500;
  font-size: 0.9375rem;
  color: var(--gray-700);
  padding: var(--space-xs) 0;
}

.nav-menu .nav-item > button:hover,
.nav-menu .nav-item > button:focus {
  color: var(--luxon-primary);
}

.nav-menu .nav-item > button.active {
  color: var(--luxon-primary);
}

.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 260px;
  background: white;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: var(--space-sm);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: var(--transition-base);
  z-index: 1001;
}

.nav-item:hover .nav-dropdown,
.nav-item:focus-within .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-dropdown a {
  display: block;
  padding: var(--space-sm);
  border-radius: var(--radius-md);
  font-weight: 600;
  color: var(--gray-700);
}

.nav-dropdown a span {
  display: block;
  font-weight: 400;
  font-size: 0.8125rem;
  color: var(--gray-500);
}

.nav-dropdown a:hover,
.nav-dropdown a:focus {
  background: var(--gray-100);
  color: var(--luxon-primary);
}

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: var(--space-xs);
}

.mobile-menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--dark);
  transition: var(--transition-base);
}

@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: var(--nav-height, 72px);
    left: 0;
    right: 0;
    background: white;
    flex-direction: column;
    align-items: stretch;
    padding: var(--space-md);
    border-bottom: 1px solid var(--gray-300);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: transform var(--transition-slow), opacity var(--transition-slow), visibility var(--transition-slow);
    box-shadow: var(--shadow-lg);
    max-height: calc(100vh - var(--nav-height, 72px));
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  
  .nav-menu.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  
  .nav-menu a {
    padding: var(--space-sm);
    border-bottom: 1px solid var(--gray-100);
  }

  .nav-menu .nav-item {
    width: 100%;
  }

  .nav-menu .nav-item > button {
    width: 100%;
    text-align: left;
    padding: var(--space-sm);
    border-bottom: 1px solid var(--gray-100);
  }

  .nav-dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    border: none;
    box-shadow: none;
    padding: 0 0 var(--space-sm) 0;
  }

  .nav-dropdown a {
    padding-left: var(--space-lg);
  }
  
  .mobile-menu-toggle {
    display: flex;
  }
}

/* ===================================
   Buttons
   =================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
  padding: 0.75rem 1.75rem;
  font-weight: 600;
  font-size: 1rem;
  border-radius: var(--radius-lg);
  transition: var(--transition-base);
  cursor: pointer;
  white-space: nowrap;
  border: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--luxon-primary), var(--luxon-primary-dark));
  color: white;
  box-shadow: var(--shadow-md);
  padding: 0.75rem 1.5rem; /* Increased horizontal padding */
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-xl), var(--shadow-glow);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-secondary {
  background: var(--luxon-light);
  color: var(--dark);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  background: var(--luxon-primary);
  color: white;
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-outline {
  border: 2px solid var(--luxon-primary);
  color: var(--luxon-primary);
  background: transparent;
}

.btn-outline:hover {
  background: var(--luxon-primary);
  color: white;
  box-shadow: var(--shadow-glow);
}

.btn-large {
  padding: 1rem 2.5rem;
  font-size: 1.125rem;
}

/* ===================================
   Hero Sections
   =================================== */

.hero {
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-alt) 100%);
  color: white;
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -10%;
  right: -5%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--luxon-glow) 0%, transparent 70%);
  border-radius: 50%;
  animation: pulse 8s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 0.5; }
  50% { transform: scale(1.1); opacity: 0.8; }
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.hero h1 {
  color: white;
  margin-bottom: var(--space-lg);
}

.hero .lead {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: var(--space-xl);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.hero-actions {
  display: flex;
  gap: var(--space-md);
  justify-content: center;
  flex-wrap: wrap;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  padding: var(--space-xs) var(--space-md);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  margin-top: var(--space-lg);
  backdrop-filter: blur(10px);
}

.hero-badge::before {
  content: '✨';
  font-size: 1.125rem;
}

.hero-small {
  background: linear-gradient(135deg, var(--luxon-primary), var(--luxon-primary-dark));
  color: white;
  padding: 3rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-small::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100%;
  background: linear-gradient(45deg, transparent 30%, rgba(255,255,255,0.05) 50%, transparent 70%);
  animation: shimmer 3s infinite;
}

@keyframes shimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

.hero-small h1 {
  color: white;
  position: relative;
  z-index: 1;
}

.hero-small .lead {
  color: rgba(255, 255, 255, 0.95);
  position: relative;
  z-index: 1;
}

.pricing-hero {
  padding: 2.1rem 0;
}

.pricing-hero-inner {
  max-width: 720px;
  margin: 0 auto;
}

/* ===================================
   Feature Sections
   =================================== */

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-xl);
  margin-top: var(--space-2xl);
}

.feature-card {
  background: white;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius-xl);
  padding: var(--space-xl);
  transition: var(--transition-base);
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
  border-color: var(--luxon-light);
}

.feature-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--luxon-primary), var(--luxon-light));
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: var(--space-md);
}

.feature-card h3 {
  margin-bottom: var(--space-sm);
}

.feature-card p {
  margin-bottom: 0;
  font-size: 0.9375rem;
}

/* ===================================
   Cards
   =================================== */

.card {
  background: white;
  border-radius: var(--radius-xl);
  padding: var(--space-xl);
  box-shadow: var(--shadow-lg);
  transition: var(--transition-base);
  border: 1px solid var(--gray-200);
}

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

.card h3 {
  margin-bottom: var(--space-md);
  color: var(--dark);
}

.card ul {
  margin: var(--space-md) 0;
}

.card ul li {
  padding: var(--space-xs) 0;
  padding-left: var(--space-lg);
  position: relative;
  font-size: 0.9375rem;
}

.card ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--success);
  font-weight: bold;
}

.card ul li.disabled {
  color: var(--gray-500);
  text-decoration: line-through;
}

.card ul li.disabled::before {
  content: '×';
  color: var(--gray-400);
}

/* ===================================
   Pricing Section
   =================================== */

.pricing-section {
  background: var(--gray-100);
}

.pricing-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
  margin-bottom: var(--space-2xl);
  padding: var(--space-sm);
  background: var(--gray-100);
  border-radius: var(--radius-full);
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

.toggle-label {
  font-weight: 600;
  color: var(--gray-700);
  transition: var(--transition-base);
}

.toggle-label.active {
  color: var(--luxon-primary);
  font-weight: 700;
}

.switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 30px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--gray-300);
  transition: var(--transition-base);
  border-radius: var(--radius-full);
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
}

.slider:before {
  position: absolute;
  content: "";
  height: 22px;
  width: 22px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  transition: var(--transition-base);
  border-radius: 50%;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

input:checked + .slider {
  background-color: var(--luxon-primary);
}

input:checked + .slider:before {
  transform: translateX(30px);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--space-xl);
  margin-top: var(--space-2xl);
}

.pricing-card {
  background: white;
  border-radius: var(--radius-xl);
  padding: var(--space-xl);
  box-shadow: var(--shadow-lg);
  position: relative;
  border: 2px solid transparent;
  transition: var(--transition-base);
}

.pricing-card:hover {
  border-color: var(--luxon-light);
  transform: translateY(-4px);
}

.pricing-card.featured {
  border-color: var(--luxon-primary);
  box-shadow: var(--shadow-xl), var(--shadow-glow);
}

.badge-popular {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--luxon-primary), var(--luxon-light));
  color: white;
  padding: var(--space-xs) var(--space-md);
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 600;
  box-shadow: var(--shadow-md);
}

.pricing-header h3 {
  font-size: 1.75rem;
  margin-bottom: var(--space-xs);
}

.pricing-subtitle {
  color: var(--gray-500);
  font-size: 0.9375rem;
  margin-bottom: var(--space-lg);
}

.pricing-price {
  margin: var(--space-lg) 0;
}

.price-amount {
  font-size: 3rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--luxon-primary), var(--luxon-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.price-period {
  color: var(--gray-500);
  font-size: 1.125rem;
}

.pricing-features {
  margin: var(--space-xl) 0;
}

.pricing-features li {
  padding: var(--space-sm) 0;
  border-bottom: 1px solid var(--gray-200);
  font-size: 0.9375rem;
}

.pricing-faq {
  margin-top: var(--space-3xl);
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.pricing-faq h2 {
  text-align: center;
  margin-bottom: var(--space-xl);
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-lg);
}

.faq-item {
  background: white;
  padding: var(--space-lg);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.faq-item h4 {
  color: var(--dark);
  margin-bottom: var(--space-sm);
}

.faq-item p {
  font-size: 0.9375rem;
  margin-bottom: 0;
}

/* ===================================
   CTA Sections
   =================================== */

.cta-section {
  background: linear-gradient(135deg, var(--luxon-primary) 0%, var(--luxon-accent) 100%);
  color: white;
  text-align: center;
  padding: 4rem 0;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255,255,255,0.1), transparent 70%);
  transform: translate(-50%, -50%);
  border-radius: 50%;
}

.cta-section h2 {
  color: white;
  margin-bottom: var(--space-md);
  position: relative;
  z-index: 1;
}

.cta-section p {
  color: rgba(255, 255, 255, 0.95);
  font-size: 1.125rem;
  margin-bottom: var(--space-xl);
  position: relative;
  z-index: 1;
}

.cta-section .btn {
  position: relative;
  z-index: 1;
}

/* ===================================
   Demo Chat Mock
   =================================== */

.demo-chat {
  max-width: 600px;
  margin: var(--space-2xl) auto;
  background: white;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
  border: 1px solid var(--gray-300);
}

.demo-chat-header {
  background: linear-gradient(135deg, var(--luxon-primary), var(--luxon-primary-dark));
  color: white;
  padding: var(--space-md);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.demo-chat-header::before {
  content: '💬';
  font-size: 1.5rem;
}

.demo-chat-body {
  padding: var(--space-lg);
  min-height: 300px;
  background: var(--gray-100);
}

.demo-message {
  margin-bottom: var(--space-md);
  display: flex;
  gap: var(--space-sm);
}

.demo-message.user {
  justify-content: flex-end;
}

.demo-message-content {
  max-width: 80%;
  padding: var(--space-md);
  border-radius: var(--radius-lg);
  font-size: 0.9375rem;
}

.demo-message.user .demo-message-content {
  background: var(--luxon-primary);
  color: white;
  border-bottom-right-radius: var(--radius-sm);
}

.demo-message.bot .demo-message-content {
  background: white;
  border: 1px solid var(--gray-300);
  border-bottom-left-radius: var(--radius-sm);
}

.demo-citation {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  margin-top: var(--space-sm);
  padding: var(--space-xs) var(--space-sm);
  background: var(--gray-100);
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  color: var(--luxon-primary);
  border: 1px solid var(--luxon-light);
  cursor: pointer;
  transition: var(--transition-base);
}

.demo-citation:hover {
  background: var(--luxon-light);
  color: var(--dark);
}

.demo-citation::before {
  content: '📄';
}

/* ===================================
   Footer
   =================================== */

.footer {
  background: var(--dark);
  color: #ffffff;
  padding: 2rem 0;
  line-height: 1.4;
}

.footer a,
.footer p,
.footer li {
  color: #ffffff;
}

.footer a {
  opacity: 0.9;
}

.footer a:hover {
  opacity: 1;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1rem;
  margin-bottom: 0.5rem;
}

.footer-logo {
  height: 40px;
  margin-bottom: 0.75rem;
  filter: brightness(0) invert(1);
}

.footer-brand p {
  margin-bottom: 0.35rem;
  font-size: 0.9rem;
  line-height: 1.4;
}

.footer-contact {
  margin-top: 0.35rem;
}

.footer-contact a {
  color: #ffffff;
  font-weight: 600;
}

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

.footer-column h4 {
  color: white;
  margin-bottom: 0.4rem;
  font-size: 0.85rem;
}

.footer-column ul li {
  margin-bottom: 0.3rem;
}

.footer-column a {
  font-size: 0.88rem;
  color: #ffffff;
  line-height: 1.4;
  transition: var(--transition-base);
}

.footer-column a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 0.4rem;
  text-align: center;
  font-size: 0.875rem;
}

.footer-disclaimer {
  font-size: 0.875rem;
  color: #ffffff;
  margin-top: var(--space-sm);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* ===================================
   Contact Form
   =================================== */

.contact-form {
  max-width: 600px;
  margin: 0 auto;
  background: white;
  padding: var(--space-xl);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
}

.form-group {
  margin-bottom: var(--space-lg);
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: var(--space-xs);
  color: var(--gray-900);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: var(--space-sm);
  border: 2px solid var(--gray-300);
  border-radius: var(--radius-md);
  font-family: inherit;
  font-size: 1rem;
  transition: var(--transition-base);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--luxon-primary);
  box-shadow: 0 0 0 3px var(--luxon-glow);
}

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

/* ===================================
   Utilities
   =================================== */

.section-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 3rem;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--gray-700);
  margin-bottom: 0;
  line-height: 1.7;
}

.text-center { text-align: center; }
.text-right { text-align: right; }
.mt-1 { margin-top: var(--space-sm); }
.mt-2 { margin-top: var(--space-md); }
.mt-3 { margin-top: var(--space-lg); }
.mb-1 { margin-bottom: var(--space-sm); }
.mb-2 { margin-bottom: var(--space-md); }
.mb-3 { margin-bottom: var(--space-lg); }

.badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  background: var(--success);
  color: white;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.section {
  padding: 4rem 0;
}

.section.alt {
  background: var(--gray-100);
}

.hero-grid {
  display: grid;
  gap: var(--space-xl);
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  align-items: center;
}

.grid {
  display: grid;
  gap: var(--space-lg);
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.two-col {
  display: grid;
  gap: var(--space-xl);
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.cta-panel {
  background: white;
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  box-shadow: var(--shadow-md);
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  font-size: 0.875rem;
  color: var(--gray-500);
  margin: var(--space-md) auto;
}

.breadcrumb span {
  color: var(--gray-400);
}

.list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.list li {
  padding: var(--space-sm) 0;
  border-bottom: 1px solid var(--gray-200);
}

.trust {
  color: var(--gray-500);
  font-size: 0.875rem;
  margin-top: var(--space-sm);
}

.price-tag {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: var(--space-sm);
}

.table {
  width: 100%;
  border-collapse: collapse;
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.table th,
.table td {
  padding: var(--space-sm);
  border-bottom: 1px solid var(--gray-200);
  text-align: left;
}

.tab-group {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
  margin-bottom: var(--space-lg);
}

.tab-button {
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--gray-300);
  background: white;
  font-weight: 600;
}

.tab-button.is-active {
  background: var(--luxon-primary);
  color: white;
  border-color: var(--luxon-primary);
}

.tab-panel {
  display: none;
}

.tab-panel.is-active {
  display: block;
}

.notice {
  background: white;
  border-left: 4px solid var(--luxon-primary);
  padding: var(--space-md);
  border-radius: var(--radius-md);
}

/* ===================================
   Responsive Design
   =================================== */

@media (max-width: 768px) {
  section {
    padding: 3rem 0;
  }
  
  .hero {
    padding: 4rem 0;
  }
  
  .hero-small {
    padding: 2.5rem 0;
  }
  
  .cta-section {
    padding: 3rem 0;
  }
  
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
  
  .features-grid,
  .pricing-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .pricing-card.featured {
    transform: none;
  }
  
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.75rem;
  }
}

@media (max-width: 480px) {
  :root {
    --space-3xl: 3rem;
    --space-2xl: 2rem;
  }
  
  .btn {
    padding: 0.625rem 1.25rem;
    font-size: 0.9375rem;
  }
  
  .btn-large {
    padding: 0.875rem 1.75rem;
    font-size: 1rem;
  }
}

/* ===================================
   Navbar CTA Fix
   =================================== */

/* Force white text for navbar CTA button in all states */
.navbar .nav-menu a.btn-primary,
.navbar .nav-menu a.btn-primary:hover,
.navbar .nav-menu a.btn-primary:focus,
.navbar .nav-menu a.btn-primary:active,
.navbar .nav-menu a.btn-primary.active {
  color: white !important;
}

/* Pricing grid adjustment for 2-column layout */
@media (min-width: 769px) {
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
  }
}

/* ========================================
   UX POLISH IMPROVEMENTS
   ======================================== */

/* Fix navbar "Book a Demo" button readability */
.navbar .nav-menu .btn-primary,
.navbar .nav-menu a.btn-primary {
    color: #ffffff !important;
    background-color: #2563eb;
    border: none;
    padding: 0.6rem 1.5rem !important; /* Increased horizontal padding */
}

.navbar .nav-menu .btn-primary:hover,
.navbar .nav-menu a.btn-primary:hover {
    color: #ffffff !important;
    background-color: #1d4ed8;
}

.navbar .nav-menu .btn-primary:focus,
.navbar .nav-menu a.btn-primary:focus {
    color: #ffffff !important;
    outline: 2px solid #60a5fa;
    outline-offset: 2px;
}

/* Improved chat bubble styling */
#voiceflow-chat-button {
    width: 70px !important;
    height: 70px !important;
    box-shadow: 0 4px 20px rgba(37, 99, 235, 0.3) !important;
    transition: all 0.3s ease !important;
}

#voiceflow-chat-button:hover {
    transform: scale(1.1) !important;
    box-shadow: 0 6px 25px rgba(37, 99, 235, 0.4) !important;
}

/* Chat bubble label (desktop only) */
.chat-bubble-label {
    display: none !important;
}

@keyframes slideInLabel {
    to {
        opacity: 1;
    }
}

@media (max-width: 768px) {
    .chat-bubble-label {
        display: none !important;
    }
}

/* Demo popup modal */
.demo-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 999999;
    animation: fadeIn 0.3s ease;
}

.demo-popup-overlay.show {
    display: flex;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.demo-popup {
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    max-width: 500px;
    width: 90%;
    padding: 32px;
    position: relative;
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from {
        transform: translateY(20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.demo-popup-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: none;
    border: none;
    font-size: 24px;
    color: #666;
    cursor: pointer;
    line-height: 1;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.demo-popup-close:hover {
    background: #f3f4f6;
}

.demo-popup-close:focus {
    outline: 2px solid #2563eb;
    outline-offset: 2px;
}

.demo-popup h3 {
    margin: 0 0 12px 0;
    font-size: 24px;
    color: #111827;
}

.demo-popup p {
    margin: 0 0 24px 0;
    font-size: 16px;
    line-height: 1.6;
    color: #4b5563;
}

.demo-popup-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.demo-popup-buttons .btn {
    flex: 1;
    min-width: 120px;
    text-align: center;
    padding: 12px 24px;
    font-size: 16px;
}

@media (max-width: 480px) {
    .demo-popup {
        padding: 24px;
    }
    
    .demo-popup h3 {
        font-size: 20px;
    }
    
    .demo-popup-buttons {
        flex-direction: column;
    }
    
    .demo-popup-buttons .btn {
        width: 100%;
    }
}

/* Footer consistency improvements */
.footer-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 16px;
}

.footer-column h4 {
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #ffffff;
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column ul li {
    margin-bottom: 6px;
}

.footer-column ul li a {
    color: #ffffff;
    text-decoration: none;
    transition: opacity 0.2s;
    font-size: 14px;
    opacity: 0.9;
}

.footer-column ul li a:hover {
    color: #ffffff;
    text-decoration: underline;
    opacity: 1;
}

/* Brand Color Normalization - Append to styles.css */

}

/* Replace all green with primary blue for success states */
:root {
  --success: var(--luxon-primary);
}

/* Navbar CTA readability fix */
.navbar .nav-menu a.btn-primary,
.navbar .nav-menu a.btn.btn-primary {
  color: var(--white) !important;
  background: var(--luxon-primary);
}

.navbar .nav-menu a.btn-primary:hover,
.navbar .nav-menu a.btn.btn-primary:hover {
  color: var(--white) !important;
  background: var(--luxon-primary-dark);
}

.navbar .nav-menu a.btn-primary:focus,
.navbar .nav-menu a.btn.btn-primary:focus {
  color: var(--white) !important;
  outline: 2px solid var(--luxon-light);
  outline-offset: 2px;
}

/* Update checkmarks from green to blue */
.pricing-features li::before,
.feature-list li::before,
li[class*="check"]::before {
  color: var(--luxon-primary) !important;
}

/* Any remaining green text */
.text-success,
.success-text,
.green-text {
  color: var(--luxon-primary) !important;
}

/* Any remaining red text */
.text-danger,
.text-warning,
.error-text,
.red-text {
  color: var(--brand-pink) !important;
}

/* Chat bubble pink styling */
#voiceflow-chat-button,
.chat-bubble,
.floating-chat-button {
  background: var(--brand-pink) !important;
  box-shadow: 0 4px 12px var(--brand-pink-glow);
}

#voiceflow-chat-button:hover,
.chat-bubble:hover,
.floating-chat-button:hover {
  background: var(--brand-pink-dark) !important;
  transform: scale(1.05);
  transition: all 0.3s ease;
}

/* Chat bubble label (desktop only) */
.chat-bubble-label {
  display: none !important;
}

/* ========== Polished condensed footer ========== */
.site-footer {
  margin-top: 2.5rem;
  background: #1e293b;
  color: #ffffff;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  line-height: 1.35;
}

.site-footer a {
  color: #ffffff;
  text-decoration: none;
  opacity: 0.9;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 3px;
  opacity: 1;
}

.footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 1.6rem 1.25rem 1rem;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: 1rem;
  align-items: start;
}

.footer-logo img {
  height: 36px;
  width: auto;
  display: block;
}

.footer-tagline {
  margin: 0.5rem 0;
  color: #ffffff;
  line-height: 1.35;
  max-width: 34ch;
  font-size: 0.95rem;
}

.footer-contact {
  margin: 0;
  color: #ffffff;
  font-size: 0.95rem;
  line-height: 1.35;
}

.footer-contact span {
  color: #ffffff;
  margin-right: 0.35rem;
}

.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(140px, 1fr));
  gap: 0.85rem;
}

.footer-col-title {
  font-weight: 600;
  letter-spacing: 0.02em;
  font-size: 0.9rem;
  margin: 0 0 0.4rem;
  color: #ffffff;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.3rem;
}

.footer-links a {
  display: inline-block;
  color: #ffffff;
  font-size: 0.92rem;
  line-height: 1.35;
  opacity: 0.9;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: #ffffff;
  opacity: 1;
}

.footer-bottom {
  margin-top: 0.75rem;
  padding-top: 0.6rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: grid;
  gap: 0.25rem;
}

.footer-small {
  margin: 0;
  font-size: 0.85rem;
  line-height: 1.35;
  color: #ffffff;
}

.footer-small-muted {
  color: #ffffff;
  opacity: 0.85;
}

@media (max-width: 900px) {
  .footer-top {
    grid-template-columns: 1fr;
  }
  .footer-cols {
    grid-template-columns: repeat(2, minmax(160px, 1fr));
  }
}

@media (max-width: 520px) {
  .footer-inner {
    padding: 2rem 1rem 1.25rem;
  }
  .footer-cols {
    grid-template-columns: 1fr;
  }
}

@keyframes fadeInPulse {
  0% { opacity: 0; transform: translateY(10px); }
  100% { opacity: 1; transform: translateY(0); }
}

@media (max-width: 768px) {
  .chat-bubble-label {
    display: none !important;
  }
}

/* Timed popup styling */
.luxon-popup-overlay {
  position: fixed;
  bottom: 120px;
  right: 30px;
  z-index: 998;
  max-width: 350px;
  animation: slideInUp 0.4s ease;
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.luxon-popup {
  background: white;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  padding: 24px;
  position: relative;
}

.luxon-popup-close {
  position: absolute;
  top: 12px;
  right: 12px;
  background: none;
  border: none;
  font-size: 24px;
  color: var(--gray-500);
  cursor: pointer;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.2s;
}

.luxon-popup-close:hover {
  background: var(--gray-100);
  color: var(--dark);
}

.luxon-popup h3 {
  margin: 0 0 12px 0;
  font-size: 18px;
  color: var(--dark);
}

.luxon-popup p {
  margin: 0 0 20px 0;
  color: var(--gray-700);
  font-size: 14px;
  line-height: 1.5;
}

.luxon-popup-buttons {
  display: flex;
  gap: 12px;
}

.luxon-popup-buttons .btn {
  flex: 1;
  font-size: 14px;
  padding: 10px 16px;
}

.luxon-popup-buttons .btn-primary {
  background: var(--brand-pink);
}

.luxon-popup-buttons .btn-primary:hover {
  background: var(--brand-pink-dark);
}

@media (max-width: 768px) {
  .luxon-popup-overlay {
    bottom: 100px;
    right: 20px;
    left: 20px;
    max-width: none;
  }
}

/* ===================================
   Chat Widget Brand Color Override
   =================================== */

/* Chatwoot launcher button - brand pink */
.woot-widget-bubble,
.woot--bubble-holder,
[data-widget="chatwoot"] .woot-widget-bubble {
  background-color: var(--brand-pink) !important;
  box-shadow: 0 4px 16px var(--brand-pink-glow) !important;
}

.woot-widget-bubble:hover,
.woot--bubble-holder:hover {
  background-color: var(--brand-pink-hover) !important;
}

/* Ensure icon stays white */
.woot-widget-bubble svg,
.woot--bubble-holder svg {
  fill: white !important;
  color: white !important;
}

/* Chat nudge popup removed */


/* ===================================
/* REMOVED:    Voiceflow Chat Widget Styling
/* REMOVED:    =================================== */
/* REMOVED: 
/* REMOVED: /* Target Voiceflow launcher button */
/* REMOVED: #voiceflow-chat,
/* REMOVED: .vfrc-widget,
/* REMOVED: .vfrc-launcher {
/* REMOVED:   z-index: 999999 !important;
/* REMOVED: }
/* REMOVED: 
/* REMOVED: /* Style the launcher button with brand pink */
/* REMOVED: .vfrc-launcher,
/* REMOVED: button[aria-label*="open chat"],
/* REMOVED: button[aria-label*="Chat"],
/* REMOVED: div[class*="launcher"] {
/* REMOVED:   background-color: var(--brand-pink) !important;
/* REMOVED:   box-shadow: 0 4px 12px var(--brand-pink-glow) !important;
/* REMOVED:   transition: all 0.3s ease !important;
/* REMOVED: }
/* REMOVED: 
/* REMOVED: .vfrc-launcher:hover,
/* REMOVED: button[aria-label*="open chat"]:hover,
/* REMOVED: button[aria-label*="Chat"]:hover {
/* REMOVED:   background-color: var(--brand-pink-hover) !important;
/* REMOVED:   box-shadow: 0 6px 20px var(--brand-pink-glow) !important;
/* REMOVED:   transform: scale(1.05) !important;
/* REMOVED: }
/* REMOVED: 
/* REMOVED: /* Ensure icon stays white */
/* REMOVED: .vfrc-launcher svg,
/* REMOVED: .vfrc-launcher path,
/* REMOVED: button[aria-label*="open chat"] svg,
/* REMOVED: button[aria-label*="Chat"] svg {
/* REMOVED:   fill: white !important;
/* REMOVED:   color: white !important;
/* REMOVED: }
/* REMOVED: 
/* REMOVED: /* If there's a wrapper div */
/* REMOVED: #voiceflow-chat > div,
/* REMOVED: .vfrc-widget > div:first-child {
/* REMOVED:   background-color: var(--brand-pink) !important;
/* REMOVED: }
/* REMOVED: 
/* REMOVED: /* Pulse animation for first-time visitors */
/* REMOVED: @keyframes chatPulse {
/* REMOVED:   0%, 100% {
/* REMOVED:     box-shadow: 0 4px 12px var(--brand-pink-glow);
/* REMOVED:   }
/* REMOVED:   50% {
/* REMOVED:     box-shadow: 0 6px 24px var(--brand-pink-glow), 0 0 0 8px rgba(251, 91, 237, 0.1);
/* REMOVED:   }
/* REMOVED: }
/* REMOVED: 
/* REMOVED: .vfrc-launcher.pulse {
/* REMOVED:   animation: chatPulse 2s ease-in-out 3;
}


/* ===================================
   Chatwoot Chat Widget Styling
   =================================== */

/* Target Chatwoot launcher bubble */
.woot-widget-bubble,
.woot-widget-bubble.woot-elements--right,
.woot--bubble-holder {
  background-color: var(--brand-pink) !important;
  box-shadow: 0 4px 12px var(--brand-pink-glow) !important;
  transition: all 0.3s ease !important;
}

.woot-widget-bubble:hover {
  background-color: var(--brand-pink-hover) !important;
  box-shadow: 0 6px 20px var(--brand-pink-glow) !important;
  transform: scale(1.05) !important;
}

/* Ensure icon stays white/readable */
.woot-widget-bubble svg,
.woot-widget-bubble svg path,
.woot-widget-bubble i {
  fill: white !important;
  color: white !important;
}

/* Chatwoot badge/unread count */
.woot-widget-bubble .woot--badge {
  background-color: var(--brand-blue) !important;
  color: white !important;
}

/* Pulse animation for first-time visitors */
@keyframes chatwootPulse {
  0%, 100% {
    box-shadow: 0 4px 12px var(--brand-pink-glow);
  }
  50% {
    box-shadow: 0 6px 24px var(--brand-pink-glow), 0 0 0 8px rgba(251, 91, 237, 0.1);
  }
}

.woot-widget-bubble.pulse {
  animation: chatwootPulse 2s ease-in-out 3;
}

/* Mobile adjustments */
@media (max-width: 768px) {
  .woot-widget-bubble {
    right: 16px !important;
    bottom: 16px !important;
  }
}

/* Solutions page: Pain Points and Fixes boxes */
.solutions-comparison {
  display: grid;
  gap: var(--space-xl);
  grid-template-columns: 1fr 1fr;
  margin-bottom: var(--space-2xl);
}

.solutions-comparison > div {
  background: white;
  padding: var(--space-xl);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.solutions-comparison h3 {
  margin-bottom: var(--space-md);
  font-size: 1.5rem;
}

@media (max-width: 768px) {
  .solutions-comparison {
    grid-template-columns: 1fr;
  }
}

/* ===========================
   MOBILE ENHANCEMENTS FOR RECENT FIXES
   =========================== */

@media (max-width: 768px) {
    /* Ensure Book a Demo button has adequate padding on mobile */
    .navbar .btn-primary,
    .nav-menu .btn-primary {
        padding: 0.6rem 1.2rem !important;
        font-size: 0.9rem;
    }
    
    /* HR cards - ensure readability on small screens */
    .solution-card {
        padding: 1.5rem;
    }
    
    .solution-card h3 {
        font-size: 1.3rem;
        margin-bottom: 0.75rem;
    }
    
    /* Results boxes - better contrast on mobile */
    .case-card .result-box {
        padding: 1rem;
        margin: 0.75rem 0;
    }
    
    .result-box h4 {
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }
    
    /* Chat nudge popup removed */
    /* Checkmarks - ensure visibility on mobile */
    .pricing-features li::before,
    .feature-check::before {
        font-size: 1rem;
        margin-right: 0.5rem;
    }
}

@media (max-width: 480px) {
    /* Extra small screens - HR cards stack better */
    .solutions-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    /* Navbar CTA very compact but readable */
    .navbar .btn-primary {
        padding: 0.5rem 1rem !important;
        font-size: 0.85rem;
    }
    
    /* Case study results - compact on tiny screens */
    .case-card .result-box {
        padding: 0.75rem;
    }
    
    .result-box h4 {
        font-size: 0.9rem;
    }
    
    .result-box p {
        font-size: 0.85rem;
    }
}


/* ===================================
   Utility Classes for Spacing
   =================================== */

/* Add extra spacing between major sections for better scannability */
.section-spacing {
  margin-top: 2rem;
}

.section-spacing-lg {
  margin-top: 4rem;
}

/* Tighter spacing for related content */
.section-tight {
  padding: 2rem 0;
}

/* Add visual separation */
.section-divider {
  border-top: 1px solid var(--gray-200);
  margin: 2rem 0;
}


.pricing-tabs {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-sm);
  padding: var(--space-xs);
  background: var(--gray-100);
  border-radius: var(--radius-full);
  border: 1px solid var(--gray-300);
  margin: var(--space-lg) auto 0;
  width: fit-content;
}

.pricing-tab {
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 1.0625rem;
  color: var(--gray-700);
  background: transparent;
  line-height: 1.1;
}

.pricing-tab.active {
  background: white;
  color: var(--luxon-primary);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-300);
}

.pricing-panel {
  display: none;
}

.pricing-panel.active {
  display: block;
}

.case-tabs {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin: var(--space-md) auto 0;
}

.case-tab {
  padding: 0.65rem 1.5rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 1rem;
  color: var(--gray-700);
  background: var(--gray-100);
  border: 1px solid var(--gray-300);
}

.case-tab.active {
  background: white;
  color: var(--luxon-primary);
  box-shadow: var(--shadow-sm);
}

.case-panel {
  display: none;
}

.case-panel.active {
  display: block;
}

/* ===================================
   Modern layout refresh (spacing + layout)
   =================================== */
:root {
  --section-padding-y: clamp(2.5rem, 4vw, 4rem);
  --section-padding-y-sm: clamp(2rem, 3vw, 3rem);
  --section-padding-y-lg: clamp(3rem, 5vw, 5rem);
  --content-max-width: 1160px;
  --content-max-width-wide: 1320px;
  --content-padding-x: clamp(1rem, 3vw, 1.5rem);
  --grid-gap: clamp(1.25rem, 3vw, 2rem);
}

.container {
  max-width: var(--content-max-width);
  padding: 0 var(--content-padding-x);
}

.container-wide {
  max-width: var(--content-max-width-wide);
  padding: 0 var(--content-padding-x);
}

section,
.section {
  padding: var(--section-padding-y) 0;
}

.section-tight {
  padding: var(--section-padding-y-sm) 0;
}

.hero {
  padding: var(--section-padding-y-lg) 0;
}

.hero-small,
.cta-section {
  padding: var(--section-padding-y-sm) 0;
}

.section-header {
  margin: 0 auto clamp(1.5rem, 3vw, 2.5rem);
}

.features-grid,
.pricing-grid,
.faq-grid,
.hero-grid,
.grid,
.two-col {
  gap: var(--grid-gap);
}

.feature-card,
.card,
.pricing-card,
.cta-panel,
.notice {
  padding: clamp(1.25rem, 3vw, 2rem);
  border-radius: var(--radius-lg);
}

.pricing-toggle {
  margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
}

.breadcrumb {
  margin: var(--space-sm) auto;
}

.footer-inner {
  max-width: var(--content-max-width);
  padding-left: var(--content-padding-x);
  padding-right: var(--content-padding-x);
}

/* ===================================
   Pricing IA + bundle toggle
   =================================== */
.pricing-choice-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-xl);
}

.pricing-choice-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: var(--space-md);
  text-align: left;
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  padding: 2rem;
  min-height: 260px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-base);
}

.pricing-choice-card h3 {
  margin-bottom: var(--space-xs);
}

.pricing-choice-card .btn {
  width: 100%;
}

.pricing-choice-link {
  text-decoration: none;
  color: inherit;
}

.pricing-choice-price {
  font-weight: 600;
  color: var(--dark);
  margin-top: var(--space-xs);
}

.pricing-choice-link:hover {
  border-color: var(--luxon-primary);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.bundle-strip {
  background: white;
  border-radius: 12px;
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-md);
  padding: var(--space-xl);
  max-width: 900px;
  margin: 0 auto;
}

.bundle-strip-content {
  display: grid;
  gap: var(--space-md);
  justify-items: center;
  text-align: center;
}

.bundle-strip-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.75rem;
  color: var(--gray-500);
  margin-bottom: var(--space-xs);
}

.bundle-strip-note {
  margin-bottom: 0;
  color: var(--gray-600);
}

.pricing-compare-table th,
.pricing-compare-table td {
  text-align: center;
  padding: var(--space-md);
}

.pricing-compare-table thead th {
  background: var(--gray-100);
  font-weight: 700;
}

.pricing-compare-table tbody tr:nth-child(even) {
  background: var(--gray-100);
}

.pricing-compare-table tbody td {
  padding: 1.1rem 1.5rem;
}

.pricing-faq-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-md);
}

.pricing-faq-grid .faq-item {
  padding: var(--space-md);
}

@media (max-width: 900px) {
  .bundle-strip {
    padding: var(--space-lg);
  }
}

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

.pricing-overview .container {
  max-width: 1200px;
}

.pricing-overview .section {
  padding: 4.5rem 0;
}

.pricing-overview .btn {
  min-height: 48px;
  padding: 0.75rem 1.5rem;
  border-radius: 12px;
}

.pricing-overview .pricing-choice-card .btn {
  width: 100%;
}

.pricing-page .section-tight {
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.pricing-page .hero {
  padding-bottom: var(--section-padding-y-sm);
}

.pricing-page .breadcrumb {
  margin-bottom: var(--space-sm);
}

.bundle-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  margin-top: var(--space-lg);
}

.bundle-section {
  margin-top: var(--space-xl);
}

.bundle-section.is-hidden {
  display: none;
}

.bundle-summary {
  background: var(--gray-100);
  border: 1px solid var(--gray-300);
  border-radius: var(--radius-lg);
  padding: var(--space-md);
  text-align: center;
  margin-bottom: var(--space-lg);
}

.bundle-summary-main {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-weight: 600;
}

.bundle-summary-title {
  color: var(--gray-700);
  font-size: 0.95rem;
}

.bundle-summary-value {
  font-size: 1.25rem;
  color: var(--dark);
}

.bundle-summary-detail {
  margin-top: 0.35rem;
  color: var(--gray-600);
  font-size: 0.9rem;
}

.pricing-switcher {
  display: flex;
  justify-content: center;
  gap: var(--space-sm);
  flex-wrap: wrap;
}

.pricing-switcher-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.5rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--gray-300);
  background: white;
  font-weight: 600;
  color: var(--gray-700);
  text-decoration: none;
}

.pricing-switcher-link.is-active {
  background: var(--luxon-primary);
  border-color: var(--luxon-primary);
  color: white;
}

.pricing-compare-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--grid-gap);
}

.pricing-grid {
  align-items: stretch;
}

.price-note {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  color: var(--gray-600);
}

.pricing-note {
  font-size: 0.875rem;
  color: var(--gray-500);
  margin-top: var(--space-md);
  text-align: center;
}

@media (max-width: 768px) {
  .bundle-summary-main {
    gap: 0.2rem;
  }
}
