/* ============================================
   Brikerbox v3 - Custom CSS (from upload)
   Brand-specific styles
   ============================================ */

:root {
    --bs-primary: #1d4ed8;
    --bs-primary-rgb: 29, 78, 216;
    --bs-indigo: #4338ca;
    --bs-dark: #0f172a;
    --bs-body-font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

body {
    font-family: var(--bs-body-font-family);
    color: #334155;
    overflow-x: hidden;
    background-color: #f8fafc;
}

/* Typography & Gradients */
.text-gradient {
    background: linear-gradient(135deg, var(--bs-primary), var(--bs-indigo));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.02em;
}

/* Navbar Sticky Effect */
.navbar {
    transition: all 0.3s ease;
    padding-top: 1.25rem;
    padding-bottom: 1.25rem;
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.navbar.scrolled {
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
    box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.05);
}

.navbar-brand img {
    transition: all 0.3s ease;
}

.navbar.scrolled .navbar-brand img {
    height: 32px !important;
}

/* Buttons */
.btn-primary {
    background-color: var(--bs-primary);
    border-color: var(--bs-primary);
    font-weight: 600;
    padding: 0.75rem 1.75rem;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px -1px rgba(29, 78, 216, 0.2);
    transition: all 0.2s;
}

.btn-primary:hover {
    background-color: #1e40af;
    border-color: #1e40af;
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(29, 78, 216, 0.3);
}

.btn-outline-dark {
    border-radius: 0.5rem;
    padding: 0.75rem 1.75rem;
    font-weight: 600;
    border-width: 2px;
}

/* Hero Background Accents */
.hero-section {
    position: relative;
    padding-top: 160px;
    padding-bottom: 100px;
    background: linear-gradient(180deg, #ffffff 0%, #f1f5f9 100%);
    overflow: hidden;
}

/* Grid Pattern Background */
.grid-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(#cbd5e1 1px, transparent 1px);
    background-size: 32px 32px;
    opacity: 0.4;
    z-index: 0;
}

/* UI Mockup (Hero Right Side) */
.mockup-container {
    position: relative;
    z-index: 2;
    transform: perspective(1000px) rotateY(-5deg) rotateX(2deg);
    transition: transform 0.5s ease;
}

.mockup-container:hover {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
}

.mockup-card {
    background: white;
    border-radius: 1rem;
    border: 1px solid #e2e8f0;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
    padding: 0.5rem;
}

.floating-card {
    position: absolute;
    background: white;
    padding: 1rem 1.25rem;
    border-radius: 0.75rem;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    border: 1px solid #f1f5f9;
    z-index: 10;
    animation: float 5s ease-in-out infinite;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-12px); }
    100% { transform: translateY(0px); }
}

/* Interactive Tabs (Corporate Solutions) */
.nav-pills-custom .nav-link {
    color: #64748b;
    background-color: transparent;
    font-weight: 600;
    padding: 1rem 1.5rem;
    border-radius: 0.5rem;
    text-align: left;
    border: 1px solid transparent;
    transition: all 0.3s ease;
    margin-bottom: 0.5rem;
}

.nav-pills-custom .nav-link.active {
    color: var(--bs-primary);
    background-color: white;
    border-color: #e2e8f0;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.nav-pills-custom .nav-link:hover:not(.active) {
    background-color: #f1f5f9;
}

.tab-icon-box {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    margin-right: 12px;
    background-color: #f1f5f9;
    transition: all 0.3s;
}

.nav-link.active .tab-icon-box {
    background-color: var(--bs-primary);
    color: white !important;
}

/* Cards & Features */
.feature-card {
    border-radius: 1rem;
    border: 1px solid #e2e8f0;
    background: white;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02);
    transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: #cbd5e1;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.08);
}

.icon-box {
    width: 56px;
    height: 56px;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

/* App Ecosystem Grid */
.app-grid .card {
    border-radius: 0.75rem;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    transition: all 0.2s;
}

.app-grid .card:hover {
    border-color: var(--bs-primary);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05);
}

/* AI Section (Dark Mode) */
.ai-section {
    background-color: var(--bs-dark);
    color: white;
    position: relative;
    overflow: hidden;
    border-top: 1px solid #1e293b;
}

.ai-glow {
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(67, 56, 202, 0.2) 0%, transparent 70%);
    pointer-events: none;
}

.ai-section h2 {
    color: white;
}

.ai-feature-row {
    padding: 1rem;
    border-radius: 0.5rem;
    border: 1px solid transparent;
    transition: all 0.2s;
}

.ai-feature-row:hover {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 255, 255, 0.1);
}

/* Terminal/Code Section */
.terminal-box {
    background-color: #1e1e2e;
    border-radius: 0.75rem;
    overflow: hidden;
    border: 1px solid #334155;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.terminal-header {
    background-color: #181825;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid #334155;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.terminal-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

/* Grayscale logos */
.grayscale-logos {
    opacity: 0.6;
    filter: grayscale(100%);
    transition: all 0.3s;
}

.grayscale-logos > div:hover {
    opacity: 1;
    filter: grayscale(0%);
    color: var(--bs-primary) !important;
}

/* Hover primary effect for footer links */
.hover-primary {
    transition: color 0.2s ease;
}

.hover-primary:hover {
    color: var(--bs-primary) !important;
}

<!-- Horizontal Corp Tabs Custom Style -->
    <style>
        .corp-tab-btn {
            flex-direction: row !important;
            align-items: flex-start !important;
            padding: 0.75rem 1rem !important;
            border-radius: 0.625rem !important;
            border: 1px solid rgba(0,0,0,0.08) !important;
            background: #fff !important;
            transition: all 0.2s ease;
            text-align: left !important;
            min-height: 60px;
        }
        .corp-tab-btn .tab-icon-box {
            width: 36px; height: 36px;
            min-width: 36px;
            display: flex; align-items: center; justify-content: center;
            border-radius: 0.5rem;
            background: rgba(79,70,229,0.08);
            transition: all 0.2s ease;
        }
        .corp-tab-btn .tab-icon-box i { font-size: 1.1rem; }
        .corp-tab-btn.nav-link.active,
        .corp-tab-btn.nav-link.show {
            background: #4f46e5 !important;
            border-color: #4f46e5 !important;
            color: #fff !important;
            box-shadow: 0 4px 12px rgba(79,70,229,0.25);
        }
        .corp-tab-btn.nav-link.active .fw-bold,
        .corp-tab-btn.nav-link.show .fw-bold { color: #fff !important; }
        .corp-tab-btn.nav-link.active .text-muted,
        .corp-tab-btn.nav-link.show .text-muted { color: rgba(255,255,255,0.7) !important; }
        .corp-tab-btn.nav-link.active .tab-icon-box,
        .corp-tab-btn.nav-link.show .tab-icon-box { background: rgba(255,255,255,0.2); }
        .corp-tab-btn.nav-link.active .tab-icon-box i,
        .corp-tab-btn.nav-link.show .tab-icon-box i { color: #fff !important; }
        .corp-tab-btn:hover:not(.active):not(.show) {
            background: #f8f9fa !important;
            border-color: rgba(79,70,229,0.3) !important;
        }
    </style>