/* 
   COPY KRD - Unified Design System
   Goal: Single source of truth for all visual elements.
*/

:root {
    /* Colors */
    --primary: #CC0000;
    --primary-dark: #A00000;
    --primary-light: #FFEBEB;
    
    --text-main: #1E293B; /* slate-800 */
    --text-muted: #64748B; /* slate-500 */
    --bg-main: #FFFFFF;
    --bg-alt: #F8FAFC; /* slate-50 */
    
    --border-color: #E2E8F0; /* slate-200 */
    --white: #FFFFFF;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    
    /* Radius */
    --radius-lg: 1rem;
    --radius-xl: 1.5rem;
    --radius-full: 9999px;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-main);
    background-color: var(--bg-main);
    line-height: 1.6;
}

/* --- Components --- */

/* Unified Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    transition: all 0.3s ease;
    cursor: pointer;
    border-radius: var(--radius-lg);
}

.btn-primary {
    background-color: var(--primary);
    color: var(--white);
    padding: 1rem 2rem;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--border-color);
    color: var(--text-main);
    padding: 1rem 2rem;
}

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
}

/* Unified Cards */
.card {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 2rem;
    transition: all 0.3s ease;
}

.card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

/* Typography Helpers */
.text-primary { color: var(--primary); }
.bg-primary { background-color: var(--primary); }
.bg-primary-light { background-color: var(--primary-light); }

.gradient-text {
    background: linear-gradient(90deg, var(--primary), #ff4d4d);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Sections */
.section-padding {
    padding: 6rem 0;
}

.section-bg-alt {
    background-color: var(--bg-alt);
}

/* Form Elements */
.input-field {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    outline: none;
    transition: border-color 0.3s ease;
}

.input-field:focus {
    border-color: var(--primary);
}
