/* Digove home and section pages. Same dark navy palette as the Wazuh 4.x hub. */
:root {
    --bg-start: #0b1120;
    --bg-end: #111827;
    --accent: #3b82f6;
    --accent-light: #60a5fa;
    --text: #e2e8f0;
    --text-muted: #94a3b8;
    --card-bg: rgba(255, 255, 255, 0.05);
    --card-border: rgba(59, 130, 246, 0.3);
    --live: #34d399;
}

* { box-sizing: border-box; }

html, body { margin: 0; }

body {
    font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
    background: linear-gradient(to bottom right, var(--bg-start), var(--bg-end)) fixed;
    background-color: var(--bg-start);
    color: var(--text);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.site-header {
    padding: 20px 24px;
    max-width: 1100px;
    width: 100%;
    margin: 0 auto;
}

.brand {
    font-size: 1.75rem;
    font-weight: 800;
    text-decoration: none;
    background: linear-gradient(to right, var(--accent-light), var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

main {
    flex: 1;
    max-width: 1100px;
    width: 100%;
    margin: 0 auto;
    padding: 24px 16px 48px;
}

.hero { text-align: center; padding: 48px 0 40px; }

.hero h1 {
    font-size: clamp(2rem, 6vw, 3.5rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin: 0 0 16px;
}

.lead {
    color: var(--text-muted);
    font-size: 1.15rem;
    line-height: 1.6;
    max-width: 640px;
    margin: 0 auto;
}

.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.card {
    display: flex;
    flex-direction: column;
    padding: 28px;
    border-radius: 20px;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.card:hover, .card:focus-visible {
    transform: translateY(-4px);
    border-color: var(--accent-light);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    outline: none;
}

.card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.card h2 { margin: 0; font-size: 1.6rem; font-weight: 700; }

.card p { color: var(--text-muted); line-height: 1.55; margin: 12px 0; }

.card ul {
    margin: 4px 0 16px;
    padding-left: 20px;
    color: var(--text);
    line-height: 1.7;
    font-size: 0.95rem;
}

.card-cta {
    margin-top: auto;
    color: var(--accent-light);
    font-weight: 600;
}

.card-soon { opacity: 0.75; }

.badge {
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 999px;
    white-space: nowrap;
}

.badge-live { color: var(--live); border: 1px solid var(--live); }
.badge-soon { color: var(--text-muted); border: 1px solid var(--text-muted); }

.site-footer {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 24px;
    justify-content: center;
    padding: 20px 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-muted);
    font-size: 0.875rem;
}

.site-footer p { margin: 0; }
.site-footer a { color: var(--text-muted); }
.site-footer a:hover { color: var(--text); }

.notice { text-align: center; padding: 64px 0; }
.notice h1 { font-size: clamp(2rem, 5vw, 3rem); margin: 0 0 16px; }
.notice p { color: var(--text-muted); font-size: 1.1rem; line-height: 1.6; }
.notice a { color: var(--accent-light); font-weight: 600; }
