/* 
   assets.css - BroFix Premium Redesign 
   Focus: Sophisticated hierarchy, glassmorphism, and corporate depth.
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500&family=Outfit:wght@400;600;700;800&display=swap');

:root {
    /* Color Palette - Deep Corporate */
    --slate-950: #020617;
    --slate-900: #0f172a;
    --slate-800: #1e293b;
    --blue-600: #2563eb;
    --blue-500: #3b82f6;
    --indigo-500: #6366f1;

    /* Semantic Colors */
    --primary: var(--slate-950);
    --accent: var(--blue-600);
    --accent-glow: rgba(59, 130, 246, 0.5);
    --bg: var(--slate-950);
    --bg-surface: var(--slate-900);
    --text: #f8fafc;
    --text-muted: #94a3b8;
    --white: #ffffff;
    --border: rgba(255, 255, 255, 0.08);

    /* Premium Glassmorphism */
    --glass-bg: rgba(15, 23, 42, 0.7);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-blur: blur(16px);

    /* Shadows & Effects */
    --shadow-premium: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    --transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

/* Base Styles */
* {
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--bg);
    color: var(--text);
    margin: 0;
    padding-top: 56px;
    /* Space for the flat fixed header */
    line-height: 1.7;
    overflow-x: hidden;
    letter-spacing: -0.01em;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Outfit', sans-serif;
    margin: 0;
    color: var(--white);
    letter-spacing: -0.03em;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ==========================================
   GLOBAL ANIMATIONS
   ========================================== */
@keyframes bfx-fade-up {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-up {
    animation: bfx-fade-up 0.8s forwards;
}

/* ==========================================
   HERO / HEADER UTILS
   ========================================== */
.hero-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
    top: -300px;
    right: -200px;
    filter: blur(80px);
    z-index: 0;
    opacity: 0.4;
    pointer-events: none;
}

/* ==========================================
   BUTTONS - Premium Styles
   ========================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2.5rem;
    border-radius: 99px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    font-family: 'Outfit', sans-serif;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--accent);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px -5px var(--accent-glow);
    background: var(--blue-500);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text);
    backdrop-filter: var(--glass-blur);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--white);
    color: var(--white);
    transform: translateY(-2px);
}

/* ==========================================
   CARDS - Sophisticated Glass
   ========================================== */
.section {
    padding: 8rem 0;
    position: relative;
}

.grid {
    display: grid;
    gap: 2.5rem;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
}

.card {
    background: var(--glass-bg);
    padding: 3rem;
    border-radius: 2rem;
    border: 1px solid var(--glass-border);
    backdrop-filter: var(--glass-blur);
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, transparent 100%);
    pointer-events: none;
}

.card:hover {
    transform: translateY(-12px) scale(1.03);
    border-color: rgba(59, 130, 246, 0.6);
    box-shadow: 0 40px 80px -20px rgba(0, 0, 0, 0.8), 0 0 40px -10px var(--accent-glow);
}

.card:hover h3 {
    color: var(--accent);
}

/* 3D-ish Tilt Perspective */
.grid {
    perspective: 1000px;
}

.card h3 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.card p {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    flex-grow: 1;
}

/* ==========================================
   FORMS - Minimalist
   ========================================== */
.form-group {
    margin-bottom: 2rem;
}

.form-label {
    display: block;
    margin-bottom: 0.75rem;
    font-weight: 500;
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.form-input {
    width: 100%;
    padding: 1.25rem 1.5rem;
    border-radius: 1rem;
    border: 1px solid var(--border);
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.03);
    color: var(--white);
    transition: var(--transition);
    font-family: 'Inter', sans-serif;
}

.form-input:focus {
    outline: none;
    border-color: var(--accent);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.15);
}

/* ==========================================
   FOOTER - Corporate Wrap
   ========================================== */
.footer {
    background: #010409;
    padding: 8rem 0 4rem;
    border-top: 1px solid var(--border);
    color: var(--text-muted);
}

.footer-brand {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--white);
    margin-bottom: 1.5rem;
}

.footer-brand span {
    color: var(--accent);
}

/* ==========================================
   UTILITIES
   ========================================== */
.text-center {
    text-align: center;
}

.mb-12 {
    margin-bottom: 3rem;
}

.text-muted {
    color: var(--text-muted);
}

.text-gradient {
    background: linear-gradient(to right, #fff, #94a3b8);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ==========================================
   RESPONSIVE
   ========================================== */
@media (max-width: 768px) {
    .container {
        padding: 0 1.5rem;
    }

    h1 {
        font-size: 2.75rem !important;
    }

    .section {
        padding: 5rem 0;
    }

    .grid {
        grid-template-columns: 1fr;
    }
}