/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Orbitron', monospace;
    background: linear-gradient(135deg, #0f0f23 0%, #1a1a2e 50%, #16213e 100%);
    color: #ffffff;
    min-height: 100vh;
    line-height: 1.6;
}

/* Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* Typography */
.page-title {
    font-size: 3rem;
    font-weight: 900;
    text-align: center;
    margin-bottom: 3rem;
    background: linear-gradient(45deg, #00ffff, #00cccc, #ffffff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px rgba(0, 255, 255, 0.5);
}

/* Search Component */
.search-container {
    margin-bottom: 3rem;
    text-align: center;
}

.search-bar {
    width: 100%;
    max-width: 500px;
    padding: 15px 20px;
    background: rgba(0, 0, 0, 0.3);
    border: 2px solid #00ffff;
    border-radius: 25px;
    color: #ffffff;
    font-family: 'Orbitron', monospace;
    font-size: 16px;
    outline: none;
    box-shadow: 
        0 0 20px rgba(0, 255, 255, 0.3),
        inset 0 0 20px rgba(0, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.search-bar:focus {
    box-shadow: 
        0 0 30px rgba(0, 255, 255, 0.6),
        inset 0 0 30px rgba(0, 255, 255, 0.2);
    border-color: #00ffff;
}

.search-bar::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

/* Tools Grid */
.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 30px;
    margin-bottom: 2rem;
}

/* Tool Card */
.tool-card {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(0, 255, 255, 0.2);
    border-radius: 15px;
    padding: 25px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.tool-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(0, 255, 255, 0.1), transparent);
    transform: rotate(45deg);
    transition: all 0.3s ease;
    opacity: 0;
}

.tool-card:hover {
    transform: translateY(-5px) scale(1.02);
    border-color: #00ffff;
    box-shadow: 
        0 10px 40px rgba(0, 255, 255, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

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

/* Tool Content */
.tool-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #00ffff;
    margin-bottom: 15px;
    position: relative;
    z-index: 2;
}

.tool-description {
    color: #cccccc;
    margin-bottom: 20px;
    line-height: 1.6;
    position: relative;
    z-index: 2;
}

.tool-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
}

.tag {
    background: rgba(0, 255, 255, 0.1);
    color: #00ffff;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.75rem;
    border: 1px solid rgba(0, 255, 255, 0.3);
}

/* Access Button */
.access-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: transparent;
    color: #00ffff;
    border: 2px solid #00ffff;
    padding: 12px 24px;
    border-radius: 25px;
    font-family: 'Orbitron', monospace;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
    overflow: hidden;
    box-shadow: 
        0 0 20px rgba(0, 255, 255, 0.3),
        inset 0 0 20px rgba(0, 255, 255, 0.1);
}

.access-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.access-button:hover {
    color: #ffffff;
    background: rgba(0, 255, 255, 0.1);
    box-shadow: 
        0 0 30px rgba(0, 255, 255, 0.6),
        inset 0 0 30px rgba(0, 255, 255, 0.2);
    transform: translateY(-2px);
}

.access-button:hover::before {
    left: 100%;
}

/* Footer */
.footer {
    text-align: center;
    margin-top: 4rem;
    padding: 2rem;
    border-top: 1px solid rgba(0, 255, 255, 0.2);
    color: #888888;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.tool-card {
    animation: fadeInUp 0.6s ease forwards;
}

.tool-card:nth-child(even) {
    animation-delay: 0.1s;
}

.tool-card:nth-child(odd) {
    animation-delay: 0.2s;
}

/* Responsive Design */
@media (max-width: 768px) {
    .tools-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .page-title {
        font-size: 2rem;
    }
    
    .tool-card {
        padding: 20px;
    }
}