/* LexiDots - Premium Legal Tech Design System */

/* Import Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&display=swap');

/* CSS Variables */
:root {
    /* Primary Palette - Deep Navy */
    --primary: #0f172a;
    --primary-light: #1e293b;
    --primary-dark: #020617;
    
    /* Accent Palette - Sophisticated Gold */
    --accent: #d97706;
    --accent-light: #f59e0b;
    --accent-glow: rgba(245, 158, 11, 0.4);
    
    /* Neutrals */
    --bg-light: #f8fafc;
    --bg-white: #ffffff;
    --text-main: #1e293b;
    --text-muted: #64748b;
    --border-color: #e2e8f0;

    /* Spacing & Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
}

/* Base Reset & Typography */
body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    color: var(--text-main);
    background-color: var(--bg-light);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    color: var(--primary);
    font-weight: 700;
    letter-spacing: -0.02em;
}

.display-1, .display-2, .display-3 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
}

/* Navbar Premium Styling */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(15, 23, 42, 0.05);
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
    padding: 0.8rem 0;
}

.nav-link {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    color: var(--text-main) !important;
    font-size: 0.95rem;
    padding: 0.5rem 1.25rem !important;
    transition: color 0.2s ease;
}

.nav-link:hover, .nav-link.active {
    color: var(--accent) !important;
}

/* Buttons */
.btn {
    padding: 0.5rem 1.25rem;
    font-size: 0.95rem;
    font-weight: 500;
    border-radius: var(--radius-sm);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: 'Inter', sans-serif;
}

.btn-lg {
    padding: 0.75rem 2rem;
    font-size: 1.1rem;
}

.btn-primary {
    background-color: var(--primary);
    border-color: var(--primary);
    color: white;
}

.btn-primary:hover {
    background-color: var(--primary-light);
    border-color: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.3);
}

.btn-outline-primary {
    color: var(--primary);
    border-color: var(--primary);
    border-width: 2px;
}

.btn-outline-primary:hover {
    background-color: var(--primary);
    color: white;
    transform: translateY(-2px);
}

/* Hero Section */
.hero-section {
    padding-top: 8rem;
    padding-bottom: 6rem;
    background: 
        radial-gradient(circle at top right, rgba(245, 158, 11, 0.05), transparent 40%),
        radial-gradient(circle at bottom left, rgba(15, 23, 42, 0.03), transparent 40%);
    position: relative;
    overflow: hidden;
}

.hero-subtitle {
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 1.5rem;
    display: inline-block;
}

/* Premium Glassmorphism Cards */
.glass-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: 
        0 4px 6px -1px rgba(0, 0, 0, 0.05),
        0 2px 4px -1px rgba(0, 0, 0, 0.03),
        inset 0 0 0 1px rgba(255, 255, 255, 0.5);
}

/* Feature Cards */
.feature-card {
    background: white;
    padding: 2.5rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px -5px rgba(15, 23, 42, 0.1);
    border-color: var(--accent-light);
}

.feature-icon {
    width: 3.5rem;
    height: 3.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    color: var(--accent-light);
    border-radius: 10px;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

/* Testimonials */
.testimonial-card {
    background: white;
    padding: 3rem;
    border-radius: var(--radius-md);
    position: relative;
    border: 1px solid var(--border-color);
}

.testimonial-quote {
    font-family: 'Playfair Display', serif;
    font-size: 1.25rem;
    font-style: italic;
    color: var(--text-main);
    line-height: 1.6;
}

/* CTAs & Forms */
.bg-primary-gradient {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
}

.form-control {
    padding: 1rem;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
    background-color: white;
    font-family: 'Inter', sans-serif;
}

.form-control:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.1);
}

/* Footer */
.footer {
    background-color: var(--primary-dark);
    color: #94a3b8;
    font-size: 0.95rem;
}

.footer h5, .footer h6 {
    color: white;
    font-family: 'Inter', sans-serif; /* Cleaner for footer headers */
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
}

.footer a {
    color: #94a3b8;
    transition: color 0.2s;
}

.footer a:hover {
    color: var(--accent-light);
}

/* Animations & Utilities */
.animate-up {
    animation: fadeInUp 0.8s ease-out forwards;
    opacity: 0;
    transform: translateY(20px);
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.text-gradient {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Custom Elements */
.stat-item {
    border-left: 3px solid var(--accent);
    padding-left: 1.5rem;
}

.stat-number {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
}

.image-frame {
    position: relative;
}

.image-frame::after {
    content: '';
    position: absolute;
    inset: -15px;
    border: 1px solid var(--accent);
    opacity: 0.3;
    z-index: -1;
    border-radius: var(--radius-lg);
}

/* Floating Elements */
.floating-badge {
    background: white;
    padding: 1rem 1.5rem;
    border-radius: var(--radius-sm);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    gap: 1rem;
    z-index: 10;
    border-left: 4px solid var(--accent);
}
