: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);
  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 */
/* Advanced Animation Variables - Blue Centric Theme */
:root {
  /* Blue-Centric Color Palette */
  --primary-blue: #0B1426;
  --deep-space-blue: #1a1a2e;
  --electric-blue: #00d4ff;
  --bright-cyan: #4ecdc4;
  --ocean-blue: #45b7d1;
  --navy-blue: #1e3a8a;
  --royal-blue: #1e40af;
  --cyan-glow: #06b6d4;
  --sky-blue: #0ea5e9;
  
  /* Secondary Blues */
  --midnight-blue: #0f172a;
  --steel-blue: #334155;
  --powder-blue: #dbeafe;
  --ice-blue: #f0f9ff;
  
  /* Dark Theme Base with Blue Tints */
  --bg-primary: var(--primary-blue);
  --bg-secondary: var(--deep-space-blue);
  --bg-tertiary: #243447;
  --bg-glass: rgba(0, 212, 255, 0.05);
  --bg-glass-strong: rgba(0, 212, 255, 0.1);
  
  /* Text Colors */
  --text-primary: #ffffff;
  --text-secondary: #b0c4de;
  --text-muted: #8892a0;
  --text-accent: var(--electric-blue);
  
  /* Blue Gradients */
  --gradient-primary: linear-gradient(135deg, var(--electric-blue), var(--bright-cyan));
  --gradient-secondary: linear-gradient(135deg, var(--ocean-blue), var(--royal-blue));
  --gradient-tertiary: linear-gradient(135deg, var(--cyan-glow), var(--sky-blue));
  --gradient-glow: linear-gradient(45deg, rgba(0, 212, 255, 0.3), rgba(78, 205, 196, 0.3));
  
  /* Blue Shadows & Glows */
  --shadow-glow-blue: 0 0 30px rgba(0, 212, 255, 0.4);
  --shadow-glow-cyan: 0 0 30px rgba(78, 205, 196, 0.3);
  --shadow-glow-ocean: 0 0 30px rgba(69, 183, 209, 0.3);
  --shadow-card: 0 10px 40px rgba(11, 20, 38, 0.4);
  --shadow-inset: inset 0 1px 3px rgba(0, 212, 255, 0.1);
  
  /* Animation Timings */
  --duration-fast: 0.3s;
  --duration-normal: 0.6s;
  --duration-slow: 1.2s;
  --ease-smooth: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-bounce: cubic-bezier(0.68, -0.55, 0.265, 1.55);
  
  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --space-2xl: 4rem;
  --space-3xl: 6rem;
  
  /* Typography */
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', 'Courier New', monospace;
  --font-size-xs: 0.75rem;
  --font-size-sm: 0.875rem;
  --font-size-base: 1rem;
  --font-size-lg: 1.125rem;
  --font-size-xl: 1.25rem;
  --font-size-2xl: 1.5rem;
  --font-size-3xl: 2rem;
  --font-size-4xl: 2.5rem;
  --font-size-5xl: 3rem;
  --font-size-6xl: 4rem;
}

/* Base Reset & Setup */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  font-family: var(--font-primary);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

/* Particle Canvas Background */
.particle-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
  opacity: 0.6;
}

/* Loading Screen with Advanced Animation */
.loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10000;
  transition: opacity 1s ease-out, visibility 1s ease-out;
}

.loading-screen.hidden {
  opacity: 0;
  visibility: hidden;
}

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

.loading-logo {
  position: relative;
  margin-bottom: var(--space-xl);
}

.logo-particles {
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 40px;
  background: var(--gradient-primary);
  border-radius: 20px;
  opacity: 0.3;
  animation: particleFloat 3s ease-in-out infinite;
}

.loading-logo .logo-text {
  font-size: var(--font-size-4xl);
  font-weight: 900;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: textPulse 2s ease-in-out infinite;
}

.loading-progress {
  width: 300px;
  height: 6px;
  background: var(--bg-tertiary);
  border-radius: 3px;
  overflow: hidden;
  position: relative;
  margin: 0 auto;
}

.progress-bar {
  height: 100%;
  background: var(--gradient-primary);
  border-radius: 3px;
  width: 0;
  animation: progressLoad 3s ease-out;
  box-shadow: 0 0 20px rgba(0, 212, 255, 0.5);
}

.progress-text {
  position: absolute;
  top: -30px;
  right: 0;
  color: var(--text-accent);
  font-family: var(--font-mono);
  font-size: var(--font-size-sm);
  font-weight: 600;
}

@keyframes particleFloat {
  0%, 100% { transform: translateX(-50%) translateY(0) scale(1); }
  50% { transform: translateX(-50%) translateY(-10px) scale(1.1); }
}

@keyframes textPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

@keyframes progressLoad {
  0% { width: 0; }
  100% { width: 100%; }
}

/* MODERN NAVIGATION DESIGN */
.floating-nav {
  position: fixed;
  top: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  transition: all 0.3s ease;
  will-change: transform, opacity;
}

.floating-nav.hidden {
  transform: translateX(-50%) translateY(-120px);
  opacity: 0;
}

.floating-nav.scrolled {
  transform: translateX(-50%) scale(0.96);
  top: 16px;
}

.nav-island {
  background: rgba(11, 20, 38, 0.85);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(0, 212, 255, 0.15);
  border-radius: 60px;
  padding: 16px 32px;
  display: flex;
  align-items: center;
  gap: 48px;
  box-shadow: 
    0 8px 32px rgba(0, 0, 0, 0.3),
    0 0 0 1px rgba(255, 255, 255, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  min-height: 72px;
}

.nav-island::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.1), transparent);
  transition: left 1.5s ease;
  animation: navShimmer 6s ease-in-out infinite;
}

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

.nav-island:hover {
  transform: translateY(-2px);
  border-color: rgba(0, 212, 255, 0.3);
  box-shadow: 
    0 12px 40px rgba(0, 0, 0, 0.4),
    0 0 40px rgba(0, 212, 255, 0.2),
    0 0 0 1px rgba(255, 255, 255, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

/* Modern Logo Design */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 22px;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  transition: all 0.3s ease;
  cursor: pointer;
}

.nav-logo:hover {
  transform: scale(1.02);
}

.logo-icon {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

/* Modern Navigation Links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  position: relative;
}

.nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  font-size: 15px;
  position: relative;
  padding: 12px 20px;
  border-radius: 32px;
  transition: all 0.3s ease;
  letter-spacing: -0.01em;
  background: transparent;
  border: 1px solid transparent;
}

.nav-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--gradient-primary);
  border-radius: 32px;
  opacity: 0;
  transition: all 0.3s ease;
  z-index: -1;
}

.nav-link:hover {
  color: var(--text-primary);
  transform: scale(1.05);
  border-color: rgba(0, 212, 255, 0.2);
  background: rgba(0, 212, 255, 0.08);
  box-shadow: 
    0 4px 16px rgba(0, 212, 255, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.nav-link.active {
  color: var(--primary-blue);
  background: var(--gradient-primary);
  border-color: rgba(0, 212, 255, 0.3);
  box-shadow: 
    0 4px 16px rgba(0, 212, 255, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  font-weight: 600;
}

.nav-link.active::before {
  opacity: 1;
}

/* Modern Mobile Menu Button */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 48px;
  height: 48px;
  cursor: pointer;
  background: rgba(0, 212, 255, 0.1);
  border: 1px solid rgba(0, 212, 255, 0.2);
  border-radius: 16px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.mobile-menu-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--gradient-primary);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
}

.mobile-menu-btn:hover {
  border-color: var(--electric-blue);
  box-shadow: 0 4px 16px rgba(0, 212, 255, 0.3);
  transform: scale(1.05);
}

.mobile-menu-btn:hover::before {
  opacity: 0.1;
}

.mobile-menu-btn span {
  width: 20px;
  height: 2px;
  background: var(--text-primary);
  transition: all 0.3s ease;
  border-radius: 2px;
  margin: 2px 0;
  transform-origin: center;
}

.mobile-menu-btn.active span:nth-child(1) {
  transform: rotate(45deg) translate(3px, 3px);
}

.mobile-menu-btn.active span:nth-child(2) {
  opacity: 0;
  transform: scale(0);
}

.mobile-menu-btn.active span:nth-child(3) {
  transform: rotate(-45deg) translate(3px, -3px);
}

/* Modern Mobile Navigation Overlay */
.mobile-nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(11, 20, 38, 0.95);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  transform: translateY(-100%);
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-nav-overlay::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--gradient-glow);
  opacity: 0.1;
  z-index: -1;
}

.mobile-nav-overlay.active {
  transform: translateY(0);
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 40px;
}

.mobile-nav-link {
  color: var(--text-primary);
  text-decoration: none;
  font-size: 24px;
  font-weight: 600;
  padding: 20px 40px;
  border-radius: 40px;
  transition: all 0.3s ease;
  opacity: 0;
  transform: translateY(30px);
  background: rgba(0, 212, 255, 0.05);
  border: 1px solid rgba(0, 212, 255, 0.15);
  letter-spacing: -0.02em;
  min-width: 200px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.mobile-nav-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--gradient-primary);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
}

.mobile-nav-overlay.active .mobile-nav-link {
  opacity: 1;
  transform: translateY(0);
}

.mobile-nav-link:nth-child(1) { transition-delay: 0.1s; }
.mobile-nav-link:nth-child(2) { transition-delay: 0.15s; }
.mobile-nav-link:nth-child(3) { transition-delay: 0.2s; }
.mobile-nav-link:nth-child(4) { transition-delay: 0.25s; }
.mobile-nav-link:nth-child(5) { transition-delay: 0.3s; }

.mobile-nav-link:hover {
  color: var(--primary-blue);
  transform: scale(1.05);
  box-shadow: 
    0 8px 32px rgba(0, 212, 255, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  border-color: rgba(0, 212, 255, 0.4);
}

.mobile-nav-link:hover::before {
  opacity: 1;
}

/* Hero Section with Blue Theme */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  padding: var(--space-3xl) 0 var(--space-2xl);
  background: 
    radial-gradient(circle at 20% 80%, rgba(0, 212, 255, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(78, 205, 196, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 40% 40%, rgba(69, 183, 209, 0.05) 0%, transparent 50%);
  overflow: hidden;
}

.hero-bg-elements {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.floating-orb {
  position: absolute;
  border-radius: 50%;
  background: var(--gradient-primary);
  opacity: 0.1;
  animation: floatOrb 8s ease-in-out infinite;
  filter: blur(1px);
}

.orb-1 {
  width: 300px;
  height: 300px;
  top: 10%;
  left: 10%;
  background: var(--gradient-primary);
  animation-delay: 0s;
}

.orb-2 {
  width: 200px;
  height: 200px;
  top: 60%;
  right: 15%;
  background: var(--gradient-secondary);
  animation-delay: 2s;
}

.orb-3 {
  width: 150px;
  height: 150px;
  bottom: 20%;
  left: 60%;
  background: var(--gradient-tertiary);
  animation-delay: 4s;
}

@keyframes floatOrb {
  0%, 100% { 
    transform: translateY(0) scale(1) rotate(0deg);
    opacity: 0.1;
  }
  50% { 
    transform: translateY(-30px) scale(1.1) rotate(180deg);
    opacity: 0.2;
  }
}

.circuit-pattern {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(90deg, rgba(0, 212, 255, 0.1) 1px, transparent 1px),
    linear-gradient(rgba(0, 212, 255, 0.1) 1px, transparent 1px);
  background-size: 50px 50px;
  animation: circuitMove 20s linear infinite;
  opacity: 0.3;
}

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

.data-stream {
  position: absolute;
  width: 2px;
  height: 100px;
  background: linear-gradient(to bottom, transparent, var(--electric-blue), transparent);
  animation: streamFlow 3s linear infinite;
  opacity: 0.6;
}

.stream-1 {
  left: 20%;
  animation-delay: 0s;
}

.stream-2 {
  left: 50%;
  animation-delay: 1s;
}

.stream-3 {
  right: 20%;
  animation-delay: 2s;
}

@keyframes streamFlow {
  0% { 
    top: -100px; 
    opacity: 0; 
  }
  50% { 
    opacity: 1; 
  }
  100% { 
    top: 100%; 
    opacity: 0; 
  }
}

.hero-content {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-text {
  animation: slideInLeft 1s ease-out 0.5s both;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  background: var(--bg-glass);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(0, 212, 255, 0.3);
  padding: var(--space-xs) var(--space-md);
  border-radius: 50px;
  margin-bottom: var(--space-lg);
  font-size: var(--font-size-sm);
  font-weight: 600;
  color: var(--electric-blue);
  animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {
  0%, 100% { 
    box-shadow: 0 0 10px rgba(0, 212, 255, 0.3);
    transform: scale(1);
  }
  50% { 
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.5);
    transform: scale(1.02);
  }
}

.badge-icon {
  font-size: var(--font-size-lg);
  animation: iconSpin 3s linear infinite;
}

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

.hero-title {
  font-size: var(--font-size-6xl);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: var(--space-lg);
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.title-word {
  display: inline-block;
  opacity: 0;
  animation: wordReveal 0.8s ease-out forwards;
}

.title-word:nth-child(1) { animation-delay: 0.8s; }
.title-word:nth-child(2) { animation-delay: 1.0s; }
.title-word:nth-child(3) { animation-delay: 1.2s; }
.title-word:nth-child(4) { animation-delay: 1.4s; }
.title-word:nth-child(5) { animation-delay: 1.6s; }

.gradient-text {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
}

.gradient-text::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--gradient-primary);
  opacity: 0;
  animation: textGlow 3s ease-in-out infinite;
  filter: blur(10px);
  z-index: -1;
}

@keyframes wordReveal {
  0% { 
    opacity: 0; 
    transform: translateY(50px) rotateX(90deg); 
  }
  100% { 
    opacity: 1; 
    transform: translateY(0) rotateX(0deg); 
  }
}

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

.hero-subtitle {
  font-size: var(--font-size-xl);
  color: var(--text-secondary);
  margin-bottom: var(--space-xl);
  line-height: 1.8;
  animation: slideInLeft 1s ease-out 1.8s both;
}

/* Button Styles with Blue Theme */
.btn {
  position: relative;
  padding: var(--space-md) var(--space-xl);
  border: none;
  border-radius: 50px;
  font-size: var(--font-size-base);
  font-weight: 600;
  font-family: var(--font-primary);
  cursor: pointer;
  transition: all var(--duration-normal) var(--ease-smooth);
  overflow: hidden;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 180px;
  height: 56px;
}

.btn-primary {
  background: var(--gradient-primary);
  color: var(--bg-primary);
  box-shadow: var(--shadow-glow-blue);
  border: 1px solid transparent;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.6s;
}

.btn-primary:hover::before {
  left: 100%;
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 10px 30px rgba(0, 212, 255, 0.4);
}

.btn-outline {
  background: var(--bg-glass);
  color: var(--text-primary);
  border: 1px solid rgba(0, 212, 255, 0.3);
  backdrop-filter: blur(10px);
}

.btn-outline:hover {
  background: var(--bg-glass-strong);
  border-color: var(--electric-blue);
  transform: translateY(-3px);
  box-shadow: var(--shadow-glow-blue);
}

.btn-particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
}

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

/* Hero Visual with Blue Effects */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  animation: slideInRight 1s ease-out 0.5s both;
}

.tech-sphere-container {
  position: relative;
  width: 500px;
  height: 500px;
}

.tech-sphere {
  position: relative;
  width: 300px;
  height: 300px;
  margin: 100px auto;
  border-radius: 50%;
  background: 
    radial-gradient(circle at 30% 30%, rgba(0, 212, 255, 0.3), transparent 70%),
    var(--bg-glass);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(0, 212, 255, 0.2);
  box-shadow: 
    var(--shadow-glow-blue),
    inset 0 1px 0 rgba(0, 212, 255, 0.1);
  animation: sphereRotate 20s linear infinite;
}

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

.sphere-ring {
  position: absolute;
  border: 2px solid rgba(0, 212, 255, 0.3);
  border-radius: 50%;
  animation: ringRotate 15s linear infinite reverse;
}

.ring-1 {
  width: 320px;
  height: 320px;
  top: -10px;
  left: -10px;
  border-color: rgba(0, 212, 255, 0.4);
}

.ring-2 {
  width: 360px;
  height: 360px;
  top: -30px;
  left: -30px;
  border-color: rgba(78, 205, 196, 0.3);
  animation-duration: 18s;
}

.ring-3 {
  width: 400px;
  height: 400px;
  top: -50px;
  left: -50px;
  border-color: rgba(69, 183, 209, 0.2);
  animation-duration: 25s;
}

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

.sphere-core {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-glow-blue);
}

.core-elements {
  position: relative;
  width: 100%;
  height: 100%;
}

.element {
  position: absolute;
  width: 40px;
  height: 40px;
  background: var(--bg-glass-strong);
  border: 1px solid rgba(0, 212, 255, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--font-size-lg);
  font-weight: 700;
  color: var(--text-primary);
  animation: elementOrbit 12s linear infinite;
}

.element:nth-child(1) { top: 10px; left: 50%; transform: translateX(-50%); }
.element:nth-child(2) { top: 50%; right: 10px; transform: translateY(-50%); animation-delay: -2s; }
.element:nth-child(3) { bottom: 10px; left: 50%; transform: translateX(-50%); animation-delay: -4s; }
.element:nth-child(4) { top: 50%; left: 10px; transform: translateY(-50%); animation-delay: -6s; }
.element:nth-child(5) { top: 25%; right: 25%; animation-delay: -8s; }
.element:nth-child(6) { bottom: 25%; left: 25%; animation-delay: -10s; }

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

.floating-icons {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.icon-orbit {
  position: absolute;
  animation: iconFloat 8s ease-in-out infinite;
}

.orbit-1 {
  top: 20%;
  left: 10%;
  animation-delay: 0s;
}

.orbit-2 {
  top: 10%;
  right: 20%;
  animation-delay: 2s;
}

.orbit-3 {
  bottom: 30%;
  left: 20%;
  animation-delay: 4s;
}

.orbit-4 {
  bottom: 20%;
  right: 10%;
  animation-delay: 6s;
}

.tech-icon {
  width: 60px;
  height: 60px;
  background: var(--bg-glass);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(0, 212, 255, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--font-size-2xl);
  box-shadow: var(--shadow-glow-blue);
  transition: all var(--duration-normal);
}

.tech-icon:hover {
  transform: scale(1.2);
  box-shadow: 0 0 30px rgba(0, 212, 255, 0.6);
}

@keyframes iconFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  25% { transform: translateY(-20px) rotate(90deg); }
  50% { transform: translateY(-10px) rotate(180deg); }
  75% { transform: translateY(-15px) rotate(270deg); }
}

.scroll-indicator {
  position: absolute;
  bottom: var(--space-xl);
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  animation: scrollBounce 2s ease-in-out infinite;
}

.scroll-text {
  color: var(--text-muted);
  font-size: var(--font-size-sm);
  margin-bottom: var(--space-xs);
  font-family: var(--font-mono);
}

.scroll-arrow {
  width: 30px;
  height: 30px;
  border-right: 2px solid var(--electric-blue);
  border-bottom: 2px solid var(--electric-blue);
  transform: rotate(45deg);
  margin: 0 auto;
}

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

/* Stats Section */


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


/* Section Styles */
section {
  position: relative;
  z-index: 1;
}

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

.section-title {
  font-size: var(--font-size-5xl);
  font-weight: 900;
  margin-bottom: var(--space-lg);
  position: relative;
  display: inline-block;
}

.title-decoration {
  display: inline-block;
  width: 50px;
  height: 4px;
  background: var(--gradient-primary);
  margin: 0 var(--space-lg);
  border-radius: 2px;
  vertical-align: middle;
}

.section-subtitle {
  font-size: var(--font-size-xl);
  color: var(--text-secondary);
  font-weight: 500;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

/* About Section */
.about-section {
  padding: var(--space-3xl) 0;
  background: var(--bg-primary);
  position: relative;
}

.section-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.1;
  z-index: 0;
}

.bg-pattern {
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(circle at 25% 25%, var(--electric-blue) 1px, transparent 1px),
    radial-gradient(circle at 75% 75%, var(--bright-cyan) 1px, transparent 1px);
  background-size: 50px 50px;
  animation: patternMove 30s linear infinite;
}

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

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

.about-text {
  font-size: var(--font-size-lg);
  line-height: 1.8;
}

.text-block p {
  margin-bottom: var(--space-lg);
  color: var(--text-secondary);
}

.about-features {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
  margin-top: var(--space-xl);
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-md);
  padding: var(--space-md);
  background: var(--bg-glass);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(0, 212, 255, 0.4);
  border-radius: 16px;
  transition: all var(--duration-normal);
  margin: 0 auto;
  max-width: 90%;
  box-sizing: border-box;
  width: calc(90% - 30px);
}

.feature-item:hover {
  transform: translateX(10px);
  border-color: var(--electric-blue);
  box-shadow: var(--shadow-glow-blue);
}

.feature-icon {
  font-size: var(--font-size-2xl);
  color: var(--electric-blue);
  min-width: 40px;
}

.feature-content h4 {
  color: var(--text-primary);
  margin-bottom: var(--space-xs);
  font-weight: 600;
}

.feature-content p {
  color: var(--text-secondary);
  margin: 0;
}

/* Neural Network Visualization */
.about-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.neural-network {
  position: relative;
  width: 400px;
  height: 400px;
}

.network-node {
  position: absolute;
  width: 60px;
  height: 60px;
  background: var(--gradient-primary);
  border-radius: 50%;
  border: 2px solid rgba(0, 212, 255, 0.5);
  box-shadow: var(--shadow-glow-blue);
  animation: nodePulse 3s ease-in-out infinite;
}

.node-1 {
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  animation-delay: 0s;
}

.node-2 {
  top: 120px;
  left: 50px;
  animation-delay: 0.6s;
}

.node-3 {
  top: 120px;
  right: 50px;
  animation-delay: 1.2s;
}

.node-4 {
  bottom: 120px;
  left: 80px;
  animation-delay: 1.8s;
}

.node-5 {
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  animation-delay: 2.4s;
}

@keyframes nodePulse {
  0%, 100% { 
    transform: scale(1) translateX(-50%); 
    box-shadow: var(--shadow-glow-blue);
  }
  50% { 
    transform: scale(1.1) translateX(-50%); 
    box-shadow: 0 0 40px rgba(0, 212, 255, 0.6);
  }
}

.network-connection {
  position: absolute;
  height: 2px;
  background: var(--gradient-primary);
  opacity: 0.6;
  animation: connectionFlow 4s ease-in-out infinite;
}

.connection-1 {
  top: 50px;
  left: 60%;
  width: 100px;
  transform: rotate(35deg);
  animation-delay: 0s;
}

.connection-2 {
  top: 150px;
  left: 30%;
  width: 120px;
  transform: rotate(-20deg);
  animation-delay: 1s;
}

.connection-3 {
  top: 250px;
  left: 40%;
  width: 80px;
  transform: rotate(45deg);
  animation-delay: 2s;
}

.connection-4 {
  bottom: 150px;
  left: 45%;
  width: 90px;
  transform: rotate(-35deg);
  animation-delay: 3s;
}

@keyframes connectionFlow {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; box-shadow: 0 0 10px rgba(0, 212, 255, 0.8); }
}

.data-pulse {
  position: absolute;
  width: 8px;
  height: 8px;
  background: var(--electric-blue);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--electric-blue);
  animation: dataPulseMove 3s linear infinite;
}

.pulse-1 {
  top: 50px;
  left: 60%;
  animation-delay: 0s;
}

.pulse-2 {
  top: 150px;
  left: 30%;
  animation-delay: 1s;
}

.pulse-3 {
  top: 250px;
  left: 40%;
  animation-delay: 2s;
}

@keyframes dataPulseMove {
  0% { opacity: 0; transform: scale(0.5); }
  50% { opacity: 1; transform: scale(1); }
  100% { opacity: 0; transform: scale(0.5) translateX(100px); }
}

/* Services Section */
.services-section {
  padding: var(--space-3xl) 0;
  background: var(--bg-secondary);
  position: relative;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-xl);
  max-width: 1200px;
  margin: 0 auto;
}

.service-card {
  background: var(--bg-glass);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(0, 212, 255, 0.2);
  border-radius: 24px;
  padding: var(--space-xl);
  position: relative;
  overflow: hidden;
  transition: all var(--duration-normal) var(--ease-smooth);
  cursor: pointer;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient-glow);
  opacity: 0;
  transition: opacity var(--duration-normal);
}

.service-card:hover::before {
  opacity: 1;
}

.service-card:hover {
  transform: translateY(-10px) scale(1.02);
  border-color: var(--electric-blue);
  box-shadow: var(--shadow-glow-blue);
}

.card-glow {
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: var(--gradient-primary);
  border-radius: 24px;
  opacity: 0;
  transition: opacity var(--duration-normal);
  z-index: -1;
}

.service-card:hover .card-glow {
  opacity: 0.3;
  animation: glowRotate 3s linear infinite;
}

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

.service-icon {
  font-size: var(--font-size-4xl);
  margin-bottom: var(--space-lg);
  display: block;
  position: relative;
  z-index: 1;
}

.service-title {
  font-size: var(--font-size-2xl);
  font-weight: 700;
  margin-bottom: var(--space-md);
  color: var(--text-primary);
  position: relative;
  z-index: 1;
}

.service-description {
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: var(--space-lg);
  font-size: var(--font-size-base);
  position: relative;
  z-index: 1;
}

.service-features {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs);
  position: relative;
  z-index: 1;
}

.feature-tag {
  background: rgba(0, 212, 255, 0.1);
  color: var(--electric-blue);
  padding: var(--space-xs) var(--space-sm);
  border-radius: 20px;
  font-size: var(--font-size-xs);
  font-weight: 600;
  border: 1px solid rgba(0, 212, 255, 0.3);
  transition: all var(--duration-fast);
}

.feature-tag:hover {
  background: var(--electric-blue);
  color: var(--bg-primary);
  transform: scale(1.05);
}

/* Technologies Section */
.tech-section {
  padding: var(--space-3xl) 0;
  background: var(--bg-primary);
  position: relative;
  overflow: hidden;
}

.tech-constellation {
  position: relative;
  width: 600px;
  height: 600px;
  margin: 0 auto;
}

.tech-orbit {
  position: absolute;
  top: 50%;
  left: 50%;
  border: 1px solid rgba(0, 212, 255, 0.2);
  border-radius: 50%;
  animation: orbitRotate 30s linear infinite;
}

.orbit-inner {
  width: 200px;
  height: 200px;
  margin-top: -100px;
  margin-left: -100px;
}

.orbit-middle {
  width: 350px;
  height: 350px;
  margin-top: -175px;
  margin-left: -175px;
  animation-duration: 40s;
  animation-direction: reverse;
}

.orbit-outer {
  width: 500px;
  height: 500px;
  margin-top: -250px;
  margin-left: -250px;
  animation-duration: 50s;
}

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

.tech-item {
  position: absolute;
  width: 80px;
  height: 80px;
  background: var(--bg-glass);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(0, 212, 255, 0.3);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  transition: all var(--duration-normal);
  cursor: pointer;
  animation: techFloat 6s ease-in-out infinite;
}

.orbit-inner .tech-item:nth-child(1) {
  top: -40px;
  left: calc(50% - 40px);
  animation-delay: 0s;
}

.orbit-inner .tech-item:nth-child(2) {
  bottom: -40px;
  left: calc(50% - 40px);
  animation-delay: 3s;
}

.orbit-middle .tech-item:nth-child(1) {
  top: -40px;
  left: calc(50% - 40px);
  animation-delay: 1s;
}

.orbit-middle .tech-item:nth-child(2) {
  top: calc(50% - 40px);
  right: -40px;
  animation-delay: 2s;
}

.orbit-middle .tech-item:nth-child(3) {
  bottom: -40px;
  left: calc(50% - 40px);
  animation-delay: 4s;
}

.orbit-outer .tech-item:nth-child(1) {
  top: calc(25% - 40px);
  left: -40px;
  animation-delay: 0.5s;
}

.orbit-outer .tech-item:nth-child(2) {
  top: -40px;
  right: calc(25% - 40px);
  animation-delay: 1.5s;
}

.orbit-outer .tech-item:nth-child(3) {
  bottom: calc(25% - 40px);
  right: -40px;
  animation-delay: 2.5s;
}

.orbit-outer .tech-item:nth-child(4) {
  bottom: calc(25% - 40px);
  left: -40px;
  animation-delay: 2.5s;
}

@keyframes techFloat {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-10px) scale(1.05); }
}

.tech-item:hover {
  transform: scale(1.2) translateY(-5px);
  border-color: var(--electric-blue);
  box-shadow: var(--shadow-glow-blue);
  z-index: 10;
}

.tech-icon {
  font-size: var(--font-size-lg);
  margin-bottom: var(--space-xs);
}

.tech-name {
  font-size: var(--font-size-xs);
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 2px;
}

.tech-center {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100px;
  height: 100px;
  margin-top: -50px;
  margin-left: -50px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--font-size-3xl);
  font-weight: 900;
  color: var(--bg-primary);
  box-shadow: var(--shadow-glow-blue);
  animation: centerPulse 4s ease-in-out infinite;
}

@keyframes centerPulse {
  0%, 100% { 
    transform: scale(1); 
    box-shadow: var(--shadow-glow-blue);
  }
  50% { 
    transform: scale(1.1); 
    box-shadow: 0 0 40px rgba(0, 212, 255, 0.6);
  }
}

.center-pulse {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 120px;
  height: 120px;
  margin-top: -60px;
  margin-left: -60px;
  border: 2px solid var(--electric-blue);
  border-radius: 50%;
  opacity: 0.5;
  animation: pulseExpand 2s ease-out infinite;
}

@keyframes pulseExpand {
  0% {
    transform: scale(0.8);
    opacity: 0.8;
  }
  100% {
    transform: scale(2);
    opacity: 0;
  }
}

/* Contact Section */
.contact-section {
  padding: var(--space-3xl) 0;
  background: var(--bg-secondary);
  position: relative;
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  max-width: 1200px;
  margin: 0 auto;
}

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

.contact-item {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  padding: var(--space-lg);
  background: var(--bg-glass);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(0, 212, 255, 0.2);
  border-radius: 16px;
  transition: all var(--duration-normal);
}

.contact-item:hover {
  transform: translateX(10px);
  border-color: var(--electric-blue);
  box-shadow: var(--shadow-glow-blue);
}

.contact-icon {
  width: 60px;
  height: 60px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-glow-blue);
}

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

.contact-details h4 {
  font-size: var(--font-size-lg);
  font-weight: 600;
  margin-bottom: var(--space-xs);
  color: var(--text-primary);
}

.contact-details p {
  color: var(--text-secondary);
  margin: 0;
}

/* Contact Form */
.contact-form-container {
  background: var(--bg-glass);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(0, 212, 255, 0.2);
  border-radius: 24px;
  padding: var(--space-xl);
  position: relative;
  overflow: hidden;
}

.contact-form-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.1), transparent);
  animation: formShimmer 3s ease-in-out infinite;
}

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

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

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

.form-group input,
.form-group textarea {
  width: 100%;
  padding: var(--space-md);
  background: var(--bg-glass);
  border: 1px solid rgba(0, 212, 255, 0.3);
  border-radius: 12px;
  color: var(--text-primary);
  font-size: var(--font-size-base);
  font-family: var(--font-primary);
  transition: all var(--duration-normal);
  backdrop-filter: blur(5px);
  position: relative;
  z-index: 2;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--electric-blue);
  box-shadow: var(--shadow-glow-blue);
}

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

.input-glow {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--gradient-primary);
  border-radius: 12px;
  opacity: 0;
  transition: opacity var(--duration-normal);
  z-index: 1;
  filter: blur(10px);
}

.form-group input:focus + .input-glow,
.form-group textarea:focus + .input-glow {
  opacity: 0.3;
}

/* Footer */
.footer {
  background: var(--bg-tertiary);
  padding: var(--space-2xl) 0 var(--space-lg);
  border-top: 1px solid rgba(0, 212, 255, 0.2);
  position: relative;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--gradient-primary);
  opacity: 0.5;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-lg);
  flex-wrap: wrap;
  gap: var(--space-lg);
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: var(--font-size-lg);
  font-weight: 700;
  color: var(--text-primary);
}

.footer-links {
  display: flex;
  gap: var(--space-lg);
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  transition: all var(--duration-fast);
  position: relative;
}

.footer-links a::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--electric-blue);
  transition: width var(--duration-fast);
}

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

.footer-links a:hover::after {
  width: 100%;
}

.social-links {
  display: flex;
  gap: var(--space-md);
}

.social-link {
  width: 50px;
  height: 50px;
  background: var(--bg-glass);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(0, 212, 255, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-primary);
  text-decoration: none;
  transition: all var(--duration-normal);
}

.social-link svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.social-link:hover {
  border-color: var(--electric-blue);
  transform: translateY(-3px) scale(1.1);
  box-shadow: var(--shadow-glow-blue);
  color: var(--electric-blue);
}

.footer-bottom {
  text-align: center;
  padding-top: var(--space-lg);
  border-top: 1px solid rgba(0, 212, 255, 0.1);
  color: var(--text-muted);
  font-size: var(--font-size-sm);
}

/* Animation Classes */
@keyframes slideInLeft {
  0% { 
    opacity: 0; 
    transform: translateX(-100px); 
  }
  100% { 
    opacity: 1; 
    transform: translateX(0); 
  }
}

@keyframes slideInRight {
  0% { 
    opacity: 0; 
    transform: translateX(100px); 
  }
  100% { 
    opacity: 1; 
    transform: translateX(0); 
  }
}

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

/* Responsive Design */
@media (max-width: 1200px) {
  .hero-content {
    gap: var(--space-2xl);
  }
  
  .tech-constellation {
    width: 500px;
    height: 500px;
  }
  
  .orbit-outer {
    width: 400px;
    height: 400px;
    margin-top: -200px;
    margin-left: -200px;
  }
}

@media (max-width: 968px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .about-content,
  .contact-content {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }
  
  .services-grid {
    grid-template-columns: 1fr;
    max-width: 600px;
  }
  
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
  
  .tech-constellation {
    width: 400px;
    height: 400px;
  }
  
  .orbit-middle {
    width: 250px;
    height: 250px;
    margin-top: -125px;
    margin-left: -125px;
  }
  
  .orbit-outer {
    width: 350px;
    height: 350px;
    margin-top: -175px;
    margin-left: -175px;
  }
}

@media (max-width: 768px) {
  .floating-nav {
    top: 16px;
    width: calc(100% - 32px);
    max-width: none;
  }
  
  .nav-island {
    justify-content: space-between;
    padding: 12px 20px;
    gap: 24px;
  }
  
  .nav-links {
    display: none;
  }
  
  .mobile-menu-btn {
    display: flex;
  }
  
  .hero-title {
    font-size: var(--font-size-4xl);
  }
  
  .section-title {
    font-size: var(--font-size-3xl);
  }
  
  .stats-grid {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }
  
  .tech-sphere-container {
    width: 350px;
    height: 350px;
  }
  
  .tech-sphere {
    width: 250px;
    height: 250px;
    margin: 50px auto;
  }
  
  .ring-1 {
    width: 270px;
    height: 270px;
  }
  
  .ring-2 {
    width: 300px;
    height: 300px;
  }
  
  .ring-3 {
    width: 330px;
    height: 330px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 var(--space-md);
  }
  
  .floating-nav {
    width: calc(100% - 20px);
    top: 12px;
  }
  
  .nav-island {
    padding: 10px 16px;
    gap: 16px;
  }
  
  .nav-logo {
    font-size: 16px;
    gap: 8px;
  }
  
  .logo-icon {
    height: 28px;
    border-radius: 10px;
  }
  
  .logo-svg {
    width: 16px;
    height: 16px;
  }
  
  .mobile-menu-btn {
    width: 44px;
    height: 44px;
    border-radius: 14px;
  }
  
  .mobile-menu-btn span {
    width: 18px;
  }
  
  .mobile-nav-link {
    font-size: 20px;
    padding: 16px 32px;
    min-width: 180px;
  }
  
  .hero {
    padding: var(--space-2xl) 0;
  }
  
  .hero-title {
    font-size: var(--font-size-3xl);
  }
 
  .btn {
    width: 100%;
    max-width: 280px;
  }
  
  .section-title {
    font-size: var(--font-size-2xl);
  }
  
  .footer-content {
    flex-direction: column;
    text-align: center;
    gap: var(--space-xl);
  }
  
  .footer-links {
    justify-content: center;
  }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  
  .floating-orb,
  .circuit-pattern,
  .data-stream,
  .sphere-ring,
  .tech-orbit,
  .logo-svg {
    animation: none !important;
  }
}

/* Print Styles */
@media print {
  .floating-nav,
  .scroll-indicator,
  .floating-orb,
  .particle-canvas {
    display: none !important;
  }
  
  .hero-bg-elements,
  .section-bg {
    display: none !important;
  }
  
  body {
    background: white !important;
    color: black !important;
  }
}