:root {
  /* Primitive Color Tokens */
  --color-white: rgba(255, 255, 255, 1);
  --color-black: rgba(0, 0, 0, 1);
  --color-cream-50: rgba(252, 252, 249, 1);
  --color-cream-100: rgba(255, 255, 253, 1);
  --color-gray-200: rgba(245, 245, 245, 1);
  --color-gray-300: rgba(167, 169, 169, 1);
  --color-gray-400: rgba(119, 124, 124, 1);
  --color-slate-500: rgba(98, 108, 113, 1);
  --color-brown-600: rgba(94, 82, 64, 1);
  --color-charcoal-700: rgba(31, 33, 33, 1);
  --color-charcoal-800: rgba(38, 40, 40, 1);
  --color-slate-900: rgba(19, 52, 59, 1);
  --color-teal-300: rgba(50, 184, 198, 1);
  --color-teal-400: rgba(45, 166, 178, 1);
  --color-teal-500: rgba(33, 128, 141, 1);
  --color-teal-600: rgba(29, 116, 128, 1);
  --color-teal-700: rgba(26, 104, 115, 1);
  --color-teal-800: rgba(41, 150, 161, 1);
  --color-red-400: rgba(255, 84, 89, 1);
  --color-red-500: rgba(192, 21, 47, 1);
  --color-orange-400: rgba(230, 129, 97, 1);
  --color-orange-500: rgba(168, 75, 47, 1);

  /* RGB versions for opacity control */
  --color-brown-600-rgb: 94, 82, 64;
  --color-teal-500-rgb: 33, 128, 141;
  --color-slate-900-rgb: 19, 52, 59;
  --color-slate-500-rgb: 98, 108, 113;
  --color-red-500-rgb: 192, 21, 47;
  --color-red-400-rgb: 255, 84, 89;
  --color-orange-500-rgb: 168, 75, 47;
  --color-orange-400-rgb: 230, 129, 97;

  /* Background color tokens (Light Mode) */
  --color-bg-1: rgba(59, 130, 246, 0.08); /* Light blue */
  --color-bg-2: rgba(245, 158, 11, 0.08); /* Light yellow */
  --color-bg-3: rgba(34, 197, 94, 0.08); /* Light green */
  --color-bg-4: rgba(239, 68, 68, 0.08); /* Light red */
  --color-bg-5: rgba(147, 51, 234, 0.08); /* Light purple */
  --color-bg-6: rgba(249, 115, 22, 0.08); /* Light orange */
  --color-bg-7: rgba(236, 72, 153, 0.08); /* Light pink */
  --color-bg-8: rgba(6, 182, 212, 0.08); /* Light cyan */

  /* Semantic Color Tokens (Light Mode) */
  --color-background: var(--color-cream-50);
  --color-surface: var(--color-cream-100);
  --color-text: var(--color-slate-900);
  --color-text-secondary: var(--color-slate-500);
  --color-primary: var(--color-teal-500);
  --color-primary-hover: var(--color-teal-600);
  --color-primary-active: var(--color-teal-700);
  --color-secondary: rgba(var(--color-brown-600-rgb), 0.12);
  --color-secondary-hover: rgba(var(--color-brown-600-rgb), 0.2);
  --color-secondary-active: rgba(var(--color-brown-600-rgb), 0.25);
  --color-border: rgba(var(--color-brown-600-rgb), 0.2);
  --color-btn-primary-text: var(--color-cream-50);
  --color-card-border: rgba(var(--color-brown-600-rgb), 0.12);
  --color-card-border-inner: rgba(var(--color-brown-600-rgb), 0.12);
  --color-error: var(--color-red-500);
  --color-success: var(--color-teal-500);
  --color-warning: var(--color-orange-500);
  --color-info: var(--color-slate-500);
  --color-focus-ring: rgba(var(--color-teal-500-rgb), 0.4);
  --color-select-caret: rgba(var(--color-slate-900-rgb), 0.8);

  /* Common style patterns */
  --focus-ring: 0 0 0 3px var(--color-focus-ring);
  --focus-outline: 2px solid var(--color-primary);
  --status-bg-opacity: 0.15;
  --status-border-opacity: 0.25;
  --select-caret-light: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23134252' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  --select-caret-dark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23f5f5f5' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");

  /* RGB versions for opacity control */
  --color-success-rgb: 33, 128, 141;
  --color-error-rgb: 192, 21, 47;
  --color-warning-rgb: 168, 75, 47;
  --color-info-rgb: 98, 108, 113;

  /* Typography */
  --font-family-base: "FKGroteskNeue", "Geist", "Inter", -apple-system,
    BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-family-mono: "Berkeley Mono", ui-monospace, SFMono-Regular, Menlo,
    Monaco, Consolas, monospace;
  --font-size-xs: 11px;
  --font-size-sm: 12px;
  --font-size-base: 14px;
  --font-size-md: 14px;
  --font-size-lg: 16px;
  --font-size-xl: 18px;
  --font-size-2xl: 20px;
  --font-size-3xl: 24px;
  --font-size-4xl: 30px;
  --font-weight-normal: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 550;
  --font-weight-bold: 600;
  --line-height-tight: 1.2;
  --line-height-normal: 1.5;
  --letter-spacing-tight: -0.01em;

  /* Spacing */
  --space-0: 0;
  --space-1: 1px;
  --space-2: 2px;
  --space-4: 4px;
  --space-6: 6px;
  --space-8: 8px;
  --space-10: 10px;
  --space-12: 12px;
  --space-16: 16px;
  --space-20: 20px;
  --space-24: 24px;
  --space-32: 32px;

  /* Border Radius */
  --radius-sm: 6px;
  --radius-base: 8px;
  --radius-md: 10px;
  --radius-lg: 12px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.02);
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.04), 0 1px 2px rgba(0, 0, 0, 0.02);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.04),
    0 2px 4px -1px rgba(0, 0, 0, 0.02);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.04),
    0 4px 6px -2px rgba(0, 0, 0, 0.02);
  --shadow-inset-sm: inset 0 1px 0 rgba(255, 255, 255, 0.15),
    inset 0 -1px 0 rgba(0, 0, 0, 0.03);

  /* Animation */
  --duration-fast: 150ms;
  --duration-normal: 250ms;
  --ease-standard: cubic-bezier(0.16, 1, 0.3, 1);

  /* Layout */
  --container-sm: 640px;
  --container-md: 768px;
  --container-lg: 1024px;
  --container-xl: 1280px;
}

/* Dark mode colors */
@media (prefers-color-scheme: dark) {
  :root {
    /* RGB versions for opacity control (Dark Mode) */
    --color-gray-400-rgb: 119, 124, 124;
    --color-teal-300-rgb: 50, 184, 198;
    --color-gray-300-rgb: 167, 169, 169;
    --color-gray-200-rgb: 245, 245, 245;

    /* Background color tokens (Dark Mode) */
    --color-bg-1: rgba(29, 78, 216, 0.15); /* Dark blue */
    --color-bg-2: rgba(180, 83, 9, 0.15); /* Dark yellow */
    --color-bg-3: rgba(21, 128, 61, 0.15); /* Dark green */
    --color-bg-4: rgba(185, 28, 28, 0.15); /* Dark red */
    --color-bg-5: rgba(107, 33, 168, 0.15); /* Dark purple */
    --color-bg-6: rgba(194, 65, 12, 0.15); /* Dark orange */
    --color-bg-7: rgba(190, 24, 93, 0.15); /* Dark pink */
    --color-bg-8: rgba(8, 145, 178, 0.15); /* Dark cyan */
    
    /* Semantic Color Tokens (Dark Mode) */
    --color-background: var(--color-charcoal-700);
    --color-surface: var(--color-charcoal-800);
    --color-text: var(--color-gray-200);
    --color-text-secondary: rgba(var(--color-gray-300-rgb), 0.7);
    --color-primary: var(--color-teal-300);
    --color-primary-hover: var(--color-teal-400);
    --color-primary-active: var(--color-teal-800);
    --color-secondary: rgba(var(--color-gray-400-rgb), 0.15);
    --color-secondary-hover: rgba(var(--color-gray-400-rgb), 0.25);
    --color-secondary-active: rgba(var(--color-gray-400-rgb), 0.3);
    --color-border: rgba(var(--color-gray-400-rgb), 0.3);
    --color-error: var(--color-red-400);
    --color-success: var(--color-teal-300);
    --color-warning: var(--color-orange-400);
    --color-info: var(--color-gray-300);
    --color-focus-ring: rgba(var(--color-teal-300-rgb), 0.4);
    --color-btn-primary-text: var(--color-slate-900);
    --color-card-border: rgba(var(--color-gray-400-rgb), 0.2);
    --color-card-border-inner: rgba(var(--color-gray-400-rgb), 0.15);
    --shadow-inset-sm: inset 0 1px 0 rgba(255, 255, 255, 0.1),
      inset 0 -1px 0 rgba(0, 0, 0, 0.15);
    --button-border-secondary: rgba(var(--color-gray-400-rgb), 0.2);
    --color-border-secondary: rgba(var(--color-gray-400-rgb), 0.2);
    --color-select-caret: rgba(var(--color-gray-200-rgb), 0.8);

    /* Common style patterns - updated for dark mode */
    --focus-ring: 0 0 0 3px var(--color-focus-ring);
    --focus-outline: 2px solid var(--color-primary);
    --status-bg-opacity: 0.15;
    --status-border-opacity: 0.25;
    --select-caret-light: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23134252' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    --select-caret-dark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23f5f5f5' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");

    /* RGB versions for dark mode */
    --color-success-rgb: var(--color-teal-300-rgb);
    --color-error-rgb: var(--color-red-400-rgb);
    --color-warning-rgb: var(--color-orange-400-rgb);
    --color-info-rgb: var(--color-gray-300-rgb);
  }
}

/* Data attribute for manual theme switching */
[data-color-scheme="dark"] {
  /* RGB versions for opacity control (dark mode) */
  --color-gray-400-rgb: 119, 124, 124;
  --color-teal-300-rgb: 50, 184, 198;
  --color-gray-300-rgb: 167, 169, 169;
  --color-gray-200-rgb: 245, 245, 245;

  /* Colorful background palette - Dark Mode */
  --color-bg-1: rgba(29, 78, 216, 0.15); /* Dark blue */
  --color-bg-2: rgba(180, 83, 9, 0.15); /* Dark yellow */
  --color-bg-3: rgba(21, 128, 61, 0.15); /* Dark green */
  --color-bg-4: rgba(185, 28, 28, 0.15); /* Dark red */
  --color-bg-5: rgba(107, 33, 168, 0.15); /* Dark purple */
  --color-bg-6: rgba(194, 65, 12, 0.15); /* Dark orange */
  --color-bg-7: rgba(190, 24, 93, 0.15); /* Dark pink */
  --color-bg-8: rgba(8, 145, 178, 0.15); /* Dark cyan */
  
  /* Semantic Color Tokens (Dark Mode) */
  --color-background: var(--color-charcoal-700);
  --color-surface: var(--color-charcoal-800);
  --color-text: var(--color-gray-200);
  --color-text-secondary: rgba(var(--color-gray-300-rgb), 0.7);
  --color-primary: var(--color-teal-300);
  --color-primary-hover: var(--color-teal-400);
  --color-primary-active: var(--color-teal-800);
  --color-secondary: rgba(var(--color-gray-400-rgb), 0.15);
  --color-secondary-hover: rgba(var(--color-gray-400-rgb), 0.25);
  --color-secondary-active: rgba(var(--color-gray-400-rgb), 0.3);
  --color-border: rgba(var(--color-gray-400-rgb), 0.3);
  --color-error: var(--color-red-400);
  --color-success: var(--color-teal-300);
  --color-warning: var(--color-orange-400);
  --color-info: var(--color-gray-300);
  --color-focus-ring: rgba(var(--color-teal-300-rgb), 0.4);
  --color-btn-primary-text: var(--color-slate-900);
  --color-card-border: rgba(var(--color-gray-400-rgb), 0.15);
  --color-card-border-inner: rgba(var(--color-gray-400-rgb), 0.15);
  --shadow-inset-sm: inset 0 1px 0 rgba(255, 255, 255, 0.1),
    inset 0 -1px 0 rgba(0, 0, 0, 0.15);
  --color-border-secondary: rgba(var(--color-gray-400-rgb), 0.2);
  --color-select-caret: rgba(var(--color-gray-200-rgb), 0.8);

  /* Common style patterns - updated for dark mode */
  --focus-ring: 0 0 0 3px var(--color-focus-ring);
  --focus-outline: 2px solid var(--color-primary);
  --status-bg-opacity: 0.15;
  --status-border-opacity: 0.25;
  --select-caret-light: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23134252' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  --select-caret-dark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23f5f5f5' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");

  /* RGB versions for dark mode */
  --color-success-rgb: var(--color-teal-300-rgb);
  --color-error-rgb: var(--color-red-400-rgb);
  --color-warning-rgb: var(--color-orange-400-rgb);
  --color-info-rgb: var(--color-gray-300-rgb);
}

[data-color-scheme="light"] {
  /* RGB versions for opacity control (light mode) */
  --color-brown-600-rgb: 94, 82, 64;
  --color-teal-500-rgb: 33, 128, 141;
  --color-slate-900-rgb: 19, 52, 59;
  
  /* Semantic Color Tokens (Light Mode) */
  --color-background: var(--color-cream-50);
  --color-surface: var(--color-cream-100);
  --color-text: var(--color-slate-900);
  --color-text-secondary: var(--color-slate-500);
  --color-primary: var(--color-teal-500);
  --color-primary-hover: var(--color-teal-600);
  --color-primary-active: var(--color-teal-700);
  --color-secondary: rgba(var(--color-brown-600-rgb), 0.12);
  --color-secondary-hover: rgba(var(--color-brown-600-rgb), 0.2);
  --color-secondary-active: rgba(var(--color-brown-600-rgb), 0.25);
  --color-border: rgba(var(--color-brown-600-rgb), 0.2);
  --color-btn-primary-text: var(--color-cream-50);
  --color-card-border: rgba(var(--color-brown-600-rgb), 0.12);
  --color-card-border-inner: rgba(var(--color-brown-600-rgb), 0.12);
  --color-error: var(--color-red-500);
  --color-success: var(--color-teal-500);
  --color-warning: var(--color-orange-500);
  --color-info: var(--color-slate-500);
  --color-focus-ring: rgba(var(--color-teal-500-rgb), 0.4);

  /* RGB versions for light mode */
  --color-success-rgb: var(--color-teal-500-rgb);
  --color-error-rgb: var(--color-red-500-rgb);
  --color-warning-rgb: var(--color-orange-500-rgb);
  --color-info-rgb: var(--color-slate-500-rgb);
}

/* Base styles */
html {
  font-size: var(--font-size-base);
  font-family: var(--font-family-base);
  line-height: var(--line-height-normal);
  color: var(--color-text);
  background-color: var(--color-background);
  -webkit-font-smoothing: antialiased;
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
}

*,
*::before,
*::after {
  box-sizing: inherit;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  font-weight: var(--font-weight-semibold);
  line-height: var(--line-height-tight);
  color: var(--color-text);
  letter-spacing: var(--letter-spacing-tight);
}

h1 {
  font-size: var(--font-size-4xl);
}
h2 {
  font-size: var(--font-size-3xl);
}
h3 {
  font-size: var(--font-size-2xl);
}
h4 {
  font-size: var(--font-size-xl);
}
h5 {
  font-size: var(--font-size-lg);
}
h6 {
  font-size: var(--font-size-md);
}

p {
  margin: 0 0 var(--space-16) 0;
}

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color var(--duration-fast) var(--ease-standard);
}

a:hover {
  color: var(--color-primary-hover);
}

code,
pre {
  font-family: var(--font-family-mono);
  font-size: calc(var(--font-size-base) * 0.95);
  background-color: var(--color-secondary);
  border-radius: var(--radius-sm);
}

code {
  padding: var(--space-1) var(--space-4);
}

pre {
  padding: var(--space-16);
  margin: var(--space-16) 0;
  overflow: auto;
  border: 1px solid var(--color-border);
}

pre code {
  background: none;
  padding: 0;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-8) var(--space-16);
  border-radius: var(--radius-base);
  font-size: var(--font-size-base);
  font-weight: 500;
  line-height: 1.5;
  cursor: pointer;
  transition: all var(--duration-normal) var(--ease-standard);
  border: none;
  text-decoration: none;
  position: relative;
}

.btn:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
}

.btn--primary {
  background: var(--color-primary);
  color: var(--color-btn-primary-text);
}

.btn--primary:hover {
  background: var(--color-primary-hover);
}

.btn--primary:active {
  background: var(--color-primary-active);
}

.btn--secondary {
  background: var(--color-secondary);
  color: var(--color-text);
}

.btn--secondary:hover {
  background: var(--color-secondary-hover);
}

.btn--secondary:active {
  background: var(--color-secondary-active);
}

.btn--outline {
  background: transparent;
  border: 1px solid var(--color-border);
  color: var(--color-text);
}

.btn--outline:hover {
  background: var(--color-secondary);
}

.btn--sm {
  padding: var(--space-4) var(--space-12);
  font-size: var(--font-size-sm);
  border-radius: var(--radius-sm);
}

.btn--lg {
  padding: var(--space-10) var(--space-20);
  font-size: var(--font-size-lg);
  border-radius: var(--radius-md);
}

.btn--full-width {
  width: 100%;
}

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Form elements */
.form-control {
  display: block;
  width: 100%;
  padding: var(--space-8) var(--space-12);
  font-size: var(--font-size-md);
  line-height: 1.5;
  color: var(--color-text);
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-base);
  transition: border-color var(--duration-fast) var(--ease-standard),
    box-shadow var(--duration-fast) var(--ease-standard);
}

textarea.form-control {
  font-family: var(--font-family-base);
  font-size: var(--font-size-base);
}

select.form-control {
  padding: var(--space-8) var(--space-12);
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: var(--select-caret-light);
  background-repeat: no-repeat;
  background-position: right var(--space-12) center;
  background-size: 16px;
  padding-right: var(--space-32);
}

/* Add a dark mode specific caret */
@media (prefers-color-scheme: dark) {
  select.form-control {
    background-image: var(--select-caret-dark);
  }
}

/* Also handle data-color-scheme */
[data-color-scheme="dark"] select.form-control {
  background-image: var(--select-caret-dark);
}

[data-color-scheme="light"] select.form-control {
  background-image: var(--select-caret-light);
}

.form-control:focus {
  border-color: var(--color-primary);
  outline: var(--focus-outline);
}

.form-label {
  display: block;
  margin-bottom: var(--space-8);
  font-weight: var(--font-weight-medium);
  font-size: var(--font-size-sm);
}

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

/* Card component */
.card {
  background-color: var(--color-surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-card-border);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: box-shadow var(--duration-normal) var(--ease-standard);
}

.card:hover {
  box-shadow: var(--shadow-md);
}

.card__body {
  padding: var(--space-16);
}

.card__header,
.card__footer {
  padding: var(--space-16);
  border-bottom: 1px solid var(--color-card-border-inner);
}

/* Status indicators - simplified with CSS variables */
.status {
  display: inline-flex;
  align-items: center;
  padding: var(--space-6) var(--space-12);
  border-radius: var(--radius-full);
  font-weight: var(--font-weight-medium);
  font-size: var(--font-size-sm);
}

.status--success {
  background-color: rgba(
    var(--color-success-rgb, 33, 128, 141),
    var(--status-bg-opacity)
  );
  color: var(--color-success);
  border: 1px solid
    rgba(var(--color-success-rgb, 33, 128, 141), var(--status-border-opacity));
}

.status--error {
  background-color: rgba(
    var(--color-error-rgb, 192, 21, 47),
    var(--status-bg-opacity)
  );
  color: var(--color-error);
  border: 1px solid
    rgba(var(--color-error-rgb, 192, 21, 47), var(--status-border-opacity));
}

.status--warning {
  background-color: rgba(
    var(--color-warning-rgb, 168, 75, 47),
    var(--status-bg-opacity)
  );
  color: var(--color-warning);
  border: 1px solid
    rgba(var(--color-warning-rgb, 168, 75, 47), var(--status-border-opacity));
}

.status--info {
  background-color: rgba(
    var(--color-info-rgb, 98, 108, 113),
    var(--status-bg-opacity)
  );
  color: var(--color-info);
  border: 1px solid
    rgba(var(--color-info-rgb, 98, 108, 113), var(--status-border-opacity));
}

/* Container layout */
.container {
  width: 100%;
  margin-right: auto;
  margin-left: auto;
  padding-right: var(--space-16);
  padding-left: var(--space-16);
}

@media (min-width: 640px) {
  .container {
    max-width: var(--container-sm);
  }
}
@media (min-width: 768px) {
  .container {
    max-width: var(--container-md);
  }
}
@media (min-width: 1024px) {
  .container {
    max-width: var(--container-lg);
  }
}
@media (min-width: 1280px) {
  .container {
    max-width: var(--container-xl);
  }
}

/* Utility classes */
.flex {
  display: flex;
}
.flex-col {
  flex-direction: column;
}
.items-center {
  align-items: center;
}
.justify-center {
  justify-content: center;
}
.justify-between {
  justify-content: space-between;
}
.gap-4 {
  gap: var(--space-4);
}
.gap-8 {
  gap: var(--space-8);
}
.gap-16 {
  gap: var(--space-16);
}

.m-0 {
  margin: 0;
}
.mt-8 {
  margin-top: var(--space-8);
}
.mb-8 {
  margin-bottom: var(--space-8);
}
.mx-8 {
  margin-left: var(--space-8);
  margin-right: var(--space-8);
}
.my-8 {
  margin-top: var(--space-8);
  margin-bottom: var(--space-8);
}

.p-0 {
  padding: 0;
}
.py-8 {
  padding-top: var(--space-8);
  padding-bottom: var(--space-8);
}
.px-8 {
  padding-left: var(--space-8);
  padding-right: var(--space-8);
}
.py-16 {
  padding-top: var(--space-16);
  padding-bottom: var(--space-16);
}
.px-16 {
  padding-left: var(--space-16);
  padding-right: var(--space-16);
}

.block {
  display: block;
}
.hidden {
  display: none;
}

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

:focus-visible {
  outline: var(--focus-outline);
  outline-offset: 2px;
}

/* Dark mode specifics */
[data-color-scheme="dark"] .btn--outline {
  border: 1px solid var(--color-border-secondary);
}

@font-face {
  font-family: 'FKGroteskNeue';
  src: url('https://r2cdn.perplexity.ai/fonts/FKGroteskNeue.woff2')
    format('woff2');
}

/* END PERPLEXITY DESIGN SYSTEM */
/* Revolutionary Liquid Glass Spiritual Technology CSS */
/* World's Most Beautiful Website Design */

:root {
  /* Sacred Hindu Color Palette */
  --saffron-light: #FF9933;
  --saffron-deep: #FFA500;
  --maroon-light: #CD5C5C;
  --maroon-deep: #800020;
  --orange-light: #FF8C00;
  --orange-deep: #FF6347;
  --sacred-gold: #FFD700;
  --divine-amber: #FFBF00;
  
  /* Liquid Glass Variables */
  --glass-blur: 25px;
  --glass-opacity: 0.1;
  --glass-border: rgba(255, 153, 51, 0.3);
  --glass-bg: rgba(255, 255, 255, 0.05);
  --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  --glass-glow: 0 0 40px rgba(255, 153, 51, 0.4);
  
  /* Sacred Gradients */
  --gradient-sacred: linear-gradient(135deg, #FF6B35 0%, #FF9933 25%, #FFD700 50%, #FF8C00 75%, #FFA500 100%);
  --gradient-divine: linear-gradient(45deg, #800020, #CD5C5C, #FF6B35, #FFD700);
  --gradient-mystical: conic-gradient(from 45deg, #FF6B35, #FFD700, #FFA500, #FF8C00, #FF6B35);
  --gradient-liquid: radial-gradient(ellipse at center, rgba(255, 107, 53, 0.3) 0%, rgba(255, 153, 51, 0.1) 70%, transparent 100%);
  
  /* Advanced Animations */
  --liquid-flow: liquid-flow 8s ease-in-out infinite;
  --sacred-float: sacred-float 6s ease-in-out infinite;
  --glass-morph: glass-morph 12s linear infinite;
  --particle-dance: particle-dance 15s linear infinite;
  
  /* Typography */
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: 'Playfair Display', 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;
  
  /* Shadows */
  --shadow-liquid: 0 10px 40px rgba(255, 107, 53, 0.3);
  --shadow-sacred: 0 15px 50px rgba(255, 153, 51, 0.2);
  --shadow-divine: 0 20px 60px rgba(255, 215, 0, 0.4);
  --shadow-glass: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.1);
}

[data-color-scheme="dark"] {
  --glass-bg: rgba(0, 0, 0, 0.1);
  --glass-border: rgba(255, 153, 51, 0.4);
  --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: var(--font-primary);
  line-height: 1.6;
  color: var(--color-text);
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 50%, #16213e 100%);
  overflow-x: hidden;
  cursor: none;
}

/* Revolutionary Loading Screen */
.liquid-loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: var(--gradient-divine);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  transition: opacity 1s ease-out, transform 1s ease-out;
}

.liquid-loader.hidden {
  opacity: 0;
  transform: scale(0.8);
  pointer-events: none;
}

.liquid-container {
  text-align: center;
  position: relative;
}

.liquid-glass-orb {
  width: 150px;
  height: 150px;
  margin: 0 auto 2rem;
  position: relative;
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  border: 2px solid var(--glass-border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: orb-float 3s ease-in-out infinite;
  box-shadow: var(--glass-shadow), var(--glass-glow);
}

.sacred-symbol {
  font-size: 3rem;
  color: var(--sacred-gold);
  animation: symbol-rotate 4s linear infinite;
  text-shadow: 0 0 20px var(--sacred-gold);
}

.liquid-particles {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  overflow: hidden;
}

.liquid-particles::before,
.liquid-particles::after {
  content: '';
  position: absolute;
  width: 8px;
  height: 8px;
  background: var(--gradient-sacred);
  border-radius: 50%;
  animation: var(--particle-dance);
}

.liquid-particles::before {
  top: 20%;
  left: 30%;
  animation-delay: -1s;
}

.liquid-particles::after {
  bottom: 30%;
  right: 20%;
  animation-delay: -2s;
}

.liquid-text h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: white;
  margin-bottom: 1rem;
  animation: text-glow 2s ease-in-out infinite alternate;
}

.liquid-progress {
  width: 300px;
  height: 4px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 2px;
  overflow: hidden;
  margin: 0 auto;
}

.liquid-progress-fill {
  height: 100%;
  background: var(--gradient-sacred);
  border-radius: 2px;
  animation: progress-fill 3s ease-out forwards;
}

.liquid-background-flow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient-liquid);
  animation: background-pulse 4s ease-in-out infinite;
  opacity: 0.5;
}

/* Admin System Styles */
.admin-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.admin-modal.hidden {
  opacity: 0;
  visibility: hidden;
  transform: scale(0.9);
}

.liquid-glass-panel {
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  border: 2px solid var(--glass-border);
  border-radius: 20px;
  padding: 2rem;
  box-shadow: var(--glass-shadow);
  position: relative;
  overflow: hidden;
}

.admin-login {
  width: 90%;
  max-width: 400px;
  animation: modal-entrance 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.admin-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--glass-border);
}

.admin-header h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--sacred-gold);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.modal-close {
  background: none;
  border: none;
  color: white;
  font-size: 1.2rem;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.modal-close:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: rotate(90deg);
}

.admin-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.liquid-input-group {
  position: relative;
}

.liquid-input-group input {
  width: 100%;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--glass-border);
  border-radius: 10px;
  color: white;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.liquid-input-group input:focus {
  outline: none;
  border-color: var(--saffron-light);
  box-shadow: 0 0 0 3px rgba(255, 153, 51, 0.2);
  background: rgba(255, 255, 255, 0.1);
}

.liquid-input-group label {
  position: absolute;
  top: -0.5rem;
  left: 1rem;
  background: var(--gradient-sacred);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 600;
  font-size: 0.875rem;
  padding: 0 0.5rem;
}

/* Admin Panel */
.admin-panel {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 9998;
  pointer-events: none;
  transition: all 0.4s ease;
}

.admin-panel.hidden {
  opacity: 0;
}

.admin-panel:not(.hidden) {
  pointer-events: all;
}

.admin-toolbar {
  position: fixed;
  top: 20px;
  right: 20px;
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  border: 2px solid var(--glass-border);
  border-radius: 50px;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  box-shadow: var(--glass-shadow);
  z-index: 9999;
}

.admin-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  color: var(--sacred-gold);
}

.admin-tools {
  display: flex;
  gap: 0.5rem;
}

.tool-btn {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  border-radius: 50%;
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  position: relative;
}

.tool-btn:hover {
  background: var(--gradient-sacred);
  transform: scale(1.1);
  box-shadow: var(--glass-glow);
}

.tool-btn.active {
  background: var(--gradient-sacred);
  box-shadow: var(--glass-glow);
}

.customizer-panel {
  position: fixed;
  top: 100px;
  right: 20px;
  width: 300px;
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  border: 2px solid var(--glass-border);
  border-radius: 15px;
  padding: 1.5rem;
  box-shadow: var(--glass-shadow);
  z-index: 9999;
  transition: all 0.4s ease;
}

.customizer-panel.hidden {
  opacity: 0;
  transform: translateX(100%);
}

.customizer-panel h4 {
  color: var(--sacred-gold);
  margin-bottom: 1rem;
  font-family: var(--font-display);
}

.customizer-section {
  margin-bottom: 1rem;
}

.customizer-section label {
  display: block;
  color: white;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.customizer-section input {
  width: 100%;
  padding: 0.5rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid var(--glass-border);
  border-radius: 5px;
  color: white;
}

/* Revolutionary Navigation */
.liquid-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  border-bottom: 1px solid var(--glass-border);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.liquid-nav.scrolled {
  background: rgba(0, 0, 0, 0.2);
  box-shadow: var(--shadow-liquid);
}

.nav-container {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem;
}

.liquid-logo {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-weight: 800;
  font-size: 1.3rem;
  color: white;
}

.logo-orb {
  width: 50px;
  height: 50px;
  background: var(--gradient-sacred);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  position: relative;
  animation: var(--sacred-float);
  box-shadow: var(--shadow-sacred);
}

.orb-glow {
  position: absolute;
  width: 100%;
  height: 100%;
  background: var(--gradient-sacred);
  border-radius: 50%;
  filter: blur(15px);
  opacity: 0.6;
  z-index: -1;
  animation: glow-pulse 3s ease-in-out infinite;
}

.liquid-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.liquid-nav-link {
  position: relative;
  color: white;
  text-decoration: none;
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  border-radius: 25px;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

.liquid-nav-link::before {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-sacred);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  opacity: 0;
  transform: translateY(100%);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.liquid-nav-link:hover::before {
  opacity: 1;
  transform: translateY(0);
}

.liquid-nav-link:hover {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  transform: translateY(-2px);
  box-shadow: var(--glass-shadow);
}

.liquid-admin-btn {
  background: var(--gradient-sacred);
  border: none;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s ease;
  box-shadow: var(--shadow-sacred);
}

.liquid-admin-btn:hover {
  transform: scale(1.1) rotate(360deg);
  box-shadow: var(--shadow-divine);
}

.nav-liquid-flow {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--gradient-sacred);
  transform: scaleX(0);
  transform-origin: left;
  animation: nav-flow 8s ease-in-out infinite;
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
  padding: 0.5rem;
}

.mobile-toggle span {
  width: 25px;
  height: 3px;
  background: white;
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* Revolutionary Hero Section */
.liquid-hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: radial-gradient(ellipse at center, rgba(255, 107, 53, 0.1) 0%, rgba(0, 0, 0, 0.8) 70%);
}

.liquid-background-matrix {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  overflow: hidden;
}

.matrix-particles {
  position: absolute;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(2px 2px at 20px 30px, var(--saffron-light), transparent),
    radial-gradient(2px 2px at 40px 70px, var(--sacred-gold), transparent),
    radial-gradient(1px 1px at 90px 40px, var(--orange-light), transparent);
  background-repeat: repeat;
  background-size: 200px 200px;
  animation: matrix-flow 20s linear infinite;
  opacity: 0.3;
}

.sacred-geometry-grid {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(rgba(255, 153, 51, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 153, 51, 0.1) 1px, transparent 1px);
  background-size: 100px 100px;
  animation: grid-pulse 15s ease-in-out infinite;
}

.liquid-morphing-shapes {
  position: absolute;
  top: 20%;
  right: 10%;
  width: 300px;
  height: 300px;
  background: var(--gradient-mystical);
  border-radius: 50%;
  filter: blur(100px);
  animation: morph-dance 20s ease-in-out infinite;
  opacity: 0.4;
}

/* 8-Image Liquid Glass Carousel */
.liquid-carousel-container {
  position: absolute;
  top: 0;
  right: 0;
  width: 60%;
  height: 100%;
  overflow: hidden;
  z-index: 2;
}

.liquid-carousel-track {
  display: flex;
  width: 800%;
  height: 100%;
  transition: transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.liquid-slide {
  width: 12.5%;
  height: 100%;
  position: relative;
  overflow: hidden;
  opacity: 0.7;
  transition: all 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.liquid-slide.active {
  opacity: 1;
  transform: scale(1.02);
}

.liquid-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.8) contrast(1.2) saturate(1.3);
  transition: all 1s ease;
}

.liquid-slide.active img {
  filter: brightness(0.9) contrast(1.3) saturate(1.4);
}

.liquid-slide-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2rem;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.9));
  color: white;
  transform: translateY(100%);
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.liquid-slide.active .liquid-slide-content {
  transform: translateY(0);
}

.liquid-slide-content h3 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  background: var(--gradient-sacred);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Transition Effects */
.pixel-dissolve-overlay,
.liquid-morph-overlay,
.glass-shatter-overlay,
.ripple-dissolve-overlay,
.particle-explosion-overlay,
.liquid-flow-overlay,
.digital-rain-overlay,
.geometry-morph-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.8s ease;
}

.liquid-slide.transitioning .pixel-dissolve-overlay {
  opacity: 1;
  background: radial-gradient(circle, transparent 30%, rgba(255, 107, 53, 0.8) 70%);
  animation: pixel-dissolve 0.8s ease-out;
}

.liquid-slide.transitioning .liquid-morph-overlay {
  opacity: 1;
  background: var(--gradient-liquid);
  animation: liquid-morph 1s ease-in-out;
}

.liquid-slide.transitioning .glass-shatter-overlay {
  opacity: 1;
  background: linear-gradient(45deg, transparent 48%, rgba(255, 255, 255, 0.8) 49%, rgba(255, 255, 255, 0.8) 51%, transparent 52%);
  animation: glass-shatter 0.6s ease-out;
}

.liquid-slide.transitioning .ripple-dissolve-overlay {
  opacity: 1;
  background: radial-gradient(ellipse at center, transparent 0%, rgba(255, 153, 51, 0.6) 50%, transparent 100%);
  animation: ripple-dissolve 1s ease-out;
}

.liquid-slide.transitioning .particle-explosion-overlay {
  opacity: 1;
  background: 
    radial-gradient(2px 2px at 20% 30%, var(--saffron-light), transparent),
    radial-gradient(3px 3px at 80% 70%, var(--sacred-gold), transparent),
    radial-gradient(1px 1px at 60% 40%, var(--orange-light), transparent);
  animation: particle-explosion 0.8s ease-out;
}

.liquid-slide.transitioning .liquid-flow-overlay {
  opacity: 1;
  background: linear-gradient(45deg, transparent 0%, rgba(255, 107, 53, 0.7) 50%, transparent 100%);
  animation: liquid-flow-effect 1.2s ease-in-out;
}

.liquid-slide.transitioning .digital-rain-overlay {
  opacity: 1;
  background: 
    linear-gradient(90deg, transparent 95%, rgba(255, 215, 0, 0.8) 100%),
    linear-gradient(180deg, transparent 95%, rgba(255, 153, 51, 0.8) 100%);
  background-size: 20px 20px;
  animation: digital-rain 0.8s linear;
}

.liquid-slide.transitioning .geometry-morph-overlay {
  opacity: 1;
  background: var(--gradient-mystical);
  animation: geometry-morph 1s ease-in-out;
}

/* Carousel Navigation */
.liquid-carousel-nav {
  position: absolute;
  bottom: 3rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  z-index: 10;
}

.liquid-dots {
  display: flex;
  gap: 1rem;
}

.liquid-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: all 0.4s ease;
  position: relative;
}

.liquid-dot.active {
  background: var(--gradient-sacred);
  transform: scale(1.5);
  box-shadow: 0 0 20px rgba(255, 107, 53, 0.8);
}

.liquid-dot:hover {
  background: rgba(255, 255, 255, 0.6);
  transform: scale(1.2);
}

.liquid-arrows {
  display: flex;
  gap: 1rem;
}

.liquid-arrow {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  border: 2px solid var(--glass-border);
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s ease;
  position: relative;
}

.liquid-arrow:hover {
  background: var(--gradient-sacred);
  border-color: transparent;
  transform: scale(1.1);
  box-shadow: var(--shadow-sacred);
}

.arrow-glow {
  position: absolute;
  width: 100%;
  height: 100%;
  background: var(--gradient-sacred);
  border-radius: 50%;
  filter: blur(15px);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
}

.liquid-arrow:hover .arrow-glow {
  opacity: 0.6;
}

/* Hero Content */
.liquid-hero-content {
  max-width: 1400px;
  margin: 0 auto;
  padding: 2rem;
  position: relative;
  z-index: 3;
}

.hero-text-container {
  max-width: 600px;
  animation: hero-entrance 1.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.liquid-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 2rem;
  position: relative;
}

.title-shard {
  display: block;
  background: var(--gradient-sacred);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  position: relative;
  animation: title-glow 4s ease-in-out infinite alternate;
}

.title-shard::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--gradient-sacred);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: blur(20px);
  opacity: 0.4;
  z-index: -1;
}

.liquid-subtitle {
  font-size: 1.3rem;
  line-height: 1.7;
  margin-bottom: 2.5rem;
  color: rgba(255, 255, 255, 0.9);
  animation: hero-fade-up 2s cubic-bezier(0.16, 1, 0.3, 1) 0.3s both;
}

.liquid-stats {
  display: flex;
  gap: 2rem;
  margin-bottom: 3rem;
  animation: hero-fade-up 2.3s cubic-bezier(0.16, 1, 0.3, 1) 0.6s both;
}

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

.stat-orb {
  width: 80px;
  height: 80px;
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  border: 2px solid var(--glass-border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 0.5rem;
  box-shadow: var(--glass-shadow);
  position: relative;
}

.stat-orb::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  background: var(--gradient-sacred);
  border-radius: 50%;
  filter: blur(15px);
  opacity: 0.3;
  z-index: -1;
  animation: orb-pulse 3s ease-in-out infinite;
}

.stat-number {
  font-size: 1.5rem;
  font-weight: 800;
  background: var(--gradient-sacred);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-label {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
}

.liquid-hero-buttons {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  animation: hero-fade-up 2.6s cubic-bezier(0.16, 1, 0.3, 1) 0.9s both;
}

/* Revolutionary Liquid Buttons */
.liquid-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1.2rem 2.5rem;
  font-size: 1.1rem;
  font-weight: 600;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
  text-decoration: none;
  backdrop-filter: blur(10px);
}

.liquid-btn-primary {
  background: var(--gradient-sacred);
  color: white;
  box-shadow: var(--shadow-sacred);
}

.liquid-btn-secondary {
  background: var(--glass-bg);
  color: white;
  border: 2px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
}

.liquid-btn-flow {
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transition: left 0.6s ease;
}

.liquid-btn:hover .liquid-btn-flow {
  left: 100%;
}

.liquid-btn:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: var(--shadow-divine);
}

.liquid-btn i {
  transition: transform 0.3s ease;
}

.liquid-btn:hover i {
  transform: rotate(15deg) scale(1.2);
}

/* Liquid Scroll Indicator */
.liquid-scroll-indicator {
  position: absolute;
  bottom: 3rem;
  left: 3rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  z-index: 3;
}

.scroll-orb {
  width: 50px;
  height: 50px;
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  border: 2px solid var(--glass-border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  animation: scroll-float 3s ease-in-out infinite;
}

.scroll-liquid {
  width: 6px;
  height: 20px;
  background: var(--gradient-sacred);
  border-radius: 3px;
  animation: liquid-drop 2s ease-in-out infinite;
}

.scroll-text {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.875rem;
  font-weight: 500;
}

/* Liquid Sections */
.liquid-section {
  padding: 8rem 0;
  position: relative;
  overflow: hidden;
}

.section-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  overflow: hidden;
  pointer-events: none;
}

.liquid-waves {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(ellipse at 25% 25%, rgba(255, 107, 53, 0.1) 0%, transparent 50%),
    radial-gradient(ellipse at 75% 75%, rgba(255, 153, 51, 0.1) 0%, transparent 50%);
  animation: wave-motion 20s ease-in-out infinite;
}

.floating-glass-panels {
  position: absolute;
  top: 20%;
  right: 10%;
  width: 200px;
  height: 200px;
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  animation: panel-float 15s ease-in-out infinite;
  opacity: 0.3;
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
  z-index: 2;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.liquid-section-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  margin-bottom: 1rem;
  background: var(--gradient-sacred);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  position: relative;
}

.liquid-section-subtitle {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.8);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

/* About Section */
.liquid-story-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.liquid-glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  border: 2px solid var(--glass-border);
  border-radius: 20px;
  padding: 2rem;
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: var(--glass-shadow);
}

.liquid-glass-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-sacred);
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.liquid-glass-card:hover::before {
  transform: scaleX(1);
}

.liquid-glass-card:hover {
  transform: translateY(-10px) rotateX(5deg);
  box-shadow: var(--shadow-divine);
  border-color: rgba(255, 107, 53, 0.5);
}

.card-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.card-icon {
  width: 60px;
  height: 60px;
  background: var(--gradient-sacred);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  box-shadow: var(--shadow-sacred);
}

.card-header h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: white;
  font-family: var(--font-display);
}

.liquid-glass-card p {
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.7;
  font-size: 1rem;
}

/* Products Section */
.liquid-tech-grid {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(rgba(255, 107, 53, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 107, 53, 0.1) 1px, transparent 1px);
  background-size: 80px 80px;
  animation: tech-grid-flow 25s linear infinite;
}

.morphing-product-shapes {
  position: absolute;
  top: 30%;
  left: 5%;
  width: 250px;
  height: 250px;
  background: var(--gradient-mystical);
  border-radius: 50%;
  filter: blur(80px);
  animation: product-morph 18s ease-in-out infinite;
  opacity: 0.3;
}

.liquid-products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 3rem;
}

.liquid-product-card {
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  border: 2px solid var(--glass-border);
  border-radius: 25px;
  padding: 3rem;
  position: relative;
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: var(--glass-shadow);
  cursor: pointer;
}

.product-glass-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--gradient-liquid);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.liquid-product-card:hover .product-glass-overlay {
  opacity: 1;
}

.liquid-product-card:hover {
  transform: translateY(-15px) rotateY(5deg) rotateX(5deg);
  box-shadow: var(--shadow-divine);
  border-color: rgba(255, 107, 53, 0.8);
}

.product-icon {
  width: 80px;
  height: 80px;
  background: var(--gradient-sacred);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 2rem;
  margin-bottom: 2rem;
  box-shadow: var(--shadow-sacred);
  position: relative;
  z-index: 2;
}

.liquid-product-card h3 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 1rem;
  color: white;
  font-family: var(--font-display);
  position: relative;
  z-index: 2;
}

.liquid-product-card p {
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.7;
  margin-bottom: 2rem;
  position: relative;
  z-index: 2;
}

.product-features {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: relative;
  z-index: 2;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
}

.feature-item i {
  width: 30px;
  height: 30px;
  background: rgba(255, 107, 53, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--saffron-light);
  font-size: 0.875rem;
}

/* Technology Section */
.liquid-circuit-grid {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    linear-gradient(90deg, transparent 98%, rgba(255, 107, 53, 0.2) 100%),
    linear-gradient(180deg, transparent 98%, rgba(255, 107, 53, 0.2) 100%);
  background-size: 120px 120px;
  animation: circuit-pulse 12s ease-in-out infinite;
}

.tech-morphing-shapes {
  position: absolute;
  top: 10%;
  right: 20%;
  width: 180px;
  height: 180px;
  background: var(--gradient-sacred);
  border-radius: 50%;
  filter: blur(60px);
  animation: tech-morph 16s ease-in-out infinite;
  opacity: 0.4;
}

.liquid-tech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.liquid-tech-card {
  position: relative;
  transition: all 0.4s ease;
}

.tech-glass-panel {
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  border: 2px solid var(--glass-border);
  border-radius: 20px;
  padding: 2.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: var(--glass-shadow);
}

.liquid-tech-card:hover .tech-glass-panel {
  transform: translateY(-10px) rotateX(10deg);
  box-shadow: var(--shadow-divine);
  border-color: rgba(255, 107, 53, 0.6);
}

.tech-icon {
  width: 70px;
  height: 70px;
  background: var(--gradient-sacred);
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.8rem;
  margin: 0 auto 1.5rem;
  box-shadow: var(--shadow-sacred);
  transition: all 0.4s ease;
}

.liquid-tech-card:hover .tech-icon {
  transform: scale(1.1) rotateY(180deg);
}

.tech-glass-panel h4 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: white;
  font-family: var(--font-display);
}

.tech-glass-panel p {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
}

/* Contact Section */
.contact-liquid-flow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, 
    transparent 0%, 
    rgba(255, 107, 53, 0.08) 25%, 
    transparent 50%, 
    rgba(255, 153, 51, 0.08) 75%, 
    transparent 100%);
  animation: contact-flow 22s ease-in-out infinite;
}

.floating-contact-orbs {
  position: absolute;
  top: 15%;
  right: 15%;
  width: 150px;
  height: 150px;
  background: var(--gradient-mystical);
  border-radius: 50%;
  filter: blur(50px);
  animation: contact-orb-float 14s ease-in-out infinite;
  opacity: 0.4;
}

.liquid-contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: start;
}

.liquid-contact-info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.liquid-info-card {
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  border: 2px solid var(--glass-border);
  border-radius: 15px;
  padding: 2rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  transition: all 0.4s ease;
  box-shadow: var(--glass-shadow);
}

.liquid-info-card:hover {
  transform: translateX(10px);
  box-shadow: var(--shadow-sacred);
  border-color: rgba(255, 107, 53, 0.5);
}

.info-orb {
  width: 60px;
  height: 60px;
  background: var(--gradient-sacred);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.3rem;
  flex-shrink: 0;
  box-shadow: var(--shadow-sacred);
}

.liquid-info-card h4 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: white;
  font-family: var(--font-display);
}

.liquid-info-card p {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
  margin: 0;
}

/* Liquid Glass Form */
.liquid-contact-form-container {
  position: relative;
}

.liquid-glass-form {
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  border: 2px solid var(--glass-border);
  border-radius: 25px;
  padding: 3rem;
  position: relative;
  overflow: hidden;
  box-shadow: var(--glass-shadow);
}

.liquid-glass-form::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-sacred);
}

.liquid-glass-form h3 {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 2rem;
  text-align: center;
  color: white;
}

.liquid-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.liquid-input-group {
  position: relative;
}

.liquid-input-group input,
.liquid-input-group select,
.liquid-input-group textarea {
  width: 100%;
  padding: 1.2rem 1.5rem;
  background: rgba(255, 255, 255, 0.05);
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  color: white;
  font-size: 1rem;
  transition: all 0.4s ease;
  backdrop-filter: blur(10px);
}

.liquid-input-group input:focus,
.liquid-input-group select:focus,
.liquid-input-group textarea:focus {
  outline: none;
  border-color: var(--saffron-light);
  box-shadow: 0 0 0 4px rgba(255, 107, 53, 0.2);
  background: rgba(255, 255, 255, 0.1);
}

.liquid-input-group label {
  position: absolute;
  top: -0.7rem;
  left: 1rem;
  background: var(--gradient-sacred);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 600;
  font-size: 0.875rem;
  padding: 0 0.5rem;
  backdrop-filter: blur(10px);
}

.liquid-input-group textarea {
  resize: vertical;
  min-height: 120px;
}

.input-liquid-flow {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--gradient-sacred);
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.liquid-input-group input:focus ~ .input-liquid-flow,
.liquid-input-group select:focus ~ .input-liquid-flow,
.liquid-input-group textarea:focus ~ .input-liquid-flow {
  transform: scaleX(1);
}

.form-submit {
  margin-top: 1rem;
}

/* Liquid Footer */
.liquid-footer {
  background: rgba(0, 0, 0, 0.9);
  padding: 4rem 0 2rem;
  position: relative;
  overflow: hidden;
}

.footer-liquid-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  overflow: hidden;
}

.footer-flowing-particles {
  position: absolute;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(2px 2px at 30px 50px, rgba(255, 107, 53, 0.4), transparent),
    radial-gradient(1px 1px at 80px 30px, rgba(255, 215, 0, 0.3), transparent);
  background-size: 200px 200px;
  animation: footer-particles 30s linear infinite;
  opacity: 0.5;
}

.liquid-footer-content {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
  margin-bottom: 3rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 1.3rem;
  font-weight: 800;
}

.footer-logo .logo-orb {
  width: 45px;
  height: 45px;
}

.footer-logo span {
  color: white;
  font-family: var(--font-display);
}

.liquid-stats-footer {
  display: flex;
  gap: 2rem;
}

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

.footer-stat .stat-number {
  display: block;
  font-size: 1.5rem;
  font-weight: 800;
  background: var(--gradient-sacred);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 0.25rem;
}

.footer-stat .stat-label {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.7);
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.link-group h4 {
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: white;
  font-size: 1.1rem;
}

.link-group a {
  display: block;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  margin-bottom: 0.75rem;
  transition: all 0.3s ease;
  position: relative;
}

.link-group a::before {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 1px;
  background: var(--gradient-sacred);
  transition: width 0.3s ease;
}

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

.link-group a:hover {
  color: var(--saffron-light);
  transform: translateX(5px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
}

/* Liquid Glass Cursor */
.liquid-cursor {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 10001;
  transition: all 0.1s ease;
}

.cursor-core {
  width: 8px;
  height: 8px;
  background: var(--gradient-sacred);
  border-radius: 50%;
  position: relative;
}

.cursor-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 30px;
  height: 30px;
  background: radial-gradient(circle, rgba(255, 107, 53, 0.3) 0%, transparent 70%);
  border-radius: 50%;
  animation: cursor-pulse 2s ease-in-out infinite;
}

/* Notification System */
.liquid-notifications {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 10002;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 400px;
}

.liquid-notification {
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  border: 2px solid var(--glass-border);
  border-radius: 15px;
  padding: 1.5rem;
  color: white;
  box-shadow: var(--glass-shadow);
  animation: notification-slide-in 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.liquid-notification::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-sacred);
}

.liquid-notification.success::before {
  background: linear-gradient(90deg, #10B981, #34D399);
}

.liquid-notification.error::before {
  background: linear-gradient(90deg, #EF4444, #F87171);
}

/* Content Editing Styles */
.editable-content {
  position: relative;
  transition: all 0.3s ease;
}

.editable-content.editing {
  outline: 2px dashed var(--saffron-light);
  background: rgba(255, 107, 53, 0.1);
  border-radius: 4px;
  padding: 0.25rem;
}

.editable-content.editing::before {
  content: attr(data-field);
  position: absolute;
  top: -1.5rem;
  left: 0;
  font-size: 0.75rem;
  color: var(--saffron-light);
  background: rgba(0, 0, 0, 0.8);
  padding: 0.25rem 0.5rem;
  border-radius: 3px;
  font-weight: 600;
}

/* Keyframe Animations */
@keyframes orb-float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(180deg); }
}

@keyframes symbol-rotate {
  0% { transform: rotate(0deg) scale(1); }
  50% { transform: rotate(180deg) scale(1.1); }
  100% { transform: rotate(360deg) scale(1); }
}

@keyframes progress-fill {
  0% { width: 0%; }
  100% { width: 100%; }
}

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

@keyframes text-glow {
  0% { text-shadow: 0 0 20px rgba(255, 215, 0, 0.5); }
  100% { text-shadow: 0 0 30px rgba(255, 215, 0, 0.8), 0 0 40px rgba(255, 107, 53, 0.6); }
}

@keyframes modal-entrance {
  0% { opacity: 0; transform: scale(0.8) translateY(20px); }
  100% { opacity: 1; transform: scale(1) translateY(0); }
}

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

@keyframes nav-flow {
  0%, 100% { transform: scaleX(0); }
  50% { transform: scaleX(1); }
}

@keyframes matrix-flow {
  0% { background-position: 0 0; }
  100% { background-position: 200px 200px; }
}

@keyframes grid-pulse {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 0.6; }
}

@keyframes morph-dance {
  0%, 100% { transform: rotate(0deg) scale(1); border-radius: 50%; }
  25% { transform: rotate(90deg) scale(1.1); border-radius: 20%; }
  50% { transform: rotate(180deg) scale(0.9); border-radius: 0%; }
  75% { transform: rotate(270deg) scale(1.1); border-radius: 30%; }
}

/* Transition Animations */
@keyframes pixel-dissolve {
  0% { transform: scale(1); filter: blur(0px); }
  50% { transform: scale(1.1); filter: blur(5px); }
  100% { transform: scale(1); filter: blur(0px); }
}

@keyframes liquid-morph {
  0% { clip-path: circle(0% at 50% 50%); }
  50% { clip-path: circle(70% at 50% 50%); }
  100% { clip-path: circle(0% at 50% 50%); }
}

@keyframes glass-shatter {
  0% { transform: scale(1); }
  25% { transform: scale(1.05) rotate(1deg); }
  50% { transform: scale(0.95) rotate(-1deg); }
  75% { transform: scale(1.02) rotate(0.5deg); }
  100% { transform: scale(1) rotate(0deg); }
}

@keyframes ripple-dissolve {
  0% { transform: scale(0.8); opacity: 1; }
  50% { transform: scale(1.2); opacity: 0.5; }
  100% { transform: scale(1); opacity: 1; }
}

@keyframes particle-explosion {
  0% { background-size: 0px 0px; opacity: 1; }
  50% { background-size: 100px 100px; opacity: 0.8; }
  100% { background-size: 200px 200px; opacity: 0; }
}

@keyframes liquid-flow-effect {
  0% { transform: translateX(-100%) skewX(-10deg); }
  50% { transform: translateX(0%) skewX(0deg); }
  100% { transform: translateX(100%) skewX(10deg); }
}

@keyframes digital-rain {
  0% { background-position: 0 0; opacity: 0; }
  50% { opacity: 1; }
  100% { background-position: 0 200px; opacity: 0; }
}

@keyframes geometry-morph {
  0% { transform: rotate(0deg) scale(1); filter: hue-rotate(0deg); }
  50% { transform: rotate(180deg) scale(1.1); filter: hue-rotate(180deg); }
  100% { transform: rotate(360deg) scale(1); filter: hue-rotate(360deg); }
}

@keyframes hero-entrance {
  0% { opacity: 0; transform: translateX(-50px); }
  100% { opacity: 1; transform: translateX(0); }
}

@keyframes hero-fade-up {
  0% { opacity: 0; transform: translateY(30px); }
  100% { opacity: 1; transform: translateY(0); }
}

@keyframes title-glow {
  0% { filter: brightness(1) saturate(1); }
  100% { filter: brightness(1.2) saturate(1.3); }
}

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

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

@keyframes liquid-drop {
  0% { transform: translateY(-5px); opacity: 1; }
  50% { transform: translateY(5px); opacity: 0.5; }
  100% { transform: translateY(-5px); opacity: 1; }
}

@keyframes wave-motion {
  0%, 100% { transform: translateX(0) rotate(0deg); }
  50% { transform: translateX(20px) rotate(2deg); }
}

@keyframes panel-float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-30px) rotate(5deg); }
}

@keyframes tech-grid-flow {
  0% { background-position: 0 0; }
  100% { background-position: 80px 80px; }
}

@keyframes product-morph {
  0%, 100% { transform: rotate(0deg) scale(1); border-radius: 50%; }
  33% { transform: rotate(120deg) scale(1.1); border-radius: 30%; }
  66% { transform: rotate(240deg) scale(0.9); border-radius: 70%; }
}

@keyframes circuit-pulse {
  0%, 100% { opacity: 0.2; }
  50% { opacity: 0.5; }
}

@keyframes tech-morph {
  0%, 100% { transform: rotate(0deg) scale(1); }
  50% { transform: rotate(180deg) scale(1.2); }
}

@keyframes contact-flow {
  0%, 100% { transform: translateX(0) translateY(0); }
  25% { transform: translateX(10px) translateY(-5px); }
  50% { transform: translateX(0) translateY(-10px); }
  75% { transform: translateX(-10px) translateY(-5px); }
}

@keyframes contact-orb-float {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-25px) scale(1.1); }
}

@keyframes footer-particles {
  0% { background-position: 0 0; }
  100% { background-position: 200px 200px; }
}

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

@keyframes notification-slide-in {
  0% { transform: translateX(400px); opacity: 0; }
  100% { transform: translateX(0); opacity: 1; }
}

@keyframes liquid-flow {
  0%, 100% { transform: translateX(0) scaleY(1); }
  50% { transform: translateX(20px) scaleY(1.1); }
}

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

@keyframes glass-morph {
  0%, 100% { filter: blur(0px) hue-rotate(0deg); }
  50% { filter: blur(2px) hue-rotate(90deg); }
}

@keyframes particle-dance {
  0% { transform: translateY(100vh) rotate(0deg); opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { transform: translateY(-50px) rotate(360deg); opacity: 0; }
}

/* Responsive Design */
@media (max-width: 1024px) {
  .liquid-carousel-container {
    width: 100%;
    height: 50vh;
  }
  
  .liquid-hero-content {
    text-align: center;
  }
  
  .hero-text-container {
    max-width: none;
  }
  
  .liquid-stats {
    justify-content: center;
  }
  
  .liquid-contact-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .liquid-footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .mobile-toggle {
    display: flex;
  }
  
  .liquid-menu {
    position: fixed;
    top: 100px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 100px);
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: flex-start;
    padding-top: 2rem;
    transition: left 0.4s ease;
  }
  
  .liquid-menu.active {
    left: 0;
  }
  
  .mobile-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
  }
  
  .mobile-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  
  .mobile-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
  }
  
  .liquid-hero-buttons {
    justify-content: center;
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
  
  .footer-links {
    grid-template-columns: 1fr;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
  
  .liquid-stats-footer {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 1rem;
  }
  
  .liquid-title {
    font-size: 2.5rem;
  }
  
  .liquid-section-title {
    font-size: 2rem;
  }
  
  .liquid-products-grid,
  .liquid-story-grid {
    grid-template-columns: 1fr;
  }
  
  .liquid-tech-grid {
    grid-template-columns: 1fr;
  }
  
  .liquid-stats {
    flex-direction: column;
    gap: 1rem;
  }
  
  .liquid-stats-footer {
    flex-direction: column;
    gap: 1rem;
  }
}