:root {
    --bg: #0f1115;
    --panel: #151922;
    --border: rgba(255,255,255,0.08);
    --text: #e6e8ee;
    --muted: rgba(230,232,238,0.65);
    --accent: #c7a14a;
}

/* =========================
   RESET
========================= */

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

body {
    font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    background: radial-gradient(1200px 600px at 50% -200px, #1b2130 0%, var(--bg) 55%);
    color: var(--text);
    line-height: 1.55;
}

a {
    color: inherit;
    text-decoration: none;
}

/* =========================
   LAYOUT
========================= */

.page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 32px;
    width: 100%;
}

/* =========================
   HEADER
========================= */

header {
    height: 80px;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand {
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 0.08em;
}

.brand span {
    color: var(--accent);
}

/* =========================
   HERO
========================= */

.hero {
    padding: 140px 0 120px;
}

.hero h1 {
    font-size: 56px;
    font-weight: 600;
    letter-spacing: -0.02em;
    max-width: 900px;
    margin-bottom: 28px;
}

.hero p {
    font-size: 20px;
    color: var(--muted);
    max-width: 720px;
}

.hero-actions {
    margin-top: 40px;
}

.hero-actions a {
    display: inline-block;
    padding: 14px 26px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 500;
    border: 1px solid rgba(199,161,74,0.45);
    background: rgba(199,161,74,0.15);
    transition: all 0.2s ease;
}

.hero-actions a:hover {
    background: rgba(199,161,74,0.25);
    border-color: rgba(199,161,74,0.7);
}

/* =========================
   HUB TABS
========================= */

.hub-tabs {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 32px;
    border-bottom: 1px solid var(--border);
}

.tab-list {
    display: flex;
    gap: 24px;
}

.tab {
    padding: 14px 4px;
    font-size: 14px;
    font-weight: 500;
    color: var(--muted);
    border-bottom: 2px solid transparent;
    cursor: pointer;
}

.tab.active {
    color: var(--text);
    border-color: var(--accent);
}

.primary-action {
    padding: 10px 18px;
    font-size: 14px;
    font-weight: 500;
    border-radius: 10px;
    border: 1px solid rgba(199,161,74,0.45);
    background: rgba(199,161,74,0.15);
    cursor: pointer;
    transition: all 0.2s ease;
}

.primary-action:hover {
    background: rgba(199,161,74,0.25);
    border-color: rgba(199,161,74,0.7);
}

/* =========================
   HUB CONTENT PANEL
========================= */

.hub-panel {
    background: linear-gradient(
        180deg,
        rgba(255,255,255,0.05),
        rgba(255,255,255,0.02)
    );
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 32px;
    min-height: 320px;
}

.empty-state {
    max-width: 520px;
}

.empty-state h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
}

.empty-state p {
    color: var(--muted);
    line-height: 1.6;
}

/* =========================
   PROGRAM GRID
========================= */

.programs {
    padding: 100px 0;
}

.programs h2 {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 48px;
}

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

.card {
    background: linear-gradient(
        180deg,
        rgba(255,255,255,0.03),
        rgba(255,255,255,0.01)
    );
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 28px;
    min-height: 180px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.card h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
}

.card p {
    font-size: 15px;
    color: var(--muted);
}

.status {
    margin-top: 18px;
    font-size: 13px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--accent);
}

/* VIEW TOGGLING */
.view {
    display: none;
}

.view.active {
    display: block;
}

/* =========================
   FOOTER
========================= */

footer {
    margin-top: auto;
    border-top: 1px solid var(--border);
    padding: 28px 0;
    font-size: 14px;
    color: var(--muted);
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 768px) {
    .hero h1 {
        font-size: 40px;
    }
}

/* =========================
   ADMIN APP SHELL
========================= */

.app {
    display: flex;
    height: 100vh;
    overflow: hidden;
}

/* SIDEBAR */
.sidebar {
    width: 280px;
    background: linear-gradient(
        180deg,
        rgba(255,255,255,0.10),
        rgba(255,255,255,0.04)
    );
    backdrop-filter: blur(18px);
    border-right: 1px solid var(--border);
    padding: 28px 22px;
    display: flex;
    flex-direction: column;
}

.logo {
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.08em;
    margin-bottom: 42px;
}

.logo span {
    color: var(--accent);
}

.nav {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.nav button {
    background: transparent;
    border: 1px solid transparent;
    color: var(--text);
    padding: 14px 16px;
    border-radius: 10px;
    text-align: left;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.nav button:hover {
    background: rgba(255,255,255,0.08);
    border-color: var(--border);
}

.nav button.active {
    background: rgba(199,161,74,0.15);
    border-color: rgba(199,161,74,0.35);
}

.nav .section {
    margin-top: 26px;
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted);
    padding-left: 6px;
}

/* MAIN CONTENT */
.content {
    flex: 1;
    padding: 48px;
    overflow-y: auto;
}

/* ADMIN HEADER */
.content .header {
    margin-bottom: 32px;
}

.content .header h1 {
    font-size: 36px;
    font-weight: 600;
    margin-bottom: 10px;
}

.content .header p {
    color: var(--muted);
    max-width: 720px;
}

/* =========================
   MANAGEMENT PANELS
========================= */

.panel {
    background: linear-gradient(
        180deg,
        rgba(255,255,255,0.05),
        rgba(255,255,255,0.02)
    );
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 24px;
}

.panel h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
}

.panel p {
    font-size: 14px;
    color: var(--muted);
    line-height: 1.6;
}
