/* Custom Vox Theme Overrides */

/* Hero Section */
.vox-hero {
    text-align: center;
    padding: 2rem 1rem;
    margin-bottom: 2rem;
    border-bottom: 1px solid var(--table-border-color);
}

.vox-hero img.logo {
    max-width: 200px;
    height: auto;
    margin-bottom: 1rem;
}

.vox-hero h1 {
    font-size: 2.5em;
    margin-bottom: 0.5rem;
    color: var(--fg);
}

.vox-hero p.subtitle {
    font-size: 1.2em;
    color: var(--fg);
    opacity: 0.8;
    margin-bottom: 1.5rem;
}

/* Call to Action Buttons */
.vox-cta-container {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}

.vox-cta {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    font-size: 1.1em;
    font-weight: bold;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.2s ease-in-out;
}

.vox-cta.primary {
    background-color: var(--links);
    color: var(--bg);
    border: 2px solid var(--links);
}

.vox-cta.primary:hover {
    background-color: transparent;
    color: var(--links);
}

.vox-cta.secondary {
    background-color: transparent;
    color: var(--fg);
    border: 2px solid var(--table-border-color);
}

.vox-cta.secondary:hover {
    border-color: var(--links);
    color: var(--links);
}

/* Freshness Badge */
.freshness-badge {
    display: inline-block;
    padding: 0.25rem 0.5rem;
    font-size: 0.85em;
    border-radius: 4px;
    margin-bottom: 1rem;
    font-weight: 500;
}

.freshness-badge.current {
    background-color: #dcfce7;
    color: #166534;
    border: 1px solid #bbf7d0;
}

.freshness-badge.stale {
    background-color: #fef9c3;
    color: #854d0e;
    border: 1px solid #fef08a;
}

.freshness-badge.critically-stale {
    background-color: #fee2e2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

/* Hero Code Preview */
.hero-code-preview {
    max-width: 800px;
    margin: 2rem auto;
    text-align: left;
    background: #1e1e1e;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.hero-code-header {
    background: #2d2d2d;
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
    color: #888;
    display: flex;
    justify-content: space-between;
}

.hero-code-preview pre {
    margin: 0;
    padding: 1rem;
    font-size: 0.9rem;
}

/* Typography & Dark Mode Polish */
:root {
    --vox-primary: #3b82f6;
}

.vox-cta.primary {
    background-color: var(--vox-primary);
    border-color: var(--vox-primary);
}

.vox-cta.primary:hover {
    color: var(--vox-primary);
}

/* Fix image max-width */
img {
    max-width: 100%;
    height: auto;
}
