/* ================================================
   VOICE NOTE REVIEWS - BRAND STYLE GUIDE
   Version 1.0 | November 2025
   Voice of Customer Design System
   ================================================ */

/* ================================================
   CSS VARIABLES - Brand Colors
   ================================================ */
:root {
    /* Voice of Customer Palette */
    --voc-listen: #C8B8E8;      /* Lavender - Active listening */
    --voc-empathy: #F4A6C8;     /* Pink - Emotional connection */
    --voc-insight: #FFE66D;     /* Yellow - Key findings */
    --voc-action: #A8E6CF;      /* Mint - Positive outcomes */
    
    /* Brand Primary Colors */
    --brand-primary: #C8B8E8;   /* Primary purple/lavender */
    --brand-secondary: #F4A6C8; /* Secondary pink */
    --brand-accent: #FFE66D;    /* Accent yellow */
    --brand-success: #A8E6CF;   /* Success mint */
    
    /* Semantic Colors */
    --color-success: #A8E6CF;
    --color-warning: #FFE66D;
    --color-error: #F4A6C8;
    --color-info: #C8B8E8;
    
    /* Neutral Colors */
    --neutral-white: #FFFFFF;
    --neutral-light: #F8F9FA;
    --neutral-50: #F1F3F5;
    --neutral-100: #E9ECEF;
    --neutral-200: #DEE2E6;
    --neutral-300: #CED4DA;
    --neutral-400: #ADB5BD;
    --neutral-500: #6C757D;
    --neutral-600: #495057;
    --neutral-700: #343A40;
    --neutral-800: #212529;
    --neutral-900: #000000;
    
    /* Text Colors */
    --text-primary: #2D2D2D;
    --text-secondary: #6C757D;
    --text-tertiary: #ADB5BD;
    --text-on-dark: #FFFFFF;
    --text-on-light: #2D2D2D;
    
    /* Background Colors */
    --bg-primary: #FFFFFF;
    --bg-secondary: #F8F9FA;
    --bg-tertiary: #F1F3F5;
    --bg-gradient-purple: linear-gradient(135deg, #C8B8E8 0%, #F4A6C8 100%);
    --bg-gradient-mint: linear-gradient(135deg, #A8E6CF 0%, #C8B8E8 100%);
    --bg-gradient-light: linear-gradient(135deg, #E8D5F2 0%, #FCE4EC 100%);
    
    /* Border Colors */
    --border-light: #E9ECEF;
    --border-medium: #DEE2E6;
    --border-dark: #CED4DA;
    
    /* Shadow Colors */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.07);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.15);
    --shadow-purple: 0 4px 12px rgba(200, 184, 232, 0.3);
    --shadow-pink: 0 4px 12px rgba(244, 166, 200, 0.3);
    
    /* Typography */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica', 'Arial', sans-serif;
    --font-size-xs: 0.75rem;    /* 12px */
    --font-size-sm: 0.875rem;   /* 14px */
    --font-size-base: 1rem;     /* 16px */
    --font-size-lg: 1.125rem;   /* 18px */
    --font-size-xl: 1.25rem;    /* 20px */
    --font-size-2xl: 1.5rem;    /* 24px */
    --font-size-3xl: 1.875rem;  /* 30px */
    --font-size-4xl: 2.25rem;   /* 36px */
    
    /* Font Weights */
    --font-weight-normal: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
    
    /* Line Heights */
    --line-height-tight: 1.25;
    --line-height-normal: 1.5;
    --line-height-relaxed: 1.75;
    
    /* Spacing Scale (4px base) */
    --space-1: 0.25rem;   /* 4px */
    --space-2: 0.5rem;    /* 8px */
    --space-3: 0.75rem;   /* 12px */
    --space-4: 1rem;      /* 16px */
    --space-5: 1.25rem;   /* 20px */
    --space-6: 1.5rem;    /* 24px */
    --space-8: 2rem;      /* 32px */
    --space-10: 2.5rem;   /* 40px */
    --space-12: 3rem;     /* 48px */
    --space-16: 4rem;     /* 64px */
    --space-20: 5rem;     /* 80px */
    
    /* Border Radius */
    --radius-sm: 0.25rem;  /* 4px */
    --radius-md: 0.5rem;   /* 8px */
    --radius-lg: 0.75rem;  /* 12px */
    --radius-xl: 1rem;     /* 16px */
    --radius-full: 9999px; /* Fully rounded */
    
    /* Transitions */
    --transition-fast: 150ms ease-in-out;
    --transition-base: 200ms ease-in-out;
    --transition-slow: 300ms ease-in-out;
}

/* ================================================
   GLOBAL STYLES
   ================================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-family);
    font-size: var(--font-size-base);
    line-height: var(--line-height-normal);
    color: var(--text-primary);
    background-color: var(--bg-secondary);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ================================================
   LOGO STYLES
   ================================================ */
.brand-logo {
    display: inline-flex;
    align-items: center;
    gap: var(--space-3);
}

.brand-logo svg {
    height: 40px;
    width: auto;
}

.brand-logo-text {
    font-size: var(--font-size-xl);
    font-weight: var(--font-weight-bold);
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

.brand-logo-icon-only svg {
    height: 48px;
    width: 48px;
}

/* ================================================
   TYPOGRAPHY
   ================================================ */
h1, h2, h3, h4, h5, h6 {
    font-weight: var(--font-weight-bold);
    line-height: var(--line-height-tight);
    letter-spacing: -0.02em;
    color: var(--text-primary);
    margin-bottom: var(--space-4);
}

h1 { font-size: var(--font-size-4xl); }
h2 { font-size: var(--font-size-3xl); }
h3 { font-size: var(--font-size-2xl); }
h4 { font-size: var(--font-size-xl); }
h5 { font-size: var(--font-size-lg); }
h6 { font-size: var(--font-size-base); }

p {
    margin-bottom: var(--space-4);
    color: var(--text-secondary);
}

a {
    color: var(--brand-primary);
    text-decoration: none;
    transition: color var(--transition-base);
}

a:hover {
    color: var(--brand-secondary);
}

/* ================================================
   BUTTONS
   ================================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    padding: var(--space-3) var(--space-6);
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-medium);
    line-height: 1;
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-base);
    text-decoration: none;
    white-space: nowrap;
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Primary Button */
.btn-primary {
    background: var(--bg-gradient-purple);
    color: var(--text-on-dark);
    box-shadow: var(--shadow-purple);
}

.btn-primary:hover:not(:disabled) {
    transform: translateY(-1px);
    box-shadow: var(--shadow-lg);
}

.btn-primary:active:not(:disabled) {
    transform: translateY(0);
}

/* Secondary Button */
.btn-secondary {
    background-color: var(--brand-secondary);
    color: var(--text-on-dark);
    box-shadow: var(--shadow-pink);
}

.btn-secondary:hover:not(:disabled) {
    background-color: #F092B8;
    transform: translateY(-1px);
}

/* Success Button */
.btn-success {
    background-color: var(--brand-success);
    color: var(--text-primary);
}

.btn-success:hover:not(:disabled) {
    background-color: #8FD9BE;
    transform: translateY(-1px);
}

/* Warning Button */
.btn-warning {
    background-color: var(--brand-accent);
    color: var(--text-primary);
}

.btn-warning:hover:not(:disabled) {
    background-color: #FFD93D;
}

/* Outline Button */
.btn-outline {
    background-color: transparent;
    border: 2px solid var(--brand-primary);
    color: var(--brand-primary);
}

.btn-outline:hover:not(:disabled) {
    background-color: var(--brand-primary);
    color: var(--text-on-dark);
}

/* Ghost Button */
.btn-ghost {
    background-color: transparent;
    color: var(--brand-primary);
}

.btn-ghost:hover:not(:disabled) {
    background-color: var(--neutral-50);
}

/* Button Sizes */
.btn-sm {
    padding: var(--space-2) var(--space-4);
    font-size: var(--font-size-sm);
}

.btn-lg {
    padding: var(--space-4) var(--space-8);
    font-size: var(--font-size-lg);
}

/* ================================================
   CARDS
   ================================================ */
.card {
    background-color: var(--bg-primary);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: var(--space-6);
    box-shadow: var(--shadow-sm);
    transition: box-shadow var(--transition-base);
}

.card:hover {
    box-shadow: var(--shadow-md);
}

.card-header {
    margin-bottom: var(--space-4);
    padding-bottom: var(--space-4);
    border-bottom: 1px solid var(--border-light);
}

.card-title {
    font-size: var(--font-size-xl);
    font-weight: var(--font-weight-semibold);
    color: var(--text-primary);
    margin: 0;
}

.card-body {
    color: var(--text-secondary);
}

/* ================================================
   BADGES
   ================================================ */
.badge {
    display: inline-flex;
    align-items: center;
    padding: var(--space-1) var(--space-3);
    font-size: var(--font-size-xs);
    font-weight: var(--font-weight-medium);
    border-radius: var(--radius-full);
    text-transform: uppercase;
    letter-spacing: 0.025em;
}

.badge-listen {
    background-color: var(--voc-listen);
    color: var(--text-primary);
}

.badge-empathy {
    background-color: var(--voc-empathy);
    color: var(--text-primary);
}

.badge-insight {
    background-color: var(--voc-insight);
    color: var(--text-primary);
}

.badge-action {
    background-color: var(--voc-action);
    color: var(--text-primary);
}

/* ================================================
   FORMS
   ================================================ */
.form-group {
    margin-bottom: var(--space-4);
}

.form-label {
    display: block;
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-medium);
    color: var(--text-primary);
    margin-bottom: var(--space-2);
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: var(--space-3) var(--space-4);
    font-size: var(--font-size-base);
    font-family: var(--font-family);
    color: var(--text-primary);
    background-color: var(--bg-primary);
    border: 1px solid var(--border-medium);
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--brand-primary);
    box-shadow: 0 0 0 3px rgba(200, 184, 232, 0.2);
}

.form-textarea {
    resize: vertical;
    min-height: 100px;
}

/* ================================================
   UTILITY CLASSES
   ================================================ */

/* Text Colors */
.text-primary { color: var(--text-primary); }
.text-secondary { color: var(--text-secondary); }
.text-tertiary { color: var(--text-tertiary); }
.text-listen { color: var(--voc-listen); }
.text-empathy { color: var(--voc-empathy); }
.text-insight { color: var(--voc-insight); }
.text-action { color: var(--voc-action); }

/* Background Colors */
.bg-listen { background-color: var(--voc-listen); }
.bg-empathy { background-color: var(--voc-empathy); }
.bg-insight { background-color: var(--voc-insight); }
.bg-action { background-color: var(--voc-action); }
.bg-gradient-purple { background: var(--bg-gradient-purple); }
.bg-gradient-mint { background: var(--bg-gradient-mint); }

/* Spacing */
.mt-4 { margin-top: var(--space-4); }
.mb-4 { margin-bottom: var(--space-4); }
.ml-4 { margin-left: var(--space-4); }
.mr-4 { margin-right: var(--space-4); }
.p-4 { padding: var(--space-4); }
.pt-4 { padding-top: var(--space-4); }
.pb-4 { padding-bottom: var(--space-4); }

/* Display */
.flex { display: flex; }
.inline-flex { display: inline-flex; }
.grid { display: grid; }
.hidden { display: none; }

/* Flex Utilities */
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-4 { gap: var(--space-4); }

/* Border Radius */
.rounded-sm { border-radius: var(--radius-sm); }
.rounded-md { border-radius: var(--radius-md); }
.rounded-lg { border-radius: var(--radius-lg); }
.rounded-xl { border-radius: var(--radius-xl); }
.rounded-full { border-radius: var(--radius-full); }

/* Box Shadow */
.shadow-sm { box-shadow: var(--shadow-sm); }
.shadow-md { box-shadow: var(--shadow-md); }
.shadow-lg { box-shadow: var(--shadow-lg); }
.shadow-xl { box-shadow: var(--shadow-xl); }

/* Font Weight */
.font-normal { font-weight: var(--font-weight-normal); }
.font-medium { font-weight: var(--font-weight-medium); }
.font-semibold { font-weight: var(--font-weight-semibold); }
.font-bold { font-weight: var(--font-weight-bold); }

/* Text Alignment */
.text-left { text-align: left; }
.text-center { text-align: center; }
.text-right { text-align: right; }
