/* ??? CORE HQMS PREMIUM LANDING PANEL SPECIFICATIONS */
.hqms-widget-container {
    background: #1E293B;
    border: 1px solid #334155;
    border-radius: 20px;
    padding: 32px;
    margin-bottom: 40px;
    font-family: system-ui, -apple-system, sans-serif;
    color: #F8FAFC;
    box-shadow: 0 10px 30px -10px rgba(0,0,0,0.3);
}

.hqms-widget-title {
    font-size: 22px;
    font-weight: 800;
    margin-top: 0;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.hqms-widget-subtitle {
    color: #94A3B8;
    font-size: 14px;
    margin-bottom: 24px;
    line-height: 1.5;
}

/* ?? MODULE 1 SPECIFIC STYLES: GRAPHICAL SIMULATOR GRID */
.sim-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
    position: relative;
}

.sim-node {
    background: #0F172A;
    border: 2px solid #334155;
    border-radius: 16px;
    padding: 24px;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 2;
}

.sim-node.active-pulse {
    border-color: #38BDF8;
    box-shadow: 0 0 20px rgba(56, 189, 248, 0.15);
}

.sim-btn {
    background: linear-gradient(135deg, #0284C7 0%, #0369A1 100%);
    color: #FFF;
    border: none;
    padding: 12px 20px;
    font-weight: 700;
    font-size: 13.5px;
    border-radius: 8px;
    cursor: pointer;
    width: 100%;
    margin-top: 14px;
    transition: transform 0.2s, box-shadow 0.2s;
}

.sim-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(2, 132, 199, 0.3);
}

.sim-data-stream {
    position: absolute;
    height: 4px;
    background: linear-gradient(90deg, #38BDF8, #4ADE80);
    top: 50%;
    left: 0;
    width: 0%;
    z-index: 1;
    opacity: 0;
    border-radius: 10px;
}

/* ?? MODULE 2 SPECIFIC STYLES: ROI CALCULATOR SPLIT */
.calc-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}

@media (max-width: 768px) {
    .calc-split { grid-template-columns: 1fr; }
}

.calc-input-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
}

.calc-label {
    font-size: 12px;
    font-weight: 700;
    color: #94A3B8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.calc-input {
    background: #0F172A;
    border: 1px solid #475569;
    color: #FFF;
    padding: 12px;
    border-radius: 8px;
    font-size: 16px;
    outline: none;
    transition: border-color 0.2s;
}

.calc-input:focus { border-color: #38BDF8; }

.calc-display-box {
    background: #0F172A;
    border: 1px solid #334155;
    border-radius: 16px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

/* ?? MODULE 3 SPECIFIC STYLES: API INTERACTIVE FEED */
.api-tabs {
    display: flex;
    gap: 8px;
    border-bottom: 1px solid #334155;
    padding-bottom: 12px;
    margin-bottom: 16px;
}

.api-tab-btn {
    background: #0F172A;
    border: 1px solid #334155;
    color: #94A3B8;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
}

.api-tab-btn.active {
    background: #334155;
    color: #FFF;
    border-color: #475569;
}

.api-code-block {
    background: #0F172A;
    border: 1px solid #1E293B;
    border-radius: 12px;
    padding: 18px;
    font-family: 'Courier New', Courier, monospace;
    font-size: 13px;
    line-height: 1.5;
    color: #38BDF8;
    overflow-x: auto;
    margin: 0;
}

/* ?? DYNAMIC FLOATING MOCKUP LAYER TOPOLOGY ARCHITECTURE */
.hero-split-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 48px;
    padding: 60px 0;
}

@media (max-width: 992px) {
    .hero-split-wrapper { flex-direction: column; text-align: center; }
}

/* ?? THE LEFT GRAPHIC TAB POSITION CONTAINER */
.hero-graphics-tab {
    flex: 1;
    width: 100%;
    max-width: 540px;
    height: 400px;
    position: relative;
    display: block;
    margin: 0 auto;
}

/* Baseline specifications for both layered elements */
.floating-mockup-asset {
    position: absolute;
    border-radius: 5px;
  /*   box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.6);
   border: 1px solid var(--border-muted, #334155);*/
    transition: filter 0.3s, transform 0.3s;
    will-change: transform; /* ? Forces hardware GPU acceleration natively */
}

/* ??? LAYER 1: THE TOP COMPONENT (Primary Panel View) */
.mockup-top-layer {
    width: 15%;
    top: 10%;
    left: 0%;
    z-index: 5;
    animation: glideSmoothTop 6s ease-in-out infinite;
}

/* ??? LAYER 2: THE SIDE COMPONENT (Secondary Telemetry Panel) */
.mockup-side-layer {
    width: 45%;
    top: -15%;
    right: 0%;
    z-index: 6;
    border-color: var(--accent-blue, #38BDF8); /* Gilded border highlight */
    animation: glideSmoothSide 7s ease-in-out infinite;
}

/* Subtle mouse hover interactions */
.floating-mockup-asset:hover {
    filter: brightness(1.1);
    z-index: 10;
}

/* ?? PURE CSS3 GEOMETRIC RADAR GLIDE KEYFRAMES */
@keyframes glideSmoothTop {
    0% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-12px) rotate(0.5deg); }
    100% { transform: translateY(0px) rotate(0deg); }
}

@keyframes glideSmoothSide {
    0% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(14px) rotate(-0.5deg); }
    100% { transform: translateY(0px) rotate(0deg); }
}
