/* Tools Specific Styles */
.tools-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    padding-top: 6rem;
}

/* Home Logo Styles */
.home-logo {
    position: fixed;
    top: 2rem;
    left: 2rem;
    z-index: 100;
    cursor: pointer;
    transition: all 0.3s ease;
    filter: drop-shadow(0 0 10px rgba(139, 92, 246, 0.3));
    background: rgba(10, 10, 10, 0.8);
    border-radius: 12px;
    padding: 0.5rem;
    border: 1px solid var(--light-gray);
}

.home-logo:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 0 15px rgba(139, 92, 246, 0.5));
    border-color: var(--primary);
}

.logo-img {
    width: 48px;
    height: 48px;
    display: block;
    border-radius: 8px;
}

.tools-header {
    text-align: center;
    margin-bottom: 3rem;
}

.tools-header h1 {
    font-size: 3rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-light), var(--primary), var(--primary-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.tools-subtitle {
    font-size: 1.2rem;
    color: var(--text);
    font-weight: 300;
}

/* Tools Grid */
.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.tool-card {
    background: var(--dark);
    border: 1px solid var(--light-gray);
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.tool-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(139, 92, 246, 0.1), transparent);
    transition: left 0.6s ease;
}

.tool-card:hover::before {
    left: 100%;
}

.tool-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary);
    box-shadow: 0 10px 30px rgba(139, 92, 246, 0.2);
}

.tool-card.coming-soon {
    opacity: 0.7;
    filter: grayscale(0.3);
}

.tool-card.coming-soon:hover {
    transform: none;
    border-color: var(--light-gray);
    box-shadow: none;
}

.tool-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-align: center;
    filter: drop-shadow(0 0 10px rgba(139, 92, 246, 0.3));
}

.tool-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--white);
    text-align: center;
}

.tool-content p {
    color: var(--text);
    text-align: center;
    line-height: 1.4;
    margin-bottom: 1.5rem;
}

.tool-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--light-gray);
}

.tool-category {
    background: rgba(139, 92, 246, 0.1);
    color: var(--primary);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.tool-btn {
    background: var(--primary);
    color: var(--white);
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.tool-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.coming-soon-badge {
    background: rgba(234, 179, 8, 0.1);
    color: #eab308;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    border: 1px solid rgba(234, 179, 8, 0.3);
}

/* Tab Cloaker Modal */
.cloaker-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 10, 10, 0.95);
    z-index: 2000;
    justify-content: center;
    align-items: center;
}

.cloaker-modal.active {
    display: flex;
}

.cloaker-content {
    background: var(--dark);
    border: 1px solid var(--light-gray);
    border-radius: 16px;
    padding: 2.5rem;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
}

.cloaker-content h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-align: center;
}

.cloaker-presets {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 1rem;
    margin: 2rem 0;
}

.preset-btn {
    background: var(--dark);
    border: 2px solid var(--light-gray);
    border-radius: 12px;
    padding: 1.5rem 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.preset-btn:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
}

.preset-btn.active {
    border-color: var(--primary);
    background: rgba(139, 92, 246, 0.1);
}

.preset-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    display: block;
}

.preset-name {
    font-weight: 600;
    color: var(--white);
    font-size: 0.9rem;
}

.custom-cloaker {
    margin: 2rem 0;
}

.custom-cloaker h3 {
    color: var(--white);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.custom-input {
    width: 100%;
    padding: 1rem;
    background: var(--black);
    border: 2px solid var(--light-gray);
    border-radius: 8px;
    color: var(--white);
    margin-bottom: 1rem;
}

.custom-input:focus {
    outline: none;
    border-color: var(--primary);
}

.cloaker-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

.cloaker-btn {
    padding: 1rem 2rem;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cloaker-btn.primary {
    background: var(--primary);
    color: var(--white);
}

.cloaker-btn.primary:hover {
    background: var(--primary-dark);
}

.cloaker-btn.secondary {
    background: var(--gray);
    color: var(--white);
    border: 1px solid var(--light-gray);
}

.cloaker-btn.secondary:hover {
    background: var(--light-gray);
}

/* Responsive */
@media (max-width: 768px) {
    .tools-container {
        padding: 1rem;
        padding-top: 5rem;
    }
    
    .home-logo {
        top: 1rem;
        left: 1rem;
    }
    
    .logo-img {
        width: 40px;
        height: 40px;
    }
    
    .tools-header h1 {
        font-size: 2rem;
    }
    
    .tools-grid {
        grid-template-columns: 1fr;
    }
    
    .cloaker-presets {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .cloaker-actions {
        flex-direction: column;
    }
    
    .cloaker-btn {
        width: 100%;
        justify-content: center;
    }
}

/* Add these to your existing tools.css */

/* Tool Controls */
.tool-controls {
    margin-top: 1.5rem;
}

.tool-input {
    width: 100%;
    padding: 0.75rem 1rem;
    background: var(--black);
    border: 2px solid var(--light-gray);
    border-radius: 8px;
    color: var(--white);
    margin-bottom: 1rem;
    font-size: 0.9rem;
    font-family: inherit;
}

.tool-input[type="textarea"],
textarea.tool-input {
    min-height: 100px;
    resize: vertical;
    font-family: inherit;
}

.tool-input:focus {
    outline: none;
    border-color: var(--primary);
}

.tool-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.tool-btn {
    background: var(--primary);
    color: var(--white);
    border: none;
    padding: 0.75rem 1.25rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    flex: 1;
    justify-content: center;
    min-width: 120px;
}

.tool-btn.primary {
    background: var(--primary);
}

.tool-btn.primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.tool-btn.secondary {
    background: var(--gray);
    border: 1px solid var(--light-gray);
}

.tool-btn.secondary:hover {
    background: var(--light-gray);
    transform: translateY(-2px);
}

/* Quick Buttons */
.quick-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    margin-top: 1rem;
}

.quick-btn {
    background: var(--dark);
    border: 1px solid var(--light-gray);
    border-radius: 8px;
    padding: 0.75rem;
    color: var(--text);
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.8rem;
    font-weight: 600;
}

.quick-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-2px);
}

/* Active Windows */
.active-windows {
    margin-top: 3rem;
    padding: 2rem;
    background: var(--dark);
    border: 1px solid var(--light-gray);
    border-radius: 16px;
}

.active-windows h3 {
    color: var(--white);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.windows-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.window-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: var(--black);
    border: 1px solid var(--light-gray);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.window-item:hover {
    border-color: var(--primary);
}

.window-info {
    flex: 1;
}

.window-title {
    font-weight: 600;
    color: var(--white);
    margin-bottom: 0.25rem;
}

.window-url {
    color: var(--text);
    font-size: 0.8rem;
    font-family: monospace;
}

.window-actions {
    display: flex;
    gap: 0.5rem;
}

.window-btn {
    background: none;
    border: 1px solid var(--light-gray);
    border-radius: 6px;
    padding: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--text);
}

.window-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.no-windows {
    text-align: center;
    color: var(--text);
    padding: 2rem;
    opacity: 0.7;
}

/* Status Messages */
.status-message {
    padding: 1rem;
    border-radius: 8px;
    margin: 1rem 0;
    text-align: center;
    font-weight: 600;
}

.status-success {
    background: rgba(34, 197, 94, 0.1);
    color: #22c55e;
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.status-error {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

/* Remove the coming-soon styles since everything should be visible now */
.tool-card.coming-soon {
    opacity: 1;
    filter: none;
}

.tool-card.coming-soon:hover {
    transform: translateY(-8px);
    border-color: var(--primary);
    box-shadow: 0 10px 30px rgba(139, 92, 246, 0.2);
}