/* Clinformatix — Blueprint Design System */
/* Tailwind handles most layout; this file covers custom components */

/* Pattern overlay */
.pattern-waves {
    background: radial-gradient(circle at 100% 100%, #6366f1 0, transparent 40%),
                radial-gradient(circle at 0% 0%, #10b981 0, transparent 40%);
    opacity: 0.15;
}

/* Spinning logo */
@keyframes spin-slow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}
.animate-spin-slow {
    animation: spin-slow 12s linear infinite;
}

/* Risk Matrix Table */
.risk-matrix-table {
    width: 100%;
    border-collapse: collapse;
    font-family: 'Inter', sans-serif;
    font-size: 0.875rem;
}
.risk-matrix-table th,
.risk-matrix-table td {
    padding: 0.75rem 1rem;
    text-align: center;
    border: 1px solid rgba(99, 102, 241, 0.2);
}
.risk-matrix-table thead th {
    background: rgba(99, 102, 241, 0.2);
    color: #c7d2fe;
    font-weight: 600;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.risk-matrix-table tbody th {
    background: rgba(99, 102, 241, 0.1);
    color: #a5b4fc;
    font-weight: 600;
    text-align: right;
    white-space: nowrap;
}
.risk-cell {
    font-weight: 700;
    font-size: 1rem;
}
.risk-cell.acceptable {
    background: rgba(34, 197, 94, 0.15);
    color: #86efac;
}
.risk-cell.tolerable {
    background: rgba(234, 179, 8, 0.15);
    color: #fde047;
}
.risk-cell.unacceptable {
    background: rgba(239, 68, 68, 0.15);
    color: #fca5a5;
}

/* Contact Form */
.form-group {
    margin-bottom: 1.25rem;
}
.form-group label {
    display: block;
    font-family: 'Inter', sans-serif;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: #818cf8;
    margin-bottom: 0.5rem;
}
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 0.75rem;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    color: #e0e7ff;
    background: rgba(99, 102, 241, 0.1);
    transition: border-color 0.2s;
    box-sizing: border-box;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #818cf8;
    box-shadow: 0 0 0 3px rgba(129, 140, 248, 0.15);
}
.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(165, 180, 252, 0.4);
}
.form-group select option {
    background: #1e1b4b;
    color: #e0e7ff;
}

/* Mobile menu overlay */
.mobile-overlay {
    position: fixed;
    inset: 0;
    background: rgba(30, 27, 75, 0.97);
    backdrop-filter: blur(12px);
    z-index: 100;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}
.mobile-overlay.active {
    opacity: 1;
    pointer-events: auto;
}
.mobile-overlay a {
    font-family: 'Inter', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: #c7d2fe;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    transition: color 0.2s;
}
.mobile-overlay a:hover {
    color: white;
}
.mobile-overlay .close-btn {
    position: absolute;
    top: 2rem;
    right: 2rem;
    color: #c7d2fe;
    font-size: 2rem;
    background: none;
    border: none;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
}

/* Smooth scroll */
html { scroll-behavior: smooth; }
