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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f4f4f4;
}

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

/* Header and Navigation */
.header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 1rem 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.nav-brand h1 {
    font-size: 1.5rem;
    font-weight: 600;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.3s;
}

.nav-menu a:hover {
    opacity: 0.8;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 80px 20px;
    text-align: center;
}

.hero-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.hero-content p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* Tools Section */
.tools {
    padding: 60px 20px;
    background-color: #fff;
}

.tools h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 40px;
    color: #2c3e50;
}

.category {
    margin-bottom: 50px;
}

.category-title {
    font-size: 1.5rem;
    color: #667eea;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #667eea;
}

.tool-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.tool-item {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
}

.tool-item:hover {
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transform: translateY(-2px);
    border-color: #667eea;
}

.tool-item.disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.tool-item.disabled:hover {
    transform: none;
    box-shadow: none;
}

.tool-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2c3e50;
}

.tool-desc {
    font-size: 0.9rem;
    color: #666;
    flex-grow: 1;
}

.status {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: 500;
    align-self: flex-start;
}

.status.available {
    background-color: #d4edda;
    color: #155724;
}

.status.demo {
    background-color: #fff3cd;
    color: #856404;
}

.status.progress {
    background-color: #cce5ff;
    color: #004085;
}

/* Footer */
.footer {
    background-color: #2c3e50;
    color: white;
    padding: 30px 20px;
    margin-top: 60px;
}

.footer-content {
    text-align: center;
}

.footer-content p {
    margin-bottom: 15px;
}

.footer-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.footer-links a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s;
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: #667eea;
}

.footer-links .separator {
    color: #666;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-brand h1 {
        font-size: 1.2rem;
    }
    
    .nav-menu {
        gap: 1rem;
    }
    
    .hero-content h2 {
        font-size: 2rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .tool-list {
        grid-template-columns: 1fr;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 10px;
    }
    
    .footer-links .separator {
        display: none;
    }
}

@media (max-width: 480px) {
    .nav-brand h1 {
        font-size: 1rem;
    }
    
    .hero {
        padding: 50px 20px;
    }
    
    .hero-content h2 {
        font-size: 1.5rem;
    }
}
