/* 
    Core Design System - JurisAI (SaaS Legal Platform)
    CodeCanyon Standard Theme (Traditional Premium)
    ==================================================
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Playfair+Display:wght@500;600;700;800&display=swap');

:root {
    /* Color Palette - Traditional Law Firm */
    --brand-primary: #0a192f; /* Very Deep Navy */
    --brand-primary-light: #112240;
    --brand-accent: #2563eb; /* Vibrant Corporate Blue */
    --brand-accent-hover: #1d4ed8;
    --brand-violet: #1d3557; /* Muted Navy for gradients */
    --brand-teal: #457b9d;
    
    /* Backgrounds */
    --bg-main: #f8f9fa;
    --bg-white: #ffffff;
    --bg-slate: #f0f2f5;
    
    /* Text */
    --text-heading: #0a192f;
    --text-body: #4a5568;
    --text-muted: #718096;
    
    /* UI Elements */
    --border-color: #e2e8f0;
    --radius-md: 4px; /* Sharper corners for a more serious tone */
    --radius-lg: 8px;
    --shadow-soft: 0 4px 6px rgba(0, 0, 0, 0.05);
    --shadow-hover: 0 10px 15px rgba(0, 0, 0, 0.1);
    --shadow-heavy: 0 20px 25px rgba(0, 0, 0, 0.15);
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-main);
    color: var(--text-body);
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6, .brand-font {
    font-family: 'Playfair Display', serif;
    color: var(--text-heading);
    font-weight: 700;
}

/* =====================================
   Typography Utilities
   ===================================== */
.text-brand-primary { color: var(--brand-primary) !important; }
.text-brand-accent { color: var(--brand-accent) !important; }
.text-gradient {
    color: var(--brand-accent) !important; /* Solid blue for traditional feel */
}

/* =====================================
   Components
   ===================================== */
.btn-gradient {
    background-color: var(--brand-accent);
    color: #fff !important;
    border: none;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-md);
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}
.btn-gradient:hover {
    background-color: var(--brand-accent-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.btn-outline-brand {
    border: 2px solid var(--brand-accent);
    color: var(--brand-accent);
    font-weight: 600;
    border-radius: var(--radius-md);
    padding: 0.65rem 1.5rem;
    transition: all 0.3s ease;
    background: transparent;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}
.btn-outline-brand:hover {
    background-color: var(--brand-accent);
    color: #fff;
}

.premium-card {
    background: var(--bg-white);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-soft);
    transition: all 0.3s ease;
}
.premium-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: var(--brand-accent);
}

.hover-lift { 
    transition: transform 0.3s ease, box-shadow 0.3s ease; 
}
.hover-lift:hover { 
    transform: translateY(-5px); 
}

/* =====================================
   Section Styling
   ===================================== */
.section-title {
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 40px;
    font-weight: 700;
}
.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--brand-accent);
}

.section-title.text-start::after {
    left: 0;
    transform: none;
}

.bg-primary-dark {
    background-color: var(--brand-primary);
}

/* =====================================
   Hero Section
   ===================================== */
.hero-traditional {
    position: relative;
    background-image: url('../images/hero_bg.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 120px 0;
    color: #fff;
}
.hero-traditional::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(10, 25, 47, 0.85); /* Dark Navy overlay */
    z-index: 1;
}
.hero-content {
    position: relative;
    z-index: 2;
}

/* =====================================
   Icon Containers
   ===================================== */
.icon-box-classic {
    width: 70px;
    height: 70px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: rgba(37, 99, 235, 0.1); /* Blue tint */
    color: var(--brand-accent);
    font-size: 2rem;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(37, 99, 235, 0.3);
    transition: all 0.3s ease;
}
.premium-card:hover .icon-box-classic {
    background-color: var(--brand-accent);
    color: #fff;
}

/* =====================================
   Footer
   ===================================== */
.footer {
    background-color: #050d1a;
    color: rgba(255, 255, 255, 0.7);
    padding: 4rem 0 0 0;
}
.footer-title {
    color: #fff;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 10px;
}
.footer-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 30px;
    height: 2px;
    background-color: var(--brand-accent);
}
.footer-link {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: all 0.2s;
    display: inline-block;
    margin-bottom: 0.5rem;
}
.footer-link:hover {
    color: var(--brand-accent);
    transform: translateX(5px);
}
.footer-disclaimer {
    border-top: 1px solid rgba(255,255,255,0.05);
    padding: 1.5rem 0;
    margin-top: 3rem;
    font-size: 0.875rem;
}

/* Sidebar Styles */
.user-sidebar-link, .sidebar-link {
    display: block;
    padding: 0.75rem 1rem;
    color: inherit;
    text-decoration: none;
    border-radius: var(--radius-md);
    transition: all 0.2s ease;
    font-weight: 500;
}
.user-sidebar-link:hover, .sidebar-link:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: #fff !important;
}
.user-sidebar-link.active, .sidebar-link.active {
    background-color: var(--brand-accent);
    color: #fff !important;
}

/* Custom Footer Newsletter Styles */
.btn-brand-primary {
    background-color: var(--brand-accent) !important;
    color: #ffffff !important;
    border: none !important;
    transition: all 0.3s ease;
}
.btn-brand-primary:hover {
    background-color: var(--brand-accent-hover) !important;
    color: #ffffff !important;
}

.footer-newsletter-input {
    background-color: rgba(255, 255, 255, 0.08) !important;
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
}
.footer-newsletter-input::placeholder {
    color: rgba(255, 255, 255, 0.5) !important;
}
.footer-newsletter-input:focus {
    background-color: rgba(255, 255, 255, 0.12) !important;
    border-color: var(--brand-accent) !important;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.25) !important;
    color: #ffffff !important;
}



