/**
 * PodTalk Studio - Design System Tokens
 * Authoritative CSS custom properties conforming to SKILL.md Section 8
 */

:root {
  /* Brand Gradient Tokens (Derived from PodTalk Logo) */
  --color-brand-start: #5C3A82;  /* Deep purple */
  --color-brand-mid:   #A84178;  /* Plum violet */
  --color-brand-end:   #CF4A48;  /* Coral red */

  /* Gradient Definitions */
  --gradient-brand: linear-gradient(135deg, var(--color-brand-start), var(--color-brand-mid), var(--color-brand-end));
  --gradient-brand-horizontal: linear-gradient(90deg, var(--color-brand-start) 0%, var(--color-brand-mid) 50%, var(--color-brand-end) 100%);
  --gradient-brand-subtle: linear-gradient(135deg, rgba(92, 58, 130, 0.06), rgba(168, 65, 120, 0.05), rgba(207, 74, 72, 0.04));
  --gradient-brand-glow: radial-gradient(circle at 50% 0%, rgba(168, 65, 120, 0.14), rgba(92, 58, 130, 0.05) 50%, transparent 80%);

  /* Matched Section Background Gradients (Light-Mode Cinematic Ambient) */
  --gradient-section-hero: radial-gradient(circle at 50% -20%, rgba(168, 65, 120, 0.16) 0%, rgba(92, 58, 130, 0.07) 45%, rgba(250, 251, 253, 0) 75%);
  --gradient-section-experience: radial-gradient(circle at 15% 25%, rgba(92, 58, 130, 0.07) 0%, rgba(168, 65, 120, 0.04) 40%, rgba(250, 251, 253, 0) 70%);
  --gradient-section-highlights: linear-gradient(180deg, #FAFBFD 0%, #F4F6FC 50%, #FAFBFD 100%);
  --gradient-section-packages: radial-gradient(circle at 85% 30%, rgba(207, 74, 72, 0.07) 0%, rgba(168, 65, 120, 0.05) 45%, rgba(250, 251, 253, 0) 75%);
  --gradient-section-pricing: linear-gradient(180deg, rgba(241, 243, 249, 0.7) 0%, rgba(250, 251, 253, 1) 100%);
  --gradient-section-footer: linear-gradient(180deg, #FAFBFD 0%, #F2F4FA 100%);

  /* Neutral Light Surfaces */
  --color-bg:            #FAFBFD;
  --color-surface:       #FFFFFF;
  --color-surface-alt:   #F1F3F9;
  --color-surface-hover: #F8FAFC;
  --color-border:        #E2E8F0;
  --color-border-subtle: #EDF2F7;
  --color-border-brand:  rgba(168, 65, 120, 0.22);

  /* Typography Colors */
  --color-text:         #1A1A2E;
  --color-text-muted:   #64748B;
  --color-text-light:   #94A3B8;
  --color-text-inverse: #FFFFFF;

  /* Status Tokens */
  --color-slot-available: #10B981;
  --color-slot-held:      #6B7280;
  --color-slot-booked:    #EF4444;
  --color-success:        #10B981;
  --color-warning:        #F59E0B;
  --color-danger:         #EF4444;
  --color-info:           #3B82F6;

  /* Header Layout */
  --header-height:          5.5rem;   /* 88px initial spacious height */
  --header-height-scrolled: 4.75rem;  /* 76px compact scrolled height */
  --header-height-sm:       4.5rem;   /* 72px on tablet */
  --header-height-mobile:   4.5rem;   /* 72px on mobile (comfortable, premium height) */
  --header-height-mobile-sm:4.25rem;  /* 68px on small mobile (no longer tiny) */
  --header-bg-idle:         transparent;
  --header-bg-scrolled:     rgba(255, 255, 255, 0.95);
  --header-blur:            18px;

  /* Spacing Scale */
  --space-1: 0.25rem;  /* 4px */
  --space-2: 0.5rem;   /* 8px */
  --space-3: 0.75rem;  /* 12px */
  --space-4: 1rem;     /* 16px */
  --space-5: 1.5rem;   /* 24px */
  --space-6: 2rem;     /* 32px */
  --space-7: 3rem;     /* 48px */
  --space-8: 4rem;     /* 64px */
  --space-9: 6rem;     /* 96px */

  /* Typography Scale (Heading: Epilogue, Body: Golos Text) with Responsive clamp() */
  --font-display: 'Epilogue', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-body:    'Golos Text', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --font-size-xs:  clamp(0.7rem, 0.66rem + 0.18vw, 0.75rem);
  --font-size-sm:  clamp(0.8125rem, 0.76rem + 0.22vw, 0.875rem);
  --font-size-base:clamp(0.925rem, 0.875rem + 0.3vw, 1rem);
  --font-size-lg:  clamp(1.05rem, 0.95rem + 0.4vw, 1.125rem);
  --font-size-xl:  clamp(1.15rem, 1.05rem + 0.5vw, 1.25rem);
  --font-size-2xl: clamp(1.3rem, 1.15rem + 0.75vw, 1.5rem);
  --font-size-3xl: clamp(1.65rem, 1.35rem + 1.2vw, 2rem);
  --font-size-4xl: clamp(2rem, 1.6rem + 1.8vw, 2.5rem);
  --font-size-5xl: clamp(2.35rem, 1.85rem + 2.5vw, 3.5rem);

  --line-height-tight: 1.12;
  --line-height-snug:  1.28;
  --line-height-normal:1.6;
  --line-height-loose: 1.8;

  --font-weight-normal:   400;
  --font-weight-medium:   500;
  --font-weight-semibold: 600;
  --font-weight-bold:     700;
  --font-weight-extrabold:800;

  /* Elevation and Shadows */
  --shadow-xs:   0 1px 2px rgba(26, 26, 46, 0.04);
  --shadow-sm:   0 2px 5px rgba(26, 26, 46, 0.05), 0 1px 2px rgba(26, 26, 46, 0.03);
  --shadow-md:   0 6px 18px rgba(26, 26, 46, 0.06), 0 2px 4px rgba(26, 26, 46, 0.03);
  --shadow-lg:   0 14px 34px rgba(26, 26, 46, 0.08), 0 4px 12px rgba(26, 26, 46, 0.04);
  --shadow-xl:   0 22px 52px rgba(26, 26, 46, 0.11), 0 8px 24px rgba(26, 26, 46, 0.06);
  --shadow-glow: 0 8px 30px rgba(168, 65, 120, 0.28);
  --shadow-nav:  0 4px 20px rgba(26, 26, 46, 0.06);

  /* Border Radii */
  --radius-xs:   4px;
  --radius-sm:   8px;
  --radius-md:   12px;
  --radius-lg:   18px;
  --radius-xl:   28px;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast:   150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 250ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow:   400ms cubic-bezier(0.4, 0, 0.2, 1);

  /* Layout */
  --container-max-width: 1200px;
  --container-narrow:    840px;
}
