/* ==========================================================================
   LUMINA AI - Premium Design System
   Bilingual Support: English & Spanish
   ========================================================================== */

/* ==========================================================================
   CSS CUSTOM PROPERTIES (Design Tokens)
   ========================================================================== */
:root {
  /* Brand Colors */
  --candlelight: #ffd712;
  --candlelight-light: #ffe44d;
  --candlelight-dark: #e6c100;
  --athens-gray: #edebf2;
  --athens-gray-light: #f5f4f8;
  --athens-gray-dark: #d8d5e5;
  --deep-space: #0c1523;
  --deep-space-light: #1a2744;
  --deep-space-dark: #060b14;

  /* Semantic Colors */
  --bg-primary: var(--deep-space);
  --bg-secondary: var(--deep-space-light);
  --bg-surface: rgba(255, 255, 255, 0.03);
  --bg-glass: rgba(255, 255, 255, 0.05);
  --bg-glass-hover: rgba(255, 255, 255, 0.08);
  --bg-tertiary: rgba(255, 255, 255, 0.1);
  --text-primary: #ffffff;
  --text-secondary: rgba(255, 255, 255, 0.7);
  --text-tertiary: rgba(255, 255, 255, 0.5);
  --accent-primary: var(--candlelight);
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-medium: rgba(255, 255, 255, 0.12);

  /* Typography */
  --font-display: 'Playfair Display', Georgia, serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'SF Pro Display', sans-serif;

  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;
  --space-5xl: 8rem;

  /* Border Radius */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.3);
  --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.4);
  --shadow-glow: 0 0 40px rgba(255, 215, 18, 0.15);
  --shadow-glow-strong: 0 0 60px rgba(255, 215, 18, 0.25);

  /* Transitions */
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 250ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 400ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-spring: 500ms cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Z-index */
  --z-dropdown: 100;
  --z-sticky: 200;
  --z-modal: 300;
}

/* ==========================================================================
   BASE STYLES
   ========================================================================== */

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

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

body {
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-primary);
  background: var(--bg-primary);
  overflow-x: hidden;
  min-height: 100vh;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

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

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

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

/* ==========================================================================
   LANGUAGE SWITCHER
   ========================================================================== */

.language-switcher {
  position: relative;
  margin-left: var(--space-md);
}

.language-switcher-btn {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-sm);
  background: var(--bg-glass);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-size: 0.875rem;
  cursor: pointer;
  transition: all var(--transition-base);
}

.language-switcher-btn:hover {
  background: var(--bg-glass-hover);
}

.flag {
  width: 20px;
  height: 14px;
  border-radius: 2px;
  object-fit: cover;
}

.language-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: var(--space-sm);
  background: var(--bg-secondary);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all var(--transition-base);
  z-index: var(--z-dropdown);
  min-width: 160px;
  overflow: hidden;
}

.language-dropdown.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.language-option {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-md) var(--space-lg);
  color: var(--text-primary);
  font-size: 0.9375rem;
  cursor: pointer;
  transition: background var(--transition-fast);
}

.language-option:hover {
  background: var(--bg-glass);
}

.language-option.active {
  background: var(--bg-glass);
}

.language-option .flag {
  width: 20px;
  height: 14px;
}

/* ==========================================================================
   UTILITY CLASSES
   ========================================================================== */

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--space-xl);
  box-sizing: border-box;
}

@media (max-width: 1400px) {
  .container {
    max-width: 1100px;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 var(--space-lg);
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 var(--space-md);
  }
}

.section {
  padding: var(--space-3xl) 0;
  position: relative;
}

/* First section after page-header needs less top padding */
.page-header + .section {
  padding-top: var(--space-xl);
}

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

.text-gradient {
  background: linear-gradient(135deg, var(--candlelight) 0%, var(--candlelight-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ==========================================================================
   ANIMATIONS
   ========================================================================== */

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

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

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

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

.animate-delay-1 { transition-delay: 0.1s; }
.animate-delay-2 { transition-delay: 0.2s; }
.animate-delay-3 { transition-delay: 0.3s; }
.animate-delay-4 { transition-delay: 0.4s; }
.animate-delay-5 { transition-delay: 0.5s; }

/* ==========================================================================
   BUTTONS
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: var(--space-md) var(--space-xl);
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1.4;
  border-radius: var(--radius-lg);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--candlelight) 0%, var(--candlelight-light) 100%);
  color: var(--deep-space);
  box-shadow: var(--shadow-glow);
}

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

.btn-primary:hover svg {
  transform: translateX(4px);
}

.btn-primary svg {
  transition: transform var(--transition-base);
}

.btn-primary span {
  position: relative;
  z-index: 1;
}

.btn-secondary {
  background: var(--bg-glass);
  color: var(--text-primary);
  border: 1px solid var(--border-medium);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: var(--bg-glass-hover);
  border-color: var(--border-medium);
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
  padding: var(--space-sm) var(--space-md);
}

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

.btn-lg {
  padding: var(--space-lg) var(--space-2xl);
  font-size: 1rem;
}

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-sticky);
  padding: var(--space-md) 0;
  transition: all var(--transition-base);
}

.header.scrolled {
  background: rgba(12, 21, 35, 0.8);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  padding: var(--space-sm) 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 var(--space-xl);
}

.logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--text-primary);
  transition: opacity var(--transition-fast);
}

.logo:hover {
  opacity: 0.8;
}

.logo img {
  height: 60px;
  width: auto;
  object-fit: contain;
}

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

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  list-style: none;
}

.nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  position: relative;
  padding: var(--space-sm) var(--space-md);
  white-space: nowrap;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--candlelight);
  transition: width var(--transition-base);
}

.nav-link:hover {
  color: var(--text-primary);
}

.nav-link:hover::after {
  width: 100%;
}

/* Nav Link Highlight (Agent Builder) */
.nav-link-highlight {
  color: var(--candlelight) !important;
  font-weight: 600;
}

.nav-link-highlight::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 215, 18, 0.1);
  border-radius: var(--radius-md);
  z-index: -1;
}

.mobile-nav-link-highlight {
  color: var(--candlelight) !important;
  font-weight: 600;
}

/* Nav Dropdowns */
.nav-item-has-dropdown {
  position: relative;
}

.nav-item-has-dropdown > .nav-link {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link .nav-chevron {
  width: 12px;
  height: 12px;
  transition: transform var(--transition-fast);
}

.nav-item-has-dropdown:hover .nav-chevron,
.nav-item-has-dropdown.active .nav-chevron {
  transform: rotate(180deg);
}

.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: var(--space-sm) 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all var(--transition-base);
  z-index: var(--z-dropdown);
  box-shadow: var(--shadow-lg);
  margin-top: var(--space-xs);
}

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

.nav-dropdown-item {
  display: block;
  padding: var(--space-sm) var(--space-lg);
  color: var(--text-secondary);
  font-size: 0.9375rem;
  transition: all var(--transition-fast);
}

.nav-dropdown-item:hover {
  background: var(--bg-glass);
  color: var(--text-primary);
}

.nav-dropdown-item:focus-visible {
  outline: 2px solid var(--candlelight);
  outline-offset: -2px;
}

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

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

.mobile-toggle span {
  width: 26px;
  height: 3px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all var(--transition-base);
}

/* ==========================================================================
    HERO SECTION
    ========================================================================== */

.hero {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  position: relative;
  padding: calc(80px + var(--space-2xl)) 0 var(--space-2xl);
  overflow: hidden;
}

.hero-background {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-gradient {
  position: absolute;
  width: 800px;
  height: 800px;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.15;
}

.hero-gradient-1 {
  background: var(--candlelight);
  top: -400px;
  right: -200px;
}

.hero-gradient-2 {
  background: #6366f1;
  bottom: -300px;
  left: -200px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4xl);
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-content {
  max-width: 600px;
}

.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-illustration {
  width: 100%;
  max-width: 500px;
  position: relative;
}

.hero-illustration svg {
  width: 100%;
  height: auto;
}

.hero-stats {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.stat-card {
  position: absolute;
  background: var(--bg-glass);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: var(--space-md) var(--space-lg);
  text-align: center;
  box-shadow: var(--shadow-lg);
  animation: float 3s ease-in-out infinite;
}

.stat-card:hover {
  transform: scale(1.05);
  z-index: 10;
}

.stat-1 {
  top: 15%;
  right: 10%;
  animation-delay: 0s;
}

.stat-2 {
  bottom: 20%;
  right: 5%;
  animation-delay: 0.5s;
}

.stat-3 {
  top: 40%;
  left: 5%;
  animation-delay: 1s;
}

.stat-text {
  display: block;
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--candlelight);
  line-height: 1.3;
  text-align: center;
}

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

.hero-trust {
  margin-top: var(--space-2xl);
}

.trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-lg);
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.trust-badge svg {
  width: 20px;
  height: 20px;
  stroke: var(--candlelight);
  stroke-width: 2;
  fill: none;
}

.hero-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 400;
  line-height: 1.1;
  margin-bottom: var(--space-md);
  letter-spacing: -0.03em;
}

.hero-title .highlight {
  background: linear-gradient(135deg, var(--candlelight) 0%, #f0c419 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-description {
  font-size: clamp(1rem, 2vw, 1.125rem);
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: var(--space-lg);
  max-width: 540px;
}

.hero-cta {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-bottom: var(--space-3xl);
}

/* ==========================================================================
   INTEGRATIONS SECTION
   ========================================================================== */

.integrations-section {
  padding: var(--space-2xl) 0;
  border-bottom: 1px solid var(--border-subtle);
}

.integrations-label {
  text-align: center;
  font-size: 0.875rem;
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-lg);
}

.integrations-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-2xl);
}

.integration-logo {
  color: var(--text-tertiary);
  opacity: 0.6;
  transition: all var(--transition-base);
}

.integration-logo:hover {
  color: var(--text-primary);
  opacity: 1;
}

.integration-logo svg {
  width: 32px;
  height: 32px;
}

@media (max-width: 768px) {
  .integrations-logos {
    gap: var(--space-xl);
  }

  .integration-logo svg {
    width: 24px;
    height: 24px;
  }
}

/* ==========================================================================
   FEATURES SECTION
   ========================================================================== */

.features {
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-2xl);
}

.section-label {
  display: inline-block;
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--candlelight);
  padding-bottom: var(--space-xs);
  border-bottom: 2px solid var(--candlelight);
  margin-bottom: var(--space-md);
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: var(--space-lg);
}

.section-description {
  font-size: 1.125rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

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

.feature-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: var(--space-xl);
  transition: all var(--transition-base);
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--candlelight);
  box-shadow: var(--shadow-lg), 0 0 20px rgba(255, 215, 18, 0.15);
}

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

.feature-icon svg {
  width: 28px;
  height: 28px;
  color: var(--deep-space);
}

.feature-title {
  font-size: 1.25rem;
  margin-bottom: var(--space-md);
}

.feature-description {
  color: var(--text-secondary);
  font-size: 0.9375rem;
  line-height: 1.7;
}

/* Features Tabs */
.features-tabs {
  max-width: 900px;
  margin: 0 auto;
}

.features-tab-nav {
  display: flex;
  gap: var(--space-sm);
  margin-bottom: var(--space-2xl);
  overflow-x: auto;
  padding-bottom: var(--space-sm);
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.features-tab-nav::-webkit-scrollbar {
  display: none;
}

.features-tab-btn {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-md) var(--space-lg);
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  color: var(--text-secondary);
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition-base);
  white-space: nowrap;
  flex: 1 1 auto;
  justify-content: center;
  min-width: 0;
}

.features-tab-btn svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.features-tab-btn:hover {
  border-color: var(--border-medium);
  color: var(--text-primary);
}

.features-tab-btn.active {
  background: linear-gradient(135deg, var(--candlelight) 0%, var(--candlelight-light) 100%);
  border-color: var(--candlelight);
  color: var(--deep-space);
}

.features-tab-btn.active svg {
  color: var(--deep-space);
}

.features-tab-content {
  position: relative;
  min-height: 200px;
}

.features-tab-panel {
  display: none;
  text-align: center;
  padding: var(--space-2xl);
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  animation: fadeSlideIn 0.4s ease-out;
}

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

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

.features-tab-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--candlelight) 0%, var(--candlelight-light) 100%);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-xl);
}

.features-tab-icon svg {
  width: 32px;
  height: 32px;
  color: var(--deep-space);
}

.features-tab-title {
  font-size: 1.5rem;
  margin-bottom: var(--space-md);
}

.features-tab-desc {
  color: var(--text-secondary);
  font-size: 1.0625rem;
  line-height: 1.9;
  max-width: 600px;
  margin: var(--space-md) auto 0;
}

@media (max-width: 768px) {
  .features-tab-nav {
    flex-wrap: nowrap;
    justify-content: flex-start;
  }

  .features-tab-btn {
    flex: 0 0 auto;
    padding: var(--space-sm) var(--space-md);
    font-size: 0.875rem;
  }

  .features-tab-btn span {
    display: none;
  }

  .features-tab-btn svg {
    width: 24px;
    height: 24px;
  }

  .features-tab-panel {
    padding: var(--space-xl);
  }

  .features-tab-title {
    font-size: 1.25rem;
  }

  .features-tab-desc {
    font-size: 1rem;
  }
}

/* ==========================================================================
   TESTIMONIALS SECTION
   ========================================================================== */

.testimonials {
  position: relative;
}

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

.testimonial-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
  transition: all var(--transition-base);
}

.testimonial-card:hover {
  transform: translateY(-4px);
}

.testimonial-content {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: var(--space-xl);
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  object-fit: cover;
  background: var(--bg-glass);
}

.testimonial-name {
  font-weight: 600;
  color: var(--text-primary);
}

.testimonial-role {
  font-size: 0.875rem;
  color: var(--text-tertiary);
}

/* ==========================================================================
   CTA SECTION
   ========================================================================== */

.cta-section {
  position: relative;
  padding: var(--space-5xl) 0;
}

.cta-background {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.cta-gradient {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.1;
  background: var(--candlelight);
}

.cta-gradient-1 {
  top: -300px;
  left: -200px;
}

.cta-gradient-2 {
  bottom: -300px;
  right: -200px;
  background: #6366f1;
}

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

.cta-title {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: var(--space-lg);
}

.cta-description {
  font-size: 1.125rem;
  color: var(--text-secondary);
  margin-bottom: var(--space-2xl);
}

.cta-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.footer {
  border-top: 1px solid var(--border-subtle);
  padding: var(--space-4xl) 0 var(--space-2xl);
  background: var(--bg-secondary);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(2, 1fr);
  gap: var(--space-2xl);
  margin-bottom: var(--space-3xl);
  align-items: start;
}

.footer-brand {
  max-width: 300px;
}

.footer-logo {
  line-height: 0;
  margin-bottom: var(--space-sm);
}

.footer-logo img {
  display: block;
  height: 50px;
  width: auto;
  object-fit: contain;
}

.footer-description {
  color: var(--text-tertiary);
  font-size: 0.9375rem;
  line-height: 1.7;
}

.footer-heading {
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-primary);
  margin-bottom: var(--space-lg);
}

.footer-links {
  list-style: none;
}

.footer-link {
  display: block;
  color: var(--text-tertiary);
  font-size: 0.9375rem;
  padding: var(--space-sm) 0;
  transition: color var(--transition-fast);
}

.footer-link:hover {
  color: var(--text-primary);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--space-xl);
  border-top: 1px solid var(--border-subtle);
}

.footer-copyright {
  color: var(--text-tertiary);
  font-size: 0.875rem;
}

/* ==========================================================================
   PAGE HEADERS
   ========================================================================== */

.page-header {
  padding: calc(80px + var(--space-xl)) 0 var(--space-xl);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 150%;
  height: 100%;
  background: radial-gradient(ellipse 50% 80% at 50% 0%, rgba(255, 215, 18, 0.1) 0%, transparent 100%);
  pointer-events: none;
}

.page-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  margin-bottom: var(--space-lg);
}

.page-description {
  font-size: 1.25rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

/* ==========================================================================
   PRICING PAGE
   ========================================================================== */

.pricing-section {
  padding-bottom: var(--space-4xl);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
  max-width: 1100px;
  margin: 0 auto;
}

.pricing-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: var(--space-xl);
  display: grid;
  grid-template-rows: auto auto auto 1fr auto;
  position: relative;
}

.pricing-card-featured {
  border-color: var(--candlelight);
  box-shadow: 0 0 30px rgba(255, 215, 18, 0.15);
  transform: scale(1.02);
}

.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--candlelight);
  color: var(--deep-space);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: var(--space-xs) var(--space-md);
  border-radius: var(--radius-full);
}

.pricing-header {
  text-align: center;
  margin-bottom: var(--space-lg);
}

.pricing-tier {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: var(--space-xs);
}

.pricing-subtitle {
  color: var(--text-tertiary);
  font-size: 0.9375rem;
}

.pricing-price {
  text-align: center;
  margin-bottom: var(--space-sm);
}

.price-amount {
  font-size: 3rem;
  font-weight: 700;
  color: var(--text-primary);
}

.price-period {
  font-size: 1rem;
  color: var(--text-tertiary);
}

.pricing-includes {
  text-align: center;
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-bottom: var(--space-lg);
  padding-bottom: var(--space-md);
  border-bottom: 1px solid var(--border-subtle);
}

.pricing-features {
  list-style: none;
  padding: 0;
  margin: 0;
  align-self: start;
}

.pricing-features li {
  position: relative;
  padding-left: var(--space-lg);
  margin-bottom: var(--space-sm);
  color: var(--text-secondary);
  font-size: 0.9375rem;
}

.pricing-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 6px;
  width: 12px;
  height: 12px;
  background: var(--candlelight);
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='3'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center/contain no-repeat;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='3'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center/contain no-repeat;
}

.pricing-cta {
  width: 100%;
  text-align: center;
  align-self: end;
  margin-top: var(--space-lg);
}

/* FAQ Grid - Compact */
.faq-grid {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: var(--space-md) var(--space-lg);
}

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

.faq-question {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: var(--space-xs);
  color: var(--text-primary);
}

.faq-answer {
  color: var(--text-secondary);
  font-size: 0.875rem;
  line-height: 1.5;
  margin: 0;
}

/* Pricing Responsive - Base Grid */
@media (max-width: 1100px) {
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
    max-width: 700px;
  }

  .pricing-card-featured {
    transform: none;
  }
}

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

  .pricing-card-featured {
    order: -1;
  }
}

/* ==========================================================================
   CONTENT SECTIONS
   ========================================================================== */

.content-section {
  padding: var(--space-4xl) 0;
}

.content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
}

.content-label {
  display: inline-block;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--candlelight);
  margin-bottom: var(--space-md);
}

.content-title {
  font-size: clamp(2rem, 3.5vw, 2.5rem);
  margin-bottom: var(--space-lg);
}

.content-description {
  color: var(--text-secondary);
  font-size: 1.0625rem;
  line-height: 1.8;
  margin-bottom: var(--space-lg);
}

.content-features {
  list-style: none;
}

.content-feature {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  padding: var(--space-md) 0;
}

.content-feature svg {
  width: 24px;
  height: 24px;
  fill: var(--candlelight);
  flex-shrink: 0;
  margin-top: 2px;
}

.content-feature-text {
  color: var(--text-secondary);
  font-size: 1rem;
}

.content-image {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.content-image img {
  width: 100%;
  height: auto;
}

/* ==========================================================================
   FORM ELEMENTS
   ========================================================================== */

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

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: var(--space-sm);
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: var(--space-md) var(--space-lg);
  font-size: 1rem;
  font-family: inherit;
  color: var(--text-primary);
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-lg);
  transition: all var(--transition-base);
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  outline: none;
  border-color: var(--candlelight);
  box-shadow: 0 0 0 3px rgba(255, 215, 18, 0.1);
}

.form-select option {
  background: #1a1a2e;
  color: #ffffff;
  padding: 0.5rem;
}

.form-select option:checked {
  background: #2a2a4e;
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--text-tertiary);
}

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

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
}

/* ==========================================================================
   CONTACT SECTION
   ========================================================================== */

.split-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: var(--space-3xl);
}

.info-column {
  max-width: 400px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  margin-bottom: var(--space-xl);
}

.contact-icon {
  width: 48px;
  height: 48px;
  background: var(--bg-glass);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-icon svg {
  width: 24px;
  height: 24px;
  fill: var(--candlelight);
}

.contact-label {
  font-size: 0.875rem;
  color: var(--text-tertiary);
  margin-bottom: var(--space-xs);
}

.contact-value {
  font-weight: 500;
  color: var(--text-primary);
}

.form-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
}

/* ==========================================================================
   RESPONSIVE STYLES
   ========================================================================== */

/* Short viewport heights (laptops, small screens) */
@media (max-height: 800px) {
  .hero {
    padding: calc(70px + var(--space-2xl)) 0 var(--space-2xl);
  }

  .hero-title {
    font-size: clamp(2.25rem, 5vw, 3.25rem);
    margin-bottom: var(--space-md);
  }

  .hero-description {
    font-size: 1.05rem;
    margin-bottom: var(--space-xl);
    line-height: 1.7;
  }

  /* Subpage adjustments */
  .page-header {
    padding: calc(80px + var(--space-xl)) 0 var(--space-xl);
  }

  .page-title {
    font-size: clamp(2rem, 5vw, 2.75rem);
  }

  .page-description {
    font-size: 1rem;
  }

  .content-section {
    padding: var(--space-2xl) 0;
  }

  .form-card {
    padding: var(--space-xl);
  }

  .form-card h3 {
    font-size: 1.25rem;
    margin-bottom: var(--space-md);
  }

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

  .form-label {
    margin-bottom: var(--space-xs);
  }

  .form-input,
  .form-textarea,
  .form-select {
    padding: var(--space-sm) var(--space-md);
  }

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

  .split-grid {
    gap: var(--space-2xl);
  }

  .info-column h2 {
    margin-bottom: var(--space-md) !important;
  }

  .info-column .content-description {
    margin-bottom: var(--space-lg) !important;
  }
}

@media (max-height: 700px) {
  .hero {
    padding: calc(60px + var(--space-xl)) 0 var(--space-xl);
  }

  .hero-title {
    font-size: clamp(2rem, 4.5vw, 2.75rem);
  }

  .hero-description {
    font-size: 1rem;
  }

  /* Subpage adjustments - extra compact */
  .page-header {
    padding: calc(70px + var(--space-lg)) 0 var(--space-lg);
  }

  .page-title {
    font-size: clamp(1.75rem, 4vw, 2.25rem);
  }

  .content-section {
    padding: var(--space-xl) 0;
  }

  .form-card {
    padding: var(--space-lg);
  }

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

  .form-textarea {
    min-height: 80px;
  }

  .split-grid {
    gap: var(--space-xl);
  }
}

/* Laptop screens - tighter nav spacing */
@media (max-width: 1200px) {
  .nav {
    gap: var(--space-md);
  }

  .nav-links {
    gap: 0;
  }

  .nav-link {
    padding: var(--space-sm) var(--space-sm);
    font-size: 0.8125rem;
  }

  .nav-cta {
    gap: var(--space-sm);
  }

  .nav-cta .btn {
    padding: var(--space-sm) var(--space-md);
    font-size: 0.8125rem;
  }

  .language-switcher-btn {
    padding: var(--space-xs);
  }

  .language-switcher-btn span {
    display: none;
  }
}

@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: var(--space-3xl);
  }

  .hero-content {
    max-width: 100%;
    text-align: center;
  }

  .hero-visual {
    display: none;
  }

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

  .content-grid {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }

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

@media (max-width: 768px) {
  .header {
    padding: var(--space-xs) 0;
  }

  .header.scrolled {
    padding: var(--space-xs) 0;
  }

  .header-inner {
    width: 100%;
    padding: 0 var(--space-md);
    box-sizing: border-box;
  }

  .logo {
    flex-shrink: 1;
    min-width: 0;
  }

  .logo img {
    height: 60px;
    max-width: 150px;
    object-fit: contain;
  }

  .nav {
    display: none;
  }

  .mobile-toggle {
    display: flex;
    flex-shrink: 0;
  }

  .hero {
    padding: calc(70px + var(--space-xl)) 0 var(--space-2xl);
  }

  .hero-grid {
    gap: var(--space-xl);
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-description {
    font-size: 1.125rem;
  }

  .hero-cta {
    flex-direction: column;
    align-items: center;
  }

  .trust-badges {
    justify-content: center;
  }

  .stat-card {
    display: none;
  }

  .section {
    padding: var(--space-2xl) 0;
  }

  .page-header + .section {
    padding-top: var(--space-lg);
  }

  .section-header {
    margin-bottom: var(--space-xl);
  }

  .features-grid {
    gap: var(--space-md);
  }

  .feature-card {
    padding: var(--space-lg);
  }

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

  .footer-bottom {
    flex-direction: column;
    gap: var(--space-lg);
    text-align: center;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .cta-buttons {
    flex-direction: column;
  }

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

/* Small Mobile */
@media (max-width: 480px) {
  .page-header {
    padding: calc(70px + var(--space-md)) 0 var(--space-md);
  }

  .page-title {
    font-size: 1.75rem;
  }

  .page-description {
    font-size: 1rem;
  }

  .section {
    padding: var(--space-xl) 0;
  }

  .page-header + .section {
    padding-top: var(--space-md);
  }

  .section-header {
    margin-bottom: var(--space-lg);
  }

  .section-title {
    font-size: 1.5rem;
  }

  .feature-card {
    padding: var(--space-md);
  }

  .feature-title {
    font-size: 1rem;
  }

  .feature-description {
    font-size: 0.875rem;
  }
}

/* Mobile Landscape - prevent logo squishing */
@media (max-width: 900px) and (orientation: landscape) {
  .header {
    padding: var(--space-xs) 0;
  }

  .logo img {
    height: 50px;
    max-width: 180px;
    object-fit: contain;
  }

  .hero {
    padding: calc(60px + var(--space-lg)) 0 var(--space-xl);
  }

  .hero-title {
    font-size: 2rem;
  }
}

/* ==========================================================================
   MOBILE NAVIGATION
   ========================================================================== */

.mobile-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(12, 21, 35, 0.95);
  backdrop-filter: blur(20px);
  z-index: var(--z-modal);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-base);
}

.mobile-nav.active {
  opacity: 1;
  visibility: visible;
}

.mobile-nav-links {
  list-style: none;
  text-align: center;
}

.mobile-nav-link {
  display: block;
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--text-primary);
  padding: var(--space-sm) 0;
  transition: color var(--transition-fast);
}

.mobile-nav-link:hover {
  color: var(--candlelight);
}

/* Mobile Nav Accordion */
.mobile-nav-item-has-dropdown > .mobile-nav-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
}

.mobile-nav-link .mobile-nav-chevron {
  width: 14px;
  height: 14px;
  transition: transform var(--transition-base);
}

.mobile-nav-item-has-dropdown.active .mobile-nav-chevron {
  transform: rotate(180deg);
}

.mobile-nav-dropdown {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-base);
}

.mobile-nav-item-has-dropdown.active .mobile-nav-dropdown {
  max-height: 400px;
}

.mobile-nav-dropdown-item {
  display: block;
  font-size: 1rem;
  color: var(--text-secondary);
  padding: var(--space-xs) 0;
  transition: color var(--transition-fast);
}

.mobile-nav-dropdown-item:hover {
  color: var(--candlelight);
}

.mobile-nav-cta {
  margin-top: var(--space-lg);
}

.mobile-nav-cta .btn {
  width: 100%;
}

/* Mobile Nav Footer */
.mobile-nav-footer {
  margin-top: auto;
  padding-top: var(--space-lg);
  border-top: 1px solid var(--border-subtle);
  text-align: center;
}

.mobile-nav-hours {
  font-size: 0.875rem;
  color: var(--text-tertiary);
  margin-bottom: var(--space-md);
}

.mobile-nav-social {
  display: flex;
  justify-content: center;
  gap: var(--space-md);
  margin-bottom: var(--space-md);
}

.mobile-social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--bg-glass);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  color: var(--text-secondary);
  transition: all var(--transition-fast);
}

.mobile-social-link:hover {
  color: var(--candlelight);
  border-color: var(--candlelight);
}

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

.mobile-lang-btn {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-sm) var(--space-md);
  background: var(--bg-glass);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  color: var(--text-secondary);
  font-size: 0.875rem;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.mobile-lang-btn:hover,
.mobile-lang-btn.active {
  background: var(--bg-tertiary);
  border-color: var(--candlelight);
  color: var(--text-primary);
}

.mobile-lang-btn .flag {
  width: 20px;
  height: 20px;
  border-radius: 2px;
}

.mobile-close {
  position: absolute;
  top: var(--space-xl);
  right: var(--space-xl);
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-glass);
  border-radius: var(--radius-full);
  color: var(--text-primary);
}

/* ==========================================================================
   LOADER
   ========================================================================== */

.page-loader {
  position: fixed;
  inset: 0;
  background: var(--bg-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.page-loader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  display: none;
}

.loader-content {
  text-align: center;
}

.loader-logo {
  height: 80px;
  width: auto;
  margin: 0 auto var(--space-lg);
  animation: float 2s ease-in-out infinite;
}

@media (max-width: 768px) {
  .loader-logo {
    height: 60px;
  }
}

.loader-bar {
  width: 200px;
  height: 4px;
  background: var(--bg-glass);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.loader-progress {
  height: 100%;
  background: linear-gradient(90deg, var(--candlelight) 0%, var(--candlelight-light) 100%);
  border-radius: var(--radius-full);
  animation: shimmer 2s infinite linear;
  background-size: 200% 100%;
}

@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

/* ==========================================================================
   SCROLLBAR
   ========================================================================== */

::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
  background: var(--border-medium);
  border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.3);
}

/* ==========================================================================
   SELECTION
   ========================================================================== */

::selection {
  background: var(--candlelight);
  color: var(--deep-space);
}

/* ==========================================================================
   ACCESSIBILITY - FOCUS STYLES
   ========================================================================== */

/* Skip to Main Content Link */
.skip-to-main {
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--candlelight);
  color: var(--deep-space);
  padding: var(--space-md) var(--space-xl);
  border-radius: var(--radius-lg);
  font-weight: 600;
  z-index: 9999;
  transition: top var(--transition-base);
  text-decoration: none;
}

.skip-to-main:focus {
  top: var(--space-md);
  outline: 3px solid var(--candlelight-light);
  outline-offset: 2px;
}

/* Global Focus Styles */
*:focus {
  outline: none;
}

*:focus-visible {
  outline: 3px solid var(--candlelight);
  outline-offset: 2px;
}

/* Link Focus Styles */
a:focus-visible {
  outline: 3px solid var(--candlelight);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}

/* Button Focus Styles */
.btn:focus-visible {
  outline: 3px solid var(--candlelight);
  outline-offset: 3px;
  box-shadow: 0 0 0 6px rgba(255, 215, 18, 0.2);
}

.btn-primary:focus-visible {
  outline-color: var(--text-primary);
}

.btn-ghost:focus-visible,
.btn-secondary:focus-visible {
  outline-color: var(--candlelight);
}

/* Navigation Focus Styles */
.nav-link:focus-visible {
  outline: 3px solid var(--candlelight);
  outline-offset: 4px;
  border-radius: var(--radius-sm);
}

.mobile-nav-link:focus-visible {
  outline: 3px solid var(--candlelight);
  outline-offset: 4px;
  border-radius: var(--radius-sm);
}

/* Logo Focus */
.logo:focus-visible {
  outline: 3px solid var(--candlelight);
  outline-offset: 4px;
  border-radius: var(--radius-md);
}

/* Mobile Toggle Focus */
.mobile-toggle:focus-visible {
  outline: 3px solid var(--candlelight);
  outline-offset: 4px;
  border-radius: var(--radius-md);
}

.mobile-close:focus-visible {
  outline: 3px solid var(--candlelight);
  outline-offset: 4px;
}

/* Language Switcher Focus */
.language-switcher-btn:focus-visible {
  outline: 3px solid var(--candlelight);
  outline-offset: 2px;
}

.language-option:focus-visible {
  outline: 3px solid var(--candlelight);
  outline-offset: -3px;
  background: var(--bg-glass-hover);
}

/* Feature Tab Focus */
.features-tab-btn:focus-visible {
  outline: 3px solid var(--candlelight);
  outline-offset: 2px;
}

/* Footer Link Focus */
.footer-link:focus-visible {
  outline: 3px solid var(--candlelight);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}

/* Social Link Focus */
.footer-social-link:focus-visible {
  outline: 3px solid var(--candlelight);
  outline-offset: 4px;
  border-radius: var(--radius-md);
}

/* ==========================================================================
   ACCESSIBILITY - ENHANCED FORM FOCUS STATES
   ========================================================================== */

.form-input:focus-visible,
.form-textarea:focus-visible,
.form-select:focus-visible {
  outline: none;
  border-color: var(--candlelight);
  box-shadow: 0 0 0 3px rgba(255, 215, 18, 0.25), 0 0 0 1px var(--candlelight);
}

/* High contrast focus for required fields */
.form-input:required:focus-visible,
.form-textarea:required:focus-visible {
  border-color: var(--candlelight);
  box-shadow: 0 0 0 3px rgba(255, 215, 18, 0.3), 0 0 0 1px var(--candlelight);
}

/* ==========================================================================
   ACCESSIBILITY - COLOR CONTRAST IMPROVEMENTS
   ========================================================================== */

/* Improve text-secondary contrast (was 0.7, improved to 0.85) */
.hero-description,
.section-description,
.feature-description,
.testimonial-content,
.content-description,
.cta-description {
  color: rgba(255, 255, 255, 0.85);
}

/* Improve text-tertiary contrast (was 0.5, improved to 0.7) */
.trust-badge span,
.testimonial-role,
.contact-label,
.footer-description,
.footer-copyright {
  color: rgba(255, 255, 255, 0.7);
}

/* Improve placeholder contrast */
.form-input::placeholder,
.form-textarea::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

/* ==========================================================================
   ACCESSIBILITY - REDUCED MOTION
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .animate-on-scroll {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .hero-illustration svg * {
    animation: none !important;
  }

  .stat-card {
    animation: none;
  }

  .loader-progress {
    animation: none;
  }
}

/* ==========================================================================
   PARTNERSHIPS PAGE
   ========================================================================== */

/* Steps Grid */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
  margin-top: var(--space-2xl);
}

.step-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: var(--space-xl);
  position: relative;
  transition: all var(--transition-base);
}

.step-card:hover {
  border-color: var(--border-medium);
  transform: translateY(-4px);
}

.step-number {
  font-size: 3rem;
  font-weight: 700;
  color: var(--candlelight);
  opacity: 0.3;
  line-height: 1;
  margin-bottom: var(--space-md);
}

.step-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: var(--space-sm);
}

.step-desc {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* FAQ Accordion */
.faq-list {
  max-width: 800px;
  margin: var(--space-2xl) auto 0;
}

.faq-item {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  margin-bottom: var(--space-md);
  overflow: hidden;
  transition: all var(--transition-base);
}

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

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-lg) var(--space-xl);
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-primary);
  transition: all var(--transition-base);
}

.faq-question:hover {
  color: var(--candlelight);
}

.faq-icon {
  width: 24px;
  height: 24px;
  fill: var(--text-tertiary);
  transition: transform var(--transition-base);
  flex-shrink: 0;
  margin-left: var(--space-md);
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
  fill: var(--candlelight);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}

.faq-answer-content {
  padding: 0 var(--space-xl) var(--space-lg);
  color: var(--text-secondary);
  line-height: 1.7;
}

.faq-item.active .faq-answer {
  max-height: 500px;
}

/* Partnership Form */
.partnership-form-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: start;
}

.partnership-info {
  padding-right: var(--space-xl);
}

.partnership-info h2 {
  font-size: 2rem;
  margin-bottom: var(--space-md);
}

.partnership-info p {
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: var(--space-xl);
}

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

.partnership-benefits li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  margin-bottom: var(--space-md);
  color: var(--text-secondary);
}

.partnership-benefits li svg {
  width: 20px;
  height: 20px;
  fill: var(--candlelight);
  flex-shrink: 0;
  margin-top: 2px;
}

/* Form Success State */
.form-success-state {
  display: none;
  text-align: center;
  padding: var(--space-2xl);
}

.form-success-state.active {
  display: block;
}

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

.form-success-icon svg {
  width: 32px;
  height: 32px;
  fill: #10b981;
}

.form-success-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: var(--space-sm);
}

.form-success-message {
  color: var(--text-secondary);
  line-height: 1.7;
}

.form-fields {
  transition: opacity 0.3s ease;
}

.form-fields.hidden {
  display: none;
}

/* Responsive - Steps */
@media (max-width: 992px) {
  .steps-grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .partnership-form-section {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }

  .partnership-info {
    padding-right: 0;
  }
}

@media (max-width: 768px) {
  .faq-question {
    padding: var(--space-md) var(--space-lg);
    font-size: 0.95rem;
  }

  .faq-answer-content {
    padding: 0 var(--space-lg) var(--space-md);
  }

  .step-card {
    padding: var(--space-lg);
  }

  .step-number {
    font-size: 2.5rem;
  }
}

/* ==========================================================================
   PRICING CONFIGURATOR
   ========================================================================== */

.configurator-section {
  background: var(--bg-secondary);
}

.configurator-wrapper {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: var(--space-2xl);
  align-items: start;
}

.configurator-main {
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
}

/* Config Blocks */
.config-block {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: var(--space-xl);
}

.config-block-title {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: var(--space-lg);
}

.config-block-title svg {
  width: 20px;
  height: 20px;
  stroke: var(--candlelight);
}

.config-hint {
  font-size: 0.875rem;
  color: var(--text-tertiary);
  margin-top: var(--space-sm);
}

/* Agent Type Cards */
.agent-type-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
}

.agent-type-grid.plan-grid {
  grid-template-columns: repeat(3, 1fr);
}

.agent-type-grid.plan-grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

/* Trial Banner */
.trial-banner {
  background: linear-gradient(135deg, rgba(255, 215, 18, 0.1) 0%, rgba(255, 215, 18, 0.05) 100%);
  border: 1px solid rgba(255, 215, 18, 0.2);
  border-radius: var(--radius-lg);
  margin: 0 auto var(--space-xl);
  max-width: 600px;
}

.trial-banner-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
  padding: var(--space-md) var(--space-lg);
  flex-wrap: wrap;
}

.trial-badge {
  background: var(--candlelight);
  color: var(--deep-space);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.trial-banner-content p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/* 4-column pricing grid */
.pricing-grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

/* Add-on included state */
.addon-included {
  opacity: 0.8;
  background: rgba(16, 185, 129, 0.05);
  border-color: rgba(16, 185, 129, 0.3);
}

.addon-included-label {
  color: #10b981 !important;
  font-weight: 600;
}

.agent-type-card {
  position: relative;
  display: block;
  background: var(--bg-primary);
  border: 2px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  cursor: pointer;
  transition: all var(--transition-base);
}

.agent-type-card:hover {
  border-color: var(--border-medium);
}

.agent-type-card input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.agent-type-card:has(input:checked) {
  border-color: var(--candlelight);
  background: rgba(255, 215, 18, 0.05);
}

.agent-type-check {
  position: absolute;
  top: var(--space-md);
  right: var(--space-md);
  width: 24px;
  height: 24px;
  border: 2px solid var(--border-medium);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: all var(--transition-base);
}

.agent-type-card:has(input:checked) .agent-type-check {
  opacity: 1;
  border-color: var(--candlelight);
  background: var(--candlelight);
}

.agent-type-check svg {
  width: 14px;
  height: 14px;
  stroke: var(--deep-space);
}

.agent-type-header {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-bottom: var(--space-sm);
}

.agent-type-name {
  font-weight: 600;
  color: var(--text-primary);
}

.agent-type-price {
  font-weight: 700;
  color: var(--candlelight);
}

.agent-type-price small {
  font-weight: 400;
  font-size: 0.75em;
  opacity: 0.7;
}

.agent-type-badge {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 2px 8px;
  background: var(--candlelight);
  color: var(--deep-space);
  border-radius: var(--radius-sm);
}

.agent-type-desc {
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-bottom: var(--space-md);
  line-height: 1.5;
}

.agent-type-features {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.8rem;
  color: var(--text-tertiary);
}

.agent-type-features li {
  padding: 4px 0;
  padding-left: 16px;
  position: relative;
}

.agent-type-features li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--candlelight);
}

/* Agent Quantity */
.agent-quantity {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  max-width: 200px;
}

.qty-btn {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-primary);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-lg);
  color: var(--text-primary);
  font-size: 1.25rem;
  cursor: pointer;
  transition: all var(--transition-base);
}

.qty-btn:hover {
  border-color: var(--candlelight);
  color: var(--candlelight);
}

.agent-quantity input {
  width: 60px;
  height: 44px;
  text-align: center;
  font-size: 1.25rem;
  font-weight: 600;
  background: var(--bg-primary);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-lg);
  color: var(--text-primary);
}

/* Integrations Grid */
.integrations-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.integration-option {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-xs);
  padding: var(--space-md);
  background: var(--bg-primary);
  border: 2px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: all var(--transition-base);
  text-align: center;
}

.integration-option:hover {
  border-color: var(--border-medium);
}

.integration-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.integration-option:has(input:checked) {
  border-color: var(--candlelight);
  background: rgba(255, 215, 18, 0.05);
}

.integration-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-surface);
  border-radius: var(--radius-md);
}

.integration-icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--text-secondary);
}

.integration-option:has(input:checked) .integration-icon svg {
  stroke: var(--candlelight);
}

.integration-name {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-primary);
}

.integration-price {
  font-size: 0.75rem;
  color: var(--text-tertiary);
}

/* Add-ons List */
.addons-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.addon-option {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-md) var(--space-lg);
  background: var(--bg-primary);
  border: 2px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: all var(--transition-base);
}

.addon-option:hover {
  border-color: var(--border-medium);
}

.addon-option input {
  width: 20px;
  height: 20px;
  accent-color: var(--candlelight);
  cursor: pointer;
}

.addon-option:has(input:checked) {
  border-color: var(--candlelight);
  background: rgba(255, 215, 18, 0.05);
}

.addon-content {
  flex: 1;
}

.addon-name {
  display: block;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 2px;
}

.addon-desc {
  font-size: 0.8rem;
  color: var(--text-tertiary);
}

.addon-price {
  font-weight: 600;
  color: var(--candlelight);
  white-space: nowrap;
}

/* Summary Card */
.configurator-summary {
  position: sticky;
  top: 100px;
}

.summary-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: var(--space-xl);
}

.summary-card h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: var(--space-lg);
  padding-bottom: var(--space-md);
  border-bottom: 1px solid var(--border-subtle);
}

.summary-lines {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  margin-bottom: var(--space-lg);
}

.summary-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
}

.line-label {
  color: var(--text-secondary);
}

.line-value {
  font-weight: 500;
  color: var(--text-primary);
}

.discount-label {
  color: #10b981;
}

.discount-value {
  color: #10b981;
}

.summary-total {
  display: flex;
  align-items: baseline;
  gap: var(--space-sm);
  padding: var(--space-lg) 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: var(--space-lg);
}

.total-label {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.total-value {
  font-size: 2rem;
  font-weight: 700;
  color: var(--candlelight);
  margin-left: auto;
}

.total-period {
  font-size: 0.9rem;
  color: var(--text-tertiary);
}

.summary-savings {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-md);
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-lg);
  font-size: 0.875rem;
  color: #10b981;
}

.summary-savings svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.summary-savings strong {
  margin-left: auto;
}

.btn-block {
  width: 100%;
  justify-content: center;
}

.summary-note {
  font-size: 0.8rem;
  color: var(--text-tertiary);
  text-align: center;
  margin-top: var(--space-md);
}

/* Responsive - Pricing Page */

/* Large laptops (14-15") */
@media (max-width: 1400px) {
  .pricing-section {
    padding: var(--space-xl) 0;
  }

  .pricing-grid-4 {
    gap: var(--space-sm);
  }

  .pricing-card {
    padding: var(--space-md);
  }

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

  .pricing-tier {
    font-size: 1.125rem;
    margin-bottom: 2px;
  }

  .pricing-subtitle {
    font-size: 0.8125rem;
  }

  .pricing-price {
    margin-bottom: var(--space-xs);
  }

  .price-amount {
    font-size: 2rem;
  }

  .price-period {
    font-size: 0.875rem;
  }

  .pricing-includes {
    font-size: 0.75rem;
    margin-bottom: var(--space-sm);
    padding-bottom: var(--space-sm);
  }

  .pricing-features li {
    font-size: 0.8125rem;
    margin-bottom: var(--space-xs);
    padding-left: var(--space-md);
  }

  .pricing-features li::before {
    width: 10px;
    height: 10px;
    top: 4px;
  }

  .pricing-cta {
    margin-top: var(--space-sm);
  }

  .pricing-cta .btn {
    padding: var(--space-sm) var(--space-md);
    font-size: 0.875rem;
  }
}

/* Medium laptops (13-14") */
@media (max-width: 1280px) {
  .pricing-grid-4 {
    grid-template-columns: repeat(2, 1fr);
    max-width: 800px;
  }

  .pricing-card-featured {
    transform: none;
  }

  .configurator-wrapper {
    grid-template-columns: 1fr 320px;
    gap: var(--space-xl);
  }

  .agent-type-grid.plan-grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .agent-type-grid.plan-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-sm);
  }

  .agent-type-card {
    padding: var(--space-md);
  }

  .agent-type-features {
    font-size: 0.8rem;
  }

  .agent-type-desc {
    font-size: 0.75rem;
    line-height: 1.4;
  }

  .config-block {
    padding: var(--space-lg);
  }
}

/* Tablets and small laptops */
@media (max-width: 1024px) {
  .configurator-wrapper {
    grid-template-columns: 1fr;
  }

  .configurator-summary {
    position: static;
  }

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

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

  .agent-type-grid.plan-grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .pricing-card {
    padding: var(--space-lg);
  }

  .price-amount {
    font-size: 2.25rem;
  }
}

/* Tablets */
@media (max-width: 768px) {
  .pricing-grid-4 {
    grid-template-columns: 1fr;
    max-width: 400px;
  }

  .agent-type-grid.plan-grid-4 {
    grid-template-columns: 1fr;
  }

  .agent-type-grid {
    grid-template-columns: 1fr;
  }

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

  .config-block {
    padding: var(--space-md);
  }

  .config-block-title {
    font-size: 1rem;
  }

  .summary-card {
    padding: var(--space-lg);
  }

  .total-value {
    font-size: 1.75rem;
  }

  .faq-grid {
    gap: var(--space-xs);
  }

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

  .faq-question {
    font-size: 0.875rem;
  }

  .faq-answer {
    font-size: 0.8125rem;
  }

  .trial-banner-content {
    flex-direction: column;
    text-align: center;
    gap: var(--space-sm);
  }
}

/* Mobile */
@media (max-width: 480px) {
  .pricing-card {
    padding: var(--space-md);
  }

  .price-amount {
    font-size: 2rem;
  }

  .pricing-tier {
    font-size: 1.125rem;
  }

  .pricing-features li {
    font-size: 0.8125rem;
    padding-left: var(--space-md);
  }

  .pricing-features li::before {
    width: 10px;
    height: 10px;
    top: 5px;
  }

  .integrations-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-sm);
  }

  .integration-option {
    padding: var(--space-sm);
  }

  .addon-option {
    flex-wrap: wrap;
    padding: var(--space-sm);
  }

  .addon-price {
    width: 100%;
    text-align: right;
    margin-top: var(--space-xs);
  }

  .agent-type-card {
    padding: var(--space-sm);
  }

  .agent-type-header {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-xs);
  }

  .agent-type-features li {
    font-size: 0.75rem;
  }

  .summary-card {
    padding: var(--space-md);
  }

  .summary-total {
    padding: var(--space-md);
  }

  .total-value {
    font-size: 1.5rem;
  }
}

/* ==========================================================================
   CAREERS PAGE
   ========================================================================== */

.careers-section {
  padding-top: var(--space-2xl);
}

.careers-controls {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
  margin-bottom: var(--space-xl);
}

.careers-search-wrapper {
  position: relative;
  max-width: 500px;
}

.careers-search-icon {
  position: absolute;
  left: var(--space-lg);
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  stroke: var(--text-tertiary);
  pointer-events: none;
}

.careers-search-input {
  width: 100%;
  padding: var(--space-md) var(--space-lg);
  padding-left: calc(var(--space-lg) + 28px);
  font-size: 1rem;
  font-family: inherit;
  color: var(--text-primary);
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-lg);
  transition: all var(--transition-base);
}

.careers-search-input:focus {
  outline: none;
  border-color: var(--candlelight);
  box-shadow: 0 0 0 3px rgba(255, 215, 18, 0.1);
}

.careers-search-input::placeholder {
  color: var(--text-tertiary);
}

.careers-categories {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.careers-category-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-sm) var(--space-lg);
  font-size: 0.9375rem;
  font-family: inherit;
  font-weight: 500;
  color: var(--text-secondary);
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-base);
}

.careers-category-btn:hover {
  color: var(--text-primary);
  background: var(--bg-glass);
  border-color: var(--border-medium);
}

.careers-category-btn.active {
  color: var(--deep-space);
  background: var(--candlelight);
  border-color: var(--candlelight);
}

.careers-category-btn:focus-visible {
  outline: 2px solid var(--candlelight);
  outline-offset: 2px;
}

.careers-category-btn svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
}

.careers-count {
  font-size: 0.9375rem;
  color: var(--text-tertiary);
  margin-bottom: var(--space-lg);
}

/* Jobs Grid */
.jobs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-lg);
}

/* Job Card */
.job-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: all var(--transition-base);
  display: flex;
  flex-direction: column;
}

.job-card:hover {
  border-color: var(--border-medium);
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.job-card-header {
  padding: var(--space-xl);
  padding-bottom: var(--space-lg);
  border-bottom: 1px solid var(--border-subtle);
}

.job-info {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.job-department {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  padding: var(--space-xs) var(--space-sm);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-radius: var(--radius-sm);
  width: fit-content;
}

.job-department.engineering {
  color: #6366f1;
  background: rgba(99, 102, 241, 0.1);
}

.job-department.sales {
  color: #10b981;
  background: rgba(16, 185, 129, 0.1);
}

.job-department.marketing {
  color: #f59e0b;
  background: rgba(245, 158, 11, 0.1);
}

.job-title {
  font-family: var(--font-sans);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0;
}

.job-meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-lg);
  margin-top: var(--space-sm);
}

.job-location,
.job-type {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  font-size: 0.875rem;
  color: var(--text-tertiary);
}

.job-location svg,
.job-type svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
}

.job-card-body {
  padding: var(--space-xl);
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.job-section {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.job-section-title {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.job-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.job-list li {
  position: relative;
  padding-left: var(--space-lg);
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.job-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  background: var(--candlelight);
  border-radius: 50%;
}

.job-compensation {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-sm) var(--space-md);
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--candlelight);
  background: var(--bg-glass);
  border-radius: var(--radius-md);
  margin-top: var(--space-sm);
}

.job-compensation svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
}

.job-card-footer {
  padding: var(--space-lg) var(--space-xl);
  padding-top: 0;
  margin-top: auto;
}

.job-card-footer .btn {
  width: 100%;
  justify-content: center;
}

/* No Results */
.no-results {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--space-4xl) var(--space-lg);
  color: var(--text-secondary);
}

.no-results svg {
  width: 64px;
  height: 64px;
  stroke: var(--text-tertiary);
  margin-bottom: var(--space-lg);
}

.no-results h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: var(--space-sm);
}

.no-results p {
  font-size: 1rem;
  color: var(--text-tertiary);
  max-width: 400px;
}
