    :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 */
/* Custom Properties for AI City Biz Theme */
:root {
  /* AI City Biz Brand Colors */
  --neon-green: #39FF14;
  --electric-blue: #37E3FF;
  --steel-gray: #2E3440;
  --steel-gray-light: #3B4252;
  --deep-black: #0A0F14;
  --gold-fluorescence: #FFD166;
  --white-accent: #EAF4F4;
  
  /* AI-specific gradients and effects */
  --neon-glow: 0 0 20px currentColor, 0 0 40px currentColor, 0 0 60px currentColor;
  --cyber-grid-opacity: 0.1;
  --glass-bg: rgba(255, 255, 255, 0.05);
  --glass-border: rgba(255, 255, 255, 0.1);
  --scan-line-height: 2px;
  
  /* Animation durations */
  --float-duration: 4s;
  --pulse-duration: 2s;
  --scan-duration: 3s;
  --glow-duration: 1.5s;
}

/* Base Overrides for Futuristic Theme */
body {
  background: linear-gradient(135deg, var(--deep-black) 0%, var(--steel-gray) 100%);
  color: var(--white-accent);
  font-family: 'Inter', var(--font-family-base);
  overflow-x: hidden;
}

/* Typography Overrides */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Orbitron', monospace;
  color: var(--white-accent);
}

.gradient-text {
  background: linear-gradient(45deg, var(--neon-green), var(--electric-blue));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  background-size: 200% 200%;
  animation: gradientShift 3s ease-in-out infinite;
}

@keyframes gradientShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

/* Header Styles */
.header {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(10, 15, 20, 0.9);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border);
  z-index: 1000;
  transition: all var(--duration-normal) var(--ease-standard);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-16) 0;
}

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

.logo-header {
  width: 45px;
  height: 45px;
  filter: drop-shadow(0 0 10px var(--neon-green));
  transition: filter var(--duration-normal);
}

.logo-header:hover {
  filter: drop-shadow(0 0 10px var(--neon-green)) drop-shadow(0 0 40px var(--neon-green));
}

.brand-text {
  font-family: 'Orbitron', monospace;
  font-weight: 700;
  font-size: var(--font-size-xl);
  color: var(--neon-green);
  text-shadow: 0 0 10px var(--neon-green);
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: var(--space-32);
  margin: 0;
  padding: 0;
}

.nav-link {
  color: var(--white-accent);
  text-decoration: none;
  font-weight: 500;
  position: relative;
  transition: all var(--duration-normal);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--neon-green), var(--electric-blue));
  transition: width var(--duration-normal);
}

.nav-link:hover {
  color: var(--neon-green);
  text-shadow: 0 0 10px var(--neon-green);
}

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

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

.motion-toggle {
  display: flex;
  align-items: center;
  gap: var(--space-8);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  color: var(--white-accent);
  padding: var(--space-8) var(--space-12);
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--duration-normal);
}

.motion-toggle:hover {
  background: rgba(57, 255, 20, 0.1);
  border-color: var(--neon-green);
  box-shadow: 0 0 15px rgba(57, 255, 20, 0.3);
}

.motion-toggle.disabled {
  background: rgba(255, 84, 89, 0.1);
  border-color: var(--color-red-400);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 3px;
  background: none;
  border: none;
  cursor: pointer;
}

.nav-toggle span {
  width: 25px;
  height: 3px;
  background: var(--neon-green);
  border-radius: 2px;
  transition: all var(--duration-normal);
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.cyber-grid {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(var(--electric-blue) 1px, transparent 1px),
    linear-gradient(90deg, var(--electric-blue) 1px, transparent 1px);
  background-size: 50px 50px;
  opacity: var(--cyber-grid-opacity);
  animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
  0% { transform: translate(0, 0); }
  100% { transform: translate(50px, 50px); }
}

.particles-container {
  position: absolute;
  width: 100%;
  height: 100%;
}

.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: var(--neon-green);
  border-radius: 50%;
  animation: float var(--float-duration) ease-in-out infinite;
  box-shadow: 0 0 10px var(--neon-green);
}

.particle:nth-child(1) {
  top: 20%;
  left: 10%;
  animation-delay: 0s;
}

.particle:nth-child(2) {
  top: 60%;
  left: 80%;
  animation-delay: -1s;
  background: var(--electric-blue);
  box-shadow: 0 0 10px var(--electric-blue);
}

.particle:nth-child(3) {
  top: 40%;
  left: 60%;
  animation-delay: -2s;
  background: var(--gold-fluorescence);
  box-shadow: 0 0 10px var(--gold-fluorescence);
}

.particle:nth-child(4) {
  top: 80%;
  left: 30%;
  animation-delay: -3s;
}

.particle:nth-child(5) {
  top: 30%;
  left: 90%;
  animation-delay: -1.5s;
  background: var(--electric-blue);
  box-shadow: 0 0 10px var(--electric-blue);
}

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

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

.hero-logo-animation {
  margin-bottom: var(--space-32);
  opacity: 0;
  animation: logoReveal 2s ease-out forwards;
}

.logo-animated {
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: var(--glass-bg);
  border: 2px solid var(--glass-border);
  padding: var(--space-20);
  backdrop-filter: blur(20px);
  box-shadow: 0 0 40px rgba(57, 255, 20, 0.3);
}

@keyframes logoReveal {
  0% {
    opacity: 0;
    transform: scale(0.5) rotateY(-180deg);
  }
  50% {
    opacity: 0.5;
    transform: scale(1.1) rotateY(-90deg);
  }
  100% {
    opacity: 1;
    transform: scale(1) rotateY(0deg);
  }
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: var(--space-24);
  text-shadow: 0 0 30px rgba(57, 255, 20, 0.5);
  opacity: 0;
  animation: slideUp 1s ease-out 0.5s forwards;
}

.hero-subtitle {
  font-size: var(--font-size-xl);
  color: rgba(234, 244, 244, 0.8);
  margin-bottom: var(--space-32);
  line-height: 1.6;
  opacity: 0;
  animation: slideUp 1s ease-out 1s forwards;
}

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

.hero-stats {
  display: flex;
  justify-content: center;
  gap: var(--space-32);
  margin-bottom: var(--space-32);
  flex-wrap: wrap;
}

.stat-item {
  text-align: center;
  opacity: 0;
  animation: slideUp 1s ease-out 1.5s forwards;
}

.stat-number {
  display: block;
  font-family: 'Orbitron', monospace;
  font-size: var(--font-size-3xl);
  font-weight: 700;
  color: var(--neon-green);
  text-shadow: 0 0 20px var(--neon-green);
}

.stat-suffix {
  font-size: var(--font-size-xl);
  color: var(--electric-blue);
}

.stat-label {
  display: block;
  font-size: var(--font-size-sm);
  color: rgba(234, 244, 244, 0.7);
  margin-top: var(--space-8);
}

.hero-actions {
  display: flex;
  gap: var(--space-16);
  justify-content: center;
  flex-wrap: wrap;
  opacity: 0;
  animation: slideUp 1s ease-out 2s forwards;
}

/* Robot Scene */
.robot-scene {
  position: absolute;
  right: 10%;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1;
}

.robot {
  position: relative;
  animation: robotFloat 6s ease-in-out infinite;
}

.robot-body {
  position: relative;
}

.robot-head {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--steel-gray-light), var(--steel-gray));
  border-radius: 15px;
  position: relative;
  margin: 0 auto var(--space-12);
  border: 2px solid var(--neon-green);
  box-shadow: 0 0 20px rgba(57, 255, 20, 0.5);
}

.robot-head::before {
  content: '';
  position: absolute;
  top: 15px;
  left: 15px;
  width: 8px;
  height: 8px;
  background: var(--neon-green);
  border-radius: 50%;
  box-shadow: 
    18px 0 0 var(--neon-green),
    0 15px 0 var(--electric-blue),
    18px 15px 0 var(--electric-blue);
  animation: robotBlink 3s ease-in-out infinite;
}

@keyframes robotBlink {
  0%, 90%, 100% { opacity: 1; }
  95% { opacity: 0.3; }
}

.robot-torso {
  width: 80px;
  height: 100px;
  background: linear-gradient(135deg, var(--steel-gray-light), var(--steel-gray));
  border-radius: 10px;
  margin: 0 auto;
  border: 2px solid var(--electric-blue);
  position: relative;
  overflow: hidden;
}

.robot-torso::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(55, 227, 255, 0.3), transparent);
  animation: scan 2s ease-in-out infinite;
}

@keyframes scan {
  0% { left: -100%; }
  100% { left: 100%; }
}

.robot-arms {
  position: absolute;
  top: 80px;
  width: 120px;
  left: 50%;
  transform: translateX(-50%);
}

.robot-arm {
  width: 15px;
  height: 60px;
  background: linear-gradient(135deg, var(--steel-gray-light), var(--steel-gray));
  border-radius: 8px;
  position: absolute;
  border: 1px solid var(--gold-fluorescence);
}

.robot-arm.left {
  left: 0;
  transform-origin: top center;
  animation: armMove 4s ease-in-out infinite;
}

.robot-arm.right {
  right: 0;
  transform-origin: top center;
  animation: armMove 4s ease-in-out infinite reverse;
}

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

@keyframes armMove {
  0%, 100% { transform: rotate(-10deg); }
  50% { transform: rotate(10deg); }
}

/* Services Section */
.services {
  padding: 120px 0;
  position: relative;
  background: linear-gradient(180deg, transparent 0%, rgba(46, 52, 64, 0.1) 100%);
}

.section-header {
  text-align: center;
  margin-bottom: 80px;
}

.section-title {
  font-size: var(--font-size-4xl);
  margin-bottom: var(--space-16);
  position: relative;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, var(--neon-green), var(--electric-blue));
  border-radius: 2px;
}

.section-subtitle {
  font-size: var(--font-size-xl);
  color: rgba(234, 244, 244, 0.7);
  max-width: 600px;
  margin: 0 auto;
}

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

.service-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: var(--space-32);
  backdrop-filter: blur(20px);
  transition: all var(--duration-normal);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--neon-green), transparent);
  animation: cardScan 3s ease-in-out infinite;
  animation-delay: calc(var(--card-index, 0) * 0.2s);
}

@keyframes cardScan {
  0% { left: -100%; }
  50% { left: 100%; }
  100% { left: -100%; }
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 
    0 20px 40px rgba(0, 0, 0, 0.3),
    0 0 30px rgba(57, 255, 20, 0.2);
  border-color: var(--neon-green);
}

.service-icon {
  font-size: 3rem;
  margin-bottom: var(--space-20);
  display: block;
}

.service-title {
  font-size: var(--font-size-xl);
  margin-bottom: var(--space-16);
  color: var(--neon-green);
}

.service-description {
  color: rgba(234, 244, 244, 0.8);
  margin-bottom: var(--space-24);
  line-height: 1.6;
}

.service-demo {
  height: 60px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-12);
}

/* Service Demo Animations */
.data-orb {
  width: 20px;
  height: 20px;
  background: var(--neon-green);
  border-radius: 50%;
  box-shadow: 0 0 15px var(--neon-green);
  animation: orbPulse var(--pulse-duration) ease-in-out infinite;
}

.pipeline {
  width: 40px;
  height: 3px;
  background: linear-gradient(90deg, var(--neon-green), var(--electric-blue));
  position: relative;
  overflow: hidden;
}

.pipeline::after {
  content: '';
  position: absolute;
  top: 0;
  left: -20px;
  width: 20px;
  height: 100%;
  background: rgba(255, 255, 255, 0.8);
  animation: dataFlow 2s ease-in-out infinite;
}

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

@keyframes dataFlow {
  0% { left: -20px; }
  100% { left: 100%; }
}

.chat-bubble {
  background: var(--glass-bg);
  border: 1px solid var(--electric-blue);
  border-radius: var(--radius-base);
  padding: var(--space-8) var(--space-12);
  font-size: var(--font-size-sm);
  position: relative;
  animation: bubbleFloat 2s ease-in-out infinite;
}

.chat-bubble::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 20px;
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-top: 8px solid var(--electric-blue);
}

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

.mic-icon {
  width: 30px;
  height: 30px;
  background: var(--electric-blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.mic-icon.pulsing {
  animation: micPulse 1.5s ease-in-out infinite;
}

@keyframes micPulse {
  0%, 100% { 
    transform: scale(1);
    box-shadow: 0 0 15px var(--electric-blue);
  }
  50% { 
    transform: scale(1.1);
    box-shadow: 0 0 25px var(--electric-blue), 0 0 35px var(--electric-blue);
  }
}

.ai-chip {
  width: 25px;
  height: 15px;
  background: linear-gradient(135deg, var(--gold-fluorescence), #cc9900);
  border-radius: 3px;
  margin: 2px;
  animation: chipConnect 2s ease-in-out infinite;
  animation-delay: calc(var(--chip-index, 0) * 0.3s);
}

@keyframes chipConnect {
  0%, 100% { 
    transform: translateX(0) scale(1);
    opacity: 0.8;
  }
  50% { 
    transform: translateX(5px) scale(1.05);
    opacity: 1;
    box-shadow: 0 0 10px var(--gold-fluorescence);
  }
}

.document-spiral {
  position: relative;
  width: 40px;
  height: 40px;
}

.doc {
  position: absolute;
  width: 12px;
  height: 16px;
  background: var(--white-accent);
  border-radius: 2px;
  animation: spiral 3s ease-in-out infinite;
}

.doc:nth-child(1) {
  animation-delay: 0s;
  top: 0;
  left: 0;
}

.doc:nth-child(2) {
  animation-delay: 0.5s;
  top: 5px;
  right: 0;
}

.doc:nth-child(3) {
  animation-delay: 1s;
  bottom: 0;
  left: 10px;
}

@keyframes spiral {
  0% { transform: rotate(0deg) translateX(15px) rotate(0deg); }
  100% { transform: rotate(360deg) translateX(15px) rotate(-360deg); }
}

.knowledge-core {
  width: 15px;
  height: 15px;
  background: var(--neon-green);
  border-radius: 50%;
  box-shadow: 0 0 20px var(--neon-green);
  animation: coreGlow 2s ease-in-out infinite;
}

@keyframes coreGlow {
  0%, 100% { 
    transform: scale(1);
    box-shadow: 0 0 20px var(--neon-green);
  }
  50% { 
    transform: scale(1.3);
    box-shadow: 0 0 30px var(--neon-green), 0 0 40px var(--neon-green);
  }
}

/* Additional service demo styles */
.data-stream {
  width: 3px;
  height: 20px;
  margin: 0 2px;
  border-radius: 2px;
  animation: streamFlow 1.5s ease-in-out infinite;
}

.data-stream.camera {
  background: var(--neon-green);
  animation-delay: 0s;
}

.data-stream.audio {
  background: var(--electric-blue);
  animation-delay: 0.2s;
}

.data-stream.text {
  background: var(--gold-fluorescence);
  animation-delay: 0.4s;
}

@keyframes streamFlow {
  0%, 100% { height: 5px; opacity: 0.6; }
  50% { height: 25px; opacity: 1; }
}

.fusion-beam {
  width: 30px;
  height: 3px;
  background: linear-gradient(90deg, var(--neon-green), var(--electric-blue), var(--gold-fluorescence));
  border-radius: 2px;
  animation: beamPulse 1s ease-in-out infinite;
}

@keyframes beamPulse {
  0%, 100% { opacity: 0.7; transform: scaleX(0.8); }
  50% { opacity: 1; transform: scaleX(1.2); }
}

.content-conveyor {
  display: flex;
  gap: 5px;
  overflow: hidden;
  width: 60px;
}

.content-item {
  width: 15px;
  height: 15px;
  background: var(--gold-fluorescence);
  border-radius: 2px;
  animation: conveyorMove 3s linear infinite;
}

.content-item:nth-child(2) { animation-delay: 1s; }
.content-item:nth-child(3) { animation-delay: 2s; }

@keyframes conveyorMove {
  0% { transform: translateX(-30px); }
  100% { transform: translateX(80px); }
}

.hologram-panel {
  width: 50px;
  height: 40px;
  background: var(--glass-bg);
  border: 1px solid var(--electric-blue);
  border-radius: 4px;
  padding: 5px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  animation: panelGlow 2s ease-in-out infinite;
}

@keyframes panelGlow {
  0%, 100% { 
    box-shadow: 0 0 10px rgba(55, 227, 255, 0.3);
  }
  50% { 
    box-shadow: 0 0 20px rgba(55, 227, 255, 0.6);
  }
}

.kpi-bar {
  height: 3px;
  background: var(--neon-green);
  border-radius: 2px;
  animation: kpiGrow 2s ease-in-out infinite;
}

.kpi-bar:nth-child(1) { width: 80%; animation-delay: 0s; }
.kpi-bar:nth-child(2) { width: 60%; animation-delay: 0.3s; }
.kpi-bar:nth-child(3) { width: 90%; animation-delay: 0.6s; }

@keyframes kpiGrow {
  0% { width: 0; }
  50% { width: var(--target-width, 100%); }
  100% { width: var(--target-width, 100%); }
}

.industry-icons {
  display: flex;
  gap: 8px;
}

.industry-icon {
  font-size: 1.2rem;
  animation: iconBounce 2s ease-in-out infinite;
}

.industry-icon:nth-child(1) { animation-delay: 0s; }
.industry-icon:nth-child(2) { animation-delay: 0.3s; }
.industry-icon:nth-child(3) { animation-delay: 0.6s; }

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

.website-frame {
  width: 40px;
  height: 30px;
  border: 2px solid var(--electric-blue);
  border-radius: 3px;
  position: relative;
  animation: frameGlow 3s ease-in-out infinite;
}

@keyframes frameGlow {
  0%, 100% { border-color: var(--electric-blue); }
  50% { border-color: var(--neon-green); }
}

.bot-integration {
  position: absolute;
  bottom: 2px;
  right: 2px;
  width: 8px;
  height: 8px;
  background: var(--neon-green);
  border-radius: 50%;
  animation: botBlink 1s ease-in-out infinite;
}

@keyframes botBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.training-hologram {
  width: 40px;
  height: 40px;
  border: 2px solid var(--gold-fluorescence);
  border-radius: 50%;
  position: relative;
  animation: hologramSpin 4s linear infinite;
}

@keyframes hologramSpin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.tip-projection {
  position: absolute;
  top: -5px;
  right: -5px;
  width: 6px;
  height: 6px;
  background: var(--gold-fluorescence);
  border-radius: 50%;
  animation: tipFloat 2s ease-in-out infinite;
}

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

/* Packages Section */
.packages {
  padding: 120px 0;
  background: linear-gradient(180deg, rgba(46, 52, 64, 0.1) 0%, rgba(10, 15, 20, 0.5) 100%);
}

.packages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--space-32);
  max-width: 1200px;
  margin: 0 auto;
}

.package-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: var(--space-32);
  backdrop-filter: blur(20px);
  position: relative;
  transition: all var(--duration-normal);
  overflow: hidden;
}

.package-card.popular {
  border-color: var(--neon-green);
  box-shadow: 0 0 30px rgba(57, 255, 20, 0.2);
}

.package-card.popular::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--neon-green), var(--electric-blue));
}

.popular-badge {
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--neon-green);
  color: var(--deep-black);
  padding: var(--space-4) var(--space-16);
  border-radius: 0 0 var(--radius-base) var(--radius-base);
  font-size: var(--font-size-sm);
  font-weight: 600;
}

.package-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

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

.package-name {
  font-size: var(--font-size-2xl);
  color: var(--neon-green);
  margin-bottom: var(--space-16);
}

.package-price {
  margin-bottom: var(--space-16);
}

.price-amount {
  font-size: var(--font-size-4xl);
  font-weight: 700;
  font-family: 'Orbitron', monospace;
  color: var(--white-accent);
}

.price-period {
  font-size: var(--font-size-lg);
  color: rgba(234, 244, 244, 0.7);
}

.package-description {
  color: rgba(234, 244, 244, 0.8);
  line-height: 1.6;
}

.package-features {
  list-style: none;
  padding: 0;
  margin-bottom: var(--space-32);
}

.package-features li {
  padding: var(--space-8) 0;
  position: relative;
  padding-left: var(--space-24);
  color: rgba(234, 244, 244, 0.9);
}

.package-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--neon-green);
  font-weight: bold;
}

.package-cta {
  width: 100%;
}

/* Industries Section */
.industries {
  padding: 120px 0;
  background: linear-gradient(180deg, rgba(10, 15, 20, 0.5) 0%, transparent 100%);
}

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

.industry-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: var(--space-24);
  text-align: center;
  backdrop-filter: blur(20px);
  transition: all var(--duration-normal);
  cursor: pointer;
}

.industry-card:hover {
  transform: translateY(-5px);
  border-color: var(--electric-blue);
  box-shadow: 0 15px 30px rgba(55, 227, 255, 0.2);
}

.industry-card .industry-icon {
  font-size: 3rem;
  margin-bottom: var(--space-16);
  display: block;
}

.industry-title {
  font-size: var(--font-size-xl);
  color: var(--electric-blue);
  margin-bottom: var(--space-12);
}

.industry-description {
  color: rgba(234, 244, 244, 0.8);
  line-height: 1.5;
}

/* About Section */
.about {
  padding: 120px 0;
  background: linear-gradient(135deg, rgba(46, 52, 64, 0.2) 0%, rgba(10, 15, 20, 0.8) 100%);
}

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

.about-text h2 {
  margin-bottom: var(--space-24);
  color: var(--neon-green);
}

.about-text p {
  color: rgba(234, 244, 244, 0.8);
  line-height: 1.6;
  margin-bottom: var(--space-20);
}

.location-highlight {
  display: flex;
  align-items: center;
  gap: var(--space-12);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-base);
  padding: var(--space-16);
  color: var(--electric-blue);
  font-weight: 500;
}

.location-icon {
  font-size: 1.5rem;
}

.about-visual {
  position: relative;
  height: 300px;
}

.city-skyline {
  position: relative;
  height: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: var(--space-12);
}

.building {
  background: linear-gradient(135deg, var(--steel-gray-light), var(--steel-gray));
  border-radius: var(--radius-sm);
  border: 1px solid var(--electric-blue);
  animation: buildingGlow 4s ease-in-out infinite;
}

.building:nth-child(1) {
  width: 40px;
  height: 120px;
  animation-delay: 0s;
}

.building:nth-child(2) {
  width: 50px;
  height: 160px;
  animation-delay: 1s;
}

.building:nth-child(3) {
  width: 45px;
  height: 100px;
  animation-delay: 2s;
}

@keyframes buildingGlow {
  0%, 100% { 
    box-shadow: 0 0 10px rgba(55, 227, 255, 0.3);
  }
  50% { 
    box-shadow: 0 0 20px rgba(55, 227, 255, 0.6);
  }
}

.ai-overlay {
  position: absolute;
  top: 20%;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 60px;
  background: radial-gradient(circle, var(--neon-green) 0%, transparent 70%);
  border-radius: 50%;
  animation: aiPulse 3s ease-in-out infinite;
}

@keyframes aiPulse {
  0%, 100% { 
    transform: translateX(-50%) scale(1);
    opacity: 0.6;
  }
  50% { 
    transform: translateX(-50%) scale(1.5);
    opacity: 1;
  }
}

/* Footer */
.footer {
  background: var(--deep-black);
  border-top: 1px solid var(--glass-border);
  padding: 60px 0 var(--space-24) 0;
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: var(--space-32);
  margin-bottom: var(--space-32);
}

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

.logo-footer {
  width: 100px;
  height: 100px;
  margin-bottom: var(--space-16);
  filter: drop-shadow(0 0 20px var(--gold-fluorescence));
  transition: filter var(--duration-normal);
}

.logo-footer:hover {
  filter: drop-shadow(0 0 25px var(--gold-fluorescence)) drop-shadow(0 0 35px var(--gold-fluorescence));
}

.footer-brand h3 {
  font-size: var(--font-size-2xl);
  color: var(--gold-fluorescence);
  margin-bottom: var(--space-12);
}

.footer-brand p {
  color: rgba(234, 244, 244, 0.7);
}

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

.footer-column h4 {
  color: var(--electric-blue);
  margin-bottom: var(--space-16);
  font-size: var(--font-size-lg);
}

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

.footer-column li {
  margin-bottom: var(--space-8);
}

.footer-column a {
  color: rgba(234, 244, 244, 0.8);
  text-decoration: none;
  transition: color var(--duration-normal);
}

.footer-column a:hover {
  color: var(--neon-green);
  text-shadow: 0 0 5px var(--neon-green);
}

.footer-bottom {
  text-align: center;
  padding-top: var(--space-24);
  border-top: 1px solid var(--glass-border);
  color: rgba(234, 244, 244, 0.6);
}

/* Chatbot Widget */
.chatbot-whatsapp {
    text-align: center;
    margin-top: 10px;
}

.whatsapp-button {
    display: inline-block;
    background-color: #25D366;
    color: white;
    padding: 10px 10px;
    border-radius: 20px;
    text-decoration: none;
    font-weight: bold;
    transition: background 0.2s ease-in-out;
}

.whatsapp-button:hover {
    background-color: #1ebe5d;
}

.chatbot-messages {
    max-height: 300px;   /* or adjust as per your design */
    overflow-y: auto;
    padding: 10px;
}

.chatbot-toggle {
  position: fixed;
  bottom: var(--space-24);
  right: var(--space-24);
  width: 60px;
  height: 60px;
  background: var(--neon-green);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(57, 255, 20, 0.4);
  transition: all var(--duration-normal);
  z-index: 1000;
}

.chatbot-toggle:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 25px rgba(57, 255, 20, 0.6);
}

.toggle-avatar {
  width: 50px;
  height: 50px;
  filter: brightness(0);
}

.pulse-ring {
  position: absolute;
  top: -10px;
  left: -10px;
  right: -10px;
  bottom: -10px;
  border: 2px solid var(--neon-green);
  border-radius: 50%;
  opacity: 0;
  animation: pulseRing 2s ease-out infinite;
}

@keyframes pulseRing {
  0% {
    transform: scale(0.8);
    opacity: 1;
  }
  100% {
    transform: scale(1.4);
    opacity: 0;
  }
}

.chatbot-widget {
  position: fixed;
  bottom: 100px;
  right: var(--space-24);
  width: 350px;
  height: 500px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(20px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  z-index: 999;
  display: none;
  flex-direction: column;
  overflow: hidden;
}

.chatbot-widget.active {
  display: flex;
  animation: widgetSlideIn 0.3s ease-out;
}

@keyframes widgetSlideIn {
  0% {
    opacity: 0;
    transform: translateY(20px) scale(0.9);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

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

.chatbot-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid var(--neon-green);
  box-shadow: 0 0 10px rgba(57, 255, 20, 0.5);
}

.chatbot-tabs {
  display: flex;
  gap: var(--space-8);
}

.chatbot-tab {
  padding: var(--space-6) var(--space-12);
  background: transparent;
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-base);
  color: rgba(234, 244, 244, 0.7);
  cursor: pointer;
  font-size: var(--font-size-sm);
  transition: all var(--duration-normal);
}

.chatbot-tab.active {
  background: var(--electric-blue);
  color: var(--deep-black);
  border-color: var(--electric-blue);
}

.chatbot-close {
  background: none;
  border: none;
  color: rgba(234, 244, 244, 0.7);
  font-size: var(--font-size-xl);
  cursor: pointer;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color var(--duration-normal);
}

.chatbot-close:hover {
  color: var(--neon-green);
}

.chatbot-content {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.chatbot-messages {
  flex: 1;
  padding: var(--space-16);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-12);
}

.bot-message {
  display: flex;
  align-items: flex-start;
  gap: var(--space-8);
}

.message-avatar {
  flex-shrink: 0;
}

.message-avatar img {
  width: 24px;
  height: 24px;
  border-radius: 50%;
}

.message-content {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-base);
  padding: var(--space-8) var(--space-12);
  font-size: var(--font-size-sm);
  line-height: 1.4;
  max-width: 80%;
}

.user-message {
  align-self: flex-end;
  background: var(--electric-blue);
  color: var(--deep-black);
  border-radius: var(--radius-base);
  padding: var(--space-8) var(--space-12);
  font-size: var(--font-size-sm);
  max-width: 80%;
}

.chatbot-input {
  display: flex;
  padding: var(--space-16);
  border-top: 1px solid var(--glass-border);
  gap: var(--space-8);
}

.chat-input {
  flex: 1;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-base);
  padding: var(--space-8) var(--space-12);
  color: var(--white-accent);
  font-size: var(--font-size-sm);
}

.chat-input::placeholder {
  color: rgba(234, 244, 244, 0.5);
}

.chat-input:focus {
  outline: none;
  border-color: var(--electric-blue);
  box-shadow: 0 0 10px rgba(55, 227, 255, 0.3);
}

.send-button {
  background: var(--electric-blue);
  border: none;
  border-radius: var(--radius-base);
  color: var(--deep-black);
  padding: var(--space-8) var(--space-12);
  cursor: pointer;
  font-size: var(--font-size-sm);
  transition: all var(--duration-normal);
}

.send-button:hover {
  background: var(--neon-green);
  transform: scale(1.05);
}

.voice-controls {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: var(--space-32);
  gap: var(--space-16);
}

.voice-controls.hidden {
  display: none;
}

.voice-button {
  width: 80px;
  height: 80px;
  background: var(--electric-blue);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: all var(--duration-normal);
  box-shadow: 0 4px 20px rgba(55, 227, 255, 0.4);
}

.voice-button:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 25px rgba(55, 227, 255, 0.6);
}

.voice-button.recording {
  background: var(--neon-green);
  animation: recordingPulse 1s ease-in-out infinite;
}

@keyframes recordingPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}

.mic-icon {
  font-size: 1.5rem;
  margin-bottom: var(--space-4);
}

.voice-text {
  font-size: var(--font-size-xs);
  color: var(--deep-black);
  font-weight: 500;
}

.voice-status {
  font-size: var(--font-size-sm);
  color: rgba(234, 244, 244, 0.7);
  text-align: center;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .robot-scene {
    right: 5%;
  }
  
  .about-content {
    grid-template-columns: 1fr;
    gap: var(--space-24);
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .footer-links {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: 100%;
    left: 0;
    width: 100%;
    height: 0;
    background: rgba(10, 15, 20, 0.95);
    backdrop-filter: blur(20px);
    flex-direction: column;
    overflow: hidden;
    transition: all var(--duration-normal);
    border-top: 1px solid var(--glass-border);
  }
  
  .nav-menu.active {
    height: auto;
    padding: var(--space-24) 0;
  }
  
  .nav-toggle {
    display: flex;
  }
  
  .nav-actions {
    order: -1;
  }
  
  .nav-cta {
    display: none;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-stats {
    flex-direction: column;
    gap: var(--space-16);
  }
  
  .hero-actions {
    flex-direction: column;
    align-items: center;
  }
  
  .hero-actions .btn {
    width: 100%;
    max-width: 300px;
  }
  
  .robot-scene {
    position: relative;
    right: auto;
    top: auto;
    transform: none;
    text-align: center;
    margin-top: var(--space-32);
  }
  
  .services-grid {
    grid-template-columns: 1fr;
  }
  
  .packages-grid {
    grid-template-columns: 1fr;
  }
  
  .industries-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-links {
    grid-template-columns: 1fr;
    gap: var(--space-24);
  }
  
  .chatbot-widget {
    width: 90%;
    right: 5%;
    left: 5%;
  }
  
  .chatbot-toggle {
    bottom: var(--space-16);
    right: var(--space-16);
    width: 50px;
    height: 50px;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2rem;
  }
  
  .section-title {
    font-size: var(--font-size-3xl);
  }
  
  .industries-grid {
    grid-template-columns: 1fr;
  }
  
  .service-card,
  .package-card,
  .industry-card {
    padding: var(--space-20);
  }
}

/* Accessibility: Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  
  .gradient-text {
    background: var(--neon-green);
    -webkit-background-clip: unset;
    background-clip: unset;
    -webkit-text-fill-color: unset;
    color: var(--neon-green);
  }
  
  .cyber-grid {
    opacity: 0.05;
  }
  
  .particles-container {
    display: none;
  }
  
  .robot-scene {
    transform: translateY(-50px);
  }
}

/* Motion Disabled State */
.motion-disabled *,
.motion-disabled *::before,
.motion-disabled *::after {
  animation: none !important;
  transition: none !important;
}

.motion-disabled .gradient-text {
  background: var(--neon-green);
  -webkit-background-clip: unset;
  background-clip: unset;
  -webkit-text-fill-color: unset;
  color: var(--neon-green);
}

.motion-disabled .cyber-grid {
  opacity: 0.05;
}

.motion-disabled .particles-container {
  display: none;
}

.motion-disabled .pulse-ring {
  display: none;
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
  :root {
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.3);
  }
  
  .service-card,
  .package-card,
  .industry-card,
  .chatbot-widget {
    border-width: 2px;
  }
  
  .nav-link,
  .btn,
  .chatbot-tab {
    border-width: 2px;
  }
}

/* Print Styles */
@media print {
  .header,
  .chatbot-widget,
  .chatbot-toggle,
  .particles-container,
  .robot-scene {
    display: none;
  }
  
  body {
    background: white;
    color: black;
  }
  
  .hero-background {
    display: none;
  }
  
  * {
    animation: none !important;
    transition: none !important;
  }
}

/* Focus Styles for Better Accessibility */
.btn:focus-visible,
.nav-link:focus-visible,
.chatbot-tab:focus-visible,
.motion-toggle:focus-visible {
  outline: 2px solid var(--neon-green);
  outline-offset: 2px;
}

/* Loading States */
.loading {
  opacity: 0.6;
  pointer-events: none;
}

.loading::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 20px;
  border: 2px solid var(--glass-border);
  border-top: 2px solid var(--neon-green);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: translate(-50%, -50%) rotate(0deg); }
  100% { transform: translate(-50%, -50%) rotate(360deg); }
}
/* AI City Biz – Existing styles would be above */

/* =================== PROTECTION CSS =================== */
* {
  -webkit-user-select: none !important;
  -moz-user-select: none !important;
  -ms-user-select: none !important;
  user-select: none !important;
}

img {
  -webkit-user-drag: none !important;
  -khtml-user-drag: none !important;
  -moz-user-drag: none !important;
  -o-user-drag: none !important;
  user-drag: none !important;
  pointer-events: none !important;
}

/* Prevent highlight */
*::selection { background: transparent !important; }

/* Simple page watermark */
body::after {
  content: '© AI City Biz – Confidential';
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-45deg);
  font-size: 32px;
  color: rgba(57,255,20,0.08);
  pointer-events: none;
  z-index: 9999;
}
