/* =====================================================
   Opbeats Design System - Style Guide CSS
   Based on COMPREHENSIVE-STYLE-GUIDE.html
   ===================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Roboto:wght@300;400;500;700&display=swap');

:root {
    /* Primary System Accent (Slate Grey) */
    --primary: #758489;
    --primary-dark: #5a6a6f;
    --primary-light: #8f9da3;
    --primary-lighter: #e8ebed;
    --primary-lightest: #f4f5f6;
    
    /* Accent Colors */
    --accent: #f4c03c;
    --accent-dark: #d4a034;
    --accent-light: #f8d066;
    
    /* Semantic Colors */
    --success: #10b981;
    --success-light: #d1fae5;
    --warning: #f59e0b;
    --warning-light: #fef3c7;
    --error: #ef4444;
    --error-light: #fee2e2;
    --info: #3b82f6;
    --info-light: #dbeafe;
    
    /* Semantic Surfaces (Material 3 + Opbeats) */
    --surface-base: #fafafa;
    --surface-raised: #ffffff;
    --surface-card: #f1f3f4;
    --surface-overlay: #ffffff;
    --surface-glass: rgba(255, 255, 255, 0.8);
    --surface-glass-dark: rgba(31, 41, 55, 0.8);
    
    /* Tonal Surfaces (Google Material 3) */
    --tonal-primary: #d2e3fc;
    --tonal-success: #d1fae5;
    --tonal-warning: #fef3c7;
    --tonal-error: #fee2e2;
    
    /* Neutral System */
    --neutral-50: #fafafa;
    --neutral-100: #f5f5f5;
    --neutral-200: #e5e7eb;
    --neutral-300: #d1d5db;
    --neutral-400: #9ca3af;
    --neutral-500: #6b7280;
    --neutral-600: #4b5563;
    --neutral-700: #374151;
    --neutral-800: #1f2937;
    --neutral-900: #111827;
    
    /* Text Hierarchy */
    --text-primary: #202124;
    --text-secondary: #5f6368;
    --text-tertiary: #6b7280;
    --text-inverse: #ffffff;
    
    /* Borders & Shadows */
    --border: rgba(0, 0, 0, 0.08);
    --shadow: rgba(0, 0, 0, 0.15);
    --shadow-xs: 0 1px 1px 0 rgba(0, 0, 0, 0.02);
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.04);
    --shadow-md: 0 2px 4px 0 rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 4px 8px 0 rgba(0, 0, 0, 0.08);
    --shadow-focus: 0 0 0 3px rgba(117, 132, 137, 0.1);
    
    /* Border Radius (Material 3 + Opbeats) */
    --radius-sm: 4px;
    --radius-md: 6px;
    --radius-lg: 8px;
    --radius-xl: 12px;
    --radius-2xl: 16px;
    --radius-material: 24px;
    --radius-google: 28px;
    --radius-full: 9999px;
    
    /* Spacing */
    --spacing-unit: 8px;
    --spacing-multiplier: 1.0;
    
    /* Motion */
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-medium: 200ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 300ms cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Inter", "Roboto", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: var(--surface-base);
    color: var(--text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Button Styles */
.btn {
    padding: 12px 24px;
    border-radius: var(--radius-md);
    font-size: 14px;
    font-weight: 500;
    border: none;
    cursor: pointer;
    transition: all var(--transition-medium);
    font-family: inherit;
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
}

.btn-filled {
    background: var(--primary);
    color: var(--text-inverse);
}

.btn-filled:hover {
    background: var(--primary-dark);
    box-shadow: var(--shadow-md);
}

.btn-tonal {
    background: var(--tonal-primary);
    color: var(--primary-dark);
}

.btn-tonal:hover {
    background: var(--primary-lighter);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 1px solid var(--primary);
}

.btn-outline:hover {
    background: var(--primary-lightest);
}

.btn-text {
    background: transparent;
    color: var(--primary);
}

.btn-text:hover {
    background: var(--primary-lightest);
}

/* Card Styles */
.card {
    background: var(--surface-raised);
    border: 1px solid var(--neutral-200);
    border-radius: var(--radius-xl);
    padding: 24px;
    transition: all var(--transition-medium);
}

.card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.card-tonal {
    background: var(--tonal-primary);
    border-color: transparent;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Responsive */
@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }
}

