/* OKO Web Portal - Minimal, clean design */

:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --bg: #ffffff;
    --bg-secondary: #f8fafc;
    --text: #0f172a;
    --text-muted: #64748b;
    --border: #e2e8f0;
    --success: #16a34a;
    --warning: #ca8a04;
    --danger: #dc2626;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
}

.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Header */
header {
    border-bottom: 1px solid var(--border);
    padding: 16px 0;
}

nav {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
}

.tagline {
    color: var(--text-muted);
    font-size: 14px;
}

/* Hero */
.hero {
    padding: 60px 0 40px;
    text-align: center;
}

.hero h1 {
    font-size: 36px;
    margin-bottom: 12px;
}

.hero p {
    color: var(--text-muted);
    font-size: 18px;
    max-width: 600px;
    margin: 0 auto;
}

/* Device Cards */
.devices-grid {
    display: grid;
    gap: 20px;
    padding-bottom: 60px;
}

.device-card {
    display: block;
    padding: 24px;
    border: 1px solid var(--border);
    border-radius: 8px;
    text-decoration: none;
    color: inherit;
    transition: all 0.2s;
}

.device-card:hover {
    border-color: var(--primary);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.1);
}

.device-card h2 {
    font-size: 20px;
    margin-bottom: 8px;
}

.device-card p {
    color: var(--text-muted);
    margin-bottom: 12px;
}

.specs {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.arrow {
    color: var(--primary);
    font-weight: bold;
}

/* Status badges */
.status {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.status-supported {
    background: #dcfce7;
    color: var(--success);
}

.status-beta {
    background: #fef9c3;
    color: var(--warning);
}

/* Device detail */
.device-header {
    padding: 40px 0 24px;
}

.back-link {
    display: inline-block;
    margin-bottom: 16px;
    color: var(--primary);
    text-decoration: none;
    font-size: 14px;
}

.device-header h1 {
    font-size: 32px;
    margin-bottom: 8px;
}

/* Download section */
.download-section,
.issues-section,
.instructions-section {
    padding: 30px 0;
    border-top: 1px solid var(--border);
}

h2 {
    font-size: 24px;
    margin-bottom: 20px;
}

.download-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border: 1px solid var(--border);
    border-radius: 8px;
    margin-bottom: 12px;
}

.dl-info strong {
    display: block;
    font-size: 15px;
}

.dl-meta {
    color: var(--text-muted);
    font-size: 13px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s;
}

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

.btn-primary:hover {
    background: var(--primary-dark);
}

/* Issues */
.issue-card {
    padding: 16px 20px;
    border-left: 4px solid var(--warning);
    background: var(--bg-secondary);
    border-radius: 0 8px 8px 0;
    margin-bottom: 12px;
}

.issue-card.severity-low {
    border-left-color: var(--success);
}

.issue-card.severity-medium {
    border-left-color: var(--warning);
}

.issue-card.severity-high {
    border-left-color: var(--danger);
}

.severity-badge {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    background: #e2e8f0;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.issue-card h3 {
    font-size: 15px;
    margin-bottom: 4px;
}

/* Instructions */
.steps {
    padding-left: 20px;
}

.steps li {
    margin-bottom: 16px;
    padding-left: 8px;
}

.steps strong {
    display: block;
    font-size: 15px;
    margin-bottom: 4px;
}

.steps p {
    color: var(--text-muted);
    font-size: 14px;
}

/* Empty state */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-muted);
}

/* Footer */
footer {
    border-top: 1px solid var(--border);
    padding: 24px 0;
    margin-top: 60px;
    text-align: center;
    color: var(--text-muted);
    font-size: 14px;
}

.link {
    color: var(--primary);
    text-decoration: none;
}

.link:hover {
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 600px) {
    .hero h1 {
        font-size: 28px;
    }

    .download-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .btn {
        width: 100%;
        text-align: center;
    }
}
