/**
 * WAYSCloud Design Tokens
 * Based on wayscloud.no / staging.wayscloud.no
 */

:root {
  /* ═══════════════════════════════════════════════════════════════════
     COLOR TOKENS
     ═══════════════════════════════════════════════════════════════════ */

  /* Primary Colors */
  --wc-primary: #0693e3;           /* Vivid cyan blue - primary accent */
  --wc-primary-dark: #0574b4;      /* Darker primary for hover states */
  --wc-primary-light: #3ba9e8;     /* Lighter primary */

  /* Secondary Colors */
  --wc-secondary: #1b385c;         /* Dark navy blue - used in header/footer */
  --wc-secondary-dark: #142a45;    /* Darker secondary */
  --wc-secondary-light: #2a4d7a;   /* Lighter secondary */

  /* Background Colors */
  --wc-bg: #ffffff;                /* Main background */
  --wc-bg-light: #f8f9fa;          /* Light background for sections */
  --wc-bg-dark: #1b385c;           /* Dark background (same as secondary) */
  --wc-bg-darker: #0f1f33;         /* Darker background for footer */

  /* Text Colors */
  --wc-text: #1a1a1a;              /* Primary text */
  --wc-text-secondary: #4a5568;    /* Secondary text */
  --wc-text-muted: #718096;        /* Muted text */
  --wc-text-light: #ffffff;        /* Light text for dark backgrounds */
  --wc-text-light-muted: #abb8c3;  /* Muted light text */

  /* UI Colors */
  --wc-border: #e2e8f0;            /* Default border */
  --wc-border-dark: #1b385c;       /* Dark border */
  --wc-success: #38a169;           /* Success green */
  --wc-error: #cf2e2e;             /* Error red */
  --wc-warning: #ff6900;           /* Warning orange */

  /* Accent Colors */
  --wc-accent-purple: #9b51e0;     /* Vivid purple */
  --wc-accent-cyan: #7bdcb5;       /* Light green cyan */
  --wc-accent-orange: #ff6900;     /* Luminous orange */

  /* ═══════════════════════════════════════════════════════════════════
     TYPOGRAPHY TOKENS
     ═══════════════════════════════════════════════════════════════════ */

  /* Font Families */
  --wc-font-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --wc-font-mono: 'SF Mono', SFMono-Regular, Consolas, 'Liberation Mono', Menlo, monospace;

  /* Font Sizes */
  --wc-text-xs: 0.75rem;           /* 12px */
  --wc-text-sm: 0.8125rem;         /* 13px */
  --wc-text-base: 1rem;            /* 16px */
  --wc-text-md: 1.125rem;          /* 18px */
  --wc-text-lg: 1.25rem;           /* 20px */
  --wc-text-xl: 1.5rem;            /* 24px */
  --wc-text-2xl: 1.875rem;         /* 30px */
  --wc-text-3xl: 2.25rem;          /* 36px */
  --wc-text-4xl: 2.625rem;         /* 42px */
  --wc-text-5xl: 3rem;             /* 48px */
  --wc-text-6xl: 3.75rem;          /* 60px */

  /* Line Heights */
  --wc-leading-none: 1;
  --wc-leading-tight: 1.25;
  --wc-leading-snug: 1.375;
  --wc-leading-normal: 1.5;
  --wc-leading-relaxed: 1.625;
  --wc-leading-loose: 2;

  /* Font Weights */
  --wc-font-normal: 400;
  --wc-font-medium: 500;
  --wc-font-semibold: 600;
  --wc-font-bold: 700;

  /* Letter Spacing */
  --wc-tracking-tight: -0.025em;
  --wc-tracking-normal: 0;
  --wc-tracking-wide: 0.025em;

  /* ═══════════════════════════════════════════════════════════════════
     SPACING TOKENS
     ═══════════════════════════════════════════════════════════════════ */

  --wc-space-1: 0.25rem;           /* 4px */
  --wc-space-2: 0.5rem;            /* 8px */
  --wc-space-3: 0.75rem;           /* 12px */
  --wc-space-4: 1rem;              /* 16px */
  --wc-space-5: 1.25rem;           /* 20px */
  --wc-space-6: 1.5rem;            /* 24px */
  --wc-space-8: 2rem;              /* 32px */
  --wc-space-10: 2.5rem;           /* 40px */
  --wc-space-12: 3rem;             /* 48px */
  --wc-space-16: 4rem;             /* 64px */
  --wc-space-20: 5rem;             /* 80px */
  --wc-space-24: 6rem;             /* 96px */

  /* WordPress-style spacing scale */
  --wc-space-20-wp: 0.44rem;
  --wc-space-30-wp: 0.67rem;
  --wc-space-40-wp: 1rem;
  --wc-space-50-wp: 1.5rem;
  --wc-space-60-wp: 2.25rem;
  --wc-space-70-wp: 3.38rem;
  --wc-space-80-wp: 5.06rem;

  /* ═══════════════════════════════════════════════════════════════════
     LAYOUT TOKENS
     ═══════════════════════════════════════════════════════════════════ */

  --wc-content-width: 800px;
  --wc-wide-width: 1200px;
  --wc-max-width: 1400px;
  --wc-container-padding: var(--wc-space-6);

  /* ═══════════════════════════════════════════════════════════════════
     BORDER & RADIUS TOKENS
     ═══════════════════════════════════════════════════════════════════ */

  --wc-radius-sm: 0.25rem;         /* 4px */
  --wc-radius: 0.375rem;           /* 6px */
  --wc-radius-md: 0.5rem;          /* 8px */
  --wc-radius-lg: 0.75rem;         /* 12px */
  --wc-radius-xl: 1rem;            /* 16px */
  --wc-radius-2xl: 1.5rem;         /* 24px */
  --wc-radius-full: 9999px;

  /* ═══════════════════════════════════════════════════════════════════
     SHADOW TOKENS
     ═══════════════════════════════════════════════════════════════════ */

  --wc-shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --wc-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1);
  --wc-shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
  --wc-shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
  --wc-shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);

  /* WordPress-style shadows */
  --wc-shadow-natural: 6px 6px 9px rgba(0, 0, 0, 0.2);
  --wc-shadow-deep: 12px 12px 50px rgba(0, 0, 0, 0.4);
  --wc-shadow-sharp: 6px 6px 0px rgba(0, 0, 0, 0.2);

  /* ═══════════════════════════════════════════════════════════════════
     TRANSITION TOKENS
     ═══════════════════════════════════════════════════════════════════ */

  --wc-transition-fast: 150ms ease;
  --wc-transition: 200ms ease;
  --wc-transition-slow: 300ms ease;
  --wc-transition-slower: 500ms ease;

  /* ═══════════════════════════════════════════════════════════════════
     Z-INDEX TOKENS
     ═══════════════════════════════════════════════════════════════════ */

  --wc-z-dropdown: 100;
  --wc-z-sticky: 200;
  --wc-z-header: 300;
  --wc-z-modal-backdrop: 400;
  --wc-z-modal: 500;
  --wc-z-cookie: 600;
  --wc-z-tooltip: 700;

  /* ═══════════════════════════════════════════════════════════════════
     BREAKPOINTS (for reference - use @media queries)
     ═══════════════════════════════════════════════════════════════════ */

  /* --wc-bp-sm: 640px;   */
  /* --wc-bp-md: 768px;   */
  /* --wc-bp-lg: 1024px;  */
  /* --wc-bp-xl: 1200px;  */
  /* --wc-bp-2xl: 1400px; */
}

/* Dark mode support (optional) */
@media (prefers-color-scheme: dark) {
  :root {
    /* Dark mode overrides can be added here */
  }
}
