/* =========================================================
   capabilities.html — Capabilities Page
   ========================================================= */

/* ── Hero ── */
.hero-caps {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    min-height: 25vh;
    align-items: center;
    gap: 80px;
}
.hero-caps h1 {
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1.1;
    margin: 0 0 25px 0;
    letter-spacing: -1.5px;
    background: linear-gradient(180deg, #fff 0%, #a5a9b5 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.hero-caps p {
    color: var(--text-muted);
    font-size: 1.2rem;
    line-height: 1.65;
    margin: 0;
    max-width: 680px;
}

/* ── Toolpath Visual ── */
.toolpath-visual {
    border: 1px solid var(--border-color);
    background: #07080c;
    height: 320px;
    border-radius: 6px;
    position: relative;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: inset 0 0 30px rgba(0,0,0,0.8);
}
.grid-overlay {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(0, 119, 255, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 119, 255, 0.06) 1px, transparent 1px);
    background-size: 30px 30px;
}
.grid-overlay::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, transparent 0%, #07080c 80%);
}
.laser-line {
    position: absolute;
    width: 50%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--neon-green), transparent);
    top: 50%;
    left: 25%;
    box-shadow: 0 0 15px rgba(0, 255, 102, 0.4);
    animation: laserSweep 6s ease-in-out infinite;
}
/* .spindle-circle {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    border: 2px solid rgba(0, 119, 255, 0.25);
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(0, 119, 255, 0.03);
}
.spindle-circle::before {
    content: '⚙';
    font-size: 2.5rem;
    opacity: 0.4;
   
} */

/* .fa-crosshairs:before
 {
     content: '⚙';
} */

/* ── Sub Navigation ── */
.sub-nav-sticky {
    position: sticky;
    top: 79px;
    background: rgba(3, 3, 5, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    z-index: 999;
}
.sub-nav-container {
    max-width: 1600px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    gap: 60px;
    padding: 0 8%;
}
.sub-nav-link {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 20px 0;
    border-bottom: 2px solid transparent;
    display: flex;
    align-items: center;
    gap: 8px;
}
.sub-nav-link i {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.15);
}
.sub-nav-link:hover {
    color: #fff;
}
.sub-nav-link.active-sub {
    color: var(--neon-green);
    border-bottom-color: var(--neon-green);
}

/* ── Capability Detail Box ── */
.cap-detail-box {
    background: rgba(16, 18, 27, 0.65);
    border: 1px solid var(--border-color);
    backdrop-filter: blur(10px);
    border-radius: 6px;
    padding: 50px;
    margin-bottom: 40px;
    /* display: grid; */
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    position: relative;
    overflow: hidden;
}
.cap-detail-box::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.003), transparent);
    pointer-events: none;
}
.cap-detail-box h3 {
    font-size: 1.6rem;
    font-weight: 800;
    margin: 0 0 20px 0;
    display: flex;
    align-items: center;
    gap: 14px;
}
.cap-detail-box h3 i {
    color: var(--tech-blue);
}
.cap-info p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
    margin: 0 0 25px 0;
}

/* ── Spec Mini Table ── */
.spec-mini-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}
.spec-mini-table td {
    padding: 14px 10px;
    border-bottom: 1px solid var(--border-color);
    /* color: var(--text-muted); */
    font-size: 0.9rem;
}
.spec-mini-table td:first-child {
    font-family: monospace;
    /* color: #666c7a; */
    width: 140px;
    font-size: 0.75rem;
    text-transform: uppercase;
}

/* ── Spec Highlight Box ── */
.spec-highlight {
    background: rgba(0, 255, 102, 0.02);
    border: 1px solid rgba(0, 255, 102, 0.08);
    border-radius: 4px;
    padding: 25px;
}
.spec-highlight h4 {
    margin: 0 0 12px 0;
    font-size: 1rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
}
.spec-highlight h4 i {
    color: var(--neon-green);
}
.spec-highlight ul {
    margin: 0;
    padding: 0 0 0 20px;
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.8;
}

/* ── CTA ── */
.cta-recovery {
    background: linear-gradient(180deg, #07080c 0%, #020204 100%);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 70px;
    text-align: center;
    margin-top: 80px;
    position: relative;
}
.cta-recovery h2 {
    font-size: 2.2rem;
    font-weight: 900;
    margin: 0 0 15px 0;
    text-transform: uppercase;
    letter-spacing: -0.5px;
}
.cta-recovery p {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 650px;
    margin: 0 auto 40px auto;
    line-height: 1.6;
}

/* ── Tags ── */
.h-tag {
    background: #11131c;
    border: 1px solid var(--border-color);
    color: #9ea3b2;
    font-size: 0.8rem;
    padding: 6px 12px;
    border-radius: 2px;
    font-family: monospace;
}

/* ── Animations ── */
@keyframes laserSweep {
    0%, 100% { transform: translateX(-10%); opacity: 0.3; }
    50% { transform: translateX(10%); opacity: 1; }
}
@keyframes spindleSpin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ── Responsive ── */
@media (max-width: 1100px) {
    .cap-detail-box {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .hero-caps { grid-template-columns: 1fr; text-align: center; gap: 40px; }
    .hero-caps h1 { font-size: 2.2rem; }
    .hero-caps p { margin: 0 auto; max-width: 100%; }
    .sub-nav-container { justify-content: center; flex-wrap: wrap; gap: 4px; padding: 8px 12px; }
    .sub-nav-link { font-size: 0.78rem; padding: 8px 12px; white-space: nowrap; gap: 4px; border-bottom: none; }
    .sub-nav-sticky { padding: 0; top: 60px; }
    .toolpath-visual { height: 240px; }
    .cap-detail-box { padding: 30px 20px; scroll-margin-top: 140px; }
    .cap-detail-box h3 { font-size: 0.9rem; flex-wrap: wrap; }
    .spec-mini-table td { font-size: 0.85rem; }
    .cta-recovery { padding: 40px 20px; }
    .cta-recovery h2 { font-size: 1.6rem; }
}
