/*
 * Praanah Wellness - Restyle Design Tokens
 * Dark premium theme inspired by tonyrobbins.com
 * Brand accent: #4c5ee6 (indigo)
 */

:root {
  /* ===========================
     Colors - Dark Premium
     =========================== */

  /* Base dark palette */
  --color-base-dark: #0a0a0f;
  --color-base-dark-elevated: #12121a;
  --color-base-dark-surface: #1a1a24;

  /* Text colors */
  --color-text-primary: #ffffff;
  --color-text-secondary: #a0a0b0;
  --color-text-muted: #6a6a7a;
  --color-text-inverse: #0a0a0f;

  /* Brand accent */
  --color-accent: #4c5ee6;
  --color-accent-hover: #5b6ef0;
  --color-accent-active: #3d4ec5;
  --color-accent-muted: rgba(76, 94, 230, 0.15);

  /* Light section alternate */
  --color-light-bg: #faf9f5;
  --color-light-bg-elevated: #ffffff;
  --color-light-text: #0a0a0f;
  --color-light-text-secondary: #4a4a5a;

  /* Semantic colors */
  --color-success: #4d6e32;
  --color-error: #d64545;
  --color-warning: #e09f3e;

  /* Overlay */
  --color-overlay-dark: rgba(10, 10, 15, 0.7);
  --color-overlay-darker: rgba(10, 10, 15, 0.85);

  /* ===========================
     Typography
     =========================== */

  /* Font families */
  --font-display: 'Montserrat', system-ui, -apple-system, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;

  /* Font weights */
  --font-weight-normal: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;
  --font-weight-extrabold: 800;
  --font-weight-black: 900;

  /* Font sizes - fluid scale */
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 1.875rem;
  --text-4xl: 2.25rem;

  /* Display sizes - fluid */
  --text-display-sm: clamp(1.5rem, 3vw, 2rem);
  --text-display-md: clamp(2rem, 4vw, 3rem);
  --text-display-lg: clamp(2.5rem, 5vw, 4rem);
  --text-display-xl: clamp(3rem, 6vw, 4.5rem);
  --text-display-hero: clamp(2.5rem, 7vw, 5rem);

  /* Line heights */
  --leading-none: 1;
  --leading-tight: 1.1;
  --leading-snug: 1.25;
  --leading-normal: 1.5;
  --leading-relaxed: 1.625;
  --leading-loose: 2;

  /* Letter spacing */
  --tracking-tighter: -0.05em;
  --tracking-tight: -0.025em;
  --tracking-normal: 0;
  --tracking-wide: 0.025em;
  --tracking-wider: 0.05em;
  --tracking-widest: 0.1em;

  /* ===========================
     Spacing
     =========================== */

  --space-0: 0;
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;

  /* Section padding */
  --section-padding-y: clamp(60px, 10vw, 140px);
  --section-padding-y-sm: clamp(40px, 6vw, 80px);

  /* ===========================
     Layout
     =========================== */

  --max-width-content: 1280px;
  --max-width-text: 720px;
  --max-width-narrow: 540px;

  --container-padding: clamp(16px, 4vw, 40px);

  /* ===========================
     Borders & Radius
     =========================== */

  --radius-none: 0;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-2xl: 24px;
  --radius-full: 9999px;

  --border-width: 1px;
  --border-color: rgba(255, 255, 255, 0.1);
  --border-color-light: rgba(10, 10, 15, 0.1);

  /* ===========================
     Shadows
     =========================== */

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.2);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.25);
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.3);
  --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.35);

  --shadow-glow-accent: 0 0 20px rgba(76, 94, 230, 0.3);

  /* ===========================
     Transitions
     =========================== */

  --duration-fast: 150ms;
  --duration-base: 250ms;
  --duration-slow: 400ms;
  --duration-reveal: 600ms;

  --ease-default: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-in: cubic-bezier(0.4, 0, 1, 1);
  --ease-out: cubic-bezier(0, 0, 0.2, 1);
  --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);

  /* ===========================
     Z-index scale
     =========================== */

  --z-base: 0;
  --z-dropdown: 100;
  --z-sticky: 200;
  --z-fixed: 300;
  --z-modal-backdrop: 400;
  --z-modal: 500;
  --z-popover: 600;
  --z-tooltip: 700;

  /* ===========================
     Header
     =========================== */

  --header-height: 80px;
  --header-height-mobile: 64px;
}

/* ===========================
   Dark mode is default
   Light section overrides
   =========================== */

.section--light {
  --color-text-primary: var(--color-light-text);
  --color-text-secondary: var(--color-light-text-secondary);
  --border-color: var(--border-color-light);
}
