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

/**
 * TrustGuard Auto - Ultra-Premium Design System
 * Identity: Modern Executive Luxury
 */

:root {
    /* Obsidian & Silk Color Palette */
    --primary: #020617;
    /* Obsidian Navy */
    --primary-light: #0f172a;
    --primary-alt: #1e293b;

    --accent: #D4AF37;
    /* Metallic Gold */
    --accent-hover: #b8962d;
    --accent-glow: rgba(212, 175, 55, 0.3);

    --surface: #ffffff;
    --surface-silk: #f8fafc;
    --surface-depth: #f1f5f9;

    --text-main: #0f172a;
    --text-muted: #64748b;
    --text-silk: #94a3b8;
    --text-light: #ffffff;

    --success: #10b981;
    --error: #ef4444;
    --warning: #f59e0b;

    /* Precision Typography Hierarchy */
    --font-heading: 'Outfit', sans-serif;
    --font-accent: 'Playfair Display', serif;
    --font-body: 'Outfit', sans-serif;

    --fz-xs: 0.75rem;
    --fz-sm: 0.875rem;
    --fz-base: 1.0625rem;
    --fz-lg: 1.125rem;
    --fz-xl: 1.25rem;
    --fz-2xl: 1.5rem;
    --fz-3xl: 2.25rem;
    --fz-4xl: 3.5rem;
    --fz-5xl: 4.5rem;

    /* Institutional Spacing System */
    --s-1: 0.25rem;
    --s-2: 0.5rem;
    --s-3: 0.75rem;
    --s-4: 1rem;
    --s-6: 1.5rem;
    --s-8: 2rem;
    --s-12: 3rem;
    --s-16: 4rem;
    --s-20: 5rem;
    --s-24: 6rem;
    --s-32: 8rem;

    /* Performance Design Tokens */
    --radius-sm: 0;
    /* Sharp luxury edges */
    --radius-md: 4px;
    --radius-lg: 12px;
    --radius-full: 9999px;

    --shadow-ambient: 0 10px 40px rgba(0, 0, 0, 0.04);
    --shadow-depth: 0 20px 60px rgba(2, 6, 23, 0.08);
    --shadow-premium: 0 30px 100px rgba(2, 6, 23, 0.12);
    --shadow-gold: 0 15px 40px rgba(212, 175, 55, 0.15);

    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-slow: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Global Foundation */
body {
    font-family: var(--font-body);
    font-size: var(--fz-base);
    color: var(--text-main);
    line-height: 1.7;
    background-color: var(--surface);
    margin: 0;
    -webkit-font-smoothing: antialiased;
    letter-spacing: -0.01em;
}

h1,
h2,
h3,
h4,
.h1,
.h2,
.h3 {
    font-family: var(--font-heading);
    font-weight: 800;
    color: var(--primary);
    line-height: 1.15;
    letter-spacing: -0.03em;
}

.text-accent-font {
    font-family: var(--font-accent);
    font-style: italic;
}

/* Utility Extensions */
.section-py {
    padding: var(--s-24) 0;
}

.section-py-lg {
    padding: var(--s-32) 0;
}

.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: var(--transition-slow);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.glass-surface {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.4);
}

/* Institutional Interaction Points */
.btn-premium {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1.25rem 3rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    transition: var(--transition);
    border: none;
    font-size: 0.75rem;
    cursor: pointer;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.btn-executive {
    background: var(--primary);
    color: #ffffff;
    box-shadow: var(--shadow-depth);
}

.btn-executive:hover {
    background: var(--primary-light);
    transform: translateY(-4px);
    box-shadow: var(--shadow-premium);
    color: #ffffff;
}

.btn-protocol {
    background: var(--accent);
    color: #ffffff;
    box-shadow: var(--shadow-gold);
}

.btn-protocol:hover {
    background: var(--accent-hover);
    transform: translateY(-4px);
    box-shadow: 0 20px 50px rgba(212, 175, 55, 0.4);
    color: #ffffff;
}

/* Grid Standards */
.executive-grid {
    display: grid;
    gap: var(--s-8);
}

@media (max-width: 991px) {
    :root {
        --fz-5xl: 3.5rem;
        --fz-4xl: 2.75rem;
        --fz-3xl: 2rem;
    }
}

/* Navbar Stability */
.own_sticky_header {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 2000;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.03);
    transition: var(--transition);
}

/* Section Backgrounds */
.bg-light {
    background-color: var(--bg-light) !important;
}

.bg-primary {
    background-color: var(--primary-color) !important;
}

/* Responsive Adjustments */
@media (max-width: 991px) {
    :root {
        --fz-5xl: 2.5rem;
        --fz-4xl: 2rem;
    }
}