/* Base Fonts & Icons */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Roboto:wght@300;400;500;700;900&family=Space+Grotesk:wght@500;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@20..48,100..700,0..1,-50..200');

/* Common Base Styles */
body {
    font-family: 'Roboto', sans-serif;
    background-color: #101418;
    color: #e0e3e8;
    margin: 0;
    overflow-x: hidden;
}

h1, h2, h3 {
    line-height: 1.45 !important;
}

.material-symbols-outlined {
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
    display: inline-block;
    vertical-align: middle;
}

/* Gradients */
.ignition-gradient {
    background: linear-gradient(135deg, #FFB5A0 0%, #FC5929 100%);
}

.split-gradient {
    background: linear-gradient(to right, #0B101A 0%, rgba(11, 16, 26, 0.8) 40%, transparent 100%);
}

.atmospheric-overlay {
    background: linear-gradient(to right, rgba(16, 20, 24, 0.95), rgba(16, 20, 24, 0));
}

.spotlight-glow {
    background: radial-gradient(circle, rgba(139, 156, 176, 0.15) 0%, rgba(139, 156, 176, 0) 70%);
}

.metal-reflect {
    background: radial-gradient(circle at center, rgba(252, 89, 41, 0.15) 0%, transparent 70%);
}

/* Effects & Utility Classes */
.glass-nav {
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    background-color: rgba(16, 20, 24, 0.7);
    transition: all 0.3s ease;
}

.glass-nav.scrolled {
    background-color: rgba(16, 20, 24, 0.95);
    border-bottom: 1px solid rgba(252, 89, 41, 0.15);
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
}

.no-radius {
    border-radius: 0px !important;
}

.hero-title {
    line-height: 1.3;
    letter-spacing: -0.02em;
}

.metallic-text {
    background: linear-gradient(180deg, #FFFFFF 0%, #D1D5DB 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.golden-glow {
    text-shadow: 0 0 20px rgba(252, 89, 41, 0.4);
}

.logo-glow:hover {
    filter: brightness(1.2) drop-shadow(0 0 8px rgba(255, 255, 255, 0.3));
}

/* Background Grids */
.blueprint-grid {
    background-size: 40px 40px;
    background-image: linear-gradient(to right, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
                      linear-gradient(to bottom, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
}

.blueprint-bg {
    background-image: linear-gradient(rgba(11, 16, 26, 0.95), rgba(11, 16, 26, 0.95)), url(../images/blueprint-world-map.webp);
    background-size: cover;
    background-position: center;
}

/* Focus and inputs */
input, textarea, select {
    border-radius: 0px !important;
}

/* Animations for Console & Technical Dashboard */
@keyframes flow {
    to {
        stroke-dashoffset: -20;
    }
}
.flow-line {
    stroke-dasharray: 6, 6;
    animation: flow 1.5s linear infinite;
}

@keyframes pulse-glow {
    0%, 100% {
        opacity: 0.5;
        filter: drop-shadow(0 0 2px rgba(252, 89, 41, 0.5));
    }
    50% {
        opacity: 1;
        filter: drop-shadow(0 0 8px rgba(252, 89, 41, 1));
    }
}
.status-glow-active {
    animation: pulse-glow 2s infinite ease-in-out;
}

@keyframes pulse-green {
    0%, 100% {
        opacity: 0.5;
        filter: drop-shadow(0 0 2px rgba(34, 197, 94, 0.5));
    }
    50% {
        opacity: 1;
        filter: drop-shadow(0 0 8px rgba(34, 197, 94, 1));
    }
}
.status-glow-green {
    animation: pulse-green 1.8s infinite ease-in-out;
}

@keyframes blink {
    50% { opacity: 0; }
}
.console-cursor {
    animation: blink 1.2s infinite;
}

@keyframes grid-glow {
    0%, 100% { opacity: 0.05; }
    50% { opacity: 0.15; }
}
.grid-pulsing {
    animation: grid-glow 4s infinite ease-in-out;
}

/* Infinite Partner Logo Slider */
.partner-slider {
    position: relative;
    overflow: hidden;
    width: 100%;
    padding: 20px 0;
}

.partner-slider::before,
.partner-slider::after {
    background: linear-gradient(to right, #101418 0%, transparent 100%);
    content: "";
    height: 100%;
    position: absolute;
    width: 150px;
    z-index: 2;
    pointer-events: none;
}

.partner-slider::before {
    left: 0;
    top: 0;
}

.partner-slider::after {
    right: 0;
    top: 0;
    transform: rotateZ(180deg);
}

.partner-track {
    display: flex;
    width: calc(200px * 16);
    animation: partner-scroll 40s linear infinite;
}

.partner-track:hover {
    animation-play-state: paused;
}

.partner-logo-item {
    width: 200px;
    height: 60px;
    flex-shrink: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    filter: opacity(0.3) grayscale(100%);
    transition: all 0.3s ease;
}

.partner-logo-item:hover {
    filter: opacity(0.9) grayscale(0%);
}

@keyframes partner-scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-200px * 8));
    }
}

/* Project Tabs Active State */
.project-tab-btn.active {
    border-color: #FC5929;
    color: #FC5929;
    background-color: rgba(252, 89, 41, 0.05);
}

/* News Cards and Dynamic Filters */
.news-card {
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    border-radius: 0px !important;
}

.news-card:hover {
    transform: translateY(-8px);
    border-color: rgba(252, 89, 41, 0.3);
    box-shadow: 0 20px 40px -15px rgba(252, 89, 41, 0.1);
}

.news-filter-btn {
    transition: all 0.3s ease;
}

.news-filter-btn.active {
    color: #FC5929;
    border-color: #FC5929;
    background-color: rgba(252, 89, 41, 0.05);
}

/* Interactive Blueprint Animations */
@keyframes blueprint-dash {
    to {
        stroke-dashoffset: -40;
    }
}

.blueprint-draw {
    stroke-dasharray: 8, 4;
    animation: blueprint-dash 15s linear infinite;
}

.product-tab-header {
    border-bottom: 2px solid rgba(255, 255, 255, 0.05);
}

.product-tab-nav {
    position: relative;
    bottom: -2px;
}

.product-tab-link.active {
    color: #FC5929;
    border-color: #FC5929;
}

.product-tab-pane {
    display: none;
}

.product-tab-pane.active {
    display: block;
}

/* Custom Table style for specs */
.spec-table-row:nth-child(even) {
    background-color: rgba(255, 255, 255, 0.02);
}

/* Custom Pagination Styles for Dark Industrial Theme */
.datlin-pagination nav.pagination {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}

.datlin-pagination .nav-links {
    display: inline-flex;
    gap: 0.5rem;
    align-items: center;
}

.datlin-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.5rem;
    height: 2.5rem;
    padding: 0 0.5rem;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.6);
    background-color: #181C20;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
    cursor: pointer;
    font-family: var(--font-label, 'Outfit', sans-serif);
}

.datlin-pagination .page-numbers:hover {
    color: #fff;
    border-color: #FC5929;
    background-color: rgba(252, 89, 41, 0.05);
}

.datlin-pagination .page-numbers.current {
    color: #fff;
    background-color: #FC5929;
    border-color: #FC5929;
    box-shadow: 0 0 15px rgba(252, 89, 41, 0.2);
}

.datlin-pagination .page-numbers.dots {
    background-color: transparent;
    border-color: transparent;
    cursor: default;
    color: rgba(255, 255, 255, 0.3);
}



