: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 */
/* Futuristic Colors */
:root {
  --color-cyan-neon: #00FFFF;
  --color-blue-electric: #0080FF;
  --color-blue-royal: #4169E1;
  --color-blue-dodger: #1E90FF;
  --color-dark-space: #0D1117;
  --color-darker-void: #010409;
  --color-purple-cyber: #8A2BE2;
  --color-green-matrix: #00FF41;
  
  /* Gradients */
  --gradient-cyber: linear-gradient(135deg, var(--color-cyan-neon), var(--color-blue-electric));
  --gradient-dark: linear-gradient(135deg, var(--color-dark-space), var(--color-darker-void));
  --gradient-hologram: linear-gradient(45deg, transparent, rgba(0, 255, 255, 0.3), transparent);
  
  /* Effects */
  --glow-cyan: 0 0 20px var(--color-cyan-neon), 0 0 40px var(--color-cyan-neon), 0 0 60px var(--color-cyan-neon);
  --glow-blue: 0 0 20px var(--color-blue-electric), 0 0 40px var(--color-blue-electric);
  --text-shadow-neon: 0 0 10px currentColor, 0 0 20px currentColor, 0 0 30px currentColor;
}

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

body {
  font-family: 'Exo 2', 'Orbitron', sans-serif;
  background: var(--color-dark-space);
  color: var(--color-cyan-neon);
  overflow-x: hidden;
  cursor: auto !important;
}

/* Asegurar cursor visible en todos los elementos */
* {
  cursor: inherit;
}

/* Cursor pointer en elementos clickeables */
a, button, input, select, textarea,
.navbar__link, .cyber-link, .btn,
.chatbot-hologram, .notification-bell,
#whatsappFloat, .course-enroll-btn {
  cursor: pointer !important;
}

/* Iconos SVG de redes sociales */
.social-icon svg {
  width: 20px;
  height: 20px;
  color: var(--color-cyan-neon);
  transition: all 0.3s ease;
}

.social-link-cyber:hover .social-icon svg {
  color: #ffffff;
  transform: scale(1.2);
}

/* Custom Cursor */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 10px;
  height: 10px;
  background: var(--color-cyan-neon);
  border-radius: 50%;
  box-shadow: var(--glow-cyan);
  pointer-events: none;
  z-index: 9999;
  mix-blend-mode: difference;
  animation: cursorPulse 2s infinite;
}

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

/* Matrix Background Canvas */
.matrix-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -2;
  opacity: 0.3;
}

/* Particles Background */
.particles-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  opacity: 0.6;
}

/* Mouse Trail */
.mouse-trail {
  position: fixed;
  width: 6px;
  height: 6px;
  background: var(--color-cyan-neon);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  box-shadow: 0 0 10px var(--color-cyan-neon);
  animation: trailFade 0.5s ease-out forwards;
}

@keyframes trailFade {
  from {
    opacity: 1;
    transform: scale(1);
  }
  to {
    opacity: 0;
    transform: scale(0);
  }
}

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

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

.hologram-effect {
  position: relative;
  font-size: 8rem;
  margin-bottom: 2rem;
}

.hologram-effect .glow-text {
  color: var(--color-cyan-neon);
  text-shadow: var(--text-shadow-neon);
  animation: hologramFlicker 2s infinite;
}

.scan-line {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gradient-hologram);
  animation: scanMove 2s linear infinite;
}

@keyframes hologramFlicker {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.8; }
}

@keyframes scanMove {
  0% { transform: translateY(0); }
  100% { transform: translateY(120px); }
}

.loading-text {
  font-family: 'Orbitron', monospace;
  font-size: 1.5rem;
  color: var(--color-blue-electric);
  margin-bottom: 2rem;
  overflow: hidden;
  white-space: nowrap;
  border-right: 2px solid var(--color-cyan-neon);
  animation: typingCursor 1s infinite, loadingGlow 2s ease-in-out infinite alternate;
}

.loading-bar {
  width: 300px;
  height: 4px;
  background: rgba(0, 255, 255, 0.2);
  border-radius: 2px;
  overflow: hidden;
  position: relative;
}

.loading-progress {
  height: 100%;
  background: var(--gradient-cyber);
  width: 0;
  transition: width 0.3s ease;
  box-shadow: 0 0 20px var(--color-cyan-neon);
}

@keyframes typingCursor {
  0%, 50% { border-right-color: var(--color-cyan-neon); }
  51%, 100% { border-right-color: transparent; }
}

@keyframes loadingGlow {
  from { text-shadow: 0 0 5px var(--color-blue-electric); }
  to { text-shadow: 0 0 20px var(--color-blue-electric), 0 0 30px var(--color-cyan-neon); }
}

/* Glassmorphism Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1rem 0;
  transition: all 0.3s ease;
}

.glassmorphism {
  background: rgba(13, 17, 23, 0.8);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0, 255, 255, 0.2);
  box-shadow: 0 8px 32px rgba(0, 255, 255, 0.1);
}

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

.navbar__brand .logo-hologram {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.logo-icon {
  font-size: 2.5rem;
  animation: logoPulse 3s infinite;
}

.logo-text {
  font-family: 'Orbitron', monospace;
  font-size: 1.8rem;
  font-weight: 900;
  background: var(--gradient-cyber);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

@keyframes logoPulse {
  0%, 100% { 
    text-shadow: 0 0 20px var(--color-cyan-neon);
    transform: scale(1);
  }
  50% { 
    text-shadow: 0 0 30px var(--color-cyan-neon), 0 0 40px var(--color-blue-electric);
    transform: scale(1.05);
  }
}

.navbar__menu {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.cyber-link {
  color: var(--color-cyan-neon);
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  position: relative;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.cyber-link::before {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-cyber);
  transition: width 0.3s ease;
  box-shadow: 0 0 10px var(--color-cyan-neon);
}

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

.cyber-link:hover {
  color: var(--color-blue-electric);
  text-shadow: 0 0 10px currentColor;
  transform: translateY(-2px);
}

/* Cyber Buttons */
.btn-cyber {
  position: relative;
  background: transparent;
  border: 2px solid var(--color-cyan-neon);
  color: var(--color-cyan-neon);
  padding: 1rem 2rem;
  font-family: 'Orbitron', monospace;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: none;
  overflow: hidden;
  transition: all 0.3s ease;
  clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 100%, 20px 100%);
}

.btn-cyber.btn-primary {
  background: var(--gradient-cyber);
  color: var(--color-dark-space);
  box-shadow: var(--glow-cyan);
}

.btn-cyber.btn-outline {
  background: transparent;
  color: var(--color-cyan-neon);
}

.btn-cyber.btn-xl {
  padding: 1.5rem 3rem;
  font-size: 1.2rem;
}

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

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

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

.btn-cyber:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 10px 30px rgba(0, 255, 255, 0.5);
}

.btn-text {
  position: relative;
  z-index: 2;
}

.btn-ripple,
.btn-glow,
.btn-hologram,
.btn-particles,
.btn-particle-explosion {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

/* Hero Section */
.cyber-hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: var(--gradient-dark);
}

.hero-bg-effects {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.grid-lines {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(0, 255, 255, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 255, 255, 0.1) 1px, transparent 1px);
  background-size: 50px 50px;
  animation: gridMove 20s linear infinite;
}

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

.energy-waves {
  position: absolute;
  inset: 0;
}

.energy-waves::before,
.energy-waves::after {
  content: '';
  position: absolute;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(0, 255, 255, 0.1) 0%, transparent 70%);
  animation: energyPulse 8s ease-in-out infinite;
}

.energy-waves::before {
  top: -50%;
  left: -50%;
  animation-delay: 0s;
}

.energy-waves::after {
  bottom: -50%;
  right: -50%;
  animation-delay: 4s;
}

@keyframes energyPulse {
  0%, 100% { transform: scale(0.8) rotate(0deg); opacity: 0.3; }
  50% { transform: scale(1.2) rotate(180deg); opacity: 0.7; }
}

.floating-elements {
  position: absolute;
  inset: 0;
}

.floating-cube,
.floating-sphere,
.floating-pyramid {
  position: absolute;
  width: 60px;
  height: 60px;
  background: rgba(0, 255, 255, 0.2);
  border: 1px solid var(--color-cyan-neon);
  animation: floatingRotate 15s linear infinite;
}

.floating-cube {
  top: 20%;
  left: 10%;
  animation-delay: 0s;
}

.floating-sphere {
  top: 60%;
  right: 15%;
  border-radius: 50%;
  animation-delay: 5s;
}

.floating-pyramid {
  bottom: 30%;
  left: 70%;
  clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
  animation-delay: 10s;
}

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

.hero__content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 10;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

.hero__title {
  font-family: 'Orbitron', monospace;
  font-size: 4rem;
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 2rem;
}

.title-line {
  display: block;
  margin-bottom: 0.5rem;
  overflow: hidden;
  white-space: nowrap;
  border-right: 3px solid var(--color-cyan-neon);
  animation: typingLine 2s steps(20) forwards, blinkCursor 1s infinite;
}

.title-line.glow-intense {
  color: var(--color-blue-electric);
  text-shadow: 0 0 20px currentColor, 0 0 40px currentColor;
  animation-delay: 2s;
}

.title-line.neon-blue {
  color: var(--color-cyan-neon);
  text-shadow: var(--text-shadow-neon);
  animation-delay: 4s;
}

@keyframes typingLine {
  from { width: 0; }
  to { width: 100%; border-right: none; }
}

@keyframes blinkCursor {
  0%, 50% { border-right-color: var(--color-cyan-neon); }
  51%, 100% { border-right-color: transparent; }
}

.hero__subtitle {
  font-size: 1.4rem;
  color: var(--color-blue-dodger);
  margin-bottom: 3rem;
  animation: waveText 3s ease-in-out infinite;
}

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

.hero__buttons {
  display: flex;
  gap: 2rem;
  margin-bottom: 3rem;
}

.hero__stats {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

.stat-card {
  background: rgba(0, 255, 255, 0.1);
  border: 1px solid var(--color-cyan-neon);
  padding: 1.5rem;
  border-radius: 10px;
  position: relative;
  backdrop-filter: blur(10px);
  min-width: 180px;
}

.stat-card.holographic::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-hologram);
  opacity: 0.3;
  animation: hologramShimmer 3s ease-in-out infinite;
}

@keyframes hologramShimmer {
  0%, 100% { transform: translateX(-100%); }
  50% { transform: translateX(100%); }
}

.stat-number {
  font-family: 'Orbitron', monospace;
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--color-cyan-neon);
  text-shadow: var(--glow-cyan);
  display: block;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--color-blue-electric);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 0.5rem;
}

.stat-glow {
  position: absolute;
  inset: 0;
  border-radius: 10px;
  box-shadow: 0 0 30px rgba(0, 255, 255, 0.3);
  animation: statPulse 4s ease-in-out infinite;
}

@keyframes statPulse {
  0%, 100% { box-shadow: 0 0 30px rgba(0, 255, 255, 0.3); }
  50% { box-shadow: 0 0 60px rgba(0, 255, 255, 0.6); }
}

/* Hero Media */
.hero__media {
  position: relative;
}

.hologram-frame {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  border: 2px solid var(--color-cyan-neon);
  box-shadow: var(--glow-cyan);
}

.hero-video {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.hologram-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    45deg,
    transparent 30%,
    rgba(0, 255, 255, 0.2) 50%,
    transparent 70%
  );
  animation: hologramSweep 4s ease-in-out infinite;
}

.scan-lines {
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(0, 255, 255, 0.1) 2px,
    rgba(0, 255, 255, 0.1) 4px
  );
  animation: scanLinesMove 2s linear infinite;
}

@keyframes hologramSweep {
  0% { transform: translateX(-100%) rotate(45deg); }
  100% { transform: translateX(200%) rotate(45deg); }
}

@keyframes scanLinesMove {
  0% { transform: translateY(0); }
  100% { transform: translateY(20px); }
}

/* Futuristic Carousel */
.carousel-section {
  padding: 8rem 0;
  background: var(--gradient-dark);
  position: relative;
}

.section-title {
  font-family: 'Orbitron', monospace;
  font-size: 3rem;
  font-weight: 900;
  text-align: center;
  margin-bottom: 4rem;
  color: var(--color-cyan-neon);
  text-transform: uppercase;
  letter-spacing: 2px;
}

.glitch-text {
  position: relative;
  animation: glitchAnimation 3s infinite;
}

.glitch-text::before,
.glitch-text::after {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0.8;
}

.glitch-text::before {
  color: var(--color-blue-electric);
  animation: glitchBefore 3s infinite;
  z-index: -1;
}

.glitch-text::after {
  color: var(--color-purple-cyber);
  animation: glitchAfter 3s infinite;
  z-index: -2;
}

@keyframes glitchAnimation {
  0%, 100% { transform: translate(0); }
  20% { transform: translate(-2px, 2px); }
  40% { transform: translate(-2px, -2px); }
  60% { transform: translate(2px, 2px); }
  80% { transform: translate(2px, -2px); }
}

@keyframes glitchBefore {
  0%, 100% { transform: translate(0); }
  20% { transform: translate(2px, 0); }
  40% { transform: translate(-2px, 0); }
  60% { transform: translate(0, 2px); }
  80% { transform: translate(0, -2px); }
}

@keyframes glitchAfter {
  0%, 100% { transform: translate(0); }
  20% { transform: translate(-2px, 0); }
  40% { transform: translate(2px, 0); }
  60% { transform: translate(0, -2px); }
  80% { transform: translate(0, 2px); }
}

.futuristic-carousel {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  height: 500px;
  perspective: 1000px;
}

.carousel-track-3d {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
}

.carousel-slide-3d {
  position: absolute;
  width: 400px;
  height: 300px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) translateZ(-300px);
  transition: all 0.8s cubic-bezier(0.4, 0.0, 0.2, 1);
  border-radius: 20px;
  overflow: hidden;
  border: 2px solid var(--color-cyan-neon);
  box-shadow: 0 20px 40px rgba(0, 255, 255, 0.3);
}

.carousel-slide-3d.active {
  transform: translate(-50%, -50%) translateZ(0) scale(1.1);
  z-index: 10;
  box-shadow: 0 30px 60px rgba(0, 255, 255, 0.5);
}

.carousel-slide-3d img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slide-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  padding: 2rem;
  color: var(--color-cyan-neon);
}

.slide-title {
  font-family: 'Orbitron', monospace;
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  text-shadow: var(--glow-cyan);
}

.slide-desc {
  font-size: 1rem;
  color: var(--color-blue-dodger);
}

.slide-scan-effect {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(0, 255, 255, 0.3),
    transparent
  );
  transform: translateX(-100%);
  animation: scanEffect 3s ease-in-out infinite;
}

@keyframes scanEffect {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

.carousel-controls-3d {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 0 2rem;
  z-index: 100;
}

.carousel-btn-3d {
  width: 60px;
  height: 60px;
  border: 2px solid var(--color-cyan-neon);
  background: rgba(0, 255, 255, 0.1);
  color: var(--color-cyan-neon);
  border-radius: 50%;
  font-size: 2rem;
  cursor: none;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.carousel-btn-3d:hover {
  background: var(--color-cyan-neon);
  color: var(--color-dark-space);
  box-shadow: var(--glow-cyan);
  transform: scale(1.1);
}

.carousel-indicators-3d {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 1rem;
}

.carousel-indicator-3d {
  width: 15px;
  height: 15px;
  border: 2px solid var(--color-cyan-neon);
  border-radius: 50%;
  background: transparent;
  cursor: none;
  transition: all 0.3s ease;
}

.carousel-indicator-3d.active {
  background: var(--color-cyan-neon);
  box-shadow: 0 0 20px var(--color-cyan-neon);
}

/* Courses Section */
.courses {
  padding: 8rem 0;
  background: var(--color-dark-space);
  position: relative;
}

.courses::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 50% 50%, rgba(0, 255, 255, 0.1) 0%, transparent 50%);
}

.courses__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 3rem;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

.course-card-3d {
  background: rgba(13, 17, 23, 0.9);
  border: 2px solid var(--color-cyan-neon);
  border-radius: 15px;
  padding: 1.2rem;
  position: relative;
  backdrop-filter: blur(20px);
  transform: perspective(1000px) rotateX(0deg) rotateY(0deg);
  transition: all 0.5s cubic-bezier(0.4, 0.0, 0.2, 1);
  overflow: hidden;
}

.course-card-3d:hover {
  transform: perspective(1000px) rotateX(-5deg) rotateY(5deg) translateY(-20px);
  box-shadow: 0 40px 80px rgba(0, 255, 255, 0.4);
}

.course-card-3d.holographic::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-hologram);
  opacity: 0.5;
  animation: hologramFlow 4s ease-in-out infinite;
}

@keyframes hologramFlow {
  0%, 100% { transform: translateX(-100%) skewX(-45deg); }
  50% { transform: translateX(200%) skewX(-45deg); }
}

.card-glow-border {
  position: absolute;
  inset: -2px;
  background: var(--gradient-cyber);
  border-radius: 20px;
  z-index: -1;
  animation: borderGlow 3s ease-in-out infinite;
}

@keyframes borderGlow {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}

.card-scan-line {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--color-cyan-neon);
  box-shadow: 0 0 20px var(--color-cyan-neon);
  animation: cardScan 3s ease-in-out infinite;
}

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

.course-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}

.course-badge {
  background: var(--gradient-cyber);
  color: var(--color-dark-space);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.course-badge.pulsing {
  animation: badgePulse 2s ease-in-out infinite;
}

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

.course-discount {
  background: var(--color-blue-electric);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-weight: 700;
  text-shadow: 0 0 10px currentColor;
}

.course-video-frame {
  position: relative;
  height: 200px;
  border-radius: 15px;
  overflow: hidden;
  margin-bottom: 2rem;
  border: 1px solid var(--color-cyan-neon);
}

.course-video-frame iframe {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-placeholder {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.course-video-frame:hover .video-overlay {
  opacity: 1;
}

.play-hologram {
  font-size: 3rem;
  color: var(--color-cyan-neon);
  text-shadow: var(--glow-cyan);
  animation: playPulse 2s ease-in-out infinite;
}

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

.course-content {
  position: relative;
  z-index: 2;
}

.course-title {
  font-family: 'Orbitron', monospace;
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--color-cyan-neon);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.course-subtitle {
  color: var(--color-blue-electric);
  font-size: 1.1rem;
  margin-bottom: 1rem;
  text-shadow: 0 0 10px currentColor;
}

.course-description {
  color: var(--color-blue-dodger);
  line-height: 1.6;
  margin-bottom: 2rem;
}

.course-meta {
  display: flex;
  justify-content: space-between;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--color-cyan-neon);
}

.meta-icon {
  font-size: 1.2rem;
}

.tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.tech-tag {
  background: rgba(0, 255, 255, 0.1);
  border: 1px solid var(--color-cyan-neon);
  color: var(--color-cyan-neon);
  padding: 0.3rem 0.8rem;
  border-radius: 15px;
  font-size: 0.9rem;
  font-weight: 600;
}

.tech-tag.glow-pulse {
  animation: techGlow 3s ease-in-out infinite;
}

@keyframes techGlow {
  0%, 100% { box-shadow: 0 0 5px rgba(0, 255, 255, 0.3); }
  50% { box-shadow: 0 0 15px rgba(0, 255, 255, 0.6); }
}

.course-pricing {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.price-original {
  font-size: 1.2rem;
  color: var(--color-blue-dodger);
  text-decoration: line-through;
  opacity: 0.7;
}

.price-current {
  font-family: 'Orbitron', monospace;
  font-size: 2rem;
  font-weight: 900;
  color: var(--color-cyan-neon);
  text-shadow: var(--glow-cyan);
}

/* Lab Section */
.lab-section {
  padding: 8rem 0;
  background: var(--gradient-dark);
  position: relative;
}

.lab-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

.lab-card {
  background: rgba(0, 255, 255, 0.1);
  border: 2px solid var(--color-cyan-neon);
  border-radius: 20px;
  padding: 2rem;
  text-align: center;
  position: relative;
  backdrop-filter: blur(15px);
  transition: all 0.5s ease;
}

.lab-card.holographic-intense::before {
  content: '';
  position: absolute;
  inset: 0;
  background: conic-gradient(from 0deg, transparent, var(--color-cyan-neon), transparent);
  border-radius: 20px;
  z-index: -1;
  animation: conicRotation 4s linear infinite;
}

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

.lab-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 30px 60px rgba(0, 255, 255, 0.4);
}

.lab-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  animation: labIconFloat 3s ease-in-out infinite;
}

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

.lab-title {
  font-family: 'Orbitron', monospace;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-cyan-neon);
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.lab-desc {
  color: var(--color-blue-dodger);
  line-height: 1.6;
}

.lab-glow-effect {
  position: absolute;
  inset: -4px;
  border-radius: 24px;
  background: var(--gradient-cyber);
  z-index: -2;
  opacity: 0.3;
  animation: labGlow 4s ease-in-out infinite;
}

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

/* Testimonials */
.testimonials {
  padding: 8rem 0;
  background: var(--color-dark-space);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 3rem;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

.testimonial-card-3d {
  background: rgba(13, 17, 23, 0.9);
  border: 2px solid var(--color-cyan-neon);
  border-radius: 25px;
  overflow: hidden;
  position: relative;
  backdrop-filter: blur(20px);
  transition: all 0.5s cubic-bezier(0.4, 0.0, 0.2, 1);
}

.testimonial-card-3d.holographic-ultra::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    45deg,
    transparent,
    rgba(0, 255, 255, 0.2),
    transparent,
    rgba(0, 128, 255, 0.2),
    transparent
  );
  animation: ultraHologram 5s ease-in-out infinite;
}

@keyframes ultraHologram {
  0%, 100% { transform: translateX(-100%) rotate(0deg); }
  50% { transform: translateX(200%) rotate(180deg); }
}

.testimonial-card-3d:hover {
  transform: perspective(1000px) rotateX(-10deg) translateY(-15px);
  box-shadow: 0 50px 100px rgba(0, 255, 255, 0.3);
}

.testimonial-video-frame {
  height: 200px;
  position: relative;
  overflow: hidden;
}

.testimonial-video-frame iframe {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-hologram-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(0, 255, 255, 0.1),
    transparent,
    rgba(0, 255, 255, 0.1)
  );
}

.testimonial-content {
  padding: 2rem;
  position: relative;
  z-index: 2;
}

.testimonial-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 3px solid var(--color-cyan-neon);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin-bottom: 1rem;
}

.testimonial-avatar.glow-ring {
  box-shadow: 0 0 30px rgba(0, 255, 255, 0.6);
  animation: avatarPulse 3s ease-in-out infinite;
}

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

.testimonial-rating {
  margin-bottom: 1.5rem;
}

.glow-star {
  color: var(--color-cyan-neon);
  text-shadow: 0 0 10px currentColor;
  animation: starTwinkle 2s ease-in-out infinite;
}

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

.testimonial-text {
  font-size: 1.1rem;
  color: var(--color-blue-dodger);
  line-height: 1.6;
  margin-bottom: 2rem;
  font-style: italic;
}

.testimonial-author {
  border-top: 1px solid rgba(0, 255, 255, 0.2);
  padding-top: 1rem;
}

.author-name {
  font-family: 'Orbitron', monospace;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-cyan-neon);
  margin-bottom: 0.5rem;
}

.author-position {
  color: var(--color-blue-electric);
  margin-bottom: 0.5rem;
}

.author-result {
  font-weight: 700;
  text-shadow: 0 0 10px currentColor;
}

.testimonial-scan-lines {
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    90deg,
    transparent,
    transparent 3px,
    rgba(0, 255, 255, 0.1) 3px,
    rgba(0, 255, 255, 0.1) 6px
  );
  animation: testimonialScan 4s linear infinite;
}

@keyframes testimonialScan {
  0% { transform: translateX(0); }
  100% { transform: translateX(20px); }
}

/* Chatbot Holographic */
.chatbot-hologram {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 1000;
  cursor: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.chatbot-avatar-3d {
  width: 80px;
  height: 80px;
  position: relative;
  border-radius: 50%;
  background: var(--gradient-cyber);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 40px rgba(0, 255, 255, 0.6);
  animation: chatbotFloat 4s ease-in-out infinite;
  transition: all 0.3s ease;
}

.chatbot-avatar-3d:hover {
  transform: scale(1.1);
  box-shadow: 0 0 60px rgba(0, 255, 255, 0.8);
}

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

.avatar-glow {
  font-size: 2.5rem;
  color: var(--color-dark-space);
  animation: avatarSpin 6s linear infinite;
}

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

.avatar-pulse {
  position: absolute;
  inset: -10px;
  border: 2px solid var(--color-cyan-neon);
  border-radius: 50%;
  animation: avatarRingPulse 2s ease-in-out infinite;
}

@keyframes avatarRingPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.3); opacity: 0.3; }
}

.avatar-particles {
  position: absolute;
  inset: 0;
  border-radius: 50%;
}

.avatar-particles::before,
.avatar-particles::after {
  content: '';
  position: absolute;
  width: 4px;
  height: 4px;
  background: var(--color-cyan-neon);
  border-radius: 50%;
  animation: particleOrbit 3s linear infinite;
}

.avatar-particles::before {
  top: -2px;
  left: 50%;
  animation-delay: 0s;
}

.avatar-particles::after {
  bottom: -2px;
  left: 50%;
  animation-delay: 1.5s;
}

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

.chatbot-name {
  font-family: 'Orbitron', monospace;
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-cyan-neon);
  text-shadow: 0 0 10px currentColor;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Chatbot Window */
.chatbot-window-cyber {
  position: fixed;
  bottom: 12rem;
  right: 2rem;
  width: 400px;
  height: 600px;
  background: rgba(13, 17, 23, 0.95);
  border: 2px solid var(--color-cyan-neon);
  border-radius: 25px;
  backdrop-filter: blur(20px);
  box-shadow: 0 20px 60px rgba(0, 255, 255, 0.4);
  z-index: 1001;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  animation: chatbotSlideIn 0.5s cubic-bezier(0.4, 0.0, 0.2, 1);
}

@keyframes chatbotSlideIn {
  0% {
    opacity: 0;
    transform: translateY(50px) scale(0.8);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.chatbot-header-cyber {
  background: var(--gradient-cyber);
  padding: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(0, 255, 255, 0.3);
}

.chatbot-header-content {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.chatbot-avatar-header {
  position: relative;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--color-dark-space);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--color-cyan-neon);
}

.avatar-hologram {
  font-size: 1.5rem;
  animation: avatarBounce 2s ease-in-out infinite;
}

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

.avatar-status-ring {
  position: absolute;
  inset: -5px;
  border: 1px solid var(--color-cyan-neon);
  border-radius: 50%;
  animation: statusRing 3s linear infinite;
}

@keyframes statusRing {
  0% { transform: rotate(0deg); opacity: 1; }
  100% { transform: rotate(360deg); opacity: 0.3; }
}

.chatbot-info {
  flex: 1;
}

.chatbot-title {
  font-family: 'Orbitron', monospace;
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-dark-space);
  margin-bottom: 0.3rem;
  text-transform: uppercase;
}

.chatbot-status {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--color-dark-space);
}

.typing-indicator {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.typing-indicator .dot {
  width: 6px;
  height: 6px;
  background: var(--color-dark-space);
  border-radius: 50%;
  animation: typingDot 1.4s ease-in-out infinite;
}

.typing-indicator .dot:nth-child(2) {
  animation-delay: 0.2s;
}

.typing-indicator .dot:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes typingDot {
  0%, 60%, 100% { transform: scale(1); }
  30% { transform: scale(1.5); }
}

.chatbot-close-cyber {
  width: 40px;
  height: 40px;
  border: none;
  background: rgba(0, 0, 0, 0.3);
  color: var(--color-dark-space);
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: none;
  transition: all 0.3s ease;
}

.chatbot-close-cyber:hover {
  background: rgba(255, 0, 0, 0.8);
  transform: scale(1.1);
}

.chatbot-messages-cyber {
  flex: 1;
  padding: 1.5rem;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.chatbot-input-cyber {
  position: relative;
  padding: 1.5rem;
  border-top: 1px solid rgba(0, 255, 255, 0.3);
  display: flex;
  gap: 1rem;
  align-items: center;
}

.input-glow-border {
  position: absolute;
  inset: 1rem;
  border: 1px solid var(--color-cyan-neon);
  border-radius: 20px;
  pointer-events: none;
  animation: inputGlow 3s ease-in-out infinite;
}

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

.input-cyber {
  flex: 1;
  background: rgba(0, 255, 255, 0.1);
  border: 1px solid var(--color-cyan-neon);
  border-radius: 20px;
  padding: 1rem 1.5rem;
  color: var(--color-cyan-neon);
  font-size: 1rem;
  outline: none;
  backdrop-filter: blur(10px);
}

.input-cyber::placeholder {
  color: rgba(0, 255, 255, 0.6);
}

.input-cyber:focus {
  box-shadow: 0 0 20px rgba(0, 255, 255, 0.5);
}

.send-btn-cyber {
  width: 50px;
  height: 50px;
  background: var(--gradient-cyber);
  border: none;
  border-radius: 50%;
  color: var(--color-dark-space);
  font-size: 1.5rem;
  cursor: none;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.send-btn-cyber:hover {
  transform: scale(1.1);
  box-shadow: 0 0 30px rgba(0, 255, 255, 0.6);
}

.send-icon {
  position: relative;
  z-index: 2;
}

.send-ripple {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
  transform: scale(0);
  animation: rippleEffect 0.6s ease-out;
}

@keyframes rippleEffect {
  0% { transform: scale(0); opacity: 1; }
  100% { transform: scale(2); opacity: 0; }
}

/* Footer Cyber */
.footer-cyber {
  background: var(--gradient-dark);
  border-top: 2px solid var(--color-cyan-neon);
  padding: 4rem 0 2rem;
  position: relative;
}

.footer-cyber::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--gradient-cyber);
  box-shadow: 0 0 20px var(--color-cyan-neon);
}

.footer-content-cyber {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 4rem;
  align-items: start;
}

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

.brand-logo-cyber {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.logo-hologram-footer {
  font-size: 3rem;
  animation: logoHologramSpin 8s linear infinite;
}

@keyframes logoHologramSpin {
  0% { transform: rotate(0deg) scale(1); text-shadow: 0 0 20px var(--color-cyan-neon); }
  50% { transform: rotate(180deg) scale(1.1); text-shadow: 0 0 40px var(--color-blue-electric); }
  100% { transform: rotate(360deg) scale(1); text-shadow: 0 0 20px var(--color-cyan-neon); }
}

.brand-text-cyber {
  font-family: 'Orbitron', monospace;
  font-size: 2rem;
  font-weight: 900;
  background: var(--gradient-cyber);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.brand-tagline {
  font-size: 1.2rem;
  color: var(--color-blue-electric);
  margin-bottom: 2rem;
  text-shadow: 0 0 10px currentColor;
}

.social-links-cyber {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.social-link-cyber {
  width: 50px;
  height: 50px;
  background: rgba(0, 255, 255, 0.1);
  border: 2px solid var(--color-cyan-neon);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-cyan-neon);
  text-decoration: none;
  font-size: 1.5rem;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.social-link-cyber:hover {
  background: var(--color-cyan-neon);
  color: var(--color-dark-space);
  transform: scale(1.1) rotate(10deg);
  box-shadow: 0 0 30px var(--color-cyan-neon);
}

.footer-info-cyber {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

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

.info-label {
  font-family: 'Orbitron', monospace;
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.5rem;
  text-shadow: 0 0 10px currentColor;
}

.info-value {
  font-size: 1.1rem;
  color: var(--color-blue-dodger);
}

.footer-bottom-cyber {
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(0, 255, 255, 0.3);
  text-align: center;
  position: relative;
}

.copyright-cyber {
  font-family: 'Orbitron', monospace;
  font-size: 0.9rem;
  color: var(--color-blue-electric);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-scan-line {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--color-cyan-neon);
  animation: footerScan 4s ease-in-out infinite;
}

@keyframes footerScan {
  0%, 100% { transform: scaleX(0); opacity: 0; }
  50% { transform: scaleX(1); opacity: 1; }
}

/* Sound Visualizer */
.sound-visualizer {
  position: fixed;
  top: 50%;
  left: 2rem;
  transform: translateY(-50%);
  display: flex;
  align-items: end;
  gap: 3px;
  z-index: 1000;
  opacity: 0.7;
}

.sound-bar {
  width: 4px;
  height: 20px;
  background: var(--gradient-cyber);
  border-radius: 2px;
  animation: soundWave 1.5s ease-in-out infinite;
}

.sound-bar:nth-child(1) { animation-delay: 0s; }
.sound-bar:nth-child(2) { animation-delay: 0.1s; }
.sound-bar:nth-child(3) { animation-delay: 0.2s; }
.sound-bar:nth-child(4) { animation-delay: 0.3s; }
.sound-bar:nth-child(5) { animation-delay: 0.4s; }

@keyframes soundWave {
  0%, 100% { height: 20px; }
  25% { height: 40px; }
  50% { height: 60px; }
  75% { height: 30px; }
}

/* Utility Classes */
.hidden {
  display: none !important;
}

.glow-text {
  text-shadow: var(--text-shadow-neon);
}

.glow-intense {
  text-shadow: 0 0 20px currentColor, 0 0 40px currentColor, 0 0 60px currentColor;
}

.glow-pulse {
  animation: glowPulse 3s ease-in-out infinite;
}

@keyframes glowPulse {
  0%, 100% { text-shadow: 0 0 10px currentColor; }
  50% { text-shadow: 0 0 30px currentColor, 0 0 40px currentColor; }
}

.neon-blue {
  color: var(--color-cyan-neon);
}

.cyber-text {
  font-family: 'Orbitron', monospace;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.counter {
  font-family: 'Orbitron', monospace;
  font-weight: 900;
}

.counter-price {
  font-family: 'Orbitron', monospace;
  font-weight: 900;
}

/* Responsive Design */
@media (max-width: 1200px) {
  .hero__content {
    gap: 2rem;
  }
  
  .hero__title {
    font-size: 3rem;
  }
  
  .courses__grid {
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  }
}

@media (max-width: 768px) {
  .hero__content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 3rem;
  }
  
  .hero__title {
    font-size: 2.5rem;
  }
  
  .hero__buttons {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }
  
  .hero__stats {
    justify-content: center;
  }
  
  .navbar__menu {
    display: none;
  }
  
  .courses__grid {
    grid-template-columns: 1fr;
  }
  
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
  
  .lab-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
  
  .chatbot-window-cyber {
    width: calc(100vw - 2rem);
    right: 1rem;
    left: 1rem;
  }
  
  .footer-content-cyber {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }
}

/* FAQ Section */
.faq-section {
    padding: 6rem 2rem;
    background: linear-gradient(135deg, #010409 0%, #1a1f2e 100%);
    position: relative;
}

.faq-section h2 {
    font-family: 'Orbitron', monospace;
    font-size: 3.5rem;
    color: #00FFFF;
    text-align: center;
    margin-bottom: 4rem;
    text-shadow: 0 0 30px rgba(0, 255, 255, 0.7);
    font-weight: 900;
}

.faq-container {
    max-width: 1000px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 2rem;
    background: rgba(0, 255, 255, 0.05);
    border: 1px solid rgba(0, 255, 255, 0.2);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: rgba(0, 255, 255, 0.4);
    box-shadow: 0 10px 30px rgba(0, 255, 255, 0.1);
    transform: translateY(-5px);
}

.faq-question {
    padding: 2rem;
    background: rgba(0, 128, 255, 0.1);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.3rem;
    font-weight: 600;
    color: #e0e6ed;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: rgba(0, 128, 255, 0.2);
    color: #00FFFF;
}

.faq-icon {
    font-size: 1.5rem;
    color: #00FFFF;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 2rem;
    max-height: 0;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    color: #b8c5d6;
    line-height: 1.8;
}

.faq-item.active .faq-answer {
    max-height: 300px;
    padding: 2rem;
    border-top: 1px solid rgba(0, 255, 255, 0.2);
}

@media (max-width: 768px) {
    .faq-section h2 {
        font-size: 2.5rem;
    }
    
    .faq-question {
        font-size: 1.1rem;
        padding: 1.5rem;
    }
    
    .faq-answer {
        padding: 0 1.5rem;
    }
    
    .faq-item.active .faq-answer {
        padding: 1.5rem;
    }
}

/* WhatsApp Flotante */
.whatsapp-float {
    position: fixed;
    bottom: 2rem;
    left: 2rem;
    z-index: 1000;
    cursor: pointer;
}

.whatsapp-button {
    position: relative;
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #25D366 0%, #20B358 50%, #128C7E 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 
        0 4px 20px rgba(37, 211, 102, 0.4),
        0 8px 32px rgba(37, 211, 102, 0.15),
        inset 0 0 30px rgba(0, 255, 255, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    animation: whatsappFloat 4s ease-in-out infinite;
    border: 3px solid var(--color-cyan-neon);
    overflow: hidden;
}

.whatsapp-button::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: repeating-conic-gradient(
        from 0deg,
        transparent 0deg,
        var(--color-cyan-neon) 2deg,
        transparent 4deg,
        transparent 10deg
    );
    animation: whatsappSpin 8s linear infinite;
    opacity: 0.3;
}

.whatsapp-button::after {
    content: '';
    position: absolute;
    width: 10px;
    height: 10px;
    background: var(--color-cyan-neon);
    border-radius: 50%;
    top: 15%;
    right: 20%;
    animation: whatsappBubble1 3s ease-in-out infinite;
    box-shadow: 0 0 10px var(--color-cyan-neon);
}

.whatsapp-button:hover {
    transform: scale(1.1);
    box-shadow: 
        0 8px 35px rgba(37, 211, 102, 0.6),
        0 16px 64px rgba(37, 211, 102, 0.25);
    border-color: rgba(255, 255, 255, 0.2);
}

.whatsapp-icon {
    width: 32px;
    height: 32px;
    color: white;
    transition: all 0.3s ease;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.whatsapp-pulse {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: rgba(37, 211, 102, 0.2);
    animation: whatsappPulse 3s ease-in-out infinite;
}

.whatsapp-tooltip {
    position: absolute;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, rgba(37, 211, 102, 0.95), rgba(32, 179, 88, 0.95));
    color: white;
    padding: 0.8rem 1.2rem;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.3);
    backdrop-filter: blur(10px);
}

.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;
    visibility: visible;
}

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

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

@keyframes whatsappPulse {
    0% { transform: scale(1); opacity: 0.3; }
    50% { transform: scale(1.3); opacity: 0.1; }
    100% { transform: scale(1.6); opacity: 0; }
}

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

@keyframes whatsappBubble1 {
    0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.8; }
    25% { transform: translate(-5px, -8px) scale(1.2); opacity: 1; }
    50% { transform: translate(8px, -15px) scale(0.8); opacity: 0.6; }
    75% { transform: translate(-3px, -10px) scale(1.1); opacity: 0.9; }
}

/* Instructores Section */
.instructors-section {
    padding: 6rem 2rem;
    background: linear-gradient(135deg, #0a0f1c 0%, #1a1f2e 50%, #2a2f3e 100%);
    position: relative;
}

.instructors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
}

.instructor-card {
    background: rgba(0, 255, 255, 0.05);
    border: 1px solid rgba(0, 255, 255, 0.2);
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.instructor-card:hover {
    transform: translateY(-10px) rotateY(5deg);
    border-color: rgba(0, 255, 255, 0.5);
    box-shadow: 0 20px 40px rgba(0, 255, 255, 0.2);
}

.instructor-avatar {
    position: relative;
    width: 120px;
    height: 120px;
    margin: 0 auto 2rem;
}

.avatar-hologram {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #00FFFF, #0080FF);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: white;
    box-shadow: 0 0 30px rgba(0, 255, 255, 0.5);
    animation: hologramPulse 3s ease-in-out infinite;
}

.expertise-ring {
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border: 2px solid rgba(0, 128, 255, 0.3);
    border-radius: 50%;
    animation: expertiseRing 4s linear infinite;
}

.instructor-name {
    font-family: 'Orbitron', monospace;
    font-size: 1.5rem;
    color: #00FFFF;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.instructor-title {
    font-size: 1.1rem;
    color: #0080FF;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.instructor-certifications {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.cert-badge {
    background: linear-gradient(135deg, #0080FF, #00FFFF);
    color: #000;
    padding: 0.4rem 0.8rem;
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    box-shadow: 0 4px 15px rgba(0, 128, 255, 0.3);
}

.instructor-experience {
    color: #b8c5d6;
    font-style: italic;
    line-height: 1.6;
}

@keyframes hologramPulse {
    0%, 100% { box-shadow: 0 0 30px rgba(0, 255, 255, 0.5); }
    50% { box-shadow: 0 0 50px rgba(0, 255, 255, 0.8); }
}

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

/* Video Testimonials Enhancement */
.testimonial-video-frame {
    position: relative;
    width: 100%;
    height: 200px;
    margin-bottom: 1.5rem;
    border-radius: 15px;
    overflow: hidden;
    border: 2px solid rgba(0, 255, 255, 0.3);
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.2);
}

.testimonial-video-frame iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 13px;
}

.video-hologram-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        45deg,
        transparent 40%,
        rgba(0, 255, 255, 0.1) 50%,
        transparent 60%
    );
    pointer-events: none;
    animation: videoHologram 3s linear infinite;
}

.testimonial-video-frame:hover {
    transform: scale(1.05);
    border-color: rgba(0, 255, 255, 0.6);
    box-shadow: 0 0 30px rgba(0, 255, 255, 0.4);
}

.testimonial-video-frame:hover .video-hologram-overlay {
    background: linear-gradient(
        45deg,
        transparent 30%,
        rgba(0, 255, 255, 0.2) 50%,
        transparent 70%
    );
    animation-duration: 1.5s;
}

@keyframes videoHologram {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* ROI Calculator Section */
.roi-calculator-section {
    padding: 6rem 2rem;
    background: linear-gradient(135deg, #1a0033 0%, #2d0066 50%, #1a0033 100%);
    position: relative;
}

.roi-calculator {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.calculator-form {
    background: rgba(0, 255, 255, 0.05);
    border: 1px solid rgba(0, 255, 255, 0.2);
    border-radius: 20px;
    padding: 2.5rem;
    backdrop-filter: blur(10px);
}

.form-group {
    margin-bottom: 2rem;
}

.form-group label {
    display: block;
    color: #00FFFF;
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-family: 'Orbitron', monospace;
}

.cyber-input, .cyber-select {
    width: 100%;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.5);
    border: 2px solid rgba(0, 128, 255, 0.3);
    border-radius: 10px;
    color: #e0e6ed;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.cyber-input:focus, .cyber-select:focus {
    outline: none;
    border-color: #00FFFF;
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.3);
    background: rgba(0, 255, 255, 0.05);
}

.roi-calculate-btn {
    width: 100%;
    margin-top: 1rem;
    position: relative;
    overflow: hidden;
}

.roi-calculate-btn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 35px rgba(0, 255, 255, 0.4);
}

.roi-results {
    display: grid;
    gap: 1.5rem;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.5s ease;
}

.roi-results:not(.hidden) {
    opacity: 1;
    transform: translateY(0);
}

.result-card {
    background: linear-gradient(135deg, rgba(0, 255, 255, 0.1), rgba(0, 128, 255, 0.1));
    border: 1px solid rgba(0, 255, 255, 0.3);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.result-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 255, 255, 0.1), transparent);
    animation: resultGlow 3s linear infinite;
}

.result-card h3 {
    color: #00FFFF;
    font-family: 'Orbitron', monospace;
    font-size: 1rem;
    margin-bottom: 1rem;
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
}

.projected-salary, .roi-percentage, .net-gain {
    font-size: 2.5rem;
    font-weight: 900;
    font-family: 'Orbitron', monospace;
    color: #00FF00;
    text-shadow: 0 0 20px rgba(0, 255, 0, 0.7);
    margin-bottom: 0.5rem;
    animation: numberPulse 2s ease-in-out infinite;
}

.salary-increase, .payback-time, .lifetime-value {
    color: #b8c5d6;
    font-size: 0.9rem;
    font-style: italic;
}

.hidden {
    display: none !important;
}

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

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

@media (max-width: 768px) {
    .roi-calculator {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .projected-salary, .roi-percentage, .net-gain {
        font-size: 2rem;
    }
}

/* Sistema de Gamificación */
.gamification-system {
    position: fixed;
    top: 2rem;
    right: 6rem;
    z-index: 1000;
}

.achievements-panel {
    width: 280px;
    background: rgba(0, 0, 0, 0.95);
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: 15px;
    backdrop-filter: blur(20px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    transition: all 0.3s ease;
}

.panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1), rgba(255, 140, 0, 0.1));
    border-bottom: 1px solid rgba(255, 215, 0, 0.2);
}

.user-level {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.level-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #FFD700, #FF8C00);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    animation: levelPulse 2s ease-in-out infinite;
}

.level-number {
    color: #FFD700;
    font-family: 'Orbitron', monospace;
    font-weight: 700;
    font-size: 1.1rem;
}

.level-title {
    color: #FF8C00;
    font-size: 0.9rem;
    font-weight: 500;
}

.minimize-btn {
    background: transparent;
    border: 1px solid rgba(255, 215, 0, 0.3);
    color: #FFD700;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.minimize-btn:hover {
    background: rgba(255, 215, 0, 0.1);
}

.xp-progress {
    padding: 1rem;
}

.xp-label {
    color: #e0e6ed;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    text-align: center;
}

.xp-bar {
    width: 100%;
    height: 8px;
    background: rgba(255, 215, 0, 0.2);
    border-radius: 4px;
    overflow: hidden;
}

.xp-fill {
    height: 100%;
    background: linear-gradient(90deg, #FFD700, #FF8C00);
    border-radius: 4px;
    transition: width 0.5s ease;
    animation: xpGlow 2s ease-in-out infinite;
}

.recent-achievements {
    padding: 1rem;
    border-top: 1px solid rgba(255, 215, 0, 0.1);
}

.achievement-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    border-radius: 8px;
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
}

.achievement-item.unlocked {
    background: rgba(0, 255, 0, 0.1);
    border: 1px solid rgba(0, 255, 0, 0.2);
}

.achievement-item.locked {
    background: rgba(128, 128, 128, 0.1);
    border: 1px solid rgba(128, 128, 128, 0.2);
    opacity: 0.6;
}

.achievement-icon {
    width: 35px;
    height: 35px;
    background: linear-gradient(135deg, #FFD700, #FF8C00);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}

.achievement-item.locked .achievement-icon {
    background: linear-gradient(135deg, #888, #666);
}

.achievement-name {
    color: #e0e6ed;
    font-weight: 600;
    font-size: 0.9rem;
}

.achievement-desc {
    color: #00FF00;
    font-size: 0.8rem;
    font-style: italic;
}

.achievement-item.locked .achievement-desc {
    color: #888;
}

.community-progress {
    padding: 1rem;
    border-top: 1px solid rgba(255, 215, 0, 0.1);
}

.community-progress h4 {
    color: #FFD700;
    font-family: 'Orbitron', monospace;
    font-size: 0.9rem;
    margin: 0 0 1rem 0;
    text-align: center;
}

.global-stat {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    font-size: 0.8rem;
}

.global-stat span:first-child {
    color: #b8c5d6;
}

.stat-value {
    color: #FFD700;
    font-weight: 700;
}

.achievement-notification {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.95), rgba(255, 140, 0, 0.95));
    border: 2px solid #FFD700;
    border-radius: 15px;
    padding: 2rem;
    backdrop-filter: blur(20px);
    box-shadow: 0 20px 40px rgba(255, 215, 0, 0.5);
    z-index: 10000;
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.8);
    transition: all 0.5s ease;
}

.achievement-notification:not(.hidden) {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.notification-content {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.achievement-celebrate {
    font-size: 3rem;
    animation: celebrate 0.5s ease-in-out infinite alternate;
}

.achievement-title {
    color: #000;
    font-family: 'Orbitron', monospace;
    font-weight: 700;
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.achievement-detail {
    color: #333;
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.xp-gained {
    color: #00AA00;
    font-weight: 700;
    font-size: 1.1rem;
}

@keyframes levelPulse {
    0%, 100% { box-shadow: 0 0 15px rgba(255, 215, 0, 0.5); }
    50% { box-shadow: 0 0 25px rgba(255, 215, 0, 0.8); }
}

@keyframes xpGlow {
    0%, 100% { box-shadow: 0 0 10px rgba(255, 215, 0, 0.5); }
    50% { box-shadow: 0 0 20px rgba(255, 215, 0, 0.8); }
}

@keyframes celebrate {
    0% { transform: scale(1) rotate(0deg); }
    100% { transform: scale(1.1) rotate(5deg); }
}

/* Sistema de Notificaciones */
.notification-system {
    position: fixed;
    top: 2rem;
    right: 2rem;
    z-index: 1000;
}

.notification-bell {
    position: relative;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #FF6B35, #F7931E);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.4);
    transition: all 0.3s ease;
    animation: bellFloat 3s ease-in-out infinite;
}

.notification-bell:hover {
    transform: scale(1.1);
    box-shadow: 0 12px 35px rgba(255, 107, 53, 0.6);
}

.bell-icon {
    font-size: 1.8rem;
    color: white;
    animation: bellRing 2s ease-in-out infinite;
}

.notification-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #ff4444;
    color: white;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: bold;
    animation: badgePulse 1.5s ease-in-out infinite;
}

.bell-pulse {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: rgba(255, 107, 53, 0.3);
    animation: bellPulse 2s ease-in-out infinite;
}

.notification-panel {
    position: absolute;
    top: 70px;
    right: 0;
    width: 350px;
    max-height: 500px;
    background: rgba(0, 0, 0, 0.95);
    border: 1px solid rgba(255, 107, 53, 0.3);
    border-radius: 15px;
    backdrop-filter: blur(20px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    opacity: 0;
    transform: translateY(-20px) scale(0.9);
    transition: all 0.3s ease;
}

.notification-panel:not(.hidden) {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.notification-header {
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.1), rgba(247, 147, 30, 0.1));
    border-bottom: 1px solid rgba(255, 107, 53, 0.2);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.notification-header h3 {
    color: #FF6B35;
    font-family: 'Orbitron', monospace;
    font-size: 1rem;
    margin: 0;
}

.clear-all-btn {
    background: transparent;
    border: 1px solid rgba(255, 107, 53, 0.3);
    color: #FF6B35;
    padding: 0.3rem 0.8rem;
    border-radius: 8px;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.clear-all-btn:hover {
    background: rgba(255, 107, 53, 0.1);
}

.notifications-list {
    max-height: 300px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #FF6B35 transparent;
}

.notification-item {
    display: flex;
    align-items: flex-start;
    padding: 1rem;
    border-bottom: 1px solid rgba(255, 107, 53, 0.1);
    transition: all 0.3s ease;
}

.notification-item.new {
    background: rgba(255, 107, 53, 0.05);
}

.notification-item:hover {
    background: rgba(255, 107, 53, 0.1);
}

.notification-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #FF6B35, #F7931E);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin-right: 1rem;
    flex-shrink: 0;
}

.notification-content {
    flex: 1;
    min-width: 0;
}

.notification-title {
    color: #e0e6ed;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.3rem;
}

.notification-text {
    color: #b8c5d6;
    font-size: 0.8rem;
    line-height: 1.4;
    margin-bottom: 0.3rem;
}

.notification-time {
    color: #FF6B35;
    font-size: 0.7rem;
    font-style: italic;
}

.dismiss-btn {
    background: none;
    border: none;
    color: #888;
    font-size: 1.2rem;
    cursor: pointer;
    padding: 0.2rem;
    transition: color 0.3s ease;
}

.dismiss-btn:hover {
    color: #ff4444;
}

.notification-footer {
    padding: 1rem;
    background: rgba(255, 107, 53, 0.05);
    border-top: 1px solid rgba(255, 107, 53, 0.2);
}

.subscribe-btn {
    width: 100%;
    background: linear-gradient(135deg, #FF6B35, #F7931E);
    border: none;
    color: white;
    padding: 0.8rem 1rem;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.subscribe-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 107, 53, 0.3);
}

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

@keyframes bellRing {
    0%, 50%, 100% { transform: rotate(0); }
    10%, 30% { transform: rotate(-10deg); }
    20%, 40% { transform: rotate(10deg); }
}

@keyframes bellPulse {
    0% { transform: scale(1); opacity: 0.3; }
    50% { transform: scale(1.2); opacity: 0.1; }
    100% { transform: scale(1.4); opacity: 0; }
}

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

/* Mapa Interactivo de Estudiantes */
.students-map-section {
    padding: 6rem 2rem;
    background: linear-gradient(135deg, #000a1a 0%, #001122 50%, #000a1a 100%);
    position: relative;
    overflow: hidden;
}

.world-map-container {
    max-width: 1200px;
    margin: 0 auto;
}

.world-map-cyber {
    position: relative;
    width: 100%;
    height: 600px;
    background: 
        radial-gradient(circle at 30% 40%, rgba(0, 255, 255, 0.08) 0%, transparent 60%),
        radial-gradient(circle at 70% 60%, rgba(0, 128, 255, 0.08) 0%, transparent 60%),
        linear-gradient(135deg, rgba(0, 10, 20, 0.8), rgba(0, 30, 60, 0.6));
    border: 2px solid rgba(0, 255, 255, 0.3);
    border-radius: 20px;
    overflow: hidden;
    backdrop-filter: blur(15px);
    box-shadow: 
        0 0 40px rgba(0, 255, 255, 0.2),
        inset 0 0 40px rgba(0, 128, 255, 0.1);
}

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

.continent-path {
    transition: all 0.3s ease;
    cursor: pointer;
}

.continent-path:hover {
    opacity: 0.8 !important;
    stroke-width: 4;
    filter: drop-shadow(0 0 10px #00FFFF);
}

.connection-lines-svg {
    pointer-events: none;
}

.city-marker {
    position: absolute;
    width: 80px;
    height: 80px;
    cursor: pointer;
    transform: translate(-50%, -50%);
    z-index: 5;
}

.marker-pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 60px;
    height: 60px;
    background: rgba(0, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: markerPulse 2.5s ease-in-out infinite;
}

.marker-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #00FFFF, #0080FF);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 
        0 0 25px rgba(0, 255, 255, 0.8),
        0 0 50px rgba(0, 255, 255, 0.4);
    z-index: 3;
    animation: markerFloat 3s ease-in-out infinite;
}

.marker-tooltip {
    position: absolute;
    bottom: 90px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.95);
    border: 2px solid rgba(0, 255, 255, 0.4);
    border-radius: 15px;
    padding: 1.5rem;
    min-width: 220px;
    text-align: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
    z-index: 15;
    backdrop-filter: blur(20px);
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.7),
        0 0 20px rgba(0, 255, 255, 0.3);
}

.city-marker:hover .marker-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(-10px);
}

.marker-tooltip h4 {
    color: #00FFFF;
    font-family: 'Orbitron', monospace;
    margin: 0 0 0.75rem 0;
    font-size: 1.1rem;
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
}

.marker-tooltip p {
    color: #e0e6ed;
    margin: 0 0 1rem 0;
    font-weight: 600;
    font-size: 1rem;
}

.companies {
    color: #0080FF;
    font-size: 0.9rem;
    font-style: italic;
    line-height: 1.5;
    background: rgba(0, 128, 255, 0.1);
    padding: 0.5rem;
    border-radius: 8px;
    border: 1px solid rgba(0, 128, 255, 0.2);
}

.data-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 2;
}

.map-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.stat-item {
    text-align: center;
    background: rgba(0, 255, 255, 0.05);
    border: 1px solid rgba(0, 255, 255, 0.2);
    border-radius: 15px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.stat-item:hover {
    border-color: rgba(0, 255, 255, 0.4);
    box-shadow: 0 10px 30px rgba(0, 255, 255, 0.1);
    transform: translateY(-5px);
}

.stat-number {
    font-size: 3rem;
    font-weight: 900;
    font-family: 'Orbitron', monospace;
    color: #00FF00;
    text-shadow: 0 0 20px rgba(0, 255, 0, 0.7);
    margin-bottom: 0.5rem;
    animation: numberGlow 2s ease-in-out infinite;
}

.stat-label {
    color: #b8c5d6;
    font-size: 1rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

@keyframes markerPulse {
    0%, 100% { 
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.4;
    }
    50% { 
        transform: translate(-50%, -50%) scale(1.8);
        opacity: 0.1;
    }
}

@keyframes markerFloat {
    0%, 100% { 
        transform: translate(-50%, -50%) translateY(0);
        box-shadow: 
            0 0 25px rgba(0, 255, 255, 0.8),
            0 0 50px rgba(0, 255, 255, 0.4);
    }
    50% { 
        transform: translate(-50%, -50%) translateY(-8px);
        box-shadow: 
            0 0 35px rgba(0, 255, 255, 1),
            0 0 70px rgba(0, 255, 255, 0.6);
    }
}

@keyframes numberGlow {
    0%, 100% { 
        text-shadow: 0 0 20px rgba(0, 255, 0, 0.7);
        transform: scale(1);
    }
    50% { 
        text-shadow: 0 0 30px rgba(0, 255, 0, 1);
        transform: scale(1.02);
    }
}

/* Líneas de conexión dinámicas */
.connection-line {
    position: absolute;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(0, 255, 255, 0.5), transparent);
    animation: connectionFlow 3s linear infinite;
    opacity: 0.6;
}

@keyframes connectionFlow {
    0% { transform: scaleX(0); transform-origin: left; }
    50% { transform: scaleX(1); transform-origin: left; }
    51% { transform-origin: right; }
    100% { transform: scaleX(0); transform-origin: right; }
}

@media (max-width: 768px) {
    .world-map {
        height: 400px;
    }
    
    .node-tooltip {
        min-width: 180px;
        font-size: 0.9rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .map-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 480px) {
  .hero__title {
    font-size: 2rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .btn-cyber {
    padding: 0.8rem 1.5rem;
    font-size: 0.9rem;
  }
  
  .btn-cyber.btn-xl {
    padding: 1rem 2rem;
    font-size: 1rem;
  }
  
  .course-card-3d {
    padding: 1rem;
  }
  
  .chatbot-hologram {
    bottom: 1rem;
    right: 1rem;
  }
}

/* Custom Futuristic Cursor - Nave en Punta */
.custom-cursor {
  position: fixed;
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-bottom: 20px solid var(--color-cyan-neon);
  pointer-events: none;
  z-index: 10001;
  transition: transform 0.1s ease;
  filter: drop-shadow(0 0 10px rgba(0, 255, 255, 0.8));
  transform-origin: center bottom;
}

.custom-cursor-trail {
  position: fixed;
  width: 6px;
  height: 6px;
  background: var(--color-cyan-neon);
  border-radius: 50%;
  pointer-events: none;
  z-index: 10000;
  opacity: 0.6;
  transition: opacity 0.3s ease;
  box-shadow: 0 0 10px rgba(0, 255, 255, 0.8);
}

/* Loading Robot Styles - Same as Chatbot */
.loading-robot {
  font-size: 8rem;
  margin-bottom: 2rem;
  animation: chatbotFloat 4s ease-in-out infinite;
  text-shadow: 0 0 30px rgba(0, 255, 255, 0.8);
}

/* Video Modal Styles */
.video-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.video-modal.active {
  opacity: 1;
  visibility: visible;
}

.video-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(5px);
}

.video-modal-content {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  width: 800px;
  height: 450px;
  background: #000;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
  border: 2px solid rgba(59, 130, 246, 0.3);
}

.video-modal-close {
  position: absolute;
  top: -45px;
  right: 0px;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 18px;
  color: white;
  z-index: 10001;
  transition: background 0.2s ease;
}

.video-modal-close:hover {
  background: rgba(255, 255, 255, 0.3);
}

.video-container {
  width: 100%;
  height: 100%;
  position: relative;
}

.video-container video {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

@media (max-width: 768px) {
  .video-modal-content {
    width: 95vw;
    height: auto;
    aspect-ratio: 16/9;
  }
  
  .video-modal-close {
    top: -40px;
    right: 10px;
    width: 35px;
    height: 35px;
    font-size: 16px;
  }
}