:root {
    --primary: #2563eb;
    --secondary: #10b981;
    --dark: #1e293b;
    --light: #f8fafc;
    --gray: #64748b;
    --ciso: #3b82f6;
    --security-analyst: #ef4444;
    --compliance-officer: #8b5cf6;
    --it-manager: #f97316;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

body {
    background-color: var(--light);
    color: var(--dark);
    line-height: 1.6;
}

header {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    padding: 2rem 0;
    text-align: center;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 0;
}

h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--primary);
}

.tagline {
    font-size: 1.5rem;
    font-weight: 600;
    max-width: 700px;
    margin: 0 auto 1rem;
}

.subtitle {
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto 2rem;
    opacity: 0.9;
}

.filter-container {
    background-color: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
}

.filter-title {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.filter-options {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.filter-btn {
    background-color: white;
    border: 1px solid var(--gray);
    border-radius: 30px;
    padding: 0.5rem 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.filter-btn:hover, .filter-btn.active {
    background-color: var(--primary);
    color: white;
    border-color: var(--primary);
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.tool-card {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tool-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

.tool-header {
    padding: 1.5rem;
    border-bottom: 1px solid #e2e8f0;
}

.tool-title {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--dark);
}

.tool-description {
    color: var(--gray);
    font-size: 0.95rem;
    min-height: 3rem;
}

.tool-tags {
    padding: 0 1.5rem;
    margin: 1rem 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tag {
    padding: 0.25rem 0.75rem;
    border-radius: 30px;
    font-size: 0.75rem;
    font-weight: 500;
    color: white;
}

.tag-ciso { background-color: var(--ciso); }
.tag-security-analyst { background-color: var(--security-analyst); }
.tag-compliance-officer { background-color: var(--compliance-officer); }
.tag-it-manager { background-color: var(--it-manager); }

.tool-footer {
    padding: 1rem 1.5rem;
    background-color: #f8fafc;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.tool-pricing {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--gray);
}

.try-btn {
    padding: 0.5rem 1rem;
    background-color: var(--primary);
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 500;
    transition: background-color 0.3s ease;
    text-decoration: none;
}

.try-btn:hover {
    background-color: #1d4ed8;
}

.cta-container {
    background-color: var(--dark);
    color: white;
    text-align: center;
    padding: 4rem 0;
    margin-top: 4rem;
}

.cta-title {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.cta-text {
    max-width: 600px;
    margin: 0 auto 2rem;
    font-size: 1.1rem;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.cta-btn {
    padding: 0.75rem 2rem;
    background-color: var(--secondary);
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 1.1rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.cta-btn:hover {
    background-color: #059669;
}

.cta-btn-secondary {
    padding: 0.75rem 2rem;
    background-color: transparent;
    color: white;
    border: 2px solid white;
    border-radius: 4px;
    font-size: 1.1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cta-btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

footer {
    background-color: var(--dark);
    color: var(--light);
    padding: 2rem 0;
    text-align: center;
}

.hidden {
    display: none;
}

/* Modal styles */
.tool-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    padding: 2rem;
}

.tool-modal {
    background-color: white;
    border-radius: 8px;
    width: 100%;
    max-width: 800px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
}

.modal-header {
    padding: 1.5rem;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    background-color: white;
    z-index: 1;
}

.modal-header h2 {
    margin: 0;
    color: var(--primary);
}

.close-modal {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--gray);
    transition: color 0.3s ease;
}

.close-modal:hover {
    color: var(--dark);
}

.modal-body {
    padding: 1.5rem;
    flex-grow: 1;
}

.modal-description {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: var(--dark);
}

.modal-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.modal-details h3 {
    margin: 1.5rem 0 1rem;
    color: var(--dark);
}

.modal-details ul {
    padding-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.modal-details li {
    margin-bottom: 0.5rem;
}

.modal-footer {
    padding: 1.5rem;
    border-top: 1px solid #e2e8f0;
    display: flex;
    justify-content: flex-end;
    position: sticky;
    bottom: 0;
    background-color: white;
}

.try-btn.big {
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
}

.details-btn {
    padding: 0.5rem 1rem;
    background-color: transparent;
    color: var(--primary);
    border: 1px solid var(--primary);
    border-radius: 4px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
    margin-left: 0.5rem;
}

.details-btn:hover {
    background-color: var(--primary);
    color: white;
}

@media (max-width: 768px) {
    .tools-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .tool-modal-overlay {
        padding: 1rem;
    }
} 