/**
 * Freedomman Theme - Design Tokens
 * Source of Truth: docs/DESIGN-SYSTEM.md v1.0 (LOCKED)
 *
 * @package Freedomman
 * @version 1.0.0
 */

:root {
	/* --------------------------------------------------------------------------
	 * 1. Foundation Backgrounds (Dark Tech Navy, Never Pure #000)
	 * -------------------------------------------------------------------------- */
	--fm-bg-page: #030812;
	--fm-bg-deep: #02060D;
	--fm-bg-surface: #09111F;
	--fm-bg-surface-raised: #0D1728;
	--fm-bg-interactive: #111C32;

	/* --------------------------------------------------------------------------
	 * 2. Borders & Layering
	 * -------------------------------------------------------------------------- */
	--fm-border-subtle: #1B2940;
	--fm-border-visible: #2B4164;

	/* --------------------------------------------------------------------------
	 * 3. Brand Identity Colors
	 * -------------------------------------------------------------------------- */
	--fm-brand-cyan: #00DDFB;
	--fm-brand-blue: #2788FF;
	--fm-brand-violet: #7357FF;
	--fm-brand-magenta: #D844FF;

	/* Primary Brand Gradient */
	--fm-gradient-primary: linear-gradient(135deg, #D844FF 0%, #725BFF 33%, #2788FF 66%, #00DDFB 100%);

	/* --------------------------------------------------------------------------
	 * 4. Semantic / Status Colors
	 * -------------------------------------------------------------------------- */
	--fm-color-success: #25D695;
	--fm-color-warning: #FFB547;
	--fm-color-error: #FF5D6C;
	--fm-color-info: #36A3FF;

	/* --------------------------------------------------------------------------
	 * 5. Text & Content Colors
	 * -------------------------------------------------------------------------- */
	--fm-text-primary: #F7F9FC;
	--fm-text-secondary: #C7D0DE;
	--fm-text-muted: #8F9BAE;
	--fm-text-disabled: #596579;

	/* --------------------------------------------------------------------------
	 * 6. Typography Foundations (Be Vietnam Pro)
	 * -------------------------------------------------------------------------- */
	--fm-font-primary: 'Be Vietnam Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

	/* Font Weights */
	--fm-weight-regular: 400;
	--fm-weight-medium: 500;
	--fm-weight-semibold: 600;
	--fm-weight-bold: 700;
	--fm-weight-extrabold: 800;

	/* Fluid Type Scale (Desktop to Mobile responsive range) */
	--fm-text-hero: clamp(2.25rem, 5vw + 1rem, 4rem);
	--fm-text-h1: clamp(2rem, 3.5vw + 1rem, 3rem);
	--fm-text-h2: clamp(1.625rem, 2vw + 1rem, 2.25rem);
	--fm-text-h3: clamp(1.25rem, 1.5vw + 0.8rem, 1.5rem);
	--fm-text-h4: 1.25rem;
	--fm-text-body-lg: 1.125rem;
	--fm-text-body: 1rem;
	--fm-text-body-sm: 0.875rem;
	--fm-text-label: 0.875rem;
	--fm-text-caption: 0.75rem;

	/* Line Heights */
	--fm-leading-hero: 1.08;
	--fm-leading-h1: 1.1;
	--fm-leading-h2: 1.2;
	--fm-leading-h3: 1.3;
	--fm-leading-h4: 1.35;
	--fm-leading-body: 1.65;
	--fm-leading-tight: 1.4;

	/* --------------------------------------------------------------------------
	 * 7. Spacing System (Base Unit: 4px)
	 * -------------------------------------------------------------------------- */
	--fm-space-1: 4px;
	--fm-space-2: 8px;
	--fm-space-3: 12px;
	--fm-space-4: 16px;
	--fm-space-5: 20px;
	--fm-space-6: 24px;
	--fm-space-8: 32px;
	--fm-space-10: 40px;
	--fm-space-12: 48px;
	--fm-space-16: 64px;
	--fm-space-20: 80px;
	--fm-space-24: 96px;
	--fm-space-30: 120px;

	/* Responsive Section Spacing: Desktop 72-96px, Tablet 56-72px, Mobile 48-64px */
	--fm-section-spacing: clamp(48px, 6vw, 96px);

	/* --------------------------------------------------------------------------
	 * 8. Layout & Container
	 * -------------------------------------------------------------------------- */
	--fm-container-max: 1440px;
	/* Responsive Gutter: Mobile 16-20px, Tablet 24px, Desktop 32-40px */
	--fm-gutter: clamp(16px, 3vw, 40px);

	/* --------------------------------------------------------------------------
	 * 9. Border Radius Tokens
	 * -------------------------------------------------------------------------- */
	--fm-radius-xs: 6px;
	--fm-radius-sm: 8px;
	--fm-radius-md: 12px;
	--fm-radius-lg: 16px;
	--fm-radius-xl: 20px;
	--fm-radius-pill: 999px;

	/* --------------------------------------------------------------------------
	 * 10. Shadows, Controlled Glow & Focus
	 * -------------------------------------------------------------------------- */
	--fm-shadow-surface: 0 4px 20px rgba(0, 0, 0, 0.5);
	--fm-shadow-button: 0 4px 14px rgba(0, 0, 0, 0.4);
	--fm-glow-interactive: 0 0 15px rgba(0, 221, 251, 0.15);
	--fm-glow-emphasis: 0 0 30px rgba(0, 221, 251, 0.3), 0 0 60px rgba(115, 87, 255, 0.2);

	--fm-focus-ring: 0 0 0 2px var(--fm-brand-cyan);
	--fm-focus-offset: 2px;
	--fm-focus-glow: 0 0 0 3px rgba(0, 221, 251, 0.2);

	/* --------------------------------------------------------------------------
	 * 11. Transitions & Motion
	 * -------------------------------------------------------------------------- */
	--fm-transition-micro: 180ms ease-out;
	--fm-transition-card: 220ms cubic-bezier(0.16, 1, 0.3, 1);
	--fm-transition-ui: 300ms ease;

	/* --------------------------------------------------------------------------
	 * 12. Accessibility Touch Target (Hit Area Minimum)
	 * -------------------------------------------------------------------------- */
	--fm-touch-target-min: 44px;
}
