/* ==========================================
   Microsoft Fluent Design CSS Framework
   VOWSoft Homepage
   ========================================== */

/* CSS自定义属性 - Fluent Design Color System */
:root {
  /* Primary Colors - Microsoft Blue Family */
  --fluent-blue-primary: #0078d4;
  --fluent-blue-hover: #106ebe;
  --fluent-blue-pressed: #005a9e;
  --fluent-blue-light: #deecf9;
  --fluent-blue-tint-10: #106ebe;
  --fluent-blue-tint-20: #2b88d8;
  --fluent-blue-tint-30: #479ef5;
  
  /* Accent Colors */
  --fluent-accent-primary: #0078d4;
  --fluent-accent-secondary: #8764b8;
  --fluent-accent-tertiary: #881798;
  
  /* Neutral Colors */
  --fluent-neutral-white: #ffffff;
  --fluent-neutral-grey-2: #f8f9fa;
  --fluent-neutral-grey-10: #faf9f8;
  --fluent-neutral-grey-20: #f3f2f1;
  --fluent-neutral-grey-30: #edebe9;
  --fluent-neutral-grey-40: #e1dfdd;
  --fluent-neutral-grey-50: #d2d0ce;
  --fluent-neutral-grey-60: #c8c6c4;
  --fluent-neutral-grey-70: #b3b0ad;
  --fluent-neutral-grey-80: #a19f9d;
  --fluent-neutral-grey-90: #8a8886;
  --fluent-neutral-grey-100: #797775;
  --fluent-neutral-grey-110: #69797e;
  --fluent-neutral-grey-120: #5d6a6e;
  --fluent-neutral-grey-130: #484644;
  --fluent-neutral-grey-140: #393939;
  --fluent-neutral-grey-150: #2d2d30;
  --fluent-neutral-grey-160: #252423;
  --fluent-neutral-grey-170: #201f1e;
  --fluent-neutral-grey-180: #1b1a19;
  --fluent-neutral-grey-190: #161514;
  
  /* Semantic Colors */
  --fluent-success: #107c10;
  --fluent-warning: #ff8c00;
  --fluent-error: #d13438;
  --fluent-info: --fluent-blue-primary;
  
  /* Typography */
  --fluent-font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
  --fluent-font-weight-light: 300;
  --fluent-font-weight-regular: 400;
  --fluent-font-weight-medium: 500;
  --fluent-font-weight-semibold: 600;
  --fluent-font-weight-bold: 700;
  
  /* Font Sizes - Fluent Type Ramp */
  --fluent-font-size-10: 10px;
  --fluent-font-size-12: 12px;
  --fluent-font-size-14: 14px;
  --fluent-font-size-16: 16px;
  --fluent-font-size-18: 18px;
  --fluent-font-size-20: 20px;
  --fluent-font-size-24: 24px;
  --fluent-font-size-28: 28px;
  --fluent-font-size-32: 32px;
  --fluent-font-size-40: 40px;
  --fluent-font-size-46: 46px;
  --fluent-font-size-60: 60px;
  --fluent-font-size-68: 68px;
  
  /* Spacing - 4px Base Grid */
  --fluent-spacing-xs: 4px;
  --fluent-spacing-s: 8px;
  --fluent-spacing-m: 12px;
  --fluent-spacing-l: 16px;
  --fluent-spacing-xl: 20px;
  --fluent-spacing-xxl: 24px;
  --fluent-spacing-xxxl: 32px;
  --fluent-spacing-xxxxl: 40px;
  
  /* Shadows - Fluent Depth System */
  --fluent-shadow-2: 0 1px 2px rgba(0, 0, 0, 0.14), 0 0 2px rgba(0, 0, 0, 0.12);
  --fluent-shadow-4: 0 2px 4px rgba(0, 0, 0, 0.14), 0 0 2px rgba(0, 0, 0, 0.12);
  --fluent-shadow-8: 0 4px 8px rgba(0, 0, 0, 0.14), 0 0 2px rgba(0, 0, 0, 0.12);
  --fluent-shadow-16: 0 8px 16px rgba(0, 0, 0, 0.14), 0 0 2px rgba(0, 0, 0, 0.12);
  --fluent-shadow-64: 0 32px 64px rgba(0, 0, 0, 0.24), 0 0 8px rgba(0, 0, 0, 0.12);
  
  /* Border Radius */
  --fluent-corner-radius-none: 0;
  --fluent-corner-radius-small: 2px;
  --fluent-corner-radius-medium: 4px;
  --fluent-corner-radius-large: 8px;
  --fluent-corner-radius-x-large: 12px;
  
  /* Theme Mode Variables */
  --theme-background: var(--fluent-neutral-white);
  --theme-surface: var(--fluent-neutral-grey-10);
  --theme-surface-variant: var(--fluent-neutral-grey-20);
  --theme-text-primary: var(--fluent-neutral-grey-160);
  --theme-text-secondary: var(--fluent-neutral-grey-120);
  --theme-text-tertiary: var(--fluent-neutral-grey-90);
  --theme-border: var(--fluent-neutral-grey-30);
  --theme-shadow: rgba(0, 0, 0, 0.1);
  --theme-card-background: var(--fluent-neutral-white);
  --theme-nav-background: rgba(255, 255, 255, 0.8);
  --theme-footer-background: var(--fluent-neutral-grey-10);

  /* Animations */
  --fluent-duration-ultra-fast: 150ms;
  --fluent-duration-fast: 200ms;
  --fluent-duration-normal: 300ms;
  --fluent-duration-slow: 500ms;
  
  --fluent-ease-accelerate: cubic-bezier(0.9, 0.1, 1, 0.2);
  --fluent-ease-decelerate: cubic-bezier(0.1, 0.9, 0.2, 1);
  --fluent-ease-standard: cubic-bezier(0.8, 0, 0.2, 1);
  --fluent-ease-max: cubic-bezier(0.8, 0, 0.1, 1);
}

/* Dark Mode Variables */
[data-theme="dark"] {
  /* Dark Theme Colors - Improved Contrast */
  --theme-background: var(--fluent-neutral-grey-170);
  --theme-surface: var(--fluent-neutral-grey-160);
  --theme-surface-variant: var(--fluent-neutral-grey-150);
  --theme-text-primary: #ffffff;
  --theme-text-secondary: #e1e1e1;
  --theme-text-tertiary: #c4c4c4;
  --theme-border: var(--fluent-neutral-grey-120);
  --theme-shadow: rgba(0, 0, 0, 0.5);
  --theme-card-background: var(--fluent-neutral-grey-160);
  --theme-nav-background: rgba(27, 26, 25, 0.9);
  --theme-footer-background: var(--fluent-neutral-grey-180);
  
  /* Override specific color variables for dark mode */
  --fluent-neutral-grey-120: #a1a1a1;
  --hero-text-color: #ffffff;
  --card-text-color: #e1e1e1;
  --nav-text-color: #ffffff;
}

/* Additional dark mode styling for specific elements */
[data-theme="dark"] .logo {
  filter: brightness(1.2);
}

[data-theme="dark"] .product-badge {
  background: var(--fluent-neutral-grey-140) !important;
  color: var(--theme-text-primary) !important;
}

[data-theme="dark"] .value-icon {
  background: var(--fluent-neutral-grey-140) !important;
  color: var(--fluent-blue-primary) !important;
}

[data-theme="dark"] .timeline-container {
  background: var(--theme-card-background) !important;
}

[data-theme="dark"] .action-link {
  color: var(--theme-text-secondary) !important;
}

[data-theme="dark"] .action-link:hover {
  color: var(--fluent-blue-primary) !important;
}

/* Button styling for dark mode */
[data-theme="dark"] .fluent-button-outline {
  border-color: var(--theme-text-secondary) !important;
  color: var(--theme-text-primary) !important;
}

[data-theme="dark"] .fluent-button-outline:hover {
  background: var(--fluent-blue-primary) !important;
  border-color: var(--fluent-blue-primary) !important;
  color: var(--fluent-neutral-white) !important;
}

[data-theme="dark"] .language-toggle {
  border-color: var(--theme-border) !important;
  background: var(--theme-card-background) !important;
  color: var(--theme-text-primary) !important;
}

[data-theme="dark"] .language-toggle:hover {
  background: var(--theme-surface-variant) !important;
}

[data-theme="dark"] .language-dropdown {
  background: var(--theme-card-background) !important;
  border-color: var(--theme-border) !important;
}

[data-theme="dark"] .language-option {
  color: var(--theme-text-primary) !important;
}

[data-theme="dark"] .language-option:hover {
  background: rgba(0, 120, 212, 0.1) !important;
  color: var(--theme-text-primary) !important;
}

[data-theme="dark"] .language-option.active {
  background: rgba(0, 120, 212, 0.2) !important;
  color: #4fc3f7 !important;
  border-left: 3px solid var(--fluent-blue-primary) !important;
}

[data-theme="dark"] .language-option.active::after {
  background: #4fc3f7 !important;
}

/* Hero section background for dark mode */
[data-theme="dark"] .hero-section {
  background: linear-gradient(135deg, 
    var(--theme-surface) 0%, 
    var(--theme-background) 30%,
    rgba(0, 120, 212, 0.15) 100%) !important;
}

[data-theme="dark"] .gradient-overlay {
  background: linear-gradient(135deg, 
    rgba(27, 26, 25, 0.8) 0%, 
    rgba(37, 36, 35, 0.6) 50%,
    rgba(0, 120, 212, 0.1) 100%) !important;
}

[data-theme="dark"] .floating-card {
  background: rgba(37, 36, 35, 0.9) !important;
  border: 1px solid var(--theme-border) !important;
}

/* Products section background for dark mode */
[data-theme="dark"] .products-section {
  background: linear-gradient(180deg, 
    var(--theme-background) 0%, 
    var(--theme-surface) 100%) !important;
}

/* Navigation scrolled state for dark mode */
[data-theme="dark"] .nav-container.nav-scrolled {
  background: var(--theme-nav-background) !important;
  border-bottom-color: var(--theme-border) !important;
  box-shadow: 0 2px 8px var(--theme-shadow) !important;
}

/* Primary card styling for dark mode */
[data-theme="dark"] .primary-card {
  background: linear-gradient(135deg, 
    rgba(0, 120, 212, 0.08) 0%, 
    var(--theme-card-background) 50%,
    rgba(135, 100, 184, 0.08) 100%) !important;
  border-color: rgba(0, 120, 212, 0.3) !important;
}

[data-theme="dark"] .primary-card:hover {
  background: linear-gradient(135deg, 
    rgba(0, 120, 212, 0.12) 0%, 
    var(--theme-card-background) 50%,
    rgba(135, 100, 184, 0.12) 100%) !important;
  border-color: rgba(0, 120, 212, 0.5) !important;
}

/* ==========================================
   Reset and Base Styles
   ========================================== */

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

html {
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}

body {
  font-family: var(--fluent-font-family);
  font-weight: var(--fluent-font-weight-regular);
  color: var(--theme-text-primary);
  background: linear-gradient(135deg, var(--theme-surface) 0%, var(--theme-background) 100%);
  min-height: 100vh;
  overflow-x: hidden;
  transition: background var(--fluent-duration-normal) var(--fluent-ease-standard),
              color var(--fluent-duration-normal) var(--fluent-ease-standard);
}

/* ==========================================
   Fluent Design Core Components
   ========================================== */

/* Acrylic Material Effect */
.fluent-acrylic {
  background: var(--theme-nav-background);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid var(--theme-border);
  position: relative;
  transition: background var(--fluent-duration-normal) var(--fluent-ease-standard),
              border-color var(--fluent-duration-normal) var(--fluent-ease-standard);
}

.fluent-acrylic::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, 
    rgba(255, 255, 255, 0.1) 0%, 
    rgba(255, 255, 255, 0.05) 50%, 
    rgba(255, 255, 255, 0.1) 100%);
  pointer-events: none;
  z-index: -1;
}

/* Fluent Card Component */
.fluent-card {
  background: var(--theme-card-background);
  border-radius: var(--fluent-corner-radius-large);
  box-shadow: 0 4px 8px var(--theme-shadow);
  border: 1px solid var(--theme-border);
  transition: all var(--fluent-duration-normal) var(--fluent-ease-standard);
  position: relative;
  overflow: hidden;
}

.fluent-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, 
    transparent 0%, 
    rgba(255, 255, 255, 0.8) 50%, 
    transparent 100%);
  z-index: 1;
}

.fluent-card:hover {
  box-shadow: var(--fluent-shadow-16);
  transform: translateY(-2px);
}

/* Fluent Button Styles */
.fluent-button {
  display: inline-flex;
  align-items: center;
  gap: var(--fluent-spacing-s);
  padding: var(--fluent-spacing-m) var(--fluent-spacing-xl);
  background: var(--fluent-blue-primary);
  color: var(--fluent-neutral-white);
  border: none;
  border-radius: var(--fluent-corner-radius-medium);
  font-family: var(--fluent-font-family);
  font-size: var(--fluent-font-size-14);
  font-weight: var(--fluent-font-weight-semibold);
  cursor: pointer;
  transition: all var(--fluent-duration-fast) var(--fluent-ease-standard);
  position: relative;
  overflow: hidden;
  box-shadow: var(--fluent-shadow-2);
  text-decoration: none;
}

.fluent-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, 
    transparent 0%, 
    rgba(255, 255, 255, 0.2) 50%, 
    transparent 100%);
  transition: left var(--fluent-duration-normal) var(--fluent-ease-standard);
}

.fluent-button:hover {
  background: var(--fluent-blue-hover);
  box-shadow: var(--fluent-shadow-4);
  transform: translateY(-1px);
}

.fluent-button:hover::before {
  left: 100%;
}

.fluent-button:active {
  background: var(--fluent-blue-pressed);
  transform: translateY(0);
  box-shadow: var(--fluent-shadow-2);
}

.fluent-button-outline {
  background: transparent;
  color: var(--fluent-blue-primary);
  border: 2px solid var(--fluent-blue-primary);
}

.fluent-button-outline:hover {
  background: var(--fluent-blue-light);
  color: var(--fluent-blue-hover);
  border-color: var(--fluent-blue-hover);
}

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

.nav-container {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0;
  transition: all var(--fluent-duration-normal) var(--fluent-ease-standard);
}

/* Navigation scrolled state */
.nav-container.nav-scrolled {
  background: var(--theme-nav-background);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--theme-border);
  box-shadow: 0 2px 8px var(--theme-shadow);
}

/* Navigation hidden state */
.nav-container.nav-hidden {
  transform: translateY(-100%);
}

.nav-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--fluent-spacing-l) var(--fluent-spacing-xxl);
  height: 72px;
}

.nav-left {
  display: flex;
  align-items: center;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: var(--fluent-spacing-m);
  cursor: pointer;
  transition: all var(--fluent-duration-fast) var(--fluent-ease-standard);
}

.logo {
  width: 64px;
  height: 64px;
  border-radius: var(--fluent-corner-radius-medium);
  background: var(--theme-card-background);
}

.logo-text {
  font-size: var(--fluent-font-size-32);
  font-weight: var(--fluent-font-weight-semibold);
  color: var(--theme-text-primary);
}

.nav-center {
  display: flex;
  align-items: center;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: var(--fluent-spacing-xxxl);
  margin: 0;
  padding: 0;
}

.nav-link {
  color: var(--theme-text-secondary);
  text-decoration: none;
  font-size: var(--fluent-font-size-20);
  font-weight: var(--fluent-font-weight-medium);
  padding: var(--fluent-spacing-s) var(--fluent-spacing-l);
  border-radius: var(--fluent-corner-radius-medium);
  transition: all var(--fluent-duration-fast) var(--fluent-ease-standard);
  position: relative;
}

.nav-link::before {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--fluent-blue-primary);
  transform: translateX(-50%);
  transition: width var(--fluent-duration-fast) var(--fluent-ease-standard);
}

.nav-link:hover {
  color: var(--fluent-blue-primary);
  background: rgba(0, 120, 212, 0.05);
}

.nav-link:hover::before {
  width: 80%;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: var(--fluent-spacing-l);
}

.primary-cta {
  background: linear-gradient(135deg, var(--fluent-blue-primary) 0%, var(--fluent-blue-tint-20) 100%);
}

/* ==========================================
   Language Selector Component
   ========================================== */

.language-selector {
  position: relative;
  display: inline-block;
}

.language-toggle {
  display: flex;
  align-items: center;
  gap: var(--fluent-spacing-s);
  padding: var(--fluent-spacing-s) var(--fluent-spacing-m);
  min-width: 100px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--fluent-neutral-grey-130);
  font-size: var(--fluent-font-size-12);
  font-weight: var(--fluent-font-weight-medium);
  cursor: pointer;
  transition: all var(--fluent-duration-fast) var(--fluent-ease-standard);
  backdrop-filter: blur(10px);
}

.language-toggle:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--fluent-blue-primary);
  color: var(--fluent-blue-primary);
  transform: translateY(-1px);
}

.language-toggle .fas {
  font-size: var(--fluent-font-size-10);
  transition: transform var(--fluent-duration-fast) var(--fluent-ease-standard);
}

.language-toggle.active .fas {
  transform: rotate(180deg);
}

.language-flag {
  font-size: var(--fluent-font-size-14);
  line-height: 1;
}

.language-text {
  flex: 1;
  text-align: left;
}

.language-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  min-width: 150px;
  background: var(--theme-card-background);
  border-radius: var(--fluent-corner-radius-medium);
  box-shadow: var(--fluent-shadow-16);
  border: 1px solid var(--theme-border);
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all var(--fluent-duration-normal) var(--fluent-ease-decelerate);
  z-index: 1000;
  backdrop-filter: blur(20px);
}

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

.language-dropdown::before {
  content: '';
  position: absolute;
  top: -6px;
  right: 20px;
  width: 12px;
  height: 12px;
  background: var(--theme-card-background);
  border: 1px solid var(--theme-border);
  border-bottom: none;
  border-right: none;
  transform: rotate(45deg);
  z-index: -1;
}

.language-option {
  display: flex;
  align-items: center;
  gap: var(--fluent-spacing-m);
  padding: var(--fluent-spacing-m) var(--fluent-spacing-l);
  color: var(--fluent-neutral-grey-130);
  text-decoration: none;
  font-size: var(--fluent-font-size-14);
  font-weight: var(--fluent-font-weight-medium);
  transition: all var(--fluent-duration-fast) var(--fluent-ease-standard);
  border-bottom: 1px solid var(--fluent-neutral-grey-20);
  position: relative;
  overflow: hidden;
}

.language-option:last-child {
  border-bottom: none;
}

.language-option::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, 
    transparent 0%, 
    rgba(0, 120, 212, 0.05) 50%, 
    transparent 100%);
  transform: translateX(-100%);
  transition: transform var(--fluent-duration-normal) var(--fluent-ease-standard);
}

.language-option:hover {
  background: var(--fluent-blue-light);
  color: var(--fluent-blue-primary);
  transform: translateX(2px);
}

.language-option:hover::before {
  transform: translateX(0);
}

.language-option.active {
  background: var(--fluent-blue-light);
  color: var(--fluent-blue-primary);
  font-weight: var(--fluent-font-weight-semibold);
}

.language-option.active::after {
  content: '';
  position: absolute;
  right: var(--fluent-spacing-m);
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--fluent-blue-primary);
}

/* Language Selector Responsive */
@media (max-width: 768px) {
  .language-selector {
    order: -1;
  }
  
  .language-toggle {
    min-width: 80px;
    padding: var(--fluent-spacing-xs) var(--fluent-spacing-s);
  }
  
  .language-text {
    display: none;
  }
  
  .language-dropdown {
    right: auto;
    left: 0;
    min-width: 120px;
  }
  
  .language-dropdown::before {
    right: auto;
    left: 20px;
  }
}

/* ==========================================
   Main Content Layout
   ========================================== */

.main-content {
  margin-top: 72px;
}

/* ==========================================
   Hero Section
   ========================================== */

.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, 
    var(--theme-surface) 0%, 
    var(--theme-background) 30%,
    var(--fluent-blue-light) 100%);
}

/* Utilities Hero Section */
.utilities-hero {
  min-height: 60vh;
}

.utilities-hero .hero-title {
  text-align: center;
}

.utilities-hero .hero-subtitle {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
}

.gradient-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, 
    rgba(255, 255, 255, 0.9) 0%, 
    rgba(255, 255, 255, 0.7) 50%,
    rgba(222, 236, 249, 0.8) 100%);
}

.geometric-shapes {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  overflow: hidden;
}

.shape {
  position: absolute;
  border-radius: 50%;
  background: linear-gradient(135deg, 
    rgba(0, 120, 212, 0.1) 0%, 
    rgba(135, 100, 184, 0.1) 100%);
  animation: float 6s ease-in-out infinite;
}

.shape-1 {
  width: 300px;
  height: 300px;
  top: 10%;
  right: 10%;
  animation-delay: 0s;
}

.shape-2 {
  width: 200px;
  height: 200px;
  bottom: 20%;
  left: 15%;
  animation-delay: 2s;
}

.shape-3 {
  width: 150px;
  height: 150px;
  top: 60%;
  right: 20%;
  animation-delay: 4s;
}

@keyframes float {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  25% { transform: translateY(-20px) rotate(5deg); }
  50% { transform: translateY(-10px) rotate(-5deg); }
  75% { transform: translateY(-30px) rotate(3deg); }
}

.hero-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--fluent-spacing-xxl);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--fluent-spacing-xxxxl);
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-text {
  opacity: 0;
  transform: translateY(40px);
  animation: fadeInUp 1s var(--fluent-ease-decelerate) 0.5s forwards;
}

.hero-title {
  margin-bottom: var(--fluent-spacing-xxl);
  line-height: 1.2;
}

.title-main {
  display: block;
  font-size: var(--fluent-font-size-46);
  font-weight: var(--fluent-font-weight-light);
  color: var(--theme-text-primary);
  margin-bottom: var(--fluent-spacing-s);
}

.title-accent {
  display: block;
  font-size: var(--fluent-font-size-60);
  font-weight: var(--fluent-font-weight-bold);
  background: linear-gradient(135deg, 
    var(--fluent-blue-primary) 0%, 
    var(--fluent-accent-secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: var(--fluent-font-size-18);
  color: var(--theme-text-secondary);
  line-height: 1.6;
  margin-bottom: var(--fluent-spacing-xxxl);
  max-width: 500px;
}

.hero-ctas {
  display: flex;
  gap: var(--fluent-spacing-l);
  flex-wrap: wrap;
}

.cta-primary {
  font-size: var(--fluent-font-size-16);
  padding: var(--fluent-spacing-l) var(--fluent-spacing-xxl);
}

.cta-secondary {
  font-size: var(--fluent-font-size-16);
  padding: var(--fluent-spacing-l) var(--fluent-spacing-xxl);
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transform: translateY(40px);
  animation: fadeInUp 1s var(--fluent-ease-decelerate) 0.8s forwards;
}

.floating-card {
  width: 400px;
  height: 300px;
  padding: var(--fluent-spacing-xxxl);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  position: relative;
  animation: cardFloat 4s ease-in-out infinite;
}

@keyframes cardFloat {
  0%, 100% { transform: translateY(0px) rotateX(0deg); }
  50% { transform: translateY(-10px) rotateX(2deg); }
}

.card-glow {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, 
    rgba(0, 120, 212, 0.1) 0%, 
    transparent 70%);
  animation: pulse 3s ease-in-out infinite;
  z-index: -1;
}

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

.ai-visualization {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ai-nodes {
  position: relative;
  width: 200px;
  height: 200px;
}

.node {
  position: absolute;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: linear-gradient(135deg, 
    var(--fluent-blue-primary) 0%, 
    var(--fluent-accent-secondary) 100%);
  box-shadow: var(--fluent-shadow-4);
}

.node-1 {
  top: 20%;
  left: 50%;
  transform: translateX(-50%);
  animation: nodePulse 2s ease-in-out infinite;
}

.node-2 {
  bottom: 20%;
  left: 20%;
  animation: nodePulse 2s ease-in-out infinite 0.5s;
}

.node-3 {
  bottom: 20%;
  right: 20%;
  animation: nodePulse 2s ease-in-out infinite 1s;
}

@keyframes nodePulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.2); opacity: 0.8; }
}

.connection-lines {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.connection {
  stroke: var(--fluent-blue-primary);
  stroke-width: 2;
  fill: none;
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
  animation: drawLine 3s ease-in-out infinite;
}

@keyframes drawLine {
  0% { stroke-dashoffset: 100; }
  50% { stroke-dashoffset: 0; }
  100% { stroke-dashoffset: -100; }
}

/* ==========================================
   Products Section
   ========================================== */

.products-section {
  padding: 120px 0;
  background: linear-gradient(180deg, 
    var(--theme-background) 0%, 
    var(--theme-surface) 100%);
}

.section-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--fluent-spacing-xxl);
}

.section-header {
  text-align: center;
  margin-bottom: var(--fluent-spacing-xxxxl);
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s var(--fluent-ease-decelerate) forwards;
}

.section-title {
  font-size: var(--fluent-font-size-40);
  font-weight: var(--fluent-font-weight-semibold);
  color: var(--theme-text-primary);
  margin-bottom: var(--fluent-spacing-l);
}

.section-subtitle {
  font-size: var(--fluent-font-size-18);
  color: var(--theme-text-secondary);
}

.products-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--fluent-spacing-xxxl);
}

.product-card {
  padding: var(--fluent-spacing-xxxl);
  display: flex;
  flex-direction: column;
  min-height: 500px;
  opacity: 0;
  transform: translateY(40px);
  animation: fadeInUp 0.8s var(--fluent-ease-decelerate) forwards;
}

.primary-card {
  background: linear-gradient(135deg, 
    rgba(0, 120, 212, 0.02) 0%, 
    var(--theme-card-background) 50%,
    rgba(135, 100, 184, 0.02) 100%);
  border: 2px solid var(--fluent-blue-light);
}

.primary-card:hover {
  background: linear-gradient(135deg, 
    rgba(0, 120, 212, 0.05) 0%, 
    var(--theme-card-background) 50%,
    rgba(135, 100, 184, 0.05) 100%);
  border-color: var(--fluent-blue-primary);
}

.secondary-card {
  animation-delay: 0.2s;
}

.card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--fluent-spacing-xxl);
}

.product-icon {
  width: 60px;
  height: 60px;
  border-radius: var(--fluent-corner-radius-large);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--fluent-font-size-24);
  color: var(--fluent-neutral-white);
}

.ai-icon {
  background: linear-gradient(135deg, 
    var(--fluent-blue-primary) 0%, 
    var(--fluent-accent-secondary) 100%);
  box-shadow: var(--fluent-shadow-8);
}

.utility-icon {
  background: linear-gradient(135deg, 
    var(--fluent-neutral-grey-90) 0%, 
    var(--fluent-neutral-grey-110) 100%);
  box-shadow: var(--fluent-shadow-4);
}

.product-badge {
  padding: var(--fluent-spacing-xs) var(--fluent-spacing-m);
  border-radius: var(--fluent-corner-radius-x-large);
  font-size: var(--fluent-font-size-12);
  font-weight: var(--fluent-font-weight-semibold);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.product-badge:not(.legacy) {
  background: linear-gradient(135deg, 
    var(--fluent-blue-primary) 0%, 
    var(--fluent-accent-secondary) 100%);
  color: var(--fluent-neutral-white);
}

.product-badge.legacy {
  background: var(--theme-surface-variant);
  color: var(--theme-text-secondary);
}

.card-content {
  flex: 1;
  margin-bottom: var(--fluent-spacing-xxl);
}

.product-title {
  font-size: var(--fluent-font-size-24);
  font-weight: var(--fluent-font-weight-semibold);
  color: var(--theme-text-primary);
  margin-bottom: var(--fluent-spacing-s);
}

.product-subtitle {
  font-size: var(--fluent-font-size-14);
  color: var(--theme-text-tertiary);
  margin-bottom: var(--fluent-spacing-l);
  font-weight: var(--fluent-font-weight-medium);
}

.product-description {
  font-size: var(--fluent-font-size-16);
  color: var(--theme-text-secondary);
  line-height: 1.6;
  margin-bottom: var(--fluent-spacing-xxl);
}

.feature-highlights {
  display: flex;
  flex-direction: column;
  gap: var(--fluent-spacing-m);
}

.feature-item {
  display: flex;
  align-items: center;
  gap: var(--fluent-spacing-m);
  font-size: var(--fluent-font-size-14);
  color: var(--theme-text-secondary);
}

.feature-item i {
  color: var(--fluent-success);
  font-size: var(--fluent-font-size-16);
}

.product-stats {
  display: flex;
  gap: var(--fluent-spacing-xxxl);
  margin-top: var(--fluent-spacing-xxl);
}

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

.stat-number {
  display: block;
  font-size: var(--fluent-font-size-28);
  font-weight: var(--fluent-font-weight-bold);
  color: var(--fluent-blue-primary);
  line-height: 1;
}

.stat-label {
  font-size: var(--fluent-font-size-12);
  color: var(--theme-text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Product highlights styling */
.product-highlights {
  display: flex;
  flex-direction: column;
  gap: var(--fluent-spacing-m);
  margin: var(--fluent-spacing-xxl) 0;
}

.highlight-item {
  display: flex;
  align-items: center;
  gap: var(--fluent-spacing-m);
  padding: var(--fluent-spacing-s) 0;
  color: var(--theme-text-secondary);
  font-size: var(--fluent-font-size-14);
  font-weight: var(--fluent-font-weight-semibold);
  transition: color 0.2s var(--fluent-easing-standard);
}

.highlight-item:hover {
  color: var(--theme-text-primary);
}

.highlight-item i {
  color: var(--fluent-accent-primary);
  font-size: var(--fluent-font-size-16);
  width: 16px;
  text-align: center;
  transition: color 0.2s var(--fluent-easing-standard);
}

/* View all utilities button styling */
.view-all-btn {
  width: 100%;
  justify-content: center;
  gap: var(--fluent-spacing-s);
  padding: var(--fluent-spacing-m) var(--fluent-spacing-xxl);
  font-weight: var(--fluent-font-weight-semibold);
  transition: all 0.3s var(--fluent-easing-accelerate);
}

.view-all-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 123, 255, 0.25);
}

.view-all-btn i {
  transition: transform 0.2s var(--fluent-easing-standard);
}

.view-all-btn:hover i {
  transform: translateX(4px);
}

.card-actions {
  margin-top: auto;
}

.learn-more-btn {
  width: 100%;
  justify-content: center;
  font-size: var(--fluent-font-size-16);
  padding: var(--fluent-spacing-l);
}

.action-links {
  display: flex;
  gap: var(--fluent-spacing-xl);
}

.action-link {
  color: var(--fluent-blue-primary);
  text-decoration: none;
  font-size: var(--fluent-font-size-14);
  font-weight: var(--fluent-font-weight-semibold);
  padding: var(--fluent-spacing-s) var(--fluent-spacing-m);
  border-radius: var(--fluent-corner-radius-medium);
  transition: all var(--fluent-duration-fast) var(--fluent-ease-standard);
  position: relative;
}

.action-link::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--fluent-blue-primary);
  transition: width var(--fluent-duration-fast) var(--fluent-ease-standard);
}

.action-link:hover {
  background: var(--fluent-blue-light);
  color: var(--fluent-blue-hover);
}

.action-link:hover::before {
  width: 100%;
}

/* ==========================================
   About Section
   ========================================== */

.about-section {
  padding: 120px 0;
  margin: 120px 0;
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--fluent-spacing-xxxxl);
  align-items: center;
}

.about-text {
  opacity: 0;
  transform: translateX(-40px);
  animation: fadeInLeft 0.8s var(--fluent-ease-decelerate) forwards;
}

.about-title {
  font-size: var(--fluent-font-size-32);
  font-weight: var(--fluent-font-weight-semibold);
  color: var(--theme-text-primary);
  margin-bottom: var(--fluent-spacing-xxl);
  line-height: 1.3;
}

.about-description {
  font-size: var(--fluent-font-size-16);
  color: var(--theme-text-secondary);
  line-height: 1.7;
  margin-bottom: var(--fluent-spacing-xxxl);
}

.company-values {
  display: flex;
  flex-direction: column;
  gap: var(--fluent-spacing-xxl);
}

.value-item {
  display: flex;
  gap: var(--fluent-spacing-l);
  opacity: 0;
  transform: translateX(-20px);
  animation: fadeInLeft 0.6s var(--fluent-ease-decelerate) forwards;
}

.value-item:nth-child(1) { animation-delay: 0.2s; }
.value-item:nth-child(2) { animation-delay: 0.4s; }
.value-item:nth-child(3) { animation-delay: 0.6s; }

.value-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--fluent-corner-radius-large);
  background: linear-gradient(135deg, 
    var(--fluent-blue-primary) 0%, 
    var(--fluent-accent-secondary) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--fluent-neutral-white);
  font-size: var(--fluent-font-size-20);
  flex-shrink: 0;
  box-shadow: var(--fluent-shadow-4);
}

.value-content h4 {
  font-size: var(--fluent-font-size-18);
  font-weight: var(--fluent-font-weight-semibold);
  color: var(--theme-text-primary);
  margin-bottom: var(--fluent-spacing-xs);
}

.value-content p {
  font-size: var(--fluent-font-size-14);
  color: var(--theme-text-secondary);
  line-height: 1.6;
}

.about-visual {
  display: flex;
  justify-content: center;
  opacity: 0;
  transform: translateX(40px);
  animation: fadeInRight 0.8s var(--fluent-ease-decelerate) 0.3s forwards;
}

.timeline-container {
  padding: var(--fluent-spacing-xxxl);
  max-width: 300px;
  background: rgba(255, 255, 255, 0.95);
}

.timeline-item {
  display: flex;
  align-items: center;
  gap: var(--fluent-spacing-l);
  margin-bottom: var(--fluent-spacing-xxl);
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.6s var(--fluent-ease-decelerate) forwards;
}

.timeline-item:nth-child(1) { animation-delay: 0.5s; }
.timeline-item:nth-child(2) { animation-delay: 0.7s; }
.timeline-item:nth-child(3) { animation-delay: 0.9s; }

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-year {
  font-size: var(--fluent-font-size-18);
  font-weight: var(--fluent-font-weight-bold);
  color: var(--fluent-blue-primary);
  min-width: 60px;
}

.timeline-event {
  font-size: var(--fluent-font-size-14);
  color: var(--theme-text-secondary);
  line-height: 1.4;
}

/* ==========================================
   UTILITIES PAGE STYLES
   ========================================== */

.utilities-section {
  padding: var(--fluent-spacing-xxxxl) 0;
  background: var(--theme-background);
}

.utilities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
  gap: var(--fluent-spacing-xxxxl);
  margin-bottom: var(--fluent-spacing-xxxxxxl);
}

.utility-card {
  padding: var(--fluent-spacing-xxxl);
  background: var(--theme-card-background);
  border: 1px solid var(--theme-border);
  border-radius: var(--fluent-border-radius-large);
  transition: all 0.3s var(--fluent-easing-standard);
  position: relative;
  overflow: hidden;
}

.utility-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--fluent-shadow-64);
  border-color: var(--fluent-accent-primary);
}

.utility-card .card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--fluent-spacing-xxl);
}

.utility-card .product-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--fluent-accent-primary), var(--fluent-accent-secondary));
  border-radius: var(--fluent-border-radius-medium);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--fluent-font-size-24);
  color: white;
  box-shadow: var(--fluent-shadow-16);
}

.utility-card .product-badge {
  background: var(--fluent-accent-light);
  color: var(--fluent-accent-primary);
  padding: var(--fluent-spacing-xs) var(--fluent-spacing-s);
  border-radius: var(--fluent-border-radius-small);
  font-size: var(--fluent-font-size-12);
  font-weight: var(--fluent-font-weight-semibold);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.utility-card .product-title {
  font-size: var(--fluent-font-size-24);
  font-weight: var(--fluent-font-weight-bold);
  color: var(--theme-text-primary);
  margin-bottom: var(--fluent-spacing-xs);
}

.utility-card .product-subtitle {
  font-size: var(--fluent-font-size-16);
  color: var(--fluent-accent-primary);
  font-weight: var(--fluent-font-weight-semibold);
  margin-bottom: var(--fluent-spacing-s);
}

.utility-card .product-description {
  font-size: var(--fluent-font-size-14);
  color: var(--theme-text-secondary);
  line-height: 1.6;
  margin-bottom: var(--fluent-spacing-xl);
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: var(--fluent-spacing-s);
  margin-bottom: var(--fluent-spacing-xl);
}

.feature-list .feature-item {
  display: flex;
  align-items: center;
  gap: var(--fluent-spacing-s);
  font-size: var(--fluent-font-size-14);
  color: var(--theme-text-secondary);
}

.feature-list .feature-item i {
  color: var(--fluent-accent-primary);
  font-size: var(--fluent-font-size-12);
}

.action-buttons {
  display: flex;
  flex-direction: column;
  gap: var(--fluent-spacing-s);
}

.action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--fluent-spacing-s) var(--fluent-spacing-xl);
  border-radius: var(--fluent-border-radius-medium);
  font-size: var(--fluent-font-size-14);
  font-weight: var(--fluent-font-weight-semibold);
  text-decoration: none;
  transition: all 0.2s var(--fluent-easing-standard);
  border: none;
  cursor: pointer;
}

.action-btn.primary {
  background: var(--fluent-accent-primary);
  color: white;
}

.action-btn.primary:hover {
  background: var(--fluent-accent-dark);
  transform: translateY(-1px);
}

.action-btn.secondary {
  background: transparent;
  color: var(--fluent-accent-primary);
  border: 1px solid var(--fluent-accent-primary);
}

.action-btn.secondary:hover {
  background: var(--fluent-accent-primary);
  color: white;
}

.action-btn.tertiary {
  background: transparent;
  color: var(--theme-text-secondary);
  text-decoration: underline;
}

.action-btn.tertiary:hover {
  color: var(--fluent-accent-primary);
}

/* Utilities Info Section */
.utilities-info {
  background: var(--theme-surface);
  padding: var(--fluent-spacing-xxxxl);
  border-radius: var(--fluent-border-radius-large);
  margin-top: var(--fluent-spacing-xxxxl);
}

.info-title {
  font-size: var(--fluent-font-size-32);
  font-weight: var(--fluent-font-weight-bold);
  color: var(--theme-text-primary);
  text-align: center;
  margin-bottom: var(--fluent-spacing-l);
}

.info-description {
  font-size: var(--fluent-font-size-16);
  color: var(--theme-text-secondary);
  text-align: center;
  line-height: 1.6;
  max-width: 800px;
  margin: 0 auto var(--fluent-spacing-xxxl);
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--fluent-spacing-xxxl);
}

.benefit-item {
  text-align: center;
  padding: var(--fluent-spacing-xl);
}

.benefit-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--fluent-accent-light), var(--fluent-accent-primary));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--fluent-spacing-l);
  font-size: var(--fluent-font-size-24);
  color: var(--fluent-accent-primary);
}

.benefit-item h4 {
  font-size: var(--fluent-font-size-18);
  font-weight: var(--fluent-font-weight-bold);
  color: var(--theme-text-primary);
  margin-bottom: var(--fluent-spacing-s);
}

.benefit-item p {
  font-size: var(--fluent-font-size-14);
  color: var(--theme-text-secondary);
  line-height: 1.5;
}

/* Active navigation link */
.nav-link.active {
  color: var(--fluent-accent-primary);
  font-weight: var(--fluent-font-weight-semibold);
}

/* Responsive design for utilities page */
@media (max-width: 768px) {
  .utilities-grid {
    grid-template-columns: 1fr;
    gap: var(--fluent-spacing-xxxl);
  }
  
  .utility-card {
    padding: var(--fluent-spacing-xxl);
  }
  
  .benefits-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--fluent-spacing-xxl);
  }
  
  .action-buttons {
    flex-direction: column;
  }
}

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

.footer-section {
  padding: 80px 0 40px;
  margin-top: 120px;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--fluent-spacing-xxl);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--fluent-spacing-xxxl);
  margin-bottom: var(--fluent-spacing-xxxxl);
}

.footer-column {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.6s var(--fluent-ease-decelerate) forwards;
}

.footer-column:nth-child(1) { animation-delay: 0.1s; }
.footer-column:nth-child(2) { animation-delay: 0.2s; }
.footer-column:nth-child(3) { animation-delay: 0.3s; }
.footer-column:nth-child(4) { animation-delay: 0.4s; }

.footer-title {
  font-size: var(--fluent-font-size-16);
  font-weight: var(--fluent-font-weight-semibold);
  color: var(--theme-text-primary);
  margin-bottom: var(--fluent-spacing-l);
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--fluent-spacing-m);
}

.footer-links a {
  color: var(--theme-text-secondary);
  text-decoration: none;
  font-size: var(--fluent-font-size-14);
  transition: color var(--fluent-duration-fast) var(--fluent-ease-standard);
}

.footer-links a:hover {
  color: var(--fluent-blue-primary);
}

.social-links {
  display: flex;
  gap: var(--fluent-spacing-l);
}

.social-link {
  width: 40px;
  height: 40px;
  border-radius: var(--fluent-corner-radius-medium);
  background: var(--theme-surface-variant);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--theme-text-secondary);
  text-decoration: none;
  transition: all var(--fluent-duration-fast) var(--fluent-ease-standard);
}

.social-link:hover {
  background: var(--fluent-blue-primary);
  color: var(--fluent-neutral-white);
  transform: translateY(-2px);
  box-shadow: var(--fluent-shadow-4);
}

.footer-bottom {
  padding-top: var(--fluent-spacing-xxl);
  border-top: 1px solid var(--fluent-neutral-grey-30);
  text-align: center;
}

.legal-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--fluent-spacing-m);
  margin-bottom: var(--fluent-spacing-m);
}

.legal-links a {
  color: var(--theme-text-secondary);
  text-decoration: none;
  font-size: var(--fluent-font-size-14);
  transition: color var(--fluent-duration-fast) var(--fluent-ease-standard);
}

.legal-links a:hover {
  color: var(--fluent-blue-primary);
}

.legal-links .separator {
  color: var(--theme-text-tertiary);
}

.copyright {
  font-size: var(--fluent-font-size-14);
  color: var(--theme-text-tertiary);
}

/* ==========================================
   Cookie Consent & Preferences
   ========================================== */

.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2000;
  display: none;
}

.cookie-banner .cookie-container {
  max-width: 980px;
  margin: 0 auto var(--fluent-spacing-xxl);
  padding: var(--fluent-spacing-xxl);
}

.cookie-title {
  font-size: var(--fluent-font-size-18);
  font-weight: var(--fluent-font-weight-semibold);
  margin-bottom: var(--fluent-spacing-m);
}

.cookie-message {
  color: var(--theme-text-secondary);
  margin-bottom: var(--fluent-spacing-l);
}

.cookie-actions {
  display: flex;
  gap: var(--fluent-spacing-m);
  flex-wrap: wrap;
}

.cookie-link {
  color: var(--fluent-blue-primary);
  text-decoration: none;
}

.cookie-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.4);
  display: none;
  z-index: 2100;
  pointer-events: auto;
}

.cookie-modal {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  max-width: 760px;
  max-height: 90vh;
  z-index: 2200;
  display: none;
  pointer-events: auto;
  overflow-y: auto;
}

.cookie-modal .cookie-body {
  padding: var(--fluent-spacing-xxxl);
}

.cookie-modal h2 {
  margin-bottom: var(--fluent-spacing-m);
}

.cookie-modal p {
  color: var(--theme-text-secondary);
}

.cookie-categories {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--fluent-spacing-xxl);
  margin-top: var(--fluent-spacing-xxl);
}

.cookie-category {
  padding: var(--fluent-spacing-xxl);
}

.cookie-category h3 {
  margin-bottom: var(--fluent-spacing-s);
}

.cookie-modal .cookie-actions {
  margin-top: var(--fluent-spacing-xxl);
  justify-content: flex-end;
  gap: var(--fluent-spacing-l);
}

.cookie-modal .cookie-actions #cookieBtnCancel {
  min-width: 120px;
  padding: var(--fluent-spacing-m) var(--fluent-spacing-xxl);
}

@media (max-width: 768px) {
  .cookie-categories { 
    gap: var(--fluent-spacing-l); 
  }
  
  .cookie-modal {
    width: 95%;
    max-width: none;
    max-height: 95vh;
  }
  
  .cookie-modal .cookie-body {
    padding: var(--fluent-spacing-xxl);
  }
}

/* ==========================================
   Animations
   ========================================== */

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

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

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

@media (max-width: 1024px) {
  .nav-content {
    padding: var(--fluent-spacing-l) var(--fluent-spacing-l);
  }
  
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: var(--fluent-spacing-xxl);
  }
  
  .products-grid {
    grid-template-columns: 1fr;
    gap: var(--fluent-spacing-xxl);
  }
  
  .about-content {
    grid-template-columns: 1fr;
    gap: var(--fluent-spacing-xxl);
    text-align: center;
  }
  
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--fluent-spacing-xxl);
  }
}

@media (max-width: 768px) {
  .nav-center {
    display: none;
  }
  
  .nav-content {
    justify-content: space-between;
  }
  
  .title-main {
    font-size: var(--fluent-font-size-32);
  }
  
  .title-accent {
    font-size: var(--fluent-font-size-40);
  }
  
  .hero-subtitle {
    font-size: var(--fluent-font-size-16);
  }
  
  .hero-ctas {
    flex-direction: column;
    align-items: center;
  }
  
  .floating-card {
    width: 300px;
    height: 250px;
    padding: var(--fluent-spacing-xxl);
  }
  
  .section-title {
    font-size: var(--fluent-font-size-28);
  }
  
  .about-title {
    font-size: var(--fluent-font-size-24);
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--fluent-spacing-xxl);
    text-align: center;
  }
  
  .social-links {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .section-container,
  .nav-content,
  .footer-container {
    padding-left: var(--fluent-spacing-l);
    padding-right: var(--fluent-spacing-l);
  }
  
  .hero-content {
    padding: 0 var(--fluent-spacing-l);
  }
  
  .product-card {
    padding: var(--fluent-spacing-xxl);
  }
  
  .floating-card {
    width: 280px;
    height: 200px;
    padding: var(--fluent-spacing-l);
  }
}

/* ==========================================
   Print Styles
   ========================================== */

@media print {
  .nav-container,
  .hero-visual,
  .geometric-shapes,
  .floating-card {
    display: none;
  }
  
  .main-content {
    margin-top: 0;
  }
  
  body {
    background: white;
    color: black;
  }
  
  .fluent-card,
  .fluent-acrylic {
    background: white;
    border: 1px solid #ccc;
    box-shadow: none;
  }
}

/* ==========================================
   High Contrast Mode Support
   ========================================== */

@media (prefers-contrast: high) {
  :root {
    --fluent-neutral-grey-10: #ffffff;
    --fluent-neutral-grey-160: #000000;
    --fluent-blue-primary: #0000ff;
  }
  
  .fluent-card {
    border: 2px solid;
  }
  
  .fluent-button {
    border: 2px solid;
  }
}

/* ==========================================
   Reduced Motion Support
   ========================================== */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  
  .shape,
  .floating-card,
  .node {
    animation: none;
  }
}

/* ==========================================
   Focus Management
   ========================================== */

:focus-visible {
  outline: 2px solid var(--fluent-blue-primary);
  outline-offset: 2px;
}

.fluent-button:focus-visible,
.nav-link:focus-visible,
.action-link:focus-visible {
  outline: 2px solid var(--fluent-blue-primary);
  outline-offset: 2px;
}

/* ==========================================
   Utility Classes
   ========================================== */

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

/* ==========================================
   Theme Toggle Button
   ========================================== */

.theme-toggle {
  position: relative;
  background: var(--theme-card-background);
  border: 1px solid var(--theme-border);
  border-radius: var(--fluent-corner-radius-large);
  padding: 8px;
  cursor: pointer;
  transition: all var(--fluent-duration-fast) var(--fluent-ease-standard);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin-left: 12px;
}

.theme-toggle:hover {
  background: var(--theme-surface-variant);
  transform: scale(1.05);
}

.theme-toggle:active {
  transform: scale(0.95);
}

.theme-toggle i {
  font-size: 18px;
  color: var(--theme-text-primary);
  transition: all var(--fluent-duration-fast) var(--fluent-ease-standard);
}

.theme-toggle[data-reveal] {
  box-shadow: 0 2px 4px var(--theme-shadow);
}

/* Theme toggle icon animation */
.theme-toggle.rotating i {
  animation: themeToggleRotate var(--fluent-duration-normal) var(--fluent-ease-standard);
}

@keyframes themeToggleRotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* Contact Page Specific Styles */
.contact-section {
  padding: var(--fluent-spacing-xxxxl) 0;
  background: var(--theme-background);
}

.contact-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--fluent-spacing-xxl);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--fluent-spacing-xxxxl);
  align-items: start;
}

.contact-info {
  padding: var(--fluent-spacing-xxxl);
}

.contact-info h2 {
  font-size: var(--fluent-font-size-32);
  font-weight: var(--fluent-font-weight-semibold);
  color: var(--theme-text-primary);
  margin-bottom: var(--fluent-spacing-xxl);
}

.contact-info p {
    font-size: var(--fluent-font-size-16);
    color: var(--theme-text-secondary);
    line-height: 1.6;
    margin-bottom: var(--fluent-spacing-xxxl);
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: var(--fluent-spacing-xl);
}

.contact-item {
    display: flex;
    align-items: center;
    gap: var(--fluent-spacing-l);
    padding: var(--fluent-spacing-l);
    background: var(--theme-surface);
    border-radius: var(--fluent-corner-radius-large);
    border: 1px solid var(--theme-border);
    transition: all var(--fluent-duration-fast) var(--fluent-ease-standard);
}

.contact-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--fluent-shadow-8);
    border-color: var(--fluent-blue-primary);
}

.contact-item-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, 
        var(--fluent-blue-primary) 0%, 
        var(--fluent-accent-secondary) 100%);
    border-radius: var(--fluent-corner-radius-large);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--fluent-neutral-white);
    font-size: var(--fluent-font-size-18);
}

.contact-item-content h3 {
    font-size: var(--fluent-font-size-16);
    font-weight: var(--fluent-font-weight-semibold);
    color: var(--theme-text-primary);
    margin-bottom: var(--fluent-spacing-xs);
}

.contact-item-content p {
    font-size: var(--fluent-font-size-14);
    color: var(--theme-text-secondary);
    margin: 0;
}

.contact-form-container {
    background: var(--theme-card-background);
    border-radius: var(--fluent-corner-radius-large);
    box-shadow: var(--fluent-shadow-8);
    border: 1px solid var(--theme-border);
    padding: var(--fluent-spacing-xxxl);
    position: relative;
    overflow: hidden;
}

.contact-form-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(255, 255, 255, 0.8) 50%, 
        transparent 100%);
    z-index: 1;
}

.contact-form h2 {
    font-size: var(--fluent-font-size-28);
    font-weight: var(--fluent-font-weight-semibold);
    color: var(--theme-text-primary);
    margin-bottom: var(--fluent-spacing-xxl);
    text-align: center;
}

.form-group {
    margin-bottom: var(--fluent-spacing-xl);
}

.form-label {
    display: block;
    font-size: var(--fluent-font-size-14);
    font-weight: var(--fluent-font-weight-medium);
    color: var(--theme-text-primary);
    margin-bottom: var(--fluent-spacing-s);
}

.form-input,
.form-textarea {
    width: 100%;
    padding: var(--fluent-spacing-l);
    border: 2px solid var(--theme-border);
    border-radius: var(--fluent-corner-radius-medium);
    background: var(--theme-surface);
    color: var(--theme-text-primary);
    font-family: var(--fluent-font-family);
    font-size: var(--fluent-font-size-16);
    transition: all var(--fluent-duration-fast) var(--fluent-ease-standard);
    box-sizing: border-box;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--fluent-blue-primary);
    background: var(--theme-card-background);
    box-shadow: 0 0 0 4px rgba(0, 120, 212, 0.1);
}

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

.form-button {
    width: 100%;
    padding: var(--fluent-spacing-l) var(--fluent-spacing-xxl);
    background: linear-gradient(135deg, 
        var(--fluent-blue-primary) 0%, 
        var(--fluent-accent-secondary) 100%);
    color: var(--fluent-neutral-white);
    border: none;
    border-radius: var(--fluent-corner-radius-medium);
    font-family: var(--fluent-font-family);
    font-size: var(--fluent-font-size-16);
    font-weight: var(--fluent-font-weight-semibold);
    cursor: pointer;
    transition: all var(--fluent-duration-fast) var(--fluent-ease-standard);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--fluent-spacing-s);
}

.form-button:hover {
    transform: translateY(-2px);
    box-shadow: var(--fluent-shadow-16);
}

.form-button:active {
    transform: translateY(0);
}

.form-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.form-button .loading-spinner {
    display: none;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.form-button.loading .loading-spinner {
    display: block;
}

.form-button.loading .button-text {
    display: none;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.success-message,
.error-message {
    padding: var(--fluent-spacing-l);
    border-radius: var(--fluent-corner-radius-medium);
    margin-bottom: var(--fluent-spacing-xl);
    display: none;
    align-items: center;
    gap: var(--fluent-spacing-s);
}

.success-message {
    background: rgba(16, 124, 16, 0.1);
    border: 1px solid var(--fluent-success);
    color: var(--fluent-success);
}

.error-message {
    background: rgba(209, 52, 56, 0.1);
    border: 1px solid var(--fluent-error);
    color: var(--fluent-error);
}

.success-message.show,
.error-message.show {
    display: flex;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .contact-container {
        grid-template-columns: 1fr;
        gap: var(--fluent-spacing-xxxl);
    }
    
    .contact-info {
        text-align: center;
    }
}

@media (max-width: 768px) {
    .contact-container {
        padding: 0 var(--fluent-spacing-l);
    }

    .contact-info,
    .contact-form-container {
        padding: var(--fluent-spacing-xxl);
    }

    .contact-item {
        flex-direction: column;
        text-align: center;
    }
}