/* 
 * School of Legal Education (SOLE) - Master Design Tokens & Custom CSS
 * Standards: AGENTS.md
 */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800&family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&family=Playfair+Display:ital,wght@0,600;0,700;1,400&display=swap');

:root {
    --color-navy: #14335E;
    --color-navy-dark: #0A1E38;
    --color-navy-light: #1E467B;
    --color-gold: #D97706;
    --color-gold-light: #F59E0B;
    --color-gold-soft: #FEF3C7;
    --color-bg: #FAFBFC;
    --color-card: #FFFFFF;
    --color-text: #1F2937;
    --color-muted: #6B7280;
    --color-border: #E5E7EB;
    
    --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-heading: 'Outfit', 'Playfair Display', Georgia, serif;
}

body {
    font-family: var(--font-sans);
    background-color: var(--color-bg);
    color: var(--color-text);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6, .font-heading {
    font-family: var(--font-heading);
}

/* Rounded Border Radius Rules - Strict enforcement (16-24px cards, pill buttons) */
.rounded-sole-card {
    border-radius: 1.25rem; /* 20px */
}

.rounded-sole-lg {
    border-radius: 1.5rem; /* 24px */
}

.rounded-sole-pill {
    border-radius: 9999px;
}

/* Custom Shadows */
.shadow-sole {
    box-shadow: 0 10px 30px -10px rgba(20, 51, 94, 0.08);
}

.shadow-sole-hover {
    box-shadow: 0 20px 40px -15px rgba(20, 51, 94, 0.15);
}

.shadow-gold {
    box-shadow: 0 10px 25px -5px rgba(217, 119, 6, 0.25);
}

/* Custom Gradients */
.bg-navy-gradient {
    background: linear-gradient(135deg, #14335E 0%, #0A1E38 100%);
}

.bg-gold-gradient {
    background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
}

.bg-hero-pattern {
    background-color: #FAFBFC;
    background-image: radial-gradient(#14335E 0.5px, transparent 0.5px), radial-gradient(#14335E 0.5px, #FAFBFC 0.5px);
    background-size: 20px 20px;
    background-position: 0 0, 10px 10px;
    background-opacity: 0.03;
}

/* Glassmorphism */
.glass-nav {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.glass-card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.4);
}

/* Button & Interactive Animations */
.btn-hover-lift {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-hover-lift:hover {
    transform: translateY(-2px);
}

.card-hover-lift {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-hover-lift:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 35px -10px rgba(20, 51, 94, 0.12);
}

/* Accordion Animations */
.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease-in-out;
}

.accordion-content.open {
    max-height: 1000px;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #F1F5F9;
}

::-webkit-scrollbar-thumb {
    background: #CBD5E1;
    border-radius: 9999px;
}

::-webkit-scrollbar-thumb:hover {
    background: #14335E;
}

/* Custom Animated Cursor */
@media (pointer: fine) {
    #custom-cursor-dot {
        width: 8px;
        height: 8px;
        background-color: var(--color-gold);
        border-radius: 50%;
        position: fixed;
        top: 0;
        left: 0;
        pointer-events: none;
        z-index: 9999;
        transform: translate(-50%, -50%);
        transition: opacity 0.3s ease;
    }

    #custom-cursor-ring {
        width: 36px;
        height: 36px;
        border: 2px solid rgba(20, 51, 94, 0.35);
        border-radius: 50%;
        position: fixed;
        top: 0;
        left: 0;
        pointer-events: none;
        z-index: 9998;
        transform: translate(-50%, -50%);
        transition: width 0.25s ease, height 0.25s ease, border-color 0.25s ease, background-color 0.25s ease;
    }

    body.cursor-hover #custom-cursor-ring {
        width: 48px;
        height: 48px;
        border-color: var(--color-gold);
        background-color: rgba(217, 119, 6, 0.08);
    }

    body.cursor-active #custom-cursor-ring {
        width: 30px;
        height: 30px;
        background-color: rgba(20, 51, 94, 0.15);
    }
}

