/* ==========================================================================
   NEPTON STORE LLC - Components, Modals, Drawer & Animations
   ========================================================================== */

/* Glass Cards & Elevators */
.glass-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 2rem;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: var(--shadow-card);
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
}

.glass-card:hover {
    border-color: var(--border-glow);
    transform: translateY(-4px);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.7), 0 0 20px rgba(0, 229, 255, 0.15);
}

/* Feature Icons */
.feature-icon-box {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, rgba(0, 229, 255, 0.15) 0%, rgba(37, 99, 235, 0.2) 100%);
    border: 1px solid rgba(0, 229, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--cyan);
    transition: var(--transition-fast);
}

.glass-card:hover .feature-icon-box {
    background: linear-gradient(135deg, var(--cyan) 0%, var(--cobalt) 100%);
    color: #050B14;
    box-shadow: 0 0 20px rgba(0, 229, 255, 0.4);
    transform: scale(1.05);
}

/* Hero Section */
.hero-section {
    position: relative;
    padding: 5rem 0 6rem 0;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 3.5rem;
    align-items: center;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.35);
    padding: 0.4rem 1.15rem;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    color: var(--emerald);
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.hero-title {
    margin-bottom: 1.5rem;
    line-height: 1.15;
}

.hero-description {
    font-size: 1.15rem;
    line-height: 1.7;
    margin-bottom: 2.25rem;
    max-width: 580px;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    flex-wrap: wrap;
    margin-bottom: 2.5rem;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-subtle);
}

.stat-item h3 {
    font-size: 1.85rem;
    color: var(--text-pure);
    font-family: 'JetBrains Mono', monospace;
    font-weight: 700;
}

.stat-item p {
    font-size: 0.825rem;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Hero Media Display - 3D Glass HUD Showcase */
.hero-visual-wrap {
    position: relative;
    border-radius: var(--radius-xl);
    width: 100%;
}

.hero-visual-frame {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    border: 1px solid rgba(0, 229, 255, 0.35);
    box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.9), 0 0 35px rgba(0, 229, 255, 0.25);
    background: #0A0F1D;
}

.hero-visual-frame img {
    width: 100%;
    height: 100%;
    min-height: 420px;
    max-height: 480px;
    object-fit: cover;
    display: block;
    transition: var(--transition-smooth);
}

.hero-visual-wrap:hover .hero-visual-frame img {
    transform: scale(1.03);
}

/* Floating Glass HUD 1: Top Right Lab Burn-In Badge */
.hero-hud-top {
    position: absolute;
    top: 18px;
    right: 18px;
    background: rgba(10, 15, 29, 0.88);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(16, 185, 129, 0.45);
    border-radius: var(--radius-full);
    padding: 0.45rem 1.15rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.76rem;
    font-weight: 700;
    color: #10B981;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.7), 0 0 15px rgba(16, 185, 129, 0.3);
    z-index: 4;
}

/* Floating Glass HUD 2: Top Left ECC Badge */
.hero-hud-left {
    position: absolute;
    top: 18px;
    left: 18px;
    background: rgba(10, 15, 29, 0.88);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(0, 229, 255, 0.4);
    border-radius: var(--radius-full);
    padding: 0.45rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.74rem;
    font-weight: 600;
    color: var(--cyan);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.7), 0 0 15px rgba(0, 229, 255, 0.25);
    z-index: 4;
}

/* Floating Glass HUD 3: Bottom Glass Bar */
.hero-hud-bottom {
    position: absolute;
    bottom: 18px;
    left: 18px;
    right: 18px;
    background: rgba(10, 15, 29, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 229, 255, 0.35);
    border-radius: var(--radius-md);
    padding: 0.9rem 1.25rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.8), 0 0 20px rgba(0, 229, 255, 0.2);
    z-index: 4;
}

@media (max-width: 640px) {
    .hero-hud-top, .hero-hud-left {
        font-size: 0.68rem;
        padding: 0.35rem 0.75rem;
        top: 12px;
    }
    .hero-hud-bottom {
        bottom: 12px;
        left: 12px;
        right: 12px;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.6rem;
    }
    .hero-hud-bottom button {
        width: 100%;
        justify-content: center;
    }
}

/* Slide-out Cart Drawer */
.cart-drawer-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(6px);
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-normal);
}

.cart-drawer-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.cart-drawer {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    max-width: 440px;
    background: var(--bg-surface);
    border-left: 1px solid var(--border-light);
    box-shadow: -15px 0 35px rgba(0, 0, 0, 0.8);
    z-index: 1001;
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.cart-drawer.active {
    transform: translateX(0);
}

.cart-header {
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-subtle);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-header h3 {
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cart-close-btn {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 1.5rem;
    cursor: pointer;
    line-height: 1;
}

.cart-close-btn:hover {
    color: var(--text-pure);
}

.cart-items-list {
    flex: 1;
    overflow-y: auto;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.cart-empty-state {
    text-align: center;
    padding: 3rem 1rem;
    color: var(--text-muted);
}

.cart-empty-state svg {
    width: 56px;
    height: 56px;
    stroke: var(--text-dim);
    margin-bottom: 1rem;
}

.cart-item {
    display: flex;
    gap: 1rem;
    background: var(--bg-primary);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 1rem;
    position: relative;
}

.cart-item-img {
    width: 68px;
    height: 68px;
    border-radius: var(--radius-sm);
    object-fit: cover;
    background: #1e293b;
}

.cart-item-info {
    flex: 1;
}

.cart-item-title {
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--text-pure);
    margin-bottom: 0.25rem;
}

.cart-item-price {
    font-family: 'JetBrains Mono', monospace;
    font-weight: 600;
    color: var(--cyan);
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
}

.cart-qty-ctrls {
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.qty-btn {
    background: rgba(255, 255, 255, 0.05);
    border: none;
    color: var(--text-main);
    width: 26px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 0.9rem;
}

.qty-btn:hover {
    background: rgba(255, 255, 255, 0.15);
}

.qty-val {
    width: 32px;
    text-align: center;
    font-size: 0.85rem;
    font-family: 'JetBrains Mono', monospace;
    font-weight: 600;
}

.cart-item-remove {
    position: absolute;
    top: 10px;
    right: 10px;
    background: transparent;
    border: none;
    color: var(--text-dim);
    cursor: pointer;
    font-size: 1.1rem;
}

.cart-item-remove:hover {
    color: #EF4444;
}

.cart-footer {
    padding: 1.5rem;
    background: var(--bg-surface-elevated);
    border-top: 1px solid var(--border-light);
}

.cart-calc-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.cart-calc-row.total-row {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-pure);
    border-top: 1px solid var(--border-subtle);
    padding-top: 0.75rem;
    margin-top: 0.75rem;
    margin-bottom: 1.25rem;
}

.cart-calc-row.total-row span:last-child {
    color: var(--cyan);
    font-family: 'JetBrains Mono', monospace;
}

/* Modals (Compliance & Quote) */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.82);
    backdrop-filter: blur(10px);
    z-index: 1050;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-normal);
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-xl);
    width: 100%;
    max-width: 620px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.9), 0 0 40px rgba(0, 229, 255, 0.15);
    transform: translateY(20px) scale(0.97);
    transition: var(--transition-smooth);
}

.modal-overlay.active .modal-card {
    transform: translateY(0) scale(1);
}

.modal-close-btn {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border-subtle);
    color: var(--text-muted);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.25rem;
    transition: var(--transition-fast);
}

.modal-close-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    color: var(--text-pure);
}

/* Compliance Certificate Modal Styles */
.certificate-container {
    padding: 2.5rem;
    background: radial-gradient(circle at top right, rgba(16, 185, 129, 0.1) 0%, transparent 60%), #0d1527;
    border-radius: var(--radius-xl);
}

.cert-header {
    text-align: center;
    margin-bottom: 2rem;
    border-bottom: 1px solid rgba(16, 185, 129, 0.25);
    padding-bottom: 1.5rem;
}

.cert-seal {
    width: 70px;
    height: 70px;
    margin: 0 auto 1rem auto;
    background: linear-gradient(135deg, #10B981, #047857);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 25px rgba(16, 185, 129, 0.5);
    color: #FFFFFF;
}

.cert-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
    margin-bottom: 2rem;
}

.cert-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-subtle);
    padding: 1rem;
    border-radius: var(--radius-sm);
}

.cert-item label {
    display: block;
    font-size: 0.725rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-dim);
    margin-bottom: 0.25rem;
}

.cert-item span {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-pure);
}

.cert-item.full-width {
    grid-column: span 2;
}

/* Toast Notifications */
.toast-container {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 1200;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    pointer-events: none;
}

.toast {
    background: var(--bg-surface-elevated);
    border: 1px solid var(--border-glow);
    color: var(--text-pure);
    padding: 1rem 1.5rem;
    border-radius: var(--radius-md);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.9rem;
    font-weight: 500;
    transform: translateY(20px);
    opacity: 0;
    animation: toastIn 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    pointer-events: auto;
}

@keyframes toastIn {
    to { transform: translateY(0); opacity: 1; }
}

.toast.toast-exit {
    animation: toastOut 0.3s forwards;
}

@keyframes toastOut {
    to { transform: translateY(10px); opacity: 0; }
}

/* Forms & Inputs */
.form-group {
    margin-bottom: 1.25rem;
}

.form-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 0.5rem;
}

.form-control {
    width: 100%;
    background: rgba(10, 15, 29, 0.8);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    padding: 0.75rem 1rem;
    color: var(--text-pure);
    font-family: inherit;
    font-size: 0.95rem;
    transition: var(--transition-fast);
}

.form-control:focus {
    outline: none;
    border-color: var(--cyan);
    box-shadow: 0 0 0 3px rgba(0, 229, 255, 0.2);
}

textarea.form-control {
    min-height: 110px;
    resize: vertical;
}

/* Interactive Accordion / FAQ */
.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    margin-bottom: 1rem;
    overflow: hidden;
    transition: var(--transition-normal);
}

.faq-question {
    width: 100%;
    padding: 1.25rem 1.5rem;
    background: transparent;
    border: none;
    color: var(--text-pure);
    font-size: 1.05rem;
    font-weight: 600;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.faq-chevron {
    transition: transform var(--transition-normal);
    color: var(--cyan);
}

.faq-item.active .faq-chevron {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease-out;
    padding: 0 1.5rem;
}

.faq-item.active .faq-answer {
    padding-bottom: 1.5rem;
}

/* Responsive adjustments for Components, Modals & Hero */
@media (max-width: 992px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 2.75rem;
    }
    
    .hero-visual {
        max-width: 620px;
        margin: 0 auto;
        width: 100%;
    }
    
    .cert-grid {
        grid-template-columns: 1fr;
    }
    
    .cert-item.full-width {
        grid-column: span 1;
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding: 3rem 0 4rem 0;
    }

    .hero-description {
        font-size: 1.05rem;
        margin-bottom: 1.75rem;
    }

    .stat-item h3 {
        font-size: 1.5rem;
    }

    .toast-container {
        left: 16px;
        right: 16px;
        bottom: 16px;
    }

    .toast {
        padding: 0.85rem 1.15rem;
        font-size: 0.85rem;
    }
}

@media (max-width: 640px) {
    .glass-card {
        padding: 1.35rem 1rem;
        border-radius: var(--radius-md);
    }

    .feature-icon-box {
        width: 50px;
        height: 50px;
        margin-bottom: 1rem;
    }

    .hero-floating-card {
        position: static;
        margin-top: 1rem;
        inset: auto;
        width: 100%;
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .hero-floating-card .btn {
        width: 100%;
        justify-content: center;
    }

    .hero-stats {
        grid-template-columns: 1fr 1fr;
        gap: 1.25rem;
    }

    .certificate-container {
        padding: 1.25rem 1rem;
    }

    .cert-seal {
        width: 54px;
        height: 54px;
    }

    .modal-card {
        padding: 1.25rem 0.75rem;
        border-radius: var(--radius-lg);
    }

    .modal-close-btn {
        top: 0.75rem;
        right: 0.75rem;
    }
}

@media (max-width: 480px) {
    .hero-actions {
        flex-direction: column;
        width: 100%;
        gap: 0.75rem;
    }

    .hero-actions .btn {
        width: 100%;
        justify-content: center;
    }

    .hero-badge-pill {
        font-size: 0.75rem;
        padding: 0.35rem 0.85rem;
    }

    .cart-drawer {
        width: 100%;
        max-width: 100%;
    }

    .cart-item {
        padding: 0.75rem;
        gap: 0.75rem;
    }

    .cart-item-img {
        width: 56px;
        height: 56px;
    }

    .cart-header, .cart-footer {
        padding: 1.15rem;
    }

    .cart-items-list {
        padding: 1.15rem;
    }
}

@media (max-width: 360px) {
    .hero-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .stat-item {
        border-bottom: 1px solid var(--border-subtle);
        padding-bottom: 0.75rem;
    }

    .stat-item:last-child {
        border-bottom: none;
    }
}

/* ==========================================================================
   Interactive Cookie Consent Banner & Modal
   ========================================================================== */
.cookie-banner {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%) translateY(120%);
    width: min(960px, calc(100% - 32px));
    background: rgba(10, 15, 29, 0.95);
    border: 1px solid var(--border-glow);
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.9), 0 0 30px rgba(0, 229, 255, 0.2);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 1100;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.cookie-banner.active {
    transform: translateX(-50%) translateY(0);
}

.cookie-banner-container {
    padding: 1.25rem 1.75rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.cookie-banner-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: rgba(0, 229, 255, 0.12);
    border: 1px solid rgba(0, 229, 255, 0.3);
    color: var(--cyan);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.cookie-banner-text {
    flex: 1;
}

.cookie-banner-text h5 {
    font-size: 0.95rem;
    color: var(--text-pure);
    margin-bottom: 0.25rem;
    font-weight: 700;
}

.cookie-banner-text p {
    font-size: 0.85rem;
    line-height: 1.5;
    margin: 0;
    color: var(--text-muted);
}

.cookie-banner-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .cookie-banner {
        bottom: 16px;
        width: calc(100% - 24px);
    }

    .cookie-banner-container {
        flex-direction: column;
        align-items: flex-start;
        padding: 1.25rem 1rem;
        gap: 1rem;
    }

    .cookie-banner-actions {
        width: 100%;
    }

    .cookie-banner-actions .btn {
        flex: 1;
        justify-content: center;
    }
}


/* ==========================================================================
   HYPER-MODERN CYBER UI: BENTO, COCKPIT TERMINAL & WORKFLOW STYLES
   ========================================================================== */

/* Shimmer & Ambient Glows */
@keyframes cyberSweep {
    0% { transform: translateX(-100%) rotate(25deg); }
    100% { transform: translateX(250%) rotate(25deg); }
}

@keyframes pulseBorder {
    0%, 100% { border-color: rgba(0, 229, 255, 0.3); box-shadow: 0 0 15px rgba(0, 229, 255, 0.2); }
    50% { border-color: rgba(0, 229, 255, 0.65); box-shadow: 0 0 25px rgba(0, 229, 255, 0.4); }
}

@keyframes radarSweep {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Primary Button Shimmer Effect */
.btn-primary {
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(0, 229, 255, 0.28), 0 8px 16px -4px rgba(37, 99, 235, 0.4);
}

.btn-primary::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(60deg, transparent, rgba(255, 255, 255, 0.25), transparent);
    transform: translateX(-100%) rotate(25deg);
    transition: transform 0.6s ease;
}

.btn-primary:hover::after {
    transform: translateX(100%) rotate(25deg);
}

.btn-primary:hover {
    box-shadow: 0 0 30px rgba(0, 229, 255, 0.5), 0 12px 24px -4px rgba(37, 99, 235, 0.6);
}

/* Bento Grid System */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.bento-card {
    background: rgba(16, 25, 45, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    position: relative;
    overflow: hidden;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 14px 30px -10px rgba(0, 0, 0, 0.6);
}

.bento-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--cyan), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.bento-card:hover {
    transform: translateY(-6px);
    border-color: rgba(0, 229, 255, 0.4);
    box-shadow: 0 22px 45px -10px rgba(0, 0, 0, 0.75), 0 0 25px rgba(0, 229, 255, 0.2);
}

.bento-card:hover::before {
    opacity: 1;
}

.bento-icon-wrapper {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, rgba(0, 229, 255, 0.15) 0%, rgba(37, 99, 235, 0.2) 100%);
    border: 1px solid rgba(0, 229, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    color: var(--cyan);
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.bento-card:hover .bento-icon-wrapper {
    background: linear-gradient(135deg, var(--cyan) 0%, var(--cobalt) 100%);
    color: #050B14;
    box-shadow: 0 0 20px rgba(0, 229, 255, 0.4);
    transform: scale(1.08);
}

.bento-card-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-pure);
    margin-bottom: 0.5rem;
}

.bento-card-desc {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* Workflow Steps / Roadmap */
.workflow-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.25rem;
    margin-bottom: 3rem;
    position: relative;
}

.workflow-card {
    background: rgba(10, 15, 29, 0.7);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    position: relative;
    transition: all 0.3s ease;
}

.workflow-card:hover {
    border-color: var(--cyan);
    transform: translateY(-4px);
    box-shadow: 0 10px 25px -5px rgba(0, 229, 255, 0.15);
}

.workflow-step-num {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--cyan);
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
    display: inline-block;
    padding: 0.2rem 0.5rem;
    background: rgba(0, 229, 255, 0.1);
    border-radius: 4px;
    border: 1px solid rgba(0, 229, 255, 0.25);
}

.workflow-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-pure);
    margin-bottom: 0.5rem;
}

.workflow-desc {
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* Quick Navigation Anchor Bar for Policy Pages */
.quick-nav-bar {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
    padding: 0.75rem 1rem;
    background: rgba(16, 25, 45, 0.6);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-full);
    backdrop-filter: blur(12px);
}

.quick-nav-pill {
    padding: 0.4rem 1rem;
    border-radius: var(--radius-full);
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-muted);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.2s ease;
}

.quick-nav-pill:hover {
    color: var(--cyan);
    border-color: var(--cyan);
    background: rgba(0, 229, 255, 0.08);
}

/* Cockpit Terminal Simulator */
.cockpit-terminal {
    background: #080D1A;
    border: 1px solid rgba(0, 229, 255, 0.3);
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.8), 0 0 30px rgba(0, 229, 255, 0.2);
    overflow: hidden;
    position: relative;
}

.cockpit-header {
    background: #0D162B;
    padding: 0.75rem 1.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.cockpit-dots {
    display: flex;
    gap: 6px;
}

.cockpit-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.cockpit-dot.red { background: #EF4444; }
.cockpit-dot.yellow { background: #F59E0B; }
.cockpit-dot.green { background: #10B981; }

.cockpit-title {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.78rem;
    color: var(--text-muted);
    letter-spacing: 0.05em;
}

.cockpit-body {
    padding: 1.5rem;
    font-family: 'JetBrains Mono', monospace;
}

.cockpit-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.65rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 0.82rem;
}

.cockpit-row:last-child {
    border-bottom: none;
}

.cockpit-label {
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cockpit-val {
    font-weight: 600;
}

.cockpit-val.emerald { color: #10B981; }
.cockpit-val.cyan { color: #00E5FF; }

.cockpit-meter {
    height: 6px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 3px;
    margin-top: 0.4rem;
    overflow: hidden;
    position: relative;
}

.cockpit-meter-fill {
    height: 100%;
    background: linear-gradient(90deg, #10B981, #00E5FF);
    border-radius: 3px;
    transition: width 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Cockpit Log Terminal */
.cockpit-console {
    background: rgba(0, 0, 0, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-sm);
    padding: 0.85rem;
    margin-top: 1rem;
    font-size: 0.76rem;
    line-height: 1.6;
    color: #94A3B8;
    max-height: 110px;
    overflow-y: hidden;
    position: relative;
}

.cockpit-log-line {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cockpit-log-line.success { color: #10B981; }
.cockpit-log-line.cyan { color: #00E5FF; }
.cockpit-log-line.warn { color: #F59E0B; }

.cockpit-cursor {
    display: inline-block;
    width: 7px;
    height: 13px;
    background: #00E5FF;
    vertical-align: middle;
    animation: cockpitBlink 0.9s infinite;
}

@keyframes cockpitBlink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

.cockpit-controls {
    display: flex;
    gap: 0.75rem;
    margin-top: 1rem;
}

.cockpit-btn {
    flex: 1;
    background: linear-gradient(135deg, rgba(0, 229, 255, 0.15), rgba(37, 99, 235, 0.25));
    border: 1px solid rgba(0, 229, 255, 0.4);
    color: #00E5FF;
    padding: 0.65rem 1rem;
    border-radius: var(--radius-sm);
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.78rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.cockpit-btn:hover {
    background: linear-gradient(135deg, rgba(0, 229, 255, 0.3), rgba(37, 99, 235, 0.45));
    box-shadow: 0 0 15px rgba(0, 229, 255, 0.4);
    transform: translateY(-1px);
    color: #FFFFFF;
}

/* Shimmer Button Sweep */
.btn-shimmer {
    position: relative;
    overflow: hidden;
}

.btn-shimmer::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        60deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    transform: rotate(30deg) translateX(-100%);
    animation: shimmerSweep 4s infinite cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes shimmerSweep {
    0% { transform: rotate(30deg) translateX(-150%); }
    25%, 100% { transform: rotate(30deg) translateX(150%); }
}

/* Bento Grid System Enhancements */
.bento-grid-cyber {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 1.5rem;
}

.bento-card-cyber {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 2.25rem;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.bento-card-cyber::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 229, 255, 0.35), transparent);
}

.bento-card-cyber:hover {
    border-color: rgba(0, 229, 255, 0.45);
    transform: translateY(-4px);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.8), 0 0 25px rgba(0, 229, 255, 0.15);
}

.bento-span-8 { grid-column: span 8; }
.bento-span-6 { grid-column: span 6; }
.bento-span-4 { grid-column: span 4; }
.bento-span-12 { grid-column: span 12; }

@media (max-width: 991px) {
    .bento-span-8, .bento-span-6, .bento-span-4 {
        grid-column: span 12;
    }
}

.bento-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.25rem;
}

.bento-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 0.3rem 0.75rem;
    border-radius: var(--radius-full);
    background: rgba(0, 229, 255, 0.1);
    color: var(--cyan);
    border: 1px solid rgba(0, 229, 255, 0.25);
    font-family: 'JetBrains Mono', monospace;
}

.bento-badge.emerald {
    background: rgba(16, 185, 129, 0.1);
    color: var(--emerald);
    border-color: rgba(16, 185, 129, 0.25);
}

.bento-badge.amber {
    background: rgba(245, 158, 11, 0.1);
    color: var(--amber);
    border-color: rgba(245, 158, 11, 0.25);
}

.bento-feature-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 1.25rem 0;
}

.bento-chip {
    font-size: 0.75rem;
    color: var(--text-muted);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 0.35rem 0.75rem;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

/* Cyber Engineering Pipeline */
.pipeline-track {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.25rem;
    position: relative;
    margin-top: 2rem;
}

@media (max-width: 991px) {
    .pipeline-track {
        grid-template-columns: 1fr;
    }
}

.pipeline-card {
    background: rgba(16, 25, 45, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    padding: 1.75rem 1.25rem;
    position: relative;
    backdrop-filter: blur(12px);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.pipeline-card:hover {
    border-color: var(--cyan);
    transform: translateY(-4px);
    box-shadow: 0 10px 25px -5px rgba(0, 229, 255, 0.2);
}

.pipeline-step-num {
    font-family: 'JetBrains Mono', monospace;
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--cyan);
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.pipeline-step-badge {
    font-size: 0.68rem;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    background: rgba(0, 229, 255, 0.1);
    color: var(--cyan);
    border: 1px solid rgba(0, 229, 255, 0.2);
}

.pipeline-card h4 {
    font-size: 1.05rem;
    margin-bottom: 0.5rem;
    color: var(--text-pure);
}

.pipeline-card p {
    font-size: 0.825rem;
    color: var(--text-muted);
    line-height: 1.55;
    margin-bottom: 1rem;
}

.pipeline-tools {
    margin-top: auto;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 0.72rem;
    color: var(--text-dim);
    font-family: 'JetBrains Mono', monospace;
}

/* Trust Card Holographic Seal */
.trust-hub-card {
    background: linear-gradient(135deg, rgba(16, 25, 45, 0.85) 0%, rgba(10, 15, 29, 0.95) 100%);
    border: 1px solid rgba(0, 229, 255, 0.25);
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.9);
}

.trust-hub-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(0, 229, 255, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

/* Filter Tab Bar for Hardware Catalog */
.filter-tab-bar {
    display: flex;
    gap: 0.6rem;
    flex-wrap: wrap;
    margin-bottom: 2.5rem;
    background: rgba(16, 25, 45, 0.6);
    padding: 0.5rem;
    border-radius: var(--radius-full);
    border: 1px solid var(--border-subtle);
    backdrop-filter: blur(12px);
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

.filter-tab {
    padding: 0.55rem 1.25rem;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
    background: transparent;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.filter-tab:hover {
    color: var(--text-pure);
}

.filter-tab.active {
    background: linear-gradient(135deg, var(--cyan), var(--cobalt));
    color: #050B14;
    font-weight: 700;
    box-shadow: 0 0 15px rgba(0, 229, 255, 0.4);
}
