/* Paradigm Replica Design System - TechMindsOne */
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700&family=Inter:wght@300;400;500;600&display=swap');

:root {
    /* Core Palette - Strict Monochrome */
    --color-bg: #030303;
    /* Deepest Black */
    --color-surface: #0a0a0a;
    /* Slightly elevated */
    --color-border: rgba(255, 255, 255, 0.12);
    /* Sharp, thin borders */
    --color-border-hover: rgba(255, 255, 255, 0.3);

    /* Text */
    --color-text-main: #ffffff;
    --color-text-muted: #888888;

    /* Brand Accent (Minimal usage - keeping Logo colors in mind) */
    --color-accent: #FFFFFF;
    /* UI Accent is White for high contrast */
    --color-logo-amber: #FFB000;
    /* Reserved for Logo/Specific highlights only */

    /* Typography */
    --font-display: 'Space Grotesk', sans-serif;
    /* For Headers */
    --font-body: 'Inter', sans-serif;
    /* For Copy */

    /* Spacing & Layout */
    --radius-soft: 12px;
    --radius-pill: 999px;

    /* Animation */
    --ease-smooth: cubic-bezier(0.16, 1, 0.3, 1);
    --duration-base: 0.4s;
}

/* -------------------------------------------------------------------------- */
/* BASE                                                                      */
/* -------------------------------------------------------------------------- */
body {
    background-color: var(--color-bg);
    color: var(--color-text-main);
    font-family: var(--font-body);
    -webkit-font-smoothing: antialiased;
    margin: 0;
    line-height: 1.5;
}

/* Subtle Grid Background - Cleaner */
/* Background Image with Heavy Overlay */
.bg-grid-paradigm {
    background-image:
        linear-gradient(to bottom, rgba(3, 3, 3, 0.85), rgba(3, 3, 3, 0.95)),
        url('../images/site-bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
    pointer-events: none;
}

/* -------------------------------------------------------------------------- */
/* TYPOGRAPHY                                                                 */
/* -------------------------------------------------------------------------- */
h1,
h2,
h3,
h4,
.h1,
.h2,
.h3,
.h4 {
    font-family: var(--font-display);
    color: var(--color-text-main);
    font-weight: 600;
    letter-spacing: -0.02em;
    /* Tight tracking for modern feel */
    margin-bottom: 1rem;
}

.display-hero {
    font-size: clamp(3rem, 7vw, 6.5rem);
    line-height: 1.1;
    font-weight: 500;
    letter-spacing: -0.03em;
}

.text-lead {
    font-size: 1.25rem;
    color: var(--color-text-muted);
    font-weight: 400;
    max-width: 600px;
}

/* -------------------------------------------------------------------------- */
/* NAVIGATION                                                                 */
/* -------------------------------------------------------------------------- */
.nav-pill-container {
    position: fixed;
    top: 24px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(10, 10, 10, 0.85);
    backdrop-filter: blur(12px);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-pill);
    padding: 6px 8px;
    z-index: 1000;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);

    /* Mobile Constraints */
    max-width: 90vw;
    width: max-content;
}

@media (max-width: 480px) {
    .nav-pill-container {
        padding: 4px 6px;
        top: 16px;
        gap: 4px;
    }

    .nav-item-link {
        padding: 6px 10px;
        font-size: 0.75rem;
    }

    .navbar-brand img {
        height: 14px;
    }
}

.nav-item-link {
    color: var(--color-text-muted);
    font-size: 0.85rem;
    font-weight: 500;
    text-decoration: none;
    padding: 8px 16px;
    border-radius: var(--radius-pill);
    transition: all var(--duration-base) var(--ease-smooth);
}

.nav-item-link:hover {
    color: var(--color-text-main);
    background: rgba(255, 255, 255, 0.05);
}

.nav-item-link.btn-cta {
    background: var(--color-text-main);
    color: var(--color-bg);
    font-weight: 600;
}

.nav-item-link.btn-cta:hover {
    background: #e0e0e0;
}

/* -------------------------------------------------------------------------- */
/* BENTO COMPONENTS                                                           */
/* -------------------------------------------------------------------------- */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 16px;
    /* Tighter gap */
    width: 100%;
}

@media (min-width: 768px) {
    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .bento-grid {
        grid-template-columns: repeat(3, 1fr);
        grid-template-rows: auto;
    }

    .col-span-2 {
        grid-column: span 2;
    }
}

.card-paradigm {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-soft);
    padding: 32px;
    position: relative;
    overflow: hidden;
    transition: border-color var(--duration-base) var(--ease-smooth);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.card-paradigm:hover {
    border-color: var(--color-border-hover);
}

/* Badge */
.badge-pill {
    display: inline-block;
    padding: 4px 12px;
    border-radius: var(--radius-pill);
    border: 1px solid var(--color-border);
    font-size: 0.75rem;
    color: var(--color-text-muted);
    font-family: var(--font-body);
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* -------------------------------------------------------------------------- */
/* BUTTONS                                                                   */
/* -------------------------------------------------------------------------- */
.btn-primary-p {
    background: white;
    color: black;
    border: none;
    border-radius: var(--radius-pill);
    padding: 14px 28px;
    font-weight: 600;
    font-family: var(--font-body);
    font-size: 0.95rem;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.btn-primary-p:hover {
    transform: translateY(-2px);
    background: #f0f0f0;
}

.btn-secondary-p {
    background: transparent;
    color: white;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-pill);
    padding: 14px 28px;
    font-weight: 500;
    font-family: var(--font-body);
    font-size: 0.95rem;
    cursor: pointer;
    transition: border-color 0.2s ease;
}

.btn-secondary-p:hover {
    border-color: white;
}

/* -------------------------------------------------------------------------- */
/* UTILS                                                                      */
/* -------------------------------------------------------------------------- */
.text-white {
    color: white !important;
}

.text-muted {
    color: var(--color-text-muted) !important;
}

/* Bootstrap Cleansing */
.container {
    max-width: 1200px !important;
}

.navbar {
    display: none !important;
}

footer {
    background: var(--color-surface) !important;
    border-top: 1px solid var(--color-border) !important;
    padding: 40px 0;
}