/* ========================================
   CSS Variables - Premium Design Tokens
   고급 청소업체 랜딩페이지 테마
   ======================================== */

:root {
    /* ===== Colors - Premium Palette ===== */
    /* Primary Palette - 더 깊고 고급스러운 그린 */
    --color-primary: #2d4a35;
    --color-primary-dark: #1e3325;
    --color-primary-light: #3d5a45;
    --color-primary-lighter: #4d6a55;
    --color-primary-pale: rgba(45, 74, 53, 0.12);
    --color-primary-gradient: linear-gradient(135deg, #2d4a35 0%, #3d5a45 50%, #4d6a55 100%);
    --color-primary-gradient-dark: linear-gradient(135deg, #1e3325 0%, #2d4a35 100%);
    
    /* Secondary Palette - 따뜻한 베이지/크림 */
    --color-secondary: #faf8f5;
    --color-secondary-dark: #f0ebe5;
    --color-accent: #d4c5b5;
    --color-accent-light: #e8ddd0;
    
    /* Neutral Colors */
    --color-white: #ffffff;
    --color-black: #000000;
    --color-gray-50: #fafafa;
    --color-gray-100: #f5f5f5;
    --color-gray-200: #eeeeee;
    --color-gray-300: #e0e0e0;
    --color-gray-400: #bdbdbd;
    --color-gray-500: #9e9e9e;
    --color-gray-600: #757575;
    --color-gray-700: #616161;
    --color-gray-800: #424242;
    --color-gray-900: #212121;
    
    /* Text Colors - 가독성 강화 */
    --color-text: #1a1a1a;
    --color-text-light: #4a4a4a;
    --color-text-muted: #6a6a6a;
    --color-text-inverse: #ffffff;
    --color-text-on-primary: #ffffff;
    --color-text-on-dark: rgba(255, 255, 255, 0.95);
    --color-text-on-dark-muted: rgba(255, 255, 255, 0.75);
    
    /* Semantic Colors */
    --color-success: #28a745;
    --color-success-light: #d4edda;
    --color-warning: #f5a623;
    --color-warning-light: #fff3cd;
    --color-danger: #e53935;
    --color-danger-light: #f8d7da;
    --color-info: #17a2b8;
    
    /* ===== Typography - 가독성 최적화 ===== */
    --font-family: 'Noto Sans KR', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    
    /* Font Sizes - 조금 더 큰 사이즈 */
    --font-size-xs: clamp(0.8rem, 0.75rem + 0.25vw, 0.85rem);
    --font-size-sm: clamp(0.9rem, 0.85rem + 0.25vw, 0.95rem);
    --font-size-base: clamp(1rem, 0.95rem + 0.25vw, 1.0625rem);
    --font-size-md: clamp(1.0625rem, 1rem + 0.3125vw, 1.125rem);
    --font-size-lg: clamp(1.125rem, 1.0625rem + 0.3125vw, 1.25rem);
    --font-size-xl: clamp(1.25rem, 1.125rem + 0.625vw, 1.5rem);
    --font-size-2xl: clamp(1.5rem, 1.25rem + 1.25vw, 2rem);
    --font-size-3xl: clamp(1.875rem, 1.5rem + 1.875vw, 2.75rem);
    --font-size-4xl: clamp(2.25rem, 1.875rem + 1.875vw, 3.25rem);
    --font-size-5xl: clamp(2.75rem, 2.25rem + 2.5vw, 4.5rem);
    
    /* Font Weights */
    --font-weight-light: 300;
    --font-weight-regular: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
    --font-weight-extrabold: 800;
    --font-weight-black: 900;
    
    /* Line Heights - 가독성 향상 */
    --line-height-tight: 1.25;
    --line-height-snug: 1.4;
    --line-height-normal: 1.65;
    --line-height-relaxed: 1.85;
    --line-height-loose: 2;
    
    /* Letter Spacing */
    --letter-spacing-tight: -0.02em;
    --letter-spacing-normal: 0;
    --letter-spacing-wide: 0.025em;
    --letter-spacing-wider: 0.05em;
    --letter-spacing-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-7: 1.75rem;
    --space-8: 2rem;
    --space-10: 2.5rem;
    --space-12: 3rem;
    --space-14: 3.5rem;
    --space-16: 4rem;
    --space-20: 5rem;
    --space-24: 6rem;
    --space-32: 8rem;
    
    /* Section Padding */
    --section-padding-y: clamp(70px, 10vw, 130px);
    --section-padding-x: clamp(20px, 5vw, 32px);
    
    /* ===== Layout ===== */
    --container-max: 1200px;
    --container-narrow: 800px;
    --container-wide: 1400px;
    
    /* ===== Borders - 부드러운 곡선 ===== */
    --radius-xs: 6px;
    --radius-sm: 10px;
    --radius-md: 14px;
    --radius-lg: 18px;
    --radius-xl: 24px;
    --radius-2xl: 32px;
    --radius-full: 9999px;
    
    --border-width: 1px;
    --border-width-2: 2px;
    --border-width-3: 3px;
    
    /* ===== Premium Shadows - 깊이감 ===== */
    --shadow-xs: 0 1px 3px rgba(0, 0, 0, 0.04);
    --shadow-sm: 0 2px 6px rgba(0, 0, 0, 0.05), 0 1px 2px rgba(0, 0, 0, 0.03);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.07), 0 2px 4px rgba(0, 0, 0, 0.04);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.09), 0 4px 8px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 16px 40px rgba(0, 0, 0, 0.1), 0 6px 12px rgba(0, 0, 0, 0.06);
    --shadow-2xl: 0 24px 56px rgba(0, 0, 0, 0.12), 0 8px 16px rgba(0, 0, 0, 0.07);
    --shadow-3xl: 0 32px 72px rgba(0, 0, 0, 0.15), 0 12px 24px rgba(0, 0, 0, 0.08);
    --shadow-inner: inset 0 2px 6px rgba(0, 0, 0, 0.06);
    
    /* Glow Shadows */
    --shadow-glow: 0 0 30px rgba(45, 74, 53, 0.25);
    --shadow-glow-lg: 0 0 50px rgba(45, 74, 53, 0.35);
    --shadow-glow-primary: 0 8px 32px rgba(45, 74, 53, 0.3);
    
    /* Card Shadows */
    --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.06), 0 0 1px rgba(0, 0, 0, 0.1);
    --shadow-card-hover: 0 12px 40px rgba(0, 0, 0, 0.1), 0 4px 12px rgba(0, 0, 0, 0.06);
    
    /* ===== Transitions - 부드러운 모션 ===== */
    --transition-fast: 200ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 350ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 500ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slower: 700ms cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Premium Easing */
    --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);
    --ease-elastic: cubic-bezier(0.68, -0.6, 0.32, 1.6);
    --ease-smooth: cubic-bezier(0.25, 0.1, 0.25, 1);
    --ease-spring: cubic-bezier(0.5, 1.5, 0.5, 1);
    
    /* ===== Z-Index ===== */
    --z-dropdown: 100;
    --z-sticky: 200;
    --z-fixed: 300;
    --z-modal-backdrop: 400;
    --z-modal: 500;
    --z-popover: 600;
    --z-tooltip: 700;
    --z-toast: 800;
    --z-max: 9999;
    
    /* ===== Overlay ===== */
    --overlay-light: rgba(255, 255, 255, 0.85);
    --overlay-dark: rgba(0, 0, 0, 0.5);
    --overlay-darker: rgba(0, 0, 0, 0.7);
    
    /* ===== Glassmorphism - 프리미엄 효과 ===== */
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-bg-dark: rgba(45, 74, 53, 0.85);
    --glass-blur: blur(16px);
    --glass-blur-lg: blur(24px);
    --glass-border: rgba(255, 255, 255, 0.25);
    --glass-border-dark: rgba(255, 255, 255, 0.1);
    --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    
    /* ===== Gradient Backgrounds ===== */
    --gradient-hero: linear-gradient(180deg, #faf8f5 0%, #ffffff 50%, #f5f0eb 100%);
    --gradient-section: linear-gradient(180deg, #ffffff 0%, #faf8f5 100%);
    --gradient-dark: linear-gradient(180deg, #2d4a35 0%, #1e3325 100%);
    --gradient-mesh: radial-gradient(ellipse at 20% 20%, rgba(45, 74, 53, 0.05) 0%, transparent 50%),
                     radial-gradient(ellipse at 80% 80%, rgba(45, 74, 53, 0.08) 0%, transparent 50%);
    --gradient-shine: linear-gradient(135deg, transparent 0%, rgba(255, 255, 255, 0.1) 50%, transparent 100%);
}
