/*
 Theme Name:   SolveBD Master Edition
 Description:  Advanced Custom Child Theme for SolveBD
 Author:       ATIKUR RAHMAN
 Template:     generatepress
 Version:      4.0.0
*/

/* --- THEME ROOT VARIABLES --- */
:root {
    --pure-white: #ffffff;
    --soft-bg: #f8fafc;
    --royal-blue: #0061ff;
    --text-dark: #1e293b;
    --text-light: #64748b;
    --border-soft: #e2e8f0;
}

body{
    overflow-x:hidden;
}

/* --- SOLVEBD DYNAMIC GLASS HEADER --- */

.site-header {
    background-color: rgba(255, 255, 255, 0.8) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 9999;
    padding: 25px 0; 
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Header bottom border: Tapered at both ends */
.site-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 10%;
    right: 10%;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(0, 97, 255, 0.2), rgba(0, 97, 255, 0.5), rgba(0, 97, 255, 0.2), transparent);
}

.site-header.header-scrolled {
    padding: 12px 0;
    background-color: rgba(255, 255, 255, 0.95) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}

.inside-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.main-title a {
    font-size: 24px;
    font-weight: 800;
    transition: all 0.5s ease;
}

.header-scrolled .main-title a {
    font-size: 19px;
}

/* --- MENU ITEM HOVER EFFECT: TAPERED EXPANDING LINE --- */

.main-navigation .main-nav ul li:not(.nav-btn-solid):not(.nav-btn-outline) a {
    position: relative;
    transition: color 0.3s ease;
}

/* Create the hidden line */
.main-navigation .main-nav ul li:not(.nav-btn-solid):not(.nav-btn-outline) a::after {
    content: '';
    position: absolute;
    bottom: -2px; /* Close to the text */
    left: 50%;
    width: 0;
    height: 2px;
    /* Gradient: Thicker/darker in middle, thinner/transparent at tips */
    background: radial-gradient(circle, rgba(0, 97, 255, 0.8) 0%, rgba(0, 97, 255, 0) 80%);
    transform: translateX(-50%);
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

/* Expand line on hover */
.main-navigation .main-nav ul li:not(.nav-btn-solid):not(.nav-btn-outline):hover a::after,
.main-navigation .main-nav ul li.current-menu-item:not(.nav-btn-solid):not(.nav-btn-outline) a::after {
    width: 80%; /* Width of the expansion */
}

.main-navigation .main-nav ul li:hover > a {
    color: var(--royal-blue) !important;
}

/* --- HEADER NAVIGATION BUTTONS --- */

.main-navigation .main-nav ul li.nav-btn-solid a,
.main-navigation .main-nav ul li.nav-btn-outline a {
    line-height: 1 !important;
    padding: 12px 22px !important;
    border-radius: 8px;
    margin-left: 10px;
    margin-top: 3px;
    font-size: 13px !important;
    font-weight: 700 !important;
    transition: all 0.3s ease !important;
    display: inline-block;
}

.main-navigation .main-nav ul li.nav-btn-solid a {
    background-color: var(--royal-blue) !important;
    color: #ffffff !important;
    box-shadow: 0 5px 15px rgba(0, 97, 255, 0.2);
}

.main-navigation .main-nav ul li.nav-btn-solid a:hover {
    background-color: #0052d6 !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 97, 255, 0.3);
}

.main-navigation .main-nav ul li.nav-btn-outline a {
    background-color: transparent !important;
    color: var(--text-dark) !important;
    border: 1px solid var(--border-soft) !important;
}

.main-navigation .main-nav ul li.nav-btn-outline a:hover {
    border-color: var(--royal-blue) !important;
    color: var(--royal-blue) !important;
    background-color: rgba(0, 97, 255, 0.02) !important;
    transform: translateY(-2px);
}

.header-scrolled .main-navigation .main-nav ul li.nav-btn-solid a,
.header-scrolled .main-navigation .main-nav ul li.nav-btn-outline a {
    margin-top: 5px;
    padding: 10px 18px !important;
}

body.home .solvebd-pure-hero {
    margin-top: 99px;
}

@media (max-width: 768px) {
    .main-navigation .main-nav ul li.nav-btn-solid a,
    .main-navigation .main-nav ul li.nav-btn-outline a {
        margin-left: 0;
        margin-top: 10px;
        display: block;
        text-align: center;
    }
}

/* --- HERO SECTION WRAPPER --- */
.solvebd-pure-hero {
    position: relative;
    padding: 59px 0 160px;
    background-color: var(--soft-bg);
    width: 100%; /* Changed from 100vw to fix scrollbar issue */
    overflow: hidden;
    display: block;
}

/* Background Grid Pattern */
.clean-grid-bg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: radial-gradient(var(--border-soft) 1px, transparent 1px);
    background-size: 40px 40px;
    opacity: 0.5;
    z-index: 1;
}

/* --- LAYOUT STRUCTURE --- */
.grid-container { 
    max-width: 1300px; 
    margin: 0 auto; 
    padding: 0 30px; 
    position: relative; 
    z-index: 10; 
}

.master-flex-layout { 
    display: grid; 
    grid-template-columns: 1.1fr 0.9fr; 
    gap: 60px; 
    align-items: center; 
}

/* --- CONTENT STYLING --- */
.lab-tag-clean {
    display: inline-flex; align-items: center;
    background: #fff; border: 1px solid var(--border-soft);
    padding: 6px 14px; border-radius: 50px;
    font-size: 12px; font-weight: 700; color: var(--royal-blue);
    text-transform: uppercase; margin-bottom: 25px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.02);
}
.dot-online { height: 8px; width: 8px; background: #22c55e; border-radius: 50%; margin-right: 10px; display: inline-block; }

.pure-title { font-size: clamp(40px, 5vw, 59px); font-weight: 800; line-height: 1.1; color: var(--text-dark); margin-bottom: 25px; }
.pure-subtitle { font-size: 17px; color: var(--text-light); line-height: 1.7; margin-bottom: 40px; }

/* --- ANIMATED FEED FEED --- */
.feed-container-clean { 
    height: 450px; 
    overflow: hidden; 
    position: relative; 
    padding: 10px; 
}

/* Bottom fade effect for scrolling cards */
.feed-container-clean::after { 
    content: ''; 
    position: absolute; 
    bottom: 0; left: 0; width: 100%; height: 80px; 
    background: linear-gradient(to top, var(--soft-bg), transparent); 
    z-index: 5; 
    pointer-events: none;
}

.rolling-track-pure { 
    display: flex; 
    flex-direction: column; 
    gap: 20px; 
    animation: scrollDown 20s linear infinite; 
}
.rolling-track-pure:hover { animation-play-state: paused; }

@keyframes scrollDown { 
    from { transform: translateY(0); } 
    to { transform: translateY(-50.5%); } 
}

.clean-card {
    background: #fff; border: 1px solid var(--border-soft);
    padding: 25px; border-radius: 16px; text-decoration: none; display: block;
    box-shadow: 0 10px 25px rgba(0,0,0,0.03);
    transition: all 0.3s ease;
}
.clean-card:hover { transform: translateY(-5px); border-color: var(--royal-blue); box-shadow: 0 15px 35px rgba(0,97,255,0.1); }

.card-top { display: flex; justify-content: space-between; font-size: 10px; font-weight: 800; color: var(--royal-blue); margin-bottom: 10px; }
.clean-card h4 { margin: 0 0 10px; font-size: 20px; color: var(--text-dark); }
.clean-card p { margin: 0; font-size: 14px; color: var(--text-light); line-height: 1.5; }

/* --- ACTION BUTTONS --- */
.btn-pure-solid { background: var(--royal-blue) !important; color: #fff !important; padding: 16px 35px; border-radius: 8px; font-weight: 700; text-decoration: none; display: inline-block; box-shadow: 0 10px 20px rgba(0,97,255,0.2); transition: 0.3s; }
.btn-pure-solid:hover { opacity: 0.9; transform: translateY(-2px); }

.btn-pure-outline { border: 1px solid var(--border-soft) !important; color: var(--text-dark) !important; padding: 16px 35px; border-radius: 8px; font-weight: 700; text-decoration: none; display: inline-block; margin-left: 15px; background: #fff !important; transition: 0.3s; }
.btn-pure-outline:hover { border-color: var(--royal-blue) !important; color: var(--royal-blue) !important; }

/* --- BRIDGE BREAKPOINT (Fix for Small Laptops 992px to 1120px) --- */
@media (min-width: 992px) and (max-width: 1120px) {
    .btn-pure-solid, 
    .btn-pure-outline {
        padding: 14px 22px; /* Optimized padding for intermediate screens */
        font-size: 15px;      
        white-space: nowrap; /* Prevents text wrapping inside buttons */
    }
    
    .btn-pure-outline {
        margin-left: 10px;
    }

    .master-flex-layout {
        gap: 30px; /* Tighter layout to prevent element overflow */
    }

    .pure-title {
        font-size: 42px; /* Balanced scale for mid-size displays */
    }
}

/* --- TABLET & LARGE MOBILE OPTIMIZATION (Max width 991px) --- */
@media (max-width: 991px) {
    .solvebd-pure-hero { 
        padding: 49px 0 59px; 
    }

    .master-flex-layout {
        grid-template-columns: 1fr; /* Single column stack */
        gap: 40px;
        text-align: center; 
    }

    .content-section { order: 1; }
    .visual-section { 
        order: 2; 
        width: 100%;
        margin-top: 20px;
    }

    .lab-tag-clean { justify-content: center; }

    .pure-cta {
        display: flex;
        flex-direction: column;
        gap: 12px;
        align-items: center;
        width: 100%;
    }

    .btn-pure-solid, 
    .btn-pure-outline {
        width: 100%; /* Full-width industrial style on mobile */
        max-width: 100%; 
        margin-left: 0 !important; 
        box-sizing: border-box;
    }
}

/* --- SMARTPHONE FINE-TUNING (Max width 767px) --- */
@media (max-width: 767px) {
    .grid-container {
        padding: 0 15px;
        width: 100% !important;
    }

    .pure-title { font-size: 32px; }
    .pure-subtitle { font-size: 15px; line-height: 1.6; }

    .feed-container-clean {
        height: 380px;
        padding: 10px 0; 
    }
    
    .clean-card {
        width: 100% !important;
        padding: 20px;
        box-sizing: border-box;
    }

    .rolling-track-pure { gap: 15px; }
}

/* --- SMART NEWS TICKER AREA --- */
.pure-news-ticker {
    position: absolute; 
    bottom: 40px; 
    left: 0; 
    width: 100%;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(5px);
    border-top: 1px solid var(--border-soft);
    border-bottom: 1px solid var(--border-soft);
    display: flex;
    align-items: center;
    z-index: 15;
    height: 45px;
    overflow: hidden;
}

/* Restoring Original Carving Label */
.ticker-label-clean { 
    background: var(--royal-blue); 
    color: #fff; 
    padding: 0 40px 0 25px; 
    font-weight: 800; 
    font-size: 12px; 
    height: 100%;
    display: flex;
    align-items: center;
    position: relative;
    z-index: 20;
    clip-path: polygon(0 0, 85% 0, 100% 100%, 0% 100%);
    letter-spacing: 1px;
}

.ticker-text-area { 
    flex: 1; 
    overflow: hidden; 
    display: flex;
    align-items: center;
    height: 100%;
}

.ticker-scroll-content {
    display: flex;
    white-space: nowrap;
    padding-left: 20px;
    animation: smoothTicker 30s linear infinite;
}

.ticker-scroll-content:hover {
    animation-play-state: paused;
}

@keyframes smoothTicker {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.ticker-item {
    padding-right: 50px;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 14px;
    display: flex;
    align-items: center;
}

/* --- LOCKED COLOR LOGIC --- */
.t-tag {
    font-weight: 800;
    margin-right: 8px;
    font-size: 11px;
}
.t-tag.update { color: #0061ff; }   /* Blue */
.t-tag.gift { color: #22c55e; }     /* Green */
.t-tag.live { color: #f59e0b; }     /* Orange */
.t-tag.solved { color: #6366f1; }   /* Indigo */

/* Responsive Fix without breaking absolute position */
@media (max-width: 991px) {
    .pure-news-ticker {
        position: relative; /* Responsive correction */
        bottom: 0;
        margin-top: 30px;
    }
}

@media (max-width: 768px) {
    .ticker-label-clean { padding: 0 25px 0 15px; font-size: 10px; }
}

/* INDUSTRIAL DATA STRIP - MASTER STYLES */
.industrial-data-strip {
    width: 100%;
    background-color: #ffffff;
    border: 1px dashed rgba(0, 0, 0, 0.1);
    padding: 15px 0;
    position: relative;
    overflow: hidden;
}

.full-width-wrapper {
    width: 100%;
    padding: 0 50px;
}

.data-terminal-line {
    display: flex;
    justify-content: space-between;
    align-items: center; /* PC Mode Vertical Center */
    gap: 30px;
}

/* PREFIX & SUFFIX */
.terminal-prefix {
    display: flex;
    flex-direction: column;
    min-width: 150px;
}

.prefix-tag {
    font-family: 'Fira Code', monospace;
    font-size: 10px;
    font-weight: 800;
    color: #0061ff;
    letter-spacing: 1px;
}

.prefix-path {
    font-family: 'Fira Code', monospace;
    font-size: 8px;
    color: #a1a1a1;
    margin-top: 2px;
}

/* DATA FLOW: PC MODE */
.data-flow-row {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 40px;
    flex: 1;
}

.data-block {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.block-top {
    display: flex;
    align-items: center;
    gap: 8px;
    height: 12px; /* Header alignment fix */
}

/* Dot Indicators */
.dot-indicator {
    width: 6px;
    height: 6px;
    border-radius: 1px;
    display: inline-block; /* Pulse fix */
}

.dot-indicator.blue { background: #0061ff; }
.dot-indicator.green { background: #00d285; }
.dot-indicator.purple { background: #bf5af2; }
.dot-indicator.orange { background: #ff9500; } /* New Color for UpTime */

/* LIVE PULSE FIX */
.dot-indicator.live-pulse {
    background: #00d285;
    box-shadow: 0 0 8px rgba(0, 210, 133, 0.6);
    animation: simplePulse 2s infinite ease-in-out;
}

@keyframes simplePulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.3; transform: scale(1.2); }
}

.block-label {
    font-family: 'Fira Code', monospace;
    font-size: 9px;
    color: #a1a1a1;
    font-weight: 600;
    letter-spacing: 1px;
}

.block-value {
    font-family: 'Fira Code', monospace;
    font-size: 22px;
    font-weight: 800;
    color: #06080c;
}

.suffix { font-size: 14px; color: #0061ff; margin-left: 2px; }

/* DIVIDER */
.block-divider {
    width: 1px;
    height: 25px;
    background: #f0f0f0;
    transform: rotate(15deg);
}

/* SUFFIX / FOOTER */
.terminal-suffix {
    min-width: 180px;
    display: flex;
    flex-direction: column;
}

.footer-left-status {
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: flex-end; /* PC Right side */
}

.status-text {
    font-family: 'Fira Code', monospace;
    font-size: 11px;
    font-weight: 700;
    color: #00d285;
}

.footer-right-details {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    margin-top: 4px;
}

.timestamp { font-family: 'Fira Code', monospace; font-size: 11px; color: #06080c; }
.status-code { font-family: 'Fira Code', monospace; font-size: 8px; color: #00d285; }

/* RESPONSIVE: MOBILE (2x2 Balanced Grid) */
@media (max-width: 767px) {
    .full-width-wrapper { padding: 0 20px; }
    .data-terminal-line { flex-direction: column; gap: 30px; }

    .terminal-prefix { min-width: 100%; align-items: center; }

    /* 4 Blocks in 2x2 Grid */
    .data-flow-row {
        display: grid;
        grid-template-columns: 1fr 1fr;
        width: 100%;
        gap: 25px 0;
        justify-items: center;
    }

    .desk-only { display: none; }
    .data-block { align-items: center; text-align: center; }

    /* Footer: Left-Right Balance */
    .terminal-suffix {
        min-width: 100%;
        flex-direction: row !important;
        justify-content: space-between !important;
        align-items: center;
        border-top: 1px dashed rgba(0, 0, 0, 0.05);
        padding: 20px 5px 0;
        margin-top: 10px;
    }

    .footer-left-status { justify-content: flex-start; }
    .footer-right-details { margin-top: 0; }
    .status-text { font-size: 10px; }
    .timestamp { font-size: 12px; }
}


/* --- ULTIMATE DIAGNOSTIC SECTION --- */
.diagnostic-stats-section {
    padding: 99px 0;
    background-color: var(--soft-bg);
    position: relative;
}

.lab-badge {
    display: inline-block;
    padding: 5px 15px;
    background: rgba(0, 97, 255, 0.08);
    color: var(--royal-blue);
    font-size: 11px;
    font-weight: 800;
    border-radius: 4px;
    margin-bottom: 15px;
    letter-spacing: 2px;
}

.section-header-center {
    text-align: center;
    margin-bottom: 60px;
}

/* --- FIXED GRADIENT SECTION TITLE --- */
.section-title {
    font-size: 42px;
    font-weight: 900;
    margin-bottom: 7px;
    
    /* Software & Tech Inspired Gradient */
    background: linear-gradient(
        135deg, 
        #ffd700 0%,    
        #00c6ff 50%,   
        #0072ff 100%
    );
    
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    
    /* FIX: Added padding and overflow visible to prevent cutting 'Ikar' (ইকার) */
    padding: 10px 5px; 
    overflow: visible;
    display: block; /* Changed from inline-block to block to prevent layout shift */
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
    
    letter-spacing: 0.2px; /* Slight spacing for Bengali font clarity */
    line-height: 1.4; /* Increased line height so accents don't get cut */
    position: relative;
    z-index: 1;
}

/* Ensuring the badge stays on top */
.lab-badge {
    display: inline-block;
    padding: 5px 15px;
    background: rgba(0, 97, 255, 0.08);
    color: var(--royal-blue);
    font-size: 11px;
    font-weight: 800;
    border-radius: 4px;
    margin-bottom: 7px;
    letter-spacing: 2px;
    position: relative;
    z-index: 10;
}

.section-desc {
    font-size: 18px;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* 2-COLUMN GRID SYSTEM */
.diagnostic-grid-two-col {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2 items per line */
    gap: 30px;
    margin-top: 50px;
}

/* Card Pro Styling */
.diag-card-pro {
    background: #ffffff;
    border: 1px solid var(--border-soft);
    padding: 40px 30px;
    border-radius: 4px; 
    position: relative;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    gap: 25px;
}

/* Corner Hook locked */
.card-corner-top {
    position: absolute;
    top: -1px; right: -1px;
    width: 40px; height: 40px;
    border-top: 3px solid var(--border-soft);
    border-right: 3px solid var(--border-soft);
    transition: 0.4s;
}

.diag-card-pro:hover {
    transform: translateY(-5px);
    border-color: var(--royal-blue);
    box-shadow: 0 30px 60px rgba(0, 97, 255, 0.05);
}

.diag-card-pro:hover .card-corner-top {
    border-color: var(--royal-blue);
    width: 60px; height: 60px;
}

/* Pulse Animation locked */
.diag-icon-pro {
    position: relative;
    width: 50px; height: 50px;
    flex-shrink: 0;
}

.diag-icon-pro i {
    font-size: 32px;
    color: var(--royal-blue);
    position: relative;
    z-index: 5;
}

.icon-pulse {
    position: absolute;
    top: 33%; left: 33%;
    transform: translate(-50%, -50%);
    width: 40px; height: 40px;
    background: rgba(0, 97, 255, 0.1);
    border-radius: 50%;
    animation: diagPulse 2s infinite;
}

@keyframes diagPulse {
    0% { transform: translate(-50%, -50%) scale(1); opacity: 0.8; }
    100% { transform: translate(-50%, -50%) scale(2.5); opacity: 0; }
}

/* Content Area locked */
.diag-id {
    display: block;
    font-family: 'Fira Code', monospace;
    font-size: 10px;
    color: var(--text-light);
    margin-bottom: 10px;
    opacity: 0.6;
}

.diag-card-pro h3 {
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.diag-card-pro p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 25px;
}

/* Pro Progress Bar locked */
.diag-info-row {
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-dark);
    text-transform: uppercase;
}

.stat-val { color: var(--royal-blue); }

.diag-progress-pro {
    background: #edf2f7;
    height: 4px; 
    width: 100%;
}

.progress-fill-pro {
    background: var(--royal-blue);
    height: 100%;
    position: relative;
}

.progress-fill-pro::after {
    content: '';
    position: absolute;
    right: 0; top: -2px;
    width: 6px; height: 8px;
    background: var(--royal-blue);
}

/* Mobile Adjustments: Stack cards on small screens */
@media (max-width: 991px) {
    .diagnostic-grid-two-col { grid-template-columns: 1fr; }
    .diag-card-pro { flex-direction: column; gap: 15px; }
    .diagnostic-stats-section {
    padding: 49px 0;
}
.section-title{
    font-size: 33px;
}
}

/* --- THE ULTIMATE LAB CORE BUTTON (STATIC ACTIVE STATE) --- */

.lab-action-area {
    margin-top: 59px;
    display: flex;
    justify-content: center;
}

.btn-lab-core {
    position: relative;
    display: inline-block;
    padding: 24px 65px;
    background: transparent;
    text-decoration: none;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    cursor: pointer;
    overflow: visible;
}

/* Base Frame - Always active with subtle glow */
.btn-frame-layer {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: #080808;
    clip-path: polygon(15px 0%, 100% 0%, 100% calc(100% - 15px), calc(100% - 15px) 100%, 0% 100%, 0% 15px);
    border: 1px solid rgba(0, 97, 255, 0.3); /* Slightly more visible */
    z-index: 1;
    transition: all 0.4s ease;
}

/* Glow Overlay - Always active now */
.btn-glow-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(circle at center, rgba(0, 97, 255, 0.12) 0%, transparent 75%);
    opacity: 1; /* Always visible */
    z-index: 2;
    transition: 0.5s;
}

.btn-content-wrap {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
}

.btn-tag {
    font-family: 'Fira Code', monospace;
    font-size: 10px;
    color: var(--royal-blue);
    letter-spacing: 3px;
    margin-bottom: 8px;
    font-weight: 600;
}

.btn-text-flex {
    display: flex;
    align-items: center;
    gap: 20px;
}

.btn-main-text {
    font-size: 17px;
    font-weight: 900;
    color: #ffffff;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: 0.3s;
}

/* Scanner Animation - Always active */
.status-scanner {
    position: relative;
    width: 12px; height: 12px;
}

.scanner-dot {
    position: absolute;
    width: 100%; height: 100%;
    background: var(--royal-blue);
    border-radius: 50%;
    z-index: 2;
}

.scanner-ring {
    position: absolute;
    width: 100%; height: 100%;
    border: 2px solid var(--royal-blue);
    border-radius: 50%;
    animation: scanRing 2s infinite ease-out;
}

@keyframes scanRing {
    0% { transform: scale(1); opacity: 1; }
    100% { transform: scale(3.5); opacity: 0; }
}

/* Advanced Circuit SVG - Always Animating */
.btn-tech-svg {
    position: absolute;
    top: -5px; left: -5px;
    width: calc(100% + 10px);
    height: calc(100% + 10px);
    fill: none;
    z-index: 3;
    pointer-events: none;
}

.circuit-path-top, .circuit-path-bottom {
    stroke: var(--royal-blue);
    stroke-width: 1.5;
    stroke-dasharray: 40 200;
    opacity: 0.6; /* Visible by default */
    animation: flowCircuit 3s infinite linear; /* Always flowing */
}

@keyframes flowCircuit {
    from { stroke-dashoffset: 240; }
    to { stroke-dashoffset: 0; }
}

/* --- REFINED HOVER INTERACTIONS --- */

/* Hover: Scale up and increase brightness */
.btn-lab-core:hover .btn-frame-layer {
    background: #0f0f0f;
    border-color: #ffffff; /* Border turns white for a sharp look */
    box-shadow: 0 0 40px rgba(0, 97, 255, 0.3);
    transform: scale(1.02);
}

.btn-lab-core:hover .btn-glow-overlay {
    background: radial-gradient(circle at center, rgba(0, 97, 255, 0.25) 0%, transparent 70%);
}

.btn-lab-core:hover .circuit-path-top,
.btn-lab-core:hover .circuit-path-bottom {
    opacity: 1;
    stroke: #ffffff; /* Circuit lines turn white on hover */
    animation-duration: 1s; /* Data flows faster on hover! */
}

.btn-lab-core:hover .btn-main-text {
    color: var(--royal-blue);
    letter-spacing: 2px; /* Slight expansion */
}

/* Responsive */
@media (max-width: 768px) {
    .btn-lab-core { padding: 20px 45px; width: 100%; }
}


/* --- PROBLEM-SOLUTION SECTION (STRICT LAYOUT) --- */
.problem-solution-section {
    padding: 49px 0;
    background-color: #fcfdfe;
}

.section-header-center {
    text-align: center;
    margin-bottom: 50px;
}

.lab-badge-mini {
    background: rgba(0, 97, 255, 0.05);
    color: var(--royal-blue);
    padding: 5px 12px;
    border-radius: 5px;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 15px;
}

.solution-grid {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.solution-card {
    background: #fff;
    border: 1px dashed var(--border-soft);
    border-radius: 20px;
    transition: all 0.3s ease;
    overflow: hidden;
}

.solution-card:hover {
    border-color: var(--royal-blue);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.05);
    transform: translateX(10px);
}

.card-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

/* LEFT SIDE: Content Middle Alignment */
.problem-side {
    padding: 40px;
    border-right: 1px dashed var(--border-soft);
    background-color: #fffafb;
    display: flex;
    align-items: center; /* Vertical Middle Alignment */
}

.content-v-center { width: 100%; }

.solution-side {
    padding: 40px;
}

.label-error { color: #ef4444; font-size: 10px; font-weight: 800; border-bottom: 2px solid #fee2e2; margin-bottom: 10px; display: inline-block; }
.label-success { color: #22c55e; font-size: 10px; font-weight: 800; border-bottom: 2px solid #dcfce7; margin-bottom: 10px; display: inline-block; }

.problem-side h4, .solution-side h4 { font-size: 18px; margin-bottom: 8px; color: var(--text-dark); }
.problem-side p { font-size: 14px; color: var(--text-light); margin: 0; line-height: 1.6; }

/* --- ANIMATED CODE BOX (2 LINES VIEW) --- */
.mini-code-box-animated {
    background: #1e293b;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 12px;
    position: relative;
    overflow: hidden;
}

.code-scroller-window {
    height: 52px; /* Set height to show exactly 2 lines (26px * 2) */
    overflow: hidden;
}

.code-track {
    display: flex;
    flex-direction: column;
    animation: verticalDoubleScroll 7s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite;
}

.code-track code {
    color: #38bdf8;
    font-family: 'Fira Code', monospace;
    font-size: 13px;
    line-height: 26px; /* Each line height */
    display: block;
}

/* Fade In Result Text */
.animated-result-text {
    font-size: 14px;
    color: var(--text-light);
    margin: 0;
    opacity: 0;
    transform: translateY(5px);
    animation: resultFadeIn 7s ease-in-out infinite;
}

/* Keyframes for Scrolling 2 lines at a time */
@keyframes verticalDoubleScroll {
    0% { transform: translateY(0); }
    30% { transform: translateY(-52px); } /* Scrolls up to reveal next 2 lines */
    60% { transform: translateY(-52px); } /* Pause to read */
    80%, 100% { transform: translateY(-104px); opacity: 0; } /* Fade out and reset */
}

@keyframes resultFadeIn {
    0%, 60% { opacity: 0; transform: translateY(5px); }
    80%, 95% { opacity: 1; transform: translateY(0); }
    100% { opacity: 0; }
}

/* VIEW MORE (Centered Alignment) */
.view-more-lab {
    text-align: center;
    margin-top: 50px;
    width: 100%;
}

.lab-link {
    color: var(--royal-blue);
    font-weight: 700;
    text-decoration: none;
    font-size: 16px;
    transition: 0.3s;
    display: inline-block;
}

.lab-link:hover { text-decoration: underline; letter-spacing: 1px; }

/* Mobile Adaptability */
@media (max-width: 768px) {
    .card-inner { grid-template-columns: 1fr; }
    .problem-side { border-right: none; border-bottom: 1px dashed var(--border-soft); text-align: center; }
    .solution-side { text-align: center; }
}

/* --- STREAMLINED INTELLIGENCE FEED CSS --- */

.intelligence-feed-section {
    padding: 49px 0;
    background: #ffffff;
}

.unique-streamlined-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr; /* Perfect balance */
    gap: 40px;
    margin-top: 60px;
}

/* --- MAIN CARD (Locked) --- */
.feed-card-main {
    position: relative;
    background: #06080c;
    border-radius: 35px;
    overflow: hidden;
    color: #fff;
}

.featured-visual { position: relative; height: 350px; }
.featured-visual img { width: 100%; height: 100%; object-fit: cover; opacity: 0.8; }

.overlay-data-bits {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(0, 97, 255, 0.1) 4px);
    pointer-events: none;
}

.featured-content { padding: 45px; }
.content-header { display: flex; justify-content: space-between; margin-bottom: 25px; }
.id-tag { font-family: 'Fira Code', monospace; font-size: 11px; color: #60efff; opacity: 0.6; }
.status-dot-pulse { width: 10px; height: 10px; background: #00ff88; border-radius: 50%; box-shadow: 0 0 12px #00ff88; }

.featured-content h3 { font-size: 32px; margin-bottom: 15px; line-height: 1.2; }
.featured-content h3 a { color: #fff; text-decoration: none; }
.featured-content p { color: rgba(255, 255, 255, 0.6); margin-bottom: 30px; font-size: 16px; }
.read-more-btn { color: #0061ff; font-weight: 800; text-decoration: none; display: inline-flex; align-items: center; gap: 10px; transition: 0.3s; }
.read-more-btn:hover { color: #60efff; transform: translateX(5px); }

/* --- VERTICAL STACK (1 per line Locked) --- */
.unique-vertical-stack {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.mini-data-card {
    background: #f8faff;
    padding: 30px;
    border-radius: 25px;
    border: 1px solid rgba(0, 97, 255, 0.05);
    transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.card-inner-flex { display: flex; gap: 25px; align-items: flex-start; }

.data-node-line {
    width: 4px; height: 40px; background: #0061ff; 
    border-radius: 10px; transition: 0.4s; flex-shrink: 0;
}

.card-text { flex: 1; }
.mini-cat-tag { font-size: 10px; font-weight: 800; color: #a1a1a1; text-transform: uppercase; margin-bottom: 10px; display: block; }
.mini-data-card h4 { font-size: 19px; line-height: 1.4; color: #06080c; margin-bottom: 15px; }
.mini-data-card h4 a { color: inherit; text-decoration: none; }

.card-meta-wrap { display: flex; justify-content: space-between; align-items: center; }
.date { font-size: 12px; font-weight: 700; color: #a1a1a1; }
.arrow-go { font-size: 20px; color: #06080c; text-decoration: none; transition: 0.3s; }

/* --- INTERACTION (Locked) --- */
.mini-data-card:hover {
    background: #ffffff;
    transform: translateX(10px);
    box-shadow: 0 15px 35px rgba(0, 97, 255, 0.08);
    border-color: #0061ff;
}

.mini-data-card:hover .data-node-line { height: 60px; background: #00ff88; }
.mini-data-card:hover .arrow-go { color: #0061ff; transform: rotate(45deg); }

/* --- MOBILE RESPONSIVE --- */
@media (max-width: 1100px) {
    .unique-streamlined-grid { grid-template-columns: 1fr; }
    .featured-visual { height: 280px; }
}

@media (max-width: 768px) {
    .featured-content { padding: 30px; }
    .featured-content h3 { font-size: 24px; }
    .mini-data-card { padding: 25px; }
}

/* --- THE SCIENTIFIC INTERFACE WORKFLOW (SMART UPDATE) --- */

.lab-interface-section {
    padding: 49px 0;
    background: #ffffff;
    overflow: hidden;
}

.lab-core-wrapper {
    position: relative;
    max-width: 1000px; /* Slightly wider for better breathing space */
    margin: 80px auto 0;
    padding: 0 20px;
}

/* The Central Nerve Line - Hidden on very small screens if needed, but kept for style */
.central-nerve {
    position: absolute;
    top: 0; left: 50%;
    width: 2px; height: 100%;
    background: linear-gradient(to bottom, transparent, var(--royal-blue), transparent);
    transform: translateX(-50%);
    opacity: 0.2;
    z-index: 1;
}

.interface-steps {
    display: flex;
    flex-direction: column;
    gap: 80px; /* Increased gap to prevent overlapping */
}

/* Individual Item Setup */
.interface-item {
    display: flex;
    align-items: center;
    width: 100%;
    position: relative;
    z-index: 5;
    transition: 0.4s;
}

/* Desktop: Zig-Zag Layout */
.item-left { flex-direction: row-reverse; padding-right: 50%; text-align: right; }
.item-right { padding-left: 50%; text-align: left; }

/* The Visual Circle/Switch */
.visual-circle {
    width: 65px; height: 65px;
    background: #fff;
    border: 1px solid var(--border-soft);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 10;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    flex-shrink: 0; /* Prevents circle from squeezing */
}

.visual-circle i { font-size: 26px; color: var(--text-dark); }

/* The Connector Line */
.connector-line {
    width: 50px; height: 2px;
    background: var(--border-soft);
    transition: 0.4s;
    flex-shrink: 0;
}

.item-visual { 
    display: flex; 
    align-items: center; 
    position: absolute; 
    top: 50%; 
    transform: translateY(-50%); 
}

.item-left .item-visual { right: -32px; } 
.item-right .item-visual { left: -32px; }

/* Info Area Styling */
.item-info { 
    padding: 0 50px; 
    transition: 0.4s; 
    width: 100%;
}

.step-tag {
    font-family: 'Fira Code', monospace;
    font-size: 10px;
    letter-spacing: 2px;
    color: var(--royal-blue);
    margin-bottom: 8px;
    display: block;
}

.item-info h4 { font-size: 22px; font-weight: 800; color: var(--text-dark); margin-bottom: 10px; }
.item-info p { font-size: 15px; color: var(--text-light); line-height: 1.6; max-width: 400px; }
.item-left p { margin-left: auto; } /* Align text properly on left items */

/* --- SMART MOBILE OPTIMIZATION (THE FIX) --- */

@media (max-width: 991px) {
    .central-nerve { left: 40px; transform: none; } /* Move nerve to side */
    
    .interface-item {
        flex-direction: row !important; /* Force icons to left, text to right */
        padding-left: 90px !important; 
        padding-right: 0 !important;
        text-align: left !important;
        gap: 0;
    }

    .item-visual {
        left: 10px !important;
        right: auto !important;
        top: 0 !important;
        transform: none !important;
    }

    .connector-line {
        display: none; /* Hide connector to save space on mobile */
    }

    .item-info {
        padding: 0;
    }

    .item-info p {
        margin-left: 0 !important;
        max-width: 100%;
    }

    .interface-steps {
        gap: 60px;
    }
    
    .visual-circle {
        width: 55px; height: 55px;
    }
}

/* --- HOVER EFFECTS --- */
.interface-item:hover .visual-circle {
    background: var(--royal-blue);
    border-color: var(--royal-blue);
    transform: scale(1.1) translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 97, 255, 0.2);
}
.interface-item:hover .visual-circle i { color: #fff; }
.interface-item:hover .item-info h4 { color: var(--royal-blue); }

/* Active Testing Pulse */
.active-node .visual-circle {
    border-color: var(--royal-blue);
    box-shadow: 0 0 0 5px rgba(0, 97, 255, 0.05);
    animation: smartPulse 2s infinite;
}

@keyframes smartPulse {
    0% { box-shadow: 0 0 0 0 rgba(0, 97, 255, 0.4); }
    100% { box-shadow: 0 0 0 20px rgba(0, 97, 255, 0); }
}

/* --- LAB FAQ V2 WITH 3D TECH BG --- */
.lab-faq-v2-section {
    padding: 49px 0;
    background-color: #ffffff;
    position: relative;
    overflow: hidden;
}

/* Technical 3D Vector Background */
.tech-3d-bg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: 
        linear-gradient(rgba(0, 97, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 97, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    perspective: 1000px;
    transform: rotateX(60deg) translateY(-200px);
    z-index: 1;
    opacity: 0.6;
}

.faq-two-column-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    position: relative;
    z-index: 10;
    align-items: center;
}

/* LEFT COLUMN */
.faq-list-wrapper { margin-top: 40px; display: flex; flex-direction: column; gap: 15px; }

.faq-item-v2 {
    background: #fff;
    border: 1px solid var(--border-soft);
    padding: 20px 25px;
    border-radius: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}

.faq-no { font-weight: 800; color: var(--royal-blue); margin-right: 20px; font-size: 14px; opacity: 0.5; }
.faq-txt { font-weight: 700; color: var(--text-dark); font-size: 16px; }

.faq-item-v2.active {
    border-color: var(--royal-blue);
    box-shadow: 0 10px 20px rgba(0, 97, 255, 0.05);
    transform: translateX(15px);
}
.faq-item-v2.active .faq-no { opacity: 1; }

/* RIGHT COLUMN - 3D ANSWER BOX */
.answer-box-3d {
    background: #fff;
    border: 1px solid var(--border-soft);
    padding: 60px;
    border-radius: 30px;
    box-shadow: 20px 20px 60px rgba(0, 0, 0, 0.03), -10px -10px 40px #ffffff;
    min-height: 350px;
    display: flex;
    align-items: center;
    position: relative;
}

.answer-display { display: none; animation: fadeInRight 0.5s ease forwards; }
.answer-display.active { display: block; }

.ans-icon { font-size: 40px; color: var(--royal-blue); margin-bottom: 25px; }
.answer-display h4 { font-size: 24px; margin-bottom: 15px; color: var(--text-dark); }
.answer-display p { font-size: 16px; color: var(--text-light); line-height: 1.8; }

@keyframes fadeInRight {
    from { opacity: 0; transform: translateX(20px); }
    to { opacity: 1; transform: translateX(0); }
}

/* Mobile Layout */
@media (max-width: 991px) {
    .faq-two-column-layout { grid-template-columns: 1fr; gap: 40px; }
    .faq-item-v2.active { transform: none; }
}

/* --- FINAL LOCKED MASTERPIECE --- */

.hologram-cta-compact {
    padding: 100px 0;
    background: transparent;
    overflow: visible;
}

.hologram-portal-mini {
    position: relative;
    background: #06080c;
    border-radius: 40px;
    padding: 60px 80px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    overflow: visible;
}

/* Status Pulse Engine locked */
.mini-status {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: rgba(0, 97, 255, 0.08);
    padding: 6px 14px;
    border-radius: 6px;
    border: 1px solid rgba(0, 97, 255, 0.2);
    margin-bottom: 22px;
}

.status-node-wrap {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 10px; height: 10px;
}

.blink-node { width: 8px; height: 8px; background: #00ff88; border-radius: 50%; z-index: 2; }
.pulse-ring {
    position: absolute; width: 20px; height: 20px;
    background: rgba(0, 255, 136, 0.4); border-radius: 50%;
    animation: statusPulse 2s infinite; z-index: 1;
}

@keyframes statusPulse { 0% { transform: scale(0.5); opacity: 1; } 100% { transform: scale(2.5); opacity: 0; } }

.status-text { font-family: 'Fira Code', monospace; font-size: 11px; color: #60efff; font-weight: 600; }

/* Typography locked */
.mini-title { font-size: 42px; font-weight: 900; color: #ffffff; line-height: 1.1; margin-bottom: 20px; }
.vibrant-gradient {
    background: linear-gradient(90deg, #0061ff, #60efff, #00ff88);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-size: 200% auto; animation: gradientShift 4s linear infinite;
}

@keyframes gradientShift { 0% { background-position: 0% 50%; } 100% { background-position: 200% 50%; } }

.mini-desc { font-size: 17px; color: rgba(255, 255, 255, 0.6); line-height: 1.7; max-width: 651px; margin-bottom: 30px; }

/* Laptop Engine locked */
.hologram-visual-laptop { flex: 0.9; position: relative; }
.laptop-hologram-unit { position: absolute; right: -110px; bottom: -160px; width: 480px; }

.laptop-curved-frame {
    position: relative; background: #11141a; border-radius: 35px; padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transform: perspective(1200px) rotateY(-15deg) rotateX(10deg);
    animation: curvedFloat 6s infinite ease-in-out;
}

.laptop-screen-glass { position: relative; background: #fff; border-radius: 22px; overflow: hidden; }
.specialist-motion-wrap { width: 150%; position: relative; left: -25%; }
.sliding-action {
    width: 65% !important; height: auto; display: block;
    animation: ladySlide 10s ease-in-out infinite;
}

@keyframes ladySlide {
    0%, 100% { transform: translateX(0) scaleX(1); }
    45% { transform: translateX(50%) scaleX(1); }
    50% { transform: translateX(50%) scaleX(-1); }
    95% { transform: translateX(0) scaleX(-1); }
}

@keyframes curvedFloat {
    0%, 100% { transform: perspective(1200px) rotateY(-15deg) rotateX(10deg) translateY(0); }
    50% { transform: perspective(1200px) rotateY(-12deg) rotateX(8deg) translateY(-20px); }
}

/* Actions locked */
.mini-actions { display: flex; gap: 25px; align-items: center; }
.btn-compact-prime {
    background: #ffffff; color: #000 !important; padding: 16px 32px;
    border-radius: 12px; font-weight: 800; text-decoration: none; transition: 0.3s;
}
.btn-compact-prime:hover { background: #0061ff; color: #fff !important; transform: translateY(-5px); }

.btn-compact-sub {
    color: rgba(255, 255, 255, 0.5) !important; text-decoration: none;
    font-size: 14px; font-weight: 600; border-bottom: 1px solid transparent; transition: 0.3s;
}
.btn-compact-sub:hover { color: #fff !important; border-bottom: 1px solid #fff; }

/* Corner Accents locked */
.corner-accent { position: absolute; width: 35px; height: 35px; border: 1.5px solid #ffffff; }
.top-r { top: 20px; right: 20px; border-left: 0; border-bottom: 0; }
.bot-l { bottom: 20px; left: 20px; border-right: 0; border-top: 0; }

/* --- 100% PERFECT MOBILE RESPONSIVE ENGINE --- */
@media (max-width: 1100px) {
    .hologram-flex { flex-direction: column; text-align: center; }
    .hologram-visual-laptop { display: none; } /* Laptop hides for mobile clarity */
    .hologram-portal-mini { padding: 60px 40px; margin: 0 15px; }
    .mini-desc { margin: 0 auto 30px; }
}

@media (max-width: 768px) {
    .mini-title { font-size: 32px; }
    .mini-desc { font-size: 15px; }
    .mini-actions { flex-direction: column; gap: 15px; width: 100%; }
    .btn-compact-prime { width: 100%; text-align: center; }
    .corner-accent { display: none; } /* Clean look for mobile */
    .hologram-portal-mini { border-radius: 25px; padding: 40px 20px; }
}

/* ==========================================================================
   SOLVEBD MASTER CONTENT STYLING: POSTS VS PAGES
   ========================================================================== */

/* 1. SHARED BODY TEXT (For both Posts and Pages) */
.single-post .entry-content p, 
.page .entry-content p {
    font-size: 17px;
    line-height: 1.8;
    color: #555e66;
    margin-bottom: 25px;
}

/* 2. SHARED ENTRY TITLES */
.single-post .entry-title,
.page .entry-title {
    font-size: 32px !important;
    line-height: 1.25;
    font-weight: 800;
    color: #222b31;
    letter-spacing: -0.8px;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 20px;
    margin-bottom: 30px;
    display: block;
}

/* --------------------------------------------------------------------------
   [POST SPECIFIC] - Classic Bracket Style
   -------------------------------------------------------------------------- */
.single-post .entry-content h2, 
.single-post .entry-content h3 {
    background: #f1f6fb;
    padding: 12px 20px;
    border-left: 6px solid #1a1a1a; /* Bold Dark Bracket */
    border-radius: 4px 15px 15px 4px;
    color: #2c3338;
    font-size: 24px;
    font-weight: 700;
    margin-top: 45px;
}

/* --------------------------------------------------------------------------
   [PAGE SPECIFIC] - Technical Anchor Style (Bracket + Horizontal Line)
   -------------------------------------------------------------------------- */
.page .entry-content h2, 
.page .entry-content h3 {
    background: #f8fafc; /* Even lighter for pages */
    padding: 15px 25px 15px 45px; /* Extra left padding for the line */
    border-left: 6px solid #0066FF; /* Theme Blue Bracket */
    border-radius: 4px;
    color: #0f172a;
    font-size: 24px;
    font-weight: 700;
    margin-top: 50px;
    position: relative;
    overflow: hidden;
}

/* The Horizontal Line from Bracket to Text */
.page .entry-content h2::before,
.page .entry-content h3::before {
    content: "";
    position: absolute;
    left: 6px; /* Starts from the border */
    top: 50%;
    width: 25px; /* Length of the horizontal line */
    height: 1px;
    background: repeating-linear-gradient(to right, #0066FF, #0066FF 2px, transparent 2px, transparent 4px); /* Dashed line effect */
    transform: translateY(-50%);
    opacity: 0.5;
}

/* 3. IMAGES & LINKS (Shared) */
.single-post img, .page img {
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
    margin: 25px 0;
}

.single-post .entry-content a.more-link, 
.page .entry-content a.more-link {
    display: inline-block;
    background: #eef2f7;
    padding: 12px 25px;
    border-left: 4px solid #0066FF;
    color: #0066FF;
    font-weight: 600;
    text-decoration: none;
    border-radius: 4px;
    transition: 0.3s;
}

/* ==========================================================================
   MOBILE RESPONSIVENESS (SMART ADJUSTMENTS)
   ========================================================================== */

@media (max-width: 768px) {
    /* Title Resize */
    .single-post .entry-title, .page .entry-title {
        font-size: 24px !important;
        padding-bottom: 15px;
    }

    /* Post Heading Mobile */
    .single-post .entry-content h2 {
        font-size: 20px;
        padding: 10px 15px;
        border-left-width: 4px;
    }

    /* Page Heading Mobile - Hide the line if it gets too crowded */
    .page .entry-content h2 {
        font-size: 20px;
        padding: 10px 15px 10px 30px; /* Reduced padding */
        border-left-width: 4px;
    }
    
    .page .entry-content h2::before {
        width: 15px; /* Shorten the line on mobile */
    }

    /* Text resizing */
    .single-post .entry-content p, .page .entry-content p {
        font-size: 16px;
        line-height: 1.7;
    }
}

/**
 * --- SOLVE_BD HEADER & CONTENT SYNC ---
 * Combined logic for Single Post and Single Page for 1000% stability
 */

/* 1. Initial State for Post & Page Header */
body.single-post .site-header,
body.page .site-header {
    padding: 10px 0 !important; /* Your confirmed perfect padding */
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

/* 2. Scrolled State: Matches Homepage logic */
body.single-post .site-header.header-scrolled,
body.page .site-header.header-scrolled {
    padding: 10px 0 !important; 
    background-color: rgba(255, 255, 255, 0.95) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}

/* 3. Syncing Typography & Buttons on Scroll */
body.single-post .header-scrolled .main-title a,
body.page .header-scrolled .main-title a {
    font-size: 19px !important;
}

body.single-post .header-scrolled .main-navigation .main-nav ul li.nav-btn-solid a,
body.page .header-scrolled .main-navigation .main-nav ul li.nav-btn-solid a,
body.single-post .header-scrolled .main-navigation .main-nav ul li.nav-btn-outline a,
body.page .header-scrolled .main-navigation .main-nav ul li.nav-btn-outline a {
    margin-top: 5px;
    padding: 10px 18px !important;
}

/* 4. Fix for Content Position: Ensuring 100% Stability */
body.single-post .site-content,
body.page .site-content {
    margin-top: 0 !important;
    padding-top: 140px !important; /* Maintaining your perfect gap */
}

/* Mobile Adjustment to maintain that perfection on small screens */
@media (max-width: 768px) {
    body.single-post .site-content,
    body.page .site-content {
        padding-top: 100px !important; /* Slightly less for mobile screens */
    }
}

/* ==========================================================================
   THE BLUEPRINT FOOTER - TOTALLY UNIQUE & EXCEPTIONAL
   ========================================================================== */

.solvebd-blueprint-footer {
    background: #ffffff;
    position: relative;
    padding: 0;
    font-family: 'Inter', sans-serif;
    border-top: 0px solid #1e293b; /* Heavy industrial top border */
}

/* ==========================================================================
   TECHNICAL DIVIDER: SHARP-CORNER MASTER WITH SOFT EDGES
   ========================================================================== */
.tech-cut-divider {
    height: 45px; 
    background: #1e293b; 
    clip-path: polygon(0 0, 15% 0, 20% 100%, 80% 100%, 85% 0, 100% 0, 100% 10%, 0 10%);
    margin-bottom: 39px;
    position: relative;
    overflow: hidden;
}

/* The Static Path - Perfect Guide */
.tech-cut-divider::before {
    content: '';
    position: absolute;
    top: 69%; 
    left: 20%;
    width: 60%;
    height: 25px; 
    transform: translateY(-50%);
    border-top: 1.5px solid rgba(184, 134, 11, 0.2);
    border-left: 1.5px solid rgba(184, 134, 11, 0.2);
    border-right: 1.5px solid rgba(184, 134, 11, 0.2);
    border-radius: 12px 12px 0 0;
    box-sizing: border-box;
}

/* The Pulse - Sharp Logic with Soft Edges */
.tech-cut-divider::after {
    content: '';
    position: absolute;
    top: 69%; 
    left: 20%;
    width: 60%;
    height: 25px;
    transform: translateY(-50%);
    box-sizing: border-box;
    
    /* Solid Border for Sharpness */
    border-top: 1.5px solid #daa520;
    border-left: 1.5px solid #daa520;
    border-right: 1.5px solid #daa520;
    border-radius: 12px 12px 0 0;
    box-shadow: 0 0 8px rgba(218, 165, 32, 0.4);
    
    /* MAGIC: This makes the two ends soft and thin */
    -webkit-mask-image: radial-gradient(circle at center, black 40%, transparent 100%);
    mask-image: radial-gradient(circle at center, black 40%, transparent 100%);
    -webkit-mask-size: 80px 80px; /* Size of the soft pulse window */
    mask-size: 80px 80px;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;

    /* Combine Clip-path for path logic and Mask for soft edges */
    animation: sharpSoftFlow 8s infinite linear;
}

/* Precision Animation: Moving both Clip-path and Mask together */
@keyframes sharpSoftFlow {
    /* 1. Climb Up (Left Side) */
    0% { 
        clip-path: inset(100% 99% 0 0); 
        -webkit-mask-position: -40px 100%;
        opacity: 0;
    }
    5% { opacity: 1; }
    20% { 
        clip-path: inset(0 99% 0 0);
        -webkit-mask-position: -40px 0%; 
    }
    
    /* 2. Corner Turn & Slide Across */
    25% { 
        clip-path: inset(0 95% 95% 0);
        -webkit-mask-position: 0% 0%; 
    }
    50% {
        clip-path: inset(0 50% 95% 0);
        -webkit-mask-position: 50% 0%; 
    }
    75% { 
        clip-path: inset(0 0 95% 0);
        -webkit-mask-position: 100% 0%; 
    }
    
    /* 3. Corner Turn & Drop Down */
    80% { 
        clip-path: inset(0 0 0 99%);
        -webkit-mask-position: 100% 0%; 
    }
    95% { 
        clip-path: inset(0 0 0 99%); 
        -webkit-mask-position: 100% 100%;
        opacity: 1;
    }
    100% { 
        clip-path: inset(100% 0 0 99%); 
        -webkit-mask-position: 100% 120%;
        opacity: 0;
    }
}

/* 2. Blueprint Wrap & Grid */
.blueprint-wrap {
    display: grid;
    grid-template-columns: 1.5fr 2fr 1fr;
    gap: 0; /* No gap for blueprint feel */
    border: 1px solid #e2e8f0;
    margin-bottom: 39px;
}

.blueprint-cell {
    padding: 40px;
    border-right: 1px solid #e2e8f0;
    position: relative;
}

.blueprint-cell:last-child { border-right: none; }

.blueprint-label {
    font-family: 'Fira Code', monospace;
    font-size: 10px;
    font-weight: 800;
    color: #94a3b8;
    margin-bottom: 30px;
}

/* Branding Logic */
.blueprint-logo { font-size: 35px; font-weight: 900; letter-spacing: -2px; margin-bottom: 15px; }
.blueprint-logo span { color: #0061ff; }
.blueprint-desc { font-size: 14px; color: #64748b; line-height: 1.6; max-width: 280px; }

/* Nodes Grid */
.nodes-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.node-group h5 { font-size: 11px; font-weight: 900; color: #1e293b; margin-bottom: 15px; }
.node-group a { 
    display: block; font-size: 14px; color: #64748b; text-decoration: none; 
    margin-bottom: 8px; font-weight: 500; transition: 0.3s;
}
.node-group a:hover { color: #0061ff; padding-left: 5px; }

/* Terminal Info */
.terminal-display {
    background: #f8fafc;
    padding: 15px;
    border-radius: 4px;
    font-family: 'Fira Code', monospace;
    font-size: 11px;
    color: #475569;
}
.terminal-line { margin-bottom: 5px; }
.pulse { color: #22c55e; font-weight: 800; animation: blink 1.5s infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* 3. Social Strip (Unique Positioning) */
.blueprint-social-strip { margin-top: 30px; display: flex; gap: 10px; }
.social-node {
    width: 35px; height: 35px; border: 1px solid #e2e8f0; border-radius: 4px;
    display: flex; align-items: center; justify-content: center;
    color: #0061ff; transition: 0.3s;
}
.social-node:hover { background: #0061ff; color: #fff; border-color: #0061ff; }

/* 4. Compact Base (#F7F8F9) */
.blueprint-base {
    background: #F7F8F9;
    padding: 25px 0;
    border-top: 1px solid #e2e8f0;
}
.base-content { display: flex; justify-content: space-between; align-items: center; }
.copyright-code { font-family: 'Fira Code', monospace; font-size: 12px; color: #94a3b8; }
.engineer-tag { font-family: 'Fira Code', monospace; font-size: 12px; font-weight: 800; color: #1e293b; }

/* Responsive */
@media (max-width: 1024px) {
    .blueprint-wrap { grid-template-columns: 1fr; }
    .blueprint-cell { border-right: none; border-bottom: 1px solid #e2e8f0; }
}

/* ==========================================================================
   SOLVEBD SIDEBAR: CRYSTAL GLASSMORPHISM (CLEAN BLUE EDITION)
   ========================================================================== */

/* 1. THE WIDGET CONTAINER: Frosted Glass Effect */
#right-sidebar .widget {
    background: rgba(255, 255, 255, 0.75) !important; 
    backdrop-filter: blur(12px); 
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.5); 
    border-radius: 12px; /* Precision radius */
    padding: 30px 25px !important;
    margin-bottom: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03); /* Soft, invisible shadow */
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

#right-sidebar .widget:hover {
    background: rgba(255, 255, 255, 0.95) !important;
    transform: translateY(-4px);
    border-color: rgba(0, 102, 255, 0.2); /* Subtle Blue Glow */
    box-shadow: 0 15px 35px rgba(0, 102, 255, 0.08);
}

/* 2. THE TITLES: Sophisticated Tech Typography */
#right-sidebar h2.wp-block-heading,
#right-sidebar .widget-title {
    font-size: 15px;
    font-weight: 700;
    color: #0f172a; /* Deep Navy text */
    letter-spacing: 0.5px;
    margin-bottom: 25px;
    padding-bottom: 12px;
    border-bottom: 1px solid #f1f5f9;
    position: relative;
}

/* Replaced Gold with Electric Blue Accent */
#right-sidebar h2.wp-block-heading::after {
    content: "";
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 35px;
    height: 2px;
    background: #0066FF; /* Professional Blue */
    border-radius: 2px;
}

/* 3. THE SEARCH: Sleek & Functional */
.wp-block-search__inside-wrapper {
    background: #f8fafc !important;
    border: 1.5px solid #e2e8f0 !important;
    border-radius: 8px !important;
    padding: 3px !important;
    transition: all 0.3s ease;
}

.wp-block-search__inside-wrapper:focus-within {
    border-color: #0066FF !important; /* Blue focus */
    box-shadow: 0 0 0 3px rgba(0, 102, 255, 0.1);
}

.wp-block-search__input {
    background: transparent !important;
    color: #334155 !important;
    font-size: 14px !important;
}

.wp-block-search__button {
    background: #0066FF !important; /* Primary Blue Button */
    color: #ffffff !important;
    border-radius: 6px !important;
    font-weight: 600 !important;
    padding: 8px 18px !important;
    font-size: 12px !important;
    transition: background 0.3s ease !important;
}

.wp-block-search__button:hover {
    background: #0052cc !important; /* Darker blue on hover */
}

/* 4. LATEST POSTS: Minimalist Node Links */
.wp-block-latest-posts__list li {
    padding: 14px 0;
    border-bottom: 1px solid #f8fafc;
}

.wp-block-latest-posts__list li a {
    color: #475569;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.6;
    text-decoration: none;
    transition: all 0.3s ease;
    display: block;
}

.wp-block-latest-posts__list li a:hover {
    color: #0066FF; /* Blue link hover */
    padding-left: 4px; /* Tiny nudge for interaction */
}

/* Recent Comments Adjustment */
.no-comments, .wp-block-latest-comments {
    color: #94a3b8;
    font-size: 13px;
    line-height: 1.5;
}

/* ==========================================================================
   SOLVEBD CUSTOM ARCHIVE: ULTRA-MODERN GRID REGISTRY
   ========================================================================== */

/* 1. Header Adjustment (Fixed 'Push' Fix) */
.solvebd-archive-header {
    position: relative;
    padding: 60px 0 40px 0;
    margin-bottom: 50px;
    border-bottom: 1px solid rgba(0, 102, 255, 0.08);
    margin-top: 140px; /* Syncing with your perfect header gap */
}

.solvebd-archive-header .page-title {
    font-size: clamp(28px, 5vw, 42px); /* Responsive size */
    font-weight: 900;
    color: #0f172a;
    letter-spacing: -1.5px;
    text-transform: uppercase;
}

.system-status {
    display: inline-block;
    font-family: 'JetBrains Mono', monospace; /* Tech font vibe */
    font-size: 11px;
    color: #0066FF;
    background: rgba(0, 102, 255, 0.05);
    padding: 4px 12px;
    border-radius: 20px;
    margin-top: 15px;
    letter-spacing: 1px;
}

/* 2. The Smart Grid Layout (3-Column Desktop, 2-Column Tablet, 1-Column Mobile) */
.solvebd-archive-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
    padding-bottom: 60px;
}

/* 3. Data Module Card: Modern Glass Style */
.archive-data-module {
    background: #ffffff;
    border: 1px solid #f1f5f9;
    border-radius: 16px;
    padding: 0; /* Removing internal padding to control layout better */
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.archive-data-module .module-inner {
    padding: 35px;
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* Hover State: The Ultra-Modern Touch */
.archive-data-module:hover {
    transform: translateY(-8px);
    border-color: rgba(0, 102, 255, 0.2);
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.08);
}

/* 4. Content Inside Module */
.entry-meta {
    font-family: monospace;
    font-size: 12px;
    color: #94a3b8;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.entry-meta .entry-date {
    color: #0066FF;
    font-weight: 700;
}

.archive-data-module .entry-title {
    font-size: 20px;
    font-weight: 750;
    line-height: 1.4;
    margin-bottom: 15px;
}

.archive-data-module .entry-title a {
    color: #1e293b;
    text-decoration: none;
    transition: color 0.3s;
}

.archive-data-module .entry-title a:hover {
    color: #0066FF;
}

.archive-data-module .entry-summary {
    font-size: 15px;
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 25px;
    flex-grow: 1; /* Pushes button to bottom */
}

/* 5. Modern Button Styling */
.read-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: monospace;
    font-size: 11px;
    font-weight: 800;
    color: #0066FF;
    text-transform: uppercase;
    text-decoration: none;
    background: #f8fafc;
    padding: 10px 20px;
    border-radius: 8px;
    width: fit-content;
    transition: all 0.3s;
}

.read-more-btn:hover {
    background: #0066FF;
    color: #ffffff;
    box-shadow: 0 5px 15px rgba(0, 102, 255, 0.3);
}

/* Responsive Fixes */
@media (max-width: 768px) {
    .solvebd-archive-grid {
        grid-template-columns: 1fr; /* Single column for mobile comfort */
        gap: 20px;
    }
    
    .solvebd-archive-header {
        margin-top: 100px;
        padding: 40px 0 20px 0;
    }
}

/* Single Single Page CSS */

/* ==========================================================================
   SOLVEBD FINAL SMART SOLUTIONS: TERMINAL + NODE CIRCUIT
   ========================================================================== */

/* 1. Terminal Laptop Style (Locked) */
.unique-solutions-hero { padding: 59px 0 59px; background: #ffffff; }
.terminal-interface { background: #ffffff; border: 1px solid #f1f5f9; border-radius: 12px; box-shadow: 0 10px 40px rgba(0, 0, 0, 0.03); font-family: 'JetBrains Mono', monospace; }
.terminal-header { background: #f8fafc; padding: 12px; border-bottom: 1px solid #f1f5f9; display: flex; align-items: center; gap: 8px; justify-content: space-between; }
.terminal-title{
    margin-left: auto;
}
.terminal-dot { width: 10px; height: 10px; border-radius: 50%; }
.terminal-dot.red { background: #ff5f57; }
.terminal-dot.yellow { background: #ffbd2e; }
.terminal-dot.green { background: #28c940; }
.terminal-body { padding: 45px; }
.typed-text { font-size: 42px !important; font-weight: 900 !important; color: #0f172a; margin-bottom: 20px; letter-spacing: -1.5px; }
.cmd-prefix { color: #0066FF; font-weight: 700; }
.cmd-output { font-size: 12px; color: #94a3b8; font-weight: 600; margin-bottom: 25px; text-transform: uppercase; }

/* 2. Circuit & Node Logic */
.core-service-registry { padding: 80px 0; background: #fcfcfc; }
.master-connection { display: flex; flex-direction: column; align-items: center; margin-bottom: 40px; position: relative; }
.master-node { width: 18px; height: 18px; background: #0066FF; border-radius: 50%; box-shadow: 0 0 15px rgba(0, 102, 255, 0.3); }

.registry-grid-2col.circuit-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 100px; position: relative; }

/* Vertical Main Lines */
.column-left::before, .column-right::after {
    content: "";
    position: absolute;
    top: 0;
    width: 2px;
    height: 100%;
    background: rgba(0, 102, 255, 0.08);
}
.column-left::before { left: -30px; }
.column-right::after { right: -30px; }

/* Horizontal Connector with Node (Circle) */
.circuit-left::before, .circuit-right::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 30px;
    height: 2px;
    background: rgba(0, 102, 255, 0.1);
    transition: all 0.3s;
}
.circuit-left::before { left: -30px; }
.circuit-right::after { right: -30px; }

/* Adding the Node Circles at Every Center Point */
.circuit-left::after, .circuit-right::before {
    content: "";
    position: absolute;
    top: calc(50% - 4px);
    width: 8px;
    height: 8px;
    background: #ffffff;
    border: 2px solid rgba(0, 102, 255, 0.2);
    border-radius: 50%;
    z-index: 5;
    transition: all 0.3s;
}
.circuit-left::after { left: -34px; } /* Circle on the left line node */
.circuit-right::before { right: -34px; } /* Circle on the right line node */

/* Hover States for Nodes and Lines */
.service-node:hover::before, .service-node:hover::after {
    background: #0066FF;
    border-color: #0066FF;
}

.service-node {
    background: #ffffff;
    border: 1px solid #f1f5f9;
    padding: 35px;
    border-radius: 16px;
    margin-bottom: 50px;
    position: relative;
    transition: all 0.4s ease;
}

.service-node:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 102, 255, 0.08);
    border-color: rgba(0, 102, 255, 0.1);
}

.node-meta { font-family: monospace; font-size: 11px; color: #0066FF; letter-spacing: 1px; margin-bottom: 10px; }
.service-node h3 { font-size: 20px; color: #1e293b; margin-bottom: 12px; }
.service-node p { color: #64748b; line-height: 1.6; font-size: 14px; }

/* Mobile Reset */
@media (max-width: 991px) {
    .registry-grid-2col.circuit-layout { grid-template-columns: 1fr; gap: 30px; }
    .column-left::before, .column-right::after, .circuit-left::before, .circuit-right::after, .circuit-left::after, .circuit-right::before { display: none; }
}

/* ==========================================================================
   SOLVEBD: SYSTEMATIC SCANNING - FINAL STACK (RADAR + NEXUS)
   ========================================================================== */

/* --- 1. ORIGINAL RUNNING RADAR HERO (LOCKED) --- */
.scanning-hero {
    padding: 59px 0 59px;
    background: #ffffff;
    border-bottom: 1px solid #f1f5f9;
}

.radar-interface {
    display: flex;
    align-items: center;
    gap: 60px;
}

.radar-animation {
    position: relative;
    width: 200px;
    height: 200px;
    border: 2px solid rgba(0, 102, 255, 0.05);
    border-radius: 50%;
    flex-shrink: 0;
}

.radar-circle {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 100px; height: 100px;
    border: 1px solid rgba(0, 102, 255, 0.1);
    border-radius: 50%;
}

.radar-sweep {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: conic-gradient(from 0deg, transparent, rgba(0, 102, 255, 0.1));
    border-radius: 50%;
    animation: radarRotation 4s linear infinite; /* THE RUNNING RADAR MAGIC */
}

.radar-node {
    position: absolute;
    top: 20px; left: 50%;
    width: 6px; height: 6px;
    background: #0066FF;
    border-radius: 50%;
    box-shadow: 0 0 10px #0066FF;
}

@keyframes radarRotation {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.radar-text h1 { font-size: 48px; font-weight: 900; color: #0f172a; margin: 15px 0; }
.tech-tag { font-family: monospace; color: #0066FF; font-weight: 700; letter-spacing: 2px; }

/* --- 2. ULTRA-MODERN TOOLS NEXUS --- */
.ultra-tools-lab { padding: 100px 0; background: #fcfcfc; position: relative; }
.lab-header { margin-bottom: 50px; display: flex; justify-content: center; }

.live-status-bar { 
    font-family: monospace; font-size: 11px; background: #0f172a; color: #fff; 
    padding: 6px 15px; border-radius: 30px; letter-spacing: 1.5px; 
    display: flex; align-items: center; gap: 8px; 
}

.pulse-dot { width: 8px; height: 8px; background: #22c55e; border-radius: 50%; animation: pulse 1.5s infinite; }
@keyframes pulse { 0% { opacity: 1; } 50% { opacity: 0.3; } 100% { opacity: 1; } }

.tools-nexus {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    position: relative;
    border-top: 1px solid rgba(0, 102, 255, 0.05);
}

.tool-hub-item {
    position: relative;
    padding: 50px;
    background: transparent;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    border-right: 1px solid rgba(0, 102, 255, 0.05);
    border-bottom: 1px solid rgba(0, 102, 255, 0.05);
}

.tool-hub-item:last-child { border-right: none; }

/* Connector Reveal on Hover */
.hub-connector {
    position: absolute;
    top: -1px; left: 50%;
    width: 2px; height: 0;
    background: #0066FF;
    transition: height 0.4s;
}

.tool-hub-item:hover .hub-connector { height: 40px; }

.hub-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 30px; }
.tool-id { font-family: monospace; font-size: 10px; color: #94a3b8; }
.tool-icon-wrap { font-size: 32px; opacity: 0.4; transition: 0.4s; }

.tool-hub-item h3 { font-size: 24px; font-weight: 850; color: #0f172a; margin-bottom: 18px; }
.tool-hub-item p { color: #64748b; font-size: 15px; line-height: 1.7; margin-bottom: 40px; min-height: 80px; }

.hub-footer { display: flex; flex-direction: column; gap: 20px; }
.data-stream { font-family: monospace; font-size: 10px; color: #0066FF; font-weight: 700; opacity: 0.5; }

.nexus-btn {
    display: inline-block; padding: 14px 24px; background: #ffffff;
    border: 1px solid #f1f5f9; color: #0f172a !important; font-family: monospace;
    font-size: 11px; font-weight: 700; text-align: center; border-radius: 4px; transition: 0.3s;
}

/* Master Hover Effect */
.tool-hub-item:hover {
    background: #ffffff;
    box-shadow: 0 40px 80px rgba(0, 102, 255, 0.06);
    z-index: 5;
}

.tool-hub-item:hover .tool-icon-wrap { transform: translateY(-10px) scale(1.2); opacity: 1; }
.tool-hub-item:hover .nexus-btn { background: #0066FF; color: #fff !important; border-color: #0066FF; }

/* Mobile Reset */
@media (max-width: 991px) {
    .radar-interface { flex-direction: column; text-align: center; gap: 30px; }
    .tools-nexus { grid-template-columns: 1fr; border-top: none; }
    .tool-hub-item { border-right: none; padding: 40px 25px; }
}

/* ==========================================================================
   SOLVEBD: ARCHIVE - THE MATRIX ARCHITECTURE (UNIQUE LOOK)
   ========================================================================== */

.legacy-matrix {
    padding: 59px 0;
    background: #ffffff;
    position: relative;
}

.matrix-wrapper {
    display: flex;
    flex-direction: column;
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.matrix-item {
    display: flex;
    align-items: flex-start;
    gap: 30px;
    position: relative;
}

/* Sidebar Index */
.matrix-index {
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    font-weight: 800;
    color: #0066FF;
    background: rgba(0, 102, 255, 0.05);
    padding: 15px 10px;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    border-radius: 4px;
    order: 1;
}

/* The Main Content Card */
.matrix-card {
    flex-grow: 1;
    background: #ffffff;
    border: 1px solid #f1f5f9;
    padding: 50px;
    position: relative;
    order: 2;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

/* Floating Corner Accents */
.matrix-card::before {
    content: "";
    position: absolute;
    top: -1px; left: -1px;
    width: 40px; height: 40px;
    border-top: 2px solid #0066FF;
    border-left: 2px solid #0066FF;
    opacity: 0;
    transition: 0.3s;
}

.matrix-item:hover .matrix-card {
    transform: translateY(-5px);
    box-shadow: 30px 30px 80px rgba(0, 102, 255, 0.05);
    border-color: rgba(0, 102, 255, 0.1);
}

.matrix-item:hover .matrix-card::before {
    opacity: 1;
}

/* Typography & Elements */
.matrix-label {
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    letter-spacing: 3px;
    color: #94a3b8;
    margin-bottom: 20px;
    display: block;
}

.matrix-card h2 {
    font-size: 36px;
    font-weight: 900;
    color: #0f172a;
    margin-bottom: 20px;
}

.matrix-card p {
    font-size: 16px;
    line-height: 1.8;
    color: #64748b;
    max-width: 100%;
    margin-bottom: 30px;
}

/* The Modern Button */
.matrix-btn {
    display: inline-block;
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    font-weight: 700;
    color: #ffffff !important;
    background: #0f172a;
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 0; /* Sharp Edges */
    transition: 0.3s;
}

.matrix-btn:hover {
    background: #0066FF;
    padding-left: 35px;
}

/* Highlighting SolveBD (The Final Node) */
.highlight-node .matrix-card {
    background: #0f172a;
    border-color: #0f172a;
}

.highlight-node .matrix-card h2,
.highlight-node .matrix-card p {
    color: #ffffff;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .matrix-item { flex-direction: column; gap: 10px; }
    .matrix-index { writing-mode: horizontal-tb; width: 100%; text-align: center; }
    .matrix-card { padding: 30px; }
    .matrix-card p { max-width: 100%; }
}