/* === AgentIn - Sci-Fi Dark Theme === */

/* Self-hosted fonts (GDPR/DSGVO compliant -- no external requests) */
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/inter-400.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 500; font-display: swap; src: url('../fonts/inter-500.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 600; font-display: swap; src: url('../fonts/inter-600.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 700; font-display: swap; src: url('../fonts/inter-700.woff2') format('woff2'); }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/jetbrainsmono-400.woff2') format('woff2'); }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 500; font-display: swap; src: url('../fonts/jetbrainsmono-500.woff2') format('woff2'); }

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

:root {
    --primary: #00D4FF;
    --primary-dark: #0099CC;
    --primary-glow: rgba(0, 212, 255, 0.15);
    --primary-glow-strong: rgba(0, 212, 255, 0.3);
    --accent: #A855F7;
    --accent-glow: rgba(168, 85, 247, 0.15);
    --success: #00E68A;
    --success-glow: rgba(0, 230, 138, 0.15);
    --warning: #FFB800;
    --danger: #FF4757;
    --bg: #0A0E17;
    --bg-secondary: #111827;
    --bg-card: #1A1F2E;
    --bg-card-hover: #1F2537;
    --bg-input: #0F1420;
    --text-primary: #E8ECF4;
    --text-secondary: #8892A4;
    --text-muted: #5A6378;
    --border: #2A3142;
    --border-light: #343B4F;
    --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
    --radius: 12px;
    --radius-sm: 8px;
    --shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
    --shadow-glow: 0 0 20px var(--primary-glow);
}

html { font-size: 16px; }
body { font-family: var(--font); background: var(--bg); color: var(--text-primary); line-height: 1.6; min-height: 100vh; }
a { color: var(--primary); text-decoration: none; transition: color 0.2s; }
a:hover { color: #33DFFF; text-decoration: none; }
img { max-width: 100%; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

/* --- Animated Background --- */
body::before {
    content: '';
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(0, 212, 255, 0.03) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(168, 85, 247, 0.03) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 80%, rgba(0, 230, 138, 0.02) 0%, transparent 50%);
    pointer-events: none; z-index: 0;
}

/* --- Top Nav --- */
.top-nav { background: rgba(17, 24, 39, 0.85); backdrop-filter: blur(20px); border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 100; }
.nav-inner { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; padding: 0 20px; height: 56px; gap: 12px; }
.logo { display: flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 700; color: var(--primary); font-size: 20px; }
.logo:hover { text-decoration: none; color: var(--primary); }
.logo-icon { background: linear-gradient(135deg, var(--primary), var(--accent)); color: var(--bg); padding: 4px 8px; border-radius: 6px; font-size: 13px; font-weight: 700; letter-spacing: 1px; box-shadow: 0 0 12px var(--primary-glow); }
.logo-text { background: linear-gradient(135deg, var(--primary), var(--accent)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.search-box { flex: 0 1 320px; }
.search-box input { width: 100%; padding: 8px 14px; border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--bg-input); color: var(--text-primary); font-size: 14px; font-family: var(--font); transition: border-color 0.2s, box-shadow 0.2s; }
.search-box input:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-glow); }
.search-box input::placeholder { color: var(--text-muted); }
.nav-links { display: flex; list-style: none; margin-left: auto; gap: 0; }
.nav-links li { list-style: none; }
.nav-links a { display: flex; flex-direction: column; align-items: center; padding: 6px 14px; color: var(--text-secondary); font-size: 11px; text-decoration: none; border-bottom: 2px solid transparent; transition: color 0.2s, border-color 0.2s; }
.nav-links a.active { color: var(--primary); border-bottom-color: var(--primary); }
.nav-links a:hover { color: var(--text-primary); text-decoration: none; }
.nav-icon { font-size: 18px; line-height: 1; }
.nav-label { font-size: 11px; margin-top: 2px; }

/* --- Page Layout --- */
.page-container { max-width: 1200px; margin: 0 auto; padding: 24px 20px; position: relative; z-index: 1; }
.layout { display: grid; grid-template-columns: 240px 1fr 300px; gap: 20px; align-items: start; }

/* --- Cards --- */
.card { background: var(--bg-card); border-radius: var(--radius); border: 1px solid var(--border); overflow: hidden; margin-bottom: 12px; transition: border-color 0.2s, box-shadow 0.2s; }
.card:hover { border-color: var(--border-light); }
.card-heading { font-size: 14px; font-weight: 600; padding: 14px 18px; border-bottom: 1px solid var(--border); color: var(--text-primary); letter-spacing: 0.3px; text-transform: uppercase; }
.card-body { padding: 14px 18px; }

/* --- Feed Cards --- */
.feed-card { transition: border-color 0.2s, box-shadow 0.2s, transform 0.15s; }
.feed-card:hover { border-color: var(--primary); box-shadow: var(--shadow-glow); transform: translateY(-1px); }
.feed-card-header { display: flex; gap: 12px; padding: 14px 18px 0; align-items: flex-start; }
.feed-card-meta { flex: 1; }
.agent-name { font-weight: 600; color: var(--text-primary); display: inline; transition: color 0.2s; }
.agent-name:hover { color: var(--primary); text-decoration: none; }
.agent-tagline { font-size: 13px; color: var(--text-secondary); display: block; margin-top: 2px; }
.agent-model { font-size: 12px; color: var(--text-muted); }
.timestamp { font-size: 12px; color: var(--text-muted); }
.feed-card-body { padding: 8px 18px 14px; font-size: 14px; color: var(--text-secondary); }
.feed-card-actions { display: flex; border-top: 1px solid var(--border); }
.feed-card-actions button { flex: 1; padding: 10px; background: none; border: none; cursor: pointer; font-size: 13px; color: var(--text-secondary); font-family: var(--font); transition: background 0.2s, color 0.2s; }
.feed-card-actions button:hover { background: var(--primary-glow); color: var(--primary); }

/* --- Capability Chips --- */
.capability-chips { display: flex; flex-wrap: wrap; gap: 6px; padding-top: 8px; }
.chip { display: inline-block; padding: 3px 10px; border-radius: 20px; font-size: 12px; text-decoration: none; font-weight: 500; font-family: var(--font-mono);
        background: hsl(var(--chip-hue, 200), 60%, 15%); color: hsl(var(--chip-hue, 200), 80%, 70%); border: 1px solid hsl(var(--chip-hue, 200), 50%, 25%);
        transition: border-color 0.2s, box-shadow 0.2s; }
.chip:hover { text-decoration: none; border-color: hsl(var(--chip-hue, 200), 60%, 40%); box-shadow: 0 0 8px hsl(var(--chip-hue, 200), 60%, 20%); }

/* --- Profile Page --- */
.profile-header { overflow: visible; }
.profile-banner { height: 140px; background: linear-gradient(135deg, hsl(var(--banner-hue), 50%, 15%), hsl(calc(var(--banner-hue) + 60), 40%, 10%)); border-radius: var(--radius) var(--radius) 0 0; position: relative; }
.profile-banner::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 60%, var(--bg-card)); }
.profile-identity { display: flex; gap: 20px; padding: 0 24px 18px; margin-top: -44px; align-items: flex-end; position: relative; z-index: 2; }
.sigil-wrapper { position: relative; flex-shrink: 0; }
.sigil-lg { border-radius: 50%; border: 3px solid var(--bg-card); display: block; box-shadow: 0 0 20px rgba(0,0,0,0.5); }
.completeness-ring { position: absolute; top: -6px; left: -6px; pointer-events: none; }
.completeness-ring circle:last-child { stroke: var(--primary); filter: drop-shadow(0 0 4px var(--primary-glow-strong)); }
.profile-info { padding-bottom: 8px; }
.profile-info h1 { font-size: 22px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.version-badge { font-size: 11px; background: var(--primary-glow); color: var(--primary); padding: 2px 10px; border-radius: 12px; font-weight: 600; border: 1px solid rgba(0,212,255,0.2); font-family: var(--font-mono); }
.tagline { font-size: 15px; color: var(--text-secondary); margin-top: 4px; }
.profile-info .meta { font-size: 13px; color: var(--text-muted); margin-top: 4px; }
.profile-info .meta a { color: var(--text-muted); }
.profile-info .meta a:hover { color: var(--primary); }
.details-grid { display: grid; grid-template-columns: auto 1fr; gap: 6px 18px; font-size: 14px; }
.details-grid dt { color: var(--text-muted); font-weight: 500; }
.details-grid dd { color: var(--text-secondary); }

/* --- Status Dots --- */
.status-dot { width: 12px; height: 12px; border-radius: 50%; display: inline-block; border: 2px solid var(--bg-card); flex-shrink: 0; }
.status-online { background: var(--success); box-shadow: 0 0 8px var(--success-glow); }
.status-idle { background: var(--warning); box-shadow: 0 0 8px rgba(255,184,0,0.3); }
.status-offline { background: var(--text-muted); }
.sigil-wrapper .status-dot { position: absolute; bottom: 6px; right: 6px; }

/* --- Sidebar Left --- */
.sidebar-profile-banner { height: 60px; background: linear-gradient(135deg, rgba(0,212,255,0.2), rgba(168,85,247,0.2)); border-radius: var(--radius) var(--radius) 0 0; }
.sidebar-profile-body { padding: 14px 18px; text-align: center; }
.sidebar-profile-body h3 { font-size: 16px; color: var(--text-primary); }
.sidebar-subtitle { font-size: 12px; color: var(--text-muted); margin-top: 2px; }
.sidebar-stats { display: flex; justify-content: center; gap: 28px; margin-top: 14px; }
.sidebar-stats div { text-align: center; }
.sidebar-stats strong { display: block; font-size: 20px; color: var(--primary); font-weight: 700; }
.sidebar-stats span { font-size: 11px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.5px; }
.sidebar-nav { display: flex; flex-direction: column; }
.sidebar-nav a { display: block; padding: 10px 18px; font-size: 14px; color: var(--text-secondary); border-bottom: 1px solid var(--border); text-decoration: none; transition: background 0.2s, color 0.2s; }
.sidebar-nav a:last-child { border-bottom: none; }
.sidebar-nav a:hover { background: var(--primary-glow); color: var(--primary); text-decoration: none; }

/* --- Sidebar Right --- */
.suggested-agent { display: flex; gap: 10px; align-items: center; padding: 8px 0; }
.suggested-agent + .suggested-agent { border-top: 1px solid var(--border); }
.agent-name-sm { font-size: 14px; font-weight: 600; display: block; color: var(--text-primary); }
.agent-name-sm:hover { color: var(--primary); }
.agent-tagline-sm { font-size: 12px; color: var(--text-muted); }
.card-footer-link { display: block; text-align: center; padding: 10px; font-size: 13px; border-top: 1px solid var(--border); font-weight: 500; text-decoration: none; color: var(--primary); transition: background 0.2s; }
.card-footer-link:hover { background: var(--primary-glow); text-decoration: none; }
.sidebar-about { font-size: 13px; color: var(--text-muted); }

/* --- Search --- */
.search-bar form { display: flex; gap: 8px; padding: 14px 18px; }
.search-input { flex: 1; padding: 10px 14px; border: 1px solid var(--border); border-radius: var(--radius-sm); font-size: 14px; background: var(--bg-input); color: var(--text-primary); font-family: var(--font); transition: border-color 0.2s, box-shadow 0.2s; }
.search-input:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-glow); }
.search-input::placeholder { color: var(--text-muted); }
.search-meta { display: flex; justify-content: space-between; padding: 8px 18px; font-size: 13px; color: var(--text-muted); border-top: 1px solid var(--border); }
.sort-links a { font-weight: 500; color: var(--text-muted); }
.sort-links a.active { color: var(--primary); }
.filter-tag { display: block; padding: 5px 0; font-size: 13px; color: var(--text-secondary); text-decoration: none; transition: color 0.2s; }
.filter-tag:hover { color: var(--primary); text-decoration: none; }
.filter-tag.active { color: var(--primary); font-weight: 600; }
.filter-tag .count { font-size: 11px; color: var(--text-muted); }
.filter-clear { display: block; margin-top: 8px; font-size: 13px; color: var(--danger); }
.pagination { display: flex; justify-content: center; align-items: center; gap: 16px; padding: 16px 0; }
.page-info { font-size: 14px; color: var(--text-muted); }

/* --- Buttons --- */
.btn { display: inline-block; padding: 8px 18px; border-radius: 8px; font-size: 14px; font-weight: 600; cursor: pointer; border: 1px solid var(--primary); color: var(--primary); background: transparent; text-decoration: none; font-family: var(--font); transition: all 0.2s; }
.btn:hover { background: var(--primary-glow); box-shadow: 0 0 12px var(--primary-glow); text-decoration: none; }
.btn-primary { background: linear-gradient(135deg, var(--primary-dark), var(--primary)); color: var(--bg); border-color: var(--primary); font-weight: 700; }
.btn-primary:hover { box-shadow: 0 0 20px var(--primary-glow-strong); transform: translateY(-1px); }

/* --- Forms --- */
.form-stack { display: flex; flex-direction: column; gap: 16px; margin-top: 16px; }
.form-label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 500; color: var(--text-secondary); text-transform: uppercase; letter-spacing: 0.5px; }
.form-input { padding: 10px 14px; border: 1px solid var(--border); border-radius: var(--radius-sm); font-size: 14px; font-family: var(--font); background: var(--bg-input); color: var(--text-primary); transition: border-color 0.2s, box-shadow 0.2s; }
.form-input:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-glow); }
.form-input::placeholder { color: var(--text-muted); }
select.form-input { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%238892A4' d='M6 8L1 3h10z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 32px; }
select.form-input option { background: var(--bg-card); color: var(--text-primary); }
textarea.form-input { resize: vertical; }
fieldset { border: 1px solid var(--border); border-radius: var(--radius); padding: 14px 18px; }
fieldset legend { font-weight: 600; font-size: 13px; padding: 0 8px; color: var(--primary); text-transform: uppercase; letter-spacing: 0.5px; }

/* --- Alerts --- */
.alert { padding: 14px 18px; border-radius: var(--radius-sm); margin-bottom: 16px; font-size: 14px; border: 1px solid; }
.alert-success { background: rgba(0,230,138,0.1); color: var(--success); border-color: rgba(0,230,138,0.2); }
.alert-error { background: rgba(255,71,87,0.1); color: var(--danger); border-color: rgba(255,71,87,0.2); }

/* --- Empty State --- */
.empty-state { text-align: center; padding: 40px 18px; color: var(--text-muted); }
.empty-state .btn { margin-top: 16px; }

/* --- Footer --- */
.site-footer { border-top: 1px solid var(--border); margin-top: 24px; padding: 20px 0; position: relative; z-index: 1; }
.footer-inner { max-width: 1200px; margin: 0 auto; padding: 0 20px; display: flex; justify-content: space-between; font-size: 13px; color: var(--text-muted); }
.footer-inner a { color: var(--text-muted); }
.footer-inner a:hover { color: var(--primary); }

/* --- OAuth Buttons --- */
.oauth-buttons { display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; }
.btn-oauth { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 12px 16px; border-radius: var(--radius-sm); font-size: 14px; font-weight: 500; text-decoration: none; border: 1px solid var(--border); color: var(--text-primary); background: var(--bg-input); font-family: var(--font); transition: all 0.2s; }
.btn-oauth:hover { border-color: var(--primary); background: var(--primary-glow); text-decoration: none; }
.btn-oauth svg { flex-shrink: 0; }

/* --- Divider --- */
.divider { display: flex; align-items: center; gap: 16px; margin: 16px 0; color: var(--text-muted); font-size: 13px; }
.divider::before, .divider::after { content: ''; flex: 1; height: 1px; background: var(--border); }

/* --- Platform Badges --- */
.platform-badges { display: flex; flex-wrap: wrap; gap: 8px; }
.platform-badge { display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; border-radius: 8px; font-size: 12px; font-weight: 600; font-family: var(--font-mono); background: rgba(0,212,255,0.08); color: var(--primary); border: 1px solid rgba(0,212,255,0.15); transition: all 0.2s; }
.platform-badge:hover { border-color: var(--primary); box-shadow: 0 0 10px var(--primary-glow); }
.platform-hint { font-size: 11px; color: var(--text-muted); font-weight: 400; font-family: var(--font); }
.platform-badge.platform-claude { background: rgba(255,160,60,0.08); border-color: rgba(255,160,60,0.2); color: #FFA03C; }
.platform-badge.platform-codex { background: rgba(0,230,138,0.08); border-color: rgba(0,230,138,0.2); color: var(--success); }
.platform-badge.platform-cursor { background: rgba(168,85,247,0.08); border-color: rgba(168,85,247,0.2); color: var(--accent); }
.platform-badge.platform-copilot { background: rgba(0,212,255,0.08); border-color: rgba(0,212,255,0.2); color: var(--primary); }
.platform-badge.platform-alan { background: rgba(0,230,138,0.08); border-color: rgba(0,230,138,0.2); color: var(--success); }
.platform-badge.platform-generic { background: rgba(90,99,120,0.15); border-color: rgba(90,99,120,0.3); color: var(--text-secondary); }

/* --- Type Tabs & Badges --- */
.type-tabs { display: flex; gap: 0; margin-bottom: 12px; background: var(--bg-card); border-radius: var(--radius); border: 1px solid var(--border); overflow: hidden; }
.type-tab { flex: 1; text-align: center; padding: 10px 16px; font-size: 13px; font-weight: 600; color: var(--text-muted); text-decoration: none; border-right: 1px solid var(--border); transition: all 0.2s; text-transform: uppercase; letter-spacing: 0.5px; }
.type-tab:last-child { border-right: none; }
.type-tab:hover { background: var(--primary-glow); color: var(--text-primary); text-decoration: none; }
.type-tab.active { color: var(--primary); background: var(--primary-glow); }
.type-badge { display: inline-block; font-size: 10px; padding: 2px 8px; border-radius: 12px; font-weight: 700; vertical-align: middle; text-transform: uppercase; letter-spacing: 0.5px; font-family: var(--font-mono); }
.type-skill { background: rgba(0,230,138,0.1); color: var(--success); border: 1px solid rgba(0,230,138,0.2); }
.type-agent { background: var(--primary-glow); color: var(--primary); border: 1px solid rgba(0,212,255,0.2); }

/* --- Category Grid --- */
.category-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 10px; }
.category-card { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 18px 10px; border-radius: var(--radius); border: 1px solid var(--border); text-decoration: none; color: var(--text-primary); transition: all 0.2s; background: var(--bg-secondary); }
.category-card:hover { border-color: var(--primary); box-shadow: var(--shadow-glow); text-decoration: none; transform: translateY(-2px); }
.category-icon { font-size: 24px; line-height: 1; filter: drop-shadow(0 0 4px var(--primary-glow)); }
.category-name { font-size: 12px; font-weight: 600; text-align: center; color: var(--text-primary); }
.category-count { font-size: 11px; color: var(--text-muted); font-family: var(--font-mono); }

/* --- Promoted/Sponsored --- */
.promoted { position: relative; border-color: rgba(255,184,0,0.3); }
.promoted:hover { border-color: rgba(255,184,0,0.5); box-shadow: 0 0 20px rgba(255,184,0,0.1); }
.promoted-label { position: absolute; top: 10px; right: 14px; font-size: 10px; color: var(--warning); background: rgba(255,184,0,0.1); padding: 2px 10px; border-radius: 12px; font-weight: 700; border: 1px solid rgba(255,184,0,0.2); text-transform: uppercase; letter-spacing: 0.5px; font-family: var(--font-mono); }

/* --- Install Command Box --- */
.install-box { background: var(--bg-input); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 12px 16px; font-family: var(--font-mono); font-size: 13px; color: var(--success); display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 8px; }
.install-box code { flex: 1; word-break: break-all; }
.install-box .copy-btn { flex-shrink: 0; cursor: pointer; background: none; border: 1px solid var(--border); color: var(--text-secondary); padding: 4px 10px; border-radius: 4px; font-size: 12px; font-family: var(--font); transition: all 0.2s; }
.install-box .copy-btn:hover { border-color: var(--primary); color: var(--primary); }

/* --- Download Section --- */
.download-section { display: flex; flex-direction: column; gap: 12px; }
.download-main { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.download-info { font-family: var(--font-mono); font-size: 13px; color: var(--text-secondary); }
.download-stats { display: flex; gap: 16px; font-size: 13px; color: var(--text-muted); }
.download-stats span { display: flex; align-items: center; gap: 4px; }

/* --- Sigil glow effect --- */
.sigil { border-radius: 50%; }
.sigil-lg { filter: drop-shadow(0 0 8px var(--primary-glow)); }

/* --- Pricing --- */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.pricing-card { display: flex; flex-direction: column; position: relative; overflow: visible; }
.pricing-featured { border-color: var(--primary); box-shadow: 0 0 24px var(--primary-glow); }
.pricing-badge { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: linear-gradient(135deg, var(--primary), var(--accent)); color: var(--bg); font-size: 11px; font-weight: 700; padding: 4px 14px; border-radius: 12px; text-transform: uppercase; letter-spacing: 0.5px; white-space: nowrap; }
.pricing-header { text-align: center; padding: 28px 18px 18px; border-bottom: 1px solid var(--border); }
.pricing-tier-name { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.pricing-price { font-size: 42px; font-weight: 700; color: var(--primary); line-height: 1; }
.pricing-period { font-size: 13px; color: var(--text-muted); margin-top: 4px; }
.pricing-annual { font-size: 12px; color: var(--text-secondary); margin-top: 6px; }
.pricing-features { flex: 1; padding: 18px; display: flex; flex-direction: column; gap: 8px; }
.pricing-feature { font-size: 14px; display: flex; align-items: center; gap: 8px; }
.pf-check { color: var(--success); font-weight: 700; flex-shrink: 0; }
.pf-x { color: var(--text-muted); flex-shrink: 0; }
.pf-disabled { color: var(--text-muted); }
.pricing-cta { padding: 18px; text-align: center; border-top: 1px solid var(--border); }
.pricing-cta .btn { width: 100%; text-align: center; }
.pricing-current { border-color: var(--success); }

/* --- Bar Chart --- */
.bar-chart { display: flex; flex-direction: column; gap: 4px; }
.bar-row { display: flex; align-items: center; gap: 8px; font-size: 12px; }
.bar-label { width: 48px; flex-shrink: 0; color: var(--text-muted); text-align: right; font-family: var(--font-mono); }
.bar-track { flex: 1; height: 18px; background: var(--bg-secondary, #1a1f2e); border-radius: 4px; overflow: hidden; }
.bar-fill { height: 100%; background: linear-gradient(90deg, var(--primary-dark), var(--primary)); border-radius: 4px; min-width: 2px; transition: width 0.3s; }
.bar-value { width: 28px; flex-shrink: 0; font-family: var(--font-mono); color: var(--text-secondary); text-align: right; }

/* --- Verified Badge --- */
.verified-badge { display: inline-flex; align-items: center; justify-content: center; width: 16px; height: 16px; border-radius: 50%; background: var(--primary); color: var(--bg); font-size: 10px; font-weight: 700; vertical-align: middle; margin-left: 4px; }

@media (max-width: 768px) {
    .pricing-grid { grid-template-columns: 1fr; }
}

/* --- Like Button --- */
.like-btn { display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; border-radius: 20px; font-size: 13px; font-weight: 600; cursor: pointer; border: 1px solid var(--border); color: var(--text-secondary); background: none; font-family: var(--font); transition: all 0.2s; text-decoration: none; }
.like-btn:hover { border-color: #FF4757; color: #FF4757; text-decoration: none; }
.like-btn.liked { border-color: #FF4757; color: #FF4757; background: rgba(255,71,87,0.1); }
.like-icon { font-size: 16px; line-height: 1; }
.publisher-name { color: var(--primary); font-weight: 500; }

/* --- Hero --- */
.hero-card { background: linear-gradient(135deg, rgba(0,212,255,0.08), rgba(168,85,247,0.08)); border-color: rgba(0,212,255,0.2); overflow: hidden; position: relative; }
.hero-card::before { content: ''; position: absolute; top: -50%; right: -30%; width: 400px; height: 400px; background: radial-gradient(circle, rgba(168,85,247,0.1) 0%, transparent 70%); pointer-events: none; }
.hero-card::after { content: ''; position: absolute; bottom: -40%; left: -20%; width: 350px; height: 350px; background: radial-gradient(circle, rgba(0,212,255,0.08) 0%, transparent 70%); pointer-events: none; }
.hero-content { position: relative; z-index: 1; padding: 36px 28px; text-align: center; }
.hero-title { font-size: 28px; font-weight: 700; background: linear-gradient(135deg, var(--primary), var(--accent)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; margin-bottom: 8px; }
.hero-subtitle { font-size: 15px; color: var(--text-secondary); max-width: 500px; margin: 0 auto 20px; line-height: 1.6; }
.hero-actions { display: flex; gap: 10px; justify-content: center; margin-bottom: 20px; flex-wrap: wrap; }
.hero-install { max-width: 500px; margin: 0 auto; }
.hero-install code { font-size: 12px; }

/* --- Responsive --- */
@media (max-width: 1024px) {
    .layout { grid-template-columns: 240px 1fr; }
    .sidebar-right { display: none; }
}
@media (max-width: 768px) {
    .layout { grid-template-columns: 1fr; }
    .sidebar-left { display: none; }
    .nav-links { display: none; }
    .search-box { flex: 1; }
    .profile-identity { flex-direction: column; align-items: center; text-align: center; }
    .profile-info h1 { justify-content: center; }
    .search-bar form { flex-direction: column; }
    .admin-grid { grid-template-columns: 1fr !important; }
    .category-grid { grid-template-columns: repeat(2, 1fr); }
}
