/* Layout styles for AI Safety Oversight */

/* Container */
.container {
    max-width: 80rem;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 640px) {
    .container {
        padding: 0 1.5rem;
    }
}

@media (min-width: 1024px) {
    .container {
        padding: 0 2rem;
    }
}

/* Main layout */
.page-wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

.main-content {
    flex-grow: 1;
    padding-top: 6rem;
    padding-bottom: 3rem;
    position: relative;
    z-index: 10;
}

/* Navigation */
.nav-header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 50;
    height: 4rem;
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.nav-logo {
    width: 2rem;
    height: 2rem;
    border: 1px solid #f59e0b;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(245, 158, 11, 0.1);
}

.nav-links {
    display: none;
    margin-left: 2.5rem;
    gap: 2rem;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.875rem;
}

@media (min-width: 768px) {
    .nav-links {
        display: flex;
    }
}

.nav-link {
    color: #cbd5e1;
    transition: color 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
    color: #f59e0b;
}

/* Grid layouts */
.grid-2 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .grid-2 {
        grid-template-columns: repeat(2, 1fr);
    }
}

.grid-3 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .grid-3 {
        grid-template-columns: repeat(3, 1fr);
    }
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

@media (min-width: 768px) {
    .grid-4 {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Section spacing */
.section {
    margin-bottom: 5rem;
}

.section-header {
    margin-bottom: 1.5rem;
}

.section-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #f1f5f9;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.section-title::before {
    content: '';
    width: 0.5rem;
    height: 2rem;
    background: #f59e0b;
    border-radius: 2px;
}

.section-subtitle {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.75rem;
    color: #64748b;
    margin-top: 0.25rem;
}

/* Hero section */
.hero {
    text-align: center;
    margin-bottom: 4rem;
}

.hero-title {
    font-size: 2.25rem;
    line-height: 1.2;
    margin-bottom: 1rem;
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 3.75rem;
    }
}

.hero-subtitle {
    font-size: 1.125rem;
    color: #94a3b8;
    max-width: 42rem;
    margin: 0 auto 2rem;
    font-weight: 300;
}

.hero-ctas {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
    align-items: center;
}

@media (min-width: 640px) {
    .hero-ctas {
        flex-direction: row;
    }
}

/* Footer */
.footer {
    border-top: 1px solid #1e293b;
    background: #020617;
    padding-top: 3rem;
    padding-bottom: 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr 1fr;
    }
}

.footer-brand {
    font-family: 'JetBrains Mono', monospace;
    font-weight: 700;
    color: #f1f5f9;
}

.footer-tagline {
    font-size: 0.75rem;
    color: #64748b;
    margin-top: 0.5rem;
}

.footer-col h5 {
    color: #e2e8f0;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.footer-col ul {
    list-style: none;
}

.footer-col li {
    margin-bottom: 0.5rem;
}

.footer-col a {
    font-size: 0.875rem;
    color: #94a3b8;
}

.footer-bottom {
    border-top: 1px solid #0f172a;
    padding-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: space-between;
    align-items: center;
}

@media (min-width: 768px) {
    .footer-bottom {
        flex-direction: row;
    }
}

.footer-copyright {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.75rem;
    color: #475569;
}

.footer-status {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.footer-status-dot {
    width: 0.5rem;
    height: 0.5rem;
    background: #22c55e;
    border-radius: 50%;
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.footer-status-text {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.75rem;
    color: #64748b;
}

/* Table styles */
.data-table {
    width: 100%;
    border-collapse: collapse;
}

.data-table thead {
    background: rgba(15, 23, 42, 0.5);
}

.data-table th {
    padding: 1rem 1.5rem;
    text-align: left;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.75rem;
    font-weight: 500;
    color: #f59e0b;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.data-table tbody {
    background: rgba(15, 23, 42, 0.2);
}

.data-table td {
    padding: 1rem 1.5rem;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.875rem;
    color: #94a3b8;
    border-top: 1px solid #1e293b;
}

.data-table tr:hover {
    background: rgba(30, 41, 59, 0.5);
}

.data-table .model-name {
    color: #e2e8f0;
    font-weight: 700;
}

/* Page header for inner pages */
.page-header {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #1e293b;
}

.page-title {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.page-description {
    font-size: 1rem;
    color: #94a3b8;
    max-width: 48rem;
}

/* Utility classes */
.text-center {
    text-align: center;
}

.text-amber {
    color: #f59e0b;
}

.text-slate {
    color: #94a3b8;
}

.mt-4 {
    margin-top: 1rem;
}

.mb-4 {
    margin-bottom: 1rem;
}

.hidden {
    display: none;
}

.flex {
    display: flex;
}

.items-center {
    align-items: center;
}

.justify-between {
    justify-content: space-between;
}

.gap-2 {
    gap: 0.5rem;
}

.gap-4 {
    gap: 1rem;
}
