  :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(59, 52, 19, 1);
    --color-teal-300: rgba(237, 194, 38,1);
    --color-teal-400: rgb(178, 165, 45);
    --color-teal-500: rgb(141, 139, 33);
    --color-teal-600: rgb(128, 118, 29);
    --color-teal-700: rgb(115, 114, 26);
    --color-teal-800: rgb(161, 159, 41);
    --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: 59, 52, 19;
    --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(255, 215, 0, 0.08); /* Light yellow */
    --color-bg-2: rgba(245, 158, 11, 0.08); /* Light yellow */
    --color-bg-3: rgba(255, 235, 59, 0.08); /* Light yellow-green */
    --color-bg-4: rgba(255, 193, 7, 0.08); /* Light amber */
    --color-bg-5: rgba(255, 160, 0, 0.08); /* Light orange-yellow */
    --color-bg-6: rgba(249, 168, 37, 0.08); /* Light gold */
    --color-bg-7: rgba(255, 202, 40, 0.08); /* Light golden */
    --color-bg-8: rgba(255, 179, 0, 0.08); /* Light yellow-orange */

    /* 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(255, 215, 0, 0.15); /* Dark yellow */
      --color-bg-2: rgba(180, 83, 9, 0.15); /* Dark yellow */
      --color-bg-3: rgba(255, 193, 7, 0.15); /* Dark amber */
      --color-bg-4: rgba(255, 160, 0, 0.15); /* Dark orange-yellow */
      --color-bg-5: rgba(249, 168, 37, 0.15); /* Dark gold */
      --color-bg-6: rgba(194, 65, 12, 0.15); /* Dark orange */
      --color-bg-7: rgba(255, 179, 0, 0.15); /* Dark yellow-orange */
      --color-bg-8: rgba(255, 235, 59, 0.15); /* Dark yellow-green */
      
      /* 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(255, 215, 0, 0.15); /* Dark yellow */
    --color-bg-2: rgba(180, 83, 9, 0.15); /* Dark yellow */
    --color-bg-3: rgba(255, 193, 7, 0.15); /* Dark amber */
    --color-bg-4: rgba(255, 160, 0, 0.15); /* Dark orange-yellow */
    --color-bg-5: rgba(249, 168, 37, 0.15); /* Dark gold */
    --color-bg-6: rgba(194, 65, 12, 0.15); /* Dark orange */
    --color-bg-7: rgba(255, 179, 0, 0.15); /* Dark yellow-orange */
    --color-bg-8: rgba(255, 235, 59, 0.15); /* Dark yellow-green */
    
    /* 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: 59, 52, 19;
    
    /* 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);
  }

  /* Ensure anchor tags styled as buttons work properly */
  a.btn {
    color: inherit;
    text-decoration: none;
  }

  a.btn:hover {
    color: inherit;
    text-decoration: none;
  }

  a.btn:visited {
    color: inherit;
  }

  .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 */
  /* Import design system styles */
  @import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap');

  /* Custom futuristic variables */
  :root {
    /* Futuristic color palette */
    --neon-blue: #ffd700;
    --neon-purple: #af8102;
    --neon-cyan: #d4c606;
    --neon-pink: #ecc048;
    --neon-green: #10b981;
    --electric-blue: #ffeb3b;
    --deep-space: #1a1a0f;
    --dark-matter: #2a2419;
    --cosmic-purple: #3d3420;
    --plasma-glow: rgba(247, 244, 85, 0.3);
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #ffd700, var(--neon-purple));
    --gradient-secondary: linear-gradient(135deg, var(--neon-cyan), #ffeb3b);
    --gradient-accent: linear-gradient(135deg, var(--neon-pink), var(--neon-purple));
    --gradient-bg: radial-gradient(ellipse at center, #2a2419 0%, #1a1a0f 100%);
    
    /* Shadows and glows */
    --glow-primary: 0 0 20px rgba(240, 200, 0, 0.5), 0 0 40px rgba(240, 200, 0, 0.3), 0 0 60px rgba(240, 200, 0, 0.1);
    --glow-purple: 0 0 20px rgba(247, 123, 85, 0.5), 0 0 40px rgba(247, 171, 85, 0.3);
    --glow-cyan: 0 0 20px rgba(212, 181, 6, 0.5), 0 0 40px rgba(212, 181, 6, 0.3);
    --glow-pink: 0 0 20px rgba(245, 211, 60, 0.5), 0 0 40px rgba(236, 159, 72, 0.3);
    
    /* Animation durations */
    --animation-fast: 0.3s;
    --animation-normal: 0.6s;
    --animation-slow: 1.2s;
    --animation-ultra-slow: 3s;
  }

  /* Base styles with futuristic enhancements */
  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }

  html {
    scroll-behavior: smooth;
    overflow-x: hidden;
  }

  body {
    font-family: 'Inter', var(--font-family-base);
    background: linear-gradient(135deg, #2a2419 0%, #1a1a0f 50%, #0f0f0a 100%);
    color: var(--color-text);
    position: relative;
  }

  /* Navigation */
  .nav-container {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(42, 36, 25, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 215, 0, 0.2);
    transition: all var(--animation-fast) ease;
  }

  .nav-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
  }

  .nav-brand {
    display: flex;
    align-items: center;
    position: relative;
  }

  .logo-glow {
    position: absolute;
    left: -10px;
    top: -10px;
    width: 20px;
    height: 20px;
    background: var(--gradient-primary);
    border-radius: 50%;
    filter: blur(8px);
    animation: pulse 2s infinite ease-in-out;
  }

  .logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-left: 1rem;
  }

  .nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
  }

  .nav-link {
    color: var(--color-text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: all var(--animation-fast) ease;
    position: relative;
  }

  .nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width var(--animation-fast) ease;
  }

  .nav-link:hover {
    color: #ffd700;
  }

  .nav-link:hover::after {
    width: 100%;
  }

  .nav-cta {
    position: relative;
    overflow: hidden;
  }

  .mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
  }

  .mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 2px;
    transition: all var(--animation-fast) ease;
  }

  /* Hero Section */
  .hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: 2rem;
    overflow: hidden;
  }

  .hero-bg-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
  }

  #hero-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }

  .hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="1" fill="%2300d4ff" opacity="0.3"><animate attributeName="opacity" values="0.3;1;0.3" dur="3s" repeatCount="indefinite"/></circle><circle cx="80" cy="30" r="1" fill="%23a855f7" opacity="0.5"><animate attributeName="opacity" values="0.5;1;0.5" dur="2s" repeatCount="indefinite"/></circle><circle cx="30" cy="70" r="1" fill="%2306b6d4" opacity="0.4"><animate attributeName="opacity" values="0.4;1;0.4" dur="2.5s" repeatCount="indefinite"/></circle></svg>') repeat;
    animation: float 20s infinite linear;
  }

  .hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
    z-index: 1;
  }

  .hero-text {
    animation: slideInLeft 1s ease-out;
  }

  .hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 215, 0, 0.1);
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
    color: #ffffff !important;
  }

  .badge-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, transparent, rgba(255, 215, 0, 0.3), transparent);
    animation: spin 3s linear infinite;
  }
  

  .hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: #ffffff !important;
  }

  .title-line {
    display: block;
    animation: fadeInUp 0.8s ease-out forwards;
    opacity: 0;
    color: #ffffff !important;
  }

  .title-line:nth-child(1) { animation-delay: 0.2s; }
  .title-line:nth-child(2) { animation-delay: 0.4s; }
  .title-line:nth-child(3) { animation-delay: 0.6s; }

  .gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
  }

  .hero-subtitle {
    font-size: 1.25rem;
    color: #ffffff !important;
    line-height: 1.6;
    margin-bottom: 3rem;
    animation: fadeInUp 0.8s ease-out 0.8s both;
  }

  .hero-actions {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 3rem;
    animation: fadeInUp 0.8s ease-out 1s both;
  }

  .hero-cta {
    position: relative;
    overflow: hidden;
  }

  .btn-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, transparent, rgba(240, 200, 0, 0.466), transparent);
    animation: spin 2s linear infinite;
  }

  .btn-arrow {
    margin-left: 0.5rem;
    transition: transform var(--animation-fast) ease;
  }

  .hero-cta:hover .btn-arrow {
    transform: translateX(4px);
  }

  .demo-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
  }

  .play-icon {
    font-size: 0.8rem;
  }

  .hero-stats {
    display: flex;
    gap: 2rem;
    animation: fadeInUp 0.8s ease-out 1.2s both;
  }

  .stat-item {
    text-align: center;
  }

  .stat-number {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff !important;
    background: var(--gradient-secondary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
  }

  .stat-label {
    font-size: 0.9rem;
    color: #f5cc00 !important;
  }

  .hero-visual {
    animation: slideInRight 1s ease-out 0.5s both;
    position: relative;
  }

  .dashboard-mockup {
    position: relative;
    transform: perspective(1000px) rotateY(-15deg) rotateX(5deg);
    transition: transform var(--animation-slow) ease;
  }

  .dashboard-mockup:hover {
    transform: perspective(1000px) rotateY(-10deg) rotateX(2deg) scale(1.05);
  }

  .mockup-glow {
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    background: var(--gradient-primary);
    border-radius: 20px;
    filter: blur(30px);
    opacity: 0.3;
    z-index: -1;
  }

  .dashboard-image {
    width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: var(--glow-primary);
  }

  .floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
  }

  .float-element {
    position: absolute;
    font-size: 2rem;
    animation: float 6s ease-in-out infinite;
    filter: drop-shadow(0 0 10px currentColor);
  }

  .float-element:nth-child(1) {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
  }

  .float-element:nth-child(2) {
    top: 60%;
    right: 15%;
    animation-delay: 1.5s;
  }

  .float-element:nth-child(3) {
    bottom: 30%;
    left: 20%;
    animation-delay: 3s;
  }

  .float-element:nth-child(4) {
    top: 40%;
    right: 30%;
    animation-delay: 4.5s;
  }

  /* Features Section */
  .features-section {
    padding: 8rem 2rem;
    position: relative;
    background: linear-gradient(180deg, transparent 0%, rgba(26, 26, 46, 0.5) 50%, transparent 100%);
  }

  .section-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
  }

  #features-canvas {
    width: 100%;
    height: 100%;
  }

  .container {
    max-width: 1400px;
    margin: 0 auto;
  }

  .section-header {
    text-align: center;
    margin-bottom: 4rem;
  }

  .section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: 1rem;
    color: #ffffff !important;
  }

  .title-accent {
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
  }

  .section-subtitle {
    font-size: 1.25rem;
    color: #ffffff !important;
    max-width: 600px;
    margin: 0 auto;
  }

  .features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
  }

  .feature-card {
    background: rgba(42, 36, 25, 0.6);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 215, 0, 0.2);
    border-radius: 20px;
    padding: 2rem;
    position: relative;
    overflow: hidden;
    transition: all var(--animation-normal) ease;
    cursor: pointer;
  }

  .feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity var(--animation-normal) ease;
    z-index: -1;
  }

  .feature-card:hover::before {
    opacity: 0.1;
  }

  .feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--glow-primary);
    border-color: var(--neon-blue);
  }

  .card-glow {
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: var(--gradient-primary);
    border-radius: 20px;
    opacity: 0;
    transition: opacity var(--animation-normal) ease;
    z-index: -1;
    filter: blur(10px);
  }

  .feature-card:hover .card-glow {
    opacity: 0.3;
  }

  .feature-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: block;
    filter: drop-shadow(0 0 10px currentColor);
  }

  .feature-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #f5cc00 !important;
  }

  .feature-description {
    color: #ffffff !important;
    line-height: 1.6;
  }

  .feature-hover-effect {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left var(--animation-slow) ease;
  }

  .feature-card:hover .feature-hover-effect {
    left: 100%;
  }

  /* Benefits Section */
  .benefits-section {
    padding: 8rem 2rem;
    position: relative;
    overflow: hidden;
  }

  .benefits-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
  }

  .benefits-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
  }

  .benefits-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26, 26, 15, 0.9), rgba(42, 36, 25, 0.8));
  }

  .benefits-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
  }

  .benefits-text {
    z-index: 1;
  }

  .benefits-stats {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 2rem;
  }

  .benefit-stat {
    display: flex;
    align-items: center;
    gap: 2rem;
  }

  .stat-circle {
    width: 100px;
    height: 100px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .stat-progress {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: conic-gradient(from 0deg, #ff7300 0%, rgb(255, 136, 0) 0%);
    transition: background var(--animation-slow) ease;
  }

  .stat-value {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffd700;
    z-index: 2;
    pointer-events: none;
  }

  .stat-info h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #ffffff !important;
  }

  .stat-info p {
    color: #ffffff !important;
  }

  .global-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }

  .stat-card {
    background: rgba(42, 36, 25, 0.6);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 215, 0, 0.2);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    transition: all var(--animation-normal) ease;
  }

  .stat-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--glow-purple);
    border-color: var(--neon-purple);
  }

  .stat-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
    display: block;
  }

  .stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: #ffffff !important;
    background: var(--gradient-secondary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
    margin-bottom: 0.5rem;
  }

  .stat-label {
    color: #f5cc00 !important;
    font-size: 0.9rem;
  }

  /* Testimonials Section */
  .testimonials-section {
    padding: 8rem 2rem;
    background: linear-gradient(180deg, transparent 0%, rgba(61, 52, 32, 0.3) 50%, transparent 100%);
  }

  .testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
  }

  .testimonial-card {
    background: rgba(42, 36, 25, 0.6);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 215, 0, 0.2);
    border-radius: 20px;
    padding: 2rem;
    position: relative;
    transition: all var(--animation-normal) ease;
  }

  .testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--glow-cyan);
    border-color: var(--neon-cyan);
  }

  .testimonial-card .card-glow {
    background: var(--gradient-secondary);
  }

  .testimonial-card:hover .card-glow {
    opacity: 0.3;
  }

  .stars {
    color: #fbbf24;
    font-size: 1.2rem;
    margin-bottom: 1rem;
  }

  .testimonial-text {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    font-style: italic;
    color: #f5cc00 !important;
  }

  .testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: #eed03a !important;
  }

  .author-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 2px solid var(--neon-cyan);
    box-shadow: 0 0 20px rgba(240, 200, 0, 0.3);
  }

  .author-info h4 {
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: #f5cc00 !important;
  }

  .author-info p {
    color: var(--color-text-secondary);
    font-size: 0.9rem;
    color: #ffffff !important;
  }

  /* Pricing Section */
  .pricing-section {
    padding: 8rem 2rem;
  }

  .pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
  }

  .pricing-card {
    background: rgba(42, 36, 25, 0.6);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 215, 0, 0.2);
    border-radius: 20px;
    padding: 2rem;
    position: relative;
    transition: all var(--animation-normal) ease;
  }

  .pricing-card--popular {
    border-color: var(--neon-purple);
    box-shadow: var(--glow-purple);
    transform: scale(1.05);
  }

  .popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-accent);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
  }

  .pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--glow-purple);
  }

  .pricing-card--popular:hover {
    transform: translateY(-10px) scale(1.05);
  }

  .pricing-header {
    text-align: center;
    margin-bottom: 2rem;
  }

  .plan-name {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #f5cc00 !important;
  }

  .plan-description {
    color: var(--color-text-secondary);
    margin-bottom: 2rem;
    color: #ffffff !important;
  }

  .plan-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.25rem;
  }

  .price-currency {
    font-size: 1.5rem;
    font-weight: 600;
  }

  .price-amount {
    font-size: 3rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
  }

  .price-period {
    color: var(--color-text-secondary);
    font-size: 0.9rem;
  }

  .pricing-features {
    margin-bottom: 2rem;
  }

  .feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
    color: #f5cc00 !important;
  }

  .feature-check {
    color: var(--neon-green);
    font-weight: bold;
  }

  .pricing-cta {
    position: relative;
    overflow: hidden;
  }

  /* Footer */
  .footer {
    padding: 4rem 2rem 2rem;
    position: relative;
    border-top: 1px solid rgba(255, 215, 0, 0.2);
  }

  .footer-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
  }

  #footer-canvas {
    width: 100%;
    height: 100%;
    max-height: 300px;
    object-fit: cover;
  }

  .footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 3rem;
  }

  .footer-brand {
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }

  .footer-tagline {
    color: var(--color-text-secondary);
    max-width: 300px;
  }

  .footer-cta {
    text-align: center;
  }

  .footer-cta h3 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 1rem;
  }

  .footer-cta p {
    color: var(--color-text-secondary);
    margin-bottom: 2rem;
  }

  .footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 215, 0, 0.2);
    color: var(--color-text-secondary);
    font-size: 0.9rem;
  }

  .footer-links {
    display: flex;
    gap: 2rem;
  }

  .footer-links a {
    color: var(--color-text-secondary);
    text-decoration: none;
    transition: color var(--animation-fast) ease;
  }

  .footer-links a:hover {
    color: #ffd700;
  }

  /* Button Enhancements */
  .btn {
    position: relative;
    overflow: hidden;
    border: none;
    cursor: pointer;
    transition: all var(--animation-normal) ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    border-radius: 50px;
  }

  .btn--primary {
    background: var(--gradient-primary);
    color: white;
    padding: 1rem 2rem;
  }

  .btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 20px rgba(240, 200, 0, 0.5), 0 0 40px rgba(240, 200, 0, 0.3), 0 0 60px rgba(240, 200, 0, 0.1);
  }

  .btn--outline {
    background: transparent;
    border: 2px solid #f0c800;
    color: #f0c800;
    padding: 1rem 2rem;
  }

  .btn--outline:hover {
    background: #f0c800;
    color: var(--deep-space);
    box-shadow: 0 0 20px rgba(240, 200, 0, 0.5), 0 0 40px rgba(240, 200, 0, 0.3), 0 0 60px rgba(240, 200, 0, 0.1);
  }

  .btn--lg {
    padding: 1.25rem 2.5rem;
    font-size: 1.1rem;
  }

  .btn--full-width {
    width: 100%;
  }

  /* Animations */
  @keyframes pulse {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.2); }
  }

  @keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
  }

  @keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    25% { transform: translateY(-10px) rotate(5deg); }
    50% { transform: translateY(-5px) rotate(-5deg); }
    75% { transform: translateY(-15px) rotate(3deg); }
  }

  @keyframes slideInLeft {
    from { opacity: 0; transform: translateX(-50px); }
    to { opacity: 1; transform: translateX(0); }
  }

  @keyframes slideInRight {
    from { opacity: 0; transform: translateX(50px); }
    to { opacity: 1; transform: translateX(0); }
  }

  @keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
  }

  /* Responsive Design */
  @media (max-width: 1024px) {
    .hero-content {
      grid-template-columns: 1fr;
      gap: 3rem;
      text-align: center;
    }
    
    .benefits-content {
      grid-template-columns: 1fr;
      gap: 3rem;
    }
    
    .footer-content {
      grid-template-columns: 1fr;
      gap: 3rem;
      text-align: center;
    }
  }

  @media (max-width: 768px) {
     
    .mobile-menu-toggle {
      display: flex;
    }
    
    .nav-links {
      position: fixed;
      top: 80px;
      left: 0;
      right: 0;
      background: rgba(10, 10, 15, 0.98);
      backdrop-filter: blur(20px);
      flex-direction: column;
      padding: 2rem;
      gap: 2rem;
      transform: translateY(-100%);
      transition: transform 0.3s ease;
      z-index: 1001;
      opacity: 0;
      visibility: hidden;
      border-top: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .nav-links.active {
      transform: translateY(0);
      opacity: 1;
      visibility: visible;
    }
    
    .nav-link {
      text-align: center;
      padding: 1rem;
      border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .nav-cta {
      margin-top: 1rem;
    }
    
    .mobile-menu-toggle.active span:nth-child(1) {
      transform: rotate(45deg) translate(5px, 5px);
    }
    
    .mobile-menu-toggle.active span:nth-child(2) {
      opacity: 0;
    }
    
    .mobile-menu-toggle.active span:nth-child(3) {
      transform: rotate(-45deg) translate(7px, -6px);
    }
    
    .hero-section {
      padding: 1rem;
      min-height: 90vh;
    }
    
    .hero-actions {
      flex-direction: column;
      gap: 1rem;
    }
    
    .hero-stats {
      flex-direction: column;
      gap: 1rem;
    }
    
    .features-grid {
      grid-template-columns: 1fr;
    }
    
    .testimonials-grid {
      grid-template-columns: 1fr;
    }
    
    .pricing-grid {
      grid-template-columns: 1fr;
    }
    
    .global-stats {
      grid-template-columns: repeat(2, 1fr);
      gap: 1rem;
    }
    
    .stat-card {
      min-height: 120px;
      display: flex;
      flex-direction: column;
      justify-content: center;
    }
    
    .counter {
      font-size: 1.5rem !important;
    }
    
    .benefits-section {
      padding: 4rem 1rem;
    }
    
    .benefits-content {
      grid-template-columns: 1fr;
      gap: 3rem;
    }
    
    .benefits-stats {
      gap: 1.5rem;
    }
    
    .benefit-stat {
      flex-direction: column;
      text-align: center;
      gap: 1rem;
    }
    
    .stat-circle {
      width: 80px;
      height: 80px;
      flex-shrink: 0;
    }
    
    .stat-value {
      font-size: 1.2rem;
    }
    
    .stat-info h4 {
      font-size: 1.1rem;
      margin-bottom: 0.25rem;
    }
    
    .stat-info p {
      font-size: 0.9rem;
    }
    
    .footer-bottom {
      flex-direction: column;
      gap: 1rem;
      text-align: center;
    }
    
    .footer-links {
      justify-content: center;
    }
  }

  @media (max-width: 480px) {
    .section-title {
      font-size: 2rem;
      color: #ffffff !important;
    }
    
    .hero-badge {
      margin: 50px;
      color: #ffffff !important;
    }
    
    .hero-title {
      font-size: 2.5rem;
      margin-top: 30px;
      color: #ffffff !important;
    }
    
    .hero-subtitle {
      color: white;
    }
    
    .nav-content {
      padding: 1rem;
    }
    
    .feature-card,
    .testimonial-card,
    .pricing-card {
      padding: 1.5rem;
    }
    
    .global-stats {
      grid-template-columns: 1fr;
      gap: 1.5rem;
    }
    
    .stat-card {
      padding: 2rem 1rem;
      min-height: 140px;
    }
    
    .stat-number.counter {
      font-size: 2rem !important;
      font-weight: 700 !important;
    }
    
    .stat-label {
      font-size: 0.85rem;
      margin-top: 0.5rem;
    }
    
    .benefits-stats {
      gap: 2rem;
    }
    
    .benefit-stat {
      text-align: center;
      flex-direction: column;
      gap: 1rem;
    }
    
    .stat-circle {
      width: 70px;
      height: 70px;
      margin: 0 auto;
    }
    
    .stat-value {
      font-size: 1rem;
      font-weight: 700;
    }
    
    .stat-info h4 {
      font-size: 1rem;
      margin-bottom: 0.25rem;
    }
    
    .stat-info p {
      font-size: 0.85rem;
      margin: 0;
    }
    
    /* Footer logo centering on mobile */
    .footer-logo-mobile-center {
      display: block;
      margin: 0 auto;
    }
    
    .footer-brand {
      text-align: center;
      align-items: center;
    }
  }

  /* Additional mobile optimizations for progress circles */
  @media (max-width: 480px) {
    .benefit-stat {
      min-height: 120px;
      padding: 1rem;
    }
    
    .stat-circle {
      width: 60px;
      height: 60px;
      margin-bottom: 0.5rem;
    }
    
    .stat-progress {
      border-radius: 50%;
      background: conic-gradient(from 0deg, #ff7300 0%, rgb(255, 136, 0) 0%);
      transition: background 0.3s ease;
    }
    
    .stat-value {
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      font-size: 1.1rem;
      font-weight: 700;
      color: var(--color-white);
      z-index: 2;
      pointer-events: none;
    }
    
    .stat-label {
      font-size: 0.8rem;
      text-align: center;
      line-height: 1.2;
    }
  }

  /* High contrast mode support */
  @media (prefers-contrast: high) {
    .feature-card,
    .testimonial-card,
    .pricing-card,
    .stat-card {
      border-width: 2px;
    }
  }

  /* Reduced motion support */
  @media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
      animation-duration: 0.01ms !important;
      animation-iteration-count: 1 !important;
      transition-duration: 0.01ms !important;
    }
  }

  /* Print styles */
  @media print {
    .nav-container,
    .hero-bg-container,
    .section-bg,
    .benefits-bg,
    .footer-bg {
      display: none;
    }
    
    body {
      background: white;
      color: black;
    }
  }

  /* Desktop/Mobile Visibility Controls */
  .desktop-only {
    display: block;
  }
  
  .mobile-only {
    display: none;
  }
  
  @media (max-width: 768px) {
    .desktop-only {
      display: none !important;
    }
    
    .mobile-only {
      display: block !important;
    }
  }

  /* Mobile Benefits Section Styles */
  .benefits-section-mobile {
    padding: 80px 0;
    position: relative;
    color: white;
    overflow: hidden;
  }

  .benefits-content-mobile {
    display: flex;
    flex-direction: column;
    gap: 60px;
    align-items: center;
  }

  .benefits-stats-mobile {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    width: 100%;
    max-width: 400px;
  }

  .benefit-stat-mobile {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
  }

  .stat-circle-mobile {
    position: relative;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
  }

  .stat-progress-mobile {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .stat-value-mobile {
    position: absolute;
    font-size: 18px;
    font-weight: 700;
    color: white;
    z-index: 2;
  }

  .global-stats-mobile {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    width: 100%;
    max-width: 400px;
  }

  .stat-card-mobile {
    background: rgba(255, 255, 255, 0.05);
    padding: 20px;
    border-radius: 15px;
    text-align: center;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
  }

  .stat-number-mobile {
    font-size: 24px;
    font-weight: 700;
    color: #ff7300;
    margin: 10px 0;
  }

  @media (max-width: 480px) {
    .benefits-stats-mobile {
      gap: 25px;
    }
    
    .benefit-stat-mobile {
      padding: 15px;
      gap: 15px;
    }
    
    .stat-circle-mobile {
      width: 60px;
      height: 60px;
    }
    
    .stat-value-mobile {
      font-size: 14px;
    }
    
    .global-stats-mobile {
      gap: 15px;
    }
    
    .stat-card-mobile {
      padding: 15px;
    }
    
    .stat-number-mobile {
      font-size: 20px;
    }
  }

  /* Trial Form Section */
  .trial-form-section {
    padding: var(--space-96) 0;
    position: relative;
    overflow: hidden;
  }

  .trial-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
  }

  .trial-bg canvas {
    width: 100%;
    height: 100%;
  }

  .trial-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
    align-items: flex-start;
  }

  .trial-header {
    margin-bottom: 40px;
    flex: 1 1 50%;
    min-width: 280px;
    padding-left: 20px;
  }

  .trial-form-container {
    flex: 1 1 50%;
    min-width: 320px;
    max-width: none;
    margin: 0;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 40px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: visible;
  }

  /* Ensure the container doesn't clip iframe content */
  .trial-form-container * {
    box-sizing: border-box;
  }

  .trial-iframe {
    width: 100%;
    height: 450px;
    border: none;
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: auto !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 215, 0, 0.6) rgba(255, 255, 255, 0.1);
    scroll-behavior: smooth;
  }

  /* Force iframe content to be scrollable */
  .trial-iframe html,
  .trial-iframe body {
    overflow: auto !important;
    height: auto !important;
    min-height: 100% !important;
  }

  /* Custom scrollbar styling for webkit browsers */
  .trial-iframe::-webkit-scrollbar {
    width: 12px;
  }

  .trial-iframe::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 6px;
  }

  .trial-iframe::-webkit-scrollbar-thumb {
    background: rgba(255, 215, 0, 0.8);
    border-radius: 6px;
    border: 2px solid rgba(255, 255, 255, 0.1);
  }

  .trial-iframe::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 215, 0, 1);
  }

  /* Ensure iframe scrolling works on all devices */
  .trial-iframe {
    position: relative;
  }

  .trial-iframe::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 12px;
    background: rgba(255, 215, 0, 0.1);
    border-radius: 6px;
    pointer-events: none;
    z-index: 1;
  }

  .loading-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 15, 35, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    border-radius: 15px;
    transition: opacity 0.3s ease;
    z-index: 3;
  }

  .loading-spinner {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(255, 115, 0, 0.3);
    border-top: 3px solid #ff7300;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 20px;
  }

  @keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
  }

  .loading-text {
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 500;
  }

  /* Success Modal */
  .modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
  }

  .modal-content {
    background: linear-gradient(135deg, #ff7300 0%, #ff9500 100%);
    margin: 10% auto;
    padding: 40px;
    border-radius: 20px;
    width: 90%;
    max-width: 500px;
    text-align: center;
    position: relative;
    animation: modalSlideIn 0.3s ease-out;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  }

  @keyframes modalSlideIn {
    from {
      opacity: 0;
      transform: translateY(-50px) scale(0.9);
    }
    to {
      opacity: 1;
      transform: translateY(0) scale(1);
    }
  }

  .modal-icon {
    font-size: 4rem;
    margin-bottom: 20px;
    animation: bounce 0.6s ease-in-out;
  }

  @keyframes bounce {
    0%, 20%, 60%, 100% {
      transform: translateY(0);
    }
    40% {
      transform: translateY(-20px);
    }
    80% {
      transform: translateY(-10px);
    }
  }

  .modal-title {
    font-size: 2rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 15px;
  }

  .modal-text {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 30px;
    line-height: 1.6;
  }

  .modal-button {
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: #ffffff;
    padding: 15px 30px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
  }

  .modal-button:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
  }

  .close {
    position: absolute;
    top: 15px;
    right: 20px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
  }

  .close:hover {
    color: #ffffff;
  }

  /* Trial Form Responsive */
  @media (max-width: 900px) {
    .trial-content {
      flex-direction: column;
      gap: 24px;
    }
    
    .trial-form-container {
      flex: 1 1 100%;
      min-width: 0;
      max-width: 100%;
      padding: 20px;
      margin: 0;
      order: 2;
    }
    
    .trial-header {
      flex: 1 1 100%;
      min-width: 0;
      max-width: 100%;
      padding-left: 0;
      text-align: center;
      order: 1;
      margin-bottom: 20px;
    }

    .trial-iframe {
      height: 500px;
      overflow: auto;
      -webkit-overflow-scrolling: touch;
    }
  }

  @media (max-width: 768px) {
    .trial-form-container {
      padding: 15px;
    }
    .hero-badge {
        margin-top:100px;
    }
    .hero-title{
        margin-top:10px;
    }
    .trial-iframe {
      height: 450px;
      overflow: auto;
      -webkit-overflow-scrolling: touch;
    }
  }

  @media (max-width: 480px) {
    .trial-iframe {
      height: 400px;
      width:100%;
      overflow: auto;
      -webkit-overflow-scrolling: touch;
    }
  }