/* Main styles */
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background: #f8f9fa;
    color: #333;
}

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

/* Navigation Styles */
.nav-container {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.main-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.nav-logo {
    font-size: 1.4em;
    font-weight: 700;
    color: #0062cc;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-logo::before {
    content: '●';
    color: #0099ff;
    animation: pulse 2s infinite;
}

/* Hide navigation and burger menu on desktop */
.nav-toggle,
.nav-links {
    display: none;
}

/* Show burger menu only on mobile */
@media (max-width: 768px) {
    .nav-container {
        display: block;
    }

    .nav-toggle {
        display: block;
        background: none;
        border: none;
        cursor: pointer;
        padding: 10px;
        color: #0062cc;
    }

    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        padding: 20px;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
        flex-direction: column;
        gap: 10px;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links a {
        color: #333;
        text-decoration: none;
        font-weight: 500;
        padding: 12px;
        border-radius: 8px;
        transition: all 0.3s ease;
        width: 100%;
    }

    .nav-links a:hover {
        background: #f0f7ff;
        color: #0062cc;
    }
}

/* Header Styles */
header {
    background: linear-gradient(135deg, #0062cc, #0099ff);
    color: white;
    padding: 40px 0;
    text-align: center;
    margin-top: 60px;
}

header h1 {
    margin: 0;
    font-size: 2.5em;
    font-weight: 700;
}

header p {
    margin: 10px 0 0;
    font-size: 1.2em;
    opacity: 0.9;
}

/* Directory Grid */
.directory {
    padding: 60px 0;
}

.directory-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.category-card {
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #0062cc, #0099ff);
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 12px rgba(0,0,0,0.15);
}

.category-card h2 {
    margin: 0 0 15px;
    color: #1a1a1a;
    font-size: 1.5em;
}

.category-card p {
    margin: 0 0 20px;
    color: #666;
    font-size: 1em;
}

.category-card a {
    color: #0074cc;
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    transition: color 0.3s;
}

.category-card a:hover {
    color: #0062cc;
}

.category-card a::after {
    content: '→';
    margin-left: 5px;
    transition: transform 0.3s;
}

.category-card a:hover::after {
    transform: translateX(5px);
}

/* Footer */
footer {
    background: #1a1a1a;
    color: white;
    padding: 40px 0;
    text-align: center;
}

footer p {
    margin: 0;
    opacity: 0.8;
}

@keyframes pulse {
    0% { opacity: 0.6; }
    50% { opacity: 1; }
    100% { opacity: 0.6; }
}

/* Comparison table styles */
.comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin: 30px 0;
    background: white;
    border-radius: 12px;
    overflow: hidden;
}

.comparison-table th,
.comparison-table td {
    padding: 15px;
    border: 1px solid #e9ecef;
    text-align: left;
}

.comparison-table th {
    background: #f8f9fa;
    font-weight: 600;
    color: #0062cc;
}

.comparison-table tr:hover {
    background: #f8f9fa;
}

.tool-card {
    overflow: auto;
    background: #ffffff;
    border-radius: 12px;
    padding: 30px;
    margin: 20px 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.rating {
    color: #ffc107;
    font-weight: bold;
}

.price-tag {
    color: #28a745;
    font-weight: bold;
}

.feature-available {
    color: #28a745;
    font-weight: bold;
} 