:root {
    --primary-bg: #F9FAFB;
    --text-primary: #111827;
    --text-secondary: #4B5563;
    --accent-color: #0F172A;
    --accent-hover: #334155;
    --border-color: #E5E7EB;
    
    /* Gamification status colors */
    --status-asked: #9CA3AF;
    --status-clarified: #60A5FA;
    --status-tested: #FBBF24;
    --status-applied: #34D399;
    --status-proven: #10B981;
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--primary-bg);
    color: var(--text-primary);
    line-height: 1.6;
}

.container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 2rem;
}

.center {
    text-align: center;
}

h1, h2, h3 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.5rem; }
p { font-size: 1.125rem; color: var(--text-secondary); margin-bottom: 1.5rem; }

/* Buttons */
.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s;
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

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

.btn-secondary {
    background-color: white;
    color: var(--accent-color);
    border: 1px solid var(--border-color);
}
.btn-secondary:hover {
    background-color: var(--primary-bg);
    border-color: var(--text-secondary);
}

.full-width { width: 100%; }

/* Header */
.hub-header {
    background: white;
    border-bottom: 1px solid var(--border-color);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
}
.hub-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.brand-logo {
    height: 40px;
}

/* Hero Section */
.hero-section {
    padding: 6rem 0;
    background-color: white;
}
.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}
.hero-ctas {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}
.video-placeholder {
    background: var(--text-primary);
    border-radius: 12px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1);
}
.play-icon { font-size: 3rem; margin-bottom: 1rem; opacity: 0.8; }

/* Podcast Section */
.podcast-section { margin-top: -3rem; position: relative; z-index: 10; padding: 0 1rem; }
.podcast-bar {
    background: var(--accent-color);
    color: white;
    border-radius: 12px;
    padding: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1);
}
.podcast-info h3 { color: white; margin-bottom: 0.5rem; font-size: 1.25rem; }
.podcast-info p { color: #CBD5E1; margin: 0; font-size: 1rem; }
.pill-badge {
    background: rgba(255,255,255,0.2);
    padding: 0.25rem 0.75rem;
    border-radius: 99px;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 700;
    display: inline-block;
    margin-bottom: 1rem;
}
.audio-player-mockup {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(255,255,255,0.1);
    padding: 1rem 1.5rem;
    border-radius: 50px;
    width: 100%;
    max-width: 600px;
}
.progress-bar {
    flex-grow: 1;
    height: 4px;
    background: rgba(255,255,255,0.2);
    border-radius: 2px;
}
.progress-fill { width: 45%; height: 100%; background: white; border-radius: 2px; }

/* Voting Section */
.voting-section { padding: 6rem 0; background-color: var(--primary-bg); }
.voting-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}
.vote-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    text-align: center;
    transition: transform 0.2s, box-shadow 0.2s;
}
.vote-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.05);
}
.vote-card h3 { font-size: 1.25rem; margin-bottom: 1.5rem; }

/* Archive Section */
.archive-section { padding: 6rem 0; background: white; }
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 3rem;
}
.archive-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}
.archive-card {
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
}
.card-thumb {
    background: #E5E7EB;
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: white;
    background-size: cover;
    background-position: center;
    position: relative;
}
.card-thumb::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(26,54,93,0.6); /* dark overlay for text contrast */
}
.card-thumb span {
    position: relative;
    z-index: 1;
    font-size: 1.1rem;
    padding: 0.4rem 0.8rem;
    border: 2px solid white;
    border-radius: 4px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}
.card-content { padding: 1.5rem; }
.category-tag {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-secondary);
    font-weight: 700;
    margin-bottom: 0.5rem;
    display: block;
}
/* Progression UI via border-left */
.status-clarified { border-left: 3px solid var(--status-clarified); padding-left: 10px; }
.status-applied { border-left: 3px solid var(--status-applied); padding-left: 10px; }
.status-proven { border-left: 3px solid var(--status-proven); padding-left: 10px; }

/* Commercial Section */
.commercial-section { padding: 6rem 0; background: var(--accent-color); color: white; }
.commercial-section h2, .commercial-section p { color: white; }

/* CTA form */
.ask-section { padding: 6rem 0; background: var(--primary-bg); }
.ask-container { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.ask-form {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.05);
}
.form-group { margin-bottom: 1.5rem; }
.form-group label { display: block; font-weight: 600; margin-bottom: 0.5rem; }
.form-group input, .form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-family: inherit;
}

/* Footer */
.hub-footer { padding: 3rem 0; text-align: center; border-top: 1px solid var(--border-color); background: white; }

/* Feedback Widget Override */
#hg-support-btn {
    top: auto !important;
    left: auto !important;
    bottom: 20px !important;
    right: 20px !important;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-container, .ask-container { grid-template-columns: 1fr; gap: 2rem; }
    .hero-ctas { flex-direction: column; }
    .voting-grid, .archive-grid { grid-template-columns: 1fr; }
    .podcast-bar { flex-direction: column; text-align: center; }
}
