* { margin: 0; padding: 0; box-sizing: border-box; }
:root {
    --primary-bg: #0a0b0f;
    --secondary-bg: #1a1d29;
    --vscode-blue: #007ACC;
    --accent-purple: #8b5cf6;
    --accent-gradient: linear-gradient(135deg, #007ACC 0%, #2F80ED 50%, #8b5cf6 100%);
    --vigthoria-gradient: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #d946ef 100%);
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --border-color: rgba(255, 255, 255, 0.1);
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.7);
}
body {
    font-family: 'Inter', sans-serif;
    background: var(--primary-bg);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
}
section[id] { scroll-margin-top: 96px; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }

.header {
    position: fixed; top: 0; left: 0; right: 0;
    background: rgba(10, 11, 15, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    padding: 1rem 2rem;
}
.header-content {
    max-width: 1400px; margin: 0 auto;
    display: flex; justify-content: space-between; align-items: center;
}
.logo {
    display: flex; align-items: center; gap: 0.75rem;
    text-decoration: none; color: var(--text-primary);
    font-weight: 700; font-size: 1.25rem;
}
.logo img { width: 40px; height: 40px; border-radius: 10px; }
.nav-links { display: flex; gap: 1.5rem; align-items: center; }
.nav-links > a, .nav-dropdown > button {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    background: none; border: none; cursor: pointer;
    font-family: inherit; font-size: inherit;
    display: inline-flex; align-items: center; gap: 0.35rem;
}
.nav-links > a:hover, .nav-dropdown > button:hover { color: var(--vscode-blue); }
.nav-dropdown { position: relative; }
.nav-dropdown-menu {
    display: none;
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0;
    min-width: 260px;
    background: #12141c;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 0.5rem;
    box-shadow: 0 20px 40px rgba(0,0,0,0.45);
}
.nav-dropdown.open .nav-dropdown-menu { display: block; }
.nav-dropdown-menu a {
    display: flex; align-items: center; gap: 0.65rem;
    padding: 0.65rem 0.85rem;
    color: var(--text-secondary);
    text-decoration: none;
    border-radius: 8px;
    font-size: 0.9rem;
}
.nav-dropdown-menu a:hover {
    background: rgba(99, 102, 241, 0.12);
    color: var(--text-primary);
}
.nav-dropdown-menu a i { width: 18px; text-align: center; color: var(--vscode-blue); }

.hero {
    padding: 10rem 2rem 4rem;
    text-align: center;
    background: radial-gradient(circle at 50% 30%, rgba(99, 102, 241, 0.15) 0%, transparent 60%);
}
.hero-badge {
    display: inline-flex; align-items: center; gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(99, 102, 241, 0.2);
    border: 1px solid rgba(99, 102, 241, 0.5);
    border-radius: 20px;
    font-size: 0.9rem; margin-bottom: 1.5rem; color: #a5b4fc;
}
.hero h1 {
    font-size: 3.5rem; font-weight: 900; margin-bottom: 1rem;
    background: var(--vigthoria-gradient);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent;
}
.hero p {
    font-size: 1.2rem; color: var(--text-secondary);
    max-width: 820px; margin: 0 auto 2rem;
}
.hero-buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-bottom: 2rem; }

.btn {
    display: inline-flex; align-items: center; gap: 0.5rem;
    padding: 0.875rem 1.75rem; border-radius: 12px;
    font-weight: 600; text-decoration: none; transition: all 0.3s;
    border: none; cursor: pointer; font-size: 1rem;
}
.btn-primary { background: var(--vigthoria-gradient); color: white; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 15px 35px rgba(99, 102, 241, 0.4); }
.btn-secondary {
    background: rgba(255, 255, 255, 0.08); color: white;
    border: 1px solid rgba(255, 255, 255, 0.15);
}
.btn-secondary:hover { background: rgba(255, 255, 255, 0.12); }
.btn-sm { padding: 0.55rem 1rem; font-size: 0.85rem; }

.section-header { text-align: center; margin-bottom: 3rem; }
.section-header h2 { font-size: 2.5rem; font-weight: 800; margin-bottom: 1rem; }
.gradient-text {
    background: var(--vigthoria-gradient);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.section-header p {
    color: var(--text-secondary); font-size: 1.1rem;
    max-width: 760px; margin: 0 auto;
}
.section-block { padding: 5rem 2rem; }
.section-block.alt { background: rgba(0, 0, 0, 0.28); }

.stats-bar {
    display: flex; justify-content: center; gap: 3rem;
    padding: 1.5rem 2rem 0; flex-wrap: wrap;
}
.stat { text-align: center; }
.stat-value {
    font-size: 2rem; font-weight: 800;
    background: var(--vigthoria-gradient);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent;
}
.stat-label { font-size: 0.85rem; color: var(--text-secondary); }

.server-tier {
    margin-bottom: 2.5rem;
}
.server-tier h3 {
    font-size: 1.1rem; font-weight: 700; margin-bottom: 1rem;
    display: flex; align-items: center; gap: 0.5rem;
}
.server-tag {
    font-size: 0.7rem; font-weight: 700; letter-spacing: 0.04em;
    padding: 0.2rem 0.55rem; border-radius: 6px; text-transform: uppercase;
}
.server-tag.gpu { background: rgba(245, 158, 11, 0.2); color: #fbbf24; }
.server-tag.main { background: rgba(16, 185, 129, 0.2); color: #34d399; }
.server-tag.cloud { background: rgba(99, 102, 241, 0.2); color: #a5b4fc; }
.server-tag.valkyrie { background: rgba(236, 72, 153, 0.2); color: #f9a8d4; }
.badge.preview { background: rgba(236, 72, 153, 0.35); color: #fce7f3; }

.inference-callout {
    max-width: 900px; margin: 2.5rem auto 0;
    padding: 1.75rem 2rem;
    border-radius: 16px;
    border: 1px solid rgba(99, 102, 241, 0.35);
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(16, 185, 129, 0.06) 100%);
}
.inference-callout h3 { font-size: 1.2rem; margin-bottom: 0.65rem; display: flex; align-items: center; gap: 0.5rem; }
.inference-callout p { color: var(--text-secondary); font-size: 0.95rem; }

.workbench-flow {
    margin: 1.25rem 0;
    padding: 1.25rem 1.5rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    background: rgba(255, 255, 255, 0.03);
}
.workbench-flow ol { margin: 0.75rem 0 0 1.25rem; color: var(--text-secondary); font-size: 0.92rem; line-height: 1.75; }
.workbench-flow li strong { color: var(--text-primary); }
.workbench-note {
    font-size: 0.88rem; color: var(--text-secondary);
    padding: 0.85rem 1rem; border-radius: 10px;
    border: 1px solid rgba(56, 139, 253, 0.25);
    background: rgba(56, 139, 253, 0.08);
    margin-top: 1rem;
}

.models-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.25rem;
}
.model-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 1.5rem;
    transition: all 0.3s;
    position: relative; overflow: hidden;
}
.model-card::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
    background: var(--card-accent, var(--vigthoria-gradient));
}
.model-card:hover {
    transform: translateY(-4px);
    border-color: rgba(99, 102, 241, 0.45);
    box-shadow: 0 16px 32px rgba(99, 102, 241, 0.12);
}
.model-card-head {
    display: flex; align-items: flex-start; gap: 1rem; margin-bottom: 0.75rem;
}
.model-icon {
    width: 48px; height: 48px; border-radius: 12px; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.2rem; color: white;
}
.model-card h4 { font-size: 1.1rem; margin-bottom: 0.25rem; }
.model-id { font-size: 0.75rem; color: var(--text-secondary); font-family: monospace; }
.model-size { font-size: 0.8rem; color: var(--text-secondary); margin-bottom: 0.65rem; }
.model-card p { color: var(--text-secondary); font-size: 0.9rem; margin-bottom: 0.85rem; }
.badge {
    font-size: 0.65rem; padding: 0.15rem 0.45rem;
    border-radius: 4px; font-weight: 700; vertical-align: middle;
}
.badge.live { background: var(--success-color); color: #fff; }
.badge.alias { background: rgba(245, 158, 11, 0.25); color: #fbbf24; }
.model-features { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.model-features span {
    font-size: 0.75rem; padding: 0.25rem 0.5rem;
    background: rgba(255, 255, 255, 0.05); border-radius: 6px;
    color: var(--text-secondary);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    max-width: 1100px; margin: 0 auto 3rem;
}
.product-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s;
    text-decoration: none;
    color: inherit;
    display: block;
}
.product-card:hover {
    transform: translateY(-6px);
    border-color: rgba(99, 102, 241, 0.5);
    box-shadow: 0 20px 40px rgba(99, 102, 241, 0.15);
}
.product-card .product-icon {
    width: 64px; height: 64px; border-radius: 16px;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 1.25rem; font-size: 1.6rem; color: #fff;
}
.product-card h3 { font-size: 1.35rem; margin-bottom: 0.35rem; }
.product-card .version { color: var(--success-color); font-size: 0.85rem; font-weight: 600; margin-bottom: 0.75rem; }
.product-card p { color: var(--text-secondary); font-size: 0.92rem; }

.product-detail {
    max-width: 1000px; margin: 0 auto 4rem;
    display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; align-items: start;
}
.product-detail-info h3 {
    font-size: 1.65rem; margin-bottom: 0.75rem;
    display: flex; align-items: center; gap: 0.75rem;
}
.product-detail-info h3 .title-icon {
    width: 44px; height: 44px; border-radius: 12px;
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 1.1rem; color: #fff; flex-shrink: 0;
}
.product-detail-info p { color: var(--text-secondary); margin-bottom: 1rem; }
.product-detail-info ul {
    color: var(--text-secondary); font-size: 0.95rem;
    line-height: 1.7; margin: 0 0 1.25rem 1.1rem;
}
.product-actions { display: flex; gap: 0.75rem; flex-wrap: wrap; margin-bottom: 1rem; }
.code-block {
    background: #0d1117; border-radius: 12px; padding: 1.5rem;
    font-family: 'Monaco', 'Consolas', monospace; font-size: 0.86rem;
}
.code-block .line { margin-bottom: 0.45rem; }
.code-block .prompt { color: #10b981; }
.code-block .command { color: #f8fafc; }
.code-block .comment { color: #6366f1; }

.plugins-panel {
    max-width: 900px; margin: 0 auto;
    border: 1px solid var(--border-color);
    border-radius: 16px; overflow: hidden;
    background: rgba(255, 255, 255, 0.02);
}
.plugins-toggle {
    width: 100%; display: flex; align-items: center; justify-content: space-between;
    padding: 1.25rem 1.5rem; background: rgba(99, 102, 241, 0.08);
    border: none; color: var(--text-primary); font-size: 1.1rem;
    font-weight: 700; cursor: pointer; font-family: inherit;
}
.plugins-toggle i.chevron { transition: transform 0.3s; }
.plugins-panel.open .plugins-toggle i.chevron { transform: rotate(180deg); }
.plugins-body {
    display: none; padding: 1.25rem;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1rem;
}
.plugins-panel.open .plugins-body { display: grid; }
.plugin-item {
    display: flex; flex-direction: column; gap: 0.5rem;
    padding: 1.25rem; border-radius: 12px;
    border: 1px solid var(--border-color);
    background: rgba(255, 255, 255, 0.03);
    text-decoration: none; color: inherit;
    transition: border-color 0.3s, background 0.3s;
}
.plugin-item:hover {
    border-color: rgba(99, 102, 241, 0.45);
    background: rgba(99, 102, 241, 0.06);
}
.plugin-item .plugin-icon {
    width: 40px; height: 40px; border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1rem; color: #fff;
}
.plugin-item h4 { font-size: 1rem; }
.plugin-item p { font-size: 0.82rem; color: var(--text-secondary); }
.plugin-item .plugin-ver { font-size: 0.75rem; color: var(--success-color); font-weight: 600; }

.screenshot-container {
    max-width: 1100px; margin: 2rem auto 0;
    border-radius: 16px; overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255,255,255,0.1);
}
.screenshot-container img { width: 100%; display: block; }

.footer {
    background: rgba(0, 0, 0, 0.5);
    padding: 3rem 2rem;
    border-top: 1px solid var(--border-color);
}
.footer-content {
    max-width: 1200px; margin: 0 auto;
    display: flex; justify-content: space-between; align-items: center;
    flex-wrap: wrap; gap: 2rem;
}
.footer-brand { display: flex; align-items: center; gap: 0.75rem; }
.footer-brand img { width: 32px; height: 32px; border-radius: 8px; }
.footer-links { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.footer-links a { color: var(--text-secondary); text-decoration: none; }
.footer-links a:hover { color: var(--vscode-blue); }
.footer-copyright { color: var(--text-secondary); font-size: 0.9rem; }

.mobile-menu-toggle {
    display: none; background: none; border: none;
    color: var(--text-primary); font-size: 1.5rem; cursor: pointer; padding: 0.5rem;
}
.mobile-menu {
    display: none; position: fixed; top: 70px; left: 0; right: 0;
    background: rgba(10, 11, 15, 0.98); backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    padding: 1rem; z-index: 999; max-height: calc(100vh - 70px); overflow-y: auto;
}
.mobile-menu.active { display: block; }
.mobile-menu a, .mobile-menu .mobile-label {
    display: block; padding: 0.85rem 1rem;
    color: var(--text-secondary); text-decoration: none;
    font-weight: 500; border-bottom: 1px solid var(--border-color);
}
.mobile-menu .mobile-label {
    font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.06em;
    color: rgba(255,255,255,0.45); padding-top: 1rem;
}
.mobile-menu a.sub { padding-left: 1.75rem; font-size: 0.9rem; }

/* Plugin sub-pages */
.page-hero {
    padding: 8rem 2rem 3rem;
    text-align: center;
    background: radial-gradient(circle at 50% 20%, rgba(99, 102, 241, 0.12) 0%, transparent 55%);
}
.page-hero h1 { font-size: 2.5rem; font-weight: 800; margin-bottom: 0.75rem; }
.page-hero p { color: var(--text-secondary); max-width: 700px; margin: 0 auto 1.5rem; }
.content-panel {
    max-width: 900px; margin: 0 auto 4rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2rem;
}
.content-panel h2 { font-size: 1.35rem; margin: 1.5rem 0 0.75rem; }
.content-panel h2:first-child { margin-top: 0; }
.content-panel p, .content-panel li { color: var(--text-secondary); font-size: 0.95rem; }
.content-panel ul { margin: 0.5rem 0 1rem 1.25rem; }
.breadcrumb {
    max-width: 900px; margin: 0 auto;
    padding: 6rem 2rem 0; font-size: 0.85rem; color: var(--text-secondary);
}
.breadcrumb a { color: var(--vscode-blue); text-decoration: none; }

@media (max-width: 900px) {
    .products-grid { grid-template-columns: 1fr; }
    .product-detail { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
    .mobile-menu-toggle { display: block; }
    .nav-links { display: none; }
    .hero h1 { font-size: 2.25rem; }
    .stats-bar { gap: 1.5rem; }
}
