/* NX Infinity Custom Styles */
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@300;400;500;600;700;800&display=swap');

:root {
    --font-sans: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --brand-red: #fa2323;
    --brand-red-dark: #ac0514;
    --brand-light: #fcfaf9;
    --brand-light-dark: #eceae9;
    --surface-dark: #0d0d0f;
    --surface-card: #151518;
    --surface-card-hover: #1c1c21;
    --border-subtle: rgba(255, 255, 255, 0.08);
}

body {
    font-family: var(--font-sans);
    background-color: var(--surface-dark);
    color: #f4f4f5;
    overflow-x: hidden;
}

/* Glassmorphism Styles */
.glass-nav {
    background: rgba(13, 13, 15, 0.82);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-subtle);
}

.glass-card {
    background: rgba(21, 21, 24, 0.75);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-subtle);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.glass-card:hover {
    background: rgba(28, 28, 33, 0.85);
    border-color: rgba(250, 35, 35, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 12px 30px -10px rgba(250, 35, 35, 0.15);
}

/* Brand Button Styles */
.btn-brand-primary {
    background: linear-gradient(135deg, var(--brand-red) 0%, var(--brand-red-dark) 100%);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.15);
    font-weight: 700;
    transition: all 0.2s ease;
    box-shadow: 0 4px 18px rgba(250, 35, 35, 0.35);
}

.btn-brand-primary:hover {
    background: linear-gradient(135deg, #ff3838 0%, #c40617 100%);
    transform: translateY(-1px);
    box-shadow: 0 6px 24px rgba(250, 35, 35, 0.5);
    color: #ffffff;
}

.btn-brand-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: #f4f4f5;
    border: 1px solid var(--border-subtle);
    font-weight: 600;
    backdrop-filter: blur(8px);
    transition: all 0.2s ease;
}

.btn-brand-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.25);
    color: #ffffff;
    transform: translateY(-1px);
}

/* Precise mobile header button sizing */
.btn-mobile-header {
    height: 36px !important;
    min-height: 36px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.btn-mobile-icon {
    width: 36px !important;
    min-width: 36px !important;
    max-width: 36px !important;
    height: 36px !important;
    min-height: 36px !important;
    max-height: 36px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
}

/* Hero Background Animation (Pure CSS Grid Particles) */
.hero-particle-grid {
    position: absolute;
    inset: 0;
    background-image: 
        radial-gradient(circle at center, rgba(250, 35, 35, 0.12) 0%, transparent 65%),
        radial-gradient(circle, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
    background-size: 100% 100%, 36px 36px;
    background-position: 0 0, 0 0;
    animation: gridMove 25s linear infinite;
    mask-image: radial-gradient(ellipse at center, black 40%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 40%, transparent 80%);
    pointer-events: none;
    z-index: 0;
}

@keyframes gridMove {
    0% {
        background-position: 0 0, 0 0;
    }
    100% {
        background-position: 0 0, 0 720px;
    }
}

/* Glow effects */
.glow-accent {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    pointer-events: none;
    z-index: 0;
}

.text-gradient-red {
    background: linear-gradient(135deg, #ffffff 40%, #fa2323 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Clean Architecture Card Utilities */
.feature-spec-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.25rem 0.625rem;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-subtle);
    color: #e4e4e7;
}


/* Custom Accordion Enhancement */
.collapse-title {
    font-weight: 600;
}

/* Coming Soon Glow Box */
.roadmap-box {
    background: linear-gradient(180deg, rgba(250, 35, 35, 0.06) 0%, rgba(20, 20, 24, 0.8) 100%);
    border: 1px solid rgba(250, 35, 35, 0.25);
    box-shadow: 0 0 25px -5px rgba(250, 35, 35, 0.15);
}

/* Hyper-Responsive Enhancements */
@media (max-width: 640px) {
    .btn-brand-primary,
    .btn-brand-secondary {
        width: 100%;
        justify-content: center;
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

/* Ensure smooth touch interactions */
* {
    -webkit-tap-highlight-color: transparent;
}

/* Better table scrolling on small devices */
.table-responsive {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

