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

:root {
    --vc-bg: #fafafa;
    --vc-white: #ffffff;
    --vc-black: #111111;
    --vc-text: #1a1a1a;
    --vc-text2: #666;
    --vc-muted: #999;
    --vc-border: #e5e5e5;
    --vc-accent: #111111;
    --vc-green: #16a34a;
    --vc-red: #dc2626;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Inter', sans-serif;
    background: var(--vc-bg);
    color: var(--vc-text);
    min-height: 100vh;
    line-height: 1.5;
}

.vc-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
    height: 52px;
    background: var(--vc-white);
    border-bottom: 1px solid var(--vc-border);
}

.vc-brand {
    font-size: 1.1rem;
    font-weight: 700;
}

.vc-nav-r {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.vc-link {
    color: var(--vc-text2);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
}

.vc-link:hover, .vc-link.active { color: var(--vc-black); }

.vc-user {
    color: var(--vc-muted);
    font-size: 0.85rem;
}

.vc-btn {
    display: inline-block;
    padding: 0.45rem 1rem;
    background: var(--vc-black);
    color: white;
    border: 1px solid var(--vc-black);
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    font-family: inherit;
    transition: opacity 0.15s;
}

.vc-btn:hover { opacity: 0.85; }
.vc-btn.outline { background: transparent; color: var(--vc-text); border-color: var(--vc-border); }
.vc-btn.outline:hover { border-color: var(--vc-black); }
.vc-btn.lg { padding: 0.65rem 1.8rem; font-size: 0.95rem; }
.vc-btn.sm { padding: 0.25rem 0.6rem; font-size: 0.8rem; }
.vc-btn.block { width: 100%; text-align: center; }

/* Hero */
.vc-hero {
    text-align: center;
    padding: 8rem 2rem 6rem;
    max-width: 600px;
    margin: 0 auto;
}

.vc-hero h1 {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.vc-hero > p {
    color: var(--vc-text2);
    font-size: 1.05rem;
    margin-bottom: 2.5rem;
}

.vc-hero-nums {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-bottom: 2.5rem;
}

.vc-hero-nums div {
    text-align: center;
}

.vc-hero-nums span {
    display: block;
    font-size: 1.5rem;
    font-weight: 800;
}

.vc-hero-nums small {
    font-size: 0.8rem;
    color: var(--vc-muted);
}

/* Login */
.vc-login-bg {
    display: flex;
    min-height: 100vh;
    background: var(--vc-bg);
}

.vc-login-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 2rem;
}

.vc-login-card {
    width: 100%;
    max-width: 360px;
    background: var(--vc-white);
    border: 1px solid var(--vc-border);
    border-radius: 10px;
    padding: 2.5rem;
    text-align: center;
}

.vc-login-card h1 { font-size: 1.3rem; margin-bottom: 0.3rem; }
.vc-login-card > p { color: var(--vc-muted); font-size: 0.9rem; margin-bottom: 1.5rem; }

.vc-form { display: flex; flex-direction: column; gap: 0.75rem; }

.vc-form input, .vc-input {
    padding: 0.55rem 0.8rem;
    border: 1px solid var(--vc-border);
    border-radius: 6px;
    font-size: 0.9rem;
    font-family: inherit;
}

.vc-form input:focus, .vc-input:focus {
    outline: none;
    border-color: var(--vc-black);
}

.vc-error {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: var(--vc-red);
    padding: 0.5rem 0.8rem;
    border-radius: 6px;
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
}

.vc-login-demo {
    margin-top: 1.5rem;
    font-size: 0.8rem;
    color: var(--vc-muted);
}

.vc-login-demo code {
    background: var(--vc-bg);
    padding: 0.1rem 0.4rem;
    border-radius: 3px;
}

/* Content */
.vc-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem;
}

.vc-content h1 { font-size: 1.4rem; margin-bottom: 1.5rem; }
.vc-content h2 { font-size: 1.1rem; margin: 1.5rem 0 0.8rem; }

.vc-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.vc-stat {
    background: var(--vc-white);
    border: 1px solid var(--vc-border);
    border-radius: 8px;
    padding: 1.2rem;
    text-align: center;
}

.vc-stat-val { font-size: 1.5rem; font-weight: 800; }
.vc-stat-label { font-size: 0.8rem; color: var(--vc-muted); }

.vc-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--vc-white);
    border: 1px solid var(--vc-border);
    border-radius: 8px;
    overflow: hidden;
}

.vc-table th {
    padding: 0.6rem 1rem;
    text-align: left;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--vc-muted);
    background: var(--vc-bg);
    border-bottom: 1px solid var(--vc-border);
}

.vc-table td {
    padding: 0.6rem 1rem;
    font-size: 0.9rem;
    border-bottom: 1px solid var(--vc-border);
}

.green { color: var(--vc-green); }
.red { color: var(--vc-red); }

.vc-info {
    margin-top: 1.5rem;
    padding: 1rem;
    background: #f8f9fa;
    border: 1px solid var(--vc-border);
    border-radius: 6px;
    font-size: 0.9rem;
    color: var(--vc-text2);
}

/* Admin */
.vc-section {
    background: var(--vc-white);
    border: 1px solid var(--vc-border);
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1rem;
}

.vc-section h2 { margin: 0 0 0.5rem; }
.vc-section p { font-size: 0.9rem; color: var(--vc-text2); margin-bottom: 0.5rem; }

.vc-section code {
    background: var(--vc-bg);
    padding: 0.1rem 0.4rem;
    border-radius: 3px;
    font-size: 0.85rem;
}

.muted { color: var(--vc-muted) !important; font-size: 0.85rem !important; }

.vc-inline {
    display: flex;
    gap: 0.5rem;
    margin: 0.8rem 0;
}

.vc-inline .flex { flex: 1; }

.vc-pre {
    margin-top: 0.8rem;
    padding: 1rem;
    background: #1e1e1e;
    color: #d4d4d4;
    border-radius: 6px;
    font-size: 0.8rem;
    font-family: monospace;
    max-height: 300px;
    overflow: auto;
    white-space: pre-wrap;
    display: none;
}

.vc-pre:not(:empty) { display: block; }

/* Error page */
.vc-error-page {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    text-align: center;
}

.vc-error-page h1 { font-size: 5rem; font-weight: 900; }
.vc-error-page p { color: var(--vc-text2); margin-bottom: 2rem; }

/* Footer */
.vc-footer {
    text-align: center;
    padding: 2rem;
    color: var(--vc-muted);
    font-size: 0.8rem;
}

@media (max-width: 600px) {
    .vc-stats { grid-template-columns: 1fr; }
    .vc-hero h1 { font-size: 1.8rem; }
    .vc-hero-nums { flex-direction: column; gap: 1rem; }
}
