/* 
   Softagram Brand Book Styles
   Harmonized Design System (Light & Dark Themes)
*/

:root {
    /* Brand Core Colors (Shared) */
    --brand-primary: #3E92CC;
    /* Elegant blue */
    --brand-primary-hover: #2B6EB3;
    --brand-secondary: #1A2C42;
    /* Muted Navy */
    --brand-accent-navy: #0A2463;
    /* Deep Navy */
    --brand-accent-mint: #EAF2EF;
    /* Minty White */
}

/* Theme: Light (Business / General) */
[data-theme="light"],
.theme-light {
    --bg-primary: #ffffff;
    --bg-secondary: #F9F7F3;
    /* Pale sand */
    --bg-tertiary: #F0EFEA;
    /* Slightly darker sand */

    --text-primary: #212529;
    --text-secondary: rgba(33, 37, 41, 0.75);
    --text-muted: rgba(33, 37, 41, 0.5);

    --border-color: rgba(0, 0, 0, 0.1);
    --glow-color: rgba(62, 146, 204, 0.15);
}

/* Theme: Dark (Leaders / Developers) */
[data-theme="dark"],
.theme-dark {
    --bg-primary: #050505;
    --bg-secondary: #111111;
    --bg-tertiary: #1a1a1a;

    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.75);
    --text-muted: rgba(255, 255, 255, 0.5);

    --border-color: rgba(255, 255, 255, 0.1);
    --glow-color: rgba(62, 146, 204, 0.2);
}

/* Brand Book Specific Overrides */
body {
    font-family: 'Inter', sans-serif;
    background-color: #f4f5f7;
    color: #333;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    letter-spacing: -0.02em;
}

.brand-header {
    background-color: var(--brand-secondary);
    color: white;
    padding: 4rem 0;
    border-bottom: 5px solid var(--brand-primary);
}

/* Theme Preview Boxes */
.theme-preview {
    padding: 3rem;
    border-radius: 12px;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease;
}

.theme-preview:hover {
    transform: translateY(-5px);
}

/* Color Swatches */
.color-swatch {
    width: 100%;
    height: 100px;
    border-radius: 8px;
    margin-bottom: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

/* Typography Preview */
.font-preview {
    font-family: 'Inter', sans-serif;
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    background: white;
}

/* Button Component from actual site */
.btn-primary-brand {
    background-color: var(--brand-primary);
    border-color: var(--brand-primary);
    color: white;
    transition: all 0.3s ease;
    font-weight: 600;
    padding: 0.75rem 2rem;
    border-radius: 50rem;
}

.btn-primary-brand:hover {
    background-color: var(--brand-primary-hover);
    border-color: var(--brand-primary-hover);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(62, 146, 204, 0.2);
}

.btn-outline-brand-dark {
    border: 2px solid var(--text-primary);
    color: var(--text-primary);
    background: transparent;
    padding: 0.75rem 2rem;
    border-radius: 50rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

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